@pod-os/elements 0.11.1-7f3678c.0 → 0.11.1-e89c280.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 (1770) hide show
  1. package/dist/cjs/{BrokenFile-b01d72da.js → BrokenFile-cfda711f.js} +1 -1
  2. package/dist/cjs/PodOsAware-003a2763.js +7 -0
  3. package/dist/cjs/{animation-9bea118f.js → animation-ca5a256a.js} +2 -0
  4. package/dist/cjs/{app-globals-13efa9f1.js → app-globals-a2dc3caf.js} +1 -1
  5. package/dist/cjs/elements.cjs.js +9 -5
  6. package/dist/cjs/{focus-visible-2624ec15.js → focus-visible-f8b0cb52.js} +1 -0
  7. package/dist/cjs/{framework-delegate-437c0645.js → framework-delegate-fdc8ce54.js} +1 -0
  8. package/dist/cjs/{index-ed2ce04f.js → index-2f34456c.js} +13 -5
  9. package/dist/cjs/{index-7d56774d.js → index-39630668.js} +31 -2
  10. package/dist/cjs/index-4e78c1d2.js +48 -0
  11. package/dist/cjs/{index-c2480c3a.js → index-6d41927a.js} +4 -3
  12. package/dist/cjs/{index-643851c6.js → index-737a39be.js} +4 -1
  13. package/dist/cjs/{index-3d3b5137.js → index-7cf535d7.js} +4 -3
  14. package/dist/cjs/{index-c9f67446.js → index-91d3ff9c.js} +29962 -22590
  15. package/dist/cjs/{index-9fca5d6f.js → index-c82a0027.js} +1 -0
  16. package/dist/cjs/{index-4018a65a.js → index-db5db51f.js} +104 -1
  17. package/dist/cjs/{input-shims-427999f7.js → input-shims-444cce9d.js} +7 -3
  18. package/dist/cjs/ion-accordion-group.cjs.entry.js +2 -2
  19. package/dist/cjs/ion-accordion.cjs.entry.js +3 -3
  20. package/dist/cjs/ion-action-sheet_3.cjs.entry.js +7 -7
  21. package/dist/cjs/ion-app_25.cjs.entry.js +93 -55
  22. package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
  23. package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
  24. package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
  25. package/dist/cjs/{ion-badge_9.cjs.entry.js → ion-badge_12.cjs.entry.js} +380 -3
  26. package/dist/cjs/ion-breadcrumb.cjs.entry.js +3 -3
  27. package/dist/cjs/ion-breadcrumbs.cjs.entry.js +2 -2
  28. package/dist/cjs/ion-buttons_3.cjs.entry.js +7 -4
  29. package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -2
  30. package/dist/cjs/ion-checkbox_4.cjs.entry.js +4 -2
  31. package/dist/cjs/ion-chip.cjs.entry.js +3 -3
  32. package/dist/cjs/ion-datetime-button.cjs.entry.js +2 -2
  33. package/dist/cjs/ion-datetime.cjs.entry.js +16 -15
  34. package/dist/cjs/ion-fab-button.cjs.entry.js +4 -4
  35. package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
  36. package/dist/cjs/ion-fab.cjs.entry.js +2 -2
  37. package/dist/cjs/ion-img.cjs.entry.js +2 -2
  38. package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +3 -3
  39. package/dist/cjs/ion-infinite-scroll.cjs.entry.js +3 -3
  40. package/dist/cjs/ion-item-option.cjs.entry.js +2 -2
  41. package/dist/cjs/ion-item-options.cjs.entry.js +2 -2
  42. package/dist/cjs/ion-item-sliding.cjs.entry.js +4 -4
  43. package/dist/cjs/ion-item_4.cjs.entry.js +9 -6
  44. package/dist/cjs/ion-loading.cjs.entry.js +5 -5
  45. package/dist/cjs/ion-menu-button.cjs.entry.js +6 -6
  46. package/dist/cjs/ion-menu-toggle.cjs.entry.js +5 -5
  47. package/dist/cjs/ion-menu.cjs.entry.js +7 -6
  48. package/dist/cjs/ion-modal.cjs.entry.js +14 -11
  49. package/dist/cjs/ion-nav-link.cjs.entry.js +1 -1
  50. package/dist/cjs/ion-nav.cjs.entry.js +6 -5
  51. package/dist/cjs/ion-picker-column.cjs.entry.js +13 -13
  52. package/dist/cjs/ion-picker.cjs.entry.js +4 -4
  53. package/dist/cjs/ion-popover.cjs.entry.js +15 -9
  54. package/dist/cjs/ion-range.cjs.entry.js +4 -4
  55. package/dist/cjs/ion-refresher-content.cjs.entry.js +4 -4
  56. package/dist/cjs/ion-refresher.cjs.entry.js +35 -9
  57. package/dist/cjs/ion-reorder-group.cjs.entry.js +4 -4
  58. package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
  59. package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
  60. package/dist/cjs/ion-route.cjs.entry.js +1 -1
  61. package/dist/cjs/ion-router-link.cjs.entry.js +2 -2
  62. package/dist/cjs/ion-router-outlet.cjs.entry.js +5 -5
  63. package/dist/cjs/ion-router.cjs.entry.js +1 -1
  64. package/dist/cjs/ion-segment-button.cjs.entry.js +2 -2
  65. package/dist/cjs/ion-segment.cjs.entry.js +3 -3
  66. package/dist/cjs/ion-select-option.cjs.entry.js +2 -2
  67. package/dist/cjs/ion-select.cjs.entry.js +29 -6
  68. package/dist/cjs/ion-slide.cjs.entry.js +2 -2
  69. package/dist/cjs/ion-slides.cjs.entry.js +2 -2
  70. package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
  71. package/dist/cjs/ion-split-pane.cjs.entry.js +3 -2
  72. package/dist/cjs/ion-tab-bar.cjs.entry.js +2 -2
  73. package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
  74. package/dist/cjs/ion-tab.cjs.entry.js +2 -2
  75. package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
  76. package/dist/cjs/ion-text.cjs.entry.js +2 -2
  77. package/dist/cjs/ion-textarea.cjs.entry.js +2 -2
  78. package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
  79. package/dist/cjs/ion-toast.cjs.entry.js +5 -5
  80. package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
  81. package/dist/cjs/ion-virtual-scroll.cjs.entry.js +1 -1
  82. package/dist/cjs/{ionic-global-3ede5d2d.js → ionic-global-66c719bf.js} +2 -1
  83. package/dist/cjs/{ios.transition-6c593f66.js → ios.transition-3c2f7c84.js} +4 -3
  84. package/dist/cjs/jsonld-HFR6RJUN-008ea20f.js +8425 -0
  85. package/dist/cjs/{keyboard-79afcba2.js → keyboard-23ddd02f.js} +1 -0
  86. package/dist/cjs/loader.cjs.js +6 -5
  87. package/dist/cjs/{md.transition-1885ef8b.js → md.transition-cc8a1f26.js} +3 -3
  88. package/dist/cjs/{menu-toggle-util-971da657.js → menu-toggle-util-ca2623a7.js} +1 -1
  89. package/dist/cjs/{overlays-28664090.js → overlays-56226483.js} +1 -1
  90. package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
  91. package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
  92. package/dist/cjs/pos-app-image-viewer.cjs.entry.js +1 -1
  93. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
  94. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
  95. package/dist/cjs/pos-container-contents.cjs.entry.js +2 -2
  96. package/dist/cjs/pos-container-item.cjs.entry.js +1 -1
  97. package/dist/cjs/pos-description_2.cjs.entry.js +1 -1
  98. package/dist/cjs/pos-document.cjs.entry.js +2 -2
  99. package/dist/cjs/pos-relations_2.cjs.entry.js +1 -1
  100. package/dist/cjs/pos-subjects.cjs.entry.js +2 -2
  101. package/dist/cjs/pos-value.cjs.entry.js +1 -1
  102. package/dist/cjs/{status-tap-39f92004.js → status-tap-3fc3fd8f.js} +2 -2
  103. package/dist/cjs/{swipe-back-666ea8e6.js → swipe-back-513b9ed6.js} +8 -2
  104. package/dist/collection/collection-manifest.json +3 -1
  105. package/dist/collection/components/events/PodOsAware.js +3 -0
  106. package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.css +5 -0
  107. package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js +112 -0
  108. package/dist/collection/components/pos-literals/pos-literals.js +2 -2
  109. package/dist/collection/components/pos-resource/pos-resource.js +4 -3
  110. package/dist/collection/components/pos-select-term/pos-select-term.css +13 -0
  111. package/dist/collection/components/pos-select-term/pos-select-term.js +103 -0
  112. package/dist/components/PodOsAware.js +5 -0
  113. package/dist/components/action-sheet.js +1 -1
  114. package/dist/components/animation.js +2 -0
  115. package/dist/components/button.js +2 -1
  116. package/dist/components/buttons.js +2 -2
  117. package/dist/components/card.js +2 -2
  118. package/dist/components/checkbox.js +1 -1
  119. package/dist/components/content.js +31 -2
  120. package/dist/components/focus-visible.js +1 -0
  121. package/dist/components/footer.js +1 -1
  122. package/dist/components/framework-delegate.js +1 -0
  123. package/dist/components/header.js +3 -2
  124. package/dist/components/helpers.js +1 -1
  125. package/dist/components/icon.js +42 -36
  126. package/dist/components/index.d.ts +11 -0
  127. package/dist/components/index.js +3 -1
  128. package/dist/components/index11.js +13 -5
  129. package/dist/components/index2.js +24 -24
  130. package/dist/components/index3.js +31 -2
  131. package/dist/components/index5.js +1 -0
  132. package/dist/components/index6.js +2 -1
  133. package/dist/components/index7.js +1 -0
  134. package/dist/components/index8.js +29962 -22591
  135. package/dist/components/index9.js +4 -1
  136. package/dist/components/input-shims.js +6 -2
  137. package/dist/{esm/ion-input.entry.js → components/input.js} +74 -20
  138. package/dist/components/ion-chip.js +1 -1
  139. package/dist/components/ion-datetime.js +12 -11
  140. package/dist/components/ion-fab-button.js +1 -1
  141. package/dist/components/ion-input.js +1 -350
  142. package/dist/components/ion-item-options.js +1 -1
  143. package/dist/components/ion-item-sliding.js +1 -1
  144. package/dist/components/ion-menu-button.js +1 -1
  145. package/dist/components/ion-menu.js +2 -1
  146. package/dist/components/ion-modal.js +6 -3
  147. package/dist/components/ion-nav.js +2 -1
  148. package/dist/components/ion-range.js +1 -1
  149. package/dist/components/ion-refresher-content.js +1 -1
  150. package/dist/components/ion-refresher.js +29 -3
  151. package/dist/components/ion-reorder.js +1 -1
  152. package/dist/components/ion-router.js +1 -1
  153. package/dist/components/ion-select.js +28 -5
  154. package/dist/components/ion-split-pane.js +1 -0
  155. package/dist/components/ion-textarea.js +1 -1
  156. package/dist/components/ion-toggle.js +3 -3
  157. package/dist/components/ionic-global.js +1 -0
  158. package/dist/components/ios.transition.js +1 -0
  159. package/dist/components/item.js +5 -2
  160. package/dist/components/jsonld-HFR6RJUN.js +8423 -0
  161. package/dist/components/keyboard.js +1 -0
  162. package/dist/components/list.js +2 -2
  163. package/dist/components/overlays.js +1 -1
  164. package/dist/components/picker-column-internal.js +1 -0
  165. package/dist/components/picker-column.js +11 -11
  166. package/dist/components/picker-internal.js +2 -0
  167. package/dist/components/popover.js +8 -2
  168. package/dist/components/pos-add-literal-value.d.ts +11 -0
  169. package/dist/components/pos-add-literal-value.js +6 -0
  170. package/dist/components/pos-add-literal-value2.js +89 -0
  171. package/dist/components/pos-app-document-viewer.js +56 -38
  172. package/dist/components/pos-app-generic.js +72 -54
  173. package/dist/components/pos-app-image-viewer.js +56 -38
  174. package/dist/components/pos-app-ldp-container.js +66 -48
  175. package/dist/components/pos-app-rdf-document.js +62 -44
  176. package/dist/components/pos-literals2.js +36 -18
  177. package/dist/components/pos-resource2.js +4 -3
  178. package/dist/components/pos-select-term.d.ts +11 -0
  179. package/dist/components/pos-select-term.js +6 -0
  180. package/dist/components/pos-select-term2.js +55 -0
  181. package/dist/components/progress-bar.js +1 -1
  182. package/dist/components/radio-group.js +1 -0
  183. package/dist/components/radio.js +2 -1
  184. package/dist/components/searchbar.js +2 -2
  185. package/dist/components/spinner.js +1 -1
  186. package/dist/components/swipe-back.js +8 -2
  187. package/dist/elements/elements.esm.js +1 -1
  188. package/dist/elements/p-011e627f.js +4 -0
  189. package/dist/elements/{p-6ed079a5.js → p-0169a9df.js} +2 -2
  190. package/dist/elements/{p-43717c61.js → p-03fac5e7.js} +1 -1
  191. package/dist/elements/{p-573e7d6e.entry.js → p-078fbb91.entry.js} +2 -2
  192. package/dist/elements/{p-c36b166e.entry.js → p-0f93836d.entry.js} +1 -1
  193. package/dist/elements/{p-6be33848.entry.js → p-1244c9d7.entry.js} +1 -1
  194. package/dist/elements/{p-b2acbe46.entry.js → p-13a6f7bc.entry.js} +1 -1
  195. package/dist/elements/{p-9080d6d4.entry.js → p-15138093.entry.js} +3 -3
  196. package/dist/elements/p-1664ada4.entry.js +1 -0
  197. package/dist/elements/p-1949ecba.entry.js +9 -0
  198. package/dist/elements/p-195c8b60.js +32 -0
  199. package/dist/elements/{p-cef266e1.entry.js → p-1e89f0a2.entry.js} +1 -1
  200. package/dist/elements/p-1f4a3457.entry.js +1 -0
  201. package/dist/elements/{p-c442a411.entry.js → p-20204cd6.entry.js} +2 -2
  202. package/dist/elements/{p-a6801fba.entry.js → p-20cec807.entry.js} +2 -2
  203. package/dist/elements/{p-9f3cd7eb.entry.js → p-216a955e.entry.js} +1 -1
  204. package/dist/elements/p-2241aa88.entry.js +1 -0
  205. package/dist/elements/{p-40e48267.entry.js → p-26b4768e.entry.js} +1 -1
  206. package/dist/elements/{p-7f5ecbca.entry.js → p-284b5a4a.entry.js} +1 -1
  207. package/dist/elements/p-297c1d4a.js +2 -0
  208. package/dist/elements/p-2bb1928f.js +5 -0
  209. package/dist/elements/{p-8a0c9fd3.entry.js → p-2cfcee5f.entry.js} +2 -2
  210. package/dist/elements/{p-746c351b.entry.js → p-2f09ba32.entry.js} +1 -1
  211. package/dist/elements/{p-28499b53.js → p-3088881f.js} +1 -1
  212. package/dist/elements/p-37b3cabc.js +1 -0
  213. package/dist/elements/p-3c8a5a30.entry.js +1 -0
  214. package/dist/elements/{p-42c0a5d0.entry.js → p-3cc9c581.entry.js} +1 -1
  215. package/dist/elements/{p-7242c7fd.js → p-3f05b00a.js} +1 -1
  216. package/dist/elements/{p-e94b3833.entry.js → p-41a159a6.entry.js} +1 -1
  217. package/dist/elements/{p-88364dc1.entry.js → p-44ed2372.entry.js} +1 -1
  218. package/dist/elements/p-46e5af7d.entry.js +1 -0
  219. package/dist/elements/{p-24fffcb6.entry.js → p-48f46efa.entry.js} +1 -1
  220. package/dist/elements/{p-f755d0e1.entry.js → p-4a483efa.entry.js} +1 -1
  221. package/dist/elements/{p-16afe2d7.entry.js → p-4d8b9f45.entry.js} +1 -1
  222. package/dist/elements/{p-a70a4400.js → p-4e60709f.js} +1 -1
  223. package/dist/elements/{p-1a9cdd0b.entry.js → p-4ee1b070.entry.js} +1 -1
  224. package/dist/elements/p-55c98ffe.entry.js +1 -0
  225. package/dist/elements/{p-8e89df2a.entry.js → p-5949c98f.entry.js} +2 -2
  226. package/dist/elements/p-6092b9f3.js +1 -0
  227. package/dist/elements/{p-2eced374.entry.js → p-64c4e33d.entry.js} +1 -1
  228. package/dist/elements/{p-35b2bfe8.entry.js → p-673fe601.entry.js} +1 -1
  229. package/dist/elements/{p-145317cb.entry.js → p-6937adab.entry.js} +1 -1
  230. package/dist/elements/p-6b15aaeb.js +4 -0
  231. package/dist/elements/p-6c05b99e.js +7 -0
  232. package/dist/elements/{p-b28ceb2f.entry.js → p-6dfca133.entry.js} +1 -1
  233. package/dist/elements/{p-f78f2dd8.entry.js → p-6e75e3e5.entry.js} +1 -1
  234. package/dist/elements/{p-68110709.entry.js → p-75d74349.entry.js} +1 -1
  235. package/dist/elements/p-7710fe29.entry.js +1 -0
  236. package/dist/elements/p-78098ba6.js +4 -0
  237. package/dist/elements/{p-1afc4eb4.js → p-7884f255.js} +1 -1
  238. package/dist/elements/p-7d744454.entry.js +1 -0
  239. package/dist/elements/{p-b94e9c4d.entry.js → p-7de13fb8.entry.js} +1 -1
  240. package/dist/elements/{p-301096a8.entry.js → p-7e515860.entry.js} +1 -1
  241. package/dist/elements/p-7f6f4c84.entry.js +1 -0
  242. package/dist/elements/{p-1a1526ed.entry.js → p-8224cdc1.entry.js} +1 -1
  243. package/dist/elements/{p-8a5eed78.entry.js → p-827125bb.entry.js} +1 -1
  244. package/dist/elements/{p-69cfaf5d.entry.js → p-843c25a6.entry.js} +1 -1
  245. package/dist/elements/p-8a5fdd45.entry.js +1 -0
  246. package/dist/elements/p-8d726c51.entry.js +5 -0
  247. package/dist/elements/{p-989efab9.entry.js → p-8e33e5e6.entry.js} +1 -1
  248. package/dist/elements/{p-690e76ff.entry.js → p-928b90ab.entry.js} +1 -1
  249. package/dist/elements/{p-58d9cf26.entry.js → p-958c8d53.entry.js} +1 -1
  250. package/dist/elements/{p-1a3b6fc0.entry.js → p-95cfd622.entry.js} +1 -1
  251. package/dist/elements/{p-7146c28e.entry.js → p-9a96842b.entry.js} +1 -1
  252. package/dist/elements/{p-3788211c.entry.js → p-9b847db7.entry.js} +1 -1
  253. package/dist/elements/{p-d5279568.entry.js → p-9bc24abf.entry.js} +1 -1
  254. package/dist/elements/{p-d5d75307.entry.js → p-a589651d.entry.js} +2 -2
  255. package/dist/elements/{p-9406d7a7.entry.js → p-a617e741.entry.js} +1 -1
  256. package/dist/elements/p-a8083674.js +4 -0
  257. package/dist/elements/p-ab4854a6.js +5 -0
  258. package/dist/elements/{p-b61542f4.entry.js → p-ada8cc4e.entry.js} +1 -1
  259. package/dist/elements/{p-7e9a536f.entry.js → p-aef2bc48.entry.js} +1 -1
  260. package/dist/elements/p-af4ba42f.entry.js +1 -0
  261. package/dist/elements/{p-60eeae90.js → p-b1ba08d2.js} +1 -1
  262. package/dist/elements/{p-921f3c67.entry.js → p-b212928d.entry.js} +1 -1
  263. package/dist/elements/{p-181f70d6.entry.js → p-b3e1bbc4.entry.js} +1 -1
  264. package/dist/elements/p-b5e115b1.js +90 -0
  265. package/dist/elements/p-c12d7195.entry.js +1 -0
  266. package/dist/elements/{p-21a6c0d5.entry.js → p-c29ec519.entry.js} +2 -2
  267. package/dist/elements/{p-941de03c.entry.js → p-c3b79485.entry.js} +1 -1
  268. package/dist/elements/{p-35faa0fa.entry.js → p-cae34530.entry.js} +1 -1
  269. package/dist/elements/{p-84cc1417.entry.js → p-d32df2a8.entry.js} +1 -1
  270. package/dist/elements/p-d813577e.js +1 -0
  271. package/dist/elements/{p-dd50a980.js → p-dc89477c.js} +2 -2
  272. package/dist/elements/{p-8c0124df.entry.js → p-dd84e91a.entry.js} +1 -1
  273. package/dist/elements/{p-a030ac8e.entry.js → p-df7540e1.entry.js} +1 -1
  274. package/dist/elements/{p-56c98ae0.entry.js → p-e0574155.entry.js} +1 -1
  275. package/dist/elements/p-e0f4deae.js +4 -0
  276. package/dist/elements/{p-ca863537.entry.js → p-e2f10f6d.entry.js} +1 -1
  277. package/dist/elements/{p-2333fe43.entry.js → p-e55a4fa9.entry.js} +1 -1
  278. package/dist/elements/{p-838fe7f9.entry.js → p-e6830aab.entry.js} +1 -1
  279. package/dist/elements/{p-195e355e.entry.js → p-e70bec10.entry.js} +1 -1
  280. package/dist/elements/{p-c4d119d2.entry.js → p-e81498f1.entry.js} +1 -1
  281. package/dist/elements/{p-83291f4a.entry.js → p-eda79fdf.entry.js} +1 -1
  282. package/dist/elements/{p-784b06b3.entry.js → p-efa41d7d.entry.js} +1 -1
  283. package/dist/elements/p-efabbb0d.js +4 -0
  284. package/dist/elements/p-f16106d1.entry.js +1 -0
  285. package/dist/elements/{p-0ed0e3ba.entry.js → p-f55afaf2.entry.js} +1 -1
  286. package/dist/elements/p-fb9f4444.entry.js +5 -0
  287. package/dist/elements/svg/accessibility-outline.svg +1 -1
  288. package/dist/elements/svg/accessibility-sharp.svg +1 -1
  289. package/dist/elements/svg/accessibility.svg +1 -1
  290. package/dist/elements/svg/add-circle-outline.svg +1 -1
  291. package/dist/elements/svg/add-circle-sharp.svg +1 -1
  292. package/dist/elements/svg/add-circle.svg +1 -1
  293. package/dist/elements/svg/add-outline.svg +1 -1
  294. package/dist/elements/svg/add-sharp.svg +1 -1
  295. package/dist/elements/svg/add.svg +1 -1
  296. package/dist/elements/svg/airplane-outline.svg +1 -1
  297. package/dist/elements/svg/airplane-sharp.svg +1 -1
  298. package/dist/elements/svg/airplane.svg +1 -1
  299. package/dist/elements/svg/alarm-outline.svg +1 -1
  300. package/dist/elements/svg/alarm-sharp.svg +1 -1
  301. package/dist/elements/svg/alarm.svg +1 -1
  302. package/dist/elements/svg/albums-outline.svg +1 -1
  303. package/dist/elements/svg/albums-sharp.svg +1 -1
  304. package/dist/elements/svg/albums.svg +1 -1
  305. package/dist/elements/svg/alert-circle-outline.svg +1 -1
  306. package/dist/elements/svg/alert-circle-sharp.svg +1 -1
  307. package/dist/elements/svg/alert-circle.svg +1 -1
  308. package/dist/elements/svg/alert-outline.svg +1 -1
  309. package/dist/elements/svg/alert-sharp.svg +1 -1
  310. package/dist/elements/svg/alert.svg +1 -1
  311. package/dist/elements/svg/american-football-outline.svg +1 -1
  312. package/dist/elements/svg/american-football-sharp.svg +1 -1
  313. package/dist/elements/svg/american-football.svg +1 -1
  314. package/dist/elements/svg/analytics-outline.svg +1 -1
  315. package/dist/elements/svg/analytics-sharp.svg +1 -1
  316. package/dist/elements/svg/analytics.svg +1 -1
  317. package/dist/elements/svg/aperture-outline.svg +1 -1
  318. package/dist/elements/svg/aperture-sharp.svg +1 -1
  319. package/dist/elements/svg/aperture.svg +1 -1
  320. package/dist/elements/svg/apps-outline.svg +1 -1
  321. package/dist/elements/svg/apps-sharp.svg +1 -1
  322. package/dist/elements/svg/apps.svg +1 -1
  323. package/dist/elements/svg/archive-outline.svg +1 -1
  324. package/dist/elements/svg/archive-sharp.svg +1 -1
  325. package/dist/elements/svg/archive.svg +1 -1
  326. package/dist/elements/svg/arrow-back-circle-outline.svg +1 -1
  327. package/dist/elements/svg/arrow-back-circle-sharp.svg +1 -1
  328. package/dist/elements/svg/arrow-back-circle.svg +1 -1
  329. package/dist/elements/svg/arrow-back-outline.svg +1 -1
  330. package/dist/elements/svg/arrow-back-sharp.svg +1 -1
  331. package/dist/elements/svg/arrow-back.svg +1 -1
  332. package/dist/elements/svg/arrow-down-circle-outline.svg +1 -1
  333. package/dist/elements/svg/arrow-down-circle-sharp.svg +1 -1
  334. package/dist/elements/svg/arrow-down-circle.svg +1 -1
  335. package/dist/elements/svg/arrow-down-outline.svg +1 -1
  336. package/dist/elements/svg/arrow-down-sharp.svg +1 -1
  337. package/dist/elements/svg/arrow-down.svg +1 -1
  338. package/dist/elements/svg/arrow-forward-circle-outline.svg +1 -1
  339. package/dist/elements/svg/arrow-forward-circle-sharp.svg +1 -1
  340. package/dist/elements/svg/arrow-forward-circle.svg +1 -1
  341. package/dist/elements/svg/arrow-forward-outline.svg +1 -1
  342. package/dist/elements/svg/arrow-forward-sharp.svg +1 -1
  343. package/dist/elements/svg/arrow-forward.svg +1 -1
  344. package/dist/elements/svg/arrow-redo-circle-outline.svg +1 -1
  345. package/dist/elements/svg/arrow-redo-circle-sharp.svg +1 -1
  346. package/dist/elements/svg/arrow-redo-circle.svg +1 -1
  347. package/dist/elements/svg/arrow-redo-outline.svg +1 -1
  348. package/dist/elements/svg/arrow-redo-sharp.svg +1 -1
  349. package/dist/elements/svg/arrow-redo.svg +1 -1
  350. package/dist/elements/svg/arrow-undo-circle-outline.svg +1 -1
  351. package/dist/elements/svg/arrow-undo-circle-sharp.svg +1 -1
  352. package/dist/elements/svg/arrow-undo-circle.svg +1 -1
  353. package/dist/elements/svg/arrow-undo-outline.svg +1 -1
  354. package/dist/elements/svg/arrow-undo-sharp.svg +1 -1
  355. package/dist/elements/svg/arrow-undo.svg +1 -1
  356. package/dist/elements/svg/arrow-up-circle-outline.svg +1 -1
  357. package/dist/elements/svg/arrow-up-circle-sharp.svg +1 -1
  358. package/dist/elements/svg/arrow-up-circle.svg +1 -1
  359. package/dist/elements/svg/arrow-up-outline.svg +1 -1
  360. package/dist/elements/svg/arrow-up-sharp.svg +1 -1
  361. package/dist/elements/svg/arrow-up.svg +1 -1
  362. package/dist/elements/svg/at-circle-outline.svg +1 -1
  363. package/dist/elements/svg/at-circle-sharp.svg +1 -1
  364. package/dist/elements/svg/at-circle.svg +1 -1
  365. package/dist/elements/svg/at-outline.svg +1 -1
  366. package/dist/elements/svg/at-sharp.svg +1 -1
  367. package/dist/elements/svg/at.svg +1 -1
  368. package/dist/elements/svg/attach-outline.svg +1 -1
  369. package/dist/elements/svg/attach-sharp.svg +1 -1
  370. package/dist/elements/svg/attach.svg +1 -1
  371. package/dist/elements/svg/backspace-outline.svg +1 -1
  372. package/dist/elements/svg/backspace-sharp.svg +1 -1
  373. package/dist/elements/svg/backspace.svg +1 -1
  374. package/dist/elements/svg/bag-add-outline.svg +1 -1
  375. package/dist/elements/svg/bag-add-sharp.svg +1 -1
  376. package/dist/elements/svg/bag-add.svg +1 -1
  377. package/dist/elements/svg/bag-check-outline.svg +1 -1
  378. package/dist/elements/svg/bag-check-sharp.svg +1 -1
  379. package/dist/elements/svg/bag-check.svg +1 -1
  380. package/dist/elements/svg/bag-handle-outline.svg +1 -1
  381. package/dist/elements/svg/bag-handle-sharp.svg +1 -1
  382. package/dist/elements/svg/bag-handle.svg +1 -1
  383. package/dist/elements/svg/bag-outline.svg +1 -1
  384. package/dist/elements/svg/bag-remove-outline.svg +1 -1
  385. package/dist/elements/svg/bag-remove-sharp.svg +1 -1
  386. package/dist/elements/svg/bag-remove.svg +1 -1
  387. package/dist/elements/svg/bag-sharp.svg +1 -1
  388. package/dist/elements/svg/bag.svg +1 -1
  389. package/dist/elements/svg/balloon-outline.svg +1 -1
  390. package/dist/elements/svg/balloon-sharp.svg +1 -1
  391. package/dist/elements/svg/balloon.svg +1 -1
  392. package/dist/elements/svg/ban-outline.svg +1 -1
  393. package/dist/elements/svg/ban-sharp.svg +1 -1
  394. package/dist/elements/svg/ban.svg +1 -1
  395. package/dist/elements/svg/bandage-outline.svg +1 -1
  396. package/dist/elements/svg/bandage-sharp.svg +1 -1
  397. package/dist/elements/svg/bandage.svg +1 -1
  398. package/dist/elements/svg/bar-chart-outline.svg +1 -1
  399. package/dist/elements/svg/bar-chart-sharp.svg +1 -1
  400. package/dist/elements/svg/bar-chart.svg +1 -1
  401. package/dist/elements/svg/barbell-outline.svg +1 -1
  402. package/dist/elements/svg/barbell-sharp.svg +1 -1
  403. package/dist/elements/svg/barbell.svg +1 -1
  404. package/dist/elements/svg/barcode-outline.svg +1 -1
  405. package/dist/elements/svg/barcode-sharp.svg +1 -1
  406. package/dist/elements/svg/barcode.svg +1 -1
  407. package/dist/elements/svg/baseball-outline.svg +1 -1
  408. package/dist/elements/svg/baseball-sharp.svg +1 -1
  409. package/dist/elements/svg/baseball.svg +1 -1
  410. package/dist/elements/svg/basket-outline.svg +1 -1
  411. package/dist/elements/svg/basket-sharp.svg +1 -1
  412. package/dist/elements/svg/basket.svg +1 -1
  413. package/dist/elements/svg/basketball-outline.svg +1 -1
  414. package/dist/elements/svg/basketball-sharp.svg +1 -1
  415. package/dist/elements/svg/basketball.svg +1 -1
  416. package/dist/elements/svg/battery-charging-outline.svg +1 -1
  417. package/dist/elements/svg/battery-charging-sharp.svg +1 -1
  418. package/dist/elements/svg/battery-charging.svg +1 -1
  419. package/dist/elements/svg/battery-dead-outline.svg +1 -1
  420. package/dist/elements/svg/battery-dead-sharp.svg +1 -1
  421. package/dist/elements/svg/battery-dead.svg +1 -1
  422. package/dist/elements/svg/battery-full-outline.svg +1 -1
  423. package/dist/elements/svg/battery-full-sharp.svg +1 -1
  424. package/dist/elements/svg/battery-full.svg +1 -1
  425. package/dist/elements/svg/battery-half-outline.svg +1 -1
  426. package/dist/elements/svg/battery-half-sharp.svg +1 -1
  427. package/dist/elements/svg/battery-half.svg +1 -1
  428. package/dist/elements/svg/beaker-outline.svg +1 -1
  429. package/dist/elements/svg/beaker-sharp.svg +1 -1
  430. package/dist/elements/svg/beaker.svg +1 -1
  431. package/dist/elements/svg/bed-outline.svg +1 -1
  432. package/dist/elements/svg/bed-sharp.svg +1 -1
  433. package/dist/elements/svg/bed.svg +1 -1
  434. package/dist/elements/svg/beer-outline.svg +1 -1
  435. package/dist/elements/svg/beer-sharp.svg +1 -1
  436. package/dist/elements/svg/beer.svg +1 -1
  437. package/dist/elements/svg/bicycle-outline.svg +1 -1
  438. package/dist/elements/svg/bicycle-sharp.svg +1 -1
  439. package/dist/elements/svg/bicycle.svg +1 -1
  440. package/dist/elements/svg/bluetooth-outline.svg +1 -1
  441. package/dist/elements/svg/bluetooth-sharp.svg +1 -1
  442. package/dist/elements/svg/bluetooth.svg +1 -1
  443. package/dist/elements/svg/boat-outline.svg +1 -1
  444. package/dist/elements/svg/boat-sharp.svg +1 -1
  445. package/dist/elements/svg/boat.svg +1 -1
  446. package/dist/elements/svg/body-outline.svg +1 -1
  447. package/dist/elements/svg/body-sharp.svg +1 -1
  448. package/dist/elements/svg/body.svg +1 -1
  449. package/dist/elements/svg/bonfire-outline.svg +1 -1
  450. package/dist/elements/svg/bonfire-sharp.svg +1 -1
  451. package/dist/elements/svg/bonfire.svg +1 -1
  452. package/dist/elements/svg/book-outline.svg +1 -1
  453. package/dist/elements/svg/book-sharp.svg +1 -1
  454. package/dist/elements/svg/book.svg +1 -1
  455. package/dist/elements/svg/bookmark-outline.svg +1 -1
  456. package/dist/elements/svg/bookmark-sharp.svg +1 -1
  457. package/dist/elements/svg/bookmark.svg +1 -1
  458. package/dist/elements/svg/bookmarks-outline.svg +1 -1
  459. package/dist/elements/svg/bookmarks-sharp.svg +1 -1
  460. package/dist/elements/svg/bookmarks.svg +1 -1
  461. package/dist/elements/svg/bowling-ball-outline.svg +1 -1
  462. package/dist/elements/svg/bowling-ball-sharp.svg +1 -1
  463. package/dist/elements/svg/bowling-ball.svg +1 -1
  464. package/dist/elements/svg/briefcase-outline.svg +1 -1
  465. package/dist/elements/svg/briefcase-sharp.svg +1 -1
  466. package/dist/elements/svg/briefcase.svg +1 -1
  467. package/dist/elements/svg/browsers-outline.svg +1 -1
  468. package/dist/elements/svg/browsers-sharp.svg +1 -1
  469. package/dist/elements/svg/browsers.svg +1 -1
  470. package/dist/elements/svg/brush-outline.svg +1 -1
  471. package/dist/elements/svg/brush-sharp.svg +1 -1
  472. package/dist/elements/svg/brush.svg +1 -1
  473. package/dist/elements/svg/bug-outline.svg +1 -1
  474. package/dist/elements/svg/bug-sharp.svg +1 -1
  475. package/dist/elements/svg/bug.svg +1 -1
  476. package/dist/elements/svg/build-outline.svg +1 -1
  477. package/dist/elements/svg/build-sharp.svg +1 -1
  478. package/dist/elements/svg/build.svg +1 -1
  479. package/dist/elements/svg/bulb-outline.svg +1 -1
  480. package/dist/elements/svg/bulb-sharp.svg +1 -1
  481. package/dist/elements/svg/bulb.svg +1 -1
  482. package/dist/elements/svg/bus-outline.svg +1 -1
  483. package/dist/elements/svg/bus-sharp.svg +1 -1
  484. package/dist/elements/svg/bus.svg +1 -1
  485. package/dist/elements/svg/business-outline.svg +1 -1
  486. package/dist/elements/svg/business-sharp.svg +1 -1
  487. package/dist/elements/svg/business.svg +1 -1
  488. package/dist/elements/svg/cafe-outline.svg +1 -1
  489. package/dist/elements/svg/cafe-sharp.svg +1 -1
  490. package/dist/elements/svg/cafe.svg +1 -1
  491. package/dist/elements/svg/calculator-outline.svg +1 -1
  492. package/dist/elements/svg/calculator-sharp.svg +1 -1
  493. package/dist/elements/svg/calculator.svg +1 -1
  494. package/dist/elements/svg/calendar-clear-outline.svg +1 -1
  495. package/dist/elements/svg/calendar-clear-sharp.svg +1 -1
  496. package/dist/elements/svg/calendar-clear.svg +1 -1
  497. package/dist/elements/svg/calendar-number-outline.svg +1 -1
  498. package/dist/elements/svg/calendar-number-sharp.svg +1 -1
  499. package/dist/elements/svg/calendar-number.svg +1 -1
  500. package/dist/elements/svg/calendar-outline.svg +1 -1
  501. package/dist/elements/svg/calendar-sharp.svg +1 -1
  502. package/dist/elements/svg/calendar.svg +1 -1
  503. package/dist/elements/svg/call-outline.svg +1 -1
  504. package/dist/elements/svg/call-sharp.svg +1 -1
  505. package/dist/elements/svg/call.svg +1 -1
  506. package/dist/elements/svg/camera-outline.svg +1 -1
  507. package/dist/elements/svg/camera-reverse-outline.svg +1 -1
  508. package/dist/elements/svg/camera-reverse-sharp.svg +1 -1
  509. package/dist/elements/svg/camera-reverse.svg +1 -1
  510. package/dist/elements/svg/camera-sharp.svg +1 -1
  511. package/dist/elements/svg/camera.svg +1 -1
  512. package/dist/elements/svg/car-outline.svg +1 -1
  513. package/dist/elements/svg/car-sharp.svg +1 -1
  514. package/dist/elements/svg/car-sport-outline.svg +1 -1
  515. package/dist/elements/svg/car-sport-sharp.svg +1 -1
  516. package/dist/elements/svg/car-sport.svg +1 -1
  517. package/dist/elements/svg/car.svg +1 -1
  518. package/dist/elements/svg/card-outline.svg +1 -1
  519. package/dist/elements/svg/card-sharp.svg +1 -1
  520. package/dist/elements/svg/card.svg +1 -1
  521. package/dist/elements/svg/caret-back-circle-outline.svg +1 -1
  522. package/dist/elements/svg/caret-back-circle-sharp.svg +1 -1
  523. package/dist/elements/svg/caret-back-circle.svg +1 -1
  524. package/dist/elements/svg/caret-back-outline.svg +1 -1
  525. package/dist/elements/svg/caret-back-sharp.svg +1 -1
  526. package/dist/elements/svg/caret-back.svg +1 -1
  527. package/dist/elements/svg/caret-down-circle-outline.svg +1 -1
  528. package/dist/elements/svg/caret-down-circle-sharp.svg +1 -1
  529. package/dist/elements/svg/caret-down-circle.svg +1 -1
  530. package/dist/elements/svg/caret-down-outline.svg +1 -1
  531. package/dist/elements/svg/caret-down-sharp.svg +1 -1
  532. package/dist/elements/svg/caret-down.svg +1 -1
  533. package/dist/elements/svg/caret-forward-circle-outline.svg +1 -1
  534. package/dist/elements/svg/caret-forward-circle-sharp.svg +1 -1
  535. package/dist/elements/svg/caret-forward-circle.svg +1 -1
  536. package/dist/elements/svg/caret-forward-outline.svg +1 -1
  537. package/dist/elements/svg/caret-forward-sharp.svg +1 -1
  538. package/dist/elements/svg/caret-forward.svg +1 -1
  539. package/dist/elements/svg/caret-up-circle-outline.svg +1 -1
  540. package/dist/elements/svg/caret-up-circle-sharp.svg +1 -1
  541. package/dist/elements/svg/caret-up-circle.svg +1 -1
  542. package/dist/elements/svg/caret-up-outline.svg +1 -1
  543. package/dist/elements/svg/caret-up-sharp.svg +1 -1
  544. package/dist/elements/svg/caret-up.svg +1 -1
  545. package/dist/elements/svg/cart-outline.svg +1 -1
  546. package/dist/elements/svg/cart-sharp.svg +1 -1
  547. package/dist/elements/svg/cart.svg +1 -1
  548. package/dist/elements/svg/cash-outline.svg +1 -1
  549. package/dist/elements/svg/cash-sharp.svg +1 -1
  550. package/dist/elements/svg/cash.svg +1 -1
  551. package/dist/elements/svg/cellular-outline.svg +1 -1
  552. package/dist/elements/svg/cellular-sharp.svg +1 -1
  553. package/dist/elements/svg/cellular.svg +1 -1
  554. package/dist/elements/svg/chatbox-ellipses-outline.svg +1 -1
  555. package/dist/elements/svg/chatbox-ellipses-sharp.svg +1 -1
  556. package/dist/elements/svg/chatbox-ellipses.svg +1 -1
  557. package/dist/elements/svg/chatbox-outline.svg +1 -1
  558. package/dist/elements/svg/chatbox-sharp.svg +1 -1
  559. package/dist/elements/svg/chatbox.svg +1 -1
  560. package/dist/elements/svg/chatbubble-ellipses-outline.svg +1 -1
  561. package/dist/elements/svg/chatbubble-ellipses-sharp.svg +1 -1
  562. package/dist/elements/svg/chatbubble-ellipses.svg +1 -1
  563. package/dist/elements/svg/chatbubble-outline.svg +1 -1
  564. package/dist/elements/svg/chatbubble-sharp.svg +1 -1
  565. package/dist/elements/svg/chatbubble.svg +1 -1
  566. package/dist/elements/svg/chatbubbles-outline.svg +1 -1
  567. package/dist/elements/svg/chatbubbles-sharp.svg +1 -1
  568. package/dist/elements/svg/chatbubbles.svg +1 -1
  569. package/dist/elements/svg/checkbox-outline.svg +1 -1
  570. package/dist/elements/svg/checkbox-sharp.svg +1 -1
  571. package/dist/elements/svg/checkbox.svg +1 -1
  572. package/dist/elements/svg/checkmark-circle-outline.svg +1 -1
  573. package/dist/elements/svg/checkmark-circle-sharp.svg +1 -1
  574. package/dist/elements/svg/checkmark-circle.svg +1 -1
  575. package/dist/elements/svg/checkmark-done-circle-outline.svg +1 -1
  576. package/dist/elements/svg/checkmark-done-circle-sharp.svg +1 -1
  577. package/dist/elements/svg/checkmark-done-circle.svg +1 -1
  578. package/dist/elements/svg/checkmark-done-outline.svg +1 -1
  579. package/dist/elements/svg/checkmark-done-sharp.svg +1 -1
  580. package/dist/elements/svg/checkmark-done.svg +1 -1
  581. package/dist/elements/svg/checkmark-outline.svg +1 -1
  582. package/dist/elements/svg/checkmark-sharp.svg +1 -1
  583. package/dist/elements/svg/checkmark.svg +1 -1
  584. package/dist/elements/svg/chevron-back-circle-outline.svg +1 -1
  585. package/dist/elements/svg/chevron-back-circle-sharp.svg +1 -1
  586. package/dist/elements/svg/chevron-back-circle.svg +1 -1
  587. package/dist/elements/svg/chevron-back-outline.svg +1 -1
  588. package/dist/elements/svg/chevron-back-sharp.svg +1 -1
  589. package/dist/elements/svg/chevron-back.svg +1 -1
  590. package/dist/elements/svg/chevron-down-circle-outline.svg +1 -1
  591. package/dist/elements/svg/chevron-down-circle-sharp.svg +1 -1
  592. package/dist/elements/svg/chevron-down-circle.svg +1 -1
  593. package/dist/elements/svg/chevron-down-outline.svg +1 -1
  594. package/dist/elements/svg/chevron-down-sharp.svg +1 -1
  595. package/dist/elements/svg/chevron-down.svg +1 -1
  596. package/dist/elements/svg/chevron-forward-circle-outline.svg +1 -1
  597. package/dist/elements/svg/chevron-forward-circle-sharp.svg +1 -1
  598. package/dist/elements/svg/chevron-forward-circle.svg +1 -1
  599. package/dist/elements/svg/chevron-forward-outline.svg +1 -1
  600. package/dist/elements/svg/chevron-forward-sharp.svg +1 -1
  601. package/dist/elements/svg/chevron-forward.svg +1 -1
  602. package/dist/elements/svg/chevron-up-circle-outline.svg +1 -1
  603. package/dist/elements/svg/chevron-up-circle-sharp.svg +1 -1
  604. package/dist/elements/svg/chevron-up-circle.svg +1 -1
  605. package/dist/elements/svg/chevron-up-outline.svg +1 -1
  606. package/dist/elements/svg/chevron-up-sharp.svg +1 -1
  607. package/dist/elements/svg/chevron-up.svg +1 -1
  608. package/dist/elements/svg/clipboard-outline.svg +1 -1
  609. package/dist/elements/svg/clipboard-sharp.svg +1 -1
  610. package/dist/elements/svg/clipboard.svg +1 -1
  611. package/dist/elements/svg/close-circle-outline.svg +1 -1
  612. package/dist/elements/svg/close-circle-sharp.svg +1 -1
  613. package/dist/elements/svg/close-circle.svg +1 -1
  614. package/dist/elements/svg/close-outline.svg +1 -1
  615. package/dist/elements/svg/close-sharp.svg +1 -1
  616. package/dist/elements/svg/close.svg +1 -1
  617. package/dist/elements/svg/cloud-circle-outline.svg +1 -1
  618. package/dist/elements/svg/cloud-circle-sharp.svg +1 -1
  619. package/dist/elements/svg/cloud-circle.svg +1 -1
  620. package/dist/elements/svg/cloud-done-outline.svg +1 -1
  621. package/dist/elements/svg/cloud-done-sharp.svg +1 -1
  622. package/dist/elements/svg/cloud-done.svg +1 -1
  623. package/dist/elements/svg/cloud-download-outline.svg +1 -1
  624. package/dist/elements/svg/cloud-download-sharp.svg +1 -1
  625. package/dist/elements/svg/cloud-download.svg +1 -1
  626. package/dist/elements/svg/cloud-offline-outline.svg +1 -1
  627. package/dist/elements/svg/cloud-offline-sharp.svg +1 -1
  628. package/dist/elements/svg/cloud-offline.svg +1 -1
  629. package/dist/elements/svg/cloud-outline.svg +1 -1
  630. package/dist/elements/svg/cloud-sharp.svg +1 -1
  631. package/dist/elements/svg/cloud-upload-outline.svg +1 -1
  632. package/dist/elements/svg/cloud-upload-sharp.svg +1 -1
  633. package/dist/elements/svg/cloud-upload.svg +1 -1
  634. package/dist/elements/svg/cloud.svg +1 -1
  635. package/dist/elements/svg/cloudy-night-outline.svg +1 -1
  636. package/dist/elements/svg/cloudy-night-sharp.svg +1 -1
  637. package/dist/elements/svg/cloudy-night.svg +1 -1
  638. package/dist/elements/svg/cloudy-outline.svg +1 -1
  639. package/dist/elements/svg/cloudy-sharp.svg +1 -1
  640. package/dist/elements/svg/cloudy.svg +1 -1
  641. package/dist/elements/svg/code-download-outline.svg +1 -1
  642. package/dist/elements/svg/code-download-sharp.svg +1 -1
  643. package/dist/elements/svg/code-download.svg +1 -1
  644. package/dist/elements/svg/code-outline.svg +1 -1
  645. package/dist/elements/svg/code-sharp.svg +1 -1
  646. package/dist/elements/svg/code-slash-outline.svg +1 -1
  647. package/dist/elements/svg/code-slash-sharp.svg +1 -1
  648. package/dist/elements/svg/code-slash.svg +1 -1
  649. package/dist/elements/svg/code-working-outline.svg +1 -1
  650. package/dist/elements/svg/code-working-sharp.svg +1 -1
  651. package/dist/elements/svg/code-working.svg +1 -1
  652. package/dist/elements/svg/code.svg +1 -1
  653. package/dist/elements/svg/cog-outline.svg +1 -1
  654. package/dist/elements/svg/cog-sharp.svg +1 -1
  655. package/dist/elements/svg/cog.svg +1 -1
  656. package/dist/elements/svg/color-fill-outline.svg +1 -1
  657. package/dist/elements/svg/color-fill-sharp.svg +1 -1
  658. package/dist/elements/svg/color-fill.svg +1 -1
  659. package/dist/elements/svg/color-filter-outline.svg +1 -1
  660. package/dist/elements/svg/color-filter-sharp.svg +1 -1
  661. package/dist/elements/svg/color-filter.svg +1 -1
  662. package/dist/elements/svg/color-palette-outline.svg +1 -1
  663. package/dist/elements/svg/color-palette-sharp.svg +1 -1
  664. package/dist/elements/svg/color-palette.svg +1 -1
  665. package/dist/elements/svg/color-wand-outline.svg +1 -1
  666. package/dist/elements/svg/color-wand-sharp.svg +1 -1
  667. package/dist/elements/svg/color-wand.svg +1 -1
  668. package/dist/elements/svg/compass-outline.svg +1 -1
  669. package/dist/elements/svg/compass-sharp.svg +1 -1
  670. package/dist/elements/svg/compass.svg +1 -1
  671. package/dist/elements/svg/construct-outline.svg +1 -1
  672. package/dist/elements/svg/construct-sharp.svg +1 -1
  673. package/dist/elements/svg/construct.svg +1 -1
  674. package/dist/elements/svg/contract-outline.svg +1 -1
  675. package/dist/elements/svg/contract-sharp.svg +1 -1
  676. package/dist/elements/svg/contract.svg +1 -1
  677. package/dist/elements/svg/contrast-outline.svg +1 -1
  678. package/dist/elements/svg/contrast-sharp.svg +1 -1
  679. package/dist/elements/svg/contrast.svg +1 -1
  680. package/dist/elements/svg/copy-outline.svg +1 -1
  681. package/dist/elements/svg/copy-sharp.svg +1 -1
  682. package/dist/elements/svg/copy.svg +1 -1
  683. package/dist/elements/svg/create-outline.svg +1 -1
  684. package/dist/elements/svg/create-sharp.svg +1 -1
  685. package/dist/elements/svg/create.svg +1 -1
  686. package/dist/elements/svg/crop-outline.svg +1 -1
  687. package/dist/elements/svg/crop-sharp.svg +1 -1
  688. package/dist/elements/svg/crop.svg +1 -1
  689. package/dist/elements/svg/cube-outline.svg +1 -1
  690. package/dist/elements/svg/cube-sharp.svg +1 -1
  691. package/dist/elements/svg/cube.svg +1 -1
  692. package/dist/elements/svg/cut-outline.svg +1 -1
  693. package/dist/elements/svg/cut-sharp.svg +1 -1
  694. package/dist/elements/svg/cut.svg +1 -1
  695. package/dist/elements/svg/desktop-outline.svg +1 -1
  696. package/dist/elements/svg/desktop-sharp.svg +1 -1
  697. package/dist/elements/svg/desktop.svg +1 -1
  698. package/dist/elements/svg/diamond-outline.svg +1 -1
  699. package/dist/elements/svg/diamond-sharp.svg +1 -1
  700. package/dist/elements/svg/diamond.svg +1 -1
  701. package/dist/elements/svg/dice-outline.svg +1 -1
  702. package/dist/elements/svg/dice-sharp.svg +1 -1
  703. package/dist/elements/svg/dice.svg +1 -1
  704. package/dist/elements/svg/disc-outline.svg +1 -1
  705. package/dist/elements/svg/disc-sharp.svg +1 -1
  706. package/dist/elements/svg/disc.svg +1 -1
  707. package/dist/elements/svg/document-attach-outline.svg +1 -1
  708. package/dist/elements/svg/document-attach-sharp.svg +1 -1
  709. package/dist/elements/svg/document-attach.svg +1 -1
  710. package/dist/elements/svg/document-lock-outline.svg +1 -1
  711. package/dist/elements/svg/document-lock-sharp.svg +1 -1
  712. package/dist/elements/svg/document-lock.svg +1 -1
  713. package/dist/elements/svg/document-outline.svg +1 -1
  714. package/dist/elements/svg/document-sharp.svg +1 -1
  715. package/dist/elements/svg/document-text-outline.svg +1 -1
  716. package/dist/elements/svg/document-text-sharp.svg +1 -1
  717. package/dist/elements/svg/document-text.svg +1 -1
  718. package/dist/elements/svg/document.svg +1 -1
  719. package/dist/elements/svg/documents-outline.svg +1 -1
  720. package/dist/elements/svg/documents-sharp.svg +1 -1
  721. package/dist/elements/svg/documents.svg +1 -1
  722. package/dist/elements/svg/download-outline.svg +1 -1
  723. package/dist/elements/svg/download-sharp.svg +1 -1
  724. package/dist/elements/svg/download.svg +1 -1
  725. package/dist/elements/svg/duplicate-outline.svg +1 -1
  726. package/dist/elements/svg/duplicate-sharp.svg +1 -1
  727. package/dist/elements/svg/duplicate.svg +1 -1
  728. package/dist/elements/svg/ear-outline.svg +1 -1
  729. package/dist/elements/svg/ear-sharp.svg +1 -1
  730. package/dist/elements/svg/ear.svg +1 -1
  731. package/dist/elements/svg/earth-outline.svg +1 -1
  732. package/dist/elements/svg/earth-sharp.svg +1 -1
  733. package/dist/elements/svg/earth.svg +1 -1
  734. package/dist/elements/svg/easel-outline.svg +1 -1
  735. package/dist/elements/svg/easel-sharp.svg +1 -1
  736. package/dist/elements/svg/easel.svg +1 -1
  737. package/dist/elements/svg/egg-outline.svg +1 -1
  738. package/dist/elements/svg/egg-sharp.svg +1 -1
  739. package/dist/elements/svg/egg.svg +1 -1
  740. package/dist/elements/svg/ellipse-outline.svg +1 -1
  741. package/dist/elements/svg/ellipse-sharp.svg +1 -1
  742. package/dist/elements/svg/ellipse.svg +1 -1
  743. package/dist/elements/svg/ellipsis-horizontal-circle-outline.svg +1 -1
  744. package/dist/elements/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
  745. package/dist/elements/svg/ellipsis-horizontal-circle.svg +1 -1
  746. package/dist/elements/svg/ellipsis-horizontal-outline.svg +1 -1
  747. package/dist/elements/svg/ellipsis-horizontal-sharp.svg +1 -1
  748. package/dist/elements/svg/ellipsis-horizontal.svg +1 -1
  749. package/dist/elements/svg/ellipsis-vertical-circle-outline.svg +1 -1
  750. package/dist/elements/svg/ellipsis-vertical-circle-sharp.svg +1 -1
  751. package/dist/elements/svg/ellipsis-vertical-circle.svg +1 -1
  752. package/dist/elements/svg/ellipsis-vertical-outline.svg +1 -1
  753. package/dist/elements/svg/ellipsis-vertical-sharp.svg +1 -1
  754. package/dist/elements/svg/ellipsis-vertical.svg +1 -1
  755. package/dist/elements/svg/enter-outline.svg +1 -1
  756. package/dist/elements/svg/enter-sharp.svg +1 -1
  757. package/dist/elements/svg/enter.svg +1 -1
  758. package/dist/elements/svg/exit-outline.svg +1 -1
  759. package/dist/elements/svg/exit-sharp.svg +1 -1
  760. package/dist/elements/svg/exit.svg +1 -1
  761. package/dist/elements/svg/expand-outline.svg +1 -1
  762. package/dist/elements/svg/expand-sharp.svg +1 -1
  763. package/dist/elements/svg/expand.svg +1 -1
  764. package/dist/elements/svg/extension-puzzle-outline.svg +1 -1
  765. package/dist/elements/svg/extension-puzzle-sharp.svg +1 -1
  766. package/dist/elements/svg/extension-puzzle.svg +1 -1
  767. package/dist/elements/svg/eye-off-outline.svg +1 -1
  768. package/dist/elements/svg/eye-off-sharp.svg +1 -1
  769. package/dist/elements/svg/eye-off.svg +1 -1
  770. package/dist/elements/svg/eye-outline.svg +1 -1
  771. package/dist/elements/svg/eye-sharp.svg +1 -1
  772. package/dist/elements/svg/eye.svg +1 -1
  773. package/dist/elements/svg/eyedrop-outline.svg +1 -1
  774. package/dist/elements/svg/eyedrop-sharp.svg +1 -1
  775. package/dist/elements/svg/eyedrop.svg +1 -1
  776. package/dist/elements/svg/fast-food-outline.svg +1 -1
  777. package/dist/elements/svg/fast-food-sharp.svg +1 -1
  778. package/dist/elements/svg/fast-food.svg +1 -1
  779. package/dist/elements/svg/female-outline.svg +1 -1
  780. package/dist/elements/svg/female-sharp.svg +1 -1
  781. package/dist/elements/svg/female.svg +1 -1
  782. package/dist/elements/svg/file-tray-full-outline.svg +1 -1
  783. package/dist/elements/svg/file-tray-full-sharp.svg +1 -1
  784. package/dist/elements/svg/file-tray-full.svg +1 -1
  785. package/dist/elements/svg/file-tray-outline.svg +1 -1
  786. package/dist/elements/svg/file-tray-sharp.svg +1 -1
  787. package/dist/elements/svg/file-tray-stacked-outline.svg +1 -1
  788. package/dist/elements/svg/file-tray-stacked-sharp.svg +1 -1
  789. package/dist/elements/svg/file-tray-stacked.svg +1 -1
  790. package/dist/elements/svg/file-tray.svg +1 -1
  791. package/dist/elements/svg/film-outline.svg +1 -1
  792. package/dist/elements/svg/film-sharp.svg +1 -1
  793. package/dist/elements/svg/film.svg +1 -1
  794. package/dist/elements/svg/filter-circle-outline.svg +1 -1
  795. package/dist/elements/svg/filter-circle-sharp.svg +1 -1
  796. package/dist/elements/svg/filter-circle.svg +1 -1
  797. package/dist/elements/svg/filter-outline.svg +1 -1
  798. package/dist/elements/svg/filter-sharp.svg +1 -1
  799. package/dist/elements/svg/filter.svg +1 -1
  800. package/dist/elements/svg/finger-print-outline.svg +1 -1
  801. package/dist/elements/svg/finger-print-sharp.svg +1 -1
  802. package/dist/elements/svg/finger-print.svg +1 -1
  803. package/dist/elements/svg/fish-outline.svg +1 -1
  804. package/dist/elements/svg/fish-sharp.svg +1 -1
  805. package/dist/elements/svg/fish.svg +1 -1
  806. package/dist/elements/svg/fitness-outline.svg +1 -1
  807. package/dist/elements/svg/fitness-sharp.svg +1 -1
  808. package/dist/elements/svg/fitness.svg +1 -1
  809. package/dist/elements/svg/flag-outline.svg +1 -1
  810. package/dist/elements/svg/flag-sharp.svg +1 -1
  811. package/dist/elements/svg/flag.svg +1 -1
  812. package/dist/elements/svg/flame-outline.svg +1 -1
  813. package/dist/elements/svg/flame-sharp.svg +1 -1
  814. package/dist/elements/svg/flame.svg +1 -1
  815. package/dist/elements/svg/flash-off-outline.svg +1 -1
  816. package/dist/elements/svg/flash-off-sharp.svg +1 -1
  817. package/dist/elements/svg/flash-off.svg +1 -1
  818. package/dist/elements/svg/flash-outline.svg +1 -1
  819. package/dist/elements/svg/flash-sharp.svg +1 -1
  820. package/dist/elements/svg/flash.svg +1 -1
  821. package/dist/elements/svg/flashlight-outline.svg +1 -1
  822. package/dist/elements/svg/flashlight-sharp.svg +1 -1
  823. package/dist/elements/svg/flashlight.svg +1 -1
  824. package/dist/elements/svg/flask-outline.svg +1 -1
  825. package/dist/elements/svg/flask-sharp.svg +1 -1
  826. package/dist/elements/svg/flask.svg +1 -1
  827. package/dist/elements/svg/flower-outline.svg +1 -1
  828. package/dist/elements/svg/flower-sharp.svg +1 -1
  829. package/dist/elements/svg/flower.svg +1 -1
  830. package/dist/elements/svg/folder-open-outline.svg +1 -1
  831. package/dist/elements/svg/folder-open-sharp.svg +1 -1
  832. package/dist/elements/svg/folder-open.svg +1 -1
  833. package/dist/elements/svg/folder-outline.svg +1 -1
  834. package/dist/elements/svg/folder-sharp.svg +1 -1
  835. package/dist/elements/svg/folder.svg +1 -1
  836. package/dist/elements/svg/football-outline.svg +1 -1
  837. package/dist/elements/svg/football-sharp.svg +1 -1
  838. package/dist/elements/svg/football.svg +1 -1
  839. package/dist/elements/svg/footsteps-outline.svg +1 -1
  840. package/dist/elements/svg/footsteps-sharp.svg +1 -1
  841. package/dist/elements/svg/footsteps.svg +1 -1
  842. package/dist/elements/svg/funnel-outline.svg +1 -1
  843. package/dist/elements/svg/funnel-sharp.svg +1 -1
  844. package/dist/elements/svg/funnel.svg +1 -1
  845. package/dist/elements/svg/game-controller-outline.svg +1 -1
  846. package/dist/elements/svg/game-controller-sharp.svg +1 -1
  847. package/dist/elements/svg/game-controller.svg +1 -1
  848. package/dist/elements/svg/gift-outline.svg +1 -1
  849. package/dist/elements/svg/gift-sharp.svg +1 -1
  850. package/dist/elements/svg/gift.svg +1 -1
  851. package/dist/elements/svg/git-branch-outline.svg +1 -1
  852. package/dist/elements/svg/git-branch-sharp.svg +1 -1
  853. package/dist/elements/svg/git-branch.svg +1 -1
  854. package/dist/elements/svg/git-commit-outline.svg +1 -1
  855. package/dist/elements/svg/git-commit-sharp.svg +1 -1
  856. package/dist/elements/svg/git-commit.svg +1 -1
  857. package/dist/elements/svg/git-compare-outline.svg +1 -1
  858. package/dist/elements/svg/git-compare-sharp.svg +1 -1
  859. package/dist/elements/svg/git-compare.svg +1 -1
  860. package/dist/elements/svg/git-merge-outline.svg +1 -1
  861. package/dist/elements/svg/git-merge-sharp.svg +1 -1
  862. package/dist/elements/svg/git-merge.svg +1 -1
  863. package/dist/elements/svg/git-network-outline.svg +1 -1
  864. package/dist/elements/svg/git-network-sharp.svg +1 -1
  865. package/dist/elements/svg/git-network.svg +1 -1
  866. package/dist/elements/svg/git-pull-request-outline.svg +1 -1
  867. package/dist/elements/svg/git-pull-request-sharp.svg +1 -1
  868. package/dist/elements/svg/git-pull-request.svg +1 -1
  869. package/dist/elements/svg/glasses-outline.svg +1 -1
  870. package/dist/elements/svg/glasses-sharp.svg +1 -1
  871. package/dist/elements/svg/glasses.svg +1 -1
  872. package/dist/elements/svg/globe-outline.svg +1 -1
  873. package/dist/elements/svg/globe-sharp.svg +1 -1
  874. package/dist/elements/svg/globe.svg +1 -1
  875. package/dist/elements/svg/golf-outline.svg +1 -1
  876. package/dist/elements/svg/golf-sharp.svg +1 -1
  877. package/dist/elements/svg/golf.svg +1 -1
  878. package/dist/elements/svg/grid-outline.svg +1 -1
  879. package/dist/elements/svg/grid-sharp.svg +1 -1
  880. package/dist/elements/svg/grid.svg +1 -1
  881. package/dist/elements/svg/hammer-outline.svg +1 -1
  882. package/dist/elements/svg/hammer-sharp.svg +1 -1
  883. package/dist/elements/svg/hammer.svg +1 -1
  884. package/dist/elements/svg/hand-left-outline.svg +1 -1
  885. package/dist/elements/svg/hand-left-sharp.svg +1 -1
  886. package/dist/elements/svg/hand-left.svg +1 -1
  887. package/dist/elements/svg/hand-right-outline.svg +1 -1
  888. package/dist/elements/svg/hand-right-sharp.svg +1 -1
  889. package/dist/elements/svg/hand-right.svg +1 -1
  890. package/dist/elements/svg/happy-outline.svg +1 -1
  891. package/dist/elements/svg/happy-sharp.svg +1 -1
  892. package/dist/elements/svg/happy.svg +1 -1
  893. package/dist/elements/svg/hardware-chip-outline.svg +1 -1
  894. package/dist/elements/svg/hardware-chip-sharp.svg +1 -1
  895. package/dist/elements/svg/hardware-chip.svg +1 -1
  896. package/dist/elements/svg/headset-outline.svg +1 -1
  897. package/dist/elements/svg/headset-sharp.svg +1 -1
  898. package/dist/elements/svg/headset.svg +1 -1
  899. package/dist/elements/svg/heart-circle-outline.svg +1 -1
  900. package/dist/elements/svg/heart-circle-sharp.svg +1 -1
  901. package/dist/elements/svg/heart-circle.svg +1 -1
  902. package/dist/elements/svg/heart-dislike-circle-outline.svg +1 -1
  903. package/dist/elements/svg/heart-dislike-circle-sharp.svg +1 -1
  904. package/dist/elements/svg/heart-dislike-circle.svg +1 -1
  905. package/dist/elements/svg/heart-dislike-outline.svg +1 -1
  906. package/dist/elements/svg/heart-dislike-sharp.svg +1 -1
  907. package/dist/elements/svg/heart-dislike.svg +1 -1
  908. package/dist/elements/svg/heart-half-outline.svg +1 -1
  909. package/dist/elements/svg/heart-half-sharp.svg +1 -1
  910. package/dist/elements/svg/heart-half.svg +1 -1
  911. package/dist/elements/svg/heart-outline.svg +1 -1
  912. package/dist/elements/svg/heart-sharp.svg +1 -1
  913. package/dist/elements/svg/heart.svg +1 -1
  914. package/dist/elements/svg/help-buoy-outline.svg +1 -1
  915. package/dist/elements/svg/help-buoy-sharp.svg +1 -1
  916. package/dist/elements/svg/help-buoy.svg +1 -1
  917. package/dist/elements/svg/help-circle-outline.svg +1 -1
  918. package/dist/elements/svg/help-circle-sharp.svg +1 -1
  919. package/dist/elements/svg/help-circle.svg +1 -1
  920. package/dist/elements/svg/help-outline.svg +1 -1
  921. package/dist/elements/svg/help-sharp.svg +1 -1
  922. package/dist/elements/svg/help.svg +1 -1
  923. package/dist/elements/svg/home-outline.svg +1 -1
  924. package/dist/elements/svg/home-sharp.svg +1 -1
  925. package/dist/elements/svg/home.svg +1 -1
  926. package/dist/elements/svg/hourglass-outline.svg +1 -1
  927. package/dist/elements/svg/hourglass-sharp.svg +1 -1
  928. package/dist/elements/svg/hourglass.svg +1 -1
  929. package/dist/elements/svg/ice-cream-outline.svg +1 -1
  930. package/dist/elements/svg/ice-cream-sharp.svg +1 -1
  931. package/dist/elements/svg/ice-cream.svg +1 -1
  932. package/dist/elements/svg/id-card-outline.svg +1 -1
  933. package/dist/elements/svg/id-card-sharp.svg +1 -1
  934. package/dist/elements/svg/id-card.svg +1 -1
  935. package/dist/elements/svg/image-outline.svg +1 -1
  936. package/dist/elements/svg/image-sharp.svg +1 -1
  937. package/dist/elements/svg/image.svg +1 -1
  938. package/dist/elements/svg/images-outline.svg +1 -1
  939. package/dist/elements/svg/images-sharp.svg +1 -1
  940. package/dist/elements/svg/images.svg +1 -1
  941. package/dist/elements/svg/infinite-outline.svg +1 -1
  942. package/dist/elements/svg/infinite-sharp.svg +1 -1
  943. package/dist/elements/svg/infinite.svg +1 -1
  944. package/dist/elements/svg/information-circle-outline.svg +1 -1
  945. package/dist/elements/svg/information-circle-sharp.svg +1 -1
  946. package/dist/elements/svg/information-circle.svg +1 -1
  947. package/dist/elements/svg/information-outline.svg +1 -1
  948. package/dist/elements/svg/information-sharp.svg +1 -1
  949. package/dist/elements/svg/information.svg +1 -1
  950. package/dist/elements/svg/invert-mode-outline.svg +1 -1
  951. package/dist/elements/svg/invert-mode-sharp.svg +1 -1
  952. package/dist/elements/svg/invert-mode.svg +1 -1
  953. package/dist/elements/svg/journal-outline.svg +1 -1
  954. package/dist/elements/svg/journal-sharp.svg +1 -1
  955. package/dist/elements/svg/journal.svg +1 -1
  956. package/dist/elements/svg/key-outline.svg +1 -1
  957. package/dist/elements/svg/key-sharp.svg +1 -1
  958. package/dist/elements/svg/key.svg +1 -1
  959. package/dist/elements/svg/keypad-outline.svg +1 -1
  960. package/dist/elements/svg/keypad-sharp.svg +1 -1
  961. package/dist/elements/svg/keypad.svg +1 -1
  962. package/dist/elements/svg/language-outline.svg +1 -1
  963. package/dist/elements/svg/language-sharp.svg +1 -1
  964. package/dist/elements/svg/language.svg +1 -1
  965. package/dist/elements/svg/laptop-outline.svg +1 -1
  966. package/dist/elements/svg/laptop-sharp.svg +1 -1
  967. package/dist/elements/svg/laptop.svg +1 -1
  968. package/dist/elements/svg/layers-outline.svg +1 -1
  969. package/dist/elements/svg/layers-sharp.svg +1 -1
  970. package/dist/elements/svg/layers.svg +1 -1
  971. package/dist/elements/svg/leaf-outline.svg +1 -1
  972. package/dist/elements/svg/leaf-sharp.svg +1 -1
  973. package/dist/elements/svg/leaf.svg +1 -1
  974. package/dist/elements/svg/library-outline.svg +1 -1
  975. package/dist/elements/svg/library-sharp.svg +1 -1
  976. package/dist/elements/svg/library.svg +1 -1
  977. package/dist/elements/svg/link-outline.svg +1 -1
  978. package/dist/elements/svg/link-sharp.svg +1 -1
  979. package/dist/elements/svg/link.svg +1 -1
  980. package/dist/elements/svg/list-circle-outline.svg +1 -1
  981. package/dist/elements/svg/list-circle-sharp.svg +1 -1
  982. package/dist/elements/svg/list-circle.svg +1 -1
  983. package/dist/elements/svg/list-outline.svg +1 -1
  984. package/dist/elements/svg/list-sharp.svg +1 -1
  985. package/dist/elements/svg/list.svg +1 -1
  986. package/dist/elements/svg/locate-outline.svg +1 -1
  987. package/dist/elements/svg/locate-sharp.svg +1 -1
  988. package/dist/elements/svg/locate.svg +1 -1
  989. package/dist/elements/svg/location-outline.svg +1 -1
  990. package/dist/elements/svg/location-sharp.svg +1 -1
  991. package/dist/elements/svg/location.svg +1 -1
  992. package/dist/elements/svg/lock-closed-outline.svg +1 -1
  993. package/dist/elements/svg/lock-closed-sharp.svg +1 -1
  994. package/dist/elements/svg/lock-closed.svg +1 -1
  995. package/dist/elements/svg/lock-open-outline.svg +1 -1
  996. package/dist/elements/svg/lock-open-sharp.svg +1 -1
  997. package/dist/elements/svg/lock-open.svg +1 -1
  998. package/dist/elements/svg/log-in-outline.svg +1 -1
  999. package/dist/elements/svg/log-in-sharp.svg +1 -1
  1000. package/dist/elements/svg/log-in.svg +1 -1
  1001. package/dist/elements/svg/log-out-outline.svg +1 -1
  1002. package/dist/elements/svg/log-out-sharp.svg +1 -1
  1003. package/dist/elements/svg/log-out.svg +1 -1
  1004. package/dist/elements/svg/logo-alipay.svg +1 -1
  1005. package/dist/elements/svg/logo-amazon.svg +1 -1
  1006. package/dist/elements/svg/logo-amplify.svg +1 -1
  1007. package/dist/elements/svg/logo-android.svg +1 -1
  1008. package/dist/elements/svg/logo-angular.svg +1 -1
  1009. package/dist/elements/svg/logo-apple-appstore.svg +1 -1
  1010. package/dist/elements/svg/logo-apple-ar.svg +1 -1
  1011. package/dist/elements/svg/logo-apple.svg +1 -1
  1012. package/dist/elements/svg/logo-behance.svg +1 -1
  1013. package/dist/elements/svg/logo-bitbucket.svg +1 -1
  1014. package/dist/elements/svg/logo-bitcoin.svg +1 -1
  1015. package/dist/elements/svg/logo-buffer.svg +1 -1
  1016. package/dist/elements/svg/logo-capacitor.svg +1 -1
  1017. package/dist/elements/svg/logo-chrome.svg +1 -1
  1018. package/dist/elements/svg/logo-closed-captioning.svg +1 -1
  1019. package/dist/elements/svg/logo-codepen.svg +1 -1
  1020. package/dist/elements/svg/logo-css3.svg +1 -1
  1021. package/dist/elements/svg/logo-designernews.svg +1 -1
  1022. package/dist/elements/svg/logo-deviantart.svg +1 -1
  1023. package/dist/elements/svg/logo-discord.svg +1 -1
  1024. package/dist/elements/svg/logo-docker.svg +1 -1
  1025. package/dist/elements/svg/logo-dribbble.svg +1 -1
  1026. package/dist/elements/svg/logo-dropbox.svg +1 -1
  1027. package/dist/elements/svg/logo-edge.svg +1 -1
  1028. package/dist/elements/svg/logo-electron.svg +1 -1
  1029. package/dist/elements/svg/logo-euro.svg +1 -1
  1030. package/dist/elements/svg/logo-facebook.svg +1 -1
  1031. package/dist/elements/svg/logo-figma.svg +1 -1
  1032. package/dist/elements/svg/logo-firebase.svg +1 -1
  1033. package/dist/elements/svg/logo-firefox.svg +1 -1
  1034. package/dist/elements/svg/logo-flickr.svg +1 -1
  1035. package/dist/elements/svg/logo-foursquare.svg +1 -1
  1036. package/dist/elements/svg/logo-github.svg +1 -1
  1037. package/dist/elements/svg/logo-gitlab.svg +1 -1
  1038. package/dist/elements/svg/logo-google-playstore.svg +1 -1
  1039. package/dist/elements/svg/logo-google.svg +1 -1
  1040. package/dist/elements/svg/logo-hackernews.svg +1 -1
  1041. package/dist/elements/svg/logo-html5.svg +1 -1
  1042. package/dist/elements/svg/logo-instagram.svg +1 -1
  1043. package/dist/elements/svg/logo-ionic.svg +1 -1
  1044. package/dist/elements/svg/logo-ionitron.svg +1 -1
  1045. package/dist/elements/svg/logo-javascript.svg +1 -1
  1046. package/dist/elements/svg/logo-laravel.svg +1 -1
  1047. package/dist/elements/svg/logo-linkedin.svg +1 -1
  1048. package/dist/elements/svg/logo-markdown.svg +1 -1
  1049. package/dist/elements/svg/logo-mastodon.svg +1 -1
  1050. package/dist/elements/svg/logo-medium.svg +1 -1
  1051. package/dist/elements/svg/logo-microsoft.svg +1 -1
  1052. package/dist/elements/svg/logo-no-smoking.svg +1 -1
  1053. package/dist/elements/svg/logo-nodejs.svg +1 -1
  1054. package/dist/elements/svg/logo-npm.svg +1 -1
  1055. package/dist/elements/svg/logo-octocat.svg +1 -1
  1056. package/dist/elements/svg/logo-paypal.svg +1 -1
  1057. package/dist/elements/svg/logo-pinterest.svg +1 -1
  1058. package/dist/elements/svg/logo-playstation.svg +1 -1
  1059. package/dist/elements/svg/logo-pwa.svg +1 -1
  1060. package/dist/elements/svg/logo-python.svg +1 -1
  1061. package/dist/elements/svg/logo-react.svg +1 -1
  1062. package/dist/elements/svg/logo-reddit.svg +1 -1
  1063. package/dist/elements/svg/logo-rss.svg +1 -1
  1064. package/dist/elements/svg/logo-sass.svg +1 -1
  1065. package/dist/elements/svg/logo-skype.svg +1 -1
  1066. package/dist/elements/svg/logo-slack.svg +1 -1
  1067. package/dist/elements/svg/logo-snapchat.svg +1 -1
  1068. package/dist/elements/svg/logo-soundcloud.svg +1 -1
  1069. package/dist/elements/svg/logo-stackoverflow.svg +1 -1
  1070. package/dist/elements/svg/logo-steam.svg +1 -1
  1071. package/dist/elements/svg/logo-stencil.svg +1 -1
  1072. package/dist/elements/svg/logo-tableau.svg +1 -1
  1073. package/dist/elements/svg/logo-tiktok.svg +1 -1
  1074. package/dist/elements/svg/logo-tumblr.svg +1 -1
  1075. package/dist/elements/svg/logo-tux.svg +1 -1
  1076. package/dist/elements/svg/logo-twitch.svg +1 -1
  1077. package/dist/elements/svg/logo-twitter.svg +1 -1
  1078. package/dist/elements/svg/logo-usd.svg +1 -1
  1079. package/dist/elements/svg/logo-venmo.svg +1 -1
  1080. package/dist/elements/svg/logo-vercel.svg +1 -1
  1081. package/dist/elements/svg/logo-vimeo.svg +1 -1
  1082. package/dist/elements/svg/logo-vk.svg +1 -1
  1083. package/dist/elements/svg/logo-vue.svg +1 -1
  1084. package/dist/elements/svg/logo-web-component.svg +1 -1
  1085. package/dist/elements/svg/logo-wechat.svg +1 -1
  1086. package/dist/elements/svg/logo-whatsapp.svg +1 -1
  1087. package/dist/elements/svg/logo-windows.svg +1 -1
  1088. package/dist/elements/svg/logo-wordpress.svg +1 -1
  1089. package/dist/elements/svg/logo-xbox.svg +1 -1
  1090. package/dist/elements/svg/logo-xing.svg +1 -1
  1091. package/dist/elements/svg/logo-yahoo.svg +1 -1
  1092. package/dist/elements/svg/logo-yen.svg +1 -1
  1093. package/dist/elements/svg/logo-youtube.svg +1 -1
  1094. package/dist/elements/svg/magnet-outline.svg +1 -1
  1095. package/dist/elements/svg/magnet-sharp.svg +1 -1
  1096. package/dist/elements/svg/magnet.svg +1 -1
  1097. package/dist/elements/svg/mail-open-outline.svg +1 -1
  1098. package/dist/elements/svg/mail-open-sharp.svg +1 -1
  1099. package/dist/elements/svg/mail-open.svg +1 -1
  1100. package/dist/elements/svg/mail-outline.svg +1 -1
  1101. package/dist/elements/svg/mail-sharp.svg +1 -1
  1102. package/dist/elements/svg/mail-unread-outline.svg +1 -1
  1103. package/dist/elements/svg/mail-unread-sharp.svg +1 -1
  1104. package/dist/elements/svg/mail-unread.svg +1 -1
  1105. package/dist/elements/svg/mail.svg +1 -1
  1106. package/dist/elements/svg/male-female-outline.svg +1 -1
  1107. package/dist/elements/svg/male-female-sharp.svg +1 -1
  1108. package/dist/elements/svg/male-female.svg +1 -1
  1109. package/dist/elements/svg/male-outline.svg +1 -1
  1110. package/dist/elements/svg/male-sharp.svg +1 -1
  1111. package/dist/elements/svg/male.svg +1 -1
  1112. package/dist/elements/svg/man-outline.svg +1 -1
  1113. package/dist/elements/svg/man-sharp.svg +1 -1
  1114. package/dist/elements/svg/man.svg +1 -1
  1115. package/dist/elements/svg/map-outline.svg +1 -1
  1116. package/dist/elements/svg/map-sharp.svg +1 -1
  1117. package/dist/elements/svg/map.svg +1 -1
  1118. package/dist/elements/svg/medal-outline.svg +1 -1
  1119. package/dist/elements/svg/medal-sharp.svg +1 -1
  1120. package/dist/elements/svg/medal.svg +1 -1
  1121. package/dist/elements/svg/medical-outline.svg +1 -1
  1122. package/dist/elements/svg/medical-sharp.svg +1 -1
  1123. package/dist/elements/svg/medical.svg +1 -1
  1124. package/dist/elements/svg/medkit-outline.svg +1 -1
  1125. package/dist/elements/svg/medkit-sharp.svg +1 -1
  1126. package/dist/elements/svg/medkit.svg +1 -1
  1127. package/dist/elements/svg/megaphone-outline.svg +1 -1
  1128. package/dist/elements/svg/megaphone-sharp.svg +1 -1
  1129. package/dist/elements/svg/megaphone.svg +1 -1
  1130. package/dist/elements/svg/menu-outline.svg +1 -1
  1131. package/dist/elements/svg/menu-sharp.svg +1 -1
  1132. package/dist/elements/svg/menu.svg +1 -1
  1133. package/dist/elements/svg/mic-circle-outline.svg +1 -1
  1134. package/dist/elements/svg/mic-circle-sharp.svg +1 -1
  1135. package/dist/elements/svg/mic-circle.svg +1 -1
  1136. package/dist/elements/svg/mic-off-circle-outline.svg +1 -1
  1137. package/dist/elements/svg/mic-off-circle-sharp.svg +1 -1
  1138. package/dist/elements/svg/mic-off-circle.svg +1 -1
  1139. package/dist/elements/svg/mic-off-outline.svg +1 -1
  1140. package/dist/elements/svg/mic-off-sharp.svg +1 -1
  1141. package/dist/elements/svg/mic-off.svg +1 -1
  1142. package/dist/elements/svg/mic-outline.svg +1 -1
  1143. package/dist/elements/svg/mic-sharp.svg +1 -1
  1144. package/dist/elements/svg/mic.svg +1 -1
  1145. package/dist/elements/svg/moon-outline.svg +1 -1
  1146. package/dist/elements/svg/moon-sharp.svg +1 -1
  1147. package/dist/elements/svg/moon.svg +1 -1
  1148. package/dist/elements/svg/move-outline.svg +1 -1
  1149. package/dist/elements/svg/move-sharp.svg +1 -1
  1150. package/dist/elements/svg/move.svg +1 -1
  1151. package/dist/elements/svg/musical-note-outline.svg +1 -1
  1152. package/dist/elements/svg/musical-note-sharp.svg +1 -1
  1153. package/dist/elements/svg/musical-note.svg +1 -1
  1154. package/dist/elements/svg/musical-notes-outline.svg +1 -1
  1155. package/dist/elements/svg/musical-notes-sharp.svg +1 -1
  1156. package/dist/elements/svg/musical-notes.svg +1 -1
  1157. package/dist/elements/svg/navigate-circle-outline.svg +1 -1
  1158. package/dist/elements/svg/navigate-circle-sharp.svg +1 -1
  1159. package/dist/elements/svg/navigate-circle.svg +1 -1
  1160. package/dist/elements/svg/navigate-outline.svg +1 -1
  1161. package/dist/elements/svg/navigate-sharp.svg +1 -1
  1162. package/dist/elements/svg/navigate.svg +1 -1
  1163. package/dist/elements/svg/newspaper-outline.svg +1 -1
  1164. package/dist/elements/svg/newspaper-sharp.svg +1 -1
  1165. package/dist/elements/svg/newspaper.svg +1 -1
  1166. package/dist/elements/svg/notifications-circle-outline.svg +1 -1
  1167. package/dist/elements/svg/notifications-circle-sharp.svg +1 -1
  1168. package/dist/elements/svg/notifications-circle.svg +1 -1
  1169. package/dist/elements/svg/notifications-off-circle-outline.svg +1 -1
  1170. package/dist/elements/svg/notifications-off-circle-sharp.svg +1 -1
  1171. package/dist/elements/svg/notifications-off-circle.svg +1 -1
  1172. package/dist/elements/svg/notifications-off-outline.svg +1 -1
  1173. package/dist/elements/svg/notifications-off-sharp.svg +1 -1
  1174. package/dist/elements/svg/notifications-off.svg +1 -1
  1175. package/dist/elements/svg/notifications-outline.svg +1 -1
  1176. package/dist/elements/svg/notifications-sharp.svg +1 -1
  1177. package/dist/elements/svg/notifications.svg +1 -1
  1178. package/dist/elements/svg/nuclear-outline.svg +1 -1
  1179. package/dist/elements/svg/nuclear-sharp.svg +1 -1
  1180. package/dist/elements/svg/nuclear.svg +1 -1
  1181. package/dist/elements/svg/nutrition-outline.svg +1 -1
  1182. package/dist/elements/svg/nutrition-sharp.svg +1 -1
  1183. package/dist/elements/svg/nutrition.svg +1 -1
  1184. package/dist/elements/svg/open-outline.svg +1 -1
  1185. package/dist/elements/svg/open-sharp.svg +1 -1
  1186. package/dist/elements/svg/open.svg +1 -1
  1187. package/dist/elements/svg/options-outline.svg +1 -1
  1188. package/dist/elements/svg/options-sharp.svg +1 -1
  1189. package/dist/elements/svg/options.svg +1 -1
  1190. package/dist/elements/svg/paper-plane-outline.svg +1 -1
  1191. package/dist/elements/svg/paper-plane-sharp.svg +1 -1
  1192. package/dist/elements/svg/paper-plane.svg +1 -1
  1193. package/dist/elements/svg/partly-sunny-outline.svg +1 -1
  1194. package/dist/elements/svg/partly-sunny-sharp.svg +1 -1
  1195. package/dist/elements/svg/partly-sunny.svg +1 -1
  1196. package/dist/elements/svg/pause-circle-outline.svg +1 -1
  1197. package/dist/elements/svg/pause-circle-sharp.svg +1 -1
  1198. package/dist/elements/svg/pause-circle.svg +1 -1
  1199. package/dist/elements/svg/pause-outline.svg +1 -1
  1200. package/dist/elements/svg/pause-sharp.svg +1 -1
  1201. package/dist/elements/svg/pause.svg +1 -1
  1202. package/dist/elements/svg/paw-outline.svg +1 -1
  1203. package/dist/elements/svg/paw-sharp.svg +1 -1
  1204. package/dist/elements/svg/paw.svg +1 -1
  1205. package/dist/elements/svg/pencil-outline.svg +1 -1
  1206. package/dist/elements/svg/pencil-sharp.svg +1 -1
  1207. package/dist/elements/svg/pencil.svg +1 -1
  1208. package/dist/elements/svg/people-circle-outline.svg +1 -1
  1209. package/dist/elements/svg/people-circle-sharp.svg +1 -1
  1210. package/dist/elements/svg/people-circle.svg +1 -1
  1211. package/dist/elements/svg/people-outline.svg +1 -1
  1212. package/dist/elements/svg/people-sharp.svg +1 -1
  1213. package/dist/elements/svg/people.svg +1 -1
  1214. package/dist/elements/svg/person-add-outline.svg +1 -1
  1215. package/dist/elements/svg/person-add-sharp.svg +1 -1
  1216. package/dist/elements/svg/person-add.svg +1 -1
  1217. package/dist/elements/svg/person-circle-outline.svg +1 -1
  1218. package/dist/elements/svg/person-circle-sharp.svg +1 -1
  1219. package/dist/elements/svg/person-circle.svg +1 -1
  1220. package/dist/elements/svg/person-outline.svg +1 -1
  1221. package/dist/elements/svg/person-remove-outline.svg +1 -1
  1222. package/dist/elements/svg/person-remove-sharp.svg +1 -1
  1223. package/dist/elements/svg/person-remove.svg +1 -1
  1224. package/dist/elements/svg/person-sharp.svg +1 -1
  1225. package/dist/elements/svg/person.svg +1 -1
  1226. package/dist/elements/svg/phone-landscape-outline.svg +1 -1
  1227. package/dist/elements/svg/phone-landscape-sharp.svg +1 -1
  1228. package/dist/elements/svg/phone-landscape.svg +1 -1
  1229. package/dist/elements/svg/phone-portrait-outline.svg +1 -1
  1230. package/dist/elements/svg/phone-portrait-sharp.svg +1 -1
  1231. package/dist/elements/svg/phone-portrait.svg +1 -1
  1232. package/dist/elements/svg/pie-chart-outline.svg +1 -1
  1233. package/dist/elements/svg/pie-chart-sharp.svg +1 -1
  1234. package/dist/elements/svg/pie-chart.svg +1 -1
  1235. package/dist/elements/svg/pin-outline.svg +1 -1
  1236. package/dist/elements/svg/pin-sharp.svg +1 -1
  1237. package/dist/elements/svg/pin.svg +1 -1
  1238. package/dist/elements/svg/pint-outline.svg +1 -1
  1239. package/dist/elements/svg/pint-sharp.svg +1 -1
  1240. package/dist/elements/svg/pint.svg +1 -1
  1241. package/dist/elements/svg/pizza-outline.svg +1 -1
  1242. package/dist/elements/svg/pizza-sharp.svg +1 -1
  1243. package/dist/elements/svg/pizza.svg +1 -1
  1244. package/dist/elements/svg/planet-outline.svg +1 -1
  1245. package/dist/elements/svg/planet-sharp.svg +1 -1
  1246. package/dist/elements/svg/planet.svg +1 -1
  1247. package/dist/elements/svg/play-back-circle-outline.svg +1 -1
  1248. package/dist/elements/svg/play-back-circle-sharp.svg +1 -1
  1249. package/dist/elements/svg/play-back-circle.svg +1 -1
  1250. package/dist/elements/svg/play-back-outline.svg +1 -1
  1251. package/dist/elements/svg/play-back-sharp.svg +1 -1
  1252. package/dist/elements/svg/play-back.svg +1 -1
  1253. package/dist/elements/svg/play-circle-outline.svg +1 -1
  1254. package/dist/elements/svg/play-circle-sharp.svg +1 -1
  1255. package/dist/elements/svg/play-circle.svg +1 -1
  1256. package/dist/elements/svg/play-forward-circle-outline.svg +1 -1
  1257. package/dist/elements/svg/play-forward-circle-sharp.svg +1 -1
  1258. package/dist/elements/svg/play-forward-circle.svg +1 -1
  1259. package/dist/elements/svg/play-forward-outline.svg +1 -1
  1260. package/dist/elements/svg/play-forward-sharp.svg +1 -1
  1261. package/dist/elements/svg/play-forward.svg +1 -1
  1262. package/dist/elements/svg/play-outline.svg +1 -1
  1263. package/dist/elements/svg/play-sharp.svg +1 -1
  1264. package/dist/elements/svg/play-skip-back-circle-outline.svg +1 -1
  1265. package/dist/elements/svg/play-skip-back-circle-sharp.svg +1 -1
  1266. package/dist/elements/svg/play-skip-back-circle.svg +1 -1
  1267. package/dist/elements/svg/play-skip-back-outline.svg +1 -1
  1268. package/dist/elements/svg/play-skip-back-sharp.svg +1 -1
  1269. package/dist/elements/svg/play-skip-back.svg +1 -1
  1270. package/dist/elements/svg/play-skip-forward-circle-outline.svg +1 -1
  1271. package/dist/elements/svg/play-skip-forward-circle-sharp.svg +1 -1
  1272. package/dist/elements/svg/play-skip-forward-circle.svg +1 -1
  1273. package/dist/elements/svg/play-skip-forward-outline.svg +1 -1
  1274. package/dist/elements/svg/play-skip-forward-sharp.svg +1 -1
  1275. package/dist/elements/svg/play-skip-forward.svg +1 -1
  1276. package/dist/elements/svg/play.svg +1 -1
  1277. package/dist/elements/svg/podium-outline.svg +1 -1
  1278. package/dist/elements/svg/podium-sharp.svg +1 -1
  1279. package/dist/elements/svg/podium.svg +1 -1
  1280. package/dist/elements/svg/power-outline.svg +1 -1
  1281. package/dist/elements/svg/power-sharp.svg +1 -1
  1282. package/dist/elements/svg/power.svg +1 -1
  1283. package/dist/elements/svg/pricetag-outline.svg +1 -1
  1284. package/dist/elements/svg/pricetag-sharp.svg +1 -1
  1285. package/dist/elements/svg/pricetag.svg +1 -1
  1286. package/dist/elements/svg/pricetags-outline.svg +1 -1
  1287. package/dist/elements/svg/pricetags-sharp.svg +1 -1
  1288. package/dist/elements/svg/pricetags.svg +1 -1
  1289. package/dist/elements/svg/print-outline.svg +1 -1
  1290. package/dist/elements/svg/print-sharp.svg +1 -1
  1291. package/dist/elements/svg/print.svg +1 -1
  1292. package/dist/elements/svg/prism-outline.svg +1 -1
  1293. package/dist/elements/svg/prism-sharp.svg +1 -1
  1294. package/dist/elements/svg/prism.svg +1 -1
  1295. package/dist/elements/svg/pulse-outline.svg +1 -1
  1296. package/dist/elements/svg/pulse-sharp.svg +1 -1
  1297. package/dist/elements/svg/pulse.svg +1 -1
  1298. package/dist/elements/svg/push-outline.svg +1 -1
  1299. package/dist/elements/svg/push-sharp.svg +1 -1
  1300. package/dist/elements/svg/push.svg +1 -1
  1301. package/dist/elements/svg/qr-code-outline.svg +1 -1
  1302. package/dist/elements/svg/qr-code-sharp.svg +1 -1
  1303. package/dist/elements/svg/qr-code.svg +1 -1
  1304. package/dist/elements/svg/radio-button-off-outline.svg +1 -1
  1305. package/dist/elements/svg/radio-button-off-sharp.svg +1 -1
  1306. package/dist/elements/svg/radio-button-off.svg +1 -1
  1307. package/dist/elements/svg/radio-button-on-outline.svg +1 -1
  1308. package/dist/elements/svg/radio-button-on-sharp.svg +1 -1
  1309. package/dist/elements/svg/radio-button-on.svg +1 -1
  1310. package/dist/elements/svg/radio-outline.svg +1 -1
  1311. package/dist/elements/svg/radio-sharp.svg +1 -1
  1312. package/dist/elements/svg/radio.svg +1 -1
  1313. package/dist/elements/svg/rainy-outline.svg +1 -1
  1314. package/dist/elements/svg/rainy-sharp.svg +1 -1
  1315. package/dist/elements/svg/rainy.svg +1 -1
  1316. package/dist/elements/svg/reader-outline.svg +1 -1
  1317. package/dist/elements/svg/reader-sharp.svg +1 -1
  1318. package/dist/elements/svg/reader.svg +1 -1
  1319. package/dist/elements/svg/receipt-outline.svg +1 -1
  1320. package/dist/elements/svg/receipt-sharp.svg +1 -1
  1321. package/dist/elements/svg/receipt.svg +1 -1
  1322. package/dist/elements/svg/recording-outline.svg +1 -1
  1323. package/dist/elements/svg/recording-sharp.svg +1 -1
  1324. package/dist/elements/svg/recording.svg +1 -1
  1325. package/dist/elements/svg/refresh-circle-outline.svg +1 -1
  1326. package/dist/elements/svg/refresh-circle-sharp.svg +1 -1
  1327. package/dist/elements/svg/refresh-circle.svg +1 -1
  1328. package/dist/elements/svg/refresh-outline.svg +1 -1
  1329. package/dist/elements/svg/refresh-sharp.svg +1 -1
  1330. package/dist/elements/svg/refresh.svg +1 -1
  1331. package/dist/elements/svg/reload-circle-outline.svg +1 -1
  1332. package/dist/elements/svg/reload-circle-sharp.svg +1 -1
  1333. package/dist/elements/svg/reload-circle.svg +1 -1
  1334. package/dist/elements/svg/reload-outline.svg +1 -1
  1335. package/dist/elements/svg/reload-sharp.svg +1 -1
  1336. package/dist/elements/svg/reload.svg +1 -1
  1337. package/dist/elements/svg/remove-circle-outline.svg +1 -1
  1338. package/dist/elements/svg/remove-circle-sharp.svg +1 -1
  1339. package/dist/elements/svg/remove-circle.svg +1 -1
  1340. package/dist/elements/svg/remove-outline.svg +1 -1
  1341. package/dist/elements/svg/remove-sharp.svg +1 -1
  1342. package/dist/elements/svg/remove.svg +1 -1
  1343. package/dist/elements/svg/reorder-four-outline.svg +1 -1
  1344. package/dist/elements/svg/reorder-four-sharp.svg +1 -1
  1345. package/dist/elements/svg/reorder-four.svg +1 -1
  1346. package/dist/elements/svg/reorder-three-outline.svg +1 -1
  1347. package/dist/elements/svg/reorder-three-sharp.svg +1 -1
  1348. package/dist/elements/svg/reorder-three.svg +1 -1
  1349. package/dist/elements/svg/reorder-two-outline.svg +1 -1
  1350. package/dist/elements/svg/reorder-two-sharp.svg +1 -1
  1351. package/dist/elements/svg/reorder-two.svg +1 -1
  1352. package/dist/elements/svg/repeat-outline.svg +1 -1
  1353. package/dist/elements/svg/repeat-sharp.svg +1 -1
  1354. package/dist/elements/svg/repeat.svg +1 -1
  1355. package/dist/elements/svg/resize-outline.svg +1 -1
  1356. package/dist/elements/svg/resize-sharp.svg +1 -1
  1357. package/dist/elements/svg/resize.svg +1 -1
  1358. package/dist/elements/svg/restaurant-outline.svg +1 -1
  1359. package/dist/elements/svg/restaurant-sharp.svg +1 -1
  1360. package/dist/elements/svg/restaurant.svg +1 -1
  1361. package/dist/elements/svg/return-down-back-outline.svg +1 -1
  1362. package/dist/elements/svg/return-down-back-sharp.svg +1 -1
  1363. package/dist/elements/svg/return-down-back.svg +1 -1
  1364. package/dist/elements/svg/return-down-forward-outline.svg +1 -1
  1365. package/dist/elements/svg/return-down-forward-sharp.svg +1 -1
  1366. package/dist/elements/svg/return-down-forward.svg +1 -1
  1367. package/dist/elements/svg/return-up-back-outline.svg +1 -1
  1368. package/dist/elements/svg/return-up-back-sharp.svg +1 -1
  1369. package/dist/elements/svg/return-up-back.svg +1 -1
  1370. package/dist/elements/svg/return-up-forward-outline.svg +1 -1
  1371. package/dist/elements/svg/return-up-forward-sharp.svg +1 -1
  1372. package/dist/elements/svg/return-up-forward.svg +1 -1
  1373. package/dist/elements/svg/ribbon-outline.svg +1 -1
  1374. package/dist/elements/svg/ribbon-sharp.svg +1 -1
  1375. package/dist/elements/svg/ribbon.svg +1 -1
  1376. package/dist/elements/svg/rocket-outline.svg +1 -1
  1377. package/dist/elements/svg/rocket-sharp.svg +1 -1
  1378. package/dist/elements/svg/rocket.svg +1 -1
  1379. package/dist/elements/svg/rose-outline.svg +1 -1
  1380. package/dist/elements/svg/rose-sharp.svg +1 -1
  1381. package/dist/elements/svg/rose.svg +1 -1
  1382. package/dist/elements/svg/sad-outline.svg +1 -1
  1383. package/dist/elements/svg/sad-sharp.svg +1 -1
  1384. package/dist/elements/svg/sad.svg +1 -1
  1385. package/dist/elements/svg/save-outline.svg +1 -1
  1386. package/dist/elements/svg/save-sharp.svg +1 -1
  1387. package/dist/elements/svg/save.svg +1 -1
  1388. package/dist/elements/svg/scale-outline.svg +1 -1
  1389. package/dist/elements/svg/scale-sharp.svg +1 -1
  1390. package/dist/elements/svg/scale.svg +1 -1
  1391. package/dist/elements/svg/scan-circle-outline.svg +1 -1
  1392. package/dist/elements/svg/scan-circle-sharp.svg +1 -1
  1393. package/dist/elements/svg/scan-circle.svg +1 -1
  1394. package/dist/elements/svg/scan-outline.svg +1 -1
  1395. package/dist/elements/svg/scan-sharp.svg +1 -1
  1396. package/dist/elements/svg/scan.svg +1 -1
  1397. package/dist/elements/svg/school-outline.svg +1 -1
  1398. package/dist/elements/svg/school-sharp.svg +1 -1
  1399. package/dist/elements/svg/school.svg +1 -1
  1400. package/dist/elements/svg/search-circle-outline.svg +1 -1
  1401. package/dist/elements/svg/search-circle-sharp.svg +1 -1
  1402. package/dist/elements/svg/search-circle.svg +1 -1
  1403. package/dist/elements/svg/search-outline.svg +1 -1
  1404. package/dist/elements/svg/search-sharp.svg +1 -1
  1405. package/dist/elements/svg/search.svg +1 -1
  1406. package/dist/elements/svg/send-outline.svg +1 -1
  1407. package/dist/elements/svg/send-sharp.svg +1 -1
  1408. package/dist/elements/svg/send.svg +1 -1
  1409. package/dist/elements/svg/server-outline.svg +1 -1
  1410. package/dist/elements/svg/server-sharp.svg +1 -1
  1411. package/dist/elements/svg/server.svg +1 -1
  1412. package/dist/elements/svg/settings-outline.svg +1 -1
  1413. package/dist/elements/svg/settings-sharp.svg +1 -1
  1414. package/dist/elements/svg/settings.svg +1 -1
  1415. package/dist/elements/svg/shapes-outline.svg +1 -1
  1416. package/dist/elements/svg/shapes-sharp.svg +1 -1
  1417. package/dist/elements/svg/shapes.svg +1 -1
  1418. package/dist/elements/svg/share-outline.svg +1 -1
  1419. package/dist/elements/svg/share-sharp.svg +1 -1
  1420. package/dist/elements/svg/share-social-outline.svg +1 -1
  1421. package/dist/elements/svg/share-social-sharp.svg +1 -1
  1422. package/dist/elements/svg/share-social.svg +1 -1
  1423. package/dist/elements/svg/share.svg +1 -1
  1424. package/dist/elements/svg/shield-checkmark-outline.svg +1 -1
  1425. package/dist/elements/svg/shield-checkmark-sharp.svg +1 -1
  1426. package/dist/elements/svg/shield-checkmark.svg +1 -1
  1427. package/dist/elements/svg/shield-half-outline.svg +1 -1
  1428. package/dist/elements/svg/shield-half-sharp.svg +1 -1
  1429. package/dist/elements/svg/shield-half.svg +1 -1
  1430. package/dist/elements/svg/shield-outline.svg +1 -1
  1431. package/dist/elements/svg/shield-sharp.svg +1 -1
  1432. package/dist/elements/svg/shield.svg +1 -1
  1433. package/dist/elements/svg/shirt-outline.svg +1 -1
  1434. package/dist/elements/svg/shirt-sharp.svg +1 -1
  1435. package/dist/elements/svg/shirt.svg +1 -1
  1436. package/dist/elements/svg/shuffle-outline.svg +1 -1
  1437. package/dist/elements/svg/shuffle-sharp.svg +1 -1
  1438. package/dist/elements/svg/shuffle.svg +1 -1
  1439. package/dist/elements/svg/skull-outline.svg +1 -1
  1440. package/dist/elements/svg/skull-sharp.svg +1 -1
  1441. package/dist/elements/svg/skull.svg +1 -1
  1442. package/dist/elements/svg/snow-outline.svg +1 -1
  1443. package/dist/elements/svg/snow-sharp.svg +1 -1
  1444. package/dist/elements/svg/snow.svg +1 -1
  1445. package/dist/elements/svg/sparkles-outline.svg +1 -1
  1446. package/dist/elements/svg/sparkles-sharp.svg +1 -1
  1447. package/dist/elements/svg/sparkles.svg +1 -1
  1448. package/dist/elements/svg/speedometer-outline.svg +1 -1
  1449. package/dist/elements/svg/speedometer-sharp.svg +1 -1
  1450. package/dist/elements/svg/speedometer.svg +1 -1
  1451. package/dist/elements/svg/square-outline.svg +1 -1
  1452. package/dist/elements/svg/square-sharp.svg +1 -1
  1453. package/dist/elements/svg/square.svg +1 -1
  1454. package/dist/elements/svg/star-half-outline.svg +1 -1
  1455. package/dist/elements/svg/star-half-sharp.svg +1 -1
  1456. package/dist/elements/svg/star-half.svg +1 -1
  1457. package/dist/elements/svg/star-outline.svg +1 -1
  1458. package/dist/elements/svg/star-sharp.svg +1 -1
  1459. package/dist/elements/svg/star.svg +1 -1
  1460. package/dist/elements/svg/stats-chart-outline.svg +1 -1
  1461. package/dist/elements/svg/stats-chart-sharp.svg +1 -1
  1462. package/dist/elements/svg/stats-chart.svg +1 -1
  1463. package/dist/elements/svg/stop-circle-outline.svg +1 -1
  1464. package/dist/elements/svg/stop-circle-sharp.svg +1 -1
  1465. package/dist/elements/svg/stop-circle.svg +1 -1
  1466. package/dist/elements/svg/stop-outline.svg +1 -1
  1467. package/dist/elements/svg/stop-sharp.svg +1 -1
  1468. package/dist/elements/svg/stop.svg +1 -1
  1469. package/dist/elements/svg/stopwatch-outline.svg +1 -1
  1470. package/dist/elements/svg/stopwatch-sharp.svg +1 -1
  1471. package/dist/elements/svg/stopwatch.svg +1 -1
  1472. package/dist/elements/svg/storefront-outline.svg +1 -1
  1473. package/dist/elements/svg/storefront-sharp.svg +1 -1
  1474. package/dist/elements/svg/storefront.svg +1 -1
  1475. package/dist/elements/svg/subway-outline.svg +1 -1
  1476. package/dist/elements/svg/subway-sharp.svg +1 -1
  1477. package/dist/elements/svg/subway.svg +1 -1
  1478. package/dist/elements/svg/sunny-outline.svg +1 -1
  1479. package/dist/elements/svg/sunny-sharp.svg +1 -1
  1480. package/dist/elements/svg/sunny.svg +1 -1
  1481. package/dist/elements/svg/swap-horizontal-outline.svg +1 -1
  1482. package/dist/elements/svg/swap-horizontal-sharp.svg +1 -1
  1483. package/dist/elements/svg/swap-horizontal.svg +1 -1
  1484. package/dist/elements/svg/swap-vertical-outline.svg +1 -1
  1485. package/dist/elements/svg/swap-vertical-sharp.svg +1 -1
  1486. package/dist/elements/svg/swap-vertical.svg +1 -1
  1487. package/dist/elements/svg/sync-circle-outline.svg +1 -1
  1488. package/dist/elements/svg/sync-circle-sharp.svg +1 -1
  1489. package/dist/elements/svg/sync-circle.svg +1 -1
  1490. package/dist/elements/svg/sync-outline.svg +1 -1
  1491. package/dist/elements/svg/sync-sharp.svg +1 -1
  1492. package/dist/elements/svg/sync.svg +1 -1
  1493. package/dist/elements/svg/tablet-landscape-outline.svg +1 -1
  1494. package/dist/elements/svg/tablet-landscape-sharp.svg +1 -1
  1495. package/dist/elements/svg/tablet-landscape.svg +1 -1
  1496. package/dist/elements/svg/tablet-portrait-outline.svg +1 -1
  1497. package/dist/elements/svg/tablet-portrait-sharp.svg +1 -1
  1498. package/dist/elements/svg/tablet-portrait.svg +1 -1
  1499. package/dist/elements/svg/telescope-outline.svg +1 -1
  1500. package/dist/elements/svg/telescope-sharp.svg +1 -1
  1501. package/dist/elements/svg/telescope.svg +1 -1
  1502. package/dist/elements/svg/tennisball-outline.svg +1 -1
  1503. package/dist/elements/svg/tennisball-sharp.svg +1 -1
  1504. package/dist/elements/svg/tennisball.svg +1 -1
  1505. package/dist/elements/svg/terminal-outline.svg +1 -1
  1506. package/dist/elements/svg/terminal-sharp.svg +1 -1
  1507. package/dist/elements/svg/terminal.svg +1 -1
  1508. package/dist/elements/svg/text-outline.svg +1 -1
  1509. package/dist/elements/svg/text-sharp.svg +1 -1
  1510. package/dist/elements/svg/text.svg +1 -1
  1511. package/dist/elements/svg/thermometer-outline.svg +1 -1
  1512. package/dist/elements/svg/thermometer-sharp.svg +1 -1
  1513. package/dist/elements/svg/thermometer.svg +1 -1
  1514. package/dist/elements/svg/thumbs-down-outline.svg +1 -1
  1515. package/dist/elements/svg/thumbs-down-sharp.svg +1 -1
  1516. package/dist/elements/svg/thumbs-down.svg +1 -1
  1517. package/dist/elements/svg/thumbs-up-outline.svg +1 -1
  1518. package/dist/elements/svg/thumbs-up-sharp.svg +1 -1
  1519. package/dist/elements/svg/thumbs-up.svg +1 -1
  1520. package/dist/elements/svg/thunderstorm-outline.svg +1 -1
  1521. package/dist/elements/svg/thunderstorm-sharp.svg +1 -1
  1522. package/dist/elements/svg/thunderstorm.svg +1 -1
  1523. package/dist/elements/svg/ticket-outline.svg +1 -1
  1524. package/dist/elements/svg/ticket-sharp.svg +1 -1
  1525. package/dist/elements/svg/ticket.svg +1 -1
  1526. package/dist/elements/svg/time-outline.svg +1 -1
  1527. package/dist/elements/svg/time-sharp.svg +1 -1
  1528. package/dist/elements/svg/time.svg +1 -1
  1529. package/dist/elements/svg/timer-outline.svg +1 -1
  1530. package/dist/elements/svg/timer-sharp.svg +1 -1
  1531. package/dist/elements/svg/timer.svg +1 -1
  1532. package/dist/elements/svg/today-outline.svg +1 -1
  1533. package/dist/elements/svg/today-sharp.svg +1 -1
  1534. package/dist/elements/svg/today.svg +1 -1
  1535. package/dist/elements/svg/toggle-outline.svg +1 -1
  1536. package/dist/elements/svg/toggle-sharp.svg +1 -1
  1537. package/dist/elements/svg/toggle.svg +1 -1
  1538. package/dist/elements/svg/trail-sign-outline.svg +1 -1
  1539. package/dist/elements/svg/trail-sign-sharp.svg +1 -1
  1540. package/dist/elements/svg/trail-sign.svg +1 -1
  1541. package/dist/elements/svg/train-outline.svg +1 -1
  1542. package/dist/elements/svg/train-sharp.svg +1 -1
  1543. package/dist/elements/svg/train.svg +1 -1
  1544. package/dist/elements/svg/transgender-outline.svg +1 -1
  1545. package/dist/elements/svg/transgender-sharp.svg +1 -1
  1546. package/dist/elements/svg/transgender.svg +1 -1
  1547. package/dist/elements/svg/trash-bin-outline.svg +1 -1
  1548. package/dist/elements/svg/trash-bin-sharp.svg +1 -1
  1549. package/dist/elements/svg/trash-bin.svg +1 -1
  1550. package/dist/elements/svg/trash-outline.svg +1 -1
  1551. package/dist/elements/svg/trash-sharp.svg +1 -1
  1552. package/dist/elements/svg/trash.svg +1 -1
  1553. package/dist/elements/svg/trending-down-outline.svg +1 -1
  1554. package/dist/elements/svg/trending-down-sharp.svg +1 -1
  1555. package/dist/elements/svg/trending-down.svg +1 -1
  1556. package/dist/elements/svg/trending-up-outline.svg +1 -1
  1557. package/dist/elements/svg/trending-up-sharp.svg +1 -1
  1558. package/dist/elements/svg/trending-up.svg +1 -1
  1559. package/dist/elements/svg/triangle-outline.svg +1 -1
  1560. package/dist/elements/svg/triangle-sharp.svg +1 -1
  1561. package/dist/elements/svg/triangle.svg +1 -1
  1562. package/dist/elements/svg/trophy-outline.svg +1 -1
  1563. package/dist/elements/svg/trophy-sharp.svg +1 -1
  1564. package/dist/elements/svg/trophy.svg +1 -1
  1565. package/dist/elements/svg/tv-outline.svg +1 -1
  1566. package/dist/elements/svg/tv-sharp.svg +1 -1
  1567. package/dist/elements/svg/tv.svg +1 -1
  1568. package/dist/elements/svg/umbrella-outline.svg +1 -1
  1569. package/dist/elements/svg/umbrella-sharp.svg +1 -1
  1570. package/dist/elements/svg/umbrella.svg +1 -1
  1571. package/dist/elements/svg/unlink-outline.svg +1 -1
  1572. package/dist/elements/svg/unlink-sharp.svg +1 -1
  1573. package/dist/elements/svg/unlink.svg +1 -1
  1574. package/dist/elements/svg/videocam-off-outline.svg +1 -1
  1575. package/dist/elements/svg/videocam-off-sharp.svg +1 -1
  1576. package/dist/elements/svg/videocam-off.svg +1 -1
  1577. package/dist/elements/svg/videocam-outline.svg +1 -1
  1578. package/dist/elements/svg/videocam-sharp.svg +1 -1
  1579. package/dist/elements/svg/videocam.svg +1 -1
  1580. package/dist/elements/svg/volume-high-outline.svg +1 -1
  1581. package/dist/elements/svg/volume-high-sharp.svg +1 -1
  1582. package/dist/elements/svg/volume-high.svg +1 -1
  1583. package/dist/elements/svg/volume-low-outline.svg +1 -1
  1584. package/dist/elements/svg/volume-low-sharp.svg +1 -1
  1585. package/dist/elements/svg/volume-low.svg +1 -1
  1586. package/dist/elements/svg/volume-medium-outline.svg +1 -1
  1587. package/dist/elements/svg/volume-medium-sharp.svg +1 -1
  1588. package/dist/elements/svg/volume-medium.svg +1 -1
  1589. package/dist/elements/svg/volume-mute-outline.svg +1 -1
  1590. package/dist/elements/svg/volume-mute-sharp.svg +1 -1
  1591. package/dist/elements/svg/volume-mute.svg +1 -1
  1592. package/dist/elements/svg/volume-off-outline.svg +1 -1
  1593. package/dist/elements/svg/volume-off-sharp.svg +1 -1
  1594. package/dist/elements/svg/volume-off.svg +1 -1
  1595. package/dist/elements/svg/walk-outline.svg +1 -1
  1596. package/dist/elements/svg/walk-sharp.svg +1 -1
  1597. package/dist/elements/svg/walk.svg +1 -1
  1598. package/dist/elements/svg/wallet-outline.svg +1 -1
  1599. package/dist/elements/svg/wallet-sharp.svg +1 -1
  1600. package/dist/elements/svg/wallet.svg +1 -1
  1601. package/dist/elements/svg/warning-outline.svg +1 -1
  1602. package/dist/elements/svg/warning-sharp.svg +1 -1
  1603. package/dist/elements/svg/warning.svg +1 -1
  1604. package/dist/elements/svg/watch-outline.svg +1 -1
  1605. package/dist/elements/svg/watch-sharp.svg +1 -1
  1606. package/dist/elements/svg/watch.svg +1 -1
  1607. package/dist/elements/svg/water-outline.svg +1 -1
  1608. package/dist/elements/svg/water-sharp.svg +1 -1
  1609. package/dist/elements/svg/water.svg +1 -1
  1610. package/dist/elements/svg/wifi-outline.svg +1 -1
  1611. package/dist/elements/svg/wifi-sharp.svg +1 -1
  1612. package/dist/elements/svg/wifi.svg +1 -1
  1613. package/dist/elements/svg/wine-outline.svg +1 -1
  1614. package/dist/elements/svg/wine-sharp.svg +1 -1
  1615. package/dist/elements/svg/wine.svg +1 -1
  1616. package/dist/elements/svg/woman-outline.svg +1 -1
  1617. package/dist/elements/svg/woman-sharp.svg +1 -1
  1618. package/dist/elements/svg/woman.svg +1 -1
  1619. package/dist/esm/{BrokenFile-e1e68cb6.js → BrokenFile-67dd8315.js} +1 -1
  1620. package/dist/esm/PodOsAware-bca76ed0.js +5 -0
  1621. package/dist/esm/{animation-801a007a.js → animation-be5f711f.js} +3 -1
  1622. package/dist/esm/{app-globals-f41500dc.js → app-globals-cd978d49.js} +1 -1
  1623. package/dist/esm/elements.js +6 -5
  1624. package/dist/esm/{focus-visible-78d55799.js → focus-visible-3e7b6617.js} +1 -0
  1625. package/dist/esm/{framework-delegate-7e2b767b.js → framework-delegate-e3d3514b.js} +2 -1
  1626. package/dist/esm/{helpers-aeff219b.js → helpers-516c51e1.js} +1 -1
  1627. package/dist/esm/{index-1058e225.js → index-33ece0f3.js} +104 -2
  1628. package/dist/esm/{index-b212db1c.js → index-487ee567.js} +14 -6
  1629. package/dist/esm/{index-bd9e43b0.js → index-5b4bb310.js} +5 -4
  1630. package/dist/esm/{index-51e4a829.js → index-7bdafbcc.js} +31 -2
  1631. package/dist/esm/{index-82f6a4df.js → index-975a559a.js} +5 -4
  1632. package/dist/esm/index-b7c84196.js +25 -0
  1633. package/dist/esm/{index-a68c86af.js → index-c4158e4a.js} +29962 -22591
  1634. package/dist/esm/{index-d39eb62b.js → index-e23280d9.js} +4 -1
  1635. package/dist/esm/{index-38d8370e.js → index-f53834ea.js} +2 -1
  1636. package/dist/esm/{input-shims-167ef062.js → input-shims-14aa5c3b.js} +8 -4
  1637. package/dist/esm/ion-accordion-group.entry.js +2 -2
  1638. package/dist/esm/ion-accordion.entry.js +4 -4
  1639. package/dist/esm/ion-action-sheet_3.entry.js +8 -8
  1640. package/dist/esm/ion-app_25.entry.js +94 -56
  1641. package/dist/esm/ion-avatar.entry.js +2 -2
  1642. package/dist/esm/ion-back-button.entry.js +4 -4
  1643. package/dist/esm/ion-backdrop.entry.js +2 -2
  1644. package/dist/esm/{ion-badge_9.entry.js → ion-badge_12.entry.js} +379 -5
  1645. package/dist/esm/ion-breadcrumb.entry.js +4 -4
  1646. package/dist/esm/ion-breadcrumbs.entry.js +2 -2
  1647. package/dist/esm/ion-buttons_3.entry.js +8 -5
  1648. package/dist/esm/ion-card-subtitle.entry.js +2 -2
  1649. package/dist/esm/ion-checkbox_4.entry.js +5 -3
  1650. package/dist/esm/ion-chip.entry.js +3 -3
  1651. package/dist/esm/ion-datetime-button.entry.js +3 -3
  1652. package/dist/esm/ion-datetime.entry.js +17 -16
  1653. package/dist/esm/ion-fab-button.entry.js +5 -5
  1654. package/dist/esm/ion-fab-list.entry.js +2 -2
  1655. package/dist/esm/ion-fab.entry.js +2 -2
  1656. package/dist/esm/ion-img.entry.js +3 -3
  1657. package/dist/esm/ion-infinite-scroll-content.entry.js +3 -3
  1658. package/dist/esm/ion-infinite-scroll.entry.js +4 -4
  1659. package/dist/esm/ion-item-option.entry.js +2 -2
  1660. package/dist/esm/ion-item-options.entry.js +3 -3
  1661. package/dist/esm/ion-item-sliding.entry.js +5 -5
  1662. package/dist/esm/ion-item_4.entry.js +10 -7
  1663. package/dist/esm/ion-loading.entry.js +6 -6
  1664. package/dist/esm/ion-menu-button.entry.js +7 -7
  1665. package/dist/esm/ion-menu-toggle.entry.js +6 -6
  1666. package/dist/esm/ion-menu.entry.js +8 -7
  1667. package/dist/esm/ion-modal.entry.js +15 -12
  1668. package/dist/esm/ion-nav-link.entry.js +1 -1
  1669. package/dist/esm/ion-nav.entry.js +7 -6
  1670. package/dist/esm/ion-picker-column.entry.js +14 -14
  1671. package/dist/esm/ion-picker.entry.js +5 -5
  1672. package/dist/esm/ion-popover.entry.js +15 -9
  1673. package/dist/esm/ion-range.entry.js +5 -5
  1674. package/dist/esm/ion-refresher-content.entry.js +4 -4
  1675. package/dist/esm/ion-refresher.entry.js +36 -10
  1676. package/dist/esm/ion-reorder-group.entry.js +5 -5
  1677. package/dist/esm/ion-reorder.entry.js +3 -3
  1678. package/dist/esm/ion-route-redirect.entry.js +1 -1
  1679. package/dist/esm/ion-route.entry.js +1 -1
  1680. package/dist/esm/ion-router-link.entry.js +2 -2
  1681. package/dist/esm/ion-router-outlet.entry.js +6 -6
  1682. package/dist/esm/ion-router.entry.js +2 -2
  1683. package/dist/esm/ion-segment-button.entry.js +3 -3
  1684. package/dist/esm/ion-segment.entry.js +4 -4
  1685. package/dist/esm/ion-select-option.entry.js +2 -2
  1686. package/dist/esm/ion-select.entry.js +30 -7
  1687. package/dist/esm/ion-slide.entry.js +2 -2
  1688. package/dist/esm/ion-slides.entry.js +3 -3
  1689. package/dist/esm/ion-spinner.entry.js +3 -3
  1690. package/dist/esm/ion-split-pane.entry.js +3 -2
  1691. package/dist/esm/ion-tab-bar.entry.js +2 -2
  1692. package/dist/esm/ion-tab-button.entry.js +3 -3
  1693. package/dist/esm/ion-tab.entry.js +3 -3
  1694. package/dist/esm/ion-tabs.entry.js +1 -1
  1695. package/dist/esm/ion-text.entry.js +2 -2
  1696. package/dist/esm/ion-textarea.entry.js +3 -3
  1697. package/dist/esm/ion-thumbnail.entry.js +2 -2
  1698. package/dist/esm/ion-toast.entry.js +6 -6
  1699. package/dist/esm/ion-toggle.entry.js +6 -6
  1700. package/dist/esm/ion-virtual-scroll.entry.js +2 -2
  1701. package/dist/esm/{ionic-global-a2c7ad8b.js → ionic-global-abe366ea.js} +2 -1
  1702. package/dist/esm/{ios.transition-c43b888d.js → ios.transition-e4f590ed.js} +5 -4
  1703. package/dist/esm/jsonld-HFR6RJUN-519a9242.js +8423 -0
  1704. package/dist/esm/{keyboard-413afe04.js → keyboard-765ce6f2.js} +1 -0
  1705. package/dist/esm/loader.js +6 -5
  1706. package/dist/esm/{md.transition-f5d6d510.js → md.transition-f82b8ec5.js} +4 -4
  1707. package/dist/esm/{menu-toggle-util-27f5f9be.js → menu-toggle-util-c4c92fb3.js} +1 -1
  1708. package/dist/esm/{overlays-728c637e.js → overlays-9f558e5d.js} +2 -2
  1709. package/dist/esm/pos-app-document-viewer.entry.js +1 -1
  1710. package/dist/esm/pos-app-generic.entry.js +1 -1
  1711. package/dist/esm/pos-app-image-viewer.entry.js +1 -1
  1712. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  1713. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  1714. package/dist/esm/pos-container-contents.entry.js +2 -2
  1715. package/dist/esm/pos-container-item.entry.js +1 -1
  1716. package/dist/esm/pos-description_2.entry.js +1 -1
  1717. package/dist/esm/pos-document.entry.js +2 -2
  1718. package/dist/esm/pos-relations_2.entry.js +1 -1
  1719. package/dist/esm/pos-subjects.entry.js +2 -2
  1720. package/dist/esm/pos-value.entry.js +1 -1
  1721. package/dist/esm/{status-tap-ce25f9e5.js → status-tap-9bc89ae6.js} +3 -3
  1722. package/dist/esm/{swipe-back-7ef22876.js → swipe-back-4cf55049.js} +9 -3
  1723. package/dist/types/components/events/PodOsAware.d.ts +9 -0
  1724. package/dist/types/components/events/ResourceAware.d.ts +2 -1
  1725. package/dist/types/components/pos-add-literal-value/pos-add-literal-value.d.ts +19 -0
  1726. package/dist/types/components/pos-document/pos-document.d.ts +1 -1
  1727. package/dist/types/components/pos-image/pos-image.d.ts +1 -1
  1728. package/dist/types/components/pos-login/pos-login.d.ts +1 -1
  1729. package/dist/types/components/pos-resource/pos-resource.d.ts +4 -3
  1730. package/dist/types/components/pos-select-term/pos-select-term.d.ts +19 -0
  1731. package/dist/types/components.d.ts +44 -0
  1732. package/dist/types/stencil-public-runtime.d.ts +20 -0
  1733. package/loader/index.d.ts +9 -0
  1734. package/package.json +6 -6
  1735. package/dist/cjs/index-731691ca.js +0 -48
  1736. package/dist/cjs/ion-input.cjs.entry.js +0 -303
  1737. package/dist/elements/p-12407693.js +0 -1
  1738. package/dist/elements/p-26b70634.entry.js +0 -1
  1739. package/dist/elements/p-29fb59e2.entry.js +0 -1
  1740. package/dist/elements/p-3433bf04.entry.js +0 -1
  1741. package/dist/elements/p-3519e41e.entry.js +0 -1
  1742. package/dist/elements/p-36d4c9a8.js +0 -4
  1743. package/dist/elements/p-3c7fbf5d.entry.js +0 -1
  1744. package/dist/elements/p-58a8cc2a.js +0 -4
  1745. package/dist/elements/p-58e670a1.js +0 -1
  1746. package/dist/elements/p-59680588.entry.js +0 -1
  1747. package/dist/elements/p-68e3e0b0.js +0 -4
  1748. package/dist/elements/p-6a649894.js +0 -116
  1749. package/dist/elements/p-735af4b6.js +0 -7
  1750. package/dist/elements/p-79f98fb0.entry.js +0 -1
  1751. package/dist/elements/p-8596ddbc.js +0 -4
  1752. package/dist/elements/p-a48e16ba.entry.js +0 -1
  1753. package/dist/elements/p-ab11bb11.js +0 -4
  1754. package/dist/elements/p-ae87571c.entry.js +0 -1
  1755. package/dist/elements/p-b40b976f.entry.js +0 -4
  1756. package/dist/elements/p-c16d38d5.js +0 -4
  1757. package/dist/elements/p-c4078429.entry.js +0 -1
  1758. package/dist/elements/p-cab74d27.js +0 -2
  1759. package/dist/elements/p-d0c3f4ee.js +0 -4
  1760. package/dist/elements/p-d1e7b2ac.entry.js +0 -1
  1761. package/dist/elements/p-dabb6346.entry.js +0 -5
  1762. package/dist/elements/p-ddb95f0a.entry.js +0 -1
  1763. package/dist/elements/p-e495a095.js +0 -4
  1764. package/dist/elements/p-ee2a74b4.entry.js +0 -9
  1765. package/dist/elements/p-fb02ad07.entry.js +0 -1
  1766. package/dist/elements/p-ffb33569.entry.js +0 -1
  1767. package/dist/esm/index-753825bf.js +0 -25
  1768. /package/dist/elements/{p-dcc6b03c.js → p-9e07b4a4.js} +0 -0
  1769. /package/dist/elements/{p-aef3a931.js → p-b8b737e9.js} +0 -0
  1770. /package/dist/elements/{p-1beaf6bf.js → p-d40c116c.js} +0 -0
@@ -0,0 +1,32 @@
1
+ var t,e,r,i,o,n,s=Object.create,a=Object.defineProperty,h=Object.defineProperties,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyDescriptors,p=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,m=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable,f=(t,e,r)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,w=(t,e)=>{for(var r in e||={})g.call(e,r)&&f(t,r,e[r]);if(l)for(var r of l(e))d.call(e,r)&&f(t,r,e[r]);return t},v=(t,e)=>h(t,u(e)),y=(t,e)=>function(){return t&&(e=(0,t[p(t)[0]])(t=0)),e},b=(t,e)=>function(){return e||(0,t[p(t)[0]])((e={exports:{}}).exports,e),e.exports},S=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},A=(t,e,r,i)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let o of p(e))g.call(t,o)||o===r||a(t,o,{get:()=>e[o],enumerable:!(i=c(e,o))||i.enumerable});return t},E=(t,e,r)=>(r=null!=t?s(m(t)):{},A(!e&&t&&t.__esModule?r:a(r,"default",{value:t,enumerable:!0}),t)),C=(t,e,r)=>new Promise(((i,o)=>{var n=t=>{try{a(r.next(t))}catch(t){o(t)}},s=t=>{try{a(r.throw(t))}catch(t){o(t)}},a=t=>t.done?i(t.value):Promise.resolve(t.value).then(n,s);a((r=r.apply(t,e)).next())})),P=b({"../node_modules/events/events.js"(t,e){var r,i="object"==typeof Reflect?Reflect:null,o=i&&"function"==typeof i.apply?i.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};r=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var n=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}e.exports=s,e.exports.once=function(t,e){return new Promise((function(r,i){function o(r){t.removeListener(e,n),i(r)}function n(){"function"==typeof t.removeListener&&t.removeListener("error",o),r([].slice.call(arguments))}f(t,e,n,{once:!0}),"error"!==e&&function(t,e){"function"==typeof t.on&&f(t,"error",e,{once:!0})}(t,o)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function h(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function c(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function u(t,e,r,i){var o,n,s;if(h(r),void 0===(n=t._events)?(n=t._events=Object.create(null),t._eventsCount=0):(void 0!==n.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),n=t._events),s=n[e]),void 0===s)s=n[e]=r,++t._eventsCount;else if("function"==typeof s?s=n[e]=i?[r,s]:[s,r]:i?s.unshift(r):s.push(r),(o=c(t))>0&&s.length>o&&!s.warned){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=s.length,console&&console.warn&&console.warn(a)}return t}function p(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function l(t,e,r){var i={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},o=p.bind(i);return o.listener=r,i.wrapFn=o,o}function m(t,e,r){var i=t._events;if(void 0===i)return[];var o=i[e];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(o):d(o,o.length)}function g(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function d(t,e){for(var r=new Array(e),i=0;i<e;++i)r[i]=t[i];return r}function f(t,e,r,i){if("function"==typeof t.on)i.once?t.once(e,r):t.on(e,r);else{if("function"!=typeof t.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof t);t.addEventListener(e,(function o(n){i.once&&t.removeEventListener(e,o),r(n)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");a=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||n(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return c(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var i="error"===t,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){var s;if(e.length>0&&(s=e[0]),s instanceof Error)throw s;var a=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var h=n[t];if(void 0===h)return!1;if("function"==typeof h)o(h,this,e);else{var c=h.length,u=d(h,c);for(r=0;r<c;++r)o(u[r],this,e)}return!0},s.prototype.on=s.prototype.addListener=function(t,e){return u(this,t,e,!1)},s.prototype.prependListener=function(t,e){return u(this,t,e,!0)},s.prototype.once=function(t,e){return h(e),this.on(t,l(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return h(e),this.prependListener(t,l(this,t,e)),this},s.prototype.off=s.prototype.removeListener=function(t,e){var r,i,o,n,s;if(h(e),void 0===(i=this._events))return this;if(void 0===(r=i[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete i[t],i.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(o=-1,n=r.length-1;n>=0;n--)if(r[n]===e||r[n].listener===e){s=r[n].listener,o=n;break}if(o<0)return this;0===o?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,o),1===r.length&&(i[t]=r[0]),void 0!==i.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,r,i;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var o,n=Object.keys(r);for(i=0;i<n.length;++i)"removeListener"!==(o=n[i])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(i=e.length-1;i>=0;i--)this.removeListener(t,e[i]);return this},s.prototype.listeners=function(t){return m(this,t,!0)},s.prototype.rawListeners=function(t){return m(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},s.prototype.listenerCount=g,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}}}),F=b({"../node_modules/cross-fetch/dist/browser-ponyfill.js"(t,e){var r,i="undefined"!=typeof self?self:t,o=function(){function t(){this.fetch=!1,this.DOMException=i.DOMException}return t.prototype=i,new t}();r=o,function(t){var e="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,o="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),n="FormData"in r,s="ArrayBuffer"in r;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function c(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function u(t){return"string"!=typeof t&&(t=String(t)),t}function p(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e}function l(t){this.map={},t instanceof l?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function m(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function g(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function d(t){var e=new FileReader,r=g(e);return e.readAsArrayBuffer(t),r}function f(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function w(){return this.bodyUsed=!1,this._initBody=function(t){var r;this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:o&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:n&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():s&&o&&(r=t)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=f(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(t)||h(t))?this._bodyArrayBuffer=f(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=m(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?m(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(d)}),this.text=function(){var t,e,r,i=m(this);if(i)return i;if(this._bodyBlob)return t=this._bodyBlob,r=g(e=new FileReader),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),i=0;i<e.length;i++)r[i]=String.fromCharCode(e[i]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},n&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}l.prototype.append=function(t,e){t=c(t),e=u(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},l.prototype.delete=function(t){delete this.map[c(t)]},l.prototype.get=function(t){return t=c(t),this.has(t)?this.map[t]:null},l.prototype.has=function(t){return this.map.hasOwnProperty(c(t))},l.prototype.set=function(t,e){this.map[c(t)]=u(e)},l.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},l.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),p(t)},l.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),p(t)},l.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),p(t)},i&&(l.prototype[Symbol.iterator]=l.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var r,i,o=(e=e||{}).body;if(t instanceof y){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new l(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,o||null==t._bodyInit||(o=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new l(e.headers)),this.method=(i=(r=e.method||this.method||"GET").toUpperCase(),v.indexOf(i)>-1?i:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),i=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(o))}})),e}function S(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new l(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},w.call(y.prototype),w.call(S.prototype),S.prototype.clone=function(){return new S(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new l(this.headers),url:this.url})},S.error=function(){var t=new S(null,{status:0,statusText:""});return t.type="error",t};var A=[301,302,303,307,308];S.redirect=function(t,e){if(-1===A.indexOf(e))throw new RangeError("Invalid status code");return new S(null,{status:e,headers:{location:t}})},t.DOMException=r.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function E(e,r){return new Promise((function(i,n){var s=new y(e,r);if(s.signal&&s.signal.aborted)return n(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function h(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new l,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),i=r.shift().trim();if(i){var o=r.join(":").trim();e.append(i,o)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL"),i(new S("response"in a?a.response:a.responseText,r))},a.onerror=function(){n(new TypeError("Network request failed"))},a.ontimeout=function(){n(new TypeError("Network request failed"))},a.onabort=function(){n(new t.DOMException("Aborted","AbortError"))},a.open(s.method,s.url,!0),"include"===s.credentials?a.withCredentials=!0:"omit"===s.credentials&&(a.withCredentials=!1),"responseType"in a&&o&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",h),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",h)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=l,r.Request=y,r.Response=S),t.Headers=l,t.Request=y,t.Response=S,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({}),o.fetch.ponyfill=!0,delete o.fetch.polyfill;var n=o;(t=n.fetch).default=n.fetch,t.fetch=n.fetch,t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response,e.exports=t}}),k=y({"../node_modules/jose/dist/browser/runtime/webcrypto.js"(){t=crypto,e=t=>t instanceof CryptoKey}}),T=y({"../node_modules/jose/dist/browser/runtime/digest.js"(){k(),r=async(e,r)=>{const i=`SHA-${e.slice(-3)}`;return new Uint8Array(await t.subtle.digest(i,r))}}});function R(...t){const e=t.reduce(((t,{length:e})=>t+e),0),r=new Uint8Array(e);let i=0;return t.forEach((t=>{r.set(t,i),i+=t.length})),r}function O(t,e,r){if(e<0||e>=n)throw new RangeError(`value must be >= 0 and <= ${n-1}. Received ${e}`);t.set([e>>>24,e>>>16,e>>>8,255&e],r)}function D(t){const e=Math.floor(t/n),r=t%n,i=new Uint8Array(8);return O(i,e,0),O(i,r,4),i}function M(t){const e=new Uint8Array(4);return O(e,t),e}function I(t){return R(M(t.length),t)}var x,_,N,j,B,U,L,H,W,V,q,G,K,J,z,$,X,Q,Y,Z=y({"../node_modules/jose/dist/browser/lib/buffer_utils.js"(){T(),i=new TextEncoder,o=new TextDecoder,n=2**32}}),tt=y({"../node_modules/jose/dist/browser/runtime/base64url.js"(){Z(),x=t=>{let e=t;"string"==typeof e&&(e=i.encode(e));const r=[];for(let t=0;t<e.length;t+=32768)r.push(String.fromCharCode.apply(null,e.subarray(t,t+32768)));return btoa(r.join(""))},_=t=>x(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),N=t=>{const e=atob(t),r=new Uint8Array(e.length);for(let t=0;t<e.length;t++)r[t]=e.charCodeAt(t);return r},j=t=>{let e=t;e instanceof Uint8Array&&(e=o.decode(e)),e=e.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return N(e)}catch(t){throw new TypeError("The input to be decoded is not correctly encoded.")}}}}),et={};S(et,{JOSEAlgNotAllowed:()=>H,JOSEError:()=>B,JOSENotSupported:()=>W,JWEDecryptionFailed:()=>V,JWEInvalid:()=>q,JWKInvalid:()=>J,JWKSInvalid:()=>z,JWKSMultipleMatchingKeys:()=>X,JWKSNoMatchingKey:()=>$,JWKSTimeout:()=>Q,JWSInvalid:()=>G,JWSSignatureVerificationFailed:()=>Y,JWTClaimValidationFailed:()=>U,JWTExpired:()=>L,JWTInvalid:()=>K});var rt,it,ot=y({"../node_modules/jose/dist/browser/util/errors.js"(){B=class extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(t){var e;super(t),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,null===(e=Error.captureStackTrace)||void 0===e||e.call(Error,this,this.constructor)}},U=class extends B{static get code(){return"ERR_JWT_CLAIM_VALIDATION_FAILED"}constructor(t,e="unspecified",r="unspecified"){super(t),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=e,this.reason=r}},L=class extends B{static get code(){return"ERR_JWT_EXPIRED"}constructor(t,e="unspecified",r="unspecified"){super(t),this.code="ERR_JWT_EXPIRED",this.claim=e,this.reason=r}},H=class extends B{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}},W=class extends B{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}},V=class extends B{constructor(){super(...arguments),this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}},q=class extends B{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}},G=class extends B{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}},K=class extends B{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}},J=class extends B{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}},z=class extends B{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}},$=class extends B{constructor(){super(...arguments),this.code="ERR_JWKS_NO_MATCHING_KEY",this.message="no applicable key found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_NO_MATCHING_KEY"}},X=class extends B{constructor(){super(...arguments),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS",this.message="multiple matching keys found in the JSON Web Key Set"}static get code(){return"ERR_JWKS_MULTIPLE_MATCHING_KEYS"}},Q=class extends B{constructor(){super(...arguments),this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}},Y=class extends B{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}}}),nt=y({"../node_modules/jose/dist/browser/runtime/random.js"(){k(),rt=t.getRandomValues.bind(t)}});function st(t){switch(t){case"A128GCM":case"A128GCMKW":case"A192GCM":case"A192GCMKW":case"A256GCM":case"A256GCMKW":return 96;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return 128;default:throw new W(`Unsupported JWE Algorithm: ${t}`)}}var at,ht,ct,ut=y({"../node_modules/jose/dist/browser/lib/iv.js"(){ot(),nt(),it=t=>rt(new Uint8Array(st(t)>>3))}}),pt=y({"../node_modules/jose/dist/browser/lib/check_iv_length.js"(){ot(),ut(),at=(t,e)=>{if(e.length<<3!==st(t))throw new q("Invalid Initialization Vector length")}}}),lt=y({"../node_modules/jose/dist/browser/runtime/check_cek_length.js"(){ot(),ht=(t,e)=>{const r=t.byteLength<<3;if(r!==e)throw new q(`Invalid Content Encryption Key length. Expected ${e} bits, got ${r} bits`)}}}),mt=y({"../node_modules/jose/dist/browser/runtime/timing_safe_equal.js"(){ct=(t,e)=>{if(!(t instanceof Uint8Array))throw new TypeError("First argument must be a buffer");if(!(e instanceof Uint8Array))throw new TypeError("Second argument must be a buffer");if(t.length!==e.length)throw new TypeError("Input buffers must have the same length");const r=t.length;let i=0,o=-1;for(;++o<r;)i|=t[o]^e[o];return 0===i}}});function gt(){return"undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime}var dt=y({"../node_modules/jose/dist/browser/runtime/env.js"(){}});function ft(t,e="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${e} must be ${t}`)}function wt(t,e){return t.name===e}function vt(t){return parseInt(t.name.slice(4),10)}function yt(t,e){if(e.length&&!e.some((e=>t.usages.includes(e)))){let t="CryptoKey does not support this operation, its usages must include ";if(e.length>2){const r=e.pop();t+=`one of ${e.join(", ")}, or ${r}.`}else t+=2===e.length?`one of ${e[0]} or ${e[1]}.`:`${e[0]}.`;throw new TypeError(t)}}function bt(t,e,...r){switch(e){case"A128GCM":case"A192GCM":case"A256GCM":{if(!wt(t.algorithm,"AES-GCM"))throw ft("AES-GCM");const r=parseInt(e.slice(1,4),10);if(t.algorithm.length!==r)throw ft(r,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!wt(t.algorithm,"AES-KW"))throw ft("AES-KW");const r=parseInt(e.slice(1,4),10);if(t.algorithm.length!==r)throw ft(r,"algorithm.length");break}case"ECDH":switch(t.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw ft("ECDH, X25519, or X448")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!wt(t.algorithm,"PBKDF2"))throw ft("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!wt(t.algorithm,"RSA-OAEP"))throw ft("RSA-OAEP");const r=parseInt(e.slice(9),10)||1;if(vt(t.algorithm.hash)!==r)throw ft(`SHA-${r}`,"algorithm.hash");break}default:throw new TypeError("CryptoKey does not support this operation")}yt(t,r)}var St,At=y({"../node_modules/jose/dist/browser/lib/crypto_key.js"(){dt()}});function Et(t,e,...r){if(r.length>2){const e=r.pop();t+=`one of type ${r.join(", ")}, or ${e}.`}else t+=2===r.length?`one of type ${r[0]} or ${r[1]}.`:`of type ${r[0]}.`;return null==e?t+=` Received ${e}`:"function"==typeof e&&e.name?t+=` Received function ${e.name}`:"object"==typeof e&&null!=e&&e.constructor&&e.constructor.name&&(t+=` Received an instance of ${e.constructor.name}`),t}function Ct(t,e,...r){return Et(`Key for the ${t} algorithm must be `,e,...r)}var Pt,Ft,kt,Tt,Rt,Ot,Dt=y({"../node_modules/jose/dist/browser/lib/invalid_key_input.js"(){St=(t,...e)=>Et("Key must be ",t,...e)}}),Mt=y({"../node_modules/jose/dist/browser/runtime/is_key_like.js"(){k(),Pt=t=>e(t),Ft=["CryptoKey"]}}),It=y({"../node_modules/jose/dist/browser/runtime/decrypt.js"(){Z(),pt(),lt(),mt(),ot(),k(),At(),Dt(),Mt(),kt=async(r,i,o,n,s,a)=>{if(!(e(i)||i instanceof Uint8Array))throw new TypeError(St(i,...Ft,"Uint8Array"));switch(at(r,n),r){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return i instanceof Uint8Array&&ht(i,parseInt(r.slice(-3),10)),async function(e,r,i,o,n,s){if(!(r instanceof Uint8Array))throw new TypeError(St(r,"Uint8Array"));const a=parseInt(e.slice(1,4),10),h=await t.subtle.importKey("raw",r.subarray(a>>3),"AES-CBC",!1,["decrypt"]),c=await t.subtle.importKey("raw",r.subarray(0,a>>3),{hash:"SHA-"+(a<<1),name:"HMAC"},!1,["sign"]),u=R(s,o,i,D(s.length<<3)),p=new Uint8Array((await t.subtle.sign("HMAC",c,u)).slice(0,a>>3));let l,m;try{l=ct(n,p)}catch(t){}if(!l)throw new V;try{m=new Uint8Array(await t.subtle.decrypt({iv:o,name:"AES-CBC"},h,i))}catch(t){}if(!m)throw new V;return m}(r,i,o,n,s,a);case"A128GCM":case"A192GCM":case"A256GCM":return i instanceof Uint8Array&&ht(i,parseInt(r.slice(1,4),10)),async function(e,r,i,o,n,s){let a;r instanceof Uint8Array?a=await t.subtle.importKey("raw",r,"AES-GCM",!1,["decrypt"]):(bt(r,e,"decrypt"),a=r);try{return new Uint8Array(await t.subtle.decrypt({additionalData:s,iv:o,name:"AES-GCM",tagLength:128},a,R(i,n)))}catch(t){throw new V}}(r,i,o,n,s,a);default:throw new W("Unsupported JWE Content Encryption Algorithm")}}}}),xt=y({"../node_modules/jose/dist/browser/runtime/zlib.js"(){ot(),Tt=async()=>{throw new W('JWE "zip" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `inflateRaw` decrypt option to provide Inflate Raw implementation.')},Rt=async()=>{throw new W('JWE "zip" (Compression Algorithm) Header Parameter is not supported by your javascript runtime. You need to use the `deflateRaw` encrypt option to provide Deflate Raw implementation.')}}}),_t=y({"../node_modules/jose/dist/browser/lib/is_disjoint.js"(){Ot=(...t)=>{const e=t.filter(Boolean);if(0===e.length||1===e.length)return!0;let r;for(const t of e){const e=Object.keys(t);if(r&&0!==r.size)for(const t of e){if(r.has(t))return!1;r.add(t)}else r=new Set(e)}return!0}}});function Nt(t){if("object"!=typeof(e=t)||null===e||"[object Object]"!==Object.prototype.toString.call(t))return!1;var e;if(null===Object.getPrototypeOf(t))return!0;let r=t;for(;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(t)===r}var jt,Bt,Ut,Lt=y({"../node_modules/jose/dist/browser/lib/is_object.js"(){}}),Ht=y({"../node_modules/jose/dist/browser/runtime/bogus.js"(){jt=[{hash:"SHA-256",name:"HMAC"},!0,["sign"]]}});function Wt(t,e){if(t.algorithm.length!==parseInt(e.slice(1,4),10))throw new TypeError(`Invalid key size for alg: ${e}`)}function Vt(r,i,o){if(e(r))return bt(r,i,o),r;if(r instanceof Uint8Array)return t.subtle.importKey("raw",r,"AES-KW",!0,[o]);throw new TypeError(St(r,...Ft,"Uint8Array"))}var qt=y({"../node_modules/jose/dist/browser/runtime/aeskw.js"(){Ht(),k(),At(),Dt(),Mt(),Bt=async(e,r,i)=>{const o=await Vt(r,e,"wrapKey");Wt(o,e);const n=await t.subtle.importKey("raw",i,...jt);return new Uint8Array(await t.subtle.wrapKey("raw",n,o,"AES-KW"))},Ut=async(e,r,i)=>{const o=await Vt(r,e,"unwrapKey");Wt(o,e);const n=await t.subtle.unwrapKey("raw",i,o,"AES-KW",...jt);return new Uint8Array(await t.subtle.exportKey("raw",n))}}});async function Gt(o,n,s,a,h=new Uint8Array(0),c=new Uint8Array(0)){if(!e(o))throw new TypeError(St(o,...Ft));if(bt(o,"ECDH"),!e(n))throw new TypeError(St(n,...Ft));bt(n,"ECDH","deriveBits");const u=R(I(i.encode(s)),I(h),I(c),M(a));let p;return p="X25519"===o.algorithm.name?256:"X448"===o.algorithm.name?448:Math.ceil(parseInt(o.algorithm.namedCurve.substr(-3),10)/8)<<3,async function(t,e,i){const o=Math.ceil((e>>3)/32),n=new Uint8Array(32*o);for(let e=0;e<o;e++){const o=new Uint8Array(4+t.length+i.length);o.set(M(e+1)),o.set(t,4),o.set(i,4+t.length),n.set(await r("sha256",o),32*e)}return n.slice(0,e>>3)}(new Uint8Array(await t.subtle.deriveBits({name:o.algorithm.name,public:o},n,p)),a,u)}function Kt(t){if(!e(t))throw new TypeError(St(t,...Ft));return["P-256","P-384","P-521"].includes(t.algorithm.namedCurve)||"X25519"===t.algorithm.name||"X448"===t.algorithm.name}var Jt,zt,$t=y({"../node_modules/jose/dist/browser/runtime/ecdhes.js"(){Z(),k(),At(),Dt(),Mt()}}),Xt=y({"../node_modules/jose/dist/browser/lib/check_p2s.js"(){ot()}});async function Qt(r,o,n,s){!function(t){if(!(t instanceof Uint8Array)||t.length<8)throw new q("PBES2 Salt Input must be 8 or more octets")}(r);const a=function(t,e){return R(i.encode(t),new Uint8Array([0]),e)}(o,r),h=parseInt(o.slice(13,16),10),c={hash:`SHA-${o.slice(8,11)}`,iterations:n,name:"PBKDF2",salt:a},u={length:h,name:"AES-KW"},p=await function(r,i){if(r instanceof Uint8Array)return t.subtle.importKey("raw",r,"PBKDF2",!1,["deriveBits"]);if(e(r))return bt(r,i,"deriveBits","deriveKey"),r;throw new TypeError(St(r,...Ft,"Uint8Array"))}(s,o);if(p.usages.includes("deriveBits"))return new Uint8Array(await t.subtle.deriveBits(c,p,h));if(p.usages.includes("deriveKey"))return t.subtle.deriveKey(c,p,u,!1,["wrapKey","unwrapKey"]);throw new TypeError('PBKDF2 key "usages" must include "deriveBits" or "deriveKey"')}var Yt=y({"../node_modules/jose/dist/browser/runtime/pbes2kw.js"(){nt(),Z(),tt(),qt(),Xt(),k(),At(),Dt(),Mt(),Jt=async(t,e,r,i=2048,o=rt(new Uint8Array(16)))=>{const n=await Qt(o,t,i,e);return{encryptedKey:await Bt(t.slice(-6),n,r),p2c:i,p2s:_(o)}},zt=async(t,e,r,i,o)=>{const n=await Qt(o,t,i,e);return Ut(t.slice(-6),n,r)}}});function Zt(t){switch(t){case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":return"RSA-OAEP";default:throw new W(`alg ${t} is not supported either by JOSE or your javascript runtime`)}}var te,ee,re,ie,oe=y({"../node_modules/jose/dist/browser/runtime/subtle_rsaes.js"(){ot()}}),ne=y({"../node_modules/jose/dist/browser/runtime/check_key_length.js"(){te=(t,e)=>{if(t.startsWith("RS")||t.startsWith("PS")){const{modulusLength:r}=e.algorithm;if("number"!=typeof r||r<2048)throw new TypeError(`${t} requires key modulusLength to be 2048 bits or larger`)}}}}),se=y({"../node_modules/jose/dist/browser/runtime/rsaes.js"(){oe(),Ht(),k(),At(),ne(),Dt(),Mt(),ee=async(r,i,o)=>{if(!e(i))throw new TypeError(St(i,...Ft));if(bt(i,r,"encrypt","wrapKey"),te(r,i),i.usages.includes("encrypt"))return new Uint8Array(await t.subtle.encrypt(Zt(r),i,o));if(i.usages.includes("wrapKey")){const e=await t.subtle.importKey("raw",o,...jt);return new Uint8Array(await t.subtle.wrapKey("raw",e,i,Zt(r)))}throw new TypeError('RSA-OAEP key "usages" must include "encrypt" or "wrapKey" for this operation')},re=async(r,i,o)=>{if(!e(i))throw new TypeError(St(i,...Ft));if(bt(i,r,"decrypt","unwrapKey"),te(r,i),i.usages.includes("decrypt"))return new Uint8Array(await t.subtle.decrypt(Zt(r),i,o));if(i.usages.includes("unwrapKey")){const e=await t.subtle.unwrapKey("raw",o,i,Zt(r),...jt);return new Uint8Array(await t.subtle.exportKey("raw",e))}throw new TypeError('RSA-OAEP key "usages" must include "decrypt" or "unwrapKey" for this operation')}}});function ae(t){switch(t){case"A128GCM":return 128;case"A192GCM":return 192;case"A256GCM":case"A128CBC-HS256":return 256;case"A192CBC-HS384":return 384;case"A256CBC-HS512":return 512;default:throw new W(`Unsupported JWE Algorithm: ${t}`)}}var he,ce,ue,pe,le,me,ge,de,fe,we,ve=y({"../node_modules/jose/dist/browser/lib/cek.js"(){ot(),nt(),ie=t=>rt(new Uint8Array(ae(t)>>3))}}),ye=y({"../node_modules/jose/dist/browser/lib/format_pem.js"(){he=(t,e)=>`-----BEGIN ${e}-----\n${(t.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${e}-----`}}),be=y({"../node_modules/jose/dist/browser/runtime/asn1.js"(){dt(),k(),Dt(),tt(),ye(),ot(),Mt(),ce=async(r,i,o)=>{if(!e(o))throw new TypeError(St(o,...Ft));if(!o.extractable)throw new TypeError("CryptoKey is not extractable");if(o.type!==r)throw new TypeError(`key is not a ${r} key`);return he(x(new Uint8Array(await t.subtle.exportKey(i,o))),`${r.toUpperCase()} KEY`)},ue=t=>ce("public","spki",t),pe=t=>ce("private","pkcs8",t),le=(t,e,r=0)=>{0===r&&(e.unshift(e.length),e.unshift(6));let i=t.indexOf(e[0],r);if(-1===i)return!1;const o=t.subarray(i,i+e.length);return o.length===e.length&&(o.every(((t,r)=>t===e[r]))||le(t,e,i+1))},me=t=>{switch(!0){case le(t,[42,134,72,206,61,3,1,7]):return"P-256";case le(t,[43,129,4,0,34]):return"P-384";case le(t,[43,129,4,0,35]):return"P-521";case le(t,[43,101,110]):return"X25519";case le(t,[43,101,111]):return"X448";case le(t,[43,101,112]):return"Ed25519";case le(t,[43,101,113]):return"Ed448";default:throw new W("Invalid or unsupported EC Key Curve or OKP Key Sub Type")}},ge=async(e,r,i,o,n)=>{var s,a;let h,c;const u=new Uint8Array(atob(i.replace(e,"")).split("").map((t=>t.charCodeAt(0)))),p="spki"===r;switch(o){case"PS256":case"PS384":case"PS512":h={name:"RSA-PSS",hash:`SHA-${o.slice(-3)}`},c=p?["verify"]:["sign"];break;case"RS256":case"RS384":case"RS512":h={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${o.slice(-3)}`},c=p?["verify"]:["sign"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":h={name:"RSA-OAEP",hash:`SHA-${parseInt(o.slice(-3),10)||1}`},c=p?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":h={name:"ECDSA",namedCurve:"P-256"},c=p?["verify"]:["sign"];break;case"ES384":h={name:"ECDSA",namedCurve:"P-384"},c=p?["verify"]:["sign"];break;case"ES512":h={name:"ECDSA",namedCurve:"P-521"},c=p?["verify"]:["sign"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{const t=me(u);h=t.startsWith("P-")?{name:"ECDH",namedCurve:t}:{name:t},c=p?[]:["deriveBits"];break}case"EdDSA":h={name:me(u)},c=p?["verify"]:["sign"];break;default:throw new W('Invalid or unsupported "alg" (Algorithm) value')}try{return await t.subtle.importKey(r,u,h,null!==(s=null==n?void 0:n.extractable)&&void 0!==s&&s,c)}catch(e){if("Ed25519"===h.name&&"NotSupportedError"===(null==e?void 0:e.name)&&gt())return h={name:"NODE-ED25519",namedCurve:"NODE-ED25519"},await t.subtle.importKey(r,u,h,null!==(a=null==n?void 0:n.extractable)&&void 0!==a&&a,c);throw e}},de=(t,e,r)=>ge(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"pkcs8",t,e,r),fe=(t,e,r)=>ge(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,"spki",t,e,r)}}),Se=y({"../node_modules/jose/dist/browser/runtime/jwk_to_key.js"(){dt(),k(),ot(),tt(),we=async e=>{var r,i;const{algorithm:o,keyUsages:n}=function(t){let e,r;switch(t.kty){case"oct":switch(t.alg){case"HS256":case"HS384":case"HS512":e={name:"HMAC",hash:`SHA-${t.alg.slice(-3)}`},r=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":throw new W(`${t.alg} keys cannot be imported as CryptoKey instances`);case"A128GCM":case"A192GCM":case"A256GCM":case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":e={name:"AES-GCM"},r=["encrypt","decrypt"];break;case"A128KW":case"A192KW":case"A256KW":e={name:"AES-KW"},r=["wrapKey","unwrapKey"];break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":e={name:"PBKDF2"},r=["deriveBits"];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"RSA":switch(t.alg){case"PS256":case"PS384":case"PS512":e={name:"RSA-PSS",hash:`SHA-${t.alg.slice(-3)}`},r=t.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":e={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${t.alg.slice(-3)}`},r=t.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":e={name:"RSA-OAEP",hash:`SHA-${parseInt(t.alg.slice(-3),10)||1}`},r=t.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"EC":switch(t.alg){case"ES256":e={name:"ECDSA",namedCurve:"P-256"},r=t.d?["sign"]:["verify"];break;case"ES384":e={name:"ECDSA",namedCurve:"P-384"},r=t.d?["sign"]:["verify"];break;case"ES512":e={name:"ECDSA",namedCurve:"P-521"},r=t.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":e={name:"ECDH",namedCurve:t.crv},r=t.d?["deriveBits"]:[];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;case"OKP":switch(t.alg){case"EdDSA":e={name:t.crv},r=t.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":e={name:t.crv},r=t.d?["deriveBits"]:[];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break;default:throw new W('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:e,keyUsages:r}}(e),s=[o,null!==(r=e.ext)&&void 0!==r&&r,null!==(i=e.key_ops)&&void 0!==i?i:n];if("PBKDF2"===o.name)return t.subtle.importKey("raw",j(e.k),...s);const a={...e};delete a.alg,delete a.use;try{return await t.subtle.importKey("jwk",a,...s)}catch(e){if("Ed25519"===o.name&&"NotSupportedError"===(null==e?void 0:e.name)&&gt())return s[0]={name:"NODE-ED25519",namedCurve:"NODE-ED25519"},await t.subtle.importKey("jwk",a,...s);throw e}}}});function Ae(t){let e=[],r=0;for(;r<t.length;){let i=Ee(t.subarray(r));e.push(i),r+=i.byteLength}return e}function Ee(t){let e=0,r=31&t[0];if(e++,31===r){for(r=0;t[e]>=128;)r=128*r+t[e]-128,e++;r=128*r+t[e]-128,e++}let i=0;if(t[e]<128)i=t[e],e++;else{if(128===i){for(i=0;0!==t[e+i]||0!==t[e+i+1];){if(i>t.byteLength)throw new TypeError("invalid indefinite form length");i++}const r=e+i+2;return{byteLength:r,contents:t.subarray(e,e+i),raw:t.subarray(0,r)}}{let r=127&t[e];e++,i=0;for(let o=0;o<r;o++)i=256*i+t[e],e++}}const o=e+i;return{byteLength:o,contents:t.subarray(e,o),raw:t.subarray(0,o)}}async function Ce(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return fe(t,e,r)}async function Pe(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');let i;try{i=function(t){const e=t.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,""),r=N(e);return he(function(t){const e=Ae(Ae(Ee(t).contents)[0].contents);return x(e[160===e[0].raw[0]?6:5].raw)}(r),"PUBLIC KEY")}(t)}catch(t){throw new TypeError("failed to parse the X.509 certificate",{cause:t})}return fe(i,e,r)}async function Fe(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return de(t,e,r)}async function ke(t,e,r){var i;if(!Nt(t))throw new TypeError("JWK must be an object");if(e||(e=t.alg),"string"!=typeof e||!e)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');switch(t.kty){case"oct":if("string"!=typeof t.k||!t.k)throw new TypeError('missing "k" (Key Value) Parameter value');return null!=r||(r=!0!==t.ext),r?we({...t,alg:e,ext:null!==(i=t.ext)&&void 0!==i&&i}):j(t.k);case"RSA":if(void 0!==t.oth)throw new W('RSA JWK "oth" (Other Primes Info) Parameter value is not supported');case"EC":case"OKP":return we({...t,alg:e});default:throw new W('Unsupported "kty" (Key Type) Parameter value')}}var Te,Re,Oe,De,Me,Ie=y({"../node_modules/jose/dist/browser/key/import.js"(){tt(),be(),be(),Se(),ot(),ye(),Lt()}}),xe=y({"../node_modules/jose/dist/browser/lib/check_key_type.js"(){Dt(),Mt(),Te=(t,e)=>{if(!(e instanceof Uint8Array)){if(!Pt(e))throw new TypeError(Ct(t,e,...Ft,"Uint8Array"));if("secret"!==e.type)throw new TypeError(`${Ft.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}},Re=(t,e,r)=>{if(!Pt(e))throw new TypeError(Ct(t,e,...Ft));if("secret"===e.type)throw new TypeError(`${Ft.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===r&&"public"===e.type)throw new TypeError(`${Ft.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===r&&"public"===e.type)throw new TypeError(`${Ft.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(e.algorithm&&"verify"===r&&"private"===e.type)throw new TypeError(`${Ft.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(e.algorithm&&"encrypt"===r&&"private"===e.type)throw new TypeError(`${Ft.join(" or ")} instances for asymmetric algorithm encryption must be of type "public"`)},Oe=(t,e,r)=>{t.startsWith("HS")||"dir"===t||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t)?Te(t,e):Re(t,e,r)}}}),_e=y({"../node_modules/jose/dist/browser/runtime/encrypt.js"(){Z(),pt(),lt(),k(),At(),Dt(),ot(),Mt(),De=async(r,i,o,n,s)=>{if(!(e(o)||o instanceof Uint8Array))throw new TypeError(St(o,...Ft,"Uint8Array"));switch(at(r,n),r){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return o instanceof Uint8Array&&ht(o,parseInt(r.slice(-3),10)),async function(e,r,i,o,n){if(!(i instanceof Uint8Array))throw new TypeError(St(i,"Uint8Array"));const s=parseInt(e.slice(1,4),10),a=await t.subtle.importKey("raw",i.subarray(s>>3),"AES-CBC",!1,["encrypt"]),h=await t.subtle.importKey("raw",i.subarray(0,s>>3),{hash:"SHA-"+(s<<1),name:"HMAC"},!1,["sign"]),c=new Uint8Array(await t.subtle.encrypt({iv:o,name:"AES-CBC"},a,r)),u=R(n,o,c,D(n.length<<3));return{ciphertext:c,tag:new Uint8Array((await t.subtle.sign("HMAC",h,u)).slice(0,s>>3))}}(r,i,o,n,s);case"A128GCM":case"A192GCM":case"A256GCM":return o instanceof Uint8Array&&ht(o,parseInt(r.slice(1,4),10)),async function(e,r,i,o,n){let s;i instanceof Uint8Array?s=await t.subtle.importKey("raw",i,"AES-GCM",!1,["encrypt"]):(bt(i,e,"encrypt"),s=i);const a=new Uint8Array(await t.subtle.encrypt({additionalData:n,iv:o,name:"AES-GCM",tagLength:128},s,r)),h=a.slice(-16);return{ciphertext:a.slice(0,-16),tag:h}}(r,i,o,n,s);default:throw new W("Unsupported JWE Content Encryption Algorithm")}}}}),Ne=y({"../node_modules/jose/dist/browser/lib/aesgcmkw.js"(){_e(),It(),ut(),tt()}});async function je(t,e,r,i,o){switch(Oe(t,e,"decrypt"),t){case"dir":if(void 0!==r)throw new q("Encountered unexpected JWE Encrypted Key");return e;case"ECDH-ES":if(void 0!==r)throw new q("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Nt(i.epk))throw new q('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!Kt(e))throw new W("ECDH with the provided key is not allowed or not supported by your javascript runtime");const o=await ke(i.epk,t);let n,s;if(void 0!==i.apu){if("string"!=typeof i.apu)throw new q('JOSE Header "apu" (Agreement PartyUInfo) invalid');n=j(i.apu)}if(void 0!==i.apv){if("string"!=typeof i.apv)throw new q('JOSE Header "apv" (Agreement PartyVInfo) invalid');s=j(i.apv)}const a=await Gt(o,e,"ECDH-ES"===t?i.enc:t,"ECDH-ES"===t?ae(i.enc):parseInt(t.slice(-5,-2),10),n,s);if("ECDH-ES"===t)return a;if(void 0===r)throw new q("JWE Encrypted Key missing");return Ut(t.slice(-6),a,r)}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":if(void 0===r)throw new q("JWE Encrypted Key missing");return re(t,e,r);case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(void 0===r)throw new q("JWE Encrypted Key missing");if("number"!=typeof i.p2c)throw new q('JOSE Header "p2c" (PBES2 Count) missing or invalid');if(i.p2c>((null==o?void 0:o.maxPBES2Count)||1e4))throw new q('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof i.p2s)throw new q('JOSE Header "p2s" (PBES2 Salt) missing or invalid');return zt(t,e,r,i.p2c,j(i.p2s));case"A128KW":case"A192KW":case"A256KW":if(void 0===r)throw new q("JWE Encrypted Key missing");return Ut(t,e,r);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":if(void 0===r)throw new q("JWE Encrypted Key missing");if("string"!=typeof i.iv)throw new q('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof i.tag)throw new q('JOSE Header "tag" (Authentication Tag) missing or invalid');return async function(t,e,r,i,o){const n=t.slice(0,7);return kt(n,e,r,i,o,new Uint8Array(0))}(t,e,r,j(i.iv),j(i.tag));default:throw new W('Invalid or unsupported "alg" (JWE Algorithm) header value')}}var Be,Ue=y({"../node_modules/jose/dist/browser/lib/decrypt_key_management.js"(){qt(),$t(),Yt(),se(),tt(),ot(),ve(),Ie(),xe(),Lt(),Ne(),Me=je}});function Le(t,e,r,i,o){if(void 0!==o.crit&&void 0===i.crit)throw new t('"crit" (Critical) Header Parameter MUST be integrity protected');if(!i||void 0===i.crit)return new Set;if(!Array.isArray(i.crit)||0===i.crit.length||i.crit.some((t=>"string"!=typeof t||0===t.length)))throw new t('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present');let n;n=void 0!==r?new Map([...Object.entries(r),...e.entries()]):e;for(const e of i.crit){if(!n.has(e))throw new W(`Extension Header Parameter "${e}" is not recognized`);if(void 0===o[e])throw new t(`Extension Header Parameter "${e}" is missing`);if(n.get(e)&&void 0===i[e])throw new t(`Extension Header Parameter "${e}" MUST be integrity protected`)}return new Set(i.crit)}var He,We=y({"../node_modules/jose/dist/browser/lib/validate_crit.js"(){ot(),Be=Le}}),Ve=y({"../node_modules/jose/dist/browser/lib/validate_algorithms.js"(){He=(t,e)=>{if(void 0!==e&&(!Array.isArray(e)||e.some((t=>"string"!=typeof t))))throw new TypeError(`"${t}" option must be an array of strings`);if(e)return new Set(e)}}});async function qe(t,e,r){var n;if(!Nt(t))throw new q("Flattened JWE must be an object");if(void 0===t.protected&&void 0===t.header&&void 0===t.unprotected)throw new q("JOSE Header missing");if("string"!=typeof t.iv)throw new q("JWE Initialization Vector missing or incorrect type");if("string"!=typeof t.ciphertext)throw new q("JWE Ciphertext missing or incorrect type");if("string"!=typeof t.tag)throw new q("JWE Authentication Tag missing or incorrect type");if(void 0!==t.protected&&"string"!=typeof t.protected)throw new q("JWE Protected Header incorrect type");if(void 0!==t.encrypted_key&&"string"!=typeof t.encrypted_key)throw new q("JWE Encrypted Key incorrect type");if(void 0!==t.aad&&"string"!=typeof t.aad)throw new q("JWE AAD incorrect type");if(void 0!==t.header&&!Nt(t.header))throw new q("JWE Shared Unprotected Header incorrect type");if(void 0!==t.unprotected&&!Nt(t.unprotected))throw new q("JWE Per-Recipient Unprotected Header incorrect type");let s;if(t.protected)try{const e=j(t.protected);s=JSON.parse(o.decode(e))}catch(t){throw new q("JWE Protected Header is invalid")}if(!Ot(s,t.header,t.unprotected))throw new q("JWE Protected, JWE Unprotected Header, and JWE Per-Recipient Unprotected Header Parameter names must be disjoint");const a={...s,...t.header,...t.unprotected};if(Be(q,new Map,null==r?void 0:r.crit,s,a),void 0!==a.zip){if(!s||!s.zip)throw new q('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if("DEF"!==a.zip)throw new W('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}const{alg:h,enc:c}=a;if("string"!=typeof h||!h)throw new q("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof c||!c)throw new q("missing JWE Encryption Algorithm (enc) in JWE Header");const u=r&&He("keyManagementAlgorithms",r.keyManagementAlgorithms),p=r&&He("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(u&&!u.has(h))throw new H('"alg" (Algorithm) Header Parameter not allowed');if(p&&!p.has(c))throw new H('"enc" (Encryption Algorithm) Header Parameter not allowed');let l;void 0!==t.encrypted_key&&(l=j(t.encrypted_key));let m,g=!1;"function"==typeof e&&(e=await e(s,t),g=!0);try{m=await Me(h,e,l,a,r)}catch(t){if(t instanceof TypeError||t instanceof q||t instanceof W)throw t;m=ie(c)}const d=j(t.iv),f=j(t.tag),w=i.encode(null!==(n=t.protected)&&void 0!==n?n:"");let v;v=void 0!==t.aad?R(w,i.encode("."),i.encode(t.aad)):w;let y=await kt(c,m,j(t.ciphertext),d,f,v);"DEF"===a.zip&&(y=await((null==r?void 0:r.inflateRaw)||Tt)(y));const b={plaintext:y};return void 0!==t.protected&&(b.protectedHeader=s),void 0!==t.aad&&(b.additionalAuthenticatedData=j(t.aad)),void 0!==t.unprotected&&(b.sharedUnprotectedHeader=t.unprotected),void 0!==t.header&&(b.unprotectedHeader=t.header),g?{...b,key:e}:b}var Ge=y({"../node_modules/jose/dist/browser/jwe/flattened/decrypt.js"(){tt(),It(),xt(),ot(),_t(),Lt(),Ue(),Z(),ve(),We(),Ve()}});async function Ke(t,e,r){if(t instanceof Uint8Array&&(t=o.decode(t)),"string"!=typeof t)throw new q("Compact JWE must be a string or Uint8Array");const{0:i,1:n,2:s,3:a,4:h,length:c}=t.split(".");if(5!==c)throw new q("Invalid Compact JWE");const u=await qe({ciphertext:a,iv:s||void 0,protected:i||void 0,tag:h||void 0,encrypted_key:n||void 0},e,r),p={plaintext:u.plaintext,protectedHeader:u.protectedHeader};return"function"==typeof e?{...p,key:u.key}:p}var Je=y({"../node_modules/jose/dist/browser/jwe/compact/decrypt.js"(){Ge(),ot(),Z()}});async function ze(t,e,r){if(!Nt(t))throw new q("General JWE must be an object");if(!Array.isArray(t.recipients)||!t.recipients.every(Nt))throw new q("JWE Recipients missing or incorrect type");if(!t.recipients.length)throw new q("JWE Recipients has no members");for(const i of t.recipients)try{return await qe({aad:t.aad,ciphertext:t.ciphertext,encrypted_key:i.encrypted_key,header:i.header,iv:t.iv,protected:t.protected,tag:t.tag,unprotected:t.unprotected},e,r)}catch(t){}throw new V}var $e,Xe=y({"../node_modules/jose/dist/browser/jwe/general/decrypt.js"(){Ge(),ot(),Lt()}}),Qe=y({"../node_modules/jose/dist/browser/runtime/key_to_jwk.js"(){k(),Dt(),tt(),Mt(),$e=async r=>{if(r instanceof Uint8Array)return{kty:"oct",k:_(r)};if(!e(r))throw new TypeError(St(r,...Ft,"Uint8Array"));if(!r.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:i,key_ops:o,alg:n,use:s,...a}=await t.subtle.exportKey("jwk",r);return a}}});async function Ye(t){return ue(t)}async function Ze(t){return pe(t)}async function tr(t){return $e(t)}var er,rr=y({"../node_modules/jose/dist/browser/key/export.js"(){be(),be(),Qe()}});async function ir(r,i,o,n,s={}){let a,h,c;switch(Oe(r,o,"encrypt"),r){case"dir":c=o;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Kt(o))throw new W("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:u,apv:p}=s;let{epk:l}=s;l||(l=(await async function(r){if(!e(r))throw new TypeError(St(r,...Ft));return t.subtle.generateKey(r.algorithm,!0,["deriveBits"])}(o)).privateKey);const{x:m,y:g,crv:d,kty:f}=await tr(l),w=await Gt(o,l,"ECDH-ES"===r?i:r,"ECDH-ES"===r?ae(i):parseInt(r.slice(-5,-2),10),u,p);if(h={epk:{x:m,crv:d,kty:f}},"EC"===f&&(h.epk.y=g),u&&(h.apu=_(u)),p&&(h.apv=_(p)),"ECDH-ES"===r){c=w;break}c=n||ie(i);const v=r.slice(-6);a=await Bt(v,w,c);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":c=n||ie(i),a=await ee(r,o,c);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{c=n||ie(i);const{p2c:t,p2s:e}=s;({encryptedKey:a,...h}=await Jt(r,o,c,t,e));break}case"A128KW":case"A192KW":case"A256KW":c=n||ie(i),a=await Bt(r,o,c);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{c=n||ie(i);const{iv:t}=s;({encryptedKey:a,...h}=await async function(t,e,r,i){const o=t.slice(0,7);i||(i=it(o));const{ciphertext:n,tag:s}=await De(o,r,e,i,new Uint8Array(0));return{encryptedKey:n,iv:_(i),tag:_(s)}}(r,o,c,t));break}default:throw new W('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:c,encryptedKey:a,parameters:h}}var or,nr,sr,ar,hr=y({"../node_modules/jose/dist/browser/lib/encrypt_key_management.js"(){qt(),$t(),Yt(),se(),tt(),ve(),ot(),rr(),xe(),Ne(),er=ir}}),cr=y({"../node_modules/jose/dist/browser/jwe/flattened/encrypt.js"(){tt(),_e(),xt(),ut(),hr(),ot(),_t(),Z(),We(),or=Symbol(),nr=class{constructor(t){if(!(t instanceof Uint8Array))throw new TypeError("plaintext must be an instance of Uint8Array");this._plaintext=t}setKeyManagementParameters(t){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=t,this}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setSharedUnprotectedHeader(t){if(this._sharedUnprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._sharedUnprotectedHeader=t,this}setUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}setAdditionalAuthenticatedData(t){return this._aad=t,this}setContentEncryptionKey(t){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=t,this}setInitializationVector(t){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=t,this}async encrypt(t,e){if(!this._protectedHeader&&!this._unprotectedHeader&&!this._sharedUnprotectedHeader)throw new q("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!Ot(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new q("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader,...this._sharedUnprotectedHeader};if(Be(q,new Map,null==e?void 0:e.crit,this._protectedHeader,r),void 0!==r.zip){if(!this._protectedHeader||!this._protectedHeader.zip)throw new q('JWE "zip" (Compression Algorithm) Header MUST be integrity protected');if("DEF"!==r.zip)throw new W('Unsupported JWE "zip" (Compression Algorithm) Header Parameter value')}const{alg:n,enc:s}=r;if("string"!=typeof n||!n)throw new q('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof s||!s)throw new q('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let a,h,c,u,p,l,m;if("dir"===n){if(this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if("ECDH-ES"===n&&this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement");{let r;({cek:h,encryptedKey:a,parameters:r}=await er(n,s,t,this._cek,this._keyManagementParameters)),r&&(e&&or in e?this._unprotectedHeader?this._unprotectedHeader={...this._unprotectedHeader,...r}:this.setUnprotectedHeader(r):this._protectedHeader?this._protectedHeader={...this._protectedHeader,...r}:this.setProtectedHeader(r))}if(this._iv||(this._iv=it(s)),u=i.encode(this._protectedHeader?_(JSON.stringify(this._protectedHeader)):""),this._aad?(p=_(this._aad),c=R(u,i.encode("."),i.encode(p))):c=u,"DEF"===r.zip){const t=await((null==e?void 0:e.deflateRaw)||Rt)(this._plaintext);({ciphertext:l,tag:m}=await De(s,t,h,this._iv,c))}else({ciphertext:l,tag:m}=await De(s,this._plaintext,h,this._iv,c));const g={ciphertext:_(l),iv:_(this._iv),tag:_(m)};return a&&(g.encrypted_key=_(a)),p&&(g.aad=p),this._protectedHeader&&(g.protected=o.decode(u)),this._sharedUnprotectedHeader&&(g.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(g.header=this._unprotectedHeader),g}}}}),ur=y({"../node_modules/jose/dist/browser/jwe/general/encrypt.js"(){cr(),ot(),ve(),_t(),hr(),tt(),We(),sr=class{constructor(t,e,r){this.parent=t,this.key=e,this.options=r}setUnprotectedHeader(t){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=t,this}addRecipient(...t){return this.parent.addRecipient(...t)}encrypt(...t){return this.parent.encrypt(...t)}done(){return this.parent}},ar=class{constructor(t){this._recipients=[],this._plaintext=t}addRecipient(t,e){const r=new sr(this,t,{crit:null==e?void 0:e.crit});return this._recipients.push(r),r}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setSharedUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setSharedUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}setAdditionalAuthenticatedData(t){return this._aad=t,this}async encrypt(t){var e,r,i;if(!this._recipients.length)throw new q("at least one recipient must be added");if(t={deflateRaw:null==t?void 0:t.deflateRaw},1===this._recipients.length){const[e]=this._recipients,r=await new nr(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options,...t});let i={ciphertext:r.ciphertext,iv:r.iv,recipients:[{}],tag:r.tag};return r.aad&&(i.aad=r.aad),r.protected&&(i.protected=r.protected),r.unprotected&&(i.unprotected=r.unprotected),r.encrypted_key&&(i.recipients[0].encrypted_key=r.encrypted_key),r.header&&(i.recipients[0].header=r.header),i}let o;for(let t=0;t<this._recipients.length;t++){const e=this._recipients[t];if(!Ot(this._protectedHeader,this._unprotectedHeader,e.unprotectedHeader))throw new q("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader,...e.unprotectedHeader},{alg:i}=r;if("string"!=typeof i||!i)throw new q('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===i||"ECDH-ES"===i)throw new q('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof r.enc||!r.enc)throw new q('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(o){if(o!==r.enc)throw new q('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else o=r.enc;if(Be(q,new Map,e.options.crit,this._protectedHeader,r),!(void 0===r.zip||this._protectedHeader&&this._protectedHeader.zip))throw new q('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}const n=ie(o);let s={ciphertext:"",iv:"",recipients:[],tag:""};for(let a=0;a<this._recipients.length;a++){const h=this._recipients[a],c={};s.recipients.push(c);const u={...this._protectedHeader,...this._unprotectedHeader,...h.unprotectedHeader}.alg.startsWith("PBES2")?2048+a:void 0;if(0===a){const e=await new nr(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(n).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(h.unprotectedHeader).setKeyManagementParameters({p2c:u}).encrypt(h.key,{...h.options,...t,[or]:!0});s.ciphertext=e.ciphertext,s.iv=e.iv,s.tag=e.tag,e.aad&&(s.aad=e.aad),e.protected&&(s.protected=e.protected),e.unprotected&&(s.unprotected=e.unprotected),c.encrypted_key=e.encrypted_key,e.header&&(c.header=e.header);continue}const{encryptedKey:p,parameters:l}=await er((null===(e=h.unprotectedHeader)||void 0===e?void 0:e.alg)||(null===(r=this._protectedHeader)||void 0===r?void 0:r.alg)||(null===(i=this._unprotectedHeader)||void 0===i?void 0:i.alg),o,h.key,n,{p2c:u});c.encrypted_key=_(p),(h.unprotectedHeader||l)&&(c.header={...h.unprotectedHeader,...l})}return s}}}});function pr(t,e){const r=`SHA-${t.slice(-3)}`;switch(t){case"HS256":case"HS384":case"HS512":return{hash:r,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:r,name:"RSA-PSS",saltLength:t.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:r,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:r,name:"ECDSA",namedCurve:e.namedCurve};case"EdDSA":return gt()&&"NODE-ED25519"===e.name?{name:"NODE-ED25519",namedCurve:"NODE-ED25519"}:{name:e.name};default:throw new W(`alg ${t} is not supported either by JOSE or your javascript runtime`)}}var lr=y({"../node_modules/jose/dist/browser/runtime/subtle_dsa.js"(){dt(),ot()}});function mr(r,i,o){if(e(i))return function(t,e,...r){switch(e){case"HS256":case"HS384":case"HS512":{if(!wt(t.algorithm,"HMAC"))throw ft("HMAC");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw ft(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!wt(t.algorithm,"RSASSA-PKCS1-v1_5"))throw ft("RSASSA-PKCS1-v1_5");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw ft(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!wt(t.algorithm,"RSA-PSS"))throw ft("RSA-PSS");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw ft(`SHA-${r}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==t.algorithm.name&&"Ed448"!==t.algorithm.name){if(gt()){if(wt(t.algorithm,"NODE-ED25519"))break;throw ft("Ed25519, Ed448, or NODE-ED25519")}throw ft("Ed25519 or Ed448")}break;case"ES256":case"ES384":case"ES512":{if(!wt(t.algorithm,"ECDSA"))throw ft("ECDSA");const r=function(t){switch(t){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}(e);if(t.algorithm.namedCurve!==r)throw ft(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}yt(t,r)}(i,r,o),i;if(i instanceof Uint8Array){if(!r.startsWith("HS"))throw new TypeError(St(i,...Ft));return t.subtle.importKey("raw",i,{hash:`SHA-${r.slice(-3)}`,name:"HMAC"},!1,[o])}throw new TypeError(St(i,...Ft,"Uint8Array"))}var gr,dr=y({"../node_modules/jose/dist/browser/runtime/get_sign_verify_key.js"(){k(),At(),Dt(),Mt()}}),fr=y({"../node_modules/jose/dist/browser/runtime/verify.js"(){lr(),k(),ne(),dr(),gr=async(e,r,i,o)=>{const n=await mr(e,r,"verify");te(e,n);const s=pr(e,n.algorithm);try{return await t.subtle.verify(s,n,i,o)}catch(t){return!1}}}});async function wr(t,e,r){var n;if(!Nt(t))throw new G("Flattened JWS must be an object");if(void 0===t.protected&&void 0===t.header)throw new G('Flattened JWS must have either of the "protected" or "header" members');if(void 0!==t.protected&&"string"!=typeof t.protected)throw new G("JWS Protected Header incorrect type");if(void 0===t.payload)throw new G("JWS Payload missing");if("string"!=typeof t.signature)throw new G("JWS Signature missing or incorrect type");if(void 0!==t.header&&!Nt(t.header))throw new G("JWS Unprotected Header incorrect type");let s={};if(t.protected)try{const e=j(t.protected);s=JSON.parse(o.decode(e))}catch(t){throw new G("JWS Protected Header is invalid")}if(!Ot(s,t.header))throw new G("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const a={...s,...t.header};let h=!0;if(Be(G,new Map([["b64",!0]]),null==r?void 0:r.crit,s,a).has("b64")&&(h=s.b64,"boolean"!=typeof h))throw new G('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:c}=a;if("string"!=typeof c||!c)throw new G('JWS "alg" (Algorithm) Header Parameter missing or invalid');const u=r&&He("algorithms",r.algorithms);if(u&&!u.has(c))throw new H('"alg" (Algorithm) Header Parameter not allowed');if(h){if("string"!=typeof t.payload)throw new G("JWS Payload must be a string")}else if("string"!=typeof t.payload&&!(t.payload instanceof Uint8Array))throw new G("JWS Payload must be a string or an Uint8Array instance");let p=!1;"function"==typeof e&&(e=await e(s,t),p=!0),Oe(c,e,"verify");const l=R(i.encode(null!==(n=t.protected)&&void 0!==n?n:""),i.encode("."),"string"==typeof t.payload?i.encode(t.payload):t.payload),m=j(t.signature);if(!await gr(c,e,m,l))throw new Y;let g;g=h?j(t.payload):"string"==typeof t.payload?i.encode(t.payload):t.payload;const d={payload:g};return void 0!==t.protected&&(d.protectedHeader=s),void 0!==t.header&&(d.unprotectedHeader=t.header),p?{...d,key:e}:d}var vr=y({"../node_modules/jose/dist/browser/jws/flattened/verify.js"(){tt(),fr(),ot(),Z(),_t(),Lt(),xe(),We(),Ve()}});async function yr(t,e,r){if(t instanceof Uint8Array&&(t=o.decode(t)),"string"!=typeof t)throw new G("Compact JWS must be a string or Uint8Array");const{0:i,1:n,2:s,length:a}=t.split(".");if(3!==a)throw new G("Invalid Compact JWS");const h=await wr({payload:n,protected:i,signature:s},e,r),c={payload:h.payload,protectedHeader:h.protectedHeader};return"function"==typeof e?{...c,key:h.key}:c}var br=y({"../node_modules/jose/dist/browser/jws/compact/verify.js"(){vr(),ot(),Z()}});async function Sr(t,e,r){if(!Nt(t))throw new G("General JWS must be an object");if(!Array.isArray(t.signatures)||!t.signatures.every(Nt))throw new G("JWS Signatures missing or incorrect type");for(const i of t.signatures)try{return await wr({header:i.header,payload:t.payload,protected:i.protected,signature:i.signature},e,r)}catch(t){}throw new Y}var Ar,Er,Cr,Pr,Fr,kr,Tr=y({"../node_modules/jose/dist/browser/jws/general/verify.js"(){vr(),ot(),Lt()}}),Rr=y({"../node_modules/jose/dist/browser/lib/epoch.js"(){Ar=t=>Math.floor(t.getTime()/1e3)}}),Or=y({"../node_modules/jose/dist/browser/lib/secs.js"(){86400,Er=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i,Cr=t=>{const e=Er.exec(t);if(!e)throw new TypeError("Invalid time period format");const r=parseFloat(e[1]);switch(e[2].toLowerCase()){case"sec":case"secs":case"second":case"seconds":case"s":return Math.round(r);case"minute":case"minutes":case"min":case"mins":case"m":return Math.round(60*r);case"hour":case"hours":case"hr":case"hrs":case"h":return Math.round(3600*r);case"day":case"days":case"d":return Math.round(86400*r);case"week":case"weeks":case"w":return Math.round(604800*r);default:return Math.round(31557600*r)}}}}),Dr=y({"../node_modules/jose/dist/browser/lib/jwt_claims_set.js"(){ot(),Z(),Rr(),Or(),Lt(),Pr=t=>t.toLowerCase().replace(/^application\//,""),Fr=(t,e)=>"string"==typeof t?e.includes(t):!!Array.isArray(t)&&e.some(Set.prototype.has.bind(new Set(t))),kr=(t,e,r={})=>{const{typ:i}=r;if(i&&("string"!=typeof t.typ||Pr(t.typ)!==Pr(i)))throw new U('unexpected "typ" JWT header value',"typ","check_failed");let n;try{n=JSON.parse(o.decode(e))}catch(t){}if(!Nt(n))throw new K("JWT Claims Set must be a top-level JSON object");const{issuer:s}=r;if(s&&!(Array.isArray(s)?s:[s]).includes(n.iss))throw new U('unexpected "iss" claim value',"iss","check_failed");const{subject:a}=r;if(a&&n.sub!==a)throw new U('unexpected "sub" claim value',"sub","check_failed");const{audience:h}=r;if(h&&!Fr(n.aud,"string"==typeof h?[h]:h))throw new U('unexpected "aud" claim value',"aud","check_failed");let c;switch(typeof r.clockTolerance){case"string":c=Cr(r.clockTolerance);break;case"number":c=r.clockTolerance;break;case"undefined":c=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:u}=r,p=Ar(u||new Date);if((void 0!==n.iat||r.maxTokenAge)&&"number"!=typeof n.iat)throw new U('"iat" claim must be a number',"iat","invalid");if(void 0!==n.nbf){if("number"!=typeof n.nbf)throw new U('"nbf" claim must be a number',"nbf","invalid");if(n.nbf>p+c)throw new U('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==n.exp){if("number"!=typeof n.exp)throw new U('"exp" claim must be a number',"exp","invalid");if(n.exp<=p-c)throw new L('"exp" claim timestamp check failed',"exp","check_failed")}if(r.maxTokenAge){const t=p-n.iat;if(t-c>("number"==typeof r.maxTokenAge?r.maxTokenAge:Cr(r.maxTokenAge)))throw new L('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(t<0-c)throw new U('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return n}}});async function Mr(t,e,r){var i;const o=await yr(t,e,r);if((null===(i=o.protectedHeader.crit)||void 0===i?void 0:i.includes("b64"))&&!1===o.protectedHeader.b64)throw new K("JWTs MUST NOT use unencoded payload");const n={payload:kr(o.protectedHeader,o.payload,r),protectedHeader:o.protectedHeader};return"function"==typeof e?{...n,key:o.key}:n}var Ir=y({"../node_modules/jose/dist/browser/jwt/verify.js"(){br(),Dr(),ot()}});async function xr(t,e,r){const i=await Ke(t,e,r),o=kr(i.protectedHeader,i.plaintext,r),{protectedHeader:n}=i;if(void 0!==n.iss&&n.iss!==o.iss)throw new U('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(void 0!==n.sub&&n.sub!==o.sub)throw new U('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(void 0!==n.aud&&JSON.stringify(n.aud)!==JSON.stringify(o.aud))throw new U('replicated "aud" claim header parameter mismatch',"aud","mismatch");const s={payload:o,protectedHeader:n};return"function"==typeof e?{...s,key:i.key}:s}var _r,Nr,jr,Br,Ur,Lr,Hr,Wr,Vr,qr,Gr=y({"../node_modules/jose/dist/browser/jwt/decrypt.js"(){Je(),Dr(),ot()}}),Kr=y({"../node_modules/jose/dist/browser/jwe/compact/encrypt.js"(){cr(),_r=class{constructor(t){this._flattened=new nr(t)}setContentEncryptionKey(t){return this._flattened.setContentEncryptionKey(t),this}setInitializationVector(t){return this._flattened.setInitializationVector(t),this}setProtectedHeader(t){return this._flattened.setProtectedHeader(t),this}setKeyManagementParameters(t){return this._flattened.setKeyManagementParameters(t),this}async encrypt(t,e){const r=await this._flattened.encrypt(t,e);return[r.protected,r.encrypted_key,r.iv,r.ciphertext,r.tag].join(".")}}}}),Jr=y({"../node_modules/jose/dist/browser/runtime/sign.js"(){lr(),k(),ne(),dr(),Nr=async(e,r,i)=>{const o=await mr(e,r,"sign");te(e,o);const n=await t.subtle.sign(pr(e,o.algorithm),o,i);return new Uint8Array(n)}}}),zr=y({"../node_modules/jose/dist/browser/jws/flattened/sign.js"(){tt(),Jr(),_t(),ot(),Z(),xe(),We(),jr=class{constructor(t){if(!(t instanceof Uint8Array))throw new TypeError("payload must be an instance of Uint8Array");this._payload=t}setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setUnprotectedHeader(t){if(this._unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this._unprotectedHeader=t,this}async sign(t,e){if(!this._protectedHeader&&!this._unprotectedHeader)throw new G("either setProtectedHeader or setUnprotectedHeader must be called before #sign()");if(!Ot(this._protectedHeader,this._unprotectedHeader))throw new G("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader};let n=!0;if(Be(G,new Map([["b64",!0]]),null==e?void 0:e.crit,this._protectedHeader,r).has("b64")&&(n=this._protectedHeader.b64,"boolean"!=typeof n))throw new G('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:s}=r;if("string"!=typeof s||!s)throw new G('JWS "alg" (Algorithm) Header Parameter missing or invalid');Oe(s,t,"sign");let a,h=this._payload;n&&(h=i.encode(_(h))),a=i.encode(this._protectedHeader?_(JSON.stringify(this._protectedHeader)):"");const c=R(a,i.encode("."),h),u=await Nr(s,t,c),p={signature:_(u),payload:""};return n&&(p.payload=o.decode(h)),this._unprotectedHeader&&(p.header=this._unprotectedHeader),this._protectedHeader&&(p.protected=o.decode(a)),p}}}}),$r=y({"../node_modules/jose/dist/browser/jws/compact/sign.js"(){zr(),Br=class{constructor(t){this._flattened=new jr(t)}setProtectedHeader(t){return this._flattened.setProtectedHeader(t),this}async sign(t,e){const r=await this._flattened.sign(t,e);if(void 0===r.payload)throw new TypeError("use the flattened module for creating JWS with b64: false");return`${r.protected}.${r.payload}.${r.signature}`}}}}),Xr=y({"../node_modules/jose/dist/browser/jws/general/sign.js"(){zr(),ot(),Ur=class{constructor(t,e,r){this.parent=t,this.key=e,this.options=r}setProtectedHeader(t){if(this.protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this.protectedHeader=t,this}setUnprotectedHeader(t){if(this.unprotectedHeader)throw new TypeError("setUnprotectedHeader can only be called once");return this.unprotectedHeader=t,this}addSignature(...t){return this.parent.addSignature(...t)}sign(...t){return this.parent.sign(...t)}done(){return this.parent}},Lr=class{constructor(t){this._signatures=[],this._payload=t}addSignature(t,e){const r=new Ur(this,t,e);return this._signatures.push(r),r}async sign(){if(!this._signatures.length)throw new G("at least one signature must be added");const t={signatures:[],payload:""};for(let e=0;e<this._signatures.length;e++){const r=this._signatures[e],i=new jr(this._payload);i.setProtectedHeader(r.protectedHeader),i.setUnprotectedHeader(r.unprotectedHeader);const{payload:o,...n}=await i.sign(r.key,r.options);if(0===e)t.payload=o;else if(t.payload!==o)throw new G("inconsistent use of JWS Unencoded Payload Option (RFC7797)");t.signatures.push(n)}return t}}}}),Qr=y({"../node_modules/jose/dist/browser/jwt/produce.js"(){Rr(),Lt(),Or(),Hr=class{constructor(t){if(!Nt(t))throw new TypeError("JWT Claims Set MUST be an object");this._payload=t}setIssuer(t){return this._payload={...this._payload,iss:t},this}setSubject(t){return this._payload={...this._payload,sub:t},this}setAudience(t){return this._payload={...this._payload,aud:t},this}setJti(t){return this._payload={...this._payload,jti:t},this}setNotBefore(t){return this._payload="number"==typeof t?{...this._payload,nbf:t}:{...this._payload,nbf:Ar(new Date)+Cr(t)},this}setExpirationTime(t){return this._payload="number"==typeof t?{...this._payload,exp:t}:{...this._payload,exp:Ar(new Date)+Cr(t)},this}setIssuedAt(t){return this._payload=void 0===t?{...this._payload,iat:Ar(new Date)}:{...this._payload,iat:t},this}}}}),Yr=y({"../node_modules/jose/dist/browser/jwt/sign.js"(){$r(),ot(),Z(),Qr(),Wr=class extends Hr{setProtectedHeader(t){return this._protectedHeader=t,this}async sign(t,e){var r;const o=new Br(i.encode(JSON.stringify(this._payload)));if(o.setProtectedHeader(this._protectedHeader),Array.isArray(null===(r=this._protectedHeader)||void 0===r?void 0:r.crit)&&this._protectedHeader.crit.includes("b64")&&!1===this._protectedHeader.b64)throw new K("JWTs MUST NOT use unencoded payload");return o.sign(t,e)}}}}),Zr=y({"../node_modules/jose/dist/browser/jwt/encrypt.js"(){Kr(),Z(),Qr(),Vr=class extends Hr{setProtectedHeader(t){if(this._protectedHeader)throw new TypeError("setProtectedHeader can only be called once");return this._protectedHeader=t,this}setKeyManagementParameters(t){if(this._keyManagementParameters)throw new TypeError("setKeyManagementParameters can only be called once");return this._keyManagementParameters=t,this}setContentEncryptionKey(t){if(this._cek)throw new TypeError("setContentEncryptionKey can only be called once");return this._cek=t,this}setInitializationVector(t){if(this._iv)throw new TypeError("setInitializationVector can only be called once");return this._iv=t,this}replicateIssuerAsHeader(){return this._replicateIssuerAsHeader=!0,this}replicateSubjectAsHeader(){return this._replicateSubjectAsHeader=!0,this}replicateAudienceAsHeader(){return this._replicateAudienceAsHeader=!0,this}async encrypt(t,e){const r=new _r(i.encode(JSON.stringify(this._payload)));return this._replicateIssuerAsHeader&&(this._protectedHeader={...this._protectedHeader,iss:this._payload.iss}),this._replicateSubjectAsHeader&&(this._protectedHeader={...this._protectedHeader,sub:this._payload.sub}),this._replicateAudienceAsHeader&&(this._protectedHeader={...this._protectedHeader,aud:this._payload.aud}),r.setProtectedHeader(this._protectedHeader),this._iv&&r.setInitializationVector(this._iv),this._cek&&r.setContentEncryptionKey(this._cek),this._keyManagementParameters&&r.setKeyManagementParameters(this._keyManagementParameters),r.encrypt(t,e)}}}});async function ti(t,e){if(!Nt(t))throw new TypeError("JWK must be an object");if(null!=e||(e="sha256"),"sha256"!==e&&"sha384"!==e&&"sha512"!==e)throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"');let o;switch(t.kty){case"EC":qr(t.crv,'"crv" (Curve) Parameter'),qr(t.x,'"x" (X Coordinate) Parameter'),qr(t.y,'"y" (Y Coordinate) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":qr(t.crv,'"crv" (Subtype of Key Pair) Parameter'),qr(t.x,'"x" (Public Key) Parameter'),o={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":qr(t.e,'"e" (Exponent) Parameter'),qr(t.n,'"n" (Modulus) Parameter'),o={e:t.e,kty:t.kty,n:t.n};break;case"oct":qr(t.k,'"k" (Key Value) Parameter'),o={k:t.k,kty:t.kty};break;default:throw new W('"kty" (Key Type) Parameter missing or unsupported')}const n=i.encode(JSON.stringify(o));return _(await r(e,n))}async function ei(t,e){null!=e||(e="sha256");const r=await ti(t,e);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${e.slice(-3)}:${r}`}var ri=y({"../node_modules/jose/dist/browser/jwk/thumbprint.js"(){T(),tt(),ot(),Z(),Lt(),qr=(t,e)=>{if("string"!=typeof t||!t)throw new J(`${e} missing or invalid`)}}});async function ii(t,e){const r={...t,...e.header};if(!Nt(r.jwk))throw new G('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const i=await ke({...r.jwk,ext:!0},r.alg,!0);if(i instanceof Uint8Array||"public"!==i.type)throw new G('"jwk" (JSON Web Key) Header Parameter must be a public key');return i}var oi,ni=y({"../node_modules/jose/dist/browser/jwk/embedded.js"(){Ie(),Lt(),ot()}});function si(t){return t&&"object"==typeof t&&Array.isArray(t.keys)&&t.keys.every(ai)}function ai(t){return Nt(t)}async function hi(t,e,r){const i=t.get(e)||t.set(e,{}).get(e);if(void 0===i[r]){const t=await ke({...e,ext:!0},r);if("public"!==t.type)throw new z("JSON Web Key Set members must be public keys");i[r]=t}return i[r]}function ci(t){return oi.prototype.getKey.bind(new oi(t))}var ui,pi,li=y({"../node_modules/jose/dist/browser/jwks/local.js"(){Ie(),ot(),Lt(),oi=class{constructor(t){if(this._cached=new WeakMap,!si(t))throw new z("JSON Web Key Set malformed");var e;this._jwks=(e=t,"function"==typeof structuredClone?structuredClone(e):JSON.parse(JSON.stringify(e)))}async getKey(t,e){const{alg:r,kid:i}={...t,...null==e?void 0:e.header},o=function(t){switch("string"==typeof t&&t.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new W('Unsupported "alg" value for a JSON Web Key Set')}}(r),n=this._jwks.keys.filter((t=>{let e=o===t.kty;if(e&&"string"==typeof i&&(e=i===t.kid),e&&"string"==typeof t.alg&&(e=r===t.alg),e&&"string"==typeof t.use&&(e="sig"===t.use),e&&Array.isArray(t.key_ops)&&(e=t.key_ops.includes("verify")),e&&"EdDSA"===r&&(e="Ed25519"===t.crv||"Ed448"===t.crv),e)switch(r){case"ES256":e="P-256"===t.crv;break;case"ES256K":e="secp256k1"===t.crv;break;case"ES384":e="P-384"===t.crv;break;case"ES512":e="P-521"===t.crv}return e})),{0:s,length:a}=n;if(0===a)throw new $;if(1!==a){const t=new X,{_cached:e}=this;throw t[Symbol.asyncIterator]=async function*(){for(const t of n)try{yield await hi(e,t,r)}catch(t){continue}},t}return hi(this._cached,s,r)}}}}),mi=y({"../node_modules/jose/dist/browser/runtime/fetch_jwks.js"(){ot(),ui=async(t,e,r)=>{let i,o,n=!1;"function"==typeof AbortController&&(i=new AbortController,o=setTimeout((()=>{n=!0,i.abort()}),e));const s=await fetch(t.href,{signal:i?i.signal:void 0,redirect:"manual",headers:r.headers}).catch((t=>{if(n)throw new Q;throw t}));if(void 0!==o&&clearTimeout(o),200!==s.status)throw new B("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await s.json()}catch(t){throw new B("Failed to parse the JSON Web Key Set HTTP response as JSON")}}}});function gi(t,e){return pi.prototype.getKey.bind(new pi(t,e))}var di,fi,wi,vi=y({"../node_modules/jose/dist/browser/jwks/remote.js"(){mi(),dt(),ot(),li(),pi=class extends oi{constructor(t,e){if(super({keys:[]}),this._jwks=void 0,!(t instanceof URL))throw new TypeError("url must be an instance of URL");this._url=new URL(t.href),this._options={agent:null==e?void 0:e.agent,headers:null==e?void 0:e.headers},this._timeoutDuration="number"==typeof(null==e?void 0:e.timeoutDuration)?null==e?void 0:e.timeoutDuration:5e3,this._cooldownDuration="number"==typeof(null==e?void 0:e.cooldownDuration)?null==e?void 0:e.cooldownDuration:3e4,this._cacheMaxAge="number"==typeof(null==e?void 0:e.cacheMaxAge)?null==e?void 0:e.cacheMaxAge:6e5}coolingDown(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cooldownDuration}fresh(){return"number"==typeof this._jwksTimestamp&&Date.now()<this._jwksTimestamp+this._cacheMaxAge}async getKey(t,e){this._jwks&&this.fresh()||await this.reload();try{return await super.getKey(t,e)}catch(r){if(r instanceof $&&!1===this.coolingDown())return await this.reload(),super.getKey(t,e);throw r}}async reload(){if(this._pendingFetch&&gt())return new Promise((t=>{const e=()=>{void 0===this._pendingFetch?t():setTimeout(e,5)};e()}));this._pendingFetch||(this._pendingFetch=ui(this._url,this._timeoutDuration,this._options).then((t=>{if(!si(t))throw new z("JSON Web Key Set malformed");this._jwks={keys:t.keys},this._jwksTimestamp=Date.now(),this._pendingFetch=void 0})).catch((t=>{throw this._pendingFetch=void 0,t}))),await this._pendingFetch}}}}),yi=y({"../node_modules/jose/dist/browser/jwt/unsecured.js"(){tt(),Z(),ot(),Dr(),Qr(),di=class extends Hr{encode(){return`${_(JSON.stringify({alg:"none"}))}.${_(JSON.stringify(this._payload))}.`}static decode(t,e){if("string"!=typeof t)throw new K("Unsecured JWT must be a string");const{0:r,1:i,2:n,length:s}=t.split(".");if(3!==s||""!==n)throw new K("Invalid Unsecured JWT");let a;try{if(a=JSON.parse(o.decode(j(r))),"none"!==a.alg)throw new Error}catch(t){throw new K("Invalid Unsecured JWT")}return{payload:kr(a,j(i),e),header:a}}}}}),bi={};S(bi,{decode:()=>wi,encode:()=>fi});var Si=y({"../node_modules/jose/dist/browser/util/base64url.js"(){tt(),fi=_,wi=j}});function Ai(t){let e;if("string"==typeof t){const r=t.split(".");3!==r.length&&5!==r.length||([e]=r)}else if("object"==typeof t&&t){if(!("protected"in t))throw new TypeError("Token does not contain a Protected Header");e=t.protected}try{if("string"!=typeof e||!e)throw new Error;const t=JSON.parse(o.decode(wi(e)));if(!Nt(t))throw new Error;return t}catch(t){throw new TypeError("Invalid Token or Protected Header formatting")}}var Ei=y({"../node_modules/jose/dist/browser/util/decode_protected_header.js"(){Si(),Z(),Lt()}});function Ci(t){if("string"!=typeof t)throw new K("JWTs must use Compact JWS serialization, JWT must be a string");const{1:e,length:r}=t.split(".");if(5===r)throw new K("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new K("Invalid JWT");if(!e)throw new K("JWTs must contain a payload");let i,n;try{i=wi(e)}catch(t){throw new K("Failed to parse the base64url encoded payload")}try{n=JSON.parse(o.decode(i))}catch(t){throw new K("Failed to parse the decoded payload as JSON")}if(!Nt(n))throw new K("Invalid JWT Claims Set");return n}var Pi=y({"../node_modules/jose/dist/browser/util/decode_jwt.js"(){Si(),Z(),Lt(),ot()}});function Fi(t){var e;const r=null!==(e=null==t?void 0:t.modulusLength)&&void 0!==e?e:2048;if("number"!=typeof r||r<2048)throw new W("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used");return r}var ki=y({"../node_modules/jose/dist/browser/runtime/generate.js"(){dt(),k(),ot(),nt()}});async function Ti(e,r){return async function(e,r){var i,o,n,s;let a,h;switch(e){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Fi(r)},h=["sign","verify"];break;case"RS256":case"RS384":case"RS512":a={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Fi(r)},h=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":a={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Fi(r)},h=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":a={name:"ECDSA",namedCurve:"P-256"},h=["sign","verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},h=["sign","verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},h=["sign","verify"];break;case"EdDSA":h=["sign","verify"];const t=null!==(i=null==r?void 0:r.crv)&&void 0!==i?i:"Ed25519";switch(t){case"Ed25519":case"Ed448":a={name:t};break;default:throw new W("Invalid or unsupported crv option provided")}break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{h=["deriveKey","deriveBits"];const t=null!==(o=null==r?void 0:r.crv)&&void 0!==o?o:"P-256";switch(t){case"P-256":case"P-384":case"P-521":a={name:"ECDH",namedCurve:t};break;case"X25519":case"X448":a={name:t};break;default:throw new W("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}break}default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}try{return await t.subtle.generateKey(a,null!==(n=null==r?void 0:r.extractable)&&void 0!==n&&n,h)}catch(e){if("Ed25519"===a.name&&"NotSupportedError"===(null==e?void 0:e.name)&&gt())return a={name:"NODE-ED25519",namedCurve:"NODE-ED25519"},await t.subtle.generateKey(a,null!==(s=null==r?void 0:r.extractable)&&void 0!==s&&s,h);throw e}}(e,r)}var Ri=y({"../node_modules/jose/dist/browser/key/generate_key_pair.js"(){ki()}});async function Oi(e,r){return async function(e,r){var i;let o,n,s;switch(e){case"HS256":case"HS384":case"HS512":o=parseInt(e.slice(-3),10),n={name:"HMAC",hash:`SHA-${o}`,length:o},s=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return o=parseInt(e.slice(-3),10),rt(new Uint8Array(o>>3));case"A128KW":case"A192KW":case"A256KW":o=parseInt(e.slice(1,4),10),n={name:"AES-KW",length:o},s=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":o=parseInt(e.slice(1,4),10),n={name:"AES-GCM",length:o},s=["encrypt","decrypt"];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return t.subtle.generateKey(n,null!==(i=null==r?void 0:r.extractable)&&void 0!==i&&i,s)}(e,r)}var Di=y({"../node_modules/jose/dist/browser/key/generate_secret.js"(){ki()}}),Mi={};S(Mi,{CompactEncrypt:()=>_r,CompactSign:()=>Br,EmbeddedJWK:()=>ii,EncryptJWT:()=>Vr,FlattenedEncrypt:()=>nr,FlattenedSign:()=>jr,GeneralEncrypt:()=>ar,GeneralSign:()=>Lr,SignJWT:()=>Wr,UnsecuredJWT:()=>di,base64url:()=>bi,calculateJwkThumbprint:()=>ti,calculateJwkThumbprintUri:()=>ei,compactDecrypt:()=>Ke,compactVerify:()=>yr,createLocalJWKSet:()=>ci,createRemoteJWKSet:()=>gi,decodeJwt:()=>Ci,decodeProtectedHeader:()=>Ai,errors:()=>et,exportJWK:()=>tr,exportPKCS8:()=>Ze,exportSPKI:()=>Ye,flattenedDecrypt:()=>qe,flattenedVerify:()=>wr,generalDecrypt:()=>ze,generalVerify:()=>Sr,generateKeyPair:()=>Ti,generateSecret:()=>Oi,importJWK:()=>ke,importPKCS8:()=>Fe,importSPKI:()=>Ce,importX509:()=>Pe,jwtDecrypt:()=>xr,jwtVerify:()=>Mr});var Ii=y({"../node_modules/jose/dist/browser/index.js"(){Je(),Ge(),Xe(),ur(),br(),vr(),Tr(),Ir(),Gr(),Kr(),cr(),$r(),zr(),Xr(),Yr(),Zr(),ri(),ni(),li(),vi(),yi(),rr(),Ie(),Ei(),Pi(),ot(),Ri(),Di(),Si()}}),xi=b({"../node_modules/uuid/dist/commonjs-browser/rng.js"(t){var e;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!e&&!(e="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return e(r)};var r=new Uint8Array(16)}}),_i=b({"../node_modules/uuid/dist/commonjs-browser/regex.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i}}),Ni=b({"../node_modules/uuid/dist/commonjs-browser/validate.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=_i())&&e.__esModule?e:{default:e};t.default=function(t){return"string"==typeof t&&r.default.test(t)}}}),ji=b({"../node_modules/uuid/dist/commonjs-browser/stringify.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=o;var e,r=(e=Ni())&&e.__esModule?e:{default:e},i=[];for(let t=0;t<256;++t)i.push((t+256).toString(16).slice(1));function o(t,e=0){return(i[t[e+0]]+i[t[e+1]]+i[t[e+2]]+i[t[e+3]]+"-"+i[t[e+4]]+i[t[e+5]]+"-"+i[t[e+6]]+i[t[e+7]]+"-"+i[t[e+8]]+i[t[e+9]]+"-"+i[t[e+10]]+i[t[e+11]]+i[t[e+12]]+i[t[e+13]]+i[t[e+14]]+i[t[e+15]]).toLowerCase()}t.default=function(t,e=0){const i=o(t,e);if(!(0,r.default)(i))throw TypeError("Stringified UUID is invalid");return i}}}),Bi=b({"../node_modules/uuid/dist/commonjs-browser/v1.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r,i,o=(e=xi())&&e.__esModule?e:{default:e},n=ji(),s=0,a=0;t.default=function(t,e,h){let c=e&&h||0;const u=e||new Array(16);let p=(t=t||{}).node||r,l=void 0!==t.clockseq?t.clockseq:i;if(null==p||null==l){const e=t.random||(t.rng||o.default)();null==p&&(p=r=[1|e[0],e[1],e[2],e[3],e[4],e[5]]),null==l&&(l=i=16383&(e[6]<<8|e[7]))}let m=void 0!==t.msecs?t.msecs:Date.now(),g=void 0!==t.nsecs?t.nsecs:a+1;const d=m-s+(g-a)/1e4;if(d<0&&void 0===t.clockseq&&(l=l+1&16383),(d<0||m>s)&&void 0===t.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=m,a=g,i=l,m+=122192928e5;const f=(1e4*(268435455&m)+g)%4294967296;u[c++]=f>>>24&255,u[c++]=f>>>16&255,u[c++]=f>>>8&255,u[c++]=255&f;const w=m/4294967296*1e4&268435455;u[c++]=w>>>8&255,u[c++]=255&w,u[c++]=w>>>24&15|16,u[c++]=w>>>16&255,u[c++]=l>>>8|128,u[c++]=255&l;for(let t=0;t<6;++t)u[c+t]=p[t];return e||(0,n.unsafeStringify)(u)}}}),Ui=b({"../node_modules/uuid/dist/commonjs-browser/parse.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=Ni())&&e.__esModule?e:{default:e};t.default=function(t){if(!(0,r.default)(t))throw TypeError("Invalid UUID");let e;const i=new Uint8Array(16);return i[0]=(e=parseInt(t.slice(0,8),16))>>>24,i[1]=e>>>16&255,i[2]=e>>>8&255,i[3]=255&e,i[4]=(e=parseInt(t.slice(9,13),16))>>>8,i[5]=255&e,i[6]=(e=parseInt(t.slice(14,18),16))>>>8,i[7]=255&e,i[8]=(e=parseInt(t.slice(19,23),16))>>>8,i[9]=255&e,i[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,i[11]=e/4294967296&255,i[12]=e>>>24&255,i[13]=e>>>16&255,i[14]=e>>>8&255,i[15]=255&e,i}}}),Li=b({"../node_modules/uuid/dist/commonjs-browser/v35.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(t,e,s){function a(t,o,n,a){var h;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r<t.length;++r)e.push(t.charCodeAt(r));return e}(t)),"string"==typeof o&&(o=(0,i.default)(o)),16!==(null===(h=o)||void 0===h?void 0:h.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let c=new Uint8Array(16+t.length);if(c.set(o),c.set(t,o.length),c=s(c),c[6]=15&c[6]|e,c[8]=63&c[8]|128,n){a=a||0;for(let t=0;t<16;++t)n[a+t]=c[t];return n}return(0,r.unsafeStringify)(c)}try{a.name=t}catch(t){}return a.DNS=o,a.URL=n,a};var e,r=ji(),i=(e=Ui())&&e.__esModule?e:{default:e},o="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=o;var n="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=n}}),Hi=b({"../node_modules/uuid/dist/commonjs-browser/md5.js"(t){function e(t){return 14+(t+64>>>9<<4)+1}function r(t,e){const r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function i(t,e,i,o,n,s){return r((a=r(r(e,t),r(o,s)))<<(h=n)|a>>>32-h,i);var a,h}function o(t,e,r,o,n,s,a){return i(e&r|~e&o,t,e,n,s,a)}function n(t,e,r,o,n,s,a){return i(e&o|r&~o,t,e,n,s,a)}function s(t,e,r,o,n,s,a){return i(e^r^o,t,e,n,s,a)}function a(t,e,r,o,n,s,a){return i(r^(e|~o),t,e,n,s,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(t){if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(let r=0;r<e.length;++r)t[r]=e.charCodeAt(r)}return function(t){const e=[],r=32*t.length,i="0123456789abcdef";for(let o=0;o<r;o+=8){const r=t[o>>5]>>>o%32&255,n=parseInt(i.charAt(r>>>4&15)+i.charAt(15&r),16);e.push(n)}return e}(function(t,i){t[i>>5]|=128<<i%32,t[e(i)-1]=i;let h=1732584193,c=-271733879,u=-1732584194,p=271733878;for(let e=0;e<t.length;e+=16){const i=h,l=c,m=u,g=p;h=o(h,c,u,p,t[e],7,-680876936),p=o(p,h,c,u,t[e+1],12,-389564586),u=o(u,p,h,c,t[e+2],17,606105819),c=o(c,u,p,h,t[e+3],22,-1044525330),h=o(h,c,u,p,t[e+4],7,-176418897),p=o(p,h,c,u,t[e+5],12,1200080426),u=o(u,p,h,c,t[e+6],17,-1473231341),c=o(c,u,p,h,t[e+7],22,-45705983),h=o(h,c,u,p,t[e+8],7,1770035416),p=o(p,h,c,u,t[e+9],12,-1958414417),u=o(u,p,h,c,t[e+10],17,-42063),c=o(c,u,p,h,t[e+11],22,-1990404162),h=o(h,c,u,p,t[e+12],7,1804603682),p=o(p,h,c,u,t[e+13],12,-40341101),u=o(u,p,h,c,t[e+14],17,-1502002290),c=o(c,u,p,h,t[e+15],22,1236535329),h=n(h,c,u,p,t[e+1],5,-165796510),p=n(p,h,c,u,t[e+6],9,-1069501632),u=n(u,p,h,c,t[e+11],14,643717713),c=n(c,u,p,h,t[e],20,-373897302),h=n(h,c,u,p,t[e+5],5,-701558691),p=n(p,h,c,u,t[e+10],9,38016083),u=n(u,p,h,c,t[e+15],14,-660478335),c=n(c,u,p,h,t[e+4],20,-405537848),h=n(h,c,u,p,t[e+9],5,568446438),p=n(p,h,c,u,t[e+14],9,-1019803690),u=n(u,p,h,c,t[e+3],14,-187363961),c=n(c,u,p,h,t[e+8],20,1163531501),h=n(h,c,u,p,t[e+13],5,-1444681467),p=n(p,h,c,u,t[e+2],9,-51403784),u=n(u,p,h,c,t[e+7],14,1735328473),c=n(c,u,p,h,t[e+12],20,-1926607734),h=s(h,c,u,p,t[e+5],4,-378558),p=s(p,h,c,u,t[e+8],11,-2022574463),u=s(u,p,h,c,t[e+11],16,1839030562),c=s(c,u,p,h,t[e+14],23,-35309556),h=s(h,c,u,p,t[e+1],4,-1530992060),p=s(p,h,c,u,t[e+4],11,1272893353),u=s(u,p,h,c,t[e+7],16,-155497632),c=s(c,u,p,h,t[e+10],23,-1094730640),h=s(h,c,u,p,t[e+13],4,681279174),p=s(p,h,c,u,t[e],11,-358537222),u=s(u,p,h,c,t[e+3],16,-722521979),c=s(c,u,p,h,t[e+6],23,76029189),h=s(h,c,u,p,t[e+9],4,-640364487),p=s(p,h,c,u,t[e+12],11,-421815835),u=s(u,p,h,c,t[e+15],16,530742520),c=s(c,u,p,h,t[e+2],23,-995338651),h=a(h,c,u,p,t[e],6,-198630844),p=a(p,h,c,u,t[e+7],10,1126891415),u=a(u,p,h,c,t[e+14],15,-1416354905),c=a(c,u,p,h,t[e+5],21,-57434055),h=a(h,c,u,p,t[e+12],6,1700485571),p=a(p,h,c,u,t[e+3],10,-1894986606),u=a(u,p,h,c,t[e+10],15,-1051523),c=a(c,u,p,h,t[e+1],21,-2054922799),h=a(h,c,u,p,t[e+8],6,1873313359),p=a(p,h,c,u,t[e+15],10,-30611744),u=a(u,p,h,c,t[e+6],15,-1560198380),c=a(c,u,p,h,t[e+13],21,1309151649),h=a(h,c,u,p,t[e+4],6,-145523070),p=a(p,h,c,u,t[e+11],10,-1120210379),u=a(u,p,h,c,t[e+2],15,718787259),c=a(c,u,p,h,t[e+9],21,-343485551),h=r(h,i),c=r(c,l),u=r(u,m),p=r(p,g)}return[h,c,u,p]}(function(t){if(0===t.length)return[];const r=8*t.length,i=new Uint32Array(e(r));for(let e=0;e<r;e+=8)i[e>>5]|=(255&t[e/8])<<e%32;return i}(t),8*t.length))}}}),Wi=b({"../node_modules/uuid/dist/commonjs-browser/v3.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(Li()),r=i(Hi());function i(t){return t&&t.__esModule?t:{default:t}}var o=(0,e.default)("v3",48,r.default);t.default=o}}),Vi=b({"../node_modules/uuid/dist/commonjs-browser/native.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e="undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);t.default={randomUUID:e}}}),qi=b({"../node_modules/uuid/dist/commonjs-browser/v4.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=o(Vi()),r=o(xi()),i=ji();function o(t){return t&&t.__esModule?t:{default:t}}t.default=function(t,o,n){if(e.default.randomUUID&&!o&&!t)return e.default.randomUUID();const s=(t=t||{}).random||(t.rng||r.default)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,o){n=n||0;for(let t=0;t<16;++t)o[n+t]=s[t];return o}return(0,i.unsafeStringify)(s)}}}),Gi=b({"../node_modules/uuid/dist/commonjs-browser/sha1.js"(t){function e(t,e,r,i){switch(t){case 0:return e&r^~e&i;case 1:case 3:return e^r^i;case 2:return e&r^e&i^r&i}}function r(t,e){return t<<e|t>>>32-e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(t){const i=[1518500249,1859775393,2400959708,3395469782],o=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let r=0;r<e.length;++r)t.push(e.charCodeAt(r))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const n=Math.ceil((t.length/4+2)/16),s=new Array(n);for(let e=0;e<n;++e){const r=new Uint32Array(16);for(let i=0;i<16;++i)r[i]=t[64*e+4*i]<<24|t[64*e+4*i+1]<<16|t[64*e+4*i+2]<<8|t[64*e+4*i+3];s[e]=r}s[n-1][14]=8*(t.length-1)/Math.pow(2,32),s[n-1][14]=Math.floor(s[n-1][14]),s[n-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<n;++t){const n=new Uint32Array(80);for(let e=0;e<16;++e)n[e]=s[t][e];for(let t=16;t<80;++t)n[t]=r(n[t-3]^n[t-8]^n[t-14]^n[t-16],1);let a=o[0],h=o[1],c=o[2],u=o[3],p=o[4];for(let t=0;t<80;++t){const o=Math.floor(t/20),s=r(a,5)+e(o,h,c,u)+p+i[o]+n[t]>>>0;p=u,u=c,c=r(h,30)>>>0,h=a,a=s}o[0]=o[0]+a>>>0,o[1]=o[1]+h>>>0,o[2]=o[2]+c>>>0,o[3]=o[3]+u>>>0,o[4]=o[4]+p>>>0}return[o[0]>>24&255,o[0]>>16&255,o[0]>>8&255,255&o[0],o[1]>>24&255,o[1]>>16&255,o[1]>>8&255,255&o[1],o[2]>>24&255,o[2]>>16&255,o[2]>>8&255,255&o[2],o[3]>>24&255,o[3]>>16&255,o[3]>>8&255,255&o[3],o[4]>>24&255,o[4]>>16&255,o[4]>>8&255,255&o[4]]}}}),Ki=b({"../node_modules/uuid/dist/commonjs-browser/v5.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(Li()),r=i(Gi());function i(t){return t&&t.__esModule?t:{default:t}}var o=(0,e.default)("v5",80,r.default);t.default=o}}),Ji=b({"../node_modules/uuid/dist/commonjs-browser/nil.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"}}),zi=b({"../node_modules/uuid/dist/commonjs-browser/version.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=Ni())&&e.__esModule?e:{default:e};t.default=function(t){if(!(0,r.default)(t))throw TypeError("Invalid UUID");return parseInt(t.slice(14,15),16)}}}),$i=b({"../node_modules/uuid/dist/commonjs-browser/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return s.default}});var e=u(Bi()),r=u(Wi()),i=u(qi()),o=u(Ki()),n=u(Ji()),s=u(zi()),a=u(Ni()),h=u(ji()),c=u(Ui());function u(t){return t&&t.__esModule?t:{default:t}}}}),Xi=b({"../node_modules/@inrupt/solid-client-authn-core/dist/index.js"(t){var e,r=F(),i=(Ii(),e=Mi,A(a({},"__esModule",{value:!0}),e)),o=$i(),n=["ES256","RS256"],s={ERROR:"error",LOGIN:"login",LOGOUT:"logout",NEW_REFRESH_TOKEN:"newRefreshToken",SESSION_EXPIRED:"sessionExpired",SESSION_EXTENDED:"sessionExtended",SESSION_RESTORED:"sessionRestore",TIMEOUT_SET:"timeoutSet"},h=["openid","offline_access","webid"].join(" ");async function c(t,e){const i=await r.fetch(t);if(200!==i.status)throw new Error(`Could not fetch JWKS for [${e}] at [${t}]: ${i.status} ${i.statusText}`);let o;try{o=(await i.json()).keys[0]}catch(r){throw new Error(`Malformed JWKS for [${e}] at [${t}]: ${r.message}`)}return o}function u(t){try{return new URL(t),!0}catch(t){return!1}}var p=class{constructor(t,e){this.secureStorage=t,this.insecureStorage=e}getKey(t){return`solidClientAuthenticationUser:${t}`}async getUserData(t,e){const r=await(e?this.secureStorage:this.insecureStorage).get(this.getKey(t));if(void 0===r)return{};try{return JSON.parse(r)}catch(i){throw new Error(`Data for user [${t}] in [${e?"secure":"unsecure"}] storage is corrupted - expected valid JSON, but got: ${r}`)}}async setUserData(t,e,r){await(r?this.secureStorage:this.insecureStorage).set(this.getKey(t),JSON.stringify(e))}async get(t,e){const r=await((null==e?void 0:e.secure)?this.secureStorage:this.insecureStorage).get(t);if(void 0===r&&(null==e?void 0:e.errorIfNull))throw new Error(`[${t}] is not stored`);return r}async set(t,e,r){return((null==r?void 0:r.secure)?this.secureStorage:this.insecureStorage).set(t,e)}async delete(t,e){return((null==e?void 0:e.secure)?this.secureStorage:this.insecureStorage).delete(t)}async getForUser(t,e,r){const i=await this.getUserData(t,null==r?void 0:r.secure);let o;if(i&&i[e]||(o=void 0),o=i[e],void 0===o&&(null==r?void 0:r.errorIfNull))throw new Error(`Field [${e}] for user [${t}] is not stored`);return o||void 0}async setForUser(t,e,r){let i;try{i=await this.getUserData(t,null==r?void 0:r.secure)}catch(t){i={}}await this.setUserData(t,{...i,...e},null==r?void 0:r.secure)}async deleteForUser(t,e,r){const i=await this.getUserData(t,null==r?void 0:r.secure);delete i[e],await this.setUserData(t,i,null==r?void 0:r.secure)}async deleteAllUserData(t,e){await((null==e?void 0:e.secure)?this.secureStorage:this.insecureStorage).delete(this.getKey(t))}},l=class extends Error{constructor(t){super(t)}},m=class extends Error{constructor(t){super(`[${t}] is not implemented`)}},g=class extends Error{constructor(t){super(`Invalid response from OIDC provider: missing fields ${t}`),this.missingFields=t}},d=class extends Error{constructor(t,e,r){super(t),this.error=e,this.errorDescription=r}};function f(t){const e=new URL(t);return new URL(e.pathname,e.origin).toString()}async function w(t,e,r){return new i.SignJWT({htu:f(t),htm:e.toUpperCase(),jti:o.v4()}).setProtectedHeader({alg:n[0],jwk:r.publicKey,typ:"dpop+jwt"}).setIssuedAt().sign(r.privateKey,{})}async function v(t,e,i,o,n){return t(i,await async function(t,e,i,o){if(void 0!==i)return async function(t,e,i,o){var n;const s=new r.Headers(null==o?void 0:o.headers);return s.set("Authorization",`DPoP ${e}`),s.set("DPoP",await w(t,null!==(n=null==o?void 0:o.method)&&void 0!==n?n:"get",i)),{...o,headers:s}}(t,e,i,o);const n=new r.Headers(null==o?void 0:o.headers);return n.set("Authorization",`Bearer ${e}`),{...o,headers:n}}(i.toString(),e,n,o))}var y=t=>void 0!==t?t-5>0?t-5:t:600,b="getResponse",S={get:async()=>b,set:async()=>{},delete:async()=>{},getForUser:async()=>b,setForUser:async()=>{},deleteForUser:async()=>{},deleteAllUserData:async()=>{}},E=t=>{const e=t;return{get:async t=>{if(void 0!==e[t])return"string"==typeof e[t]?e[t]:JSON.stringify(e[t])},set:async(t,r)=>{e[t]=r},delete:async t=>{delete e[t]}}};t.AggregateHandler=class{constructor(t){this.handleables=t}async getProperHandler(t){const e=await Promise.all(this.handleables.map((e=>e.canHandle(...t))));for(let t=0;t<e.length;t+=1)if(e[t])return this.handleables[t];return null}async canHandle(...t){return null!==await this.getProperHandler(t)}async handle(...t){const e=await this.getProperHandler(t);if(e)return e.handle(...t);throw new Error(`[${this.constructor.name}] cannot find a suitable handler for: ${t.map((t=>{try{return JSON.stringify(t)}catch(e){return t.toString()}})).join(", ")}`)}},t.ConfigurationError=l,t.DEFAULT_SCOPES=h,t.EVENTS=s,t.InMemoryStorage=class{constructor(){this.map={}}async get(t){return this.map[t]||void 0}async set(t,e){this.map[t]=e}async delete(t){delete this.map[t]}},t.InvalidResponseError=g,t.NotImplementedError=m,t.OidcProviderError=d,t.PREFERRED_SIGNING_ALG=n,t.REFRESH_BEFORE_EXPIRATION_SECONDS=5,t.SOLID_CLIENT_AUTHN_KEY_PREFIX="solidClientAuthn:",t.StorageUtility=p,t.StorageUtilityGetResponse=b,t.StorageUtilityMock=S,t.USER_SESSION_PREFIX="solidClientAuthenticationUser",t.buildAuthenticatedFetch=async function(t,e,r){var i;let o,n=e;const a=null==r?void 0:r.refreshOptions;if(void 0!==a){const t=async()=>{var e,i,h,c;try{const{accessToken:i,refreshToken:h,expiresIn:c}=await async function(t,e,r){var i;const o=await t.tokenRefresher.refresh(t.sessionId,t.refreshToken,e);return null==r||r.emit(s.SESSION_EXTENDED,null!==(i=o.expiresIn)&&void 0!==i?i:600),"string"==typeof o.refreshToken&&(null==r||r.emit(s.NEW_REFRESH_TOKEN,o.refreshToken)),{accessToken:o.accessToken,refreshToken:o.refreshToken,expiresIn:o.expiresIn}}(a,r.dpopKey,r.eventEmitter);n=i,void 0!==h&&(a.refreshToken=h),clearTimeout(o),o=setTimeout(t,1e3*y(c)),null===(e=r.eventEmitter)||void 0===e||e.emit(s.TIMEOUT_SET,o)}catch(t){t instanceof d&&(null===(i=null==r?void 0:r.eventEmitter)||void 0===i||i.emit(s.ERROR,t.error,t.errorDescription),null===(h=null==r?void 0:r.eventEmitter)||void 0===h||h.emit(s.SESSION_EXPIRED)),t instanceof g&&t.missingFields.includes("access_token")&&(null===(c=null==r?void 0:r.eventEmitter)||void 0===c||c.emit(s.SESSION_EXPIRED))}};o=setTimeout(t,1e3*y(r.expiresIn)),null===(i=r.eventEmitter)||void 0===i||i.emit(s.TIMEOUT_SET,o)}else if(void 0!==r&&void 0!==r.eventEmitter){const t=setTimeout((()=>{r.eventEmitter.emit(s.SESSION_EXPIRED)}),1e3*y(r.expiresIn));r.eventEmitter.emit(s.TIMEOUT_SET,t)}return async(e,i)=>{let o=await v(t,n,e,i,null==r?void 0:r.dpopKey);const s=!o.ok&&![401,403].includes(o.status);return o.ok||s||o.url!==e&&void 0!==(null==r?void 0:r.dpopKey)&&(o=await v(t,n,o.url,i,r.dpopKey)),o}},t.createDpopHeader=w,t.determineSigningAlg=function(t,e){var r;return null!==(r=e.find((e=>t.includes(e))))&&void 0!==r?r:null},t.fetchJwks=c,t.generateDpopKeyPair=async function(){const{privateKey:t,publicKey:e}=await i.generateKeyPair(n[0]),r={privateKey:t,publicKey:await i.exportJWK(e)};return[r.publicKey.alg]=n,r},t.getSessionIdFromOauthState=async function(t,e){return t.getForUser(e,"sessionId")},t.getWebidFromTokenPayload=async function(t,e,r,o){const n=await c(e,r);let s;try{const{payload:e}=await i.jwtVerify(t,await i.importJWK(n),{issuer:r,audience:o});s=e}catch(t){throw new Error(`Token verification failed: ${t.stack}`)}if("string"==typeof s.webid)return s.webid;if("string"!=typeof s.sub)throw new Error(`The token ${JSON.stringify(s)} is invalid: it has no 'webid' claim and no 'sub' claim.`);try{return new URL(s.sub),s.sub}catch(t){throw new Error(`The token has no 'webid' claim, and its 'sub' claim of [${s.sub}] is invalid as a URL - error [${t}].`)}},t.handleRegistration=async function(t,e,r,i){const o=function(t,e){return void 0===t.clientId||u(t.clientId)?e.scopesSupported.includes("webid")&&void 0!==t.clientId&&u(t.clientId)?"solid-oidc":"dynamic":"static"}(t,e);return"dynamic"===o?i.getClient({sessionId:t.sessionId,clientName:t.clientName,redirectUrl:t.redirectUrl},e):(await r.setForUser(t.sessionId,{clientId:t.clientId}),t.clientSecret&&await r.setForUser(t.sessionId,{clientSecret:t.clientSecret}),t.clientName&&await r.setForUser(t.sessionId,{clientName:t.clientName}),{clientId:t.clientId,clientSecret:t.clientSecret,clientName:t.clientName,clientType:o})},t.isSupportedTokenType=function(t){return"string"==typeof t&&["DPoP","Bearer"].includes(t)},t.isValidRedirectUrl=function(t){try{return""===new URL(t).hash}catch(t){return!1}},t.loadOidcContextFromStorage=async function(t,e,r){try{const[i,o,n,s]=await Promise.all([e.getForUser(t,"issuer",{errorIfNull:!0}),e.getForUser(t,"codeVerifier"),e.getForUser(t,"redirectUrl"),e.getForUser(t,"dpop",{errorIfNull:!0})]);return await e.deleteForUser(t,"codeVerifier"),{codeVerifier:o,redirectUrl:n,issuerConfig:await r.fetchConfig(i),dpop:"true"===s}}catch(e){throw new Error(`Failed to retrieve OIDC context from storage associated with session [${t}]: ${e}`)}},t.mockStorage=E,t.mockStorageUtility=(t,e=!1)=>e?new p(E(t),E({})):new p(E({}),E(t)),t.saveSessionInfoToStorage=async function(t,e,r,o,n,s,a){void 0!==n&&await t.setForUser(e,{refreshToken:n},{secure:s}),void 0!==r&&await t.setForUser(e,{webId:r},{secure:s}),void 0!==o&&await t.setForUser(e,{isLoggedIn:o},{secure:s}),void 0!==a&&await t.setForUser(e,{publicKey:JSON.stringify(a.publicKey),privateKey:JSON.stringify(await i.exportJWK(a.privateKey))},{secure:s})}}}),Qi=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/storage/StorageUtility.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi();t.default=class extends e.StorageUtility{constructor(t,e){super(t,e)}}}}),Yi=b({"../node_modules/@inrupt/oidc-client/lib/oidc-client.min.js"(t,e){!function(r,i){if("object"==typeof t&&"object"==typeof e)e.exports=i();else if("function"==typeof define&&define.amd)define([],i);else{var o=i();for(var n in o)("object"==typeof t?t:r)[n]=o[n]}}(t,(function(){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var o=e[i]={i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,i){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(i,o,function(e){return t[e]}.bind(null,o));return i},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=22)}([function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),i={debug:function(){},info:function(){},warn:function(){},error:function(){}},o=void 0,n=void 0;(e.Log=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.reset=function(){n=3,o=i},t.debug=function(){if(n>=4){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];o.debug.apply(o,Array.from(e))}},t.info=function(){if(n>=3){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];o.info.apply(o,Array.from(e))}},t.warn=function(){if(n>=2){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];o.warn.apply(o,Array.from(e))}},t.error=function(){if(n>=1){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];o.error.apply(o,Array.from(e))}},r(t,null,[{key:"NONE",get:function(){return 0}},{key:"ERROR",get:function(){return 1}},{key:"WARN",get:function(){return 2}},{key:"INFO",get:function(){return 3}},{key:"DEBUG",get:function(){return 4}},{key:"level",get:function(){return n},set:function(t){if(!(0<=t&&t<=4))throw new Error("Invalid log level");n=t}},{key:"logger",get:function(){return o},set:function(t){if(!t.debug&&t.info&&(t.debug=t.info),!(t.debug&&t.info&&t.warn&&t.error))throw new Error("Invalid logger");o=t}}]),t}()).reset()},function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),i={setInterval:function(t){function e(e,r){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t,e){return setInterval(t,e)})),clearInterval:function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(t){return clearInterval(t)}))},o=!1,n=null;e.Global=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t._testing=function(){o=!0},t.setXMLHttpRequest=function(t){n=t},r(t,null,[{key:"location",get:function(){if(!o)return location}},{key:"localStorage",get:function(){if(!o&&"undefined"!=typeof window)return localStorage}},{key:"sessionStorage",get:function(){if(!o&&"undefined"!=typeof window)return sessionStorage}},{key:"XMLHttpRequest",get:function(){if(!o&&"undefined"!=typeof window)return n||XMLHttpRequest}},{key:"timer",get:function(){if(!o)return i}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.MetadataService=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(7);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=".well-known/openid-configuration";e.MetadataService=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.JsonService;if(s(this,t),!e)throw o.Log.error("MetadataService: No settings passed to MetadataService"),new Error("settings");this._settings=e,this._jsonService=new r(["application/jwk-set+json"])}return t.prototype.resetSigningKeys=function(){this._settings=this._settings||{},this._settings.signingKeys=void 0},t.prototype.getMetadata=function(){var t=this;return this._settings.metadata?(o.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(o.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then((function(e){return o.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=Object.assign({},t._settings.metadataSeed||{},e),t._settings.metadata}))):(o.Log.error("MetadataService.getMetadata: No authority or metadataUrl configured on settings"),Promise.reject(new Error("No authority or metadataUrl configured on settings")))},t.prototype.getIssuer=function(){return this._getMetadataProperty("issuer")},t.prototype.getAuthorizationEndpoint=function(){return this._getMetadataProperty("authorization_endpoint")},t.prototype.getUserInfoEndpoint=function(){return this._getMetadataProperty("userinfo_endpoint")},t.prototype.getTokenEndpoint=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._getMetadataProperty("token_endpoint",t)},t.prototype.getCheckSessionIframe=function(){return this._getMetadataProperty("check_session_iframe",!0)},t.prototype.getEndSessionEndpoint=function(){return this._getMetadataProperty("end_session_endpoint",!0)},t.prototype.getRevocationEndpoint=function(){return this._getMetadataProperty("revocation_endpoint",!0)},t.prototype.getKeysEndpoint=function(){return this._getMetadataProperty("jwks_uri",!0)},t.prototype._getMetadataProperty=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return o.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then((function(r){if(o.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===r[t]){if(!0===e)return void o.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw o.Log.error("MetadataService.getMetadataProperty: Metadata does not contain property "+t),new Error("Metadata does not contain property "+t)}return r[t]}))},t.prototype.getSigningKeys=function(){var t=this;return this._settings.signingKeys?(o.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then((function(e){return o.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then((function(e){if(o.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw o.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys}))}))},i(t,[{key:"metadataUrl",get:function(){return this._metadataUrl||(this._settings.metadataUrl?this._metadataUrl=this._settings.metadataUrl:(this._metadataUrl=this._settings.authority,this._metadataUrl&&this._metadataUrl.indexOf(a)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=a))),this._metadataUrl}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UrlUtility=void 0;var i=r(0),o=r(1);e.UrlUtility=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.addQueryParam=function(t,e,r){return t.indexOf("?")<0&&(t+="?"),"?"!==t[t.length-1]&&(t+="&"),t+=encodeURIComponent(e),(t+="=")+encodeURIComponent(r)},t.parseUrlFragment=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.Global;"string"!=typeof t&&(t=r.location.href);var n=t.lastIndexOf(e);n>=0&&(t=t.substr(n+1)),"?"===e&&(n=t.indexOf("#"))>=0&&(t=t.substr(0,n));for(var s,a={},h=/([^&=]+)=([^&]*)/g,c=0;s=h.exec(t);)if(a[decodeURIComponent(s[1])]=decodeURIComponent(s[2].replace(/\+/g," ")),c++>50)return i.Log.error("UrlUtility.parseUrlFragment: response exceeded expected number of parameters",t),{error:"Response exceeded expected number of parameters"};for(var u in a)return a;return{}},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.JoseUtil=void 0;var i,o=r(26),n=(i=r(33))&&i.__esModule?i:{default:i};e.JoseUtil=(0,n.default)({jws:o.jws,KeyUtil:o.KeyUtil,X509:o.X509,crypto:o.crypto,hextob64u:o.hextob64u,b64tohex:o.b64tohex,AllowedSigningAlgs:o.AllowedSigningAlgs})},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(0),s=r(23),a=r(6),h=r(24),c=r(2);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var p=".well-known/openid-configuration",l="id_token",m="openid",g="client_secret_post";e.OidcClientSettings=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.authority,o=e.metadataUrl,n=e.metadata,p=e.signingKeys,d=e.metadataSeed,f=e.client_id,w=e.client_secret,v=e.response_type,y=void 0===v?l:v,b=e.scope,S=void 0===b?m:b,A=e.redirect_uri,E=e.post_logout_redirect_uri,C=e.client_authentication,P=void 0===C?g:C,F=e.prompt,k=e.display,T=e.max_age,R=e.ui_locales,O=e.acr_values,D=e.resource,M=e.response_mode,I=e.filterProtocolClaims,x=void 0===I||I,_=e.loadUserInfo,N=void 0===_||_,j=e.staleStateAge,B=void 0===j?900:j,U=e.clockSkew,L=void 0===U?300:U,H=e.clockService,W=void 0===H?new s.ClockService:H,V=e.userInfoJwtIssuer,q=void 0===V?"OP":V,G=e.mergeClaims,K=void 0!==G&&G,J=e.stateStore,z=void 0===J?new a.WebStorageStateStore:J,$=e.ResponseValidatorCtor,X=void 0===$?h.ResponseValidator:$,Q=e.MetadataServiceCtor,Y=void 0===Q?c.MetadataService:Q,Z=e.extraQueryParams,tt=void 0===Z?{}:Z,et=e.extraTokenParams,rt=void 0===et?{}:et;u(this,t),this._authority=r,this._metadataUrl=o,this._metadata=n,this._metadataSeed=d,this._signingKeys=p,this._client_id=f,this._client_secret=w,this._response_type=y,this._scope=S,this._redirect_uri=A,this._post_logout_redirect_uri=E,this._client_authentication=P,this._prompt=F,this._display=k,this._max_age=T,this._ui_locales=R,this._acr_values=O,this._resource=D,this._response_mode=M,this._filterProtocolClaims=!!x,this._loadUserInfo=!!N,this._staleStateAge=B,this._clockSkew=L,this._clockService=W,this._userInfoJwtIssuer=q,this._mergeClaims=!!K,this._stateStore=z,this._validator=new X(this),this._metadataService=new Y(this),this._extraQueryParams="object"===(void 0===tt?"undefined":i(tt))?tt:{},this._extraTokenParams="object"===(void 0===rt?"undefined":i(rt))?rt:{}}return t.prototype.getEpochTime=function(){return this._clockService.getEpochTime()},o(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw n.Log.error("OidcClientSettings.set_client_id: client_id has already been assigned."),new Error("client_id has already been assigned.");this._client_id=t}},{key:"client_secret",get:function(){return this._client_secret}},{key:"response_type",get:function(){return this._response_type}},{key:"scope",get:function(){return this._scope}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"post_logout_redirect_uri",get:function(){return this._post_logout_redirect_uri}},{key:"client_authentication",get:function(){return this._client_authentication}},{key:"prompt",get:function(){return this._prompt}},{key:"display",get:function(){return this._display}},{key:"max_age",get:function(){return this._max_age}},{key:"ui_locales",get:function(){return this._ui_locales}},{key:"acr_values",get:function(){return this._acr_values}},{key:"resource",get:function(){return this._resource}},{key:"response_mode",get:function(){return this._response_mode}},{key:"authority",get:function(){return this._authority},set:function(t){if(this._authority)throw n.Log.error("OidcClientSettings.set_authority: authority has already been assigned."),new Error("authority has already been assigned.");this._authority=t}},{key:"metadataUrl",get:function(){return this._metadataUrl||(this._metadataUrl=this.authority,this._metadataUrl&&this._metadataUrl.indexOf(p)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=p)),this._metadataUrl}},{key:"metadata",get:function(){return this._metadata},set:function(t){this._metadata=t}},{key:"metadataSeed",get:function(){return this._metadataSeed},set:function(t){this._metadataSeed=t}},{key:"signingKeys",get:function(){return this._signingKeys},set:function(t){this._signingKeys=t}},{key:"filterProtocolClaims",get:function(){return this._filterProtocolClaims}},{key:"loadUserInfo",get:function(){return this._loadUserInfo}},{key:"staleStateAge",get:function(){return this._staleStateAge}},{key:"clockSkew",get:function(){return this._clockSkew}},{key:"userInfoJwtIssuer",get:function(){return this._userInfoJwtIssuer}},{key:"mergeClaims",get:function(){return this._mergeClaims}},{key:"stateStore",get:function(){return this._stateStore}},{key:"validator",get:function(){return this._validator}},{key:"metadataService",get:function(){return this._metadataService}},{key:"extraQueryParams",get:function(){return this._extraQueryParams},set:function(t){this._extraQueryParams="object"===(void 0===t?"undefined":i(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":i(t))?t:{}}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var i=r(0),o=r(1);function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.WebStorageStateStore=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.prefix,i=void 0===r?"oidc.":r,s=e.store,a=void 0===s?o.Global.localStorage:s;n(this,t),this._store=a,this._prefix=i}return t.prototype.set=function(t,e){return i.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){i.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){i.Log.debug("WebStorageStateStore.remove",t);var e=this._store.getItem(t=this._prefix+t);return this._store.removeItem(t),Promise.resolve(e)},t.prototype.getAllKeys=function(){i.Log.debug("WebStorageStateStore.getAllKeys");for(var t=[],e=0;e<this._store.length;e++){var r=this._store.key(e);0===r.indexOf(this._prefix)&&t.push(r.substr(this._prefix.length))}return Promise.resolve(t)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.JsonService=void 0;var i=r(0),o=r(1);function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.JsonService=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;n(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),i&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=r,this._jwtHandler=i}return t.prototype.getJson=function(t,e){var r=this;if(!t)throw i.Log.error("JsonService.getJson: No url passed"),new Error("url");return i.Log.debug("JsonService.getJson, url: ",t),new Promise((function(o,n){var s=new r._XMLHttpRequest;s.open("GET",t);var a=r._contentTypes,h=r._jwtHandler;s.onload=function(){if(i.Log.debug("JsonService.getJson: HTTP response received, status",s.status),200===s.status){var e=s.getResponseHeader("Content-Type");if(e){var r=a.find((function(t){if(e.startsWith(t))return!0}));if("application/jwt"==r)return void h(s).then(o,n);if(r)try{return void o(JSON.parse(s.responseText))}catch(t){return i.Log.error("JsonService.getJson: Error parsing JSON response",t.message),void n(t)}}n(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else n(Error(s.statusText+" ("+s.status+")"))},s.onerror=function(){i.Log.error("JsonService.getJson: network error"),n(Error("Network Error"))},e&&(i.Log.debug("JsonService.getJson: token passed, setting Authorization header"),s.setRequestHeader("Authorization","Bearer "+e)),s.send()}))},t.prototype.postForm=function(t,e,r){var o=this;if(!t)throw i.Log.error("JsonService.postForm: No url passed"),new Error("url");return i.Log.debug("JsonService.postForm, url: ",t),new Promise((function(n,s){var a=new o._XMLHttpRequest;a.open("POST",t);var h=o._contentTypes;a.onload=function(){if(i.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(r=a.getResponseHeader("Content-Type"))&&h.find((function(t){if(r.startsWith(t))return!0})))try{var e=JSON.parse(a.responseText);if(e&&e.error)return i.Log.error("JsonService.postForm: Error from server: ",e.error),void s(new Error(e.error))}catch(t){return i.Log.error("JsonService.postForm: Error parsing JSON response",t.message),void s(t)}s(Error(a.statusText+" ("+a.status+")"))}else{var r;if((r=a.getResponseHeader("Content-Type"))&&h.find((function(t){if(r.startsWith(t))return!0})))try{return void n(JSON.parse(a.responseText))}catch(t){return i.Log.error("JsonService.postForm: Error parsing JSON response",t.message),void s(t)}s(Error("Invalid response Content-Type: "+r+", from URL: "+t))}},a.onerror=function(){i.Log.error("JsonService.postForm: network error"),s(Error("Network Error"))};var c="";for(var u in e){var p=e[u];p&&(c.length>0&&(c+="&"),c+=encodeURIComponent(u),c+="=",c+=encodeURIComponent(p))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void 0!==r&&a.setRequestHeader("Authorization","Basic "+btoa(r)),a.send(c)}))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var i=r(0),o=r(3),n=r(13);e.SigninRequest=function(){function t(e){var r=e.url,s=e.client_id,a=e.redirect_uri,h=e.response_type,c=e.scope,u=e.authority,p=e.data,l=e.prompt,m=e.display,g=e.max_age,d=e.ui_locales,f=e.id_token_hint,w=e.login_hint,v=e.acr_values,y=e.resource,b=e.response_mode,S=e.request,A=e.request_uri,E=e.extraQueryParams,C=e.request_type,P=e.client_secret,F=e.extraTokenParams,k=e.skipUserInfo;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!r)throw i.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!s)throw i.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw i.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!h)throw i.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!c)throw i.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!u)throw i.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var T=t.isOidc(h),R=t.isCode(h);b||(b=t.isCode(h)?"query":null),this.state=new n.SigninState({nonce:T,data:p,client_id:s,authority:u,redirect_uri:a,code_verifier:R,request_type:C,response_mode:b,client_secret:P,scope:c,extraTokenParams:F,skipUserInfo:k}),r=o.UrlUtility.addQueryParam(r,"client_id",s),r=o.UrlUtility.addQueryParam(r,"redirect_uri",a),r=o.UrlUtility.addQueryParam(r,"response_type",h),r=o.UrlUtility.addQueryParam(r,"scope",c),r=o.UrlUtility.addQueryParam(r,"state",this.state.id),T&&(r=o.UrlUtility.addQueryParam(r,"nonce",this.state.nonce)),R&&(r=o.UrlUtility.addQueryParam(r,"code_challenge",this.state.code_challenge),r=o.UrlUtility.addQueryParam(r,"code_challenge_method","S256"));var O={prompt:l,display:m,max_age:g,ui_locales:d,id_token_hint:f,login_hint:w,acr_values:v,resource:y,request:S,request_uri:A,response_mode:b};for(var D in O)O[D]&&(r=o.UrlUtility.addQueryParam(r,D,O[D]));for(var M in E)r=o.UrlUtility.addQueryParam(r,M,E[M]);this.url=r}return t.isOidc=function(t){return!!t.split(/\s+/g).filter((function(t){return"id_token"===t}))[0]},t.isOAuth=function(t){return!!t.split(/\s+/g).filter((function(t){return"token"===t}))[0]},t.isCode=function(t){return!!t.split(/\s+/g).filter((function(t){return"code"===t}))[0]},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.State=void 0;var i,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(0),s=(i=r(14))&&i.__esModule?i:{default:i};function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.State=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id,i=e.data,o=e.created,n=e.request_type;a(this,t),this._id=r||(0,s.default)(),this._data=i,this._created="number"==typeof o&&o>0?o:parseInt(Date.now()/1e3),this._request_type=n}return t.prototype.toStorageString=function(){return n.Log.debug("State.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type})},t.fromStorageString=function(e){return n.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,r){var i=Date.now()/1e3-r;return e.getAllKeys().then((function(r){n.Log.debug("State.clearStaleState: got keys",r);for(var o=[],s=function(s){var a=r[s];h=e.get(a).then((function(r){var o=!1;if(r)try{var s=t.fromStorageString(r);n.Log.debug("State.clearStaleState: got item from key: ",a,s.created),s.created<=i&&(o=!0)}catch(t){n.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),o=!0}else n.Log.debug("State.clearStaleState: no item in storage for key: ",a),o=!0;if(o)return n.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)})),o.push(h)},a=0;a<r.length;a++){var h;s(a)}return n.Log.debug("State.clearStaleState: waiting on promise count:",o.length),Promise.all(o)}))},o(t,[{key:"id",get:function(){return this._id}},{key:"data",get:function(){return this._data}},{key:"created",get:function(){return this._created}},{key:"request_type",get:function(){return this._request_type}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClient=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(5),s=r(12),a=r(8),h=r(34),c=r(35),u=r(36),p=r(13),l=r(9);function m(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.OidcClient=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};m(this,t),this._settings=e instanceof n.OidcClientSettings?e:new n.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.response_type,i=e.scope,n=e.redirect_uri,s=e.data,h=e.state,c=e.prompt,u=e.display,p=e.max_age,l=e.ui_locales,m=e.id_token_hint,g=e.login_hint,d=e.acr_values,f=e.resource,w=e.request,v=e.request_uri,y=e.response_mode,b=e.extraQueryParams,S=e.extraTokenParams,A=e.request_type,E=e.skipUserInfo,C=arguments[1];o.Log.debug("OidcClient.createSigninRequest");var P=this._settings.client_id;i=i||this._settings.scope,n=n||this._settings.redirect_uri,c=c||this._settings.prompt,u=u||this._settings.display,p=p||this._settings.max_age,l=l||this._settings.ui_locales,d=d||this._settings.acr_values,f=f||this._settings.resource,y=y||this._settings.response_mode,b=b||this._settings.extraQueryParams,S=S||this._settings.extraTokenParams;var F=this._settings.authority;return a.SigninRequest.isCode(r=r||this._settings.response_type)&&"code"!==r?Promise.reject(new Error("OpenID Connect hybrid flow is not supported")):this._metadataService.getAuthorizationEndpoint().then((function(e){o.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var k=new a.SigninRequest({url:e,client_id:P,redirect_uri:n,response_type:r,scope:i,data:s||h,authority:F,prompt:c,display:u,max_age:p,ui_locales:l,id_token_hint:m,login_hint:g,acr_values:d,resource:f,request:w,request_uri:v,extraQueryParams:b,extraTokenParams:S,request_type:A,response_mode:y,client_secret:t._settings.client_secret,skipUserInfo:E}),T=k.state;return(C=C||t._stateStore).set(T.id,T.toStorageString()).then((function(){return k}))}))},t.prototype.readSigninResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o.Log.debug("OidcClient.readSigninResponseState");var i="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type),n=i?"?":"#",s=new h.SigninResponse(t,n);if(!s.state)return o.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response"));e=e||this._stateStore;var c=r?e.remove.bind(e):e.get.bind(e);return c(s.state).then((function(t){if(!t)throw o.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:p.SigninState.fromStorageString(t),response:s}}))},t.prototype.processSigninResponse=function(t,e){var r=this;return o.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then((function(t){var e=t.state,i=t.response;return o.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),r._validator.validateSigninResponse(e,i)}))},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id_token_hint,i=e.data,n=e.state,s=e.post_logout_redirect_uri,a=e.extraQueryParams,h=e.request_type,u=arguments[1];return o.Log.debug("OidcClient.createSignoutRequest"),s=s||this._settings.post_logout_redirect_uri,a=a||this._settings.extraQueryParams,this._metadataService.getEndSessionEndpoint().then((function(e){if(!e)throw o.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");o.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var p=new c.SignoutRequest({url:e,id_token_hint:r,post_logout_redirect_uri:s,data:i||n,extraQueryParams:a,request_type:h}),l=p.state;return l&&(o.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(u=u||t._stateStore).set(l.id,l.toStorageString())),p}))},t.prototype.readSignoutResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];o.Log.debug("OidcClient.readSignoutResponseState");var i=new u.SignoutResponse(t);if(!i.state)return o.Log.debug("OidcClient.readSignoutResponseState: No state in response"),i.error?(o.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",i.error),Promise.reject(new s.ErrorResponse(i))):Promise.resolve({state:void 0,response:i});var n=i.state;e=e||this._stateStore;var a=r?e.remove.bind(e):e.get.bind(e);return a(n).then((function(t){if(!t)throw o.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:l.State.fromStorageString(t),response:i}}))},t.prototype.processSignoutResponse=function(t,e){var r=this;return o.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then((function(t){var e=t.state,i=t.response;return e?(o.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),r._validator.validateSignoutResponse(e,i)):(o.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),i)}))},t.prototype.clearStaleState=function(t){return o.Log.debug("OidcClient.clearStaleState"),l.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},i(t,[{key:"_stateStore",get:function(){return this.settings.stateStore}},{key:"_validator",get:function(){return this.settings.validator}},{key:"_metadataService",get:function(){return this.settings.metadataService}},{key:"settings",get:function(){return this._settings}},{key:"metadataService",get:function(){return this._metadataService}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.TokenClient=void 0;var i=r(7),o=r(2),n=r(0);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.TokenClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.MetadataService;if(s(this,t),!e)throw n.Log.error("TokenClient.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new r,this._metadataService=new a(this._settings)}return t.prototype.exchangeCode=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).grant_type=e.grant_type||"authorization_code",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret,e.redirect_uri=e.redirect_uri||this._settings.redirect_uri;var r=void 0,i=e._client_authentication||this._settings._client_authentication;return delete e._client_authentication,e.code?e.redirect_uri?e.code_verifier?e.client_id?e.client_secret||"client_secret_basic"!=i?("client_secret_basic"==i&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(i){return n.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(i,e,r).then((function(t){return n.Log.debug("TokenClient.exchangeCode: response received"),t}))}))):(n.Log.error("TokenClient.exchangeCode: No client_secret passed"),Promise.reject(new Error("A client_secret is required"))):(n.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(n.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(n.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(n.Log.error("TokenClient.exchangeCode: No code passed"),Promise.reject(new Error("A code is required")))},t.prototype.exchangeRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).grant_type=e.grant_type||"refresh_token",e.client_id=e.client_id||this._settings.client_id,e.client_secret=e.client_secret||this._settings.client_secret;var r=void 0,i=e._client_authentication||this._settings._client_authentication;return delete e._client_authentication,e.refresh_token?e.client_id?("client_secret_basic"==i&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(i){return n.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(i,e,r).then((function(t){return n.Log.debug("TokenClient.exchangeRefreshToken: response received"),t}))}))):(n.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(n.Log.error("TokenClient.exchangeRefreshToken: No refresh_token passed"),Promise.reject(new Error("A refresh_token is required")))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorResponse=void 0;var i=r(0);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.ErrorResponse=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=r.error,a=r.error_description,h=r.error_uri,c=r.state,u=r.session_state;if(o(this,e),!s)throw i.Log.error("No error passed to ErrorResponse"),new Error("error");var p=n(this,t.call(this,a||s));return p.name="ErrorResponse",p.error=s,p.error_description=a,p.error_uri=h,p.state=c,p.session_state=u,p}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(Error)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SigninState=void 0;var i,o=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),n=r(0),s=r(9),a=r(4),h=(i=r(14))&&i.__esModule?i:{default:i};function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.SigninState=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.nonce,o=r.authority,n=r.client_id,s=r.redirect_uri,p=r.code_verifier,l=r.response_mode,m=r.client_secret,g=r.scope,d=r.extraTokenParams,f=r.skipUserInfo;c(this,e);var w=u(this,t.call(this,arguments[0]));if(!0===i?w._nonce=(0,h.default)():i&&(w._nonce=i),!0===p?w._code_verifier=(0,h.default)()+(0,h.default)()+(0,h.default)():p&&(w._code_verifier=p),w.code_verifier){var v=a.JoseUtil.hashString(w.code_verifier,"SHA256");w._code_challenge=a.JoseUtil.hexToBase64Url(v)}return w._redirect_uri=s,w._authority=o,w._client_id=n,w._response_mode=l,w._client_secret=m,w._scope=g,w._extraTokenParams=d,w._skipUserInfo=f,w}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.toStorageString=function(){return n.Log.debug("SigninState.toStorageString"),JSON.stringify({id:this.id,data:this.data,created:this.created,request_type:this.request_type,nonce:this.nonce,code_verifier:this.code_verifier,redirect_uri:this.redirect_uri,authority:this.authority,client_id:this.client_id,response_mode:this.response_mode,client_secret:this.client_secret,scope:this.scope,extraTokenParams:this.extraTokenParams,skipUserInfo:this.skipUserInfo})},e.fromStorageString=function(t){return n.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},o(e,[{key:"nonce",get:function(){return this._nonce}},{key:"authority",get:function(){return this._authority}},{key:"client_id",get:function(){return this._client_id}},{key:"redirect_uri",get:function(){return this._redirect_uri}},{key:"code_verifier",get:function(){return this._code_verifier}},{key:"code_challenge",get:function(){return this._code_challenge}},{key:"response_mode",get:function(){return this._response_mode}},{key:"client_secret",get:function(){return this._client_secret}},{key:"scope",get:function(){return this._scope}},{key:"extraTokenParams",get:function(){return this._extraTokenParams}},{key:"skipUserInfo",get:function(){return this._skipUserInfo}}]),e}(s.State)},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return("undefined"!=r&&null!==r&&void 0!==r.getRandomValues?i:o)().replace(/-/g,"")};var r="undefined"!=typeof window?window.crypto||window.msCrypto:null;function i(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^r.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)}))}function o(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(function(t){return(t^16*Math.random()>>t/4).toString(16)}))}t.exports=e.default},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.User=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0);e.User=function(){function t(e){var r=e.id_token,i=e.session_state,o=e.access_token,n=e.refresh_token,s=e.token_type,a=e.scope,h=e.profile,c=e.expires_at,u=e.state;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.id_token=r,this.session_state=i,this.access_token=o,this.refresh_token=n,this.token_type=s,this.scope=a,this.profile=h,this.expires_at=c,this.state=u}return t.prototype.toStorageString=function(){return o.Log.debug("User.toStorageString"),JSON.stringify({id_token:this.id_token,session_state:this.session_state,access_token:this.access_token,refresh_token:this.refresh_token,token_type:this.token_type,scope:this.scope,profile:this.profile,expires_at:this.expires_at})},t.fromStorageString=function(e){return o.Log.debug("User.fromStorageString"),new t(JSON.parse(e))},i(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var r=parseInt(Date.now()/1e3);this.expires_at=r+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.AccessTokenEvents=void 0;var i=r(0),o=r(46);function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.AccessTokenEvents=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.accessTokenExpiringNotificationTime,i=void 0===r?60:r,s=e.accessTokenExpiringTimer,a=void 0===s?new o.Timer("Access token expiring"):s,h=e.accessTokenExpiredTimer,c=void 0===h?new o.Timer("Access token expired"):h;n(this,t),this._accessTokenExpiringNotificationTime=i,this._accessTokenExpiring=a,this._accessTokenExpired=c}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(i.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var r=e-this._accessTokenExpiringNotificationTime;r<=0&&(r=1),i.Log.debug("AccessTokenEvents.load: registering expiring timer in:",r),this._accessTokenExpiring.init(r)}else i.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var o=e+1;i.Log.debug("AccessTokenEvents.load: registering expired timer in:",o),this._accessTokenExpired.init(o)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){i.Log.debug("AccessTokenEvents.unload: canceling existing access token timers"),this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.addAccessTokenExpiring=function(t){this._accessTokenExpiring.addHandler(t)},t.prototype.removeAccessTokenExpiring=function(t){this._accessTokenExpiring.removeHandler(t)},t.prototype.addAccessTokenExpired=function(t){this._accessTokenExpired.addHandler(t)},t.prototype.removeAccessTokenExpired=function(t){this._accessTokenExpired.removeHandler(t)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Event=void 0;var i=r(0);e.Event=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._name=e,this._callbacks=[]}return t.prototype.addHandler=function(t){this._callbacks.push(t)},t.prototype.removeHandler=function(t){var e=this._callbacks.findIndex((function(e){return e===t}));e>=0&&this._callbacks.splice(e,1)},t.prototype.raise=function(){i.Log.debug("Event: Raising event: "+this._name);for(var t=0;t<this._callbacks.length;t++){var e;(e=this._callbacks)[t].apply(e,arguments)}},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SessionMonitor=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(19),s=r(1);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.SessionMonitor=function(){function t(e){var r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.CheckSessionIFrame,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global.timer;if(a(this,t),!e)throw o.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=i,this._timer=h,this._userManager.events.addUserLoaded(this._start.bind(this)),this._userManager.events.addUserUnloaded(this._stop.bind(this)),Promise.resolve(this._userManager.getUser().then((function(t){t?r._start(t):r._settings.monitorAnonymousSession&&r._userManager.querySessionStatus().then((function(t){var e={session_state:t.session_state};t.sub&&t.sid&&(e.profile={sub:t.sub,sid:t.sid}),r._start(e)})).catch((function(t){o.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)}))})).catch((function(t){o.Log.error("SessionMonitor ctor: error from getUser:",t.message)})))}return t.prototype._start=function(t){var e=this,r=t.session_state;r&&(t.profile?(this._sub=t.profile.sub,this._sid=t.profile.sid,o.Log.debug("SessionMonitor._start: session_state:",r,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,o.Log.debug("SessionMonitor._start: session_state:",r,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(r):this._metadataService.getCheckSessionIframe().then((function(t){if(t){o.Log.debug("SessionMonitor._start: Initializing check session iframe");var i=e._client_id,n=e._checkSessionInterval,s=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),i,t,n,s),e._checkSessionIFrame.load().then((function(){e._checkSessionIFrame.start(r)}))}else o.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")})).catch((function(t){o.Log.error("SessionMonitor._start: Error from getCheckSessionIframe:",t.message)})))},t.prototype._stop=function(){var t=this;if(this._sub=void 0,this._sid=void 0,this._checkSessionIFrame&&(o.Log.debug("SessionMonitor._stop"),this._checkSessionIFrame.stop()),this._settings.monitorAnonymousSession)var e=this._timer.setInterval((function(){t._timer.clearInterval(e),t._userManager.querySessionStatus().then((function(e){var r={session_state:e.session_state};e.sub&&e.sid&&(r.profile={sub:e.sub,sid:e.sid}),t._start(r)})).catch((function(t){o.Log.error("SessionMonitor: error from querySessionStatus:",t.message)}))}),1e3)},t.prototype._callback=function(){var t=this;this._userManager.querySessionStatus().then((function(e){var r=!0;e?e.sub===t._sub?(r=!1,t._checkSessionIFrame.start(e.session_state),e.sid===t._sid?o.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(o.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, session state has changed, restarting check session iframe; session_state:",e.session_state),t._userManager.events._raiseUserSessionChanged())):o.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):o.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),r&&(t._sub?(o.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(o.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))})).catch((function(e){t._sub&&(o.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())}))},i(t,[{key:"_settings",get:function(){return this._userManager.settings}},{key:"_metadataService",get:function(){return this._userManager.metadataService}},{key:"_client_id",get:function(){return this._settings.client_id}},{key:"_checkSessionInterval",get:function(){return this._settings.checkSessionInterval}},{key:"_stopCheckSessionOnError",get:function(){return this._settings.stopCheckSessionOnError}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CheckSessionIFrame=void 0;var i=r(0);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.CheckSessionIFrame=function(){function t(e,r,i,n){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];o(this,t),this._callback=e,this._client_id=r,this._url=i,this._interval=n||2e3,this._stopOnError=s;var a=i.indexOf("/",i.indexOf("//")+2);this._frame_origin=i.substr(0,a),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.style.display="none",this._frame.width=0,this._frame.height=0,this._frame.src=i}return t.prototype.load=function(){var t=this;return new Promise((function(e){t._frame.onload=function(){e()},window.document.body.appendChild(t._frame),t._boundMessageEvent=t._message.bind(t),window.addEventListener("message",t._boundMessageEvent,!1)}))},t.prototype._message=function(t){t.origin===this._frame_origin&&t.source===this._frame.contentWindow&&("error"===t.data?(i.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(i.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):i.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){i.Log.debug("CheckSessionIFrame.start"),this.stop(),this._session_state=t;var r=function(){e._frame.contentWindow.postMessage(e._client_id+" "+e._session_state,e._frame_origin)};r(),this._timer=window.setInterval(r,this._interval)}},t.prototype.stop=function(){this._session_state=null,this._timer&&(i.Log.debug("CheckSessionIFrame.stop"),window.clearInterval(this._timer),this._timer=null)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.TokenRevocationClient=void 0;var i=r(0),o=r(2),n=r(1);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a="access_token",h="refresh_token";e.TokenRevocationClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.MetadataService;if(s(this,t),!e)throw i.Log.error("TokenRevocationClient.ctor: No settings provided"),new Error("No settings provided.");this._settings=e,this._XMLHttpRequestCtor=r,this._metadataService=new a(this._settings)}return t.prototype.revoke=function(t,e){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw i.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if(o!==a&&o!=h)throw i.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then((function(n){if(n)return i.Log.debug("TokenRevocationClient.revoke: Revoking "+o),r._revoke(n,r._settings.client_id,r._settings.client_secret,t,o);if(e)throw i.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")}))},t.prototype._revoke=function(t,e,r,o,n){var s=this;return new Promise((function(a,h){var c=new s._XMLHttpRequestCtor;c.open("POST",t),c.onload=function(){i.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",c.status),200===c.status?a():h(Error(c.statusText+" ("+c.status+")"))},c.onerror=function(){i.Log.debug("TokenRevocationClient.revoke: Network Error."),h("Network Error")};var u="client_id="+encodeURIComponent(e);r&&(u+="&client_secret="+encodeURIComponent(r)),u+="&token_type_hint="+encodeURIComponent(n),u+="&token="+encodeURIComponent(o),c.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),c.send(u)}))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0);e.CordovaPopupWindow=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._promise=new Promise((function(t,e){r._resolve=t,r._reject=e})),this.features=e.popupWindowFeatures||"location=no,toolbar=no,zoom=no",this.target=e.popupWindowTarget||"_blank",this.redirect_uri=e.startUrl,o.Log.debug("CordovaPopupWindow.ctor: redirect_uri: "+this.redirect_uri)}return t.prototype._isInAppBrowserInstalled=function(t){return["cordova-plugin-inappbrowser","cordova-plugin-inappbrowser.inappbrowser","org.apache.cordova.inappbrowser"].some((function(e){return t.hasOwnProperty(e)}))},t.prototype.navigate=function(t){if(t&&t.url){if(!window.cordova)return this._error("cordova is undefined");var e=window.cordova.require("cordova/plugin_list").metadata;if(!1===this._isInAppBrowserInstalled(e))return this._error("InAppBrowser plugin not found");this._popup=cordova.InAppBrowser.open(t.url,this.target,this.features),this._popup?(o.Log.debug("CordovaPopupWindow.navigate: popup successfully created"),this._exitCallbackEvent=this._exitCallback.bind(this),this._loadStartCallbackEvent=this._loadStartCallback.bind(this),this._popup.addEventListener("exit",this._exitCallbackEvent,!1),this._popup.addEventListener("loadstart",this._loadStartCallbackEvent,!1)):this._error("Error opening popup window")}else this._error("No url provided");return this.promise},t.prototype._loadStartCallback=function(t){0===t.url.indexOf(this.redirect_uri)&&this._success({url:t.url})},t.prototype._exitCallback=function(t){this._error(t)},t.prototype._success=function(t){this._cleanup(),o.Log.debug("CordovaPopupWindow: Successful response from cordova popup window"),this._resolve(t)},t.prototype._error=function(t){this._cleanup(),o.Log.error(t),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup()},t.prototype._cleanup=function(){this._popup&&(o.Log.debug("CordovaPopupWindow: cleaning up popup"),this._popup.removeEventListener("exit",this._exitCallbackEvent,!1),this._popup.removeEventListener("loadstart",this._loadStartCallbackEvent,!1),this._popup.close()),this._popup=null},i(t,[{key:"promise",get:function(){return this._promise}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var i=r(0),o=r(10),n=r(5),s=r(6),a=r(37),h=r(38),c=r(16),u=r(2),p=r(48),l=r(49),m=r(19),g=r(20),d=r(18),f=r(1),w=r(15),v=r(50);e.default={Version:v.Version,Log:i.Log,OidcClient:o.OidcClient,OidcClientSettings:n.OidcClientSettings,WebStorageStateStore:s.WebStorageStateStore,InMemoryWebStorage:a.InMemoryWebStorage,UserManager:h.UserManager,AccessTokenEvents:c.AccessTokenEvents,MetadataService:u.MetadataService,CordovaPopupNavigator:p.CordovaPopupNavigator,CordovaIFrameNavigator:l.CordovaIFrameNavigator,CheckSessionIFrame:m.CheckSessionIFrame,TokenRevocationClient:g.TokenRevocationClient,SessionMonitor:d.SessionMonitor,Global:f.Global,User:w.User},t.exports=e.default},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.ClockService=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.getEpochTime=function(){return Promise.resolve(Date.now()/1e3|0)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.ResponseValidator=void 0;var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=r(0),n=r(2),s=r(25),a=r(11),h=r(12),c=r(4);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var p=["nonce","at_hash","iat","nbf","exp","aud","iss","c_hash"];e.ResponseValidator=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.MetadataService,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.UserInfoService,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c.JoseUtil,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(u(this,t),!e)throw o.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new r(this._settings),this._userInfoService=new i(this._settings),this._joseUtil=h,this._tokenClient=new p(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var r=this;return o.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then((function(e){return o.Log.debug("ResponseValidator.validateSigninResponse: state processed"),r._validateTokens(t,e).then((function(e){return o.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),r._processClaims(t,e).then((function(t){return o.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t}))}))}))},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(o.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(o.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(o.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new h.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return o.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return o.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return o.Log.error("ResponseValidator._processSigninParams: No authority on state"),Promise.reject(new Error("No authority on state"));if(this._settings.authority){if(this._settings.authority&&this._settings.authority!==t.authority)return o.Log.error("ResponseValidator._processSigninParams: authority mismatch on settings vs. signin state"),Promise.reject(new Error("authority mismatch on settings vs. signin state"))}else this._settings.authority=t.authority;if(this._settings.client_id){if(this._settings.client_id&&this._settings.client_id!==t.client_id)return o.Log.error("ResponseValidator._processSigninParams: client_id mismatch on settings vs. signin state"),Promise.reject(new Error("client_id mismatch on settings vs. signin state"))}else this._settings.client_id=t.client_id;return o.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(o.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new h.ErrorResponse(e))):t.nonce&&!e.id_token?(o.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(o.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(o.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(o.Log.error("ResponseValidator._processSigninParams: Not expecting code in response"),Promise.reject(new Error("Unexpected code in response"))):(e.scope||(e.scope=t.scope),Promise.resolve(e))},t.prototype._processClaims=function(t,e){var r=this;if(e.isOpenIdConnect){if(o.Log.debug("ResponseValidator._processClaims: response is OIDC, processing claims"),e.profile=this._filterProtocolClaims(e.profile),!0!==t.skipUserInfo&&this._settings.loadUserInfo&&e.access_token)return o.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then((function(t){return o.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(o.Log.error("ResponseValidator._processClaims: sub from user info endpoint does not match sub in id_token"),Promise.reject(new Error("sub from user info endpoint does not match sub in id_token"))):(e.profile=r._mergeClaims(e.profile,t),o.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)}));o.Log.debug("ResponseValidator._processClaims: not loading user info")}else o.Log.debug("ResponseValidator._processClaims: response is not OIDC, not processing claims");return Promise.resolve(e)},t.prototype._mergeClaims=function(t,e){var r=Object.assign({},t);for(var o in e){var n=e[o];Array.isArray(n)||(n=[n]);for(var s=0;s<n.length;s++){var a=n[s];r[o]?Array.isArray(r[o])?r[o].indexOf(a)<0&&r[o].push(a):r[o]!==a&&(r[o]="object"===(void 0===a?"undefined":i(a))&&this._settings.mergeClaims?this._mergeClaims(r[o],a):[r[o],a]):r[o]=a}}return r},t.prototype._filterProtocolClaims=function(t){o.Log.debug("ResponseValidator._filterProtocolClaims, incoming claims:",t);var e=Object.assign({},t);return this._settings._filterProtocolClaims?(p.forEach((function(t){delete e[t]})),o.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims filtered",e)):o.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims not filtered"),e},t.prototype._validateTokens=function(t,e){return e.code?(o.Log.debug("ResponseValidator._validateTokens: Validating code"),this._processCode(t,e)):e.id_token?e.access_token?(o.Log.debug("ResponseValidator._validateTokens: Validating id_token and access_token"),this._validateIdTokenAndAccessToken(t,e)):(o.Log.debug("ResponseValidator._validateTokens: Validating id_token"),this._validateIdToken(t,e)):(o.Log.debug("ResponseValidator._validateTokens: No code to process or id_token to validate"),Promise.resolve(e))},t.prototype._processCode=function(t,e){var r=this,n={client_id:t.client_id,client_secret:t.client_secret,code:e.code,redirect_uri:t.redirect_uri,code_verifier:t.code_verifier};return t.extraTokenParams&&"object"===i(t.extraTokenParams)&&Object.assign(n,t.extraTokenParams),this._tokenClient.exchangeCode(n).then((function(i){for(var n in i)e[n]=i[n];return e.id_token?(o.Log.debug("ResponseValidator._processCode: token response successful, processing id_token"),r._validateIdTokenAttributes(t,e)):(o.Log.debug("ResponseValidator._processCode: token response successful, returning response"),e)}))},t.prototype._validateIdTokenAttributes=function(t,e){var r=this;return this._metadataService.getIssuer().then((function(i){var n=t.client_id,s=r._settings.clockSkew;return o.Log.debug("ResponseValidator._validateIdTokenAttributes: Validaing JWT attributes; using clock skew (in seconds) of: ",s),r._settings.getEpochTime().then((function(a){return r._joseUtil.validateJwtAttributes(e.id_token,i,n,s,a).then((function(r){return t.nonce&&t.nonce!==r.nonce?(o.Log.error("ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):r.sub?(e.profile=r,e):(o.Log.error("ResponseValidator._validateIdTokenAttributes: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))}))},t.prototype._validateIdTokenAndAccessToken=function(t,e){var r=this;return this._validateIdToken(t,e).then((function(t){return r._validateAccessToken(t)}))},t.prototype._getSigningKeyForJwt=function(t){var e=this;return this._metadataService.getSigningKeys().then((function(r){var i=t.header.kid;if(!r)return o.Log.error("ResponseValidator._validateIdToken: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("ResponseValidator._validateIdToken: Received signing keys");var n=void 0;if(i)n=r.filter((function(t){return t.kid===i}))[0];else{if((r=e._filterByAlg(r,t.header.alg)).length>1)return o.Log.error("ResponseValidator._validateIdToken: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));n=r[0]}return Promise.resolve(n)}))},t.prototype._getSigningKeyForJwtWithSingleRetry=function(t){var e=this;return this._getSigningKeyForJwt(t).then((function(r){return r?Promise.resolve(r):(e._metadataService.resetSigningKeys(),e._getSigningKeyForJwt(t))}))},t.prototype._validateIdToken=function(t,e){var r=this;if(!t.nonce)return o.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var i=this._joseUtil.parseJwt(e.id_token);return i&&i.header&&i.payload?t.nonce!==i.payload.nonce?(o.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):this._metadataService.getIssuer().then((function(n){return o.Log.debug("ResponseValidator._validateIdToken: Received issuer"),r._getSigningKeyForJwtWithSingleRetry(i).then((function(s){if(!s)return o.Log.error("ResponseValidator._validateIdToken: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var a=t.client_id,h=r._settings.clockSkew;return o.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",h),r._joseUtil.validateJwt(e.id_token,s,n,a,h).then((function(){return o.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),i.payload.sub?(e.profile=i.payload,e):(o.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))})):(o.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",i),Promise.reject(new Error("Failed to parse id_token")))},t.prototype._filterByAlg=function(t,e){var r=null;if(e.startsWith("RS"))r="RSA";else if(e.startsWith("PS"))r="PS";else{if(!e.startsWith("ES"))return o.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];r="EC"}return o.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),o.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",r,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return o.Log.error("ResponseValidator._validateAccessToken: No profile loaded from id_token"),Promise.reject(new Error("No profile loaded from id_token"));if(!t.profile.at_hash)return o.Log.error("ResponseValidator._validateAccessToken: No at_hash in id_token"),Promise.reject(new Error("No at_hash in id_token"));if(!t.id_token)return o.Log.error("ResponseValidator._validateAccessToken: No id_token"),Promise.reject(new Error("No id_token"));var e=this._joseUtil.parseJwt(t.id_token);if(!e||!e.header)return o.Log.error("ResponseValidator._validateAccessToken: Failed to parse id_token",e),Promise.reject(new Error("Failed to parse id_token"));var r=e.header.alg;if(!r||5!==r.length)return o.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r),Promise.reject(new Error("Unsupported alg: "+r));var i=r.substr(2,3);if(!i)return o.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,i),Promise.reject(new Error("Unsupported alg: "+r));if(256!==(i=parseInt(i))&&384!==i&&512!==i)return o.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,i),Promise.reject(new Error("Unsupported alg: "+r));var n="sha"+i,s=this._joseUtil.hashString(t.access_token,n);if(!s)return o.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",n),Promise.reject(new Error("Failed to validate at_hash"));var a=s.substr(0,s.length/2),h=this._joseUtil.hexToBase64Url(a);return h!==t.profile.at_hash?(o.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",h,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(o.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var i=r(7),o=r(2),n=r(0),s=r(4);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.UserInfoService=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.JsonService,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.MetadataService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.JoseUtil;if(a(this,t),!e)throw n.Log.error("UserInfoService.ctor: No settings passed"),new Error("settings");this._settings=e,this._jsonService=new r(void 0,void 0,this._getClaimsFromJwt.bind(this)),this._metadataService=new h(this._settings),this._joseUtil=c}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then((function(r){return n.Log.debug("UserInfoService.getClaims: received userinfo url",r),e._jsonService.getJson(r,t).then((function(t){return n.Log.debug("UserInfoService.getClaims: claims received",t),t}))})):(n.Log.error("UserInfoService.getClaims: No token passed"),Promise.reject(new Error("A token is required")))},t.prototype._getClaimsFromJwt=function(t){var e=this;try{var r=this._joseUtil.parseJwt(t.responseText);if(!r||!r.header||!r.payload)return n.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",r),Promise.reject(new Error("Failed to parse id_token"));var i=r.header.kid,o=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":o=this._metadataService.getIssuer();break;case"ANY":o=Promise.resolve(r.payload.iss);break;default:o=Promise.resolve(this._settings.userInfoJwtIssuer)}return o.then((function(o){return n.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+o),e._metadataService.getSigningKeys().then((function(s){if(!s)return n.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));n.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(i)a=s.filter((function(t){return t.kid===i}))[0];else{if((s=e._filterByAlg(s,r.header.alg)).length>1)return n.Log.error("UserInfoService._getClaimsFromJwt: No kid found in id_token and more than one key found in metadata"),Promise.reject(new Error("No kid found in id_token and more than one key found in metadata"));a=s[0]}if(!a)return n.Log.error("UserInfoService._getClaimsFromJwt: No key matching kid or alg found in signing keys"),Promise.reject(new Error("No key matching kid or alg found in signing keys"));var h=e._settings.client_id,c=e._settings.clockSkew;return n.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",c),e._joseUtil.validateJwt(t.responseText,a,o,h,c,void 0,!0).then((function(){return n.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),r.payload}))}))}))}catch(t){return n.Log.error("UserInfoService._getClaimsFromJwt: Error parsing JWT response",t.message),void reject(t)}},t.prototype._filterByAlg=function(t,e){var r=null;if(e.startsWith("RS"))r="RSA";else if(e.startsWith("PS"))r="PS";else{if(!e.startsWith("ES"))return n.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];r="EC"}return n.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),n.Log.debug("UserInfoService._filterByAlg: Number of keys that match kty: ",r,t.length),t},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.AllowedSigningAlgs=e.b64tohex=e.hextob64u=e.crypto=e.X509=e.KeyUtil=e.jws=void 0;var i=r(27);e.jws=i.jws,e.KeyUtil=i.KEYUTIL,e.X509=i.X509,e.crypto=i.crypto,e.hextob64u=i.hextob64u,e.b64tohex=i.b64tohex,e.AllowedSigningAlgs=["RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"]},function(t,e,r){(function(t){Object.defineProperty(e,"__esModule",{value:!0});var r,i,o,n,s,a,h,c,u,p,l,m,g,d,f,w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},v={},y=y||(r=Math,o=(i={}).lib={},n=o.Base=function(){function t(){}return{extend:function(e){t.prototype=this;var r=new t;return e&&r.mixIn(e),r.hasOwnProperty("init")||(r.init=function(){r.$super.init.apply(this,arguments)}),r.init.prototype=r,r.$super=this,r},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=o.WordArray=n.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||h).stringify(this)},concat:function(t){var e=this.words,r=t.words,i=this.sigBytes,o=t.sigBytes;if(this.clamp(),i%4)for(var n=0;n<o;n++)e[i+n>>>2]|=(r[n>>>2]>>>24-n%4*8&255)<<24-(i+n)%4*8;else for(n=0;n<o;n+=4)e[i+n>>>2]=r[n>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,e=this.sigBytes;t[e>>>2]&=4294967295<<32-e%4*8,t.length=r.ceil(e/4)},clone:function(){var t=n.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],i=0;i<t;i+=4)e.push(4294967296*r.random()|0);return new s.init(e,t)}}),a=i.enc={},h=a.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],o=0;o<r;o++){var n=e[o>>>2]>>>24-o%4*8&255;i.push((n>>>4).toString(16)),i.push((15&n).toString(16))}return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i+=2)r[i>>>3]|=parseInt(t.substr(i,2),16)<<24-i%8*4;return new s.init(r,e/2)}},c=a.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,i=[],o=0;o<r;o++)i.push(String.fromCharCode(e[o>>>2]>>>24-o%4*8&255));return i.join("")},parse:function(t){for(var e=t.length,r=[],i=0;i<e;i++)r[i>>>2]|=(255&t.charCodeAt(i))<<24-i%4*8;return new s.init(r,e)}},u=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},p=o.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(t){var e=this._data,i=e.words,o=e.sigBytes,n=this.blockSize,a=o/(4*n),h=(a=t?r.ceil(a):r.max((0|a)-this._minBufferSize,0))*n,c=r.min(4*h,o);if(h){for(var u=0;u<h;u+=n)this._doProcessBlock(i,u);var p=i.splice(0,h);e.sigBytes-=c}return new s.init(p,c)},clone:function(){var t=n.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),o.Hasher=p.extend({cfg:n.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){p.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(e,r){return new t.init(r).finalize(e)}},_createHmacHelper:function(t){return function(e,r){return new l.HMAC.init(t,r).finalize(e)}}}),l=i.algo={},i);g=(m=y).lib,d=g.Base,f=g.WordArray,(m=m.x64={}).Word=d.extend({init:function(t,e){this.high=t,this.low=e}}),m.WordArray=d.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:8*t.length},toX32:function(){for(var t=this.words,e=t.length,r=[],i=0;i<e;i++){var o=t[i];r.push(o.high),r.push(o.low)}return f.create(r,this.sigBytes)},clone:function(){for(var t=d.clone.call(this),e=t.words=this.words.slice(0),r=e.length,i=0;i<r;i++)e[i]=e[i].clone();return t}}),function(){var t=y.lib.WordArray;y.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,i=this._map;t.clamp(),t=[];for(var o=0;o<r;o+=3)for(var n=(e[o>>>2]>>>24-o%4*8&255)<<16|(e[o+1>>>2]>>>24-(o+1)%4*8&255)<<8|e[o+2>>>2]>>>24-(o+2)%4*8&255,s=0;4>s&&o+.75*s<r;s++)t.push(i.charAt(n>>>6*(3-s)&63));if(e=i.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var r=e.length,i=this._map;(o=i.charAt(64))&&-1!=(o=e.indexOf(o))&&(r=o);for(var o=[],n=0,s=0;s<r;s++)if(s%4){var a=i.indexOf(e.charAt(s-1))<<s%4*2,h=i.indexOf(e.charAt(s))>>>6-s%4*2;o[n>>>2]|=(a|h)<<24-n%4*8,n++}return t.create(o,n)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=y,r=(o=e.lib).WordArray,i=o.Hasher,o=e.algo,n=[],s=[],a=function(t){return 4294967296*(t-(0|t))|0},h=2,c=0;64>c;){var u;t:{for(var p=t.sqrt(u=h),l=2;l<=p;l++)if(!(u%l)){u=!1;break t}u=!0}u&&(8>c&&(n[c]=a(t.pow(h,.5))),s[c]=a(t.pow(h,1/3)),c++),h++}var m=[];o=o.SHA256=i.extend({_doReset:function(){this._hash=new r.init(n.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,i=r[0],o=r[1],n=r[2],a=r[3],h=r[4],c=r[5],u=r[6],p=r[7],l=0;64>l;l++){if(16>l)m[l]=0|t[e+l];else{var g=m[l-15],d=m[l-2];m[l]=((g<<25|g>>>7)^(g<<14|g>>>18)^g>>>3)+m[l-7]+((d<<15|d>>>17)^(d<<13|d>>>19)^d>>>10)+m[l-16]}g=p+((h<<26|h>>>6)^(h<<21|h>>>11)^(h<<7|h>>>25))+(h&c^~h&u)+s[l]+m[l],d=((i<<30|i>>>2)^(i<<19|i>>>13)^(i<<10|i>>>22))+(i&o^i&n^o&n),p=u,u=c,c=h,h=a+g|0,a=n,n=o,o=i,i=g+d|0}r[0]=r[0]+i|0,r[1]=r[1]+o|0,r[2]=r[2]+n|0,r[3]=r[3]+a|0,r[4]=r[4]+h|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+p|0},_doFinalize:function(){var e=this._data,r=e.words,i=8*this._nDataBytes,o=8*e.sigBytes;return r[o>>>5]|=128<<24-o%32,r[14+(o+64>>>9<<4)]=t.floor(i/4294967296),r[15+(o+64>>>9<<4)]=i,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=i.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=i._createHelper(o),e.HmacSHA256=i._createHmacHelper(o)}(Math),function(){function t(){return i.create.apply(i,arguments)}for(var e=y,r=e.lib.Hasher,i=(n=e.x64).Word,o=n.WordArray,n=e.algo,s=[t(1116352408,3609767458),t(1899447441,602891725),t(3049323471,3964484399),t(3921009573,2173295548),t(961987163,4081628472),t(1508970993,3053834265),t(2453635748,2937671579),t(2870763221,3664609560),t(3624381080,2734883394),t(310598401,1164996542),t(607225278,1323610764),t(1426881987,3590304994),t(1925078388,4068182383),t(2162078206,991336113),t(2614888103,633803317),t(3248222580,3479774868),t(3835390401,2666613458),t(4022224774,944711139),t(264347078,2341262773),t(604807628,2007800933),t(770255983,1495990901),t(1249150122,1856431235),t(1555081692,3175218132),t(1996064986,2198950837),t(2554220882,3999719339),t(2821834349,766784016),t(2952996808,2566594879),t(3210313671,3203337956),t(3336571891,1034457026),t(3584528711,2466948901),t(113926993,3758326383),t(338241895,168717936),t(666307205,1188179964),t(773529912,1546045734),t(1294757372,1522805485),t(1396182291,2643833823),t(1695183700,2343527390),t(1986661051,1014477480),t(2177026350,1206759142),t(2456956037,344077627),t(2730485921,1290863460),t(2820302411,3158454273),t(3259730800,3505952657),t(3345764771,106217008),t(3516065817,3606008344),t(3600352804,1432725776),t(4094571909,1467031594),t(275423344,851169720),t(430227734,3100823752),t(506948616,1363258195),t(659060556,3750685593),t(883997877,3785050280),t(958139571,3318307427),t(1322822218,3812723403),t(1537002063,2003034995),t(1747873779,3602036899),t(1955562222,1575990012),t(2024104815,1125592928),t(2227730452,2716904306),t(2361852424,442776044),t(2428436474,593698344),t(2756734187,3733110249),t(3204031479,2999351573),t(3329325298,3815920427),t(3391569614,3928383900),t(3515267271,566280711),t(3940187606,3454069534),t(4118630271,4000239992),t(116418474,1914138554),t(174292421,2731055270),t(289380356,3203993006),t(460393269,320620315),t(685471733,587496836),t(852142971,1086792851),t(1017036298,365543100),t(1126000580,2618297676),t(1288033470,3409855158),t(1501505948,4234509866),t(1607167915,987167468),t(1816402316,1246189591)],a=[],h=0;80>h;h++)a[h]=t();n=n.SHA512=r.extend({_doReset:function(){this._hash=new o.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=(p=this._hash.words)[0],i=p[1],o=p[2],n=p[3],h=p[4],c=p[5],u=p[6],p=p[7],l=r.high,m=r.low,g=i.high,d=i.low,f=o.high,w=o.low,v=n.high,y=n.low,b=h.high,S=h.low,A=c.high,E=c.low,C=u.high,P=u.low,F=p.high,k=p.low,T=l,R=m,O=g,D=d,M=f,I=w,x=v,_=y,N=b,j=S,B=A,U=E,L=C,H=P,W=F,V=k,q=0;80>q;q++){var G=a[q];if(16>q)var K=G.high=0|t[e+2*q],J=G.low=0|t[e+2*q+1];else{K=((J=(K=a[q-15]).high)>>>1|(z=K.low)<<31)^(J>>>8|z<<24)^J>>>7;var z=(z>>>1|J<<31)^(z>>>8|J<<24)^(z>>>7|J<<25),$=((J=($=a[q-2]).high)>>>19|(X=$.low)<<13)^(J<<3|X>>>29)^J>>>6,X=(X>>>19|J<<13)^(X<<3|J>>>29)^(X>>>6|J<<26),Q=(J=a[q-7]).high,Y=(Z=a[q-16]).high,Z=Z.low;K=(K=(K=K+Q+((J=z+J.low)>>>0<z>>>0?1:0))+$+((J+=X)>>>0<X>>>0?1:0))+Y+((J+=Z)>>>0<Z>>>0?1:0),G.high=K,G.low=J}Q=N&B^~N&L,Z=j&U^~j&H,G=T&O^T&M^O&M;var tt=R&D^R&I^D&I,et=(z=(T>>>28|R<<4)^(T<<30|R>>>2)^(T<<25|R>>>7),$=(R>>>28|T<<4)^(R<<30|T>>>2)^(R<<25|T>>>7),(X=s[q]).high),rt=X.low;Y=W+((N>>>14|j<<18)^(N>>>18|j<<14)^(N<<23|j>>>9))+((X=V+((j>>>14|N<<18)^(j>>>18|N<<14)^(j<<23|N>>>9)))>>>0<V>>>0?1:0),W=L,V=H,L=B,H=U,B=N,U=j,N=x+(Y=(Y=(Y=Y+Q+((X+=Z)>>>0<Z>>>0?1:0))+et+((X+=rt)>>>0<rt>>>0?1:0))+K+((X+=J)>>>0<J>>>0?1:0))+((j=_+X|0)>>>0<_>>>0?1:0)|0,x=M,_=I,M=O,I=D,O=T,D=R,T=Y+(G=z+G+((J=$+tt)>>>0<$>>>0?1:0))+((R=X+J|0)>>>0<X>>>0?1:0)|0}m=r.low=m+R,r.high=l+T+(m>>>0<R>>>0?1:0),d=i.low=d+D,i.high=g+O+(d>>>0<D>>>0?1:0),w=o.low=w+I,o.high=f+M+(w>>>0<I>>>0?1:0),y=n.low=y+_,n.high=v+x+(y>>>0<_>>>0?1:0),S=h.low=S+j,h.high=b+N+(S>>>0<j>>>0?1:0),E=c.low=E+U,c.high=A+B+(E>>>0<U>>>0?1:0),P=u.low=P+H,u.high=C+L+(P>>>0<H>>>0?1:0),k=p.low=k+V,p.high=F+W+(k>>>0<V>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,i=8*t.sigBytes;return e[i>>>5]|=128<<24-i%32,e[30+(i+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(i+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=r.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32}),e.SHA512=r._createHelper(n),e.HmacSHA512=r._createHmacHelper(n)}(),function(){var t=y,e=(o=t.x64).Word,r=o.WordArray,i=(o=t.algo).SHA512,o=o.SHA384=i.extend({_doReset:function(){this._hash=new r.init([new e.init(3418070365,3238371032),new e.init(1654270250,914150663),new e.init(2438529370,812702999),new e.init(355462360,4144912697),new e.init(1731405415,4290775857),new e.init(2394180231,1750603025),new e.init(3675008525,1694076839),new e.init(1203062813,3204075428)])},_doFinalize:function(){var t=i._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=i._createHelper(o),t.HmacSHA384=i._createHmacHelper(o)}();var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function S(t){var e,r,i="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),i+=b.charAt(r>>6)+b.charAt(63&r);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),i+=b.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),i+=b.charAt(r>>2)+b.charAt((3&r)<<4));(3&i.length)>0;)i+="=";return i}function A(t){var e,r,i,o="",n=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e)(i=b.indexOf(t.charAt(e)))<0||(0==n?(o+=R(i>>2),r=3&i,n=1):1==n?(o+=R(r<<2|i>>4),r=15&i,n=2):2==n?(o+=R(r),o+=R(i>>2),r=3&i,n=3):(o+=R(r<<2|i>>4),o+=R(15&i),n=0));return 1==n&&(o+=R(r<<2)),o}function E(t){var e,r=A(t),i=new Array;for(e=0;2*e<r.length;++e)i[e]=parseInt(r.substring(2*e,2*e+2),16);return i}function C(t,e,r){null!=t&&("number"==typeof t?this.fromNumber(t,e,r):this.fromString(t,null==e&&"string"!=typeof t?256:e))}function P(){return new C(null)}C.prototype.am=function(t,e,r,i,o,n){for(;--n>=0;){var s=e*this[t++]+r[i]+o;o=Math.floor(s/67108864),r[i++]=67108863&s}return o},C.prototype.DB=26,C.prototype.DM=67108863,C.prototype.DV=1<<26,C.prototype.FV=Math.pow(2,52),C.prototype.F1=26,C.prototype.F2=0;var F,k,T=new Array;for(F="0".charCodeAt(0),k=0;k<=9;++k)T[F++]=k;for(F="a".charCodeAt(0),k=10;k<36;++k)T[F++]=k;for(F="A".charCodeAt(0),k=10;k<36;++k)T[F++]=k;function R(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function O(t,e){var r=T[t.charCodeAt(e)];return null==r?-1:r}function D(t){var e=P();return e.fromInt(t),e}function M(t){var e,r=1;return 0!=(e=t>>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function I(t){this.m=t}function x(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<t.DB-15)-1,this.mt2=2*t.t}function _(t,e){return t&e}function N(t,e){return t|e}function j(t,e){return t^e}function B(t,e){return t&~e}function U(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function L(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function H(){}function W(t){return t}function V(t){this.r2=P(),this.q3=P(),C.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}I.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},I.prototype.revert=function(t){return t},I.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},I.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},I.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},x.prototype.convert=function(t){var e=P();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(C.ZERO)>0&&this.m.subTo(e,e),e},x.prototype.revert=function(t){var e=P();return t.copyTo(e),this.reduce(e),e},x.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e<this.m.t;++e){var r=32767&t[e],i=r*this.mpl+((r*this.mph+(t[e]>>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,i,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},x.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},x.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},C.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},C.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},C.prototype.fromString=function(t,e){var r;if(16==e)r=4;else if(8==e)r=3;else if(256==e)r=8;else if(2==e)r=1;else if(32==e)r=5;else{if(4!=e)return void this.fromRadix(t,e);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,n=0;--i>=0;){var s=8==r?255&t[i]:O(t,i);s<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==n?this[this.t++]=s:n+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-n)-1)<<n,this[this.t++]=s>>this.DB-n):this[this.t-1]|=s<<n,(n+=r)>=this.DB&&(n-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,n>0&&(this[this.t-1]|=(1<<this.DB-n)-1<<n)),this.clamp(),o&&C.ZERO.subTo(this,this)},C.prototype.clamp=function(){for(var t=this.s&this.DM;this.t>0&&this[this.t-1]==t;)--this.t},C.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},C.prototype.drShiftTo=function(t,e){for(var r=t;r<this.t;++r)e[r-t]=this[r];e.t=Math.max(this.t-t,0),e.s=this.s},C.prototype.lShiftTo=function(t,e){var r,i=t%this.DB,o=this.DB-i,n=(1<<o)-1,s=Math.floor(t/this.DB),a=this.s<<i&this.DM;for(r=this.t-1;r>=0;--r)e[r+s+1]=this[r]>>o|a,a=(this[r]&n)<<i;for(r=s-1;r>=0;--r)e[r]=0;e[s]=a,e.t=this.t+s+1,e.s=this.s,e.clamp()},C.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var i=t%this.DB,o=this.DB-i,n=(1<<i)-1;e[0]=this[r]>>i;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&n)<<o,e[s-r]=this[s]>>i;i>0&&(e[this.t-r-1]|=(this.s&n)<<o),e.t=this.t-r,e.clamp()}},C.prototype.subTo=function(t,e){for(var r=0,i=0,o=Math.min(t.t,this.t);r<o;)i+=this[r]-t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i-=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i-=t[r],e[r++]=i&this.DM,i>>=this.DB;i-=t.s}e.s=i<0?-1:0,i<-1?e[r++]=this.DV+i:i>0&&(e[r++]=i),e.t=r,e.clamp()},C.prototype.multiplyTo=function(t,e){var r=this.abs(),i=t.abs(),o=r.t;for(e.t=o+i.t;--o>=0;)e[o]=0;for(o=0;o<i.t;++o)e[o+r.t]=r.am(0,i[o],e,o,0,r.t);e.s=0,e.clamp(),this.s!=t.s&&C.ZERO.subTo(e,e)},C.prototype.squareTo=function(t){for(var e=this.abs(),r=t.t=2*e.t;--r>=0;)t[r]=0;for(r=0;r<e.t-1;++r){var i=e.am(r,e[r],t,2*r,0,1);(t[r+e.t]+=e.am(r+1,2*e[r],t,2*r+1,i,e.t-r-1))>=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},C.prototype.divRemTo=function(t,e,r){var i=t.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=e&&e.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=P());var n=P(),s=this.s,a=t.s,h=this.DB-M(i[i.t-1]);h>0?(i.lShiftTo(h,n),o.lShiftTo(h,r)):(i.copyTo(n),o.copyTo(r));var c=n.t,u=n[c-1];if(0!=u){var p=u*(1<<this.F1)+(c>1?n[c-2]>>this.F2:0),l=this.FV/p,m=(1<<this.F1)/p,g=1<<this.F2,d=r.t,f=d-c,w=null==e?P():e;for(n.dlShiftTo(f,w),r.compareTo(w)>=0&&(r[r.t++]=1,r.subTo(w,r)),C.ONE.dlShiftTo(c,w),w.subTo(n,n);n.t<c;)n[n.t++]=0;for(;--f>=0;){var v=r[--d]==u?this.DM:Math.floor(r[d]*l+(r[d-1]+g)*m);if((r[d]+=n.am(0,v,r,f,0,c))<v)for(n.dlShiftTo(f,w),r.subTo(w,r);r[d]<--v;)r.subTo(w,r)}null!=e&&(r.drShiftTo(c,e),s!=a&&C.ZERO.subTo(e,e)),r.t=c,r.clamp(),h>0&&r.rShiftTo(h,r),s<0&&C.ZERO.subTo(r,r)}}},C.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},C.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},C.prototype.exp=function(t,e){if(t>4294967295||t<1)return C.ONE;var r=P(),i=P(),o=e.convert(this),n=M(t)-1;for(o.copyTo(r);--n>=0;)if(e.sqrTo(r,i),(t&1<<n)>0)e.mulTo(i,o,r);else{var s=r;r=i,i=s}return e.revert(r)},C.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,i=(1<<e)-1,o=!1,n="",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0)for(a<this.DB&&(r=this[s]>>a)>0&&(o=!0,n=R(r));s>=0;)a<e?(r=(this[s]&(1<<a)-1)<<e-a,r|=this[--s]>>(a+=this.DB-e)):(r=this[s]>>(a-=e)&i,a<=0&&(a+=this.DB,--s)),r>0&&(o=!0),o&&(n+=R(r));return o?n:"0"},C.prototype.negate=function(){var t=P();return C.ZERO.subTo(this,t),t},C.prototype.abs=function(){return this.s<0?this.negate():this},C.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},C.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+M(this[this.t-1]^this.s&this.DM)},C.prototype.mod=function(t){var e=P();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(C.ZERO)>0&&t.subTo(e,e),e},C.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new I(e):new x(e),this.exp(t,r)},C.ZERO=D(0),C.ONE=D(1),H.prototype.convert=W,H.prototype.revert=W,H.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},H.prototype.sqrTo=function(t,e){t.squareTo(e)},V.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=P();return t.copyTo(e),this.reduce(e),e},V.prototype.revert=function(t){return t},V.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},V.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},V.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var q,G,K,J=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],z=(1<<26)/J[J.length-1];function $(){this.i=0,this.j=0,this.S=new Array}function X(){!function(t){G[K++]^=255&t,G[K++]^=t>>8&255,G[K++]^=t>>16&255,G[K++]^=t>>24&255,K>=256&&(K-=256)}((new Date).getTime())}if(C.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},C.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),i=D(r),o=P(),n=P(),s="";for(this.divRemTo(i,o,n);o.signum()>0;)s=(r+n.intValue()).toString(t).substr(1)+s,o.divRemTo(i,o,n);return n.intValue().toString(t)+s},C.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var r=this.chunkSize(e),i=Math.pow(e,r),o=!1,n=0,s=0,a=0;a<t.length;++a){var h=O(t,a);h<0?"-"==t.charAt(a)&&0==this.signum()&&(o=!0):(s=e*s+h,++n>=r&&(this.dMultiply(i),this.dAddOffset(s,0),n=0,s=0))}n>0&&(this.dMultiply(Math.pow(e,n)),this.dAddOffset(s,0)),o&&C.ZERO.subTo(this,this)},C.prototype.fromNumber=function(t,e,r){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(C.ONE.shiftLeft(t-1),N,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(C.ONE.shiftLeft(t-1),this);else{var i=new Array,o=7&t;i.length=1+(t>>3),e.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},C.prototype.bitwiseTo=function(t,e,r){var i,o,n=Math.min(t.t,this.t);for(i=0;i<n;++i)r[i]=e(this[i],t[i]);if(t.t<this.t){for(o=t.s&this.DM,i=n;i<this.t;++i)r[i]=e(this[i],o);r.t=this.t}else{for(o=this.s&this.DM,i=n;i<t.t;++i)r[i]=e(o,t[i]);r.t=t.t}r.s=e(this.s,t.s),r.clamp()},C.prototype.changeBit=function(t,e){var r=C.ONE.shiftLeft(t);return this.bitwiseTo(r,e,r),r},C.prototype.addTo=function(t,e){for(var r=0,i=0,o=Math.min(t.t,this.t);r<o;)i+=this[r]+t[r],e[r++]=i&this.DM,i>>=this.DB;if(t.t<this.t){for(i+=t.s;r<this.t;)i+=this[r],e[r++]=i&this.DM,i>>=this.DB;i+=this.s}else{for(i+=this.s;r<t.t;)i+=t[r],e[r++]=i&this.DM,i>>=this.DB;i+=t.s}e.s=i<0?-1:0,i>0?e[r++]=i:i<-1&&(e[r++]=this.DV+i),e.t=r,e.clamp()},C.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},C.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},C.prototype.multiplyLowerTo=function(t,e,r){var i,o=Math.min(this.t+t.t,e);for(r.s=0,r.t=o;o>0;)r[--o]=0;for(i=r.t-this.t;o<i;++o)r[o+this.t]=this.am(0,t[o],r,o,0,this.t);for(i=Math.min(t.t,e);o<i;++o)this.am(0,t[o],r,o,0,e-o);r.clamp()},C.prototype.multiplyUpperTo=function(t,e,r){--e;var i=r.t=this.t+t.t-e;for(r.s=0;--i>=0;)r[i]=0;for(i=Math.max(e-this.t,0);i<t.t;++i)r[this.t+i-e]=this.am(e-i,t[i],r,0,0,this.t+i-e);r.clamp(),r.drShiftTo(1,r)},C.prototype.modInt=function(t){if(t<=0)return 0;var e=this.DV%t,r=this.s<0?t-1:0;if(this.t>0)if(0==e)r=this[0]%t;else for(var i=this.t-1;i>=0;--i)r=(e*r+this[i])%t;return r},C.prototype.millerRabin=function(t){var e=this.subtract(C.ONE),r=e.getLowestSetBit();if(r<=0)return!1;var i=e.shiftRight(r);(t=t+1>>1)>J.length&&(t=J.length);for(var o=P(),n=0;n<t;++n){o.fromInt(J[Math.floor(Math.random()*J.length)]);var s=o.modPow(i,this);if(0!=s.compareTo(C.ONE)&&0!=s.compareTo(e)){for(var a=1;a++<r&&0!=s.compareTo(e);)if(0==(s=s.modPowInt(2,this)).compareTo(C.ONE))return!1;if(0!=s.compareTo(e))return!1}}return!0},C.prototype.clone=
2
+ /*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
3
+ */
4
+ function(){var t=P();return this.copyTo(t),t},C.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},C.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},C.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},C.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},C.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var r,i=this.DB-t*this.DB%8,o=0;if(t-- >0)for(i<this.DB&&(r=this[t]>>i)!=(this.s&this.DM)>>i&&(e[o++]=r|this.s<<this.DB-i);t>=0;)i<8?(r=(this[t]&(1<<i)-1)<<8-i,r|=this[--t]>>(i+=this.DB-8)):(r=this[t]>>(i-=8)&255,i<=0&&(i+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==o&&(128&this.s)!=(128&r)&&++o,(o>0||r!=this.s)&&(e[o++]=r);return e},C.prototype.equals=function(t){return 0==this.compareTo(t)},C.prototype.min=function(t){return this.compareTo(t)<0?this:t},C.prototype.max=function(t){return this.compareTo(t)>0?this:t},C.prototype.and=function(t){var e=P();return this.bitwiseTo(t,_,e),e},C.prototype.or=function(t){var e=P();return this.bitwiseTo(t,N,e),e},C.prototype.xor=function(t){var e=P();return this.bitwiseTo(t,j,e),e},C.prototype.andNot=function(t){var e=P();return this.bitwiseTo(t,B,e),e},C.prototype.not=function(){for(var t=P(),e=0;e<this.t;++e)t[e]=this.DM&~this[e];return t.t=this.t,t.s=~this.s,t},C.prototype.shiftLeft=function(t){var e=P();return t<0?this.rShiftTo(-t,e):this.lShiftTo(t,e),e},C.prototype.shiftRight=function(t){var e=P();return t<0?this.lShiftTo(-t,e):this.rShiftTo(t,e),e},C.prototype.getLowestSetBit=function(){for(var t=0;t<this.t;++t)if(0!=this[t])return t*this.DB+U(this[t]);return this.s<0?this.t*this.DB:-1},C.prototype.bitCount=function(){for(var t=0,e=this.s&this.DM,r=0;r<this.t;++r)t+=L(this[r]^e);return t},C.prototype.testBit=function(t){var e=Math.floor(t/this.DB);return e>=this.t?0!=this.s:0!=(this[e]&1<<t%this.DB)},C.prototype.setBit=function(t){return this.changeBit(t,N)},C.prototype.clearBit=function(t){return this.changeBit(t,B)},C.prototype.flipBit=function(t){return this.changeBit(t,j)},C.prototype.add=function(t){var e=P();return this.addTo(t,e),e},C.prototype.subtract=function(t){var e=P();return this.subTo(t,e),e},C.prototype.multiply=function(t){var e=P();return this.multiplyTo(t,e),e},C.prototype.divide=function(t){var e=P();return this.divRemTo(t,e,null),e},C.prototype.remainder=function(t){var e=P();return this.divRemTo(t,null,e),e},C.prototype.divideAndRemainder=function(t){var e=P(),r=P();return this.divRemTo(t,e,r),new Array(e,r)},C.prototype.modPow=function(t,e){var r,i,o=t.bitLength(),n=D(1);if(o<=0)return n;r=o<18?1:o<48?3:o<144?4:o<768?5:6,i=o<8?new I(e):e.isEven()?new V(e):new x(e);var s=new Array,a=3,h=r-1,c=(1<<r)-1;if(s[1]=i.convert(this),r>1){var u=P();for(i.sqrTo(s[1],u);a<=c;)s[a]=P(),i.mulTo(u,s[a-2],s[a]),a+=2}var p,l,m=t.t-1,g=!0,d=P();for(o=M(t[m])-1;m>=0;){for(o>=h?p=t[m]>>o-h&c:(p=(t[m]&(1<<o+1)-1)<<h-o,m>0&&(p|=t[m-1]>>this.DB+o-h)),a=r;0==(1&p);)p>>=1,--a;if((o-=a)<0&&(o+=this.DB,--m),g)s[p].copyTo(n),g=!1;else{for(;a>1;)i.sqrTo(n,d),i.sqrTo(d,n),a-=2;a>0?i.sqrTo(n,d):(l=n,n=d,d=l),i.mulTo(d,s[p],n)}for(;m>=0&&0==(t[m]&1<<o);)i.sqrTo(n,d),l=n,n=d,d=l,--o<0&&(o=this.DB-1,--m)}return i.revert(n)},C.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return C.ZERO;for(var r=t.clone(),i=this.clone(),o=D(1),n=D(0),s=D(0),a=D(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(o.isEven()&&n.isEven()||(o.addTo(this,o),n.subTo(t,n)),o.rShiftTo(1,o)):n.isEven()||n.subTo(t,n),n.rShiftTo(1,n);for(;i.isEven();)i.rShiftTo(1,i),e?(s.isEven()&&a.isEven()||(s.addTo(this,s),a.subTo(t,a)),s.rShiftTo(1,s)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);r.compareTo(i)>=0?(r.subTo(i,r),e&&o.subTo(s,o),n.subTo(a,n)):(i.subTo(r,i),e&&s.subTo(o,s),a.subTo(n,a))}return 0!=i.compareTo(C.ONE)?C.ZERO:a.compareTo(t)>=0?a.subtract(t):a.signum()<0?(a.addTo(t,a),a.signum()<0?a.add(t):a):a},C.prototype.pow=function(t){return this.exp(t,new H)},C.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var i=e;e=r,r=i}var o=e.getLowestSetBit(),n=r.getLowestSetBit();if(n<0)return e;for(o<n&&(n=o),n>0&&(e.rShiftTo(n,e),r.rShiftTo(n,r));e.signum()>0;)(o=e.getLowestSetBit())>0&&e.rShiftTo(o,e),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return n>0&&r.lShiftTo(n,r),r},C.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=J[J.length-1]){for(e=0;e<J.length;++e)if(r[0]==J[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<J.length;){for(var i=J[e],o=e+1;o<J.length&&i<z;)i*=J[o++];for(i=r.modInt(i);e<o;)if(i%J[e++]==0)return!1}return r.millerRabin(t)},C.prototype.square=function(){var t=P();return this.squareTo(t),t},$.prototype.init=function(t){var e,r,i;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)i=this.S[e],this.S[e]=this.S[r=r+this.S[e]+t[e%t.length]&255],this.S[r]=i;this.i=0,this.j=0},$.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},null==G){var Q;if(G=new Array,K=0,void 0!==v&&void 0!==v.msCrypto){var Y=v.msCrypto;if(Y.getRandomValues){var Z=new Uint8Array(32);for(Y.getRandomValues(Z),Q=0;Q<32;++Q)G[K++]=Z[Q]}}for(;K<256;)Q=Math.floor(65536*Math.random()),G[K++]=Q>>>8,G[K++]=255&Q;K=0,X()}function tt(){if(null==q){for(X(),(q=new $).init(G),K=0;K<G.length;++K)G[K]=0;K=0}return q.next()}function et(){}function rt(t,e){return new C(t,e)}function it(t,e,r){for(var i="",o=0;i.length<e;)i+=r(String.fromCharCode.apply(String,t.concat([(4278190080&o)>>24,(16711680&o)>>16,(65280&o)>>8,255&o]))),o+=1;return i}function ot(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}function nt(t,e){this.x=e,this.q=t}function st(t,e,r,i){this.curve=t,this.x=e,this.y=r,this.z=null==i?C.ONE:i,this.zinv=null}function at(t,e,r){this.q=t,this.a=this.fromBigInteger(e),this.b=this.fromBigInteger(r),this.infinity=new st(this,null,null)}et.prototype.nextBytes=function(t){var e;for(e=0;e<t.length;++e)t[e]=tt()},ot.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},ot.prototype.setPublic=function(t,e){if(this.isPublic=!0,this.isPrivate=!1,"string"!=typeof t)this.n=t,this.e=e;else{if(!(null!=t&&null!=e&&t.length>0&&e.length>0))throw"Invalid RSA public key";this.n=rt(t,16),this.e=parseInt(e,16)}},ot.prototype.encrypt=function(t){var e=function(t,e){if(e<t.length+11)throw"Message too long for RSA";for(var r=new Array,i=t.length-1;i>=0&&e>0;){var o=t.charCodeAt(i--);o<128?r[--e]=o:o>127&&o<2048?(r[--e]=63&o|128,r[--e]=o>>6|192):(r[--e]=63&o|128,r[--e]=o>>6&63|128,r[--e]=o>>12|224)}r[--e]=0;for(var n=new et,s=new Array;e>2;){for(s[0]=0;0==s[0];)n.nextBytes(s);r[--e]=s[0]}return r[--e]=2,r[--e]=0,new C(r)}(t,this.n.bitLength()+7>>3);if(null==e)return null;var r=this.doPublic(e);if(null==r)return null;var i=r.toString(16);return 0==(1&i.length)?i:"0"+i},ot.prototype.encryptOAEP=function(t,e,r){var i=function(t,e,r,i){var o=ct.crypto.MessageDigest,n=ct.crypto.Util,s=null;if(r||(r="sha1"),"string"==typeof r&&(s=o.getCanonicalAlgName(r),i=o.getHashLength(s),r=function(t){return Et(n.hashHex(Ct(t),s))}),t.length+2*i+2>e)throw"Message too long for RSA";var a,h="";for(a=0;a<e-t.length-2*i-2;a+=1)h+="\0";var c=r("")+h+""+t,u=new Array(i);(new et).nextBytes(u);var p=it(u,c.length,r),l=[];for(a=0;a<c.length;a+=1)l[a]=c.charCodeAt(a)^p.charCodeAt(a);var m=it(l,u.length,r),g=[0];for(a=0;a<u.length;a+=1)g[a+1]=u[a]^m.charCodeAt(a);return new C(g.concat(l))}(t,this.n.bitLength()+7>>3,e,r);if(null==i)return null;var o=this.doPublic(i);if(null==o)return null;var n=o.toString(16);return 0==(1&n.length)?n:"0"+n},ot.prototype.type="RSA",nt.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},nt.prototype.toBigInteger=function(){return this.x},nt.prototype.negate=function(){return new nt(this.q,this.x.negate().mod(this.q))},nt.prototype.add=function(t){return new nt(this.q,this.x.add(t.toBigInteger()).mod(this.q))},nt.prototype.subtract=function(t){return new nt(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},nt.prototype.multiply=function(t){return new nt(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},nt.prototype.square=function(){return new nt(this.q,this.x.square().mod(this.q))},nt.prototype.divide=function(t){return new nt(this.q,this.x.multiply(t.toBigInteger().modInverse(this.q)).mod(this.q))},st.prototype.getX=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.x.toBigInteger().multiply(this.zinv).mod(this.curve.q))},st.prototype.getY=function(){return null==this.zinv&&(this.zinv=this.z.modInverse(this.curve.q)),this.curve.fromBigInteger(this.y.toBigInteger().multiply(this.zinv).mod(this.curve.q))},st.prototype.equals=function(t){return t==this||(this.isInfinity()?t.isInfinity():t.isInfinity()?this.isInfinity():!!t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(C.ZERO)&&t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q).equals(C.ZERO))},st.prototype.isInfinity=function(){return null==this.x&&null==this.y||this.z.equals(C.ZERO)&&!this.y.toBigInteger().equals(C.ZERO)},st.prototype.negate=function(){return new st(this.curve,this.x,this.y.negate(),this.z)},st.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(t.z)).mod(this.curve.q),r=t.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(t.z)).mod(this.curve.q);if(C.ZERO.equals(r))return C.ZERO.equals(e)?this.twice():this.curve.getInfinity();var i=new C("3"),o=this.x.toBigInteger(),n=this.y.toBigInteger(),s=(t.x.toBigInteger(),t.y.toBigInteger(),r.square()),a=s.multiply(r),h=o.multiply(s),c=e.square().multiply(this.z),u=c.subtract(h.shiftLeft(1)).multiply(t.z).subtract(a).multiply(r).mod(this.curve.q),p=h.multiply(i).multiply(e).subtract(n.multiply(a)).subtract(c.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),l=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new st(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(p),l)},st.prototype.twice=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=new C("3"),e=this.x.toBigInteger(),r=this.y.toBigInteger(),i=r.multiply(this.z),o=i.multiply(r).mod(this.curve.q),n=this.curve.a.toBigInteger(),s=e.square().multiply(t);C.ZERO.equals(n)||(s=s.add(this.z.square().multiply(n)));var a=(s=s.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(o)).shiftLeft(1).multiply(i).mod(this.curve.q),h=s.multiply(t).multiply(e).subtract(o.shiftLeft(1)).shiftLeft(2).multiply(o).subtract(s.square().multiply(s)).mod(this.curve.q),c=i.square().multiply(i).shiftLeft(3).mod(this.curve.q);return new st(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(h),c)},st.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,i=r.multiply(new C("3")),o=this.negate(),n=this,s=this.curve.q.subtract(t),a=s.multiply(new C("3")),h=new st(this.curve,this.x,this.y),c=h.negate();for(e=i.bitLength()-2;e>0;--e){n=n.twice();var u=i.testBit(e);u!=r.testBit(e)&&(n=n.add(u?this:o))}for(e=a.bitLength()-2;e>0;--e){h=h.twice();var p=a.testBit(e);p!=s.testBit(e)&&(h=h.add(p?h:c))}return n},st.prototype.multiplyTwo=function(t,e,r){var i;i=t.bitLength()>r.bitLength()?t.bitLength()-1:r.bitLength()-1;for(var o=this.curve.getInfinity(),n=this.add(e);i>=0;)o=o.twice(),t.testBit(i)?o=r.testBit(i)?o.add(n):o.add(this):r.testBit(i)&&(o=o.add(e)),--i;return o},at.prototype.getQ=function(){return this.q},at.prototype.getA=function(){return this.a},at.prototype.getB=function(){return this.b},at.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.a.equals(t.a)&&this.b.equals(t.b)},at.prototype.getInfinity=function(){return this.infinity},at.prototype.fromBigInteger=function(t){return new nt(this.q,t)},at.prototype.decodePointHex=function(t){switch(parseInt(t.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:default:return null;case 4:case 6:case 7:var e=(t.length-2)/2,r=t.substr(2,e),i=t.substr(e+2,e);return new st(this,this.fromBigInteger(new C(r,16)),this.fromBigInteger(new C(i,16)))}},
5
+ /*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib
6
+ */
7
+ nt.prototype.getByteLength=function(){return Math.floor((this.toBigInteger().bitLength()+7)/8)},st.prototype.getEncoded=function(t){var e=function(t,e){var r=t.toByteArrayUnsigned();if(e<r.length)r=r.slice(r.length-e);else for(;e>r.length;)r.unshift(0);return r},r=this.getX().toBigInteger(),i=this.getY().toBigInteger(),o=e(r,32);return t?i.isEven()?o.unshift(2):o.unshift(3):(o.unshift(4),o=o.concat(e(i,32))),o},st.decodeFrom=function(t,e){var r=e.length-1,i=e.slice(1,1+r/2),o=e.slice(1+r/2,1+r);i.unshift(0),o.unshift(0);var n=new C(i),s=new C(o);return new st(t,t.fromBigInteger(n),t.fromBigInteger(s))},st.decodeFromHex=function(t,e){e.substr(0,2);var r=e.length-2,i=e.substr(2,r/2),o=e.substr(2+r/2,r/2),n=new C(i,16),s=new C(o,16);return new st(t,t.fromBigInteger(n),t.fromBigInteger(s))},st.prototype.add2D=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;if(this.x.equals(t.x))return this.y.equals(t.y)?this.twice():this.curve.getInfinity();var e=t.x.subtract(this.x),r=t.y.subtract(this.y).divide(e),i=r.square().subtract(this.x).subtract(t.x),o=r.multiply(this.x.subtract(i)).subtract(this.y);return new st(this.curve,i,o)},st.prototype.twice2D=function(){if(this.isInfinity())return this;if(0==this.y.toBigInteger().signum())return this.curve.getInfinity();var t=this.curve.fromBigInteger(C.valueOf(2)),e=this.curve.fromBigInteger(C.valueOf(3)),r=this.x.square().multiply(e).add(this.curve.a).divide(this.y.multiply(t)),i=r.square().subtract(this.x.multiply(t)),o=r.multiply(this.x.subtract(i)).subtract(this.y);return new st(this.curve,i,o)},st.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,i=r.multiply(new C("3")),o=this.negate(),n=this;for(e=i.bitLength()-2;e>0;--e){n=n.twice();var s=i.testBit(e);s!=r.testBit(e)&&(n=n.add2D(s?this:o))}return n},st.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),r=this.curve.getA().toBigInteger(),i=this.curve.getB().toBigInteger(),o=this.curve.getQ(),n=e.multiply(e).mod(o),s=t.multiply(t).multiply(t).add(r.multiply(t)).add(i).mod(o);return n.equals(s)},st.prototype.toString=function(){return"("+this.getX().toBigInteger().toString()+","+this.getY().toBigInteger().toString()+")"},st.prototype.validate=function(){var t=this.curve.getQ();if(this.isInfinity())throw new Error("Point is at infinity.");var e=this.getX().toBigInteger(),r=this.getY().toBigInteger();if(e.compareTo(C.ONE)<0||e.compareTo(t.subtract(C.ONE))>0)throw new Error("x coordinate out of bounds");if(r.compareTo(C.ONE)<0||r.compareTo(t.subtract(C.ONE))>0)throw new Error("y coordinate out of bounds");if(!this.isOnCurve())throw new Error("Point is not on the curve.");if(this.multiply(t).isInfinity())throw new Error("Point is not a scalar multiple of G.");return!0};var ht=function(){var t=new RegExp('(?:false|true|null|[\\{\\}\\[\\]]|(?:-?\\b(?:0|[1-9][0-9]*)(?:\\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\\b)|(?:"(?:[^\\0-\\x08\\x0a-\\x1f"\\\\]|\\\\(?:["/\\\\bfnrt]|u[0-9A-Fa-f]{4}))*"))',"g"),e=new RegExp("\\\\(?:([^u])|u(.{4}))","g"),r={'"':'"',"/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"};function i(t,e,i){return e?r[e]:String.fromCharCode(parseInt(i,16))}var o=new String(""),n=Object.hasOwnProperty;return function(r,s){var a,h,c=r.match(t),u=c[0],p=!1;"{"===u?a={}:"["===u?a=[]:(a=[],p=!0);for(var l=[a],m=1-p,g=c.length;m<g;++m){var d;switch((u=c[m]).charCodeAt(0)){default:(d=l[0])[h||d.length]=+u,h=void 0;break;case 34:if(-1!==(u=u.substring(1,u.length-1)).indexOf("\\")&&(u=u.replace(e,i)),d=l[0],!h){if(!(d instanceof Array)){h=u||o;break}h=d.length}d[h]=u,h=void 0;break;case 91:l.unshift((d=l[0])[h||d.length]=[]),h=void 0;break;case 93:case 125:l.shift();break;case 102:(d=l[0])[h||d.length]=!1,h=void 0;break;case 110:(d=l[0])[h||d.length]=null,h=void 0;break;case 116:(d=l[0])[h||d.length]=!0,h=void 0;break;case 123:l.unshift((d=l[0])[h||d.length]={}),h=void 0}}if(p){if(1!==l.length)throw new Error;a=a[0]}else if(l.length)throw new Error;return s&&(a=function t(e,r){var i=e[r];if(i&&"object"===(void 0===i?"undefined":w(i))){var o=null;for(var a in i)if(n.call(i,a)&&i!==e){var h=t(i,a);void 0!==h?i[a]=h:(o||(o=[]),o.push(a))}if(o)for(var c=o.length;--c>=0;)delete i[o[c]]}return s.call(e,r,i)}({"":a},"")),a}}();void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.asn1&&ct.asn1||(ct.asn1={}),ct.asn1.ASN1Util=new function(){this.integerToByteHex=function(t){var e=t.toString(16);return e.length%2==1&&(e="0"+e),e},this.bigIntToMinTwosComplementsHex=function(t){var e=t.toString(16);if("-"!=e.substr(0,1))e.length%2==1?e="0"+e:e.match(/^[0-7]/)||(e="00"+e);else{var r=e.substr(1).length;r%2==1?r+=1:e.match(/^[0-7]/)||(r+=2);for(var i="",o=0;o<r;o++)i+="f";e=new C(i,16).xor(t).add(C.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return Tt(t,e)},this.newObject=function(t){var e=ct.asn1,r=e.ASN1Object,i=e.DERBoolean,o=e.DERInteger,n=e.DERBitString,s=e.DEROctetString,a=e.DERNull,h=e.DERObjectIdentifier,c=e.DEREnumerated,u=e.DERUTF8String,p=e.DERNumericString,l=e.DERPrintableString,m=e.DERTeletexString,g=e.DERIA5String,d=e.DERUTCTime,f=e.DERGeneralizedTime,w=e.DERVisibleString,v=e.DERBMPString,y=e.DERSequence,b=e.DERSet,S=e.DERTaggedObject,A=e.ASN1Util.newObject;if(t instanceof e.ASN1Object)return t;var E=Object.keys(t);if(1!=E.length)throw new Error("key of param shall be only one.");var C=E[0];if(-1==":asn1:bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:visstr:bmpstr:seq:set:tag:".indexOf(":"+C+":"))throw new Error("undefined key: "+C);if("bool"==C)return new i(t[C]);if("int"==C)return new o(t[C]);if("bitstr"==C)return new n(t[C]);if("octstr"==C)return new s(t[C]);if("null"==C)return new a(t[C]);if("oid"==C)return new h(t[C]);if("enum"==C)return new c(t[C]);if("utf8str"==C)return new u(t[C]);if("numstr"==C)return new p(t[C]);if("prnstr"==C)return new l(t[C]);if("telstr"==C)return new m(t[C]);if("ia5str"==C)return new g(t[C]);if("utctime"==C)return new d(t[C]);if("gentime"==C)return new f(t[C]);if("visstr"==C)return new w(t[C]);if("bmpstr"==C)return new v(t[C]);if("asn1"==C)return new r(t[C]);if("seq"==C){for(var P=t[C],F=[],k=0;k<P.length;k++){var T=A(P[k]);F.push(T)}return new y({array:F})}if("set"==C){for(P=t[C],F=[],k=0;k<P.length;k++)T=A(P[k]),F.push(T);return new b({array:F})}if("tag"==C){var R=t[C];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var O=A(R[2]);return new S({tag:R[0],explicit:R[1],obj:O})}return new S(R)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},ct.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",r=parseInt(t.substr(0,2),16),i=(e=Math.floor(r/40)+"."+r%40,""),o=2;o<t.length;o+=2){var n=("00000000"+parseInt(t.substr(o,2),16).toString(2)).slice(-8);i+=n.substr(1,7),"0"==n.substr(0,1)&&(e=e+"."+new C(i,2).toString(10),i="")}return e},ct.asn1.ASN1Util.oidIntToHex=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},r=function(t){var r="",i=new C(t,10).toString(2),o=7-i.length%7;7==o&&(o=0);for(var n="",s=0;s<o;s++)n+="0";for(i=n+i,s=0;s<i.length-1;s+=7){var a=i.substr(s,7);s!=i.length-7&&(a="1"+a),r+=e(parseInt(a,2))}return r};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var i="",o=t.split("."),n=40*parseInt(o[0])+parseInt(o[1]);i+=e(n),o.splice(0,2);for(var s=0;s<o.length;s++)i+=r(o[s]);return i},ct.asn1.ASN1Object=function(t){this.params=null,this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw new Error("this.hV is null or undefined");if(this.hV.length%2==1)throw new Error("value hex must be even length: n="+"".length+",v="+this.hV);var t=this.hV.length/2,e=t.toString(16);if(e.length%2==1&&(e="0"+e),t<128)return e;var r=e.length/2;if(r>15)throw"ASN.1 length too long to represent by 8x: n = "+t.toString(16);return(128+r).toString(16)+e},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""},this.setByParam=function(t){this.params=t},null!=t&&null!=t.tlv&&(this.hTLV=t.tlv,this.isModified=!1)},ct.asn1.DERAbstractString=function(t){ct.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=St(this.s).toLowerCase()},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t?this.setString(t):void 0!==t.str?this.setString(t.str):void 0!==t.hex&&this.setStringHex(t.hex))},Wt(ct.asn1.DERAbstractString,ct.asn1.ASN1Object),ct.asn1.DERAbstractTime=function(){ct.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(t){var e=t.getTime()+6e4*t.getTimezoneOffset();return new Date(e)},this.formatDate=function(t,e,r){var i=this.zeroPadding,o=this.localDateToUTC(t),n=String(o.getFullYear());"utc"==e&&(n=n.substr(2,2));var s=n+i(String(o.getMonth()+1),2)+i(String(o.getDate()),2)+i(String(o.getHours()),2)+i(String(o.getMinutes()),2)+i(String(o.getSeconds()),2);if(!0===r){var a=o.getMilliseconds();if(0!=a){var h=i(String(a),3);s=s+"."+(h=h.replace(/[0]+$/,""))}}return s+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=ft(t)},this.setByDateValue=function(t,e,r,i,o,n){var s=new Date(Date.UTC(t,e-1,r,i,o,n,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},Wt(ct.asn1.DERAbstractTime,ct.asn1.ASN1Object),ct.asn1.DERAbstractStructured=function(t){ct.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,void 0!==t&&void 0!==t.array&&(this.asn1Array=t.array)},Wt(ct.asn1.DERAbstractStructured,ct.asn1.ASN1Object),ct.asn1.DERBoolean=function(t){ct.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==t?"010100":"0101ff"},Wt(ct.asn1.DERBoolean,ct.asn1.ASN1Object),ct.asn1.DERInteger=function(t){ct.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ct.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new C(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.bigint?this.setByBigInteger(t.bigint):void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},Wt(ct.asn1.DERInteger,ct.asn1.ASN1Object),ct.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ct.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ct.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var r="0"+t;this.hTLV=null,this.isModified=!0,this.hV=r+e},this.setByBinaryString=function(t){var e=8-(t=t.replace(/0+$/,"")).length%8;8==e&&(e=0);for(var r=0;r<=e;r++)t+="0";var i="";for(r=0;r<t.length-1;r+=8){var o=t.substr(r,8),n=parseInt(o,2).toString(16);1==n.length&&(n="0"+n),i+=n}this.hTLV=null,this.isModified=!0,this.hV="0"+e+i},this.setByBooleanArray=function(t){for(var e="",r=0;r<t.length;r++)e+=1==t[r]?"1":"0";this.setByBinaryString(e)},this.newFalseArray=function(t){for(var e=new Array(t),r=0;r<t;r++)e[r]=!1;return e},this.getFreshValueHex=function(){return this.hV},void 0!==t&&("string"==typeof t&&t.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(t):void 0!==t.hex?this.setHexValueIncludingUnusedBits(t.hex):void 0!==t.bin?this.setByBinaryString(t.bin):void 0!==t.array&&this.setByBooleanArray(t.array))},Wt(ct.asn1.DERBitString,ct.asn1.ASN1Object),ct.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ct.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}ct.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},Wt(ct.asn1.DEROctetString,ct.asn1.DERAbstractString),ct.asn1.DERNull=function(){ct.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Wt(ct.asn1.DERNull,ct.asn1.ASN1Object),ct.asn1.DERObjectIdentifier=function(t){ct.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.setValueOidString=function(t){var e=function(t){var e=function(t){var e=t.toString(16);return 1==e.length&&(e="0"+e),e},r=function(t){var r="",i=parseInt(t,10).toString(2),o=7-i.length%7;7==o&&(o=0);for(var n="",s=0;s<o;s++)n+="0";for(i=n+i,s=0;s<i.length-1;s+=7){var a=i.substr(s,7);s!=i.length-7&&(a="1"+a),r+=e(parseInt(a,2))}return r};try{if(!t.match(/^[0-9.]+$/))return null;var i="",o=t.split("."),n=40*parseInt(o[0],10)+parseInt(o[1],10);i+=e(n),o.splice(0,2);for(var s=0;s<o.length;s++)i+=r(o[s]);return i}catch(t){return null}}(t);if(null==e)throw new Error("malformed oid string: "+t);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueName=function(t){var e=ct.asn1.x509.OID.name2oid(t);if(""===e)throw new Error("DERObjectIdentifier oidName undefined: "+t);this.setValueOidString(e)},this.setValueNameOrOid=function(t){t.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(t):this.setValueName(t)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(t){"string"==typeof t?this.setValueNameOrOid(t):void 0!==t.oid?this.setValueNameOrOid(t.oid):void 0!==t.name?this.setValueNameOrOid(t.name):void 0!==t.hex&&this.setValueHex(t.hex)},void 0!==t&&this.setByParam(t)},Wt(ct.asn1.DERObjectIdentifier,ct.asn1.ASN1Object),ct.asn1.DEREnumerated=function(t){ct.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ct.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new C(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},void 0!==t&&(void 0!==t.int?this.setByInteger(t.int):"number"==typeof t?this.setByInteger(t):void 0!==t.hex&&this.setValueHex(t.hex))},Wt(ct.asn1.DEREnumerated,ct.asn1.ASN1Object),ct.asn1.DERUTF8String=function(t){ct.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},Wt(ct.asn1.DERUTF8String,ct.asn1.DERAbstractString),ct.asn1.DERNumericString=function(t){ct.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},Wt(ct.asn1.DERNumericString,ct.asn1.DERAbstractString),ct.asn1.DERPrintableString=function(t){ct.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},Wt(ct.asn1.DERPrintableString,ct.asn1.DERAbstractString),ct.asn1.DERTeletexString=function(t){ct.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},Wt(ct.asn1.DERTeletexString,ct.asn1.DERAbstractString),ct.asn1.DERIA5String=function(t){ct.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},Wt(ct.asn1.DERIA5String,ct.asn1.DERAbstractString),ct.asn1.DERVisibleString=function(t){ct.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="1a"},Wt(ct.asn1.DERVisibleString,ct.asn1.DERAbstractString),ct.asn1.DERBMPString=function(t){ct.asn1.DERBMPString.superclass.constructor.call(this,t),this.hT="1e"},Wt(ct.asn1.DERBMPString,ct.asn1.DERAbstractString),ct.asn1.DERUTCTime=function(t){ct.asn1.DERUTCTime.superclass.constructor.call(this,t),this.hT="17",this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"utc"),this.hV=ft(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=ft(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{12}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date))},Wt(ct.asn1.DERUTCTime,ct.asn1.DERAbstractTime),ct.asn1.DERGeneralizedTime=function(t){ct.asn1.DERGeneralizedTime.superclass.constructor.call(this,t),this.hT="18",this.withMillis=!1,this.setByDate=function(t){this.hTLV=null,this.isModified=!0,this.date=t,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=ft(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=ft(this.s)),this.hV},void 0!==t&&(void 0!==t.str?this.setString(t.str):"string"==typeof t&&t.match(/^[0-9]{14}Z$/)?this.setString(t):void 0!==t.hex?this.setStringHex(t.hex):void 0!==t.date&&this.setByDate(t.date),!0===t.millis&&(this.withMillis=!0))},Wt(ct.asn1.DERGeneralizedTime,ct.asn1.DERAbstractTime),ct.asn1.DERSequence=function(t){ct.asn1.DERSequence.superclass.constructor.call(this,t),this.hT="30",this.getFreshValueHex=function(){for(var t="",e=0;e<this.asn1Array.length;e++)t+=this.asn1Array[e].getEncodedHex();return this.hV=t,this.hV}},Wt(ct.asn1.DERSequence,ct.asn1.DERAbstractStructured),ct.asn1.DERSet=function(t){ct.asn1.DERSet.superclass.constructor.call(this,t),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var t=new Array,e=0;e<this.asn1Array.length;e++)t.push(this.asn1Array[e].getEncodedHex());return 1==this.sortFlag&&t.sort(),this.hV=t.join(""),this.hV},void 0!==t&&void 0!==t.sortflag&&0==t.sortflag&&(this.sortFlag=!1)},Wt(ct.asn1.DERSet,ct.asn1.DERAbstractStructured),ct.asn1.DERTaggedObject=function(t){ct.asn1.DERTaggedObject.superclass.constructor.call(this);var e=ct.asn1;this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(t,e,r){this.hT=e,this.isExplicit=t,this.asn1Object=r,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=r.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,e),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},this.setByParam=function(t){null!=t.tag&&(this.hT=t.tag),null!=t.explicit&&(this.isExplicit=t.explicit),null!=t.tage&&(this.hT=t.tage,this.isExplicit=!0),null!=t.tagi&&(this.hT=t.tagi,this.isExplicit=!1),null!=t.obj&&(t.obj instanceof e.ASN1Object?(this.asn1Object=t.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)):"object"==w(t.obj)&&(this.asn1Object=e.ASN1Util.newObject(t.obj),this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},null!=t&&this.setByParam(t)},Wt(ct.asn1.DERTaggedObject,ct.asn1.ASN1Object);var ct,ut,pt,lt=new function(){};function mt(t){for(var e=new Array,r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}function gt(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}function dt(t){for(var e="",r=0;r<t.length;r++){var i=t[r].toString(16);1==i.length&&(i="0"+i),e+=i}return e}function ft(t){return dt(mt(t))}function wt(t){return(t=(t=t.replace(/\=/g,"")).replace(/\+/g,"-")).replace(/\//g,"_")}function vt(t){return t.length%4==2?t+="==":t.length%4==3&&(t+="="),(t=t.replace(/-/g,"+")).replace(/_/g,"/")}function yt(t){return t.length%2==1&&(t="0"+t),wt(S(t))}function bt(t){return A(vt(t))}function St(t){return Mt(Bt(t))}function At(t){return decodeURIComponent(It(t))}function Et(t){for(var e="",r=0;r<t.length-1;r+=2)e+=String.fromCharCode(parseInt(t.substr(r,2),16));return e}function Ct(t){for(var e="",r=0;r<t.length;r++)e+=("0"+t.charCodeAt(r).toString(16)).slice(-2);return e}function Pt(t){return S(t)}function Ft(t){return Pt(t).replace(/(.{64})/g,"$1\r\n").replace(/\r\n$/,"")}function kt(t){return A(t.replace(/[^0-9A-Za-z\/+=]*/g,""))}function Tt(t,e){return"-----BEGIN "+e+"-----\r\n"+Ft(t)+"\r\n-----END "+e+"-----\r\n"}function Rt(t,e){if(-1==t.indexOf("-----BEGIN "))throw"can't find PEM header: "+e;return kt(t=void 0!==e?(t=t.replace(new RegExp("^[^]*-----BEGIN "+e+"-----"),"")).replace(new RegExp("-----END "+e+"-----[^]*$"),""):(t=t.replace(/^[^]*-----BEGIN [^-]+-----/,"")).replace(/-----END [^-]+-----[^]*$/,""))}function Ot(t){var e,r,i,o,n,s,a,h,c,u,p;if(p=t.match(/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return h=p[1],e=parseInt(h),2===h.length&&(50<=e&&e<100?e=1900+e:0<=e&&e<50&&(e=2e3+e)),r=parseInt(p[2])-1,i=parseInt(p[3]),o=parseInt(p[4]),n=parseInt(p[5]),s=parseInt(p[6]),a=0,""!==(c=p[7])&&(u=(c.substr(1)+"00").substr(0,3),a=parseInt(u)),Date.UTC(e,r,i,o,n,s,a);throw"unsupported zulu format: "+t}function Dt(t){return~~(Ot(t)/1e3)}function Mt(t){return t.replace(/%/g,"")}function It(t){return t.replace(/(..)/g,"%$1")}function xt(t){var e="malformed IPv6 address";if(!t.match(/^[0-9A-Fa-f:]+$/))throw e;var r=(t=t.toLowerCase()).split(":").length-1;if(r<2)throw e;var i=":".repeat(7-r+2),o=(t=t.replace("::",i)).split(":");if(8!=o.length)throw e;for(var n=0;n<8;n++)o[n]=("0000"+o[n]).slice(-4);return o.join("")}function _t(t){if(!t.match(/^[0-9A-Fa-f]{32}$/))throw"malformed IPv6 address octet";for(var e=(t=t.toLowerCase()).match(/.{1,4}/g),r=0;r<8;r++)e[r]=e[r].replace(/^0+/,""),""==e[r]&&(e[r]="0");var i=(t=":"+e.join(":")+":").match(/:(0:){2,}/g);if(null===i)return t.slice(1,-1);var o="";for(r=0;r<i.length;r++)i[r].length>o.length&&(o=i[r]);return(t=t.replace(o,"::")).slice(1,-1)}function Nt(t){var e="malformed hex value";if(!t.match(/^([0-9A-Fa-f][0-9A-Fa-f]){1,}$/))throw e;if(8!=t.length)return 32==t.length?_t(t):t;try{return parseInt(t.substr(0,2),16)+"."+parseInt(t.substr(2,2),16)+"."+parseInt(t.substr(4,2),16)+"."+parseInt(t.substr(6,2),16)}catch(t){throw e}}function jt(t){return t.match(/.{4}/g).map((function(t){var e=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2),16);if(0==e&r<128)return String.fromCharCode(r);if(e<8){var i=128|63&r;return At((192|(7&e)<<3|(192&r)>>6).toString(16)+i.toString(16))}i=128|(15&e)<<2|(192&r)>>6;var o=128|63&r;return At((224|(240&e)>>4).toString(16)+i.toString(16)+o.toString(16))})).join("")}function Bt(t){for(var e=encodeURIComponent(t),r="",i=0;i<e.length;i++)"%"==e[i]?(r+=e.substr(i,3),i+=2):r=r+"%"+ft(e[i]);return r}function Ut(t){return!(t.length%2!=0||!t.match(/^[0-9a-f]+$/)&&!t.match(/^[0-9A-F]+$/))}function Lt(t){return t.length%2==1?"0"+t:t.substr(0,1)>"7"?"00"+t:t}lt.getLblen=function(t,e){if("8"!=t.substr(e+2,1))return 1;var r=parseInt(t.substr(e+3,1));return 0==r?-1:0<r&&r<10?r+1:-2},lt.getL=function(t,e){var r=lt.getLblen(t,e);return r<1?"":t.substr(e+2,2*r)},lt.getVblen=function(t,e){var r;return""==(r=lt.getL(t,e))?-1:("8"===r.substr(0,1)?new C(r.substr(2),16):new C(r,16)).intValue()},lt.getVidx=function(t,e){var r=lt.getLblen(t,e);return r<0?r:e+2*(r+1)},lt.getV=function(t,e){var r=lt.getVidx(t,e),i=lt.getVblen(t,e);return t.substr(r,2*i)},lt.getTLV=function(t,e){return t.substr(e,2)+lt.getL(t,e)+lt.getV(t,e)},lt.getTLVblen=function(t,e){return 2+2*lt.getLblen(t,e)+2*lt.getVblen(t,e)},lt.getNextSiblingIdx=function(t,e){return lt.getVidx(t,e)+2*lt.getVblen(t,e)},lt.getChildIdx=function(t,e){var r,i,o,n=lt,s=[];r=n.getVidx(t,e),i=2*n.getVblen(t,e),"03"==t.substr(e,2)&&(r+=2,i-=2),o=0;for(var a=r;o<=i;){var h=n.getTLVblen(t,a);if((o+=h)<=i&&s.push(a),a+=h,o>=i)break}return s},lt.getNthChildIdx=function(t,e,r){return lt.getChildIdx(t,e)[r]},lt.getIdxbyList=function(t,e,r,i){var o,n,s=lt;return 0==r.length?void 0!==i&&t.substr(e,2)!==i?-1:e:(o=r.shift())>=(n=s.getChildIdx(t,e)).length?-1:s.getIdxbyList(t,n[o],r,i)},lt.getIdxbyListEx=function(t,e,r,i){var o,n,s=lt;if(0==r.length)return void 0!==i&&t.substr(e,2)!==i?-1:e;o=r.shift(),n=s.getChildIdx(t,e);for(var a=0,h=0;h<n.length;h++){var c=t.substr(n[h],2);if("number"==typeof o&&!s.isContextTag(c)&&a==o||"string"==typeof o&&s.isContextTag(c,o))return s.getIdxbyListEx(t,n[h],r,i);s.isContextTag(c)||a++}return-1},lt.getTLVbyList=function(t,e,r,i){var o=lt,n=o.getIdxbyList(t,e,r,i);return-1==n||n>=t.length?null:o.getTLV(t,n)},lt.getTLVbyListEx=function(t,e,r,i){var o=lt,n=o.getIdxbyListEx(t,e,r,i);return-1==n?null:o.getTLV(t,n)},lt.getVbyList=function(t,e,r,i,o){var n,s,a=lt;return-1==(n=a.getIdxbyList(t,e,r,i))||n>=t.length?null:(s=a.getV(t,n),!0===o&&(s=s.substr(2)),s)},lt.getVbyListEx=function(t,e,r,i,o){var n,s,a=lt;return-1==(n=a.getIdxbyListEx(t,e,r,i))?null:(s=a.getV(t,n),"03"==t.substr(n,2)&&!1!==o&&(s=s.substr(2)),s)},lt.getInt=function(t,e,r){null==r&&(r=-1);try{var i=t.substr(e,2);if("02"!=i&&"03"!=i)return r;var o=lt.getV(t,e);return"02"==i?parseInt(o,16):function(t){try{var e=t.substr(0,2);if("00"==e)return parseInt(t.substr(2),16);var r=parseInt(e,16),i=t.substr(2),o=parseInt(i,16).toString(2);return"0"==o&&(o="00000000"),o=o.slice(0,0-r),parseInt(o,2)}catch(t){return-1}}(o)}catch(t){return r}},lt.getOID=function(t,e,r){null==r&&(r=null);try{return"06"!=t.substr(e,2)?r:function(t){if(!Ut(t))return null;try{var e=[],r=t.substr(0,2),i=parseInt(r,16);e[0]=new String(Math.floor(i/40)),e[1]=new String(i%40);for(var o=t.substr(2),n=[],s=0;s<o.length/2;s++)n.push(parseInt(o.substr(2*s,2),16));var a=[],h="";for(s=0;s<n.length;s++)128&n[s]?h+=Ht((127&n[s]).toString(2),7):(h+=Ht((127&n[s]).toString(2),7),a.push(new String(parseInt(h,2))),h="");var c=e.join(".");return a.length>0&&(c=c+"."+a.join(".")),c}catch(t){return null}}(lt.getV(t,e))}catch(t){return r}},lt.getOIDName=function(t,e,r){null==r&&(r=null);try{var i=lt.getOID(t,e,r);if(i==r)return r;var o=ct.asn1.x509.OID.oid2name(i);return""==o?i:o}catch(t){return r}},lt.getString=function(t,e,r){null==r&&(r=null);try{return Et(lt.getV(t,e))}catch(t){return r}},lt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},r=[],i=t.substr(0,2),o=parseInt(i,16);r[0]=new String(Math.floor(o/40)),r[1]=new String(o%40);for(var n=t.substr(2),s=[],a=0;a<n.length/2;a++)s.push(parseInt(n.substr(2*a,2),16));var h=[],c="";for(a=0;a<s.length;a++)128&s[a]?c+=e((127&s[a]).toString(2),7):(c+=e((127&s[a]).toString(2),7),h.push(new String(parseInt(c,2))),c="");var u=r.join(".");return h.length>0&&(u=u+"."+h.join(".")),u},lt.dump=function(t,e,r,i){var o=lt,n=o.getV,s=o.dump,a=o.getChildIdx,h=t;t instanceof ct.asn1.ASN1Object&&(h=t.getEncodedHex());var c=function(t,e){return t.length<=2*e?t:t.substr(0,e)+"..(total "+t.length/2+"bytes).."+t.substr(t.length-e,e)};void 0===e&&(e={ommit_long_octet:32}),void 0===r&&(r=0),void 0===i&&(i="");var u,p=e.ommit_long_octet;if("01"==(u=h.substr(r,2)))return"00"==(l=n(h,r))?i+"BOOLEAN FALSE\n":i+"BOOLEAN TRUE\n";if("02"==u)return i+"INTEGER "+c(l=n(h,r),p)+"\n";if("03"==u){var l=n(h,r);return o.isASN1HEX(l.substr(2))?(S=i+"BITSTRING, encapsulates\n")+s(l.substr(2),e,0,i+" "):i+"BITSTRING "+c(l,p)+"\n"}if("04"==u)return l=n(h,r),o.isASN1HEX(l)?(S=i+"OCTETSTRING, encapsulates\n")+s(l,e,0,i+" "):i+"OCTETSTRING "+c(l,p)+"\n";if("05"==u)return i+"NULL\n";if("06"==u){var m=n(h,r),g=ct.asn1.ASN1Util.oidHexToInt(m),d=ct.asn1.x509.OID.oid2name(g),f=g.replace(/\./g," ");return""!=d?i+"ObjectIdentifier "+d+" ("+f+")\n":i+"ObjectIdentifier ("+f+")\n"}if("0a"==u)return i+"ENUMERATED "+parseInt(n(h,r))+"\n";if("0c"==u)return i+"UTF8String '"+At(n(h,r))+"'\n";if("13"==u)return i+"PrintableString '"+At(n(h,r))+"'\n";if("14"==u)return i+"TeletexString '"+At(n(h,r))+"'\n";if("16"==u)return i+"IA5String '"+At(n(h,r))+"'\n";if("17"==u)return i+"UTCTime "+At(n(h,r))+"\n";if("18"==u)return i+"GeneralizedTime "+At(n(h,r))+"\n";if("1a"==u)return i+"VisualString '"+At(n(h,r))+"'\n";if("1e"==u)return i+"BMPString '"+jt(n(h,r))+"'\n";if("30"==u){if("3000"==h.substr(r,4))return i+"SEQUENCE {}\n";S=i+"SEQUENCE\n";var w=e;if((2==(b=a(h,r)).length||3==b.length)&&"06"==h.substr(b[0],2)&&"04"==h.substr(b[b.length-1],2)){d=o.oidname(n(h,b[0]));var v=JSON.parse(JSON.stringify(e));v.x509ExtName=d,w=v}for(var y=0;y<b.length;y++)S+=s(h,w,b[y],i+" ");return S}if("31"==u){S=i+"SET\n";var b=a(h,r);for(y=0;y<b.length;y++)S+=s(h,e,b[y],i+" ");return S}if(0!=(128&(u=parseInt(u,16)))){var S,A=31&u;if(0!=(32&u)){for(S=i+"["+A+"]\n",b=a(h,r),y=0;y<b.length;y++)S+=s(h,e,b[y],i+" ");return S}return l=n(h,r),lt.isASN1HEX(l)?(S=i+"["+A+"]\n")+s(l,e,0,i+" "):(("68747470"==l.substr(0,8)||"subjectAltName"===e.x509ExtName&&2==A)&&(l=At(l)),i+"["+A+"] "+l+"\n")}return i+"UNKNOWN("+u+") "+n(h,r)+"\n"},lt.isContextTag=function(t,e){var r,i;t=t.toLowerCase();try{r=parseInt(t,16)}catch(t){return-1}if(void 0===e)return 128==(192&r);try{return null!=e.match(/^\[[0-9]+\]$/)&&!((i=parseInt(e.substr(1,e.length-1),10))>31)&&128==(192&r)&&(31&r)==i}catch(t){return!1}},lt.isASN1HEX=function(t){var e=lt;if(t.length%2==1)return!1;var r=e.getVblen(t,0),i=t.substr(0,2),o=e.getL(t,0);return t.length-i.length-o.length==2*r},lt.checkStrictDER=function(t,e,r,i,o){var n=lt;if(void 0===r){if("string"!=typeof t)throw new Error("not hex string");if(t=t.toLowerCase(),!ct.lang.String.isHex(t))throw new Error("not hex string");r=t.length,o=(i=t.length/2)<128?1:Math.ceil(i.toString(16))+1}if(n.getL(t,e).length>2*o)throw new Error("L of TLV too long: idx="+e);var s=n.getVblen(t,e);if(s>i)throw new Error("value of L too long than hex: idx="+e);var a=n.getTLV(t,e),h=a.length-2-n.getL(t,e).length;if(h!==2*s)throw new Error("V string length and L's value not the same:"+h+"/"+2*s);if(0===e&&t.length!=a.length)throw new Error("total length and TLV length unmatch:"+t.length+"!="+a.length);var c=t.substr(e,2);if("02"===c){var u=n.getVidx(t,e);if("00"==t.substr(u,2)&&t.charCodeAt(u+2)<56)throw new Error("not least zeros for DER INTEGER")}if(32&parseInt(c,16)){for(var p=n.getVblen(t,e),l=0,m=n.getChildIdx(t,e),g=0;g<m.length;g++)l+=n.getTLV(t,m[g]).length,n.checkStrictDER(t,m[g],r,i,o);if(2*p!=l)throw new Error("sum of children's TLV length and L unmatch: "+2*p+"!="+l)}},lt.oidname=function(t){var e=ct.asn1;ct.lang.String.isHex(t)&&(t=e.ASN1Util.oidHexToInt(t));var r=e.x509.OID.oid2name(t);return""===r&&(r=t),r},void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.lang&&ct.lang||(ct.lang={}),ct.lang.String=function(){},"function"==typeof t?(e.utf8tob64u=ut=function(e){return wt(t.from(e,"utf8").toString("base64"))},e.b64utoutf8=pt=function(e){return t.from(vt(e),"base64").toString("utf8")}):(e.utf8tob64u=ut=function(t){return yt(Mt(Bt(t)))},e.b64utoutf8=pt=function(t){return decodeURIComponent(It(bt(t)))}),ct.lang.String.isInteger=function(t){return!!t.match(/^[0-9]+$/)||!!t.match(/^-[0-9]+$/)},ct.lang.String.isHex=function(t){return Ut(t)},ct.lang.String.isBase64=function(t){return!(!(t=t.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||t.length%4!=0)},ct.lang.String.isBase64URL=function(t){return!t.match(/[+/=]/)&&(t=vt(t),ct.lang.String.isBase64(t))},ct.lang.String.isIntegerArray=function(t){return!!(t=t.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},ct.lang.String.isPrintable=function(t){return null!==t.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},ct.lang.String.isIA5=function(t){return null!==t.match(/^[\x20-\x21\x23-\x7f]*$/)},ct.lang.String.isMail=function(t){return null!==t.match(/^[A-Za-z0-9]{1}[A-Za-z0-9_.-]*@{1}[A-Za-z0-9_.-]{1,}\.[A-Za-z0-9]{1,}$/)};var Ht=function(t,e,r){return null==r&&(r="0"),t.length>=e?t:new Array(e-t.length+1).join(r)+t};function Wt(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e)}void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.crypto&&ct.crypto||(ct.crypto={}),ct.crypto.Util=new function(){this.DIGESTINFOHEAD={sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",ripemd160:"3021300906052b2403020105000414"},this.DEFAULTPROVIDER={md5:"cryptojs",sha1:"cryptojs",sha224:"cryptojs",sha256:"cryptojs",sha384:"cryptojs",sha512:"cryptojs",ripemd160:"cryptojs",hmacmd5:"cryptojs",hmacsha1:"cryptojs",hmacsha224:"cryptojs",hmacsha256:"cryptojs",hmacsha384:"cryptojs",hmacsha512:"cryptojs",hmacripemd160:"cryptojs",MD5withRSA:"cryptojs/jsrsa",SHA1withRSA:"cryptojs/jsrsa",SHA224withRSA:"cryptojs/jsrsa",SHA256withRSA:"cryptojs/jsrsa",SHA384withRSA:"cryptojs/jsrsa",SHA512withRSA:"cryptojs/jsrsa",RIPEMD160withRSA:"cryptojs/jsrsa",MD5withECDSA:"cryptojs/jsrsa",SHA1withECDSA:"cryptojs/jsrsa",SHA224withECDSA:"cryptojs/jsrsa",SHA256withECDSA:"cryptojs/jsrsa",SHA384withECDSA:"cryptojs/jsrsa",SHA512withECDSA:"cryptojs/jsrsa",RIPEMD160withECDSA:"cryptojs/jsrsa",SHA1withDSA:"cryptojs/jsrsa",SHA224withDSA:"cryptojs/jsrsa",SHA256withDSA:"cryptojs/jsrsa",MD5withRSAandMGF1:"cryptojs/jsrsa",SHAwithRSAandMGF1:"cryptojs/jsrsa",SHA1withRSAandMGF1:"cryptojs/jsrsa",SHA224withRSAandMGF1:"cryptojs/jsrsa",SHA256withRSAandMGF1:"cryptojs/jsrsa",SHA384withRSAandMGF1:"cryptojs/jsrsa",SHA512withRSAandMGF1:"cryptojs/jsrsa",RIPEMD160withRSAandMGF1:"cryptojs/jsrsa"},this.CRYPTOJSMESSAGEDIGESTNAME={md5:y.algo.MD5,sha1:y.algo.SHA1,sha224:y.algo.SHA224,sha256:y.algo.SHA256,sha384:y.algo.SHA384,sha512:y.algo.SHA512,ripemd160:y.algo.RIPEMD160},this.getDigestInfoHex=function(t,e){if(void 0===this.DIGESTINFOHEAD[e])throw"alg not supported in Util.DIGESTINFOHEAD: "+e;return this.DIGESTINFOHEAD[e]+t},this.getPaddedDigestInfoHex=function(t,e,r){var i=this.getDigestInfoHex(t,e),o=r/4;if(i.length+22>o)throw"key is too short for SigAlg: keylen="+r+","+e;for(var n="0001",s="00"+i,a="",h=o-n.length-s.length,c=0;c<h;c+=2)a+="ff";return n+a+s},this.hashString=function(t,e){return new ct.crypto.MessageDigest({alg:e}).digestString(t)},this.hashHex=function(t,e){return new ct.crypto.MessageDigest({alg:e}).digestHex(t)},this.sha1=function(t){return this.hashString(t,"sha1")},this.sha256=function(t){return this.hashString(t,"sha256")},this.sha256Hex=function(t){return this.hashHex(t,"sha256")},this.sha512=function(t){return this.hashString(t,"sha512")},this.sha512Hex=function(t){return this.hashHex(t,"sha512")},this.isKey=function(t){return t instanceof ot||t instanceof ct.crypto.DSA||t instanceof ct.crypto.ECDSA}},ct.crypto.Util.md5=function(t){return new ct.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(t)},ct.crypto.Util.ripemd160=function(t){return new ct.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(t)},ct.crypto.Util.SECURERANDOMGEN=new et,ct.crypto.Util.getRandomHexOfNbytes=function(t){var e=new Array(t);return ct.crypto.Util.SECURERANDOMGEN.nextBytes(e),dt(e)},ct.crypto.Util.getRandomBigIntegerOfNbytes=function(t){return new C(ct.crypto.Util.getRandomHexOfNbytes(t),16)},ct.crypto.Util.getRandomHexOfNbits=function(t){var e=t%8,r=new Array((t-e)/8+1);return ct.crypto.Util.SECURERANDOMGEN.nextBytes(r),r[0]=(255<<e&255^255)&r[0],dt(r)},ct.crypto.Util.getRandomBigIntegerOfNbits=function(t){return new C(ct.crypto.Util.getRandomHexOfNbits(t),16)},ct.crypto.Util.getRandomBigIntegerZeroToMax=function(t){for(var e=t.bitLength();;){var r=ct.crypto.Util.getRandomBigIntegerOfNbits(e);if(-1!=t.compareTo(r))return r}},ct.crypto.Util.getRandomBigIntegerMinToMax=function(t,e){var r=t.compareTo(e);if(1==r)throw"biMin is greater than biMax";if(0==r)return t;var i=e.subtract(t);return ct.crypto.Util.getRandomBigIntegerZeroToMax(i).add(t)},ct.crypto.MessageDigest=function(t){this.setAlgAndProvider=function(t,e){if(null!==(t=ct.crypto.MessageDigest.getCanonicalAlgName(t))&&void 0===e&&(e=ct.crypto.Util.DEFAULTPROVIDER[t]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(t)&&"cryptojs"==e){try{this.md=ct.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[t].create()}catch(e){throw"setAlgAndProvider hash alg set fail alg="+t+"/"+e}this.updateString=function(t){this.md.update(t)},this.updateHex=function(t){var e=y.enc.Hex.parse(t);this.md.update(e)},this.digest=function(){return this.md.finalize().toString(y.enc.Hex)},this.digestString=function(t){return this.updateString(t),this.digest()},this.digestHex=function(t){return this.updateHex(t),this.digest()}}if(-1!=":sha256:".indexOf(t)&&"sjcl"==e){try{this.md=new sjcl.hash.sha256}catch(e){throw"setAlgAndProvider hash alg set fail alg="+t+"/"+e}this.updateString=function(t){this.md.update(t)},this.updateHex=function(t){var e=sjcl.codec.hex.toBits(t);this.md.update(e)},this.digest=function(){var t=this.md.finalize();return sjcl.codec.hex.fromBits(t)},this.digestString=function(t){return this.updateString(t),this.digest()},this.digestHex=function(t){return this.updateHex(t),this.digest()}}},this.updateString=function(){throw"updateString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.updateHex=function(){throw"updateHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digest=function(){throw"digest() not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestString=function(){throw"digestString(str) not supported for this alg/prov: "+this.algName+"/"+this.provName},this.digestHex=function(){throw"digestHex(hex) not supported for this alg/prov: "+this.algName+"/"+this.provName},void 0!==t&&void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov&&(this.provName=ct.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},ct.crypto.MessageDigest.getCanonicalAlgName=function(t){return"string"==typeof t&&(t=(t=t.toLowerCase()).replace(/-/,"")),t},ct.crypto.MessageDigest.getHashLength=function(t){var e=ct.crypto.MessageDigest,r=e.getCanonicalAlgName(t);if(void 0===e.HASHLENGTH[r])throw"not supported algorithm: "+t;return e.HASHLENGTH[r]},ct.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},ct.crypto.Mac=function(t){this.setAlgAndProvider=function(t,e){if(null==(t=t.toLowerCase())&&(t="hmacsha1"),"hmac"!=(t=t.toLowerCase()).substr(0,4))throw"setAlgAndProvider unsupported HMAC alg: "+t;void 0===e&&(e=ct.crypto.Util.DEFAULTPROVIDER[t]),this.algProv=t+"/"+e;var r=t.substr(4);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(r)&&"cryptojs"==e){try{this.mac=y.algo.HMAC.create(ct.crypto.Util.CRYPTOJSMESSAGEDIGESTNAME[r],this.pass)}catch(t){throw"setAlgAndProvider hash alg set fail hashAlg="+r+"/"+t}this.updateString=function(t){this.mac.update(t)},this.updateHex=function(t){var e=y.enc.Hex.parse(t);this.mac.update(e)},this.doFinal=function(){return this.mac.finalize().toString(y.enc.Hex)},this.doFinalString=function(t){return this.updateString(t),this.doFinal()},this.doFinalHex=function(t){return this.updateHex(t),this.doFinal()}}},this.updateString=function(){throw"updateString(str) not supported for this alg/prov: "+this.algProv},this.updateHex=function(){throw"updateHex(hex) not supported for this alg/prov: "+this.algProv},this.doFinal=function(){throw"digest() not supported for this alg/prov: "+this.algProv},this.doFinalString=function(){throw"digestString(str) not supported for this alg/prov: "+this.algProv},this.doFinalHex=function(){throw"digestHex(hex) not supported for this alg/prov: "+this.algProv},this.setPassword=function(t){if("string"==typeof t){var e=t;return t.length%2!=1&&t.match(/^[0-9A-Fa-f]+$/)||(e=Ct(t)),void(this.pass=y.enc.Hex.parse(e))}if("object"!=(void 0===t?"undefined":w(t)))throw"KJUR.crypto.Mac unsupported password type: "+t;if(e=null,void 0!==t.hex){if(t.hex.length%2!=0||!t.hex.match(/^[0-9A-Fa-f]+$/))throw"Mac: wrong hex password: "+t.hex;e=t.hex}if(void 0!==t.utf8&&(e=St(t.utf8)),void 0!==t.rstr&&(e=Ct(t.rstr)),void 0!==t.b64&&(e=A(t.b64)),void 0!==t.b64u&&(e=bt(t.b64u)),null==e)throw"KJUR.crypto.Mac unsupported password type: "+t;this.pass=y.enc.Hex.parse(e)},void 0!==t&&(void 0!==t.pass&&this.setPassword(t.pass),void 0!==t.alg&&(this.algName=t.alg,void 0===t.prov&&(this.provName=ct.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},ct.crypto.Signature=function(t){var e=null;if(this._setAlgNames=function(){var t=this.algName.match(/^(.+)with(.+)$/);t&&(this.mdAlgName=t[1].toLowerCase(),this.pubkeyAlgName=t[2].toLowerCase(),"rsaandmgf1"==this.pubkeyAlgName&&"sha"==this.mdAlgName&&(this.mdAlgName="sha1"))},this._zeroPaddingOfSignature=function(t,e){for(var r="",i=e/4-t.length,o=0;o<i;o++)r+="0";return r+t},this.setAlgAndProvider=function(t,e){if(this._setAlgNames(),"cryptojs/jsrsa"!=e)throw new Error("provider not supported: "+e);if(-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(this.mdAlgName)){try{this.md=new ct.crypto.MessageDigest({alg:this.mdAlgName})}catch(t){throw new Error("setAlgAndProvider hash alg set fail alg="+this.mdAlgName+"/"+t)}this.init=function(t,e){var r=null;try{r=void 0===e?Vt.getKey(t):Vt.getKey(t,e)}catch(t){throw"init failed:"+t}if(!0===r.isPrivate)this.prvKey=r,this.state="SIGN";else{if(!0!==r.isPublic)throw"init failed.:"+r;this.pubKey=r,this.state="VERIFY"}},this.updateString=function(t){this.md.updateString(t)},this.updateHex=function(t){this.md.updateHex(t)},this.sign=function(){if(this.sHashHex=this.md.digest(),void 0===this.prvKey&&void 0!==this.ecprvhex&&void 0!==this.eccurvename&&void 0!==ct.crypto.ECDSA&&(this.prvKey=new ct.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof ot&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof ot&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof ct.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof ct.crypto.DSA))throw"Signature: unsupported private key alg: "+this.pubkeyAlgName;this.hSign=this.prvKey.signWithMessageHash(this.sHashHex)}return this.hSign},this.signString=function(t){return this.updateString(t),this.sign()},this.signHex=function(t){return this.updateHex(t),this.sign()},this.verify=function(t){if(this.sHashHex=this.md.digest(),void 0===this.pubKey&&void 0!==this.ecpubhex&&void 0!==this.eccurvename&&void 0!==ct.crypto.ECDSA&&(this.pubKey=new ct.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof ot&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,t,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof ot&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==ct.crypto.ECDSA&&this.pubKey instanceof ct.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==ct.crypto.DSA&&this.pubKey instanceof ct.crypto.DSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);throw"Signature: unsupported public key alg: "+this.pubkeyAlgName}}},this.init=function(){throw"init(key, pass) not supported for this alg:prov="+this.algProvName},this.updateString=function(){throw"updateString(str) not supported for this alg:prov="+this.algProvName},this.updateHex=function(){throw"updateHex(hex) not supported for this alg:prov="+this.algProvName},this.sign=function(){throw"sign() not supported for this alg:prov="+this.algProvName},this.signString=function(){throw"digestString(str) not supported for this alg:prov="+this.algProvName},this.signHex=function(){throw"digestHex(hex) not supported for this alg:prov="+this.algProvName},this.verify=function(){throw"verify(hSigVal) not supported for this alg:prov="+this.algProvName},this.initParams=t,void 0!==t&&(void 0!==t.alg&&(this.algName=t.alg,this.provName=void 0===t.prov?ct.crypto.Util.DEFAULTPROVIDER[this.algName]:t.prov,this.algProvName=this.algName+":"+this.provName,this.setAlgAndProvider(this.algName,this.provName),this._setAlgNames()),void 0!==t.psssaltlen&&(this.pssSaltLen=t.psssaltlen),void 0!==t.prvkeypem)){if(void 0!==t.prvkeypas)throw"both prvkeypem and prvkeypas parameters not supported";try{e=Vt.getKey(t.prvkeypem),this.init(e)}catch(t){throw"fatal error to load pem private key: "+t}}},ct.crypto.Cipher=function(){},ct.crypto.Cipher.encrypt=function(t,e,r){if(e instanceof ot&&e.isPublic){var i=ct.crypto.Cipher.getAlgByKeyAndName(e,r);if("RSA"===i)return e.encrypt(t);if("RSAOAEP"===i)return e.encryptOAEP(t,"sha1");var o=i.match(/^RSAOAEP(\d+)$/);if(null!==o)return e.encryptOAEP(t,"sha"+o[1]);throw"Cipher.encrypt: unsupported algorithm for RSAKey: "+r}throw"Cipher.encrypt: unsupported key or algorithm"},ct.crypto.Cipher.decrypt=function(t,e,r){if(e instanceof ot&&e.isPrivate){var i=ct.crypto.Cipher.getAlgByKeyAndName(e,r);if("RSA"===i)return e.decrypt(t);if("RSAOAEP"===i)return e.decryptOAEP(t,"sha1");var o=i.match(/^RSAOAEP(\d+)$/);if(null!==o)return e.decryptOAEP(t,"sha"+o[1]);throw"Cipher.decrypt: unsupported algorithm for RSAKey: "+r}throw"Cipher.decrypt: unsupported key or algorithm"},ct.crypto.Cipher.getAlgByKeyAndName=function(t,e){if(t instanceof ot){if(-1!=":RSA:RSAOAEP:RSAOAEP224:RSAOAEP256:RSAOAEP384:RSAOAEP512:".indexOf(e))return e;if(null==e)return"RSA";throw"getAlgByKeyAndName: not supported algorithm name for RSAKey: "+e}throw"getAlgByKeyAndName: not supported algorithm name: "+e},ct.crypto.OID=new function(){this.oidhex2name={"2a864886f70d010101":"rsaEncryption","2a8648ce3d0201":"ecPublicKey","2a8648ce380401":"dsa","2a8648ce3d030107":"secp256r1","2b8104001f":"secp192k1","2b81040021":"secp224r1","2b8104000a":"secp256k1","2b81040023":"secp521r1","2b81040022":"secp384r1","2a8648ce380403":"SHA1withDSA","608648016503040301":"SHA224withDSA","608648016503040302":"SHA256withDSA"}},void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.crypto&&ct.crypto||(ct.crypto={}),ct.crypto.ECDSA=function(t){var e=Error,r=C,i=st,o=ct.crypto.ECDSA,n=ct.crypto.ECParameterDB,s=o.getName,a=lt.getVbyListEx,h=lt.isASN1HEX,c=new et;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(t){return new r(t.bitLength(),c).mod(t.subtract(r.ONE)).add(r.ONE)},this.setNamedCurve=function(t){this.ecparams=n.getByName(t),this.prvKeyHex=null,this.pubKeyHex=null,this.curveName=t},this.setPrivateKeyHex=function(t){this.isPrivate=!0,this.prvKeyHex=t},this.setPublicKeyHex=function(t){this.isPublic=!0,this.pubKeyHex=t},this.getPublicKeyXYHex=function(){var t=this.pubKeyHex;if("04"!==t.substr(0,2))throw"this method supports uncompressed format(04) only";var e=this.ecparams.keylen/4;if(t.length!==2+2*e)throw"malformed public key hex length";var r={};return r.x=t.substr(2,e),r.y=t.substr(2+e),r},this.getShortNISTPCurveName=function(){var t=this.curveName;return"secp256r1"===t||"NIST P-256"===t||"P-256"===t||"prime256v1"===t?"P-256":"secp384r1"===t||"NIST P-384"===t||"P-384"===t?"P-384":null},this.generateKeyPairHex=function(){var t=this.getBigRandom(this.ecparams.n),e=this.ecparams.G.multiply(t),r=e.getX().toBigInteger(),i=e.getY().toBigInteger(),o=this.ecparams.keylen/4,n=("0000000000"+t.toString(16)).slice(-o),s="04"+("0000000000"+r.toString(16)).slice(-o)+("0000000000"+i.toString(16)).slice(-o);return this.setPrivateKeyHex(n),this.setPublicKeyHex(s),{ecprvhex:n,ecpubhex:s}},this.signWithMessageHash=function(t){return this.signHex(t,this.prvKeyHex)},this.signHex=function(t,e){var i=new r(e,16),n=this.ecparams.n,s=new r(t.substring(0,this.ecparams.keylen/4),16);do{var a=this.getBigRandom(n),h=this.ecparams.G.multiply(a).getX().toBigInteger().mod(n)}while(h.compareTo(r.ZERO)<=0);var c=a.modInverse(n).multiply(s.add(i.multiply(h))).mod(n);return o.biRSSigToASN1Sig(h,c)},this.sign=function(t,e){var i=e,o=this.ecparams.n,n=r.fromByteArrayUnsigned(t);do{var s=this.getBigRandom(o),a=this.ecparams.G.multiply(s).getX().toBigInteger().mod(o)}while(a.compareTo(C.ZERO)<=0);var h=s.modInverse(o).multiply(n.add(i.multiply(a))).mod(o);return this.serializeSig(a,h)},this.verifyWithMessageHash=function(t,e){return this.verifyHex(t,e,this.pubKeyHex)},this.verifyHex=function(t,e,n){try{var s,a,h=o.parseSigHex(e);s=h.r,a=h.s;var c=i.decodeFromHex(this.ecparams.curve,n),u=new r(t.substring(0,this.ecparams.keylen/4),16);return this.verifyRaw(u,s,a,c)}catch(t){return!1}},this.verify=function(t,e,o){var n,s,a;if(Bitcoin.Util.isArray(e)){var h=this.parseSig(e);n=h.r,s=h.s}else{if("object"!==(void 0===e?"undefined":w(e))||!e.r||!e.s)throw"Invalid value for signature";n=e.r,s=e.s}if(o instanceof st)a=o;else{if(!Bitcoin.Util.isArray(o))throw"Invalid format for pubkey value, must be byte array or ECPointFp";a=i.decodeFrom(this.ecparams.curve,o)}var c=r.fromByteArrayUnsigned(t);return this.verifyRaw(c,n,s,a)},this.verifyRaw=function(t,e,i,o){var n=this.ecparams.n,s=this.ecparams.G;if(e.compareTo(r.ONE)<0||e.compareTo(n)>=0)return!1;if(i.compareTo(r.ONE)<0||i.compareTo(n)>=0)return!1;var a=i.modInverse(n),h=t.multiply(a).mod(n),c=e.multiply(a).mod(n);return s.multiply(h).add(o.multiply(c)).getX().toBigInteger().mod(n).equals(e)},this.serializeSig=function(t,e){var r=t.toByteArraySigned(),i=e.toByteArraySigned(),o=[];return o.push(2),o.push(r.length),(o=o.concat(r)).push(2),o.push(i.length),(o=o.concat(i)).unshift(o.length),o.unshift(48),o},this.parseSig=function(t){var e;if(48!=t[0])throw new Error("Signature not a valid DERSequence");if(2!=t[e=2])throw new Error("First element in signature must be a DERInteger");var i=t.slice(e+2,e+2+t[e+1]);if(2!=t[e+=2+t[e+1]])throw new Error("Second element in signature must be a DERInteger");var o=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:r.fromByteArrayUnsigned(i),s:r.fromByteArrayUnsigned(o)}},this.parseSigCompact=function(t){if(65!==t.length)throw"Signature has the wrong length";var e=t[0]-27;if(e<0||e>7)throw"Invalid signature type";var i=this.ecparams.n;return{r:r.fromByteArrayUnsigned(t.slice(1,33)).mod(i),s:r.fromByteArrayUnsigned(t.slice(33,65)).mod(i),i:e}},this.readPKCS5PrvKeyHex=function(t){if(!1===h(t))throw new Error("not ASN.1 hex string");var e,r,i;try{e=a(t,0,["[0]",0],"06"),r=a(t,0,[1],"04");try{i=a(t,0,["[1]",0],"03")}catch(t){}}catch(t){throw new Error("malformed PKCS#1/5 plain ECC private key")}if(this.curveName=s(e),void 0===this.curveName)throw"unsupported curve name";this.setNamedCurve(this.curveName),this.setPublicKeyHex(i),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){if(!1===h(t))throw new e("not ASN.1 hex string");var r,i,o;try{a(t,0,[1,0],"06"),r=a(t,0,[1,1],"06"),i=a(t,0,[2,0,1],"04");try{o=a(t,0,[2,0,"[1]",0],"03")}catch(t){}}catch(t){throw new e("malformed PKCS#8 plain ECC private key")}if(this.curveName=s(r),void 0===this.curveName)throw new e("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(o),this.setPrivateKeyHex(i),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){if(!1===h(t))throw new e("not ASN.1 hex string");var r,i;try{a(t,0,[0,0],"06"),r=a(t,0,[0,1],"06"),i=a(t,0,[1],"03")}catch(t){throw new e("malformed PKCS#8 ECC public key")}if(this.curveName=s(r),null===this.curveName)throw new e("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},this.readCertPubKeyHex=function(t){if(!1===h(t))throw new e("not ASN.1 hex string");var r,i;try{r=a(t,0,[0,5,0,1],"06"),i=a(t,0,[0,5,1],"03")}catch(t){throw new e("malformed X.509 certificate ECC public key")}if(this.curveName=s(r),null===this.curveName)throw new e("unsupported curve name");this.setNamedCurve(this.curveName),this.setPublicKeyHex(i)},void 0!==t&&void 0!==t.curve&&(this.curveName=t.curve),void 0===this.curveName&&(this.curveName="secp256r1"),this.setNamedCurve(this.curveName),void 0!==t&&(void 0!==t.prv&&this.setPrivateKeyHex(t.prv),void 0!==t.pub&&this.setPublicKeyHex(t.pub))},ct.crypto.ECDSA.parseSigHex=function(t){var e=ct.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new C(e.r,16),s:new C(e.s,16)}},ct.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=lt.getChildIdx,r=lt.getV;if(lt.checkStrictDER(t,0),"30"!=t.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var i=e(t,0);if(2!=i.length)throw new Error("signature shall have two elements");var o=i[0],n=i[1];if("02"!=t.substr(o,2))throw new Error("1st item not ASN.1 integer");if("02"!=t.substr(n,2))throw new Error("2nd item not ASN.1 integer");return{r:r(t,o),s:r(t,n)}},ct.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ct.crypto.ECDSA.parseSigHexInHexRS(t),r=e.r,i=e.s;if("00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),"00"==i.substr(0,2)&&i.length%32==2&&(i=i.substr(2)),r.length%32==30&&(r="00"+r),i.length%32==30&&(i="00"+i),r.length%32!=0)throw"unknown ECDSA sig r length error";if(i.length%32!=0)throw"unknown ECDSA sig s length error";return r+i},ct.crypto.ECDSA.concatSigToASN1Sig=function(t){if(t.length/2*8%128!=0)throw"unknown ECDSA concatinated r-s sig length error";var e=t.substr(0,t.length/2),r=t.substr(t.length/2);return ct.crypto.ECDSA.hexRSSigToASN1Sig(e,r)},ct.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var r=new C(t,16),i=new C(e,16);return ct.crypto.ECDSA.biRSSigToASN1Sig(r,i)},ct.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var r=ct.asn1,i=new r.DERInteger({bigint:t}),o=new r.DERInteger({bigint:e});return new r.DERSequence({array:[i,o]}).getEncodedHex()},ct.crypto.ECDSA.getName=function(t){return"2b8104001f"===t?"secp192k1":"2a8648ce3d030107"===t?"secp256r1":"2b8104000a"===t?"secp256k1":"2b81040021"===t?"secp224r1":"2b81040022"===t?"secp384r1":-1!=="|secp256r1|NIST P-256|P-256|prime256v1|".indexOf(t)?"secp256r1":-1!=="|secp256k1|".indexOf(t)?"secp256k1":-1!=="|secp224r1|NIST P-224|P-224|".indexOf(t)?"secp224r1":-1!=="|secp384r1|NIST P-384|P-384|".indexOf(t)?"secp384r1":null},void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.crypto&&ct.crypto||(ct.crypto={}),ct.crypto.ECParameterDB=new function(){var t={},e={};function r(t){return new C(t,16)}this.getByName=function(r){var i=r;if(void 0!==e[i]&&(i=e[r]),void 0!==t[i])return t[i];throw"unregistered EC curve name: "+i},this.regist=function(i,o,n,s,a,h,c,u,p,l,m,g){t[i]={};var d=r(n),f=r(s),w=r(a),v=r(h),y=r(c),b=new at(d,f,w),S=b.decodePointHex("04"+u+p);t[i].name=i,t[i].keylen=o,t[i].curve=b,t[i].G=S,t[i].n=v,t[i].h=y,t[i].oid=m,t[i].info=g;for(var A=0;A<l.length;A++)e[l[A]]=i}},ct.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),ct.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),ct.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),ct.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),ct.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),ct.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),ct.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),ct.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),ct.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),ct.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]);var Vt=function(){var t=function(t,r,i){return e(y.AES,t,r,i)},e=function(t,e,r,i){var o=y.enc.Hex.parse(e),n=y.enc.Hex.parse(r),s=y.enc.Hex.parse(i),a={};a.key=n,a.iv=s,a.ciphertext=o;var h=t.decrypt(a,n,{iv:s});return y.enc.Hex.stringify(h)},r=function(t,e,r){return i(y.AES,t,e,r)},i=function(t,e,r,i){var o=y.enc.Hex.parse(e),n=y.enc.Hex.parse(r),s=y.enc.Hex.parse(i),a=t.encrypt(o,n,{iv:s}),h=y.enc.Hex.parse(a.toString());return y.enc.Base64.stringify(h)},o={"AES-256-CBC":{proc:t,eproc:r,keylen:32,ivlen:16},"AES-192-CBC":{proc:t,eproc:r,keylen:24,ivlen:16},"AES-128-CBC":{proc:t,eproc:r,keylen:16,ivlen:16},"DES-EDE3-CBC":{proc:function(t,r,i){return e(y.TripleDES,t,r,i)},eproc:function(t,e,r){return i(y.TripleDES,t,e,r)},keylen:24,ivlen:8},"DES-CBC":{proc:function(t,r,i){return e(y.DES,t,r,i)},eproc:function(t,e,r){return i(y.DES,t,e,r)},keylen:8,ivlen:8}},n=function(t){var e={},r=t.match(new RegExp("DEK-Info: ([^,]+),([0-9A-Fa-f]+)","m"));r&&(e.cipher=r[1],e.ivsalt=r[2]);var i=t.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));i&&(e.type=i[1]);var o=-1,n=0;-1!=t.indexOf("\r\n\r\n")&&(o=t.indexOf("\r\n\r\n"),n=2),-1!=t.indexOf("\n\n")&&(o=t.indexOf("\n\n"),n=1);var s=t.indexOf("-----END");if(-1!=o&&-1!=s){var a=t.substring(o+2*n,s-n);a=a.replace(/\s+/g,""),e.data=a}return e},s=function(t,e,r){for(var i=r.substring(0,16),n=y.enc.Hex.parse(i),s=y.enc.Utf8.parse(e),a=o[t].keylen+o[t].ivlen,h="",c=null;;){var u=y.algo.MD5.create();if(null!=c&&u.update(c),u.update(s),u.update(n),c=u.finalize(),(h+=y.enc.Hex.stringify(c)).length>=2*a)break}var p={};return p.keyhex=h.substr(0,2*o[t].keylen),p.ivhex=h.substr(2*o[t].keylen,2*o[t].ivlen),p},a=function(t,e,r,i){var n=y.enc.Base64.parse(t),s=y.enc.Hex.stringify(n);return(0,o[e].proc)(s,r,i)};return{version:"1.0.0",parsePKCS5PEM:function(t){return n(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,r){return s(t,e,r)},decryptKeyB64:function(t,e,r,i){return a(t,e,r,i)},getDecryptedKeyHex:function(t,e){var r=n(t),i=r.cipher,o=r.ivsalt,h=r.data,c=s(i,e,o).keyhex;return a(h,i,c,o)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,r,i,n){var a,h,c="";if(void 0!==i&&null!=i||(i="AES-256-CBC"),void 0===o[i])throw new Error("KEYUTIL unsupported algorithm: "+i);void 0!==n&&null!=n||(n=(a=o[i].ivlen,h=y.lib.WordArray.random(a),y.enc.Hex.stringify(h)).toUpperCase());var u=function(t,e,r,i){return(0,o[e].eproc)(t,r,i)}(e,i,s(i,r,n).keyhex,n);return c="-----BEGIN "+t+" PRIVATE KEY-----\r\n",c+="Proc-Type: 4,ENCRYPTED\r\n",c+="DEK-Info: "+i+","+n+"\r\n",c+="\r\n",(c+=u.replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(t){var e=lt.getChildIdx,r=lt.getV,i={},o=e(t,0);if(2!=o.length)throw new Error("malformed format: SEQUENCE(0).items != 2: "+o.length);i.ciphertext=r(t,o[1]);var n=e(t,o[0]);if(2!=n.length)throw new Error("malformed format: SEQUENCE(0.0).items != 2: "+n.length);if("2a864886f70d01050d"!=r(t,n[0]))throw new Error("this only supports pkcs5PBES2");var s=e(t,n[1]);if(2!=n.length)throw new Error("malformed format: SEQUENCE(0.0.1).items != 2: "+s.length);var a=e(t,s[1]);if(2!=a.length)throw new Error("malformed format: SEQUENCE(0.0.1.1).items != 2: "+a.length);if("2a864886f70d0307"!=r(t,a[0]))throw"this only supports TripleDES";i.encryptionSchemeAlg="TripleDES",i.encryptionSchemeIV=r(t,a[1]);var h=e(t,s[0]);if(2!=h.length)throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+h.length);if("2a864886f70d01050c"!=r(t,h[0]))throw new Error("this only supports pkcs5PBKDF2");var c=e(t,h[1]);if(c.length<2)throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+c.length);i.pbkdf2Salt=r(t,c[0]);var u=r(t,c[1]);try{i.pbkdf2Iter=parseInt(u,16)}catch(t){throw new Error("malformed format pbkdf2Iter: "+u)}return i},getPBKDF2KeyHexFromParam:function(t,e){var r=y.enc.Hex.parse(t.pbkdf2Salt),i=y.PBKDF2(e,r,{keySize:6,iterations:t.pbkdf2Iter});return y.enc.Hex.stringify(i)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var r=Rt(t,"ENCRYPTED PRIVATE KEY"),i=this.parseHexOfEncryptedPKCS8(r),o=Vt.getPBKDF2KeyHexFromParam(i,e),n={};n.ciphertext=y.enc.Hex.parse(i.ciphertext);var s=y.enc.Hex.parse(o),a=y.enc.Hex.parse(i.encryptionSchemeIV),h=y.TripleDES.decrypt(n,s,{iv:a});return y.enc.Hex.stringify(h)},getKeyFromEncryptedPKCS8PEM:function(t,e){var r=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(r)},parsePlainPrivatePKCS8Hex:function(t){var e=lt,r=e.getChildIdx,i=e.getV,o={algparam:null};if("30"!=t.substr(0,2))throw new Error("malformed plain PKCS8 private key(code:001)");var n=r(t,0);if(n.length<3)throw new Error("malformed plain PKCS8 private key(code:002)");if("30"!=t.substr(n[1],2))throw new Error("malformed PKCS8 private key(code:003)");var s=r(t,n[1]);if(2!=s.length)throw new Error("malformed PKCS8 private key(code:004)");if("06"!=t.substr(s[0],2))throw new Error("malformed PKCS8 private key(code:005)");if(o.algoid=i(t,s[0]),"06"==t.substr(s[1],2)&&(o.algparam=i(t,s[1])),"04"!=t.substr(n[2],2))throw new Error("malformed PKCS8 private key(code:006)");return o.keyidx=e.getVidx(t,n[2]),o},getKeyFromPlainPrivatePKCS8PEM:function(t){var e=Rt(t,"PRIVATE KEY");return this.getKeyFromPlainPrivatePKCS8Hex(e)},getKeyFromPlainPrivatePKCS8Hex:function(t){var e,r=this.parsePlainPrivatePKCS8Hex(t);if("2a864886f70d010101"==r.algoid)e=new ot;else if("2a8648ce380401"==r.algoid)e=new ct.crypto.DSA;else{if("2a8648ce3d0201"!=r.algoid)throw new Error("unsupported private key algorithm");e=new ct.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,r=lt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===r)e=new ot;else if("2a8648ce380401"===r)e=new ct.crypto.DSA;else{if("2a8648ce3d0201"!==r)throw new Error("unsupported PKCS#8 public key hex");e=new ct.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=lt.getChildIdx,r=lt.getV,i={};if("30"!=t.substr(0,2))throw new Error("malformed RSA key(code:001)");var o=e(t,0);if(2!=o.length)throw new Error("malformed RSA key(code:002)");if("02"!=t.substr(o[0],2))throw new Error("malformed RSA key(code:003)");if(i.n=r(t,o[0]),"02"!=t.substr(o[1],2))throw new Error("malformed RSA key(code:004)");return i.e=r(t,o[1]),i},parsePublicPKCS8Hex:function(t){var e=lt,r=e.getChildIdx,i=e.getV,o={algparam:null},n=r(t,0);if(2!=n.length)throw new Error("outer DERSequence shall have 2 elements: "+n.length);var s=n[0];if("30"!=t.substr(s,2))throw new Error("malformed PKCS8 public key(code:001)");var a=r(t,s);if(2!=a.length)throw new Error("malformed PKCS8 public key(code:002)");if("06"!=t.substr(a[0],2))throw new Error("malformed PKCS8 public key(code:003)");if(o.algoid=i(t,a[0]),"06"==t.substr(a[1],2)?o.algparam=i(t,a[1]):"30"==t.substr(a[1],2)&&(o.algparam={},o.algparam.p=e.getVbyList(t,a[1],[0],"02"),o.algparam.q=e.getVbyList(t,a[1],[1],"02"),o.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(n[1],2))throw new Error("malformed PKCS8 public key(code:004)");return o.key=i(t,n[1]).substr(2),o}}}();function qt(t,e){for(var r="",i=e/4-t.length,o=0;o<i;o++)r+="0";return r+t}function Gt(t,e,r){for(var i="",o=0;i.length<e;)i+=Et(r(Ct(t+String.fromCharCode.apply(String,[(4278190080&o)>>24,(16711680&o)>>16,(65280&o)>>8,255&o])))),o+=1;return i}function Kt(t){for(var e in ct.crypto.Util.DIGESTINFOHEAD){var r=ct.crypto.Util.DIGESTINFOHEAD[e],i=r.length;if(t.substring(0,i)==r)return[e,t.substring(i)]}return[]}function Jt(t){var e,r=lt,i=r.getChildIdx,o=r.getV,n=r.getTLV,s=r.getVbyList,a=r.getVbyListEx,h=r.getTLVbyList,c=r.getTLVbyListEx,u=r.getIdxbyList,p=r.getIdxbyListEx,l=r.getVidx,m=r.getInt,g=r.oidname,d=r.hextooidstr,f=Rt;try{e=ct.asn1.x509.AlgorithmIdentifier.PSSNAME2ASN1TLV}catch(t){}this.HEX2STAG={"0c":"utf8",13:"prn",16:"ia5","1a":"vis","1e":"bmp"},this.hex=null,this.version=0,this.foffset=0,this.aExtInfo=null,this.getVersion=function(){if(null===this.hex||0!==this.version)return this.version;var t=h(this.hex,0,[0,0]);if("a0"==t.substr(0,2)){var e=h(t,0,[0]),r=m(e,0);if(r<0||2<r)throw new Error("malformed version field");return this.version=r+1,this.version}return this.version=1,this.foffset=-1,1},this.getSerialNumberHex=function(){return a(this.hex,0,[0,0],"02")},this.getSignatureAlgorithmField=function(){var t=c(this.hex,0,[0,1]);return this.getAlgorithmIdentifierName(t)},this.getAlgorithmIdentifierName=function(t){for(var r in e)if(t===e[r])return r;return g(a(t,0,[0],"06"))},this.getIssuer=function(){return this.getX500Name(this.getIssuerHex())},this.getIssuerHex=function(){return h(this.hex,0,[0,3+this.foffset],"30")},this.getIssuerString=function(){return this.getIssuer().str},this.getSubject=function(){return this.getX500Name(this.getSubjectHex())},this.getSubjectHex=function(){return h(this.hex,0,[0,5+this.foffset],"30")},this.getSubjectString=function(){return this.getSubject().str},this.getNotBefore=function(){var t=s(this.hex,0,[0,4+this.foffset,0]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getNotAfter=function(){var t=s(this.hex,0,[0,4+this.foffset,1]);return t=t.replace(/(..)/g,"%$1"),decodeURIComponent(t)},this.getPublicKeyHex=function(){return r.getTLVbyList(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyIdx=function(){return u(this.hex,0,[0,6+this.foffset],"30")},this.getPublicKeyContentIdx=function(){var t=this.getPublicKeyIdx();return u(this.hex,t,[1,0],"30")},this.getPublicKey=function(){return Vt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var t=h(this.hex,0,[1],"30");return this.getAlgorithmIdentifierName(t)},this.getSignatureValueHex=function(){return s(this.hex,0,[2],"03",!0)},this.verifySignature=function(t){var e=this.getSignatureAlgorithmField(),r=this.getSignatureValueHex(),i=h(this.hex,0,[0],"30"),o=new ct.crypto.Signature({alg:e});return o.init(t),o.updateHex(i),o.verify(r)},this.parseExt=function(t){var e,n,a;if(void 0===t){if(3!==this.version)return-1;e=u(a=this.hex,0,[0,7,0],"30"),n=i(a,e)}else{a=Rt(t);var h=u(a,0,[0,3,0,0],"06");if("2a864886f70d01090e"!=o(a,h))return void(this.aExtInfo=new Array);e=u(a,0,[0,3,0,1,0],"30"),n=i(a,e),this.hex=a}this.aExtInfo=new Array;for(var c=0;c<n.length;c++){var p={critical:!1},m=0;3===i(a,n[c]).length&&(p.critical=!0,m=1),p.oid=r.hextooidstr(s(a,n[c],[0],"06"));var g=u(a,n[c],[1+m]);p.vidx=l(a,g),this.aExtInfo.push(p)}},this.getExtInfo=function(t){var e=this.aExtInfo,r=t;if(t.match(/^[0-9.]+$/)||(r=ct.asn1.x509.OID.name2oid(t)),""!==r)for(var i=0;i<e.length;i++)if(e[i].oid===r)return e[i]},this.getExtBasicConstraints=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("basicConstraints");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var i={extname:"basicConstraints"};if(e&&(i.critical=!0),"3000"===t)return i;if("30030101ff"===t)return i.cA=!0,i;if("30060101ff02"===t.substr(0,12)){var s=o(t,10),a=parseInt(s,16);return i.cA=!0,i.pathLen=a,i}throw new Error("hExtV parse error: "+t)},this.getExtKeyUsage=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("keyUsage");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var i={extname:"keyUsage"};return e&&(i.critical=!0),i.names=this.getExtKeyUsageString(t).split(","),i},this.getExtKeyUsageBin=function(t){if(void 0===t){var e=this.getExtInfo("keyUsage");if(void 0===e)return"";t=n(this.hex,e.vidx)}if(8!=t.length&&10!=t.length)throw new Error("malformed key usage value: "+t);var r="000000000000000"+parseInt(t.substr(6),16).toString(2);return 8==t.length&&(r=r.slice(-8)),10==t.length&&(r=r.slice(-16)),""==(r=r.replace(/0+$/,""))&&(r="0"),r},this.getExtKeyUsageString=function(t){for(var e=this.getExtKeyUsageBin(t),r=new Array,i=0;i<e.length;i++)"1"==e.substr(i,1)&&r.push(Jt.KEYUSAGE_NAME[i]);return r.join(",")},this.getExtSubjectKeyIdentifier=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("subjectKeyIdentifier");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var i={extname:"subjectKeyIdentifier"};e&&(i.critical=!0);var s=o(t,0);return i.kid={hex:s},i},this.getExtAuthorityKeyIdentifier=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("authorityKeyIdentifier");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var s={extname:"authorityKeyIdentifier"};e&&(s.critical=!0);for(var a=i(t,0),h=0;h<a.length;h++){var c=t.substr(a[h],2);if("80"===c&&(s.kid={hex:o(t,a[h])}),"a1"===c){var u=n(t,a[h]),p=this.getGeneralNames(u);s.issuer=p[0].dn}"82"===c&&(s.sn={hex:o(t,a[h])})}return s},this.getExtExtKeyUsage=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("extKeyUsage");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var s={extname:"extKeyUsage",array:[]};e&&(s.critical=!0);for(var a=i(t,0),h=0;h<a.length;h++)s.array.push(g(o(t,a[h])));return s},this.getExtExtKeyUsageName=function(){var t=this.getExtInfo("extKeyUsage");if(void 0===t)return t;var e=new Array,r=n(this.hex,t.vidx);if(""===r)return e;for(var s=i(r,0),a=0;a<s.length;a++)e.push(g(o(r,s[a])));return e},this.getExtSubjectAltName=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("subjectAltName");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var i={extname:"subjectAltName",array:[]};return e&&(i.critical=!0),i.array=this.getGeneralNames(t),i},this.getExtIssuerAltName=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("issuerAltName");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var i={extname:"issuerAltName",array:[]};return e&&(i.critical=!0),i.array=this.getGeneralNames(t),i},this.getGeneralNames=function(t){for(var e=i(t,0),r=[],o=0;o<e.length;o++){var s=this.getGeneralName(n(t,e[o]));void 0!==s&&r.push(s)}return r},this.getGeneralName=function(t){var e=t.substr(0,2),r=o(t,0),i=Et(r);return"81"==e?{rfc822:i}:"82"==e?{dns:i}:"86"==e?{uri:i}:"87"==e?{ip:Nt(r)}:"a4"==e?{dn:this.getX500Name(r)}:void 0},this.getExtSubjectAltName2=function(){var t,e,r,s=this.getExtInfo("subjectAltName");if(void 0===s)return s;for(var a=new Array,h=n(this.hex,s.vidx),c=i(h,0),u=0;u<c.length;u++)r=h.substr(c[u],2),t=o(h,c[u]),"81"===r&&(e=At(t),a.push(["MAIL",e])),"82"===r&&(e=At(t),a.push(["DNS",e])),"84"===r&&(e=Jt.hex2dn(t,0),a.push(["DN",e])),"86"===r&&(e=At(t),a.push(["URI",e])),"87"===r&&(e=Nt(t),a.push(["IP",e]));return a},this.getExtCRLDistributionPoints=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("cRLDistributionPoints");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var o={extname:"cRLDistributionPoints",array:[]};e&&(o.critical=!0);for(var s=i(t,0),a=0;a<s.length;a++){var h=n(t,s[a]);o.array.push(this.getDistributionPoint(h))}return o},this.getDistributionPoint=function(t){for(var e={},r=i(t,0),o=0;o<r.length;o++){var s=t.substr(r[o],2),a=n(t,r[o]);"a0"==s&&(e.dpname=this.getDistributionPointName(a))}return e},this.getDistributionPointName=function(t){for(var e={},r=i(t,0),o=0;o<r.length;o++){var s=t.substr(r[o],2),a=n(t,r[o]);"a0"==s&&(e.full=this.getGeneralNames(a))}return e},this.getExtCRLDistributionPointsURI=function(){var t=this.getExtInfo("cRLDistributionPoints");if(void 0===t)return t;for(var e=new Array,r=i(this.hex,t.vidx),o=0;o<r.length;o++)try{var n=At(s(this.hex,r[o],[0,0,0],"86"));e.push(n)}catch(t){}return e},this.getExtAIAInfo=function(){var t=this.getExtInfo("authorityInfoAccess");if(void 0===t)return t;for(var e={ocsp:[],caissuer:[]},r=i(this.hex,t.vidx),o=0;o<r.length;o++){var n=s(this.hex,r[o],[0],"06"),a=s(this.hex,r[o],[1],"86");"2b06010505073001"===n&&e.ocsp.push(At(a)),"2b06010505073002"===n&&e.caissuer.push(At(a))}return e},this.getExtAuthorityInfoAccess=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("authorityInfoAccess");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var o={extname:"authorityInfoAccess",array:[]};e&&(o.critical=!0);for(var h=i(t,0),c=0;c<h.length;c++){var u=a(t,h[c],[0],"06"),p=At(s(t,h[c],[1],"86"));if("2b06010505073001"==u)o.array.push({ocsp:p});else{if("2b06010505073002"!=u)throw new Error("unknown method: "+u);o.array.push({caissuer:p})}}return o},this.getExtCertificatePolicies=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("certificatePolicies");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var o={extname:"certificatePolicies",array:[]};e&&(o.critical=!0);for(var s=i(t,0),a=0;a<s.length;a++){var h=n(t,s[a]),c=this.getPolicyInformation(h);o.array.push(c)}return o},this.getPolicyInformation=function(t){var e={},r=s(t,0,[0],"06");e.policyoid=g(r);var o=p(t,0,[1],"30");if(-1!=o){e.array=[];for(var a=i(t,o),h=0;h<a.length;h++){var c=n(t,a[h]),u=this.getPolicyQualifierInfo(c);e.array.push(u)}}return e},this.getPolicyQualifierInfo=function(t){var e={},r=s(t,0,[0],"06");if("2b06010505070201"===r){var i=a(t,0,[1],"16");e.cps=Et(i)}else if("2b06010505070202"===r){var o=h(t,0,[1],"30");e.unotice=this.getUserNotice(o)}return e},this.getUserNotice=function(t){for(var e={},r=i(t,0),o=0;o<r.length;o++){var s=n(t,r[o]);"30"!=s.substr(0,2)&&(e.exptext=this.getDisplayText(s))}return e},this.getDisplayText=function(t){var e={};return e.type={"0c":"utf8",16:"ia5","1a":"vis","1e":"bmp"}[t.substr(0,2)],e.str=Et(o(t,0)),e},this.getExtCRLNumber=function(t,e){var r={extname:"cRLNumber"};if(e&&(r.critical=!0),"02"==t.substr(0,2))return r.num={hex:o(t,0)},r;throw new Error("hExtV parse error: "+t)},this.getExtCRLReason=function(t,e){var r={extname:"cRLReason"};if(e&&(r.critical=!0),"0a"==t.substr(0,2))return r.code=parseInt(o(t,0),16),r;throw new Error("hExtV parse error: "+t)},this.getExtOcspNonce=function(t,e){var r={extname:"ocspNonce"};e&&(r.critical=!0);var i=o(t,0);return r.hex=i,r},this.getExtOcspNoCheck=function(t,e){var r={extname:"ocspNoCheck"};return e&&(r.critical=!0),r},this.getExtAdobeTimeStamp=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("adobeTimeStamp");if(void 0===r)return;t=n(this.hex,r.vidx),e=r.critical}var o={extname:"adobeTimeStamp"};e&&(o.critical=!0);var s=i(t,0);if(s.length>1){var a=n(t,s[1]),h=this.getGeneralName(a);null!=h.uri&&(o.uri=h.uri)}if(s.length>2){var c=n(t,s[2]);"0101ff"==c&&(o.reqauth=!0),"010100"==c&&(o.reqauth=!1)}return o},this.getX500NameRule=function(t){for(var e=null,r=[],i=0;i<t.length;i++)for(var o=t[i],n=0;n<o.length;n++)r.push(o[n]);for(i=0;i<r.length;i++){var s=r[i],a=s.ds,h=s.type;if("prn"!=a&&"utf8"!=a&&"ia5"!=a)return"mixed";if("ia5"==a){if("CN"!=h)return"mixed";if(ct.lang.String.isMail(s.value))continue;return"mixed"}if("C"==h){if("prn"==a)continue;return"mixed"}if(null==e)e=a;else if(e!==a)return"mixed"}return null==e?"prn":e},this.getX500Name=function(t){var e=this.getX500NameArray(t);return{array:e,str:this.dnarraytostr(e)}},this.getX500NameArray=function(t){for(var e=[],r=i(t,0),o=0;o<r.length;o++)e.push(this.getRDN(n(t,r[o])));return e},this.getRDN=function(t){for(var e=[],r=i(t,0),o=0;o<r.length;o++)e.push(this.getAttrTypeAndValue(n(t,r[o])));return e},this.getAttrTypeAndValue=function(t){var e={type:null,value:null,ds:null},r=i(t,0),o=s(t,r[0],[],"06"),n=s(t,r[1],[]),a=ct.asn1.ASN1Util.oidHexToInt(o);return e.type=ct.asn1.x509.OID.oid2atype(a),e.ds=this.HEX2STAG[t.substr(r[1],2)],e.value="bmp"!=e.ds?At(n):jt(n),e},this.readCertPEM=function(t){this.readCertHex(f(t))},this.readCertHex=function(t){this.hex=t,this.getVersion();try{u(this.hex,0,[0,7],"a3"),this.parseExt()}catch(t){}},this.getParam=function(){var t={};return t.version=this.getVersion(),t.serial={hex:this.getSerialNumberHex()},t.sigalg=this.getSignatureAlgorithmField(),t.issuer=this.getIssuer(),t.notbefore=this.getNotBefore(),t.notafter=this.getNotAfter(),t.subject=this.getSubject(),t.sbjpubkey=Tt(this.getPublicKeyHex(),"PUBLIC KEY"),this.aExtInfo.length>0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),t},this.getExtParamArray=function(t){null==t&&-1!=p(this.hex,0,[0,"[3]"])&&(t=c(this.hex,0,[0,"[3]",0],"30"));for(var e=[],r=i(t,0),o=0;o<r.length;o++){var s=n(t,r[o]),a=this.getExtParam(s);null!=a&&e.push(a)}return e},this.getExtParam=function(t){var e=i(t,0).length;if(2!=e&&3!=e)throw new Error("wrong number elements in Extension: "+e+" "+t);var r=d(s(t,0,[0],"06")),o=!1;3==e&&"0101ff"==h(t,0,[1])&&(o=!0);var n=h(t,0,[e-1,0]),a=void 0;if("2.5.29.14"==r?a=this.getExtSubjectKeyIdentifier(n,o):"2.5.29.15"==r?a=this.getExtKeyUsage(n,o):"2.5.29.17"==r?a=this.getExtSubjectAltName(n,o):"2.5.29.18"==r?a=this.getExtIssuerAltName(n,o):"2.5.29.19"==r?a=this.getExtBasicConstraints(n,o):"2.5.29.31"==r?a=this.getExtCRLDistributionPoints(n,o):"2.5.29.32"==r?a=this.getExtCertificatePolicies(n,o):"2.5.29.35"==r?a=this.getExtAuthorityKeyIdentifier(n,o):"2.5.29.37"==r?a=this.getExtExtKeyUsage(n,o):"1.3.6.1.5.5.7.1.1"==r?a=this.getExtAuthorityInfoAccess(n,o):"2.5.29.20"==r?a=this.getExtCRLNumber(n,o):"2.5.29.21"==r?a=this.getExtCRLReason(n,o):"1.3.6.1.5.5.7.48.1.2"==r?a=this.getExtOcspNonce(n,o):"1.3.6.1.5.5.7.48.1.5"==r?a=this.getExtOcspNoCheck(n,o):"1.2.840.113583.1.1.9.1"==r&&(a=this.getExtAdobeTimeStamp(n,o)),null!=a)return a;var c={extname:r,extn:n};return o&&(c.critical=!0),c},this.findExt=function(t,e){for(var r=0;r<t.length;r++)if(t[r].extname==e)return t[r];return null},this.updateExtCDPFullURI=function(t,e){var r=this.findExt(t,"cRLDistributionPoints");if(null!=r&&null!=r.array)for(var i=r.array,o=0;o<i.length;o++)if(null!=i[o].dpname&&null!=i[o].dpname.full)for(var n=i[o].dpname.full,s=0;s<n.length;s++){var a=n[o];null!=a.uri&&(a.uri=e)}},this.updateExtAIAOCSP=function(t,e){var r=this.findExt(t,"authorityInfoAccess");if(null!=r&&null!=r.array)for(var i=r.array,o=0;o<i.length;o++)null!=i[o].ocsp&&(i[o].ocsp=e)},this.updateExtAIACAIssuer=function(t,e){var r=this.findExt(t,"authorityInfoAccess");if(null!=r&&null!=r.array)for(var i=r.array,o=0;o<i.length;o++)null!=i[o].caissuer&&(i[o].caissuer=e)},this.dnarraytostr=function(t){return"/"+t.map((function(t){return(e=t,e.map((function(t){return(e=t,e.type+"="+e.value).replace(/\+/,"\\+");var e})).join("+")).replace(/\//,"\\/");var e})).join("/")},this.getInfo=function(){var t,e,r,i,o=function(t){for(var e="",r=t.array,i=0;i<r.length;i++){var o=r[i];if(e+=" policy oid: "+o.policyoid+"\n",void 0!==o.array)for(var n=0;n<o.array.length;n++){var s=o.array[n];void 0!==s.cps&&(e+=" cps: "+s.cps+"\n")}}return e},n=function(t){for(var e="",r=t.array,i=0;i<r.length;i++){var o=r[i];try{void 0!==o.dpname.full[0].uri&&(e+=" "+o.dpname.full[0].uri+"\n")}catch(t){}try{void 0!==o.dname.full[0].dn.hex&&(e+=" "+Jt.hex2dn(o.dpname.full[0].dn.hex)+"\n")}catch(t){}}return e},s=function(t){for(var e="",r=t.array,i=0;i<r.length;i++){var o=r[i];void 0!==o.caissuer&&(e+=" caissuer: "+o.caissuer+"\n"),void 0!==o.ocsp&&(e+=" ocsp: "+o.ocsp+"\n")}return e};if(t="Basic Fields\n",t+=" serial number: "+this.getSerialNumberHex()+"\n",t+=" signature algorithm: "+this.getSignatureAlgorithmField()+"\n",t+=" issuer: "+this.getIssuerString()+"\n",t+=" notBefore: "+this.getNotBefore()+"\n",t+=" notAfter: "+this.getNotAfter()+"\n",t+=" subject: "+this.getSubjectString()+"\n",t+=" subject public key info: \n",t+=" key algorithm: "+(e=this.getPublicKey()).type+"\n","RSA"===e.type&&(t+=" n="+Lt(e.n.toString(16)).substr(0,16)+"...\n",t+=" e="+Lt(e.e.toString(16))+"\n"),null!=(r=this.aExtInfo)){t+="X509v3 Extensions:\n";for(var a=0;a<r.length;a++){var h=r[a],c=ct.asn1.x509.OID.oid2name(h.oid);""===c&&(c=h.oid);var u="";if(!0===h.critical&&(u="CRITICAL"),t+=" "+c+" "+u+":\n","basicConstraints"===c){var p=this.getExtBasicConstraints();void 0===p.cA?t+=" {}\n":(t+=" cA=true",void 0!==p.pathLen&&(t+=", pathLen="+p.pathLen),t+="\n")}else if("keyUsage"===c)t+=" "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"===c)t+=" "+this.getExtSubjectKeyIdentifier().kid.hex+"\n";else if("authorityKeyIdentifier"===c){var l=this.getExtAuthorityKeyIdentifier();void 0!==l.kid&&(t+=" kid="+l.kid.hex+"\n")}else"extKeyUsage"===c?t+=" "+this.getExtExtKeyUsage().array.join(", ")+"\n":"subjectAltName"===c?t+=" "+(i=this.getExtSubjectAltName(),JSON.stringify(i.array).replace(/[\[\]\{\}\"]/g,"")+"\n"):"cRLDistributionPoints"===c?t+=n(this.getExtCRLDistributionPoints()):"authorityInfoAccess"===c?t+=s(this.getExtAuthorityInfoAccess()):"certificatePolicies"===c&&(t+=o(this.getExtCertificatePolicies()))}}return(t+="signature algorithm: "+this.getSignatureAlgorithmName()+"\n")+"signature: "+this.getSignatureValueHex().substr(0,16)+"...\n"},"string"==typeof t&&(-1!=t.indexOf("-----BEGIN")?this.readCertPEM(t):ct.lang.String.isHex(t)&&this.readCertHex(t))}Vt.getKey=function(t,e,r){var i,o=(w=lt).getChildIdx,n=w.getVbyList,s=ct.crypto,a=s.ECDSA,h=s.DSA,c=ot,u=Rt,p=Vt;if(void 0!==c&&t instanceof c)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==h&&t instanceof h)return t;if(void 0!==t.curve&&void 0!==t.xy&&void 0===t.d)return new a({pub:t.xy,curve:t.curve});if(void 0!==t.curve&&void 0!==t.d)return new a({prv:t.d,curve:t.curve});if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new c).setPublic(t.n,t.e),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.co&&void 0===t.qi)return(R=new c).setPrivateEx(t.n,t.e,t.d,t.p,t.q,t.dp,t.dq,t.co),R;if(void 0===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0===t.p)return(R=new c).setPrivate(t.n,t.e,t.d),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0===t.x)return(R=new h).setPublic(t.p,t.q,t.g,t.y),R;if(void 0!==t.p&&void 0!==t.q&&void 0!==t.g&&void 0!==t.y&&void 0!==t.x)return(R=new h).setPrivate(t.p,t.q,t.g,t.y,t.x),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0===t.d)return(R=new c).setPublic(bt(t.n),bt(t.e)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d&&void 0!==t.p&&void 0!==t.q&&void 0!==t.dp&&void 0!==t.dq&&void 0!==t.qi)return(R=new c).setPrivateEx(bt(t.n),bt(t.e),bt(t.d),bt(t.p),bt(t.q),bt(t.dp),bt(t.dq),bt(t.qi)),R;if("RSA"===t.kty&&void 0!==t.n&&void 0!==t.e&&void 0!==t.d)return(R=new c).setPrivate(bt(t.n),bt(t.e),bt(t.d)),R;if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0===t.d){var l=(T=new a({curve:t.crv})).ecparams.keylen/4,m="04"+("0000000000"+bt(t.x)).slice(-l)+("0000000000"+bt(t.y)).slice(-l);return T.setPublicKeyHex(m),T}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){l=(T=new a({curve:t.crv})).ecparams.keylen/4,m="04"+("0000000000"+bt(t.x)).slice(-l)+("0000000000"+bt(t.y)).slice(-l);var g=("0000000000"+bt(t.d)).slice(-l);return T.setPublicKeyHex(m),T.setPrivateKeyHex(g),T}if("pkcs5prv"===r){var d,f=t,w=lt;if(9===(d=o(f,0)).length)(R=new c).readPKCS5PrvKeyHex(f);else if(6===d.length)(R=new h).readPKCS5PrvKeyHex(f);else{if(!(d.length>2&&"04"===f.substr(d[1],2)))throw new Error("unsupported PKCS#1/5 hexadecimal key");(R=new a).readPKCS5PrvKeyHex(f)}return R}if("pkcs8prv"===r)return p.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===r)return p._getKeyFromPublicPKCS8Hex(t);if("x509pub"===r)return Jt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Jt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var v=Rt(t,"PUBLIC KEY");return p._getKeyFromPublicPKCS8Hex(v)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var y=u(t,"RSA PRIVATE KEY");return p.getKey(y,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var b=n(i=u(t,"DSA PRIVATE KEY"),0,[1],"02"),S=n(i,0,[2],"02"),A=n(i,0,[3],"02"),E=n(i,0,[4],"02"),P=n(i,0,[5],"02");return(R=new h).setPrivate(new C(b,16),new C(S,16),new C(A,16),new C(E,16),new C(P,16)),R}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED"))return y=u(t,"EC PRIVATE KEY"),p.getKey(y,null,"pkcs5prv");if(-1!=t.indexOf("-END PRIVATE KEY-"))return p.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var F=p.getDecryptedKeyHex(t,e),k=new ot;return k.readPKCS5PrvKeyHex(F),k}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var T,R=n(i=p.getDecryptedKeyHex(t,e),0,[1],"04"),O=n(i,0,[2,0],"06"),D=n(i,0,[3,0],"03").substr(2);if(void 0===ct.crypto.OID.oidhex2name[O])throw new Error("undefined OID(hex) in KJUR.crypto.OID: "+O);return(T=new a({curve:ct.crypto.OID.oidhex2name[O]})).setPublicKeyHex(D),T.setPrivateKeyHex(R),T.isPublic=!1,T}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return b=n(i=p.getDecryptedKeyHex(t,e),0,[1],"02"),S=n(i,0,[2],"02"),A=n(i,0,[3],"02"),E=n(i,0,[4],"02"),P=n(i,0,[5],"02"),(R=new h).setPrivate(new C(b,16),new C(S,16),new C(A,16),new C(E,16),new C(P,16)),R;if(-1!=t.indexOf("-END ENCRYPTED PRIVATE KEY-"))return p.getKeyFromEncryptedPKCS8PEM(t,e);throw new Error("not supported argument")},Vt.generateKeypair=function(t,e){if("RSA"==t){var r=e;(s=new ot).generate(r,"10001"),s.isPrivate=!0,s.isPublic=!0;var i=new ot,o=s.n.toString(16),n=s.e.toString(16);return i.setPublic(o,n),i.isPrivate=!1,i.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=i,a}if("EC"==t){var s,a,h=e,c=new ct.crypto.ECDSA({curve:h}).generateKeyPairHex();return(s=new ct.crypto.ECDSA({curve:h})).setPublicKeyHex(c.ecpubhex),s.setPrivateKeyHex(c.ecprvhex),s.isPrivate=!0,s.isPublic=!1,(i=new ct.crypto.ECDSA({curve:h})).setPublicKeyHex(c.ecpubhex),i.isPrivate=!1,i.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=i,a}throw new Error("unknown algorithm: "+t)},Vt.getPEM=function(t,e,r,i,o,n){var s=ct.asn1,a=s.DERObjectIdentifier,h=s.DERInteger,c=s.ASN1Util.newObject,u=ct.crypto,p=u.DSA,l=u.ECDSA,m=ot;function g(t){return c({seq:[{int:0},{int:{bigint:t.n}},{int:t.e},{int:{bigint:t.d}},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.dmp1}},{int:{bigint:t.dmq1}},{int:{bigint:t.coeff}}]})}function d(t){return c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function f(t){return c({seq:[{int:0},{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}},{int:{bigint:t.y}},{int:{bigint:t.x}}]})}if((void 0!==m&&t instanceof m||void 0!==p&&t instanceof p||void 0!==l&&t instanceof l)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return Tt(S=new(0,s.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==m&&t instanceof m&&(void 0===r||null==r)&&1==t.isPrivate)return Tt(S=g(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==l&&t instanceof l&&(void 0===r||null==r)&&1==t.isPrivate){var w=new a({name:t.curveName}).getEncodedHex(),v=d(t).getEncodedHex(),b="";return(b+=Tt(w,"EC PARAMETERS"))+Tt(v,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==p&&t instanceof p&&(void 0===r||null==r)&&1==t.isPrivate)return Tt(S=f(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==m&&t instanceof m&&void 0!==r&&null!=r&&1==t.isPrivate){var S=g(t).getEncodedHex();return void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",S,r,i,n)}if("PKCS5PRV"==e&&void 0!==l&&t instanceof l&&void 0!==r&&null!=r&&1==t.isPrivate)return S=d(t).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",S,r,i,n);if("PKCS5PRV"==e&&void 0!==p&&t instanceof p&&void 0!==r&&null!=r&&1==t.isPrivate)return S=f(t).getEncodedHex(),void 0===i&&(i="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",S,r,i,n);var A=function(t,e){var r=E(t,e);return new c({seq:[{seq:[{oid:{name:"pkcs5PBES2"}},{seq:[{seq:[{oid:{name:"pkcs5PBKDF2"}},{seq:[{octstr:{hex:r.pbkdf2Salt}},{int:r.pbkdf2Iter}]}]},{seq:[{oid:{name:"des-EDE3-CBC"}},{octstr:{hex:r.encryptionSchemeIV}}]}]}]},{octstr:{hex:r.ciphertext}}]}).getEncodedHex()},E=function(t,e){var r=y.lib.WordArray.random(8),i=y.lib.WordArray.random(8),o=y.PBKDF2(e,r,{keySize:6,iterations:100}),n=y.enc.Hex.parse(t),s=y.TripleDES.encrypt(n,o,{iv:i})+"",a={};return a.ciphertext=s,a.pbkdf2Salt=y.enc.Hex.stringify(r),a.pbkdf2Iter=100,a.encryptionSchemeAlg="DES-EDE3-CBC",a.encryptionSchemeIV=y.enc.Hex.stringify(i),a};if("PKCS8PRV"==e&&null!=m&&t instanceof m&&1==t.isPrivate){var C=g(t).getEncodedHex();return S=c({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===r||null==r?Tt(S,"PRIVATE KEY"):Tt(v=A(S,r),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==l&&t instanceof l&&1==t.isPrivate)return C=new c({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),S=c({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===r||null==r?Tt(S,"PRIVATE KEY"):Tt(v=A(S,r),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==p&&t instanceof p&&1==t.isPrivate)return C=new h({bigint:t.x}).getEncodedHex(),S=c({seq:[{int:0},{seq:[{oid:{name:"dsa"}},{seq:[{int:{bigint:t.p}},{int:{bigint:t.q}},{int:{bigint:t.g}}]}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===r||null==r?Tt(S,"PRIVATE KEY"):Tt(v=A(S,r),"ENCRYPTED PRIVATE KEY");throw new Error("unsupported object nor format")},Vt.getKeyFromCSRPEM=function(t){var e=Rt(t,"CERTIFICATE REQUEST");return Vt.getKeyFromCSRHex(e)},Vt.getKeyFromCSRHex=function(t){var e=Vt.parseCSRHex(t);return Vt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},Vt.parseCSRHex=function(t){var e=lt.getChildIdx,r=lt.getTLV,i={},o=t;if("30"!=o.substr(0,2))throw new Error("malformed CSR(code:001)");var n=e(o,0);if(n.length<1)throw new Error("malformed CSR(code:002)");if("30"!=o.substr(n[0],2))throw new Error("malformed CSR(code:003)");var s=e(o,n[0]);if(s.length<3)throw new Error("malformed CSR(code:004)");return i.p8pubkeyhex=r(o,s[2]),i},Vt.getKeyID=function(t){var e=Vt,r=lt;"string"==typeof t&&-1!=t.indexOf("BEGIN ")&&(t=e.getKey(t));var i=Rt(e.getPEM(t)),o=r.getIdxbyList(i,0,[1]),n=r.getV(i,o).substring(2);return ct.crypto.Util.hashHex(n,"sha1")},Vt.getJWKFromKey=function(t){var e={};if(t instanceof ot&&t.isPrivate)return e.kty="RSA",e.n=yt(t.n.toString(16)),e.e=yt(t.e.toString(16)),e.d=yt(t.d.toString(16)),e.p=yt(t.p.toString(16)),e.q=yt(t.q.toString(16)),e.dp=yt(t.dmp1.toString(16)),e.dq=yt(t.dmq1.toString(16)),e.qi=yt(t.coeff.toString(16)),e;if(t instanceof ot&&t.isPublic)return e.kty="RSA",e.n=yt(t.n.toString(16)),e.e=yt(t.e.toString(16)),e;if(t instanceof ct.crypto.ECDSA&&t.isPrivate){if("P-256"!==(i=t.getShortNISTPCurveName())&&"P-384"!==i)throw new Error("unsupported curve name for JWT: "+i);var r=t.getPublicKeyXYHex();return e.kty="EC",e.crv=i,e.x=yt(r.x),e.y=yt(r.y),e.d=yt(t.prvKeyHex),e}if(t instanceof ct.crypto.ECDSA&&t.isPublic){var i;if("P-256"!==(i=t.getShortNISTPCurveName())&&"P-384"!==i)throw new Error("unsupported curve name for JWT: "+i);return r=t.getPublicKeyXYHex(),e.kty="EC",e.crv=i,e.x=yt(r.x),e.y=yt(r.y),e}throw new Error("not supported key object")},ot.getPosArrayOfChildrenFromHex=function(t){return lt.getChildIdx(t,0)},ot.getHexValueArrayOfChildrenFromHex=function(t){var e,r=lt.getV,i=r(t,(e=ot.getPosArrayOfChildrenFromHex(t))[0]),o=r(t,e[1]),n=r(t,e[2]),s=r(t,e[3]),a=r(t,e[4]),h=r(t,e[5]),c=r(t,e[6]),u=r(t,e[7]),p=r(t,e[8]);return(e=new Array).push(i,o,n,s,a,h,c,u,p),e},ot.prototype.readPrivateKeyFromPEMString=function(t){var e=Rt(t),r=ot.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])},ot.prototype.readPKCS5PrvKeyHex=function(t){var e=ot.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},ot.prototype.readPKCS8PrvKeyHex=function(t){var e,r,i,o,n,s,a,h,c=lt.getVbyListEx;if(!1===lt.isASN1HEX(t))throw new Error("not ASN.1 hex string");try{e=c(t,0,[2,0,1],"02"),r=c(t,0,[2,0,2],"02"),i=c(t,0,[2,0,3],"02"),o=c(t,0,[2,0,4],"02"),n=c(t,0,[2,0,5],"02"),s=c(t,0,[2,0,6],"02"),a=c(t,0,[2,0,7],"02"),h=c(t,0,[2,0,8],"02")}catch(t){throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(e,r,i,o,n,s,a,h)},ot.prototype.readPKCS5PubKeyHex=function(t){var e=lt,r=e.getV;if(!1===e.isASN1HEX(t))throw new Error("keyHex is not ASN.1 hex string");var i=e.getChildIdx(t,0);if(2!==i.length||"02"!==t.substr(i[0],2)||"02"!==t.substr(i[1],2))throw new Error("wrong hex for PKCS#5 public key");var o=r(t,i[0]),n=r(t,i[1]);this.setPublic(o,n)},ot.prototype.readPKCS8PubKeyHex=function(t){var e=lt;if(!1===e.isASN1HEX(t))throw new Error("not ASN.1 hex string");if("06092a864886f70d010101"!==e.getTLVbyListEx(t,0,[0,0]))throw new Error("not PKCS8 RSA public key");var r=e.getTLVbyListEx(t,0,[1,0]);this.readPKCS5PubKeyHex(r)},ot.prototype.readCertPubKeyHex=function(t){var e,r;(e=new Jt).readCertHex(t),r=e.getPublicKeyHex(),this.readPKCS8PubKeyHex(r)},ot.prototype.sign=function(t,e){var r=ct.crypto.Util.hashString(t,e);return this.signWithMessageHash(r,e)},ot.prototype.signWithMessageHash=function(t,e){var r=rt(ct.crypto.Util.getPaddedDigestInfoHex(t,e,this.n.bitLength()),16);return qt(this.doPrivate(r).toString(16),this.n.bitLength())},ot.prototype.signPSS=function(t,e,r){var i,o=(i=Ct(t),ct.crypto.Util.hashHex(i,e));return void 0===r&&(r=-1),this.signWithMessageHashPSS(o,e,r)},ot.prototype.signWithMessageHashPSS=function(t,e,r){var i,o=Et(t),n=o.length,s=this.n.bitLength()-1,a=Math.ceil(s/8),h=function(t){return ct.crypto.Util.hashHex(t,e)};if(-1===r||void 0===r)r=n;else if(-2===r)r=a-n-2;else if(r<-2)throw new Error("invalid salt length");if(a<n+r+2)throw new Error("data too long");var c="";r>0&&(c=new Array(r),(new et).nextBytes(c),c=String.fromCharCode.apply(String,c));var u=Et(h(Ct("\0\0\0\0\0\0\0\0"+o+c))),p=[];for(i=0;i<a-r-n-2;i+=1)p[i]=0;var l=String.fromCharCode.apply(String,p)+""+c,m=Gt(u,l.length,h),g=[];for(i=0;i<l.length;i+=1)g[i]=l.charCodeAt(i)^m.charCodeAt(i);for(g[0]&=~(65280>>8*a-s&255),i=0;i<n;i++)g.push(u.charCodeAt(i));return g.push(188),qt(this.doPrivate(new C(g)).toString(16),this.n.bitLength())},ot.prototype.verify=function(t,e){if(null==(e=e.toLowerCase()).match(/^[0-9a-f]+$/))return!1;var r=rt(e,16),i=this.n.bitLength();if(r.bitLength()>i)return!1;var o=this.doPublic(r).toString(16);if(o.length+3!=i/4)return!1;var n=Kt(o.replace(/^1f+00/,""));return 0!=n.length&&n[1]==ct.crypto.Util.hashString(t,n[0])},ot.prototype.verifyWithMessageHash=function(t,e){if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;var r=rt(e,16);if(r.bitLength()>this.n.bitLength())return 0;var i=Kt(this.doPublic(r).toString(16).replace(/^1f+00/,""));return 0!=i.length&&i[1]==t},ot.prototype.verifyPSS=function(t,e,r,i){var o,n=(o=Ct(t),ct.crypto.Util.hashHex(o,r));return void 0===i&&(i=-1),this.verifyWithMessageHashPSS(n,e,r,i)},ot.prototype.verifyWithMessageHashPSS=function(t,e,r,i){if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;var o,n=new C(e,16),s=function(t){return ct.crypto.Util.hashHex(t,r)},a=Et(t),h=a.length,c=this.n.bitLength()-1,u=Math.ceil(c/8);if(-1===i||void 0===i)i=h;else if(-2===i)i=u-h-2;else if(i<-2)throw new Error("invalid salt length");if(u<h+i+2)throw new Error("data too long");var p=this.doPublic(n).toByteArray();for(o=0;o<p.length;o+=1)p[o]&=255;for(;p.length<u;)p.unshift(0);if(188!==p[u-1])throw new Error("encoded message does not end in 0xbc");var l=(p=String.fromCharCode.apply(String,p)).substr(0,u-h-1),m=p.substr(l.length,h),g=65280>>8*u-c&255;if(0!=(l.charCodeAt(0)&g))throw new Error("bits beyond keysize not zero");var d=Gt(m,l.length,s),f=[];for(o=0;o<l.length;o+=1)f[o]=l.charCodeAt(o)^d.charCodeAt(o);f[0]&=~g;var w=u-h-i-2;for(o=0;o<w;o+=1)if(0!==f[o])throw new Error("leftmost octets not zero");if(1!==f[w])throw new Error("0x01 marker not found");return m===Et(s(Ct("\0\0\0\0\0\0\0\0"+a+String.fromCharCode.apply(String,f.slice(-i)))))},ot.SALT_LEN_HLEN=-1,ot.SALT_LEN_MAX=-2,ot.SALT_LEN_RECOVER=-2,Jt.hex2dn=function(t,e){void 0===e&&(e=0);var r=new Jt;return lt.getTLV(t,e),r.getX500Name(t).str},Jt.hex2rdn=function(t,e){if(void 0===e&&(e=0),"31"!==t.substr(e,2))throw new Error("malformed RDN");for(var r=new Array,i=lt.getChildIdx(t,e),o=0;o<i.length;o++)r.push(Jt.hex2attrTypeValue(t,i[o]));return(r=r.map((function(t){return t.replace("+","\\+")}))).join("+")},Jt.hex2attrTypeValue=function(t,e){var r=lt,i=r.getV;if(void 0===e&&(e=0),"30"!==t.substr(e,2))throw new Error("malformed attribute type and value");var o=r.getChildIdx(t,e);2!==o.length||t.substr(o[0],2);var n=i(t,o[0]),s=ct.asn1.ASN1Util.oidHexToInt(n);return ct.asn1.x509.OID.oid2atype(s)+"="+Et(i(t,o[1]))},Jt.getPublicKeyFromCertHex=function(t){var e=new Jt;return e.readCertHex(t),e.getPublicKey()},Jt.getPublicKeyFromCertPEM=function(t){var e=new Jt;return e.readCertPEM(t),e.getPublicKey()},Jt.getPublicKeyInfoPropOfCertPEM=function(t){var e,r,i=lt.getVbyList,o={algparam:null};return(e=new Jt).readCertPEM(t),r=e.getPublicKeyHex(),o.keyhex=i(r,0,[1],"03").substr(2),o.algoid=i(r,0,[0,0],"06"),"2a8648ce3d0201"===o.algoid&&(o.algparam=i(r,0,[0,1],"06")),o},Jt.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],void 0!==ct&&ct||(e.KJUR=ct={}),void 0!==ct.jws&&ct.jws||(ct.jws={}),ct.jws.JWS=function(){var t=ct.jws.JWS.isSafeJSONString;this.parseJWS=function(e,r){if(void 0===this.parsedJWS||!r&&void 0===this.parsedJWS.sigvalH){var i=e.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==i)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var o=i[1],n=i[2],s=i[3],a=o+"."+n;if(this.parsedJWS={},this.parsedJWS.headB64U=o,this.parsedJWS.payloadB64U=n,this.parsedJWS.sigvalB64U=s,this.parsedJWS.si=a,!r){var h=bt(s),c=rt(h,16);this.parsedJWS.sigvalH=h,this.parsedJWS.sigvalBI=c}var u=pt(o),p=pt(n);if(this.parsedJWS.headS=u,this.parsedJWS.payloadS=p,!t(u,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+u}}},ct.jws.JWS.sign=function(t,e,r,i,o){var n,s,a,h=ct.jws.JWS,c=h.readSafeJSONString,u=h.isSafeJSONString,p=ct.crypto,l=p.Mac,m=p.Signature,g=JSON;if("string"!=typeof e&&"object"!=(void 0===e?"undefined":w(e)))throw"spHeader must be JSON string or object: "+e;if("object"==(void 0===e?"undefined":w(e))&&(n=g.stringify(s=e)),"string"==typeof e){if(!u(n=e))throw"JWS Head is not safe JSON string: "+n;s=c(n)}if(a=r,"object"==(void 0===r?"undefined":w(r))&&(a=g.stringify(r)),""!=t&&null!=t||void 0===s.alg||(t=s.alg),""!=t&&null!=t&&void 0===s.alg&&(s.alg=t,n=g.stringify(s)),t!==s.alg)throw"alg and sHeader.alg doesn't match: "+t+"!="+s.alg;var d=null;if(void 0===h.jwsalg2sigalg[t])throw"unsupported alg name: "+t;d=h.jwsalg2sigalg[t];var f=ut(n)+"."+ut(a),v="";if("Hmac"==d.substr(0,4)){if(void 0===i)throw"mac key shall be specified for HS* alg";var y=new l({alg:d,prov:"cryptojs",pass:i});y.updateString(f),v=y.doFinal()}else if(-1!=d.indexOf("withECDSA")){(S=new m({alg:d})).init(i,o),S.updateString(f);var b=S.sign();v=ct.crypto.ECDSA.asn1SigToConcatSig(b)}else{var S;"none"!=d&&((S=new m({alg:d})).init(i,o),S.updateString(f),v=S.sign())}return f+"."+yt(v)},ct.jws.JWS.verify=function(t,e,r){var i,o=ct.jws.JWS,n=o.readSafeJSONString,s=ct.crypto,a=s.ECDSA,h=s.Mac,c=s.Signature;void 0!==w(ot)&&(i=ot);var u=t.split(".");if(3!==u.length)return!1;var p,l=u[0]+"."+u[1],m=bt(u[2]),g=n(pt(u[0])),d=null;if(void 0===g.alg)throw"algorithm not specified in header";if(p=(d=g.alg).substr(0,2),null!=r&&"[object Array]"===Object.prototype.toString.call(r)&&r.length>0&&-1==(":"+r.join(":")+":").indexOf(":"+d+":"))throw"algorithm '"+d+"' not accepted in the list";if("none"!=d&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=Vt.getKey(e)),!("RS"!=p&&"PS"!=p||e instanceof i))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==p&&!(e instanceof a))throw"key shall be a ECDSA obj for ES* algs";var f=null;if(void 0===o.jwsalg2sigalg[g.alg])throw"unsupported alg name: "+d;if("none"==(f=o.jwsalg2sigalg[d]))throw"not supported";if("Hmac"==f.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var v=new h({alg:f,pass:e});return v.updateString(l),m==v.doFinal()}if(-1!=f.indexOf("withECDSA")){var y,b=null;try{b=a.concatSigToASN1Sig(m)}catch(t){return!1}return(y=new c({alg:f})).init(e),y.updateString(l),y.verify(b)}return(y=new c({alg:f})).init(e),y.updateString(l),y.verify(m)},ct.jws.JWS.parse=function(t){var e,r,i=t.split("."),o={};if(2!=i.length&&3!=i.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=i[1],3==i.length&&(r=i[2]),o.headerObj=ct.jws.JWS.readSafeJSONString(pt(i[0])),o.payloadObj=ct.jws.JWS.readSafeJSONString(pt(e)),o.headerPP=JSON.stringify(o.headerObj,null," "),o.payloadPP=null==o.payloadObj?pt(e):JSON.stringify(o.payloadObj,null," "),void 0!==r&&(o.sigHex=bt(r)),o},ct.jws.JWS.verifyJWT=function(t,e,r){var i=ct.jws,o=i.JWS,n=o.readSafeJSONString,s=o.inArray,a=o.includedArray,h=t.split("."),c=h[0],u=h[1],p=(bt(h[2]),n(pt(c))),l=n(pt(u));if(void 0===p.alg)return!1;if(void 0===r.alg)throw"acceptField.alg shall be specified";if(!s(p.alg,r.alg))return!1;if(void 0!==l.iss&&"object"===w(r.iss)&&!s(l.iss,r.iss))return!1;if(void 0!==l.sub&&"object"===w(r.sub)&&!s(l.sub,r.sub))return!1;if(void 0!==l.aud&&"object"===w(r.aud))if("string"==typeof l.aud){if(!s(l.aud,r.aud))return!1}else if("object"==w(l.aud)&&!a(l.aud,r.aud))return!1;var m=i.IntDate.getNow();return void 0!==r.verifyAt&&"number"==typeof r.verifyAt&&(m=r.verifyAt),void 0!==r.gracePeriod&&"number"==typeof r.gracePeriod||(r.gracePeriod=0),!(void 0!==l.exp&&"number"==typeof l.exp&&l.exp+r.gracePeriod<m||void 0!==l.nbf&&"number"==typeof l.nbf&&m<l.nbf-r.gracePeriod||void 0!==l.iat&&"number"==typeof l.iat&&m<l.iat-r.gracePeriod||void 0!==l.jti&&void 0!==r.jti&&l.jti!==r.jti||!o.verify(t,e,r.alg))},ct.jws.JWS.includedArray=function(t,e){var r=ct.jws.JWS.inArray;if(null===t)return!1;if("object"!==(void 0===t?"undefined":w(t)))return!1;if("number"!=typeof t.length)return!1;for(var i=0;i<t.length;i++)if(!r(t[i],e))return!1;return!0},ct.jws.JWS.inArray=function(t,e){if(null===e)return!1;if("object"!==(void 0===e?"undefined":w(e)))return!1;if("number"!=typeof e.length)return!1;for(var r=0;r<e.length;r++)if(e[r]==t)return!0;return!1},ct.jws.JWS.jwsalg2sigalg={HS256:"HmacSHA256",HS384:"HmacSHA384",HS512:"HmacSHA512",RS256:"SHA256withRSA",RS384:"SHA384withRSA",RS512:"SHA512withRSA",ES256:"SHA256withECDSA",ES384:"SHA384withECDSA",PS256:"SHA256withRSAandMGF1",PS384:"SHA384withRSAandMGF1",PS512:"SHA512withRSAandMGF1",none:"none"},ct.jws.JWS.isSafeJSONString=function(t,e,r){var i=null;try{return"object"!=(void 0===(i=ht(t))?"undefined":w(i))||i.constructor===Array?0:(e&&(e[r]=i),1)}catch(t){return 0}},ct.jws.JWS.readSafeJSONString=function(t){var e=null;try{return"object"!=(void 0===(e=ht(t))?"undefined":w(e))||e.constructor===Array?null:e}catch(t){return null}},ct.jws.JWS.getEncodedSignatureValueFromJWS=function(t){var e=t.match(/^[^.]+\.[^.]+\.([^.]+)$/);if(null==e)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";return e[1]},ct.jws.JWS.getJWKthumbprint=function(t){if("RSA"!==t.kty&&"EC"!==t.kty&&"oct"!==t.kty)throw"unsupported algorithm for JWK Thumprint";var e="{";if("RSA"===t.kty){if("string"!=typeof t.n||"string"!=typeof t.e)throw"wrong n and e value for RSA key";e+='"e":"'+t.e+'",',e+='"kty":"'+t.kty+'",',e+='"n":"'+t.n+'"}'}else if("EC"===t.kty){if("string"!=typeof t.crv||"string"!=typeof t.x||"string"!=typeof t.y)throw"wrong crv, x and y value for EC key";e+='"crv":"'+t.crv+'",',e+='"kty":"'+t.kty+'",',e+='"x":"'+t.x+'",',e+='"y":"'+t.y+'"}'}else if("oct"===t.kty){if("string"!=typeof t.k)throw"wrong k value for oct(symmetric) key";e+='"kty":"'+t.kty+'",',e+='"k":"'+t.k+'"}'}var r=Ct(e);return yt(ct.crypto.Util.hashHex(r,"sha256"))},ct.jws.IntDate={},ct.jws.IntDate.get=function(t){var e=ct.jws.IntDate,r=e.getNow,i=e.getZulu;if("now"==t)return r();if("now + 1hour"==t)return r()+3600;if("now + 1day"==t)return r()+86400;if("now + 1month"==t)return r()+2592e3;if("now + 1year"==t)return r()+31536e3;if(t.match(/Z$/))return i(t);if(t.match(/^[0-9]+$/))return parseInt(t);throw"unsupported format: "+t},ct.jws.IntDate.getZulu=function(t){return Dt(t)},ct.jws.IntDate.getNow=function(){return~~(new Date/1e3)},ct.jws.IntDate.intDate2UTCString=function(t){return new Date(1e3*t).toUTCString()},ct.jws.IntDate.intDate2Zulu=function(t){var e=new Date(1e3*t);return("0000"+e.getUTCFullYear()).slice(-4)+("00"+(e.getUTCMonth()+1)).slice(-2)+("00"+e.getUTCDate()).slice(-2)+("00"+e.getUTCHours()).slice(-2)+("00"+e.getUTCMinutes()).slice(-2)+("00"+e.getUTCSeconds()).slice(-2)+"Z"},e.SecureRandom=et,e.rng_seed_time=X,e.BigInteger=C,e.RSAKey=ot,e.EDSA=ct.crypto.EDSA,e.DSA=ct.crypto.DSA,e.Signature=ct.crypto.Signature,e.MessageDigest=ct.crypto.MessageDigest,e.Mac=ct.crypto.Mac,e.Cipher=ct.crypto.Cipher,e.KEYUTIL=Vt,e.ASN1HEX=lt,e.X509=Jt,e.CryptoJS=y,e.b64tohex=A,e.b64toBA=E,e.stoBA=mt,e.BAtos=gt,e.BAtohex=dt,e.stohex=ft,e.stob64=function(t){return S(ft(t))},e.stob64u=function(t){return wt(S(ft(t)))},e.b64utos=function(t){return gt(E(vt(t)))},e.b64tob64u=wt,e.b64utob64=vt,e.hex2b64=S,e.hextob64u=yt,e.b64utohex=bt,e.utf8tob64u=ut,e.b64utoutf8=pt,e.utf8tob64=function(t){return S(Mt(Bt(t)))},e.b64toutf8=function(t){return decodeURIComponent(It(A(t)))},e.utf8tohex=St,e.hextoutf8=At,e.hextorstr=Et,e.rstrtohex=Ct,e.hextob64=Pt,e.hextob64nl=Ft,e.b64nltohex=kt,e.hextopem=Tt,e.pemtohex=Rt,e.hextoArrayBuffer=function(t){if(t.length%2!=0)throw"input is not even length";if(null==t.match(/^[0-9A-Fa-f]+$/))throw"input is not hexadecimal";for(var e=new ArrayBuffer(t.length/2),r=new DataView(e),i=0;i<t.length/2;i++)r.setUint8(i,parseInt(t.substr(2*i,2),16));return e},e.ArrayBuffertohex=function(t){for(var e="",r=new DataView(t),i=0;i<t.byteLength;i++)e+=("00"+r.getUint8(i).toString(16)).slice(-2);return e},e.zulutomsec=Ot,e.zulutosec=Dt,e.zulutodate=function(t){return new Date(Ot(t))},e.datetozulu=function(t,e,r){var i,o=t.getUTCFullYear();if(e){if(o<1950||2049<o)throw"not proper year for UTCTime: "+o;i=(""+o).slice(-2)}else i=("000"+o).slice(-4);if(i+=("0"+(t.getUTCMonth()+1)).slice(-2),i+=("0"+t.getUTCDate()).slice(-2),i+=("0"+t.getUTCHours()).slice(-2),i+=("0"+t.getUTCMinutes()).slice(-2),i+=("0"+t.getUTCSeconds()).slice(-2),r){var n=t.getUTCMilliseconds();0!==n&&(i+="."+(n=(n=("00"+n).slice(-3)).replace(/0+$/g,"")))}return i+"Z"},e.uricmptohex=Mt,e.hextouricmp=It,e.ipv6tohex=xt,e.hextoipv6=_t,e.hextoip=Nt,e.iptohex=function(t){var e="malformed IP address";if(!(t=t.toLowerCase(t)).match(/^[0-9.]+$/)){if(t.match(/^[0-9a-f:]+$/)&&-1!==t.indexOf(":"))return xt(t);throw e}var r=t.split(".");if(4!==r.length)throw e;var i="";try{for(var o=0;o<4;o++)i+=("0"+parseInt(r[o]).toString(16)).slice(-2);return i}catch(t){throw e}},e.encodeURIComponentAll=Bt,e.newline_toUnix=function(t){return t.replace(/\r\n/gm,"\n")},e.newline_toDos=function(t){return(t=t.replace(/\r\n/gm,"\n")).replace(/\n/gm,"\r\n")},e.hextoposhex=Lt,e.intarystrtohex=function(t){t=(t=(t=t.replace(/^\s*\[\s*/,"")).replace(/\s*\]\s*$/,"")).replace(/\s*/g,"");try{return t.split(/,/).map((function(t){var e=parseInt(t);if(e<0||255<e)throw"integer not in range 0-255";return("00"+e.toString(16)).slice(-2)})).join("")}catch(t){throw"malformed integer array string: "+t}},e.strdiffidx=function(t,e){var r=t.length;t.length>e.length&&(r=e.length);for(var i=0;i<r;i++)if(t.charCodeAt(i)!=e.charCodeAt(i))return i;return t.length!=e.length?r:-1},e.KJUR=ct,e.crypto=ct.crypto,e.asn1=ct.asn1,e.jws=ct.jws,e.lang=ct.lang}).call(this,r(28).Buffer)},function(t,e,r){(function(t){var i=r(30),o=r(31),n=r(32);function s(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return h.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=h.prototype:(null===t&&(t=new h(e)),t.length=e),t}function h(t,e,r){if(!(h.TYPED_ARRAY_SUPPORT||this instanceof h))return new h(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return c(this,t,e,r)}function c(t,e,r,i){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,i){if(r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(i||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===i?new Uint8Array(e):void 0===i?new Uint8Array(e,r):new Uint8Array(e,r,i),h.TYPED_ARRAY_SUPPORT?(t=e).__proto__=h.prototype:t=l(t,e),t}(t,e,r,i):"string"==typeof e?function(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!h.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var i=0|g(e,r),o=(t=a(t,i)).write(e,r);return o!==i&&(t=t.slice(0,o)),t}(t,e,r):function(t,e){if(h.isBuffer(e)){var r=0|m(e.length);return 0===(t=a(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(i=e.length)!=i?a(t,0):l(t,e);if("Buffer"===e.type&&n(e.data))return l(t,e.data)}var i;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function p(t,e){if(u(e),t=a(t,e<0?0:0|m(e)),!h.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function l(t,e){var r=e.length<0?0:0|m(e.length);t=a(t,r);for(var i=0;i<r;i+=1)t[i]=255&e[i];return t}function m(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function g(t,e){if(h.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return W(t).length;default:if(i)return H(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,r);case"utf8":case"utf-8":return F(this,e,r);case"ascii":return T(this,e,r);case"latin1":case"binary":return R(this,e,r);case"base64":return P(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return D(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function f(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function w(t,e,r,i,o){if(0===t.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=h.from(e,i)),h.isBuffer(e))return 0===e.length?-1:v(t,e,r,i,o);if("number"==typeof e)return e&=255,h.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,i,o);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,i,o){var n,s=1,a=t.length,h=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,h/=2,r/=2}function c(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var u=-1;for(n=r;n<a;n++)if(c(t,n)===c(e,-1===u?0:n-u)){if(-1===u&&(u=n),n-u+1===h)return u*s}else-1!==u&&(n-=n-u),u=-1}else for(r+h>a&&(r=a-h),n=r;n>=0;n--){for(var p=!0,l=0;l<h;l++)if(c(t,n+l)!==c(e,l)){p=!1;break}if(p)return n}return-1}function y(t,e,r,i){r=Number(r)||0;var o=t.length-r;i?(i=Number(i))>o&&(i=o):i=o;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");i>n/2&&(i=n/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[r+s]=a}return s}function b(t,e,r,i){return V(H(e,t.length-r),t,r,i)}function S(t,e,r,i){return V(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,i)}function A(t,e,r,i){return S(t,e,r,i)}function E(t,e,r,i){return V(W(e),t,r,i)}function C(t,e,r,i){return V(function(t,e){for(var r,i,o=[],n=0;n<t.length&&!((e-=2)<0);++n)i=(r=t.charCodeAt(n))>>8,o.push(r%256),o.push(i);return o}(e,t.length-r),t,r,i)}function P(t,e,r){return i.fromByteArray(0===e&&r===t.length?t:t.slice(e,r))}function F(t,e,r){r=Math.min(t.length,r);for(var i=[],o=e;o<r;){var n,s,a,h,c=t[o],u=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(u=c);break;case 2:128==(192&(n=t[o+1]))&&(h=(31&c)<<6|63&n)>127&&(u=h);break;case 3:s=t[o+2],128==(192&(n=t[o+1]))&&128==(192&s)&&(h=(15&c)<<12|(63&n)<<6|63&s)>2047&&(h<55296||h>57343)&&(u=h);break;case 4:s=t[o+2],a=t[o+3],128==(192&(n=t[o+1]))&&128==(192&s)&&128==(192&a)&&(h=(15&c)<<18|(63&n)<<12|(63&s)<<6|63&a)>65535&&h<1114112&&(u=h)}null===u?(u=65533,p=1):u>65535&&(i.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),i.push(u),o+=p}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);for(var r="",i=0;i<e;)r+=String.fromCharCode.apply(String,t.slice(i,i+=k));return r}(i)}e.Buffer=h,e.SlowBuffer=function(t){return+t!=t&&(t=0),h.alloc(+t)},e.INSPECT_MAX_BYTES=50,h.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=s(),h.poolSize=8192,h._augment=function(t){return t.__proto__=h.prototype,t},h.from=function(t,e,r){return c(null,t,e,r)},h.TYPED_ARRAY_SUPPORT&&(h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&h[Symbol.species]===h&&Object.defineProperty(h,Symbol.species,{value:null,configurable:!0})),h.alloc=function(t,e,r){return i=null,n=e,s=r,u(o=t),o<=0?a(i,o):void 0!==n?"string"==typeof s?a(i,o).fill(n,s):a(i,o).fill(n):a(i,o);var i,o,n,s},h.allocUnsafe=function(t){return p(null,t)},h.allocUnsafeSlow=function(t){return p(null,t)},h.isBuffer=function(t){return!(null==t||!t._isBuffer)},h.compare=function(t,e){if(!h.isBuffer(t)||!h.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,i=e.length,o=0,n=Math.min(r,i);o<n;++o)if(t[o]!==e[o]){r=t[o],i=e[o];break}return r<i?-1:i<r?1:0},h.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},h.concat=function(t,e){if(!n(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return h.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var i=h.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var s=t[r];if(!h.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(i,o),o+=s.length}return i},h.byteLength=g,h.prototype._isBuffer=!0,h.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)f(this,e,e+1);return this},h.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)f(this,e,e+3),f(this,e+1,e+2);return this},h.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)f(this,e,e+7),f(this,e+1,e+6),f(this,e+2,e+5),f(this,e+3,e+4);return this},h.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?F(this,0,t):d.apply(this,arguments)},h.prototype.equals=function(t){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===h.compare(this,t)},h.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},h.prototype.compare=function(t,e,r,i,o){if(!h.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===o&&(o=this.length),e<0||r>t.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=r)return 0;if(i>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var n=(o>>>=0)-(i>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(n,s),c=this.slice(i,o),u=t.slice(e,r),p=0;p<a;++p)if(c[p]!==u[p]){n=c[p],s=u[p];break}return n<s?-1:s<n?1:0},h.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},h.prototype.indexOf=function(t,e,r){return w(this,t,e,r,!0)},h.prototype.lastIndexOf=function(t,e,r){return w(this,t,e,r,!1)},h.prototype.write=function(t,e,r,i){if(void 0===e)i="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)i=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===i&&(i="utf8")):(i=r,r=void 0)}var o=this.length-e;if((void 0===r||r>o)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var n=!1;;)switch(i){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return b(this,t,e,r);case"ascii":return S(this,t,e,r);case"latin1":case"binary":return A(this,t,e,r);case"base64":return E(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,t,e,r);default:if(n)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),n=!0}},h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function T(t,e,r){var i="";r=Math.min(t.length,r);for(var o=e;o<r;++o)i+=String.fromCharCode(127&t[o]);return i}function R(t,e,r){var i="";r=Math.min(t.length,r);for(var o=e;o<r;++o)i+=String.fromCharCode(t[o]);return i}function O(t,e,r){var i=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>i)&&(r=i);for(var o="",n=e;n<r;++n)o+=L(t[n]);return o}function D(t,e,r){for(var i=t.slice(e,r),o="",n=0;n<i.length;n+=2)o+=String.fromCharCode(i[n]+256*i[n+1]);return o}function M(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function I(t,e,r,i,o,n){if(!h.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<n)throw new RangeError('"value" argument is out of bounds');if(r+i>t.length)throw new RangeError("Index out of range")}function x(t,e,r,i){e<0&&(e=65535+e+1);for(var o=0,n=Math.min(t.length-r,2);o<n;++o)t[r+o]=(e&255<<8*(i?o:1-o))>>>8*(i?o:1-o)}function _(t,e,r,i){e<0&&(e=4294967295+e+1);for(var o=0,n=Math.min(t.length-r,4);o<n;++o)t[r+o]=e>>>8*(i?o:3-o)&255}function N(t,e,r,i){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function j(t,e,r,i,n){return n||N(t,0,r,4),o.write(t,e,r,i,23,4),r+4}function B(t,e,r,i,n){return n||N(t,0,r,8),o.write(t,e,r,i,52,8),r+8}h.prototype.slice=function(t,e){var r,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e<t&&(e=t),h.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=h.prototype;else{var o=e-t;r=new h(o,void 0);for(var n=0;n<o;++n)r[n]=this[n+t]}return r},h.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var i=this[t],o=1,n=0;++n<e&&(o*=256);)i+=this[t+n]*o;return i},h.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var i=this[t+--e],o=1;e>0&&(o*=256);)i+=this[t+--e]*o;return i},h.prototype.readUInt8=function(t,e){return e||M(t,1,this.length),this[t]},h.prototype.readUInt16LE=function(t,e){return e||M(t,2,this.length),this[t]|this[t+1]<<8},h.prototype.readUInt16BE=function(t,e){return e||M(t,2,this.length),this[t]<<8|this[t+1]},h.prototype.readUInt32LE=function(t,e){return e||M(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},h.prototype.readUInt32BE=function(t,e){return e||M(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},h.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var i=this[t],o=1,n=0;++n<e&&(o*=256);)i+=this[t+n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},h.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||M(t,e,this.length);for(var i=e,o=1,n=this[t+--i];i>0&&(o*=256);)n+=this[t+--i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},h.prototype.readInt8=function(t,e){return e||M(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},h.prototype.readInt16LE=function(t,e){e||M(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt16BE=function(t,e){e||M(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},h.prototype.readInt32LE=function(t,e){return e||M(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},h.prototype.readInt32BE=function(t,e){return e||M(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},h.prototype.readFloatLE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!0,23,4)},h.prototype.readFloatBE=function(t,e){return e||M(t,4,this.length),o.read(this,t,!1,23,4)},h.prototype.readDoubleLE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!0,52,8)},h.prototype.readDoubleBE=function(t,e){return e||M(t,8,this.length),o.read(this,t,!1,52,8)},h.prototype.writeUIntLE=function(t,e,r,i){t=+t,e|=0,r|=0,i||I(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,n=0;for(this[e]=255&t;++n<r&&(o*=256);)this[e+n]=t/o&255;return e+r},h.prototype.writeUIntBE=function(t,e,r,i){t=+t,e|=0,r|=0,i||I(this,t,e,r,Math.pow(2,8*r)-1,0);var o=r-1,n=1;for(this[e+o]=255&t;--o>=0&&(n*=256);)this[e+o]=t/n&255;return e+r},h.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,255,0),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},h.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},h.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},h.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):_(this,t,e,!0),e+4},h.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):_(this,t,e,!1),e+4},h.prototype.writeIntLE=function(t,e,r,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*r-1);I(this,t,e,r,o-1,-o)}var n=0,s=1,a=0;for(this[e]=255&t;++n<r&&(s*=256);)t<0&&0===a&&0!==this[e+n-1]&&(a=1),this[e+n]=(t/s>>0)-a&255;return e+r},h.prototype.writeIntBE=function(t,e,r,i){if(t=+t,e|=0,!i){var o=Math.pow(2,8*r-1);I(this,t,e,r,o-1,-o)}var n=r-1,s=1,a=0;for(this[e+n]=255&t;--n>=0&&(s*=256);)t<0&&0===a&&0!==this[e+n+1]&&(a=1),this[e+n]=(t/s>>0)-a&255;return e+r},h.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,127,-128),h.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},h.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):x(this,t,e,!0),e+2},h.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):x(this,t,e,!1),e+2},h.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):_(this,t,e,!0),e+4},h.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),h.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):_(this,t,e,!1),e+4},h.prototype.writeFloatLE=function(t,e,r){return j(this,t,e,!0,r)},h.prototype.writeFloatBE=function(t,e,r){return j(this,t,e,!1,r)},h.prototype.writeDoubleLE=function(t,e,r){return B(this,t,e,!0,r)},h.prototype.writeDoubleBE=function(t,e,r){return B(this,t,e,!1,r)},h.prototype.copy=function(t,e,r,i){if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i<r&&(i=r),i===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e<i-r&&(i=t.length-e+r);var o,n=i-r;if(this===t&&r<e&&e<i)for(o=n-1;o>=0;--o)t[o+e]=this[o+r];else if(n<1e3||!h.TYPED_ARRAY_SUPPORT)for(o=0;o<n;++o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+n),e);return n},h.prototype.fill=function(t,e,r,i){if("string"==typeof t){if("string"==typeof e?(i=e,e=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),1===t.length){var o=t.charCodeAt(0);o<256&&(t=o)}if(void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!h.isEncoding(i))throw new TypeError("Unknown encoding: "+i)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var n;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(n=e;n<r;++n)this[n]=t;else{var s=h.isBuffer(t)?t:H(new h(t,i).toString()),a=s.length;for(n=0;n<r-e;++n)this[n+e]=s[n%a]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function L(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){var r;e=e||1/0;for(var i=t.length,o=null,n=[],s=0;s<i;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&n.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&n.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&n.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;n.push(r)}else if(r<2048){if((e-=2)<0)break;n.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;n.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return n}function W(t){return i.toByteArray(function(t){if((t=(e=t,e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(U,"")).length<2)return"";for(var e;t.length%4!=0;)t+="=";return t}(t))}function V(t,e,r,i){for(var o=0;o<i&&!(o+r>=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(29))},function(t){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,e){e.byteLength=function(t){var e=h(t),r=e[1];return 3*(e[0]+r)/4-r},e.toByteArray=function(t){var e,r,n,s=h(t),a=s[0],c=s[1],u=new o(3*(a+(n=c))/4-n),p=0,l=c>0?a-4:a;for(r=0;r<l;r+=4)e=i[t.charCodeAt(r)]<<18|i[t.charCodeAt(r+1)]<<12|i[t.charCodeAt(r+2)]<<6|i[t.charCodeAt(r+3)],u[p++]=e>>16&255,u[p++]=e>>8&255,u[p++]=255&e;return 2===c&&(e=i[t.charCodeAt(r)]<<2|i[t.charCodeAt(r+1)]>>4,u[p++]=255&e),1===c&&(e=i[t.charCodeAt(r)]<<10|i[t.charCodeAt(r+1)]<<4|i[t.charCodeAt(r+2)]>>2,u[p++]=e>>8&255,u[p++]=255&e),u},e.fromByteArray=function(t){for(var e,i=t.length,o=i%3,n=[],s=16383,a=0,h=i-o;a<h;a+=s)n.push(c(t,a,a+s>h?h:a+s));return 1===o?n.push(r[(e=t[i-1])>>2]+r[e<<4&63]+"=="):2===o&&n.push(r[(e=(t[i-2]<<8)+t[i-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),n.join("")};for(var r=[],i=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=n.length;s<a;++s)r[s]=n[s],i[n.charCodeAt(s)]=s;function h(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,i){for(var o,n=[],s=e;s<i;s+=3)n.push(r[(o=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return n.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,i,o){var n,s,a=8*o-i-1,h=(1<<a)-1,c=h>>1,u=-7,p=r?o-1:0,l=r?-1:1,m=t[e+p];for(p+=l,n=m&(1<<-u)-1,m>>=-u,u+=a;u>0;n=256*n+t[e+p],p+=l,u-=8);for(s=n&(1<<-u)-1,n>>=-u,u+=i;u>0;s=256*s+t[e+p],p+=l,u-=8);if(0===n)n=1-c;else{if(n===h)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,i),n-=c}return(m?-1:1)*s*Math.pow(2,n-i)},e.write=function(t,e,r,i,o,n){var s,a,h,c=8*n-o-1,u=(1<<c)-1,p=u>>1,l=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:n-1,g=i?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),(e+=s+p>=1?l/h:l*Math.pow(2,1-p))*h>=2&&(s++,h/=2),s+p>=u?(a=0,s=u):s+p>=1?(a=(e*h-1)*Math.pow(2,o),s+=p):(a=e*Math.pow(2,p-1)*Math.pow(2,o),s=0));o>=8;t[r+m]=255&a,m+=g,a/=256,o-=8);for(s=s<<o|a,c+=o;c>0;t[r+m]=255&s,m+=g,s/=256,c-=8);t[r+m-g]|=128*d}},function(t){var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=t.jws,r=t.KeyUtil,o=t.X509,n=t.crypto,s=t.hextob64u,a=t.b64tohex,h=t.AllowedSigningAlgs;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.parseJwt=function(t){i.Log.debug("JoseUtil.parseJwt");try{var r=e.JWS.parse(t);return{header:r.headerObj,payload:r.payloadObj}}catch(t){i.Log.error(t)}},t.validateJwt=function(e,n,s,h,c,u,p){i.Log.debug("JoseUtil.validateJwt");try{if("RSA"===n.kty)if(n.e&&n.n)n=r.getKey(n);else{if(!n.x5c||!n.x5c.length)return i.Log.error("JoseUtil.validateJwt: RSA key missing key material",n),Promise.reject(new Error("RSA key missing key material"));var l=a(n.x5c[0]);n=o.getPublicKeyFromCertHex(l)}else{if("EC"!==n.kty)return i.Log.error("JoseUtil.validateJwt: Unsupported key type",n&&n.kty),Promise.reject(new Error(n.kty));if(!(n.crv&&n.x&&n.y))return i.Log.error("JoseUtil.validateJwt: EC key missing key material",n),Promise.reject(new Error("EC key missing key material"));n=r.getKey(n)}return t._validateJwt(e,n,s,h,c,u,p)}catch(t){return i.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,r,o,n,s,a){n||(n=0),s||(s=parseInt(Date.now()/1e3));var h=t.parseJwt(e).payload;if(!h.iss)return i.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(h.iss!==r)return i.Log.error("JoseUtil._validateJwt: Invalid issuer in token",h.iss),Promise.reject(new Error("Invalid issuer in token: "+h.iss));if(!h.aud)return i.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(h.aud===o||Array.isArray(h.aud)&&h.aud.indexOf(o)>=0))return i.Log.error("JoseUtil._validateJwt: Invalid audience in token",h.aud),Promise.reject(new Error("Invalid audience in token: "+h.aud));if(h.azp&&h.azp!==o)return i.Log.error("JoseUtil._validateJwt: Invalid azp in token",h.azp),Promise.reject(new Error("Invalid azp in token: "+h.azp));if(!a){var c=s+n,u=s-n;if(!h.iat)return i.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(c<h.iat)return i.Log.error("JoseUtil._validateJwt: iat is in the future",h.iat),Promise.reject(new Error("iat is in the future: "+h.iat));if(h.nbf&&c<h.nbf)return i.Log.error("JoseUtil._validateJwt: nbf is in the future",h.nbf),Promise.reject(new Error("nbf is in the future: "+h.nbf));if(!h.exp)return i.Log.error("JoseUtil._validateJwt: exp was not provided"),Promise.reject(new Error("exp was not provided"));if(h.exp<u)return i.Log.error("JoseUtil._validateJwt: exp is in the past",h.exp),Promise.reject(new Error("exp is in the past:"+h.exp))}return Promise.resolve(h)},t._validateJwt=function(r,o,n,s,a,c,u){return t.validateJwtAttributes(r,n,s,a,c,u).then((function(t){try{return e.JWS.verify(r,o,h)?t:(i.Log.error("JoseUtil._validateJwt: signature validation failed"),Promise.reject(new Error("signature validation failed")))}catch(t){return i.Log.error(t&&t.message||t),Promise.reject(new Error("signature validation failed"))}}))},t.hashString=function(t,e){try{return n.Util.hashString(t,e)}catch(t){i.Log.error(t)}},t.hexToBase64Url=function(t){try{return s(t)}catch(t){i.Log.error(t)}},t}()};var i=r(0);t.exports=e.default},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(3);function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.SigninResponse=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#";n(this,t);var i=o.UrlUtility.parseUrlFragment(e,r);this.error=i.error,this.error_description=i.error_description,this.error_uri=i.error_uri,this.code=i.code,this.state=i.state,this.id_token=i.id_token,this.session_state=i.session_state,this.access_token=i.access_token,this.token_type=i.token_type,this.scope=i.scope,this.profile=void 0,this.expires_in=i.expires_in}return i(t,[{key:"expires_in",get:function(){if(this.expires_at){var t=parseInt(Date.now()/1e3);return this.expires_at-t}},set:function(t){var e=parseInt(t);if("number"==typeof e&&e>0){var r=parseInt(Date.now()/1e3);this.expires_at=r+e}}},{key:"expired",get:function(){var t=this.expires_in;if(void 0!==t)return t<=0}},{key:"scopes",get:function(){return(this.scope||"").split(" ")}},{key:"isOpenIdConnect",get:function(){return this.scopes.indexOf("openid")>=0||!!this.id_token}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutRequest=void 0;var i=r(0),o=r(3),n=r(9);e.SignoutRequest=function t(e){var r=e.url,s=e.id_token_hint,a=e.post_logout_redirect_uri,h=e.data,c=e.extraQueryParams,u=e.request_type;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!r)throw i.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var p in s&&(r=o.UrlUtility.addQueryParam(r,"id_token_hint",s)),a&&(r=o.UrlUtility.addQueryParam(r,"post_logout_redirect_uri",a),h&&(this.state=new n.State({data:h,request_type:u}),r=o.UrlUtility.addQueryParam(r,"state",this.state.id))),c)r=o.UrlUtility.addQueryParam(r,p,c[p]);this.url=r}},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var i=r(3);e.SignoutResponse=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var r=i.UrlUtility.parseUrlFragment(e,"?");this.error=r.error,this.error_description=r.error_description,this.error_uri=r.error_uri,this.state=r.state}},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.InMemoryWebStorage=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0);e.InMemoryWebStorage=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._data={}}return t.prototype.getItem=function(t){return o.Log.debug("InMemoryWebStorage.getItem",t),this._data[t]},t.prototype.setItem=function(t,e){o.Log.debug("InMemoryWebStorage.setItem",t),this._data[t]=e},t.prototype.removeItem=function(t){o.Log.debug("InMemoryWebStorage.removeItem",t),delete this._data[t]},t.prototype.key=function(t){return Object.getOwnPropertyNames(this._data)[t]},i(t,[{key:"length",get:function(){return Object.getOwnPropertyNames(this._data).length}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserManager=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(10),s=r(39),a=r(15),h=r(45),c=r(47),u=r(18),p=r(8),l=r(20),m=r(11),g=r(4);function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.UserManager=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.SilentRenewService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l.TokenRevocationClient,p=arguments.length>4&&void 0!==arguments[4]?arguments[4]:m.TokenClient,w=arguments.length>5&&void 0!==arguments[5]?arguments[5]:g.JoseUtil;d(this,e),r instanceof s.UserManagerSettings||(r=new s.UserManagerSettings(r));var v=f(this,t.call(this,r));return v._events=new h.UserManagerEvents(r),v._silentRenewService=new i(v),v.settings.automaticSilentRenew&&(o.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),v.startSilentRenew()),v.settings.monitorSession&&(o.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),v._sessionMonitor=new n(v)),v._tokenRevocationClient=new a(v._settings),v._tokenClient=new p(v._settings),v._joseUtil=w,v}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.getUser=function(){var t=this;return this._loadUser().then((function(e){return e?(o.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(o.Log.info("UserManager.getUser: user not found in storage"),null)}))},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then((function(){o.Log.info("UserManager.removeUser: user removed from storage"),t._events.unload()}))},e.prototype.signinRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:r";var e={useReplaceToNavigate:t.useReplaceToNavigate};return this._signinStart(t,this._redirectNavigator,e).then((function(){o.Log.info("UserManager.signinRedirect: successful")}))},e.prototype.signinRedirectCallback=function(t){return this._signinEnd(t||this._redirectNavigator.url).then((function(t){return t.profile&&t.profile.sub?o.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):o.Log.info("UserManager.signinRedirectCallback: no sub"),t}))},e.prototype.signinPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="si:p";var e=t.redirect_uri||this.settings.popup_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.display="popup",this._signin(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then((function(t){return t&&(t.profile&&t.profile.sub?o.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):o.Log.info("UserManager.signinPopup: no sub")),t}))):(o.Log.error("UserManager.signinPopup: No popup_redirect_uri or redirect_uri configured"),Promise.reject(new Error("No popup_redirect_uri or redirect_uri configured")))},e.prototype.signinPopupCallback=function(t){return this._signinCallback(t,this._popupNavigator).then((function(t){return t&&(t.profile&&t.profile.sub?o.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):o.Log.info("UserManager.signinPopupCallback: no sub")),t})).catch((function(t){o.Log.error(t.message)}))},e.prototype.signinSilent=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=Object.assign({},e),this._loadUser().then((function(r){return r&&r.refresh_token?(e.refresh_token=r.refresh_token,t._useRefreshToken(e)):(e.request_type="si:s",e.id_token_hint=e.id_token_hint||t.settings.includeIdTokenInSilentRenew&&r&&r.id_token,r&&t._settings.validateSubOnSilentRenew&&(o.Log.debug("UserManager.signinSilent, subject prior to silent renew: ",r.profile.sub),e.current_sub=r.profile.sub),t._signinSilentIframe(e))}))},e.prototype._useRefreshToken=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._tokenClient.exchangeRefreshToken(e).then((function(e){return e?e.access_token?t._loadUser().then((function(r){if(r){var i=Promise.resolve();return e.id_token&&(i=t._validateIdTokenFromTokenRefreshToken(r.profile,e.id_token)),i.then((function(){return o.Log.debug("UserManager._useRefreshToken: refresh token response success"),r.id_token=e.id_token||r.id_token,r.access_token=e.access_token,r.refresh_token=e.refresh_token||r.refresh_token,r.expires_in=e.expires_in,t.storeUser(r).then((function(){return t._events.load(r),r}))}))}return null})):(o.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(o.Log.error("UserManager._useRefreshToken: No response returned from token endpoint"),Promise.reject("No response returned from token endpoint"))}))},e.prototype._validateIdTokenFromTokenRefreshToken=function(t,e){var r=this;return this._metadataService.getIssuer().then((function(i){return r.settings.getEpochTime().then((function(n){return r._joseUtil.validateJwtAttributes(e,i,r._settings.client_id,r._settings.clockSkew,n).then((function(e){return e?e.sub!==t.sub?(o.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: sub in id_token does not match current sub"),Promise.reject(new Error("sub in id_token does not match current sub"))):e.auth_time&&e.auth_time!==t.auth_time?(o.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: auth_time in id_token does not match original auth_time"),Promise.reject(new Error("auth_time in id_token does not match original auth_time"))):e.azp&&e.azp!==t.azp?(o.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp in id_token does not match original azp"),Promise.reject(new Error("azp in id_token does not match original azp"))):!e.azp&&t.azp?(o.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: azp not in id_token, but present in original id_token"),Promise.reject(new Error("azp not in id_token, but present in original id_token"))):void 0:(o.Log.error("UserManager._validateIdTokenFromTokenRefreshToken: Failed to validate id_token"),Promise.reject(new Error("Failed to validate id_token")))}))}))}))},e.prototype._signinSilentIframe=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return e?(t.redirect_uri=e,t.prompt=t.prompt||"none",this._signin(t,this._iframeNavigator,{startUrl:e,silentRequestTimeout:t.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(t){return t&&(t.profile&&t.profile.sub?o.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):o.Log.info("UserManager.signinSilent: no sub")),t}))):(o.Log.error("UserManager.signinSilent: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype.signinSilentCallback=function(t){return this._signinCallback(t,this._iframeNavigator).then((function(t){return t&&(t.profile&&t.profile.sub?o.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):o.Log.info("UserManager.signinSilentCallback: no sub")),t}))},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then((function(r){var i=r.state;return"si:r"===i.request_type?e.signinRedirectCallback(t):"si:p"===i.request_type?e.signinPopupCallback(t):"si:s"===i.request_type?e.signinSilentCallback(t):Promise.reject(new Error("invalid response_type in state"))}))},e.prototype.signoutCallback=function(t,e){var r=this;return this.readSignoutResponseState(t).then((function(i){var o=i.state,n=i.response;return o?"so:r"===o.request_type?r.signoutRedirectCallback(t):"so:p"===o.request_type?r.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):n}))},e.prototype.querySessionStatus=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(e=Object.assign({},e)).request_type="si:s";var r=e.redirect_uri||this.settings.silent_redirect_uri||this.settings.redirect_uri;return r?(e.redirect_uri=r,e.prompt="none",e.response_type=e.response_type||this.settings.query_status_response_type,e.scope=e.scope||"openid",e.skipUserInfo=!0,this._signinStart(e,this._iframeNavigator,{startUrl:r,silentRequestTimeout:e.silentRequestTimeout||this.settings.silentRequestTimeout}).then((function(e){return t.processSigninResponse(e.url).then((function(t){if(o.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return o.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};o.Log.info("querySessionStatus successful, user not authenticated")})).catch((function(e){if(e.session_state&&t.settings.monitorAnonymousSession&&("login_required"==e.message||"consent_required"==e.message||"interaction_required"==e.message||"account_selection_required"==e.message))return o.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e}))}))):(o.Log.error("UserManager.querySessionStatus: No silent_redirect_uri configured"),Promise.reject(new Error("No silent_redirect_uri configured")))},e.prototype._signin=function(t,e){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,i).then((function(e){return r._signinEnd(e.url,t)}))},e.prototype._signinStart=function(t,e){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(i).then((function(e){return o.Log.debug("UserManager._signinStart: got navigator window handle"),r.createSigninRequest(t).then((function(t){return o.Log.debug("UserManager._signinStart: got signin request"),i.url=t.url,i.id=t.state.id,e.navigate(i)})).catch((function(t){throw e.close&&(o.Log.debug("UserManager._signinStart: Error after preparing navigator, closing navigator window"),e.close()),t}))}))},e.prototype._signinEnd=function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.processSigninResponse(t).then((function(t){o.Log.debug("UserManager._signinEnd: got signin response");var i=new a.User(t);if(r.current_sub){if(r.current_sub!==i.profile.sub)return o.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",i.profile.sub),Promise.reject(new Error("login_required"));o.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(i).then((function(){return o.Log.debug("UserManager._signinEnd: user stored"),e._events.load(i),i}))}))},e.prototype._signinCallback=function(t,e){o.Log.debug("UserManager._signinCallback");var r="query"===this._settings.response_mode||!this._settings.response_mode&&p.SigninRequest.isCode(this._settings.response_type)?"?":"#";return e.callback(t,void 0,r)},e.prototype.signoutRedirect=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:r";var e=t.post_logout_redirect_uri||this.settings.post_logout_redirect_uri;e&&(t.post_logout_redirect_uri=e);var r={useReplaceToNavigate:t.useReplaceToNavigate};return this._signoutStart(t,this._redirectNavigator,r).then((function(){o.Log.info("UserManager.signoutRedirect: successful")}))},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then((function(t){return o.Log.info("UserManager.signoutRedirectCallback: successful"),t}))},e.prototype.signoutPopup=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(t=Object.assign({},t)).request_type="so:p";var e=t.post_logout_redirect_uri||this.settings.popup_post_logout_redirect_uri||this.settings.post_logout_redirect_uri;return t.post_logout_redirect_uri=e,t.display="popup",t.post_logout_redirect_uri&&(t.state=t.state||{}),this._signout(t,this._popupNavigator,{startUrl:e,popupWindowFeatures:t.popupWindowFeatures||this.settings.popupWindowFeatures,popupWindowTarget:t.popupWindowTarget||this.settings.popupWindowTarget}).then((function(){o.Log.info("UserManager.signoutPopup: successful")}))},e.prototype.signoutPopupCallback=function(t,e){return void 0===e&&"boolean"==typeof t&&(e=t,t=null),this._popupNavigator.callback(t,e,"?").then((function(){o.Log.info("UserManager.signoutPopupCallback: successful")}))},e.prototype._signout=function(t,e){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,i).then((function(t){return r._signoutEnd(t.url)}))},e.prototype._signoutStart=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this,r=arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.prepare(i).then((function(r){return o.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then((function(n){return o.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(n):Promise.resolve()).then((function(){var s=t.id_token_hint||n&&n.id_token;return s&&(o.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=s),e.removeUser().then((function(){return o.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then((function(t){return o.Log.debug("UserManager._signoutStart: got signout request"),i.url=t.url,t.state&&(i.id=t.state.id),r.navigate(i)}))}))}))})).catch((function(t){throw r.close&&(o.Log.debug("UserManager._signoutStart: Error after preparing navigator, closing navigator window"),r.close()),t}))}))},e.prototype._signoutEnd=function(t){return this.processSignoutResponse(t).then((function(t){return o.Log.debug("UserManager._signoutEnd: got signout response"),t}))},e.prototype.revokeAccessToken=function(){var t=this;return this._loadUser().then((function(e){return t._revokeInternal(e,!0).then((function(r){if(r)return o.Log.debug("UserManager.revokeAccessToken: removing token properties from user and re-storing"),e.access_token=null,e.refresh_token=null,e.expires_at=null,e.token_type=null,t.storeUser(e).then((function(){o.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)}))}))})).then((function(){o.Log.info("UserManager.revokeAccessToken: access token revoked successfully")}))},e.prototype._revokeInternal=function(t,e){var r=this;if(t){var i=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then((function(t){return r._revokeRefreshTokenInternal(i,e).then((function(e){return t||e||o.Log.debug("UserManager.revokeAccessToken: no need to revoke due to no token(s), or JWT format"),t||e}))}))}return Promise.resolve(!1)},e.prototype._revokeAccessTokenInternal=function(t,e){return!t||t.indexOf(".")>=0?Promise.resolve(!1):this._tokenRevocationClient.revoke(t,e).then((function(){return!0}))},e.prototype._revokeRefreshTokenInternal=function(t,e){return t?this._tokenRevocationClient.revoke(t,e,"refresh_token").then((function(){return!0})):Promise.resolve(!1)},e.prototype.startSilentRenew=function(){this._silentRenewService.start()},e.prototype.stopSilentRenew=function(){this._silentRenewService.stop()},e.prototype._loadUser=function(){return this._userStore.get(this._userStoreKey).then((function(t){return t?(o.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(t)):(o.Log.debug("UserManager._loadUser: no user storageString"),null)}))},e.prototype.storeUser=function(t){if(t){o.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return o.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},i(e,[{key:"_redirectNavigator",get:function(){return this.settings.redirectNavigator}},{key:"_popupNavigator",get:function(){return this.settings.popupNavigator}},{key:"_iframeNavigator",get:function(){return this.settings.iframeNavigator}},{key:"_userStore",get:function(){return this.settings.userStore}},{key:"events",get:function(){return this._events}},{key:"_userStoreKey",get:function(){return"user:"+this.settings.authority+":"+this.settings.client_id}}]),e}(n.OidcClient)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=(r(0),r(5)),n=r(40),s=r(41),a=r(43),h=r(6),c=r(1),u=r(8);function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.UserManagerSettings=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.popup_redirect_uri,o=r.popup_post_logout_redirect_uri,m=r.popupWindowFeatures,g=r.popupWindowTarget,d=r.silent_redirect_uri,f=r.silentRequestTimeout,w=r.automaticSilentRenew,v=void 0!==w&&w,y=r.validateSubOnSilentRenew,b=void 0!==y&&y,S=r.includeIdTokenInSilentRenew,A=void 0===S||S,E=r.monitorSession,C=void 0===E||E,P=r.monitorAnonymousSession,F=void 0!==P&&P,k=r.checkSessionInterval,T=void 0===k?2e3:k,R=r.stopCheckSessionOnError,O=void 0===R||R,D=r.query_status_response_type,M=r.revokeAccessTokenOnSignout,I=void 0!==M&&M,x=r.accessTokenExpiringNotificationTime,_=void 0===x?60:x,N=r.redirectNavigator,j=void 0===N?new n.RedirectNavigator:N,B=r.popupNavigator,U=void 0===B?new s.PopupNavigator:B,L=r.iframeNavigator,H=void 0===L?new a.IFrameNavigator:L,W=r.userStore,V=void 0===W?new h.WebStorageStateStore({store:c.Global.sessionStorage}):W;p(this,e);var q=l(this,t.call(this,arguments[0]));return q._popup_redirect_uri=i,q._popup_post_logout_redirect_uri=o,q._popupWindowFeatures=m,q._popupWindowTarget=g,q._silent_redirect_uri=d,q._silentRequestTimeout=f,q._automaticSilentRenew=v,q._validateSubOnSilentRenew=b,q._includeIdTokenInSilentRenew=A,q._accessTokenExpiringNotificationTime=_,q._monitorSession=C,q._monitorAnonymousSession=F,q._checkSessionInterval=T,q._stopCheckSessionOnError=O,q._query_status_response_type=D||(arguments[0]&&arguments[0].response_type?u.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),q._revokeAccessTokenOnSignout=I,q._redirectNavigator=j,q._popupNavigator=U,q._iframeNavigator=H,q._userStore=V,q}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"popup_redirect_uri",get:function(){return this._popup_redirect_uri}},{key:"popup_post_logout_redirect_uri",get:function(){return this._popup_post_logout_redirect_uri}},{key:"popupWindowFeatures",get:function(){return this._popupWindowFeatures}},{key:"popupWindowTarget",get:function(){return this._popupWindowTarget}},{key:"silent_redirect_uri",get:function(){return this._silent_redirect_uri}},{key:"silentRequestTimeout",get:function(){return this._silentRequestTimeout}},{key:"automaticSilentRenew",get:function(){return this._automaticSilentRenew}},{key:"validateSubOnSilentRenew",get:function(){return this._validateSubOnSilentRenew}},{key:"includeIdTokenInSilentRenew",get:function(){return this._includeIdTokenInSilentRenew}},{key:"accessTokenExpiringNotificationTime",get:function(){return this._accessTokenExpiringNotificationTime}},{key:"monitorSession",get:function(){return this._monitorSession}},{key:"monitorAnonymousSession",get:function(){return this._monitorAnonymousSession}},{key:"checkSessionInterval",get:function(){return this._checkSessionInterval}},{key:"stopCheckSessionOnError",get:function(){return this._stopCheckSessionOnError}},{key:"query_status_response_type",get:function(){return this._query_status_response_type}},{key:"revokeAccessTokenOnSignout",get:function(){return this._revokeAccessTokenOnSignout}},{key:"redirectNavigator",get:function(){return this._redirectNavigator}},{key:"popupNavigator",get:function(){return this._popupNavigator}},{key:"iframeNavigator",get:function(){return this._iframeNavigator}},{key:"userStore",get:function(){return this._userStore}}]),e}(o.OidcClientSettings)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0);e.RedirectNavigator=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.prepare=function(){return Promise.resolve(this)},t.prototype.navigate=function(t){return t&&t.url?(t.useReplaceToNavigate?window.location.replace(t.url):window.location=t.url,Promise.resolve()):(o.Log.error("RedirectNavigator.navigate: No url provided"),Promise.reject(new Error("No url provided")))},i(t,[{key:"url",get:function(){return window.location.href}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.PopupNavigator=void 0;var i=r(0),o=r(42);e.PopupNavigator=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.prepare=function(t){var e=new o.PopupWindow(t);return Promise.resolve(e)},t.prototype.callback=function(t,e,r){i.Log.debug("PopupNavigator.callback");try{return o.PopupWindow.notifyOpener(t,e,r),Promise.resolve()}catch(t){return Promise.reject(t)}},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.PopupWindow=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(3);e.PopupWindow=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._promise=new Promise((function(t,e){r._resolve=t,r._reject=e})),this._popup=window.open("",e.popupWindowTarget||"_blank",e.popupWindowFeatures||"location=no,toolbar=no,width=500,height=500,left=100,top=100;"),this._popup&&(o.Log.debug("PopupWindow.ctor: popup successfully created"),this._checkForPopupClosedTimer=window.setInterval(this._checkForPopupClosed.bind(this),500))}return t.prototype.navigate=function(t){return this._popup?t&&t.url?(o.Log.debug("PopupWindow.navigate: Setting URL in popup"),this._id=t.id,this._id&&(window["popupCallback_"+t.id]=this._callback.bind(this)),this._popup.focus(),this._popup.window.location=t.url):(this._error("PopupWindow.navigate: no url provided"),this._error("No url provided")):this._error("PopupWindow.navigate: Error opening popup window"),this.promise},t.prototype._success=function(t){o.Log.debug("PopupWindow.callback: Successful response from popup window"),this._cleanup(),this._resolve(t)},t.prototype._error=function(t){o.Log.error("PopupWindow.error: ",t),this._cleanup(),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup(!1)},t.prototype._cleanup=function(t){o.Log.debug("PopupWindow.cleanup"),window.clearInterval(this._checkForPopupClosedTimer),this._checkForPopupClosedTimer=null,delete window["popupCallback_"+this._id],this._popup&&!t&&this._popup.close(),this._popup=null},t.prototype._checkForPopupClosed=function(){this._popup&&!this._popup.closed||this._error("Popup window closed")},t.prototype._callback=function(t,e){this._cleanup(e),t?(o.Log.debug("PopupWindow.callback success"),this._success({url:t})):(o.Log.debug("PopupWindow.callback: Invalid response from popup"),this._error("Invalid response from popup"))},t.notifyOpener=function(t,e,r){if(window.opener){if(t=t||window.location.href){var i=n.UrlUtility.parseUrlFragment(t,r);if(i.state){var s=window.opener["popupCallback_"+i.state];s?(o.Log.debug("PopupWindow.notifyOpener: passing url message to opener"),s(t,e)):o.Log.warn("PopupWindow.notifyOpener: no matching callback found on opener")}else o.Log.warn("PopupWindow.notifyOpener: no state found in response url")}}else o.Log.warn("PopupWindow.notifyOpener: no window.opener. Can't complete notification.")},i(t,[{key:"promise",get:function(){return this._promise}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.IFrameNavigator=void 0;var i=r(0),o=r(44);e.IFrameNavigator=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.prepare=function(t){var e=new o.IFrameWindow(t);return Promise.resolve(e)},t.prototype.callback=function(t){i.Log.debug("IFrameNavigator.callback");try{return o.IFrameWindow.notifyParent(t),Promise.resolve()}catch(t){return Promise.reject(t)}},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.IFrameWindow=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0);e.IFrameWindow=function(){function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._promise=new Promise((function(t,r){e._resolve=t,e._reject=r})),this._boundMessageEvent=this._message.bind(this),window.addEventListener("message",this._boundMessageEvent,!1),this._frame=window.document.createElement("iframe"),this._frame.style.visibility="hidden",this._frame.style.position="absolute",this._frame.width=0,this._frame.height=0,window.document.body.appendChild(this._frame)}return t.prototype.navigate=function(t){if(t&&t.url){var e=t.silentRequestTimeout||1e4;o.Log.debug("IFrameWindow.navigate: Using timeout of:",e),this._timer=window.setTimeout(this._timeout.bind(this),e),this._frame.src=t.url}else this._error("No url provided");return this.promise},t.prototype._success=function(t){this._cleanup(),o.Log.debug("IFrameWindow: Successful response from frame window"),this._resolve(t)},t.prototype._error=function(t){this._cleanup(),o.Log.error(t),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup()},t.prototype._cleanup=function(){this._frame&&(o.Log.debug("IFrameWindow: cleanup"),window.removeEventListener("message",this._boundMessageEvent,!1),window.clearTimeout(this._timer),window.document.body.removeChild(this._frame),this._timer=null,this._frame=null,this._boundMessageEvent=null)},t.prototype._timeout=function(){o.Log.debug("IFrameWindow.timeout"),this._error("Frame window timed out")},t.prototype._message=function(t){if(o.Log.debug("IFrameWindow.message"),this._timer&&t.origin===this._origin&&t.source===this._frame.contentWindow&&"string"==typeof t.data&&(t.data.startsWith("http://")||t.data.startsWith("https://"))){var e=t.data;e?this._success({url:e}):this._error("Invalid response from frame")}},t.notifyParent=function(t){o.Log.debug("IFrameWindow.notifyParent"),(t=t||window.location.href)&&(o.Log.debug("IFrameWindow.notifyParent: posting url message to parent"),window.parent.postMessage(t,location.protocol+"//"+location.host))},i(t,[{key:"promise",get:function(){return this._promise}},{key:"_origin",get:function(){return location.protocol+"//"+location.host}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerEvents=void 0;var i=r(0),o=r(16),n=r(17);e.UserManagerEvents=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,r));return i._userLoaded=new n.Event("User loaded"),i._userUnloaded=new n.Event("User unloaded"),i._silentRenewError=new n.Event("Silent renew error"),i._userSignedIn=new n.Event("User signed in"),i._userSignedOut=new n.Event("User signed out"),i._userSessionChanged=new n.Event("User session changed"),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.load=function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];i.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),r&&this._userLoaded.raise(e)},e.prototype.unload=function(){i.Log.debug("UserManagerEvents.unload"),t.prototype.unload.call(this),this._userUnloaded.raise()},e.prototype.addUserLoaded=function(t){this._userLoaded.addHandler(t)},e.prototype.removeUserLoaded=function(t){this._userLoaded.removeHandler(t)},e.prototype.addUserUnloaded=function(t){this._userUnloaded.addHandler(t)},e.prototype.removeUserUnloaded=function(t){this._userUnloaded.removeHandler(t)},e.prototype.addSilentRenewError=function(t){this._silentRenewError.addHandler(t)},e.prototype.removeSilentRenewError=function(t){this._silentRenewError.removeHandler(t)},e.prototype._raiseSilentRenewError=function(t){i.Log.debug("UserManagerEvents._raiseSilentRenewError",t.message),this._silentRenewError.raise(t)},e.prototype.addUserSignedIn=function(t){this._userSignedIn.addHandler(t)},e.prototype.removeUserSignedIn=function(t){this._userSignedIn.removeHandler(t)},e.prototype._raiseUserSignedIn=function(){i.Log.debug("UserManagerEvents._raiseUserSignedIn"),this._userSignedIn.raise()},e.prototype.addUserSignedOut=function(t){this._userSignedOut.addHandler(t)},e.prototype.removeUserSignedOut=function(t){this._userSignedOut.removeHandler(t)},e.prototype._raiseUserSignedOut=function(){i.Log.debug("UserManagerEvents._raiseUserSignedOut"),this._userSignedOut.raise()},e.prototype.addUserSessionChanged=function(t){this._userSessionChanged.addHandler(t)},e.prototype.removeUserSessionChanged=function(t){this._userSessionChanged.removeHandler(t)},e.prototype._raiseUserSessionChanged=function(){i.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(o.AccessTokenEvents)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var i=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}}(),o=r(0),n=r(1),s=r(17);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}e.Timer=function(t){function e(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.Global.timer,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a(this,e);var s=h(this,t.call(this,r));return s._timer=i,s._nowFunc=o||function(){return Date.now()/1e3},s}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.init=function(t){t<=0&&(t=1),t=parseInt(t);var e=this.now+t;if(this.expiration===e&&this._timerHandle)o.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),o.Log.debug("Timer.init timer "+this._name+" for duration:",t),this._expiration=e;var r=5;t<r&&(r=t),this._timerHandle=this._timer.setInterval(this._callback.bind(this),1e3*r)}},e.prototype.cancel=function(){this._timerHandle&&(o.Log.debug("Timer.cancel: ",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null)},e.prototype._callback=function(){o.Log.debug("Timer.callback; "+this._name+" timer expires in:",this._expiration-this.now),this._expiration<=this.now&&(this.cancel(),t.prototype.raise.call(this))},i(e,[{key:"now",get:function(){return parseInt(this._nowFunc())}},{key:"expiration",get:function(){return this._expiration}}]),e}(s.Event)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SilentRenewService=void 0;var i=r(0);e.SilentRenewService=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._userManager=e}return t.prototype.start=function(){this._callback||(this._callback=this._tokenExpiring.bind(this),this._userManager.events.addAccessTokenExpiring(this._callback),this._userManager.getUser().then((function(){})).catch((function(t){i.Log.error("SilentRenewService.start: Error from getUser:",t.message)})))},t.prototype.stop=function(){this._callback&&(this._userManager.events.removeAccessTokenExpiring(this._callback),delete this._callback)},t.prototype._tokenExpiring=function(){var t=this;this._userManager.signinSilent().then((function(){i.Log.debug("SilentRenewService._tokenExpiring: Silent token renewal successful")}),(function(e){i.Log.error("SilentRenewService._tokenExpiring: Error from signinSilent:",e.message),t._userManager.events._raiseSilentRenewError(e)}))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupNavigator=void 0;var i=r(21);e.CordovaPopupNavigator=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.prepare=function(t){var e=new i.CordovaPopupWindow(t);return Promise.resolve(e)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaIFrameNavigator=void 0;var i=r(21);e.CordovaIFrameNavigator=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.prototype.prepare=function(t){t.popupWindowFeatures="hidden=yes";var e=new i.CordovaPopupWindow(t);return Promise.resolve(e)},t}()},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Version="1.11.6"}])}))}}),Zi=b({"../node_modules/@inrupt/oidc-client-ext/dist/index.js"(t){var e=Yi(),r=Xi();function i(t){return void 0!==t.error_description&&"string"==typeof t.error_description}function o(t,e){if(void 0!==(o=t).error&&"string"==typeof o.error)throw new r.OidcProviderError(`Token endpoint returned error [${t.error}]${i(t)?`: ${t.error_description}`:""}${function(t){return void 0!==t.error_uri&&"string"==typeof t.error_uri}(t)?` (see ${t.error_uri})`:""}`,t.error,i(t)?t.error_description:void 0);var o;if(!function(t){return void 0!==t.access_token&&"string"==typeof t.access_token}(t))throw new r.InvalidResponseError(["access_token"]);if(!function(t){return void 0!==t.id_token&&"string"==typeof t.id_token}(t))throw new r.InvalidResponseError(["id_token"]);if(!function(t){return void 0!==t.token_type&&"string"==typeof t.token_type}(t))throw new r.InvalidResponseError(["token_type"]);if(!function(t){return void 0===t.expires_in||"number"==typeof t.expires_in}(t))throw new r.InvalidResponseError(["expires_in"]);if(!e&&"bearer"!==t.token_type.toLowerCase())throw new Error(`Invalid token endpoint response: requested a [Bearer] token, but got a 'token_type' value of [${t.token_type}].`);return t}Object.defineProperty(t,"CordovaIFrameNavigator",{enumerable:!0,get:function(){return e.CordovaIFrameNavigator}}),Object.defineProperty(t,"CordovaPopupNavigator",{enumerable:!0,get:function(){return e.CordovaPopupNavigator}}),Object.defineProperty(t,"InMemoryWebStorage",{enumerable:!0,get:function(){return e.InMemoryWebStorage}}),Object.defineProperty(t,"Log",{enumerable:!0,get:function(){return e.Log}}),Object.defineProperty(t,"OidcClient",{enumerable:!0,get:function(){return e.OidcClient}}),Object.defineProperty(t,"SessionMonitor",{enumerable:!0,get:function(){return e.SessionMonitor}}),Object.defineProperty(t,"User",{enumerable:!0,get:function(){return e.User}}),Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return e.UserManager}}),Object.defineProperty(t,"Version",{enumerable:!0,get:function(){return e.Version}}),Object.defineProperty(t,"WebStorageStateStore",{enumerable:!0,get:function(){return e.WebStorageStateStore}}),t.clearOidcPersistentStorage=async function(){const t=new e.OidcClient({response_mode:"query"});await t.clearStaleState(new e.WebStorageStateStore({}));const r=window.localStorage,i=[];for(let t=0;t<=r.length;t+=1){const e=r.key(t);e&&(e.match(/^oidc\..+$/)||e.match(/^solidClientAuthenticationUser:.+$/))&&i.push(e)}i.forEach((t=>r.removeItem(t)))},t.getBearerToken=async function(t){let i;try{const o=new e.OidcClient({response_mode:"query",loadUserInfo:!1});if(i=await o.processSigninResponse(t),void 0===o.settings.metadata)throw new Error("Cannot retrieve issuer metadata from client information in storage.");if(void 0===o.settings.metadata.jwks_uri)throw new Error("Missing some issuer metadata from client information in storage: 'jwks_uri' is undefined");if(void 0===o.settings.metadata.issuer)throw new Error("Missing some issuer metadata from client information in storage: 'issuer' is undefined");if(void 0===o.settings.client_id)throw new Error("Missing some client information in storage: 'client_id' is undefined");const n=await r.getWebidFromTokenPayload(i.id_token,o.settings.metadata.jwks_uri,o.settings.metadata.issuer,o.settings.client_id);return{accessToken:i.access_token,idToken:i.id_token,webId:n,refreshToken:i.refresh_token}}catch(e){throw new Error(`Problem handling Auth Code Grant (Flow) redirect - URL [${t}]: ${e}`)}},t.getDpopToken=async function(t,e,i){return async function(t,e,i,n){!function(t,e){if(e.grantType&&(!t.grantTypesSupported||!t.grantTypesSupported.includes(e.grantType)))throw new Error(`The issuer [${t.issuer}] does not support the [${e.grantType}] grant`);if(!t.tokenEndpoint)throw new Error(`This issuer [${t.issuer}] does not have a token endpoint`)}(t,i);const s={"content-type":"application/x-www-form-urlencoded"};let a;n&&(a=await r.generateDpopKeyPair(),s.DPoP=await r.createDpopHeader(t.tokenEndpoint,"POST",a)),e.clientSecret&&(s.Authorization=`Basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`);const h={method:"POST",headers:s,body:new URLSearchParams({grant_type:i.grantType,redirect_uri:i.redirectUrl,code:i.code,code_verifier:i.codeVerifier,client_id:e.clientId}).toString()},c=await await fetch(t.tokenEndpoint,h),u=o(await c.json(),n),p=await r.getWebidFromTokenPayload(u.id_token,t.jwksUri,t.issuer,e.clientId);return{accessToken:u.access_token,idToken:u.id_token,refreshToken:(l=u,void 0!==l.refresh_token&&"string"==typeof l.refresh_token?u.refresh_token:void 0),webId:p,dpopKey:a,expiresIn:u.expires_in};var l}(t,e,i,!0)},t.refresh=async function(t,e,i,n){if(void 0===i.clientId)throw new Error("No client ID available when trying to refresh the access token.");const s={grant_type:"refresh_token",refresh_token:t,scope:r.DEFAULT_SCOPES};let a={};void 0!==n&&(a={DPoP:await r.createDpopHeader(e.tokenEndpoint,"POST",n)});let h={};void 0!==i.clientSecret?h={Authorization:`Basic ${btoa(`${i.clientId}:${i.clientSecret}`)}`}:(t=>{try{return new URL(t),!0}catch(t){return!1}})(i.clientId)&&(s.client_id=i.clientId);const c=await fetch(e.tokenEndpoint,{method:"POST",body:new URLSearchParams(s).toString(),headers:{...a,...h,"Content-Type":"application/x-www-form-urlencoded"}});let u;try{u=await c.json()}catch(t){throw new Error(`The token endpoint of issuer ${e.issuer} returned a malformed response.`)}const p=o(u,void 0!==n),l=await r.getWebidFromTokenPayload(p.id_token,e.jwksUri,e.issuer,i.clientId);return{accessToken:p.access_token,idToken:p.id_token,refreshToken:"string"==typeof p.refresh_token?p.refresh_token:void 0,webId:l,dpopKey:n,expiresIn:p.expires_in}},t.registerClient=async function(t,e){var i;if(!e.registrationEndpoint)throw new Error("Dynamic Registration could not be completed because the issuer has no registration endpoint.");if(!Array.isArray(e.idTokenSigningAlgValuesSupported))throw new Error("The OIDC issuer discovery profile is missing the 'id_token_signing_alg_values_supported' value, which is mandatory.");const o=r.determineSigningAlg(e.idTokenSigningAlgValuesSupported,r.PREFERRED_SIGNING_ALG),n={client_name:t.clientName,application_type:"web",redirect_uris:[null===(i=t.redirectUrl)||void 0===i?void 0:i.toString()],subject_type:"public",token_endpoint_auth_method:"client_secret_basic",id_token_signed_response_alg:o,grant_types:["authorization_code","refresh_token"]},s=await fetch(e.registrationEndpoint.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(s.ok){const e=await s.json();return function(t,e){if(void 0===t.client_id)throw new Error(`Dynamic client registration failed: no client_id has been found on ${JSON.stringify(t)}`);if(e.redirectUrl&&(void 0===t.redirect_uris||t.redirect_uris[0]!==e.redirectUrl.toString()))throw new Error(`Dynamic client registration failed: the returned redirect URIs ${JSON.stringify(t.redirect_uris)} don't match the provided ${JSON.stringify([e.redirectUrl.toString()])}`)}(e,t),{clientId:e.client_id,clientSecret:e.client_secret,idTokenSignedResponseAlg:e.id_token_signed_response_alg,clientType:"dynamic"}}throw 400===s.status&&function(t,e){var r,i,o,n;if("invalid_redirect_uri"===t.error)throw new Error(`Dynamic client registration failed: the provided redirect uri [${null===(r=e.redirectUrl)||void 0===r?void 0:r.toString()}] is invalid - ${null!==(i=t.error_description)&&void 0!==i?i:""}`);if("invalid_client_metadata"===t.error)throw new Error(`Dynamic client registration failed: the provided client metadata ${JSON.stringify(e)} is invalid - ${null!==(o=t.error_description)&&void 0!==o?o:""}`);throw new Error(`Dynamic client registration failed: ${t.error} - ${null!==(n=t.error_description)&&void 0!==n?n:""}`)}(await s.json(),t),new Error(`Dynamic client registration failed: the server returned ${s.status} ${s.statusText} - ${await s.text()}`)},t.removeOidcQueryParam=function(t){const e=new URL(t);return e.searchParams.delete("code"),e.searchParams.delete("state"),e.hash="",e.toString()}}}),to=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/ClientAuthentication.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi(),r=Zi(),i=(t,e)=>window.fetch(t,e);t.default=class{constructor(t,o,n,s,a){this.loginHandler=t,this.redirectHandler=o,this.logoutHandler=n,this.sessionInfoManager=s,this.issuerConfigFetcher=a,this.login=async(t,i)=>{var o,n;await this.sessionInfoManager.clear(t.sessionId);const s=null!==(o=t.redirectUrl)&&void 0!==o?o:(0,r.removeOidcQueryParam)(window.location.href);if(!(0,e.isValidRedirectUrl)(s))throw new Error(`${s} is not a valid redirect URL, it is either a malformed IRI or it includes a hash fragment.`);await this.loginHandler.handle({...t,redirectUrl:s,clientName:null!==(n=t.clientName)&&void 0!==n?n:t.clientId,eventEmitter:i})},this.fetch=i,this.logout=async t=>{await this.logoutHandler.handle(t),this.fetch=i},this.getSessionInfo=async t=>this.sessionInfoManager.get(t),this.getAllSessionInfo=async()=>this.sessionInfoManager.getAll(),this.validateCurrentSession=async t=>{const e=await this.sessionInfoManager.get(t);return void 0===e||void 0===e.clientAppId||void 0===e.issuer?null:e},this.handleIncomingRedirect=async(t,r)=>{try{const e=await this.redirectHandler.handle(t,r);return this.fetch=e.fetch.bind(window),this.cleanUrlAfterRedirect(t),{isLoggedIn:e.isLoggedIn,webId:e.webId,sessionId:e.sessionId,expirationDate:e.expirationDate}}catch(i){return this.cleanUrlAfterRedirect(t),void r.emit(e.EVENTS.ERROR,"redirect",i)}}}cleanUrlAfterRedirect(t){const e=new URL(t);e.searchParams.delete("state"),e.searchParams.delete("code"),e.searchParams.delete("id_token"),e.searchParams.delete("access_token"),e.searchParams.delete("error"),e.searchParams.delete("error_description"),e.searchParams.delete("iss"),window.history.replaceState(null,"",e.toString())}}}}),eo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/OidcLoginHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi();function r(t){return"string"==typeof t.oidcIssuer}function i(t){return"string"==typeof t.redirectUrl}t.default=class{constructor(t,e,r,i){this.storageUtility=t,this.oidcHandler=e,this.issuerConfigFetcher=r,this.clientRegistrar=i}async canHandle(t){return r(t)&&i(t)}async handle(t){if(!r(t))throw new e.ConfigurationError(`OidcLoginHandler requires an OIDC issuer: missing property 'oidcIssuer' in ${JSON.stringify(t)}`);if(!i(t))throw new e.ConfigurationError(`OidcLoginHandler requires a redirect URL: missing property 'redirectUrl' in ${JSON.stringify(t)}`);const o=await this.issuerConfigFetcher.fetchConfig(t.oidcIssuer),n=await(0,e.handleRegistration)(t,o,this.storageUtility,this.clientRegistrar),s={issuer:o.issuer,dpop:"dpop"===t.tokenType.toLowerCase(),...t,issuerConfiguration:o,client:n};return this.oidcHandler.handle(s)}}}}),ro=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/oidcHandlers/AuthorizationCodeWithPkceOidcHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi(),r=Zi();t.default=class{constructor(t,e){this.storageUtility=t,this.redirector=e}async canHandle(t){return!!(t.issuerConfiguration.grantTypesSupported&&t.issuerConfiguration.grantTypesSupported.indexOf("authorization_code")>-1)}async handle(t){var i;const o={authority:t.issuer.toString(),client_id:t.client.clientId,client_secret:t.client.clientSecret,redirect_uri:t.redirectUrl.toString(),post_logout_redirect_uri:t.redirectUrl.toString(),response_type:"code",scope:e.DEFAULT_SCOPES,filterProtocolClaims:!0,loadUserInfo:!1,code_verifier:!0,prompt:null!==(i=t.prompt)&&void 0!==i?i:"consent"},n=new r.OidcClient(o),{redirector:s}=this,a=this.storageUtility;try{const e=await n.createSigninRequest();await Promise.all([a.setForUser(e.state._id,{sessionId:t.sessionId}),a.setForUser(t.sessionId,{codeVerifier:e.state._code_verifier,issuer:t.issuer.toString(),redirectUrl:t.redirectUrl,dpop:t.dpop?"true":"false"})]),s.redirect(e.url.toString(),{handleRedirect:t.handleRedirect})}catch(t){console.error(t)}}}}}),io=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/IssuerConfigFetcher.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.WELL_KNOWN_OPENID_CONFIG=void 0;var e=Xi();t.WELL_KNOWN_OPENID_CONFIG=".well-known/openid-configuration";var r={issuer:{toKey:"issuer",convertToUrl:!0},authorization_endpoint:{toKey:"authorizationEndpoint",convertToUrl:!0},token_endpoint:{toKey:"tokenEndpoint",convertToUrl:!0},userinfo_endpoint:{toKey:"userinfoEndpoint",convertToUrl:!0},jwks_uri:{toKey:"jwksUri",convertToUrl:!0},registration_endpoint:{toKey:"registrationEndpoint",convertToUrl:!0},scopes_supported:{toKey:"scopesSupported"},response_types_supported:{toKey:"responseTypesSupported"},response_modes_supported:{toKey:"responseModesSupported"},grant_types_supported:{toKey:"grantTypesSupported"},acr_values_supported:{toKey:"acrValuesSupported"},subject_types_supported:{toKey:"subjectTypesSupported"},id_token_signing_alg_values_supported:{toKey:"idTokenSigningAlgValuesSupported"},id_token_encryption_alg_values_supported:{toKey:"idTokenEncryptionAlgValuesSupported"},id_token_encryption_enc_values_supported:{toKey:"idTokenEncryptionEncValuesSupported"},userinfo_signing_alg_values_supported:{toKey:"userinfoSigningAlgValuesSupported"},userinfo_encryption_alg_values_supported:{toKey:"userinfoEncryptionAlgValuesSupported"},userinfo_encryption_enc_values_supported:{toKey:"userinfoEncryptionEncValuesSupported"},request_object_signing_alg_values_supported:{toKey:"requestObjectSigningAlgValuesSupported"},request_object_encryption_alg_values_supported:{toKey:"requestObjectEncryptionAlgValuesSupported"},request_object_encryption_enc_values_supported:{toKey:"requestObjectEncryptionEncValuesSupported"},token_endpoint_auth_methods_supported:{toKey:"tokenEndpointAuthMethodsSupported"},token_endpoint_auth_signing_alg_values_supported:{toKey:"tokenEndpointAuthSigningAlgValuesSupported"},display_values_supported:{toKey:"displayValuesSupported"},claim_types_supported:{toKey:"claimTypesSupported"},claims_supported:{toKey:"claimsSupported"},service_documentation:{toKey:"serviceDocumentation"},claims_locales_supported:{toKey:"claimsLocalesSupported"},ui_locales_supported:{toKey:"uiLocalesSupported"},claims_parameter_supported:{toKey:"claimsParameterSupported"},request_parameter_supported:{toKey:"requestParameterSupported"},request_uri_parameter_supported:{toKey:"requestUriParameterSupported"},require_request_uri_registration:{toKey:"requireRequestUriRegistration"},op_policy_uri:{toKey:"opPolicyUri",convertToUrl:!0},op_tos_uri:{toKey:"opTosUri",convertToUrl:!0}},i=class{constructor(t){this.storageUtility=t}static getLocalStorageKey(t){return`issuerConfig:${t}`}async fetchConfig(o){let n;const s=new URL(t.WELL_KNOWN_OPENID_CONFIG,o).href,a=await window.fetch(s);try{n=function(t){const e={};return Object.keys(t).forEach((i=>{r[i]&&(e[r[i].toKey]=t[i])})),Array.isArray(e.scopesSupported)||(e.scopesSupported=["openid"]),e}(await a.json())}catch(t){throw new e.ConfigurationError(`[${o.toString()}] has an invalid configuration: ${t.message}`)}return await this.storageUtility.set(i.getLocalStorageKey(o),JSON.stringify(n)),n}};t.default=i}}),oo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/sessionInfo/SessionInfoManager.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.SessionInfoManager=t.clear=t.getUnauthenticatedSession=void 0;var e=Xi(),r=$i(),i=Zi();async function o(t,e){await Promise.all([e.deleteAllUserData(t,{secure:!1}),e.deleteAllUserData(t,{secure:!0}),e.delete("clientKey",{secure:!1})]),await(0,i.clearOidcPersistentStorage)()}t.getUnauthenticatedSession=function(){return{isLoggedIn:!1,sessionId:(0,r.v4)(),fetch}},t.clear=o,t.SessionInfoManager=class{constructor(t){this.storageUtility=t}update(t,e){throw new Error("Not Implemented")}async get(t){var r;const i=await this.storageUtility.getForUser(t,"isLoggedIn",{secure:!0}),o=await this.storageUtility.getForUser(t,"webId",{secure:!0}),n=await this.storageUtility.getForUser(t,"clientId",{secure:!1}),s=await this.storageUtility.getForUser(t,"clientSecret",{secure:!1}),a=await this.storageUtility.getForUser(t,"redirectUrl",{secure:!1}),h=await this.storageUtility.getForUser(t,"refreshToken",{secure:!0}),c=await this.storageUtility.getForUser(t,"issuer",{secure:!1}),u=null!==(r=await this.storageUtility.getForUser(t,"tokenType",{secure:!1}))&&void 0!==r?r:"DPoP";if(!(0,e.isSupportedTokenType)(u))throw new Error(`Tokens of type [${u}] are not supported.`);if(void 0!==n||void 0!==i||void 0!==o||void 0!==h)return{sessionId:t,webId:o,isLoggedIn:"true"===i,redirectUrl:a,refreshToken:h,issuer:c,clientAppId:n,clientAppSecret:s,tokenType:u}}async getAll(){throw new Error("Not implemented")}async clear(t){return o(t,this.storageUtility)}async register(t){throw new Error("Not implemented")}async getRegisteredSessionIdAll(){throw new Error("Not implemented")}async clearAll(){throw new Error("Not implemented")}}}}),no=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/incomingRedirectHandler/FallbackRedirectHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.FallbackRedirectHandler=void 0;var e=oo();t.FallbackRedirectHandler=class{async canHandle(t){try{return new URL(t),!0}catch(e){throw new Error(`[${t}] is not a valid URL, and cannot be used as a redirect URL: ${e}`)}}async handle(t){return(0,e.getUnauthenticatedSession)()}}}}),so=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/logout/GeneralLogoutHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(t){this.sessionInfoManager=t}async canHandle(){return!0}async handle(t){await this.sessionInfoManager.clear(t)}}}}),ao=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/incomingRedirectHandler/AuthCodeRedirectHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.AuthCodeRedirectHandler=void 0;var e=Xi(),r=Zi();t.AuthCodeRedirectHandler=class{constructor(t,e,r,i,o){this.storageUtility=t,this.sessionInfoManager=e,this.issuerConfigFetcher=r,this.clientRegistrar=i,this.tokerRefresher=o}async canHandle(t){try{const e=new URL(t);return null!==e.searchParams.get("code")&&null!==e.searchParams.get("state")}catch(e){throw new Error(`[${t}] is not a valid URL, and cannot be used as a redirect URL: ${e}`)}}async handle(t,i){if(!await this.canHandle(t))throw new Error(`AuthCodeRedirectHandler cannot handle [${t}]: it is missing one of [code, state].`);const o=new URL(t),n=o.searchParams.get("state"),s=await this.storageUtility.getForUser(n,"sessionId",{errorIfNull:!0}),{issuerConfig:a,codeVerifier:h,redirectUrl:c,dpop:u}=await(0,e.loadOidcContextFromStorage)(s,this.storageUtility,this.issuerConfigFetcher),p=o.searchParams.get("iss");if("string"==typeof p&&p!==a.issuer)throw new Error(`The value of the iss parameter (${p}) does not match the issuer identifier of the authorization server (${a.issuer}). See [rfc9207](https://www.rfc-editor.org/rfc/rfc9207.html#section-2.3-3.1.1)`);if(void 0===h)throw new Error(`The code verifier for session ${s} is missing from storage.`);if(void 0===c)throw new Error(`The redirect URL for session ${s} is missing from storage.`);const l=await this.clientRegistrar.getClient({sessionId:s},a);let m;const g=Date.now();let d;u?(m=await(0,r.getDpopToken)(a,l,{grantType:"authorization_code",code:o.searchParams.get("code"),codeVerifier:h,redirectUrl:c}),window.localStorage.removeItem(`oidc.${n}`)):m=await(0,r.getBearerToken)(o.toString()),void 0!==m.refreshToken&&(d={sessionId:s,refreshToken:m.refreshToken,tokenRefresher:this.tokerRefresher});const f=await(0,e.buildAuthenticatedFetch)(fetch,m.accessToken,{dpopKey:m.dpopKey,refreshOptions:d,eventEmitter:i,expiresIn:m.expiresIn});await this.storageUtility.setForUser(s,{webId:m.webId,isLoggedIn:"true"},{secure:!0}),o.searchParams.delete("code"),await this.storageUtility.setForUser(s,{redirectUrl:o.toString()},{secure:!1});const w=await this.sessionInfoManager.get(s);if(!w)throw new Error(`Could not retrieve session: [${s}].`);return Object.assign(w,{fetch:f,expirationDate:"number"==typeof m.expiresIn?g+1e3*m.expiresIn:null})}}}}),ho=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/AggregateRedirectHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi();t.default=class extends e.AggregateHandler{constructor(t){super(t)}}}}),co=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/storage/BrowserStorage.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{get storage(){return window.localStorage}async get(t){return this.storage.getItem(t)||void 0}async set(t,e){this.storage.setItem(t,e)}async delete(t){this.storage.removeItem(t)}}}}),uo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/Redirector.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{redirect(t,e){e&&e.handleRedirect?e.handleRedirect(t):e&&e.redirectByReplacingState?window.history.replaceState({},"",t):window.location.href=t}}}}),po=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/ClientRegistrar.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Zi();t.default=class{constructor(t){this.storageUtility=t}async getClient(t,r){const[i,o]=await Promise.all([this.storageUtility.getForUser(t.sessionId,"clientId",{secure:!1}),this.storageUtility.getForUser(t.sessionId,"clientSecret",{secure:!1})]);if(i)return{clientId:i,clientSecret:o,clientType:"dynamic"};try{const i=await(0,e.registerClient)(t,r),o={clientId:i.clientId};return i.clientSecret&&(o.clientSecret=i.clientSecret),i.idTokenSignedResponseAlg&&(o.idTokenSignedResponseAlg=i.idTokenSignedResponseAlg),await this.storageUtility.setForUser(t.sessionId,o,{secure:!1}),i}catch(t){throw new Error(`Client registration failed: [${t}]`)}}}}}),lo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/incomingRedirectHandler/ErrorOidcHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorOidcHandler=void 0;var e=Xi(),r=oo();t.ErrorOidcHandler=class{async canHandle(t){try{return new URL(t).searchParams.has("error")}catch(e){throw new Error(`[${t}] is not a valid URL, and cannot be used as a redirect URL: ${e}`)}}async handle(t,i){if(void 0!==i){const r=new URL(t),o=r.searchParams.get("error"),n=r.searchParams.get("error_description");i.emit(e.EVENTS.ERROR,o,n)}return(0,r.getUnauthenticatedSession)()}}}}),mo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/refresh/TokenRefresher.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Xi(),r=Zi();t.default=class{constructor(t,e,r){this.storageUtility=t,this.issuerConfigFetcher=e,this.clientRegistrar=r}async refresh(t,i,o,n){const s=await(0,e.loadOidcContextFromStorage)(t,this.storageUtility,this.issuerConfigFetcher),a=await this.clientRegistrar.getClient({sessionId:t},s.issuerConfig);if(void 0===i)throw new Error(`Session [${t}] has no refresh token to allow it to refresh its access token.`);if(s.dpop&&void 0===o)throw new Error(`For session [${t}], the key bound to the DPoP access token must be provided to refresh said access token.`);const h=await(0,r.refresh)(i,s.issuerConfig,a,o);return void 0!==h.refreshToken&&(null==n||n.emit(e.EVENTS.NEW_REFRESH_TOKEN,h.refreshToken),await this.storageUtility.setForUser(t,{refreshToken:h.refreshToken})),h}}}}),go=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/dependencies.js"(t){var e=t&&t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(t,"__esModule",{value:!0}),t.getClientAuthenticationWithDependencies=void 0;var r=Xi(),i=e(Qi()),o=e(to()),n=e(eo()),s=e(ro()),a=e(io()),h=no(),c=e(so()),u=oo(),p=ao(),l=e(ho()),m=e(co()),g=e(uo()),d=e(po()),f=lo(),w=e(mo());t.getClientAuthenticationWithDependencies=function(t){const e=new r.InMemoryStorage,v=t.secureStorage||e,y=t.insecureStorage||new m.default,b=new i.default(v,y),S=new a.default(b),A=new d.default(b),E=new u.SessionInfoManager(b),C=new w.default(b,S,A),P=new n.default(b,new s.default(b,new g.default),S,A),F=new l.default([new f.ErrorOidcHandler,new p.AuthCodeRedirectHandler(b,E,S,A,C),new h.FallbackRedirectHandler]);return new o.default(P,F,new c.default(E),E,S)}}}),fo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/constant.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.KEY_CURRENT_URL=t.KEY_CURRENT_SESSION=void 0;var e=Xi();t.KEY_CURRENT_SESSION=`${e.SOLID_CLIENT_AUTHN_KEY_PREFIX}currentSession`,t.KEY_CURRENT_URL=`${e.SOLID_CLIENT_AUTHN_KEY_PREFIX}currentUrl`}}),wo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/Session.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.Session=t.silentlyAuthenticate=void 0;var e=P(),r=Xi(),i=$i(),o=go(),n=fo();async function s(t,e,r){var i;const o=await e.validateCurrentSession(t);return null!==o&&(window.localStorage.setItem(n.KEY_CURRENT_URL,window.location.href),await e.login({sessionId:t,prompt:"none",oidcIssuer:o.issuer,redirectUrl:o.redirectUrl,clientId:o.clientAppId,clientSecret:o.clientAppSecret,tokenType:null!==(i=o.tokenType)&&void 0!==i?i:"DPoP"},r),!0)}t.silentlyAuthenticate=s,t.Session=class extends e.EventEmitter{constructor(t={},e){super(),this.tokenRequestInProgress=!1,this.login=async t=>{var e;return await this.clientAuthentication.login({sessionId:this.info.sessionId,...t,tokenType:null!==(e=t.tokenType)&&void 0!==e?e:"DPoP"},this),new Promise((()=>{}))},this.fetch=async(t,e)=>this.clientAuthentication.fetch(t,e),this.internalLogout=async t=>{window.localStorage.removeItem(n.KEY_CURRENT_SESSION),await this.clientAuthentication.logout(this.info.sessionId),this.info.isLoggedIn=!1,t&&this.emit(r.EVENTS.LOGOUT)},this.logout=async()=>this.internalLogout(!0),this.handleIncomingRedirect=async(t={})=>{var e;if(this.info.isLoggedIn)return this.info;if(this.tokenRequestInProgress)return;const i="string"==typeof t?{url:t}:t,o=null!==(e=i.url)&&void 0!==e?e:window.location.href;this.tokenRequestInProgress=!0;const a=await this.clientAuthentication.handleIncomingRedirect(o,this);if(function(t){return!!(null==t?void 0:t.isLoggedIn)}(a)){this.setSessionInfo(a);const t=window.localStorage.getItem(n.KEY_CURRENT_URL);null===t?this.emit(r.EVENTS.LOGIN):(window.localStorage.removeItem(n.KEY_CURRENT_URL),this.emit(r.EVENTS.SESSION_RESTORED,t))}else if(!0===i.restorePreviousSession){const t=window.localStorage.getItem(n.KEY_CURRENT_SESSION);if(null!==t&&await s(t,this.clientAuthentication,this))return new Promise((()=>{}))}return this.tokenRequestInProgress=!1,a},this.clientAuthentication=t.clientAuthentication?t.clientAuthentication:(0,o.getClientAuthenticationWithDependencies)(t.secureStorage&&t.insecureStorage?{secureStorage:t.secureStorage,insecureStorage:t.insecureStorage}:{}),this.info=t.sessionInfo?{sessionId:t.sessionInfo.sessionId,isLoggedIn:!1,webId:t.sessionInfo.webId}:{sessionId:null!=e?e:(0,i.v4)(),isLoggedIn:!1},this.on(r.EVENTS.LOGIN,(()=>window.localStorage.setItem(n.KEY_CURRENT_SESSION,this.info.sessionId))),this.on(r.EVENTS.SESSION_EXPIRED,(()=>this.internalLogout(!1))),this.on(r.EVENTS.ERROR,(()=>this.internalLogout(!1)))}onLogin(t){this.on(r.EVENTS.LOGIN,t)}onLogout(t){this.on(r.EVENTS.LOGOUT,t)}onError(t){this.on(r.EVENTS.ERROR,t)}onSessionRestore(t){this.on(r.EVENTS.SESSION_RESTORED,t)}onSessionExpiration(t){this.on(r.EVENTS.SESSION_EXPIRED,t)}setSessionInfo(t){this.info.isLoggedIn=t.isLoggedIn,this.info.webId=t.webId,this.info.sessionId=t.sessionId,this.info.expirationDate=t.expirationDate,this.on(r.EVENTS.SESSION_EXTENDED,(t=>{this.info.expirationDate=Date.now()+1e3*t}))}}}}),vo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/defaultSession.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.onSessionRestore=t.onLogout=t.onLogin=t.handleIncomingRedirect=t.logout=t.login=t.fetch=t.getDefaultSession=void 0;var e,r=wo();function i(){return void 0===e&&(e=new r.Session),e}t.getDefaultSession=i,t.fetch=(...t)=>i().fetch(...t),t.login=(...t)=>i().login(...t),t.logout=(...t)=>i().logout(...t),t.handleIncomingRedirect=(...t)=>i().handleIncomingRedirect(...t),t.onLogin=(...t)=>i().onLogin(...t),t.onLogout=(...t)=>i().onLogout(...t),t.onSessionRestore=(...t)=>i().onSessionRestore(...t)}}),yo=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/index.js"(t){var e=t&&t.__createBinding||(Object.create?function(t,e,r,i){void 0===i&&(i=r);var o=Object.getOwnPropertyDescriptor(e,r);o&&!("get"in o?!e.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,o)}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]}),r=t&&t.__exportStar||function(t,r){for(var i in t)"default"===i||Object.prototype.hasOwnProperty.call(r,i)||e(r,t,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryStorage=t.ConfigurationError=t.NotImplementedError=t.getClientAuthenticationWithDependencies=t.Session=void 0;var i=wo();Object.defineProperty(t,"Session",{enumerable:!0,get:function(){return i.Session}});var o=go();Object.defineProperty(t,"getClientAuthenticationWithDependencies",{enumerable:!0,get:function(){return o.getClientAuthenticationWithDependencies}}),r(vo(),t);var n=Xi();Object.defineProperty(t,"NotImplementedError",{enumerable:!0,get:function(){return n.NotImplementedError}}),Object.defineProperty(t,"ConfigurationError",{enumerable:!0,get:function(){return n.ConfigurationError}}),Object.defineProperty(t,"InMemoryStorage",{enumerable:!0,get:function(){return n.InMemoryStorage}})}}),bo=b({"../node_modules/@babel/runtime/helpers/typeof.js"(t,e){function r(t){return e.exports=r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.__esModule=!0,e.exports.default=e.exports,r(t)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}}),So=b({"../node_modules/@babel/runtime/helpers/regeneratorRuntime.js"(t,e){var r=bo().default;function i(){e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},o=Object.prototype,n=o.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},h=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(t){p=function(t,e,r){return t[e]=r}}function l(t,e,r,i){var o=Object.create((e&&e.prototype instanceof d?e:d).prototype),n=new T(i||[]);return s(o,"_invoke",{value:C(t,r,n)}),o}function m(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var g={};function d(){}function f(){}function w(){}var v={};p(v,h,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(R([])));b&&b!==o&&n.call(b,h)&&(v=b);var S=w.prototype=d.prototype=Object.create(v);function A(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function i(o,s,a,h){var c=m(t[o],t,s);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==r(p)&&n.call(p,"__await")?e.resolve(p.__await).then((function(t){i("next",t,a,h)}),(function(t){i("throw",t,a,h)})):e.resolve(p).then((function(t){u.value=t,a(u)}),(function(t){return i("throw",t,a,h)}))}h(c.arg)}var o;s(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,o){i(t,r,e,o)}))}return o=o?o.then(n,n):n()}})}function C(t,e,r){var i="suspendedStart";return function(o,n){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw n;return{value:void 0,done:!0}}for(r.method=o,r.arg=n;;){var s=r.delegate;if(s){var a=P(s,r);if(a){if(a===g)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var h=m(t,e,r);if("normal"===h.type){if(i=r.done?"completed":"suspendedYield",h.arg===g)continue;return{value:h.arg,done:r.done}}"throw"===h.type&&(i="completed",r.method="throw",r.arg=h.arg)}}}function P(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,P(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var o=m(i,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,g;var n=o.arg;return n?n.done?(e[t.resultName]=n.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,g):n:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function R(t){if(t){var e=t[h];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return f.prototype=w,s(S,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:f,configurable:!0}),f.displayName=p(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===f||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,p(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},A(E.prototype),p(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,i,o,n){void 0===n&&(n=Promise);var s=new E(l(e,r,i,o),n);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},A(S),p(S,u,"Generator"),p(S,h,(function(){return this})),p(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=R,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),h=n.call(o,"finallyLoc");if(a&&h){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!h)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var o=i.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:R(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),g}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports}}),Ao=b({"../node_modules/@babel/runtime/regenerator/index.js"(t,e){var r=So()();e.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}}),Eo=b({"../node_modules/@xmldom/xmldom/lib/conventions.js"(t){function e(t,e){return void 0===e&&(e=Object),e&&"function"==typeof e.freeze?e.freeze(t):t}var r=e({HTML:"text/html",isHTML:function(t){return t===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),i=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===i.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=function(t,e){if(null===t||"object"!=typeof t)throw new TypeError("target is not an object");for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},t.find=function(t,e,r){if(void 0===r&&(r=Array.prototype),t&&"function"==typeof r.find)return r.find.call(t,e);for(var i=0;i<t.length;i++)if(Object.prototype.hasOwnProperty.call(t,i)){var o=t[i];if(e.call(void 0,o,i,t))return o}},t.freeze=e,t.MIME_TYPE=r,t.NAMESPACE=i}}),Co=b({"../node_modules/@xmldom/xmldom/lib/dom.js"(t){var e=Eo(),r=e.find,i=e.NAMESPACE;function o(t){return""!==t}function n(t,e){return t.hasOwnProperty(e)||(t[e]=!0),t}function s(t){if(!t)return[];var e=function(t){return t?t.split(/[\t\n\f\r ]+/).filter(o):[]}(t);return Object.keys(e.reduce(n,{}))}function a(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function h(t,e){var r=t.prototype;if(!(r instanceof e)){let i=function(){};i.prototype=e.prototype,i=new i,a(r,i),t.prototype=r=i}r.constructor!=t&&("function"!=typeof t&&console.error("unknown Class:"+t),r.constructor=t)}var c={},u=c.ELEMENT_NODE=1,p=c.ATTRIBUTE_NODE=2,l=c.TEXT_NODE=3,m=c.CDATA_SECTION_NODE=4,g=c.ENTITY_REFERENCE_NODE=5,d=c.ENTITY_NODE=6,f=c.PROCESSING_INSTRUCTION_NODE=7,w=c.COMMENT_NODE=8,v=c.DOCUMENT_NODE=9,y=c.DOCUMENT_TYPE_NODE=10,b=c.DOCUMENT_FRAGMENT_NODE=11,S=c.NOTATION_NODE=12,A={},E={};A.INDEX_SIZE_ERR=(E[1]="Index size error",1),A.DOMSTRING_SIZE_ERR=(E[2]="DOMString size error",2);var C=A.HIERARCHY_REQUEST_ERR=(E[3]="Hierarchy request error",3);A.WRONG_DOCUMENT_ERR=(E[4]="Wrong document",4),A.INVALID_CHARACTER_ERR=(E[5]="Invalid character",5),A.NO_DATA_ALLOWED_ERR=(E[6]="No data allowed",6),A.NO_MODIFICATION_ALLOWED_ERR=(E[7]="No modification allowed",7);var P=A.NOT_FOUND_ERR=(E[8]="Not found",8);A.NOT_SUPPORTED_ERR=(E[9]="Not supported",9);var F=A.INUSE_ATTRIBUTE_ERR=(E[10]="Attribute in use",10);function k(t,e){if(e instanceof Error)var r=e;else r=this,Error.call(this,E[t]),this.message=E[t],Error.captureStackTrace&&Error.captureStackTrace(this,k);return r.code=t,e&&(this.message=this.message+": "+e),r}function T(){}function R(t,e){this._node=t,this._refresh=e,O(this)}function O(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var r=t._refresh(t._node);ft(t,"length",r.length),a(r,t),t._inc=e}}function D(){}function M(t,e){for(var r=t.length;r--;)if(t[r]===e)return r}function I(t,e,r,o){if(o?e[M(e,o)]=r:e[e.length++]=r,t){r.ownerElement=t;var n=t.ownerDocument;n&&(o&&L(n,t,o),function(t,e,r){t&&t._inc++,r.namespaceURI===i.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value)}(n,t,r))}}function x(t,e,r){var i=M(e,r);if(!(i>=0))throw new k(P,new Error(t.tagName+"@"+r));for(var o=e.length-1;i<o;)e[i]=e[++i];if(e.length=o,t){var n=t.ownerDocument;n&&(L(n,t,r),r.ownerElement=null)}}function _(){}function N(){}function j(t){return("<"==t?"&lt;":">"==t&&"&gt;")||"&"==t&&"&amp;"||'"'==t&&"&quot;"||"&#"+t.charCodeAt()+";"}function B(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(B(t,e))return!0}while(t=t.nextSibling)}function U(){this.ownerDocument=this}function L(t,e,r){t&&t._inc++,r.namespaceURI===i.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function H(t,e,r){if(t&&t._inc){t._inc++;var i=e.childNodes;if(r)i[i.length++]=r;else{for(var o=e.firstChild,n=0;o;)i[n++]=o,o=o.nextSibling;i.length=n,delete i[i.length]}}}function W(t,e){var r=e.previousSibling,i=e.nextSibling;return r?r.nextSibling=i:t.firstChild=i,i?i.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,H(t.ownerDocument,t),e}function V(t){return t&&t.nodeType===N.DOCUMENT_TYPE_NODE}function q(t){return t&&t.nodeType===N.ELEMENT_NODE}function G(t){return t&&t.nodeType===N.TEXT_NODE}function K(t,e){var i=t.childNodes||[];if(r(i,q)||V(e))return!1;var o=r(i,V);return!(e&&o&&i.indexOf(o)>i.indexOf(e))}function J(t,e){var i=t.childNodes||[];if(r(i,(function(t){return q(t)&&t!==e})))return!1;var o=r(i,V);return!(e&&o&&i.indexOf(o)>i.indexOf(e))}function z(t,e,i){var o=t.childNodes||[],n=e.childNodes||[];if(e.nodeType===N.DOCUMENT_FRAGMENT_NODE){var s=n.filter(q);if(s.length>1||r(n,G))throw new k(C,"More than one element or text in fragment");if(1===s.length&&!K(t,i))throw new k(C,"Element in fragment can not be inserted before doctype")}if(q(e)&&!K(t,i))throw new k(C,"Only one element can be added and only after doctype");if(V(e)){if(r(o,V))throw new k(C,"Only one doctype is allowed");var a=r(o,q);if(i&&o.indexOf(a)<o.indexOf(i))throw new k(C,"Doctype can only be inserted before an element");if(!i&&a)throw new k(C,"Doctype can not be appended since element is present")}}function $(t,e,i){var o=t.childNodes||[],n=e.childNodes||[];if(e.nodeType===N.DOCUMENT_FRAGMENT_NODE){var s=n.filter(q);if(s.length>1||r(n,G))throw new k(C,"More than one element or text in fragment");if(1===s.length&&!J(t,i))throw new k(C,"Element in fragment can not be inserted before doctype")}if(q(e)&&!J(t,i))throw new k(C,"Only one element can be added and only after doctype");if(V(e)){if(r(o,(function(t){return V(t)&&t!==i})))throw new k(C,"Only one doctype is allowed");var a=r(o,q);if(i&&o.indexOf(a)<o.indexOf(i))throw new k(C,"Doctype can only be inserted before an element")}}function X(t,e,r,i){(function(t,e,r){if(!function(t){return t&&(t.nodeType===N.DOCUMENT_NODE||t.nodeType===N.DOCUMENT_FRAGMENT_NODE||t.nodeType===N.ELEMENT_NODE)}(t))throw new k(C,"Unexpected parent node type "+t.nodeType);if(r&&r.parentNode!==t)throw new k(P,"child not in parent");if(!function(t){return t&&(q(t)||G(t)||V(t)||t.nodeType===N.DOCUMENT_FRAGMENT_NODE||t.nodeType===N.COMMENT_NODE||t.nodeType===N.PROCESSING_INSTRUCTION_NODE)}(e)||V(e)&&t.nodeType!==N.DOCUMENT_NODE)throw new k(C,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)})(t,e,r),t.nodeType===N.DOCUMENT_NODE&&(i||z)(t,e,r);var o=e.parentNode;if(o&&o.removeChild(e),e.nodeType===b){var n=e.firstChild;if(null==n)return e;var s=e.lastChild}else n=s=e;var a=r?r.previousSibling:t.lastChild;n.previousSibling=a,s.nextSibling=r,a?a.nextSibling=n:t.firstChild=n,null==r?t.lastChild=s:r.previousSibling=s;do{n.parentNode=t}while(n!==s&&(n=n.nextSibling));return H(t.ownerDocument||t,t),e.nodeType==b&&(e.firstChild=e.lastChild=null),e}function Q(){this._nsMap={}}function Y(){}function Z(){}function tt(){}function et(){}function rt(){}function it(){}function ot(){}function nt(){}function st(){}function at(){}function ht(){}function ct(){}function ut(t,e){var r=[],i=9==this.nodeType&&this.documentElement||this,o=i.prefix,n=i.namespaceURI;if(n&&null==o&&null==(o=i.lookupPrefix(n)))var s=[{namespace:n,prefix:null}];return mt(this,r,t,e,s),r.join("")}function pt(t,e,r){var o=t.prefix||"",n=t.namespaceURI;if(!n)return!1;if("xml"===o&&n===i.XML||n===i.XMLNS)return!1;for(var s=r.length;s--;){var a=r[s];if(a.prefix===o)return a.namespace!==n}return!0}function lt(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,j),'"')}function mt(t,e,r,o,n){if(n||(n=[]),o){if(!(t=o(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case u:var s=t.attributes,a=s.length,h=t.firstChild,c=t.tagName,d=c;if(!(r=i.isHTML(t.namespaceURI)||r)&&!t.prefix&&t.namespaceURI){for(var S,A=0;A<s.length;A++)if("xmlns"===s.item(A).name){S=s.item(A).value;break}if(!S)for(var E=n.length-1;E>=0;E--)if(""===(C=n[E]).prefix&&C.namespace===t.namespaceURI){S=C.namespace;break}if(S!==t.namespaceURI)for(E=n.length-1;E>=0;E--){var C;if((C=n[E]).namespace===t.namespaceURI){C.prefix&&(d=C.prefix+":"+c);break}}}e.push("<",d);for(var P=0;P<a;P++)"xmlns"==(F=s.item(P)).prefix?n.push({prefix:F.localName,namespace:F.value}):"xmlns"==F.nodeName&&n.push({prefix:"",namespace:F.value});for(P=0;P<a;P++){var F,k,T;pt(F=s.item(P),0,n)&&(lt(e,(k=F.prefix||"")?"xmlns:"+k:"xmlns",T=F.namespaceURI),n.push({prefix:k,namespace:T})),mt(F,e,r,o,n)}if(c===d&&pt(t,0,n)&&(lt(e,(k=t.prefix||"")?"xmlns:"+k:"xmlns",T=t.namespaceURI),n.push({prefix:k,namespace:T})),h||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(e.push(">"),r&&/^script$/i.test(c))for(;h;)h.data?e.push(h.data):mt(h,e,r,o,n.slice()),h=h.nextSibling;else for(;h;)mt(h,e,r,o,n.slice()),h=h.nextSibling;e.push("</",d,">")}else e.push("/>");return;case v:case b:for(h=t.firstChild;h;)mt(h,e,r,o,n.slice()),h=h.nextSibling;return;case p:return lt(e,t.name,t.value);case l:return e.push(t.data.replace(/[<&>]/g,j));case m:return e.push("<![CDATA[",t.data,"]]>");case w:return e.push("\x3c!--",t.data,"--\x3e");case y:var R=t.publicId,O=t.systemId;if(e.push("<!DOCTYPE ",t.name),R)e.push(" PUBLIC ",R),O&&"."!=O&&e.push(" ",O),e.push(">");else if(O&&"."!=O)e.push(" SYSTEM ",O,">");else{var D=t.internalSubset;D&&e.push(" [",D,"]"),e.push(">")}return;case f:return e.push("<?",t.target," ",t.data,"?>");case g:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function gt(t,e,r){var i;switch(e.nodeType){case u:(i=e.cloneNode(!1)).ownerDocument=t;case b:break;case p:r=!0}if(i||(i=e.cloneNode(!1)),i.ownerDocument=t,i.parentNode=null,r)for(var o=e.firstChild;o;)i.appendChild(gt(t,o,r)),o=o.nextSibling;return i}function dt(t,e,r){var i=new e.constructor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var n=e[o];"object"!=typeof n&&n!=i[o]&&(i[o]=n)}switch(e.childNodes&&(i.childNodes=new T),i.ownerDocument=t,i.nodeType){case u:var s=e.attributes,a=i.attributes=new D,h=s.length;a._ownerElement=i;for(var c=0;c<h;c++)i.setAttributeNode(dt(t,s.item(c),!0));break;case p:r=!0}if(r)for(var l=e.firstChild;l;)i.appendChild(dt(t,l,r)),l=l.nextSibling;return i}function ft(t,e,r){t[e]=r}A.INVALID_STATE_ERR=(E[11]="Invalid state",11),A.SYNTAX_ERR=(E[12]="Syntax error",12),A.INVALID_MODIFICATION_ERR=(E[13]="Invalid modification",13),A.NAMESPACE_ERR=(E[14]="Invalid namespace",14),A.INVALID_ACCESS_ERR=(E[15]="Invalid access",15),k.prototype=Error.prototype,a(A,k),T.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var r=[],i=0;i<this.length;i++)mt(this[i],r,t,e);return r.join("")},filter:function(t){return Array.prototype.filter.call(this,t)},indexOf:function(t){return Array.prototype.indexOf.call(this,t)}},R.prototype.item=function(t){return O(this),this[t]},h(R,T),D.prototype={length:0,item:T.prototype.item,getNamedItem:function(t){for(var e=this.length;e--;){var r=this[e];if(r.nodeName==t)return r}},setNamedItem:function(t){var e=t.ownerElement;if(e&&e!=this._ownerElement)throw new k(F);var r=this.getNamedItem(t.nodeName);return I(this._ownerElement,this,t,r),r},setNamedItemNS:function(t){var e,r=t.ownerElement;if(r&&r!=this._ownerElement)throw new k(F);return e=this.getNamedItemNS(t.namespaceURI,t.localName),I(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return x(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return x(this._ownerElement,this,r),r},getNamedItemNS:function(t,e){for(var r=this.length;r--;){var i=this[r];if(i.localName==e&&i.namespaceURI==t)return i}return null}},_.prototype={hasFeature:function(){return!0},createDocument:function(t,e,r){var i=new U;if(i.implementation=this,i.childNodes=new T,i.doctype=r||null,r&&i.appendChild(r),e){var o=i.createElementNS(t,e);i.appendChild(o)}return i},createDocumentType:function(t,e,r){var i=new it;return i.name=t,i.nodeName=t,i.publicId=e||"",i.systemId=r||"",i}},N.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(t,e){return X(this,t,e)},replaceChild:function(t,e){X(this,t,e,$),e&&this.removeChild(e)},removeChild:function(t){return W(this,t)},appendChild:function(t){return this.insertBefore(t,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(t){return dt(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==l&&t.nodeType==l?(this.removeChild(e),t.appendData(e.data)):(t.normalize(),t=e)}},isSupported:function(t,e){return this.ownerDocument.implementation.hasFeature(t,e)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(t){for(var e=this;e;){var r=e._nsMap;if(r)for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i)&&r[i]===t)return i;e=e.nodeType==p?e.ownerDocument:e.parentNode}return null},lookupNamespaceURI:function(t){for(var e=this;e;){var r=e._nsMap;if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];e=e.nodeType==p?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},a(c,N),a(c,N.prototype),U.prototype={nodeName:"#document",nodeType:v,doctype:null,documentElement:null,_inc:1,insertBefore:function(t,e){if(t.nodeType==b){for(var r=t.firstChild;r;){var i=r.nextSibling;this.insertBefore(r,e),r=i}return t}return X(this,t,e),t.ownerDocument=this,null===this.documentElement&&t.nodeType===u&&(this.documentElement=t),t},removeChild:function(t){return this.documentElement==t&&(this.documentElement=null),W(this,t)},replaceChild:function(t,e){X(this,t,e,$),t.ownerDocument=this,e&&this.removeChild(e),q(t)&&(this.documentElement=t)},importNode:function(t,e){return gt(this,t,e)},getElementById:function(t){var e=null;return B(this.documentElement,(function(r){if(r.nodeType==u&&r.getAttribute("id")==t)return e=r,!0})),e},getElementsByClassName:function(t){var e=s(t);return new R(this,(function(r){var i=[];return e.length>0&&B(r.documentElement,(function(o){if(o!==r&&o.nodeType===u){var n=o.getAttribute("class");if(n){var a=t===n;if(!a){var h=s(n);a=e.every((c=h,function(t){return c&&-1!==c.indexOf(t)}))}a&&i.push(o)}}var c})),i}))},createElement:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new T,(e.attributes=new D)._ownerElement=e,e},createDocumentFragment:function(){var t=new at;return t.ownerDocument=this,t.childNodes=new T,t},createTextNode:function(t){var e=new tt;return e.ownerDocument=this,e.appendData(t),e},createComment:function(t){var e=new et;return e.ownerDocument=this,e.appendData(t),e},createCDATASection:function(t){var e=new rt;return e.ownerDocument=this,e.appendData(t),e},createProcessingInstruction:function(t,e){var r=new ht;return r.ownerDocument=this,r.tagName=r.target=t,r.nodeValue=r.data=e,r},createAttribute:function(t){var e=new Y;return e.ownerDocument=this,e.name=t,e.nodeName=t,e.localName=t,e.specified=!0,e},createEntityReference:function(t){var e=new st;return e.ownerDocument=this,e.nodeName=t,e},createElementNS:function(t,e){var r=new Q,i=e.split(":"),o=r.attributes=new D;return r.childNodes=new T,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==i.length?(r.prefix=i[0],r.localName=i[1]):r.localName=e,o._ownerElement=r,r},createAttributeNS:function(t,e){var r=new Y,i=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==i.length?(r.prefix=i[0],r.localName=i[1]):r.localName=e,r}},h(U,N),Q.prototype={nodeType:u,hasAttribute:function(t){return null!=this.getAttributeNode(t)},getAttribute:function(t){var e=this.getAttributeNode(t);return e&&e.value||""},getAttributeNode:function(t){return this.attributes.getNamedItem(t)},setAttribute:function(t,e){var r=this.ownerDocument.createAttribute(t);r.value=r.nodeValue=""+e,this.setAttributeNode(r)},removeAttribute:function(t){var e=this.getAttributeNode(t);e&&this.removeAttributeNode(e)},appendChild:function(t){return t.nodeType===b?this.insertBefore(t,null):function(t,e){return e.parentNode&&e.parentNode.removeChild(e),e.parentNode=t,e.previousSibling=t.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:t.firstChild=e,t.lastChild=e,H(t.ownerDocument,t,e),e}(this,t)},setAttributeNode:function(t){return this.attributes.setNamedItem(t)},setAttributeNodeNS:function(t){return this.attributes.setNamedItemNS(t)},removeAttributeNode:function(t){return this.attributes.removeNamedItem(t.nodeName)},removeAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);r&&this.removeAttributeNode(r)},hasAttributeNS:function(t,e){return null!=this.getAttributeNodeNS(t,e)},getAttributeNS:function(t,e){var r=this.getAttributeNodeNS(t,e);return r&&r.value||""},setAttributeNS:function(t,e,r){var i=this.ownerDocument.createAttributeNS(t,e);i.value=i.nodeValue=""+r,this.setAttributeNode(i)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new R(this,(function(e){var r=[];return B(e,(function(i){i===e||i.nodeType!=u||"*"!==t&&i.tagName!=t||r.push(i)})),r}))},getElementsByTagNameNS:function(t,e){return new R(this,(function(r){var i=[];return B(r,(function(o){o===r||o.nodeType!==u||"*"!==t&&o.namespaceURI!==t||"*"!==e&&o.localName!=e||i.push(o)})),i}))}},U.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,U.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,h(Q,N),Y.prototype.nodeType=p,h(Y,N),Z.prototype={data:"",substringData:function(t,e){return this.data.substring(t,t+e)},appendData:function(t){this.nodeValue=this.data=t=this.data+t,this.length=t.length},insertData:function(t,e){this.replaceData(t,0,e)},appendChild:function(){throw new Error(E[C])},deleteData:function(t,e){this.replaceData(t,e,"")},replaceData:function(t,e,r){var i=this.data.substring(0,t),o=this.data.substring(t+e);this.nodeValue=this.data=r=i+r+o,this.length=r.length}},h(Z,N),tt.prototype={nodeName:"#text",nodeType:l,splitText:function(t){var e=this.data,r=e.substring(t);e=e.substring(0,t),this.data=this.nodeValue=e,this.length=e.length;var i=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(i,this.nextSibling),i}},h(tt,Z),et.prototype={nodeName:"#comment",nodeType:w},h(et,Z),rt.prototype={nodeName:"#cdata-section",nodeType:m},h(rt,Z),it.prototype.nodeType=y,h(it,N),ot.prototype.nodeType=S,h(ot,N),nt.prototype.nodeType=d,h(nt,N),st.prototype.nodeType=g,h(st,N),at.prototype.nodeName="#document-fragment",at.prototype.nodeType=b,h(at,N),ht.prototype.nodeType=f,h(ht,N),ct.prototype.serializeToString=function(t,e,r){return ut.call(t,e,r)},N.prototype.toString=ut;try{if(Object.defineProperty){let t=function(e){switch(e.nodeType){case u:case b:var r=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&r.push(t(e)),e=e.nextSibling;return r.join("");default:return e.nodeValue}};Object.defineProperty(R.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(N.prototype,"textContent",{get:function(){return t(this)},set:function(t){switch(this.nodeType){case u:case b:for(;this.firstChild;)this.removeChild(this.firstChild);(t||String(t))&&this.appendChild(this.ownerDocument.createTextNode(t));break;default:this.data=t,this.value=t,this.nodeValue=t}}}),ft=function(t,e,r){t["$$"+e]=r}}}catch(t){}t.DocumentType=it,t.DOMException=k,t.DOMImplementation=_,t.Element=Q,t.Node=N,t.NodeList=T,t.XMLSerializer=ct}}),Po=b({"../node_modules/@xmldom/xmldom/lib/entities.js"(t){var e=Eo().freeze;t.XML_ENTITIES=e({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=e({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES}}),Fo=b({"../node_modules/@xmldom/xmldom/lib/sax.js"(t){var e=Eo().NAMESPACE,r=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,i=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),o=new RegExp("^"+r.source+i.source+"*(?::"+r.source+i.source+"*)?$");function n(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,n)}function s(){}function a(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function h(t,r,i,o,n,s){function a(t,e,r){i.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),i.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,n),r)}for(var h,c=++r,u=0;;){var p=t.charAt(c);switch(p){case"=":if(1===u)h=t.slice(r,c),u=3;else{if(2!==u)throw new Error("attribute equal must after attrName");u=3}break;case"'":case'"':if(3===u||1===u){if(1===u&&(s.warning('attribute value must after "="'),h=t.slice(r,c)),!((c=t.indexOf(p,r=c+1))>0))throw new Error("attribute value no end '"+p+"' match");a(h,l=t.slice(r,c),r-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');a(h,l=t.slice(r,c),r),s.warning('attribute "'+h+'" missed start quot('+p+")!!"),r=c+1,u=5}break;case"/":switch(u){case 0:i.setTagName(t.slice(r,c));case 5:case 6:case 7:u=7,i.closed=!0;case 4:case 1:case 2:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==u&&i.setTagName(t.slice(r,c)),c;case">":switch(u){case 0:i.setTagName(t.slice(r,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(l=t.slice(r,c)).slice(-1)&&(i.closed=!0,l=l.slice(0,-1));case 2:2===u&&(l=h),4==u?(s.warning('attribute "'+l+'" missed quot(")!'),a(h,l,r)):(e.isHTML(o[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead!!'),a(l,l,r));break;case 3:throw new Error("attribute value missed!!")}return c;case"€":p=" ";default:if(p<=" ")switch(u){case 0:i.setTagName(t.slice(r,c)),u=6;break;case 1:h=t.slice(r,c),u=2;break;case 4:var l=t.slice(r,c);s.warning('attribute "'+l+'" missed quot(")!!'),a(h,l,r);case 5:u=6}else switch(u){case 2:e.isHTML(o[""])&&h.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+h+'" missed value!! "'+h+'" instead2!!'),a(h,h,r),r=c,u=1;break;case 5:s.warning('attribute space is required"'+h+'"!!');case 6:u=1,r=c;break;case 3:u=4,r=c;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}c++}}function c(t,r,i){for(var o=t.tagName,n=null,s=t.length;s--;){var a=t[s],h=a.qName,c=a.value;if((g=h.indexOf(":"))>0)var u=a.prefix=h.slice(0,g),p=h.slice(g+1),m="xmlns"===u&&p;else p=h,u=null,m="xmlns"===h&&"";a.localName=p,!1!==m&&(null==n&&(n={},l(i,i={})),i[m]=n[m]=c,a.uri=e.XMLNS,r.startPrefixMapping(m,c))}for(s=t.length;s--;)(u=(a=t[s]).prefix)&&("xml"===u&&(a.uri=e.XML),"xmlns"!==u&&(a.uri=i[u||""]));var g;(g=o.indexOf(":"))>0?(u=t.prefix=o.slice(0,g),p=t.localName=o.slice(g+1)):(u=null,p=t.localName=o);var d=t.uri=i[u||""];if(r.startElement(d,p,o,t),!t.closed)return t.currentNSMap=i,t.localNSMap=n,!0;if(r.endElement(d,p,o),n)for(u in n)Object.prototype.hasOwnProperty.call(n,u)&&r.endPrefixMapping(u)}function u(t,e,r,i,o){if(/^(?:script|textarea)$/i.test(r)){var n=t.indexOf("</"+r+">",e),s=t.substring(e+1,n);if(/[&<]/.test(s))return/^script$/i.test(r)?(o.characters(s,0,s.length),n):(s=s.replace(/&#?\w+;/g,i),o.characters(s,0,s.length),n)}return e+1}function p(t,e,r,i){var o=i[r];return null==o&&((o=t.lastIndexOf("</"+r+">"))<e&&(o=t.lastIndexOf("</"+r)),i[r]=o),o<e}function l(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function m(t,e,r,i){if("-"===t.charAt(e+2))return"-"===t.charAt(e+3)?(o=t.indexOf("--\x3e",e+4))>e?(r.comment(t,e+4,o-e-4),o+3):(i.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var o=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,o-e-9),r.endCDATA(),o+3}var n=function(t,e){var r,i=[],o=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(o.lastIndex=e,o.exec(t);r=o.exec(t);)if(i.push(r),r[1])return i}(t,e),s=n.length;if(s>1&&/!doctype/i.test(n[0][0])){var a=n[1][0],h=!1,c=!1;s>3&&(/^public$/i.test(n[2][0])?(h=n[3][0],c=s>4&&n[4][0]):/^system$/i.test(n[2][0])&&(c=n[3][0]));var u=n[s-1];return r.startDTD(a,h,c),r.endDTD(),u.index+u[0].length}return-1}function g(t,e,r){var i=t.indexOf("?>",e);if(i){var o=t.substring(e,i).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return o?(r.processingInstruction(o[1],o[2]),i+2):-1}return-1}function d(){this.attributeNames={}}(n.prototype=new Error).name=n.name,s.prototype={parse:function(t,r,i){var o=this.domBuilder;o.startDocument(),l(r,r={}),function(t,r,i,o,s){function l(t){var e,r=t.slice(1,-1);return Object.hasOwnProperty.call(i,r)?i[r]:"#"===r.charAt(0)?(e=parseInt(r.substr(1).replace("x","0x")))>65535?(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e))):String.fromCharCode(e):(s.error("entity not found:"+t),t)}function f(e){if(e>C){var r=t.substring(C,e).replace(/&#?\w+;/g,l);S&&w(C),o.characters(r,0,e-C),C=e}}function w(e,r){for(;e>=y&&(r=b.exec(t));)y=(v=r.index)+r[0].length,S.lineNumber++;S.columnNumber=e-v+1}for(var v=0,y=0,b=/.*(?:\r\n?|\n)|.*$/g,S=o.locator,A=[{currentNSMap:r}],E={},C=0;;){try{var P=t.indexOf("<",C);if(P<0){if(!t.substr(C).match(/^\s*$/)){var F=o.doc,k=F.createTextNode(t.substr(C));F.appendChild(k),o.currentElement=k}return}switch(P>C&&f(P),t.charAt(P+1)){case"/":var T=t.indexOf(">",P+3),R=t.substring(P+2,T).replace(/[ \t\n\r]+$/g,""),O=A.pop();T<0?(R=t.substring(P+2).replace(/[\s<].*/,""),s.error("end tag name: "+R+" is not complete:"+O.tagName),T=P+1+R.length):R.match(/\s</)&&(R=R.replace(/[\s<].*/,""),s.error("end tag name: "+R+" maybe not complete"),T=P+1+R.length);var D=O.localNSMap,M=O.tagName==R;if(M||O.tagName&&O.tagName.toLowerCase()==R.toLowerCase()){if(o.endElement(O.uri,O.localName,R),D)for(var I in D)Object.prototype.hasOwnProperty.call(D,I)&&o.endPrefixMapping(I);M||s.fatalError("end tag name: "+R+" is not match the current start tagName:"+O.tagName)}else A.push(O);T++;break;case"?":S&&w(P),T=g(t,P,o);break;case"!":S&&w(P),T=m(t,P,o,s);break;default:S&&w(P);var x=new d,_=A[A.length-1].currentNSMap,N=(T=h(t,P,x,_,l,s),x.length);if(!x.closed&&p(t,T,x.tagName,E)&&(x.closed=!0,i.nbsp||s.warning("unclosed xml attribute")),S&&N){for(var j=a(S,{}),B=0;B<N;B++){var U=x[B];w(U.offset),U.locator=a(S,{})}o.locator=j,c(x,o,_)&&A.push(x),o.locator=S}else c(x,o,_)&&A.push(x);e.isHTML(x.uri)&&!x.closed?T=u(t,T,x.tagName,l,o):T++}}catch(t){if(t instanceof n)throw t;s.error("element parse error: "+t),T=-1}T>C?C=T:f(Math.max(P,C)+1)}}(t,r,i,o,this.errorHandler),o.endDocument()}},d.prototype={setTagName:function(t){if(!o.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!o.test(t))throw new Error("invalid attribute:"+t);this.attributeNames[t]=this.length,this[this.length++]={qName:t,value:e,offset:r}},length:0,getLocalName:function(t){return this[t].localName},getLocator:function(t){return this[t].locator},getQName:function(t){return this[t].qName},getURI:function(t){return this[t].uri},getValue:function(t){return this[t].value}},t.XMLReader=s,t.ParseError=n}}),ko=b({"../node_modules/@xmldom/xmldom/lib/dom-parser.js"(t){var e=Eo(),r=Co(),i=Po(),o=Fo(),n=r.DOMImplementation,s=e.NAMESPACE,a=o.ParseError,h=o.XMLReader;function c(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function u(t){this.options=t||{locator:{}}}function p(){this.cdata=!1}function l(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function m(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function g(t,e,r){return"string"==typeof t?t.substr(e,r):t.length>=e+r||e?new java.lang.String(t,e,r)+"":t}function d(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}u.prototype.parseFromString=function(t,e){var r=this.options,o=new h,n=r.domBuilder||new p,a=r.errorHandler,u=r.locator,l=r.xmlns||{},g=/\/x?html?$/.test(e),d=g?i.HTML_ENTITIES:i.XML_ENTITIES;return u&&n.setDocumentLocator(u),o.errorHandler=function(t,e,r){if(!t){if(e instanceof p)return e;t=e}var i={},o=t instanceof Function;function n(e){var n=t[e];!n&&o&&(n=2==t.length?function(r){t(e,r)}:t),i[e]=n&&function(t){n("[xmldom "+e+"]\t"+t+m(r))}||function(){}}return r=r||{},n("warning"),n("error"),n("fatalError"),i}(a,n,u),o.domBuilder=r.domBuilder||n,g&&(l[""]=s.HTML),l.xml=l.xml||s.XML,t&&"string"==typeof t?o.parse((r.normalizeLineEndings||c)(t),l,d):o.errorHandler.error("invalid doc source"),n.doc},p.prototype={startDocument:function(){this.doc=(new n).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,i){var o=this.doc,n=o.createElementNS(t,r||e),s=i.length;d(this,n),this.currentElement=n,this.locator&&l(this.locator,n);for(var a=0;a<s;a++){t=i.getURI(a);var h=i.getValue(a),c=(r=i.getQName(a),o.createAttributeNS(t,r));this.locator&&l(i.getLocator(a),c),c.value=c.nodeValue=h,n.setAttributeNode(c)}},endElement:function(){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(){},endPrefixMapping:function(){},processingInstruction:function(t,e){var r=this.doc.createProcessingInstruction(t,e);this.locator&&l(this.locator,r),d(this,r)},ignorableWhitespace:function(){},characters:function(t,e,r){if(t=g.apply(this,arguments)){if(this.cdata)var i=this.doc.createCDATASection(t);else i=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(i):/^\s*$/.test(t)&&this.doc.appendChild(i),this.locator&&l(this.locator,i)}},skippedEntity:function(){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,r){t=g.apply(this,arguments);var i=this.doc.createComment(t);this.locator&&l(this.locator,i),d(this,i)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,r){var i=this.doc.implementation;if(i&&i.createDocumentType){var o=i.createDocumentType(t,e,r);this.locator&&l(this.locator,o),d(this,o),this.doc.doctype=o}},warning:function(t){console.warn("[xmldom warning]\t"+t,m(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,m(this.locator))},fatalError:function(t){throw new a(t,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(t){p.prototype[t]=function(){return null}})),t.__DOMHandler=p,t.normalizeLineEndings=c,t.DOMParser=u}}),To=b({"../node_modules/@xmldom/xmldom/lib/index.js"(t){var e=Co();t.DOMImplementation=e.DOMImplementation,t.XMLSerializer=e.XMLSerializer,t.DOMParser=ko().DOMParser}}),Ro=b({"../node_modules/solid-namespace/index.js"(t,e){var r={acl:"http://www.w3.org/ns/auth/acl#",arg:"http://www.w3.org/ns/pim/arg#",as:"https://www.w3.org/ns/activitystreams#",cal:"http://www.w3.org/2002/12/cal/ical#",cert:"http://www.w3.org/ns/auth/cert#",contact:"http://www.w3.org/2000/10/swap/pim/contact#",dc:"http://purl.org/dc/elements/1.1/",dct:"http://purl.org/dc/terms/",doap:"http://usefulinc.com/ns/doap#",foaf:"http://xmlns.com/foaf/0.1/",geo:"http://www.w3.org/2003/01/geo/wgs84_pos#",gpx:"http://www.w3.org/ns/pim/gpx#",http:"http://www.w3.org/2007/ont/http#",httph:"http://www.w3.org/2007/ont/httph#",icalTZ:"http://www.w3.org/2002/12/cal/icaltzd#",ldp:"http://www.w3.org/ns/ldp#",link:"http://www.w3.org/2007/ont/link#",log:"http://www.w3.org/2000/10/swap/log#",meeting:"http://www.w3.org/ns/pim/meeting#",mo:"http://purl.org/ontology/mo/",org:"http://www.w3.org/ns/org#",owl:"http://www.w3.org/2002/07/owl#",pad:"http://www.w3.org/ns/pim/pad#",patch:"http://www.w3.org/ns/pim/patch#",prov:"http://www.w3.org/ns/prov#",qu:"http://www.w3.org/2000/10/swap/pim/qif#",trip:"http://www.w3.org/ns/pim/trip#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rss:"http://purl.org/rss/1.0/",sched:"http://www.w3.org/ns/pim/schedule#",schema:"http://schema.org/",sioc:"http://rdfs.org/sioc/ns#",solid:"http://www.w3.org/ns/solid/terms#",space:"http://www.w3.org/ns/pim/space#",stat:"http://www.w3.org/ns/posix/stat#",tab:"http://www.w3.org/2007/ont/link#",tabont:"http://www.w3.org/2007/ont/link#",ui:"http://www.w3.org/ns/ui#",vcard:"http://www.w3.org/2006/vcard/ns#",wf:"http://www.w3.org/2005/01/wf/flow#",xsd:"http://www.w3.org/2001/XMLSchema#",cco:"http://www.ontologyrepository.com/CommonCoreOntologies/"};e.exports=function(t={namedNode:t=>t}){const e={};for(const i in r){const o=r[i];e[i]=function(e=""){return t.namedNode(o+e)}}return e}}}),Oo=b({"../node_modules/url/node_modules/punycode/punycode.js"(t,e){!function(r){var i="object"==typeof t&&t&&!t.nodeType&&t,o="object"==typeof e&&e&&!e.nodeType&&e,n="object"==typeof global&&global;n.global!==n&&n.window!==n&&n.self!==n||(r=n);var s,a,h=2147483647,c=36,u=/^xn--/,p=/[^\x20-\x7E]/,l=/[\x2E\u3002\uFF0E\uFF61]/g,m={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},g=Math.floor,d=String.fromCharCode;function f(t){throw RangeError(m[t])}function w(t,e){for(var r=t.length,i=[];r--;)i[r]=e(t[r]);return i}function v(t,e){var r=t.split("@"),i="";return r.length>1&&(i=r[0]+"@",t=r[1]),i+w((t=t.replace(l,".")).split("."),e).join(".")}function y(t){for(var e,r,i=[],o=0,n=t.length;o<n;)(e=t.charCodeAt(o++))>=55296&&e<=56319&&o<n?56320==(64512&(r=t.charCodeAt(o++)))?i.push(((1023&e)<<10)+(1023&r)+65536):(i.push(e),o--):i.push(e);return i}function b(t){return w(t,(function(t){var e="";return t>65535&&(e+=d((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+d(t)})).join("")}function S(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function A(t,e,r){var i=0;for(t=r?g(t/700):t>>1,t+=g(t/e);t>455;i+=c)t=g(t/35);return g(i+36*t/(t+38))}function E(t){var e,r,i,o,n,s,a,u,p,l,m,d=[],w=t.length,v=0,y=128,S=72;for((r=t.lastIndexOf("-"))<0&&(r=0),i=0;i<r;++i)t.charCodeAt(i)>=128&&f("not-basic"),d.push(t.charCodeAt(i));for(o=r>0?r+1:0;o<w;){for(n=v,s=1,a=c;o>=w&&f("invalid-input"),((u=(m=t.charCodeAt(o++))-48<10?m-22:m-65<26?m-65:m-97<26?m-97:c)>=c||u>g((h-v)/s))&&f("overflow"),v+=u*s,!(u<(p=a<=S?1:a>=S+26?26:a-S));a+=c)s>g(h/(l=c-p))&&f("overflow"),s*=l;S=A(v-n,e=d.length+1,0==n),g(v/e)>h-y&&f("overflow"),y+=g(v/e),v%=e,d.splice(v++,0,y)}return b(d)}function C(t){var e,r,i,o,n,s,a,u,p,l,m,w,v,b,E,C=[];for(w=(t=y(t)).length,e=128,r=0,n=72,s=0;s<w;++s)(m=t[s])<128&&C.push(d(m));for(i=o=C.length,o&&C.push("-");i<w;){for(a=h,s=0;s<w;++s)(m=t[s])>=e&&m<a&&(a=m);for(a-e>g((h-r)/(v=i+1))&&f("overflow"),r+=(a-e)*v,e=a,s=0;s<w;++s)if((m=t[s])<e&&++r>h&&f("overflow"),m==e){for(u=r,p=c;!(u<(l=p<=n?1:p>=n+26?26:p-n));p+=c)C.push(d(S(l+(E=u-l)%(b=c-l),0))),u=g(E/b);C.push(d(S(u,0))),n=A(r,v,i==o),r=0,++i}++r,++e}return C.join("")}if(s={version:"1.3.2",ucs2:{decode:y,encode:b},decode:E,encode:C,toASCII:function(t){return v(t,(function(t){return p.test(t)?"xn--"+C(t):t}))},toUnicode:function(t){return v(t,(function(t){return u.test(t)?E(t.slice(4).toLowerCase()):t}))}},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",(function(){return s}));else if(i&&o)if(e.exports==i)o.exports=s;else for(a in s)s.hasOwnProperty(a)&&(i[a]=s[a]);else r.punycode=s}(t)}}),Do=b({"../node_modules/url/util.js"(t,e){e.exports={isString:function(t){return"string"==typeof t},isObject:function(t){return"object"==typeof t&&null!==t},isNull:function(t){return null===t},isNullOrUndefined:function(t){return null==t}}}}),Mo=b({"../node_modules/querystring/decode.js"(t,e){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,i,o){i=i||"=";var n={};if("string"!=typeof t||0===t.length)return n;var s=/\+/g;t=t.split(e=e||"&");var a=1e3;o&&"number"==typeof o.maxKeys&&(a=o.maxKeys);var h=t.length;a>0&&h>a&&(h=a);for(var c=0;c<h;++c){var u,p,l,m,g=t[c].replace(s,"%20"),d=g.indexOf(i);d>=0?(u=g.substr(0,d),p=g.substr(d+1)):(u=g,p=""),l=decodeURIComponent(u),m=decodeURIComponent(p),r(n,l)?Array.isArray(n[l])?n[l].push(m):n[l]=[n[l],m]:n[l]=m}return n}}}),Io=b({"../node_modules/querystring/encode.js"(t,e){var r=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};e.exports=function(t,e,i,o){return e=e||"&",i=i||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(o){var n=encodeURIComponent(r(o))+i;return Array.isArray(t[o])?t[o].map((function(t){return n+encodeURIComponent(r(t))})).join(e):n+encodeURIComponent(r(t[o]))})).join(e):o?encodeURIComponent(r(o))+i+encodeURIComponent(r(t)):""}}}),xo=b({"../node_modules/querystring/index.js"(t){t.decode=t.parse=Mo(),t.encode=t.stringify=Io()}}),_o=b({"../node_modules/url/url.js"(t){var e=Oo(),r=Do();function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}t.parse=w,t.resolve=function(t,e){return w(t,!1,!0).resolve(e)},t.resolveObject=function(t,e){return t?w(t,!1,!0).resolveObject(e):e},t.format=function(t){return r.isString(t)&&(t=w(t)),t instanceof i?t.format():i.prototype.format.call(t)},t.Url=i;var o=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),h=["'"].concat(a),c=["%","/","?",";","#"].concat(h),u=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,l=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},d={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},f=xo();function w(t,e,o){if(t&&r.isObject(t)&&t instanceof i)return t;var n=new i;return n.parse(t,e,o),n}i.prototype.parse=function(t,i,n){if(!r.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var a=t.indexOf("?"),w=-1!==a&&a<t.indexOf("#")?"?":"#",v=t.split(w);v[0]=v[0].replace(/\\/g,"/");var y=t=v.join(w);if(y=y.trim(),!n&&1===t.split("#").length){var b=s.exec(y);if(b)return this.path=y,this.href=y,this.pathname=b[1],b[2]?(this.search=b[2],this.query=i?f.parse(this.search.substr(1)):this.search.substr(1)):i&&(this.search="",this.query={}),this}var S=o.exec(y);if(S){var A=(S=S[0]).toLowerCase();this.protocol=A,y=y.substr(S.length)}if(n||S||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===y.substr(0,2);!E||S&&g[S]||(y=y.substr(2),this.slashes=!0)}if(!g[S]&&(E||S&&!d[S])){for(var C,P,F=-1,k=0;k<u.length;k++)-1!==(T=y.indexOf(u[k]))&&(-1===F||T<F)&&(F=T);for(-1!==(P=-1===F?y.lastIndexOf("@"):y.lastIndexOf("@",F))&&(C=y.slice(0,P),y=y.slice(P+1),this.auth=decodeURIComponent(C)),F=-1,k=0;k<c.length;k++){var T;-1!==(T=y.indexOf(c[k]))&&(-1===F||T<F)&&(F=T)}-1===F&&(F=y.length),this.host=y.slice(0,F),y=y.slice(F),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var O=this.hostname.split(/\./),D=(k=0,O.length);k<D;k++){var M=O[k];if(M&&!M.match(p)){for(var I="",x=0,_=M.length;x<_;x++)M.charCodeAt(x)>127?I+="x":I+=M[x];if(!I.match(p)){var N=O.slice(0,k),j=O.slice(k+1),B=M.match(l);B&&(N.push(B[1]),j.unshift(B[2])),j.length&&(y="/"+j.join(".")+y),this.hostname=N.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),R||(this.hostname=e.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,R&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==y[0]&&(y="/"+y))}if(!m[A])for(k=0,D=h.length;k<D;k++){var U=h[k];if(-1!==y.indexOf(U)){var L=encodeURIComponent(U);L===U&&(L=escape(U)),y=y.split(U).join(L)}}var H=y.indexOf("#");-1!==H&&(this.hash=y.substr(H),y=y.slice(0,H));var W=y.indexOf("?");return-1!==W?(this.search=y.substr(W),this.query=y.substr(W+1),i&&(this.query=f.parse(this.query)),y=y.slice(0,W)):i&&(this.search="",this.query={}),y&&(this.pathname=y),d[A]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},i.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",i=this.pathname||"",o=this.hash||"",n=!1,s="";this.host?n=t+this.host:this.hostname&&(n=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(s=f.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||d[e])&&!1!==n?(n="//"+(n||""),i&&"/"!==i.charAt(0)&&(i="/"+i)):n||(n=""),o&&"#"!==o.charAt(0)&&(o="#"+o),a&&"?"!==a.charAt(0)&&(a="?"+a),e+n+(i=i.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+o},i.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},i.prototype.resolveObject=function(t){if(r.isString(t)){var e=new i;e.parse(t,!1,!0),t=e}for(var o=new i,n=Object.keys(this),s=0;s<n.length;s++){var a=n[s];o[a]=this[a]}if(o.hash=t.hash,""===t.href)return o.href=o.format(),o;if(t.slashes&&!t.protocol){for(var h=Object.keys(t),c=0;c<h.length;c++){var u=h[c];"protocol"!==u&&(o[u]=t[u])}return d[o.protocol]&&o.hostname&&!o.pathname&&(o.path=o.pathname="/"),o.href=o.format(),o}if(t.protocol&&t.protocol!==o.protocol){if(!d[t.protocol]){for(var p=Object.keys(t),l=0;l<p.length;l++){var m=p[l];o[m]=t[m]}return o.href=o.format(),o}if(o.protocol=t.protocol,t.host||g[t.protocol])o.pathname=t.pathname;else{for(var f=(t.pathname||"").split("/");f.length&&!(t.host=f.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),o.pathname=f.join("/")}return o.search=t.search,o.query=t.query,o.host=t.host||"",o.auth=t.auth,o.hostname=t.hostname||t.host,o.port=t.port,(o.pathname||o.search)&&(o.path=(o.pathname||"")+(o.search||"")),o.slashes=o.slashes||t.slashes,o.href=o.format(),o}var w=o.pathname&&"/"===o.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=v||w||o.host&&t.pathname,b=y,S=o.pathname&&o.pathname.split("/")||[],A=(f=t.pathname&&t.pathname.split("/")||[],o.protocol&&!d[o.protocol]);if(A&&(o.hostname="",o.port=null,o.host&&(""===S[0]?S[0]=o.host:S.unshift(o.host)),o.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===f[0]?f[0]=t.host:f.unshift(t.host)),t.host=null),y=y&&(""===f[0]||""===S[0])),v)o.host=t.host||""===t.host?t.host:o.host,o.hostname=t.hostname||""===t.hostname?t.hostname:o.hostname,o.search=t.search,o.query=t.query,S=f;else if(f.length)S||(S=[]),S.pop(),S=S.concat(f),o.search=t.search,o.query=t.query;else if(!r.isNullOrUndefined(t.search))return A&&(o.hostname=o.host=S.shift(),(k=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=k.shift(),o.host=o.hostname=k.shift())),o.search=t.search,o.query=t.query,r.isNull(o.pathname)&&r.isNull(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.href=o.format(),o;if(!S.length)return o.pathname=null,o.path=o.search?"/"+o.search:null,o.href=o.format(),o;for(var E=S.slice(-1)[0],C=(o.host||t.host||S.length>1)&&("."===E||".."===E)||""===E,P=0,F=S.length;F>=0;F--)"."===(E=S[F])?S.splice(F,1):".."===E?(S.splice(F,1),P++):P&&(S.splice(F,1),P--);if(!y&&!b)for(;P--;P)S.unshift("..");!y||""===S[0]||S[0]&&"/"===S[0].charAt(0)||S.unshift(""),C&&"/"!==S.join("/").substr(-1)&&S.push("");var k,T=""===S[0]||S[0]&&"/"===S[0].charAt(0);return A&&(o.hostname=o.host=T?"":S.length?S.shift():"",(k=!!(o.host&&o.host.indexOf("@")>0)&&o.host.split("@"))&&(o.auth=k.shift(),o.host=o.hostname=k.shift())),(y=y||o.host&&S.length)&&!T&&S.unshift(""),S.length?o.pathname=S.join("/"):(o.pathname=null,o.path=null),r.isNull(o.pathname)&&r.isNull(o.search)||(o.path=(o.pathname?o.pathname:"")+(o.search?o.search:"")),o.auth=t.auth||o.auth,o.slashes=o.slashes||t.slashes,o.href=o.format(),o},i.prototype.parseHost=function(){var t=this.host,e=n.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}}}),No=b({"../node_modules/@frogcat/ttl2jsonld/ttl2jsonld.js"(t,e){var r,i;r=t,i=function(){function t(e,r,i,o){this.message=e,this.expected=r,this.found=i,this.location=o,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}return function(t,e){function r(){this.constructor=t}r.prototype=e.prototype,t.prototype=new r}(t,Error),t.buildMessage=function(t,e){var r,i={literal:function(t){return'"'+n(t.text)+'"'},class:function(t){var e,r="";for(e=0;e<t.parts.length;e++)r+=t.parts[e]instanceof Array?s(t.parts[e][0])+"-"+s(t.parts[e][1]):s(t.parts[e]);return"["+(t.inverted?"^":"")+r+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(t){return t.description}};function o(t){return t.charCodeAt(0).toString(16).toUpperCase()}function n(t){return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+o(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+o(t)}))}function s(t){return t.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,(function(t){return"\\x0"+o(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+o(t)}))}return"Expected "+function(t){var e,r,o,n=new Array(t.length);for(e=0;e<t.length;e++)n[e]=i[(o=t[e]).type](o);if(n.sort(),n.length>0){for(e=1,r=1;e<n.length;e++)n[e-1]!==n[e]&&(n[r]=n[e],r++);n.length=r}switch(n.length){case 1:return n[0];case 2:return n[0]+" or "+n[1];default:return n.slice(0,-1).join(", ")+", or "+n[n.length-1]}}(t)+" but "+((r=e)?'"'+n(r)+'"':"end of input")+" found."},{SyntaxError:t,parse:function(e,r){r=void 0!==r?r:{};var i,o={},n={turtleDoc:Me},s=Me,a=".",h=ke(".",!1),c=ke("#",!1),u=/^[^\n]/,p=Te(["\n"],!0,!1),l=ke("\n",!1),m=function(t){return t.join("")},g="@prefix",d=ke("@prefix",!1),f=function(t,e){return ar.addPrefix(""===t?"0":t,e),{}},w="@base",v=ke("@base",!1),y=function(t){return ar.addBase(t),{}},b=/^[Bb]/,S=Te(["B","b"],!1,!1),A=/^[Aa]/,E=Te(["A","a"],!1,!1),C=/^[Ss]/,P=Te(["S","s"],!1,!1),F=/^[Ee]/,k=Te(["E","e"],!1,!1),T=/^[Pp]/,R=Te(["P","p"],!1,!1),O=/^[Rr]/,D=Te(["R","r"],!1,!1),M=/^[Ff]/,I=Te(["F","f"],!1,!1),x=/^[Ii]/,_=Te(["I","i"],!1,!1),N=/^[Xx]/,j=Te(["X","x"],!1,!1),B=ke(";",!1),U=function(t,e,r,i){var o={};return o[r]=i,o},L=function(t,e,r){return r},H=ke(",",!1),W=function(t,e){return e},V=ke("a",!1),q=ke("[",!1),G=ke("]",!1),K=ke("(",!1),J=ke(")",!1),z=ke("^^",!1),$="true",X=ke("true",!1),Q="false",Y=ke("false",!1),Z=ke("<",!1),tt=/^[^\0- <>"{}|\^`\\]/,et=Te([["\0"," "],"<",">",'"',"{","}","|","^","`","\\"],!0,!1),rt=ke(">",!1),it=":",ot=ke(":",!1),nt=ke("_:",!1),st=/^[0-9]/,at=Te([["0","9"]],!1,!1),ht=ke("@",!1),ct=/^[a-zA-Z]/,ut=Te([["a","z"],["A","Z"]],!1,!1),pt=ke("-",!1),lt=/^[a-zA-Z0-9]/,mt=Te([["a","z"],["A","Z"],["0","9"]],!1,!1),gt=function(t,e){return"-"+e.join("")},dt=/^[+\-]/,ft=Te(["+","-"],!1,!1),wt=/^[eE]/,vt=Te(["e","E"],!1,!1),yt='"',bt=ke('"',!1),St=/^[^"\\\n\r]/,At=Te(['"',"\\","\n","\r"],!0,!1),Et="'",Ct=ke("'",!1),Pt=/^[^'\\\n\r]/,Ft=Te(["'","\\","\n","\r"],!0,!1),kt="'''",Tt=ke("'''",!1),Rt=/^[^'\\]/,Ot=Te(["'","\\"],!0,!1),Dt="''",Mt=ke("''",!1),It=function(t,e){return"''"+e.join("")},xt=function(t,e){return"'"+e.join("")},_t=function(t,e){return t.join("")+e.join("")},Nt='"""',jt=ke('"""',!1),Bt=/^[^"\\]/,Ut=Te(['"',"\\"],!0,!1),Lt='""',Ht=ke('""',!1),Wt=function(t,e){return'""'+e.join("")},Vt=function(t,e){return'"'+e.join("")},qt=ke("\\U",!1),Gt=ke("\\u",!1),Kt=ke("\\t",!1),Jt=ke("\\b",!1),zt=ke("\\n",!1),$t=ke("\\r",!1),Xt=ke("\\f",!1),Qt=ke('\\"',!1),Yt=ke("\\'",!1),Zt=ke("\\\\",!1),te=/^[ \t\r\n]/,ee=Te([" ","\t","\r","\n"],!1,!1),re=/^[\uD800-\uDBFF]/,ie=Te([["\ud800","\udbff"]],!1,!1),oe=/^[\uDC00-\uDFFF]/,ne=Te([["\udc00","\udfff"]],!1,!1),se=/^[A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,ae=Te([["A","Z"],["a","z"],["À","Ö"],["Ø","ö"],["ø","˿"],["Ͱ","ͽ"],["Ϳ","῿"],["‌","‍"],["⁰","↏"],["Ⰰ","⿯"],["、","퟿"],["豈","﷏"],["ﷰ","�"]],!1,!1),he=ke("_",!1),ce=ke("·",!1),ue=/^[\u0300-\u036F]/,pe=Te([["̀","ͯ"]],!1,!1),le=/^[\u203F-\u2040]/,me=Te([["‿","⁀"]],!1,!1),ge=function(t,e,r,i){return r.join("")+i.join("")},de=ke("%",!1),fe=/^[0-9A-Fa-f]/,we=Te([["0","9"],["A","F"],["a","f"]],!1,!1),ve=ke("\\",!1),ye=/^[_~.!$&'()*+,;=\/?#@%\-]/,be=Te(["_","~",".","!","$","&","'","(",")","*","+",",",";","=","/","?","#","@","%","-"],!1,!1),Se=0,Ae=0,Ee=[{line:1,column:1}],Ce=0,Pe=[];if("startRule"in r){if(!(r.startRule in n))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=n[r.startRule]}function Fe(e,r){throw function(e,r){return new t(e,null,null,r)}(e,r=void 0!==r?r:Oe(Ae,Se))}function ke(t,e){return{type:"literal",text:t,ignoreCase:e}}function Te(t,e,r){return{type:"class",parts:t,inverted:e,ignoreCase:r}}function Re(t){var r,i=Ee[t];if(i)return i;for(r=t-1;!Ee[r];)r--;for(i={line:(i=Ee[r]).line,column:i.column};r<t;)10===e.charCodeAt(r)?(i.line++,i.column=1):i.column++,r++;return Ee[t]=i,i}function Oe(t,e){var r=Re(t),i=Re(e);return{start:{offset:t,line:r.line,column:r.column},end:{offset:e,line:i.line,column:i.column}}}function De(t){Se<Ce||(Se>Ce&&(Ce=Se,Pe=[]),Pe.push(t))}function Me(){var t,e,r,i,n,s;for(t=Se,e=[],r=Ie();r!==o;)e.push(r),r=Ie();if(e!==o){for(r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o?(Ae=t,n=e,(s=ar.toJSON())["@graph"]=[],n.filter((t=>Array.isArray(t))).forEach((t=>{t.forEach((t=>{s["@graph"].push(t)}))})),1===s["@graph"].length&&(Object.assign(s,s["@graph"][0]),delete s["@graph"]),t=e=s):(Se=t,t=o)}else Se=t,t=o;return t}function Ie(){var t,r,i,n;if(t=function(){var t;return t=function(){var t,r,i,n,s,c,u,p,l;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(e.substr(Se,7)===g?(i=g,Se+=7):(i=o,De(d)),i!==o){for(n=[],s=xe();s!==o;)n.push(s),s=xe();if(n!==o)if((s=Ke())!==o){for(c=[],u=xe();u!==o;)c.push(u),u=xe();if(c!==o)if((u=qe())!==o){for(p=[],l=xe();l!==o;)p.push(l),l=xe();p!==o?(46===e.charCodeAt(Se)?(l=a,Se++):(l=o,De(h)),l!==o?(Ae=t,t=r=f(s,u)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o}else Se=t,t=o;else Se=t,t=o}else Se=t,t=o;else Se=t,t=o;return t}(),t===o&&(t=function(){var t,r,i,n,s,c,u;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(e.substr(Se,5)===w?(i=w,Se+=5):(i=o,De(v)),i!==o){for(n=[],s=xe();s!==o;)n.push(s),s=xe();if(n!==o)if((s=qe())!==o){for(c=[],u=xe();u!==o;)c.push(u),u=xe();c!==o?(46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h)),u!==o?(Ae=t,t=r=y(s)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o}else Se=t,t=o;else Se=t,t=o;return t}(),t===o&&(t=function(){var t,r,i,n,s,a,h,c,u,p,l,m;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(T.test(e.charAt(Se))?(i=e.charAt(Se),Se++):(i=o,De(R)),i!==o)if(O.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(D)),n!==o)if(F.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=o,De(k)),s!==o)if(M.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(I)),a!==o)if(x.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=o,De(_)),h!==o)if(N.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(j)),c!==o){for(u=[],p=xe();p!==o;)u.push(p),p=xe();if(u!==o)if((p=Ke())!==o){for(l=[],m=xe();m!==o;)l.push(m),m=xe();l!==o&&(m=qe())!==o?(Ae=t,t=r=f(p,m)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o}else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;return t}(),t===o&&(t=function(){var t,r,i,n,s,a,h,c;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(b.test(e.charAt(Se))?(i=e.charAt(Se),Se++):(i=o,De(S)),i!==o)if(A.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(E)),n!==o)if(C.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=o,De(P)),s!==o)if(F.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(k)),a!==o){for(h=[],c=xe();c!==o;)h.push(c),c=xe();h!==o&&(c=qe())!==o?(Ae=t,t=r=y(c)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;return t}()))),t}(),t===o)if(t=Se,r=function(){var t,e,r,i,n,s;return t=Se,e=function(){var t,e;return t=Se,(e=Le())!==o&&(Ae=t,e=hr(e,!0)),(t=e)===o&&(t=Ve())===o&&(t=We()),t}(),e!==o&&(r=_e())!==o?(Ae=t,n=r,s={},"string"==typeof(i=e)&&"[]"!==i?s["@id"]=i:"object"==typeof i&&Object.assign(s,i),n&&Object.assign(s,n),t=e=[s]):(Se=t,t=o),t===o&&(t=Se,(e=Ue())!==o?((r=_e())===o&&(r=null),r!==o?(Ae=t,e=function(t,e){var r={};return t&&Object.assign(r,t),e&&Object.assign(r,e),[r]}(e,r),t=e):(Se=t,t=o)):(Se=t,t=o)),t}(),r!==o){for(i=[],n=xe();n!==o;)i.push(n),n=xe();i!==o?(46===e.charCodeAt(Se)?(n=a,Se++):(n=o,De(h)),n!==o?(Ae=t,t=r):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}function xe(){var t;return(t=function(){var t;return te.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(ee)),t}())===o&&(t=function(){var t,r,i,n;if(t=Se,35===e.charCodeAt(Se)?(r="#",Se++):(r=o,De(c)),r!==o){for(i=[],u.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(p));n!==o;)i.push(n),u.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(p));i!==o?(10===e.charCodeAt(Se)?(n="\n",Se++):(n=o,De(l)),n!==o?(Ae=t,t=r=m(i)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}()),t}function _e(){var t,r,i,n,s,a,h,c,u,p,l,m,g;if(t=Se,(r=je())!==o)if((i=Ne())!==o){for(n=[],s=Se,a=[],h=xe();h!==o;)a.push(h),h=xe();for(a!==o?(59===e.charCodeAt(Se)?(h=";",Se++):(h=o,De(B)),h!==o?(c=Se,(u=je())!==o&&(p=Ne())!==o?(Ae=c,c=u=U(0,0,u,p)):(Se=c,c=o),c===o&&(c=null),c!==o?(Ae=s,s=a=L(0,0,c)):(Se=s,s=o)):(Se=s,s=o)):(Se=s,s=o);s!==o;){for(n.push(s),s=Se,a=[],h=xe();h!==o;)a.push(h),h=xe();a!==o?(59===e.charCodeAt(Se)?(h=";",Se++):(h=o,De(B)),h!==o?(c=Se,(u=je())!==o&&(p=Ne())!==o?(Ae=c,c=u=U(0,0,u,p)):(Se=c,c=o),c===o&&(c=null),c!==o?(Ae=s,s=a=L(0,0,c)):(Se=s,s=o)):(Se=s,s=o)):(Se=s,s=o)}n!==o?(Ae=t,m={},(l=n).unshift(((g={})[r]=i,g)),l.forEach((t=>{t&&Object.keys(t).forEach((e=>{t[e].forEach((t=>{"@type"===e&&void 0!==t["@id"]&&(t=t["@id"]),void 0===m[e]?m[e]=t:Array.isArray(m[e])?m[e].push(t):m[e]=[m[e],t]}))}))})),t=r=m):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o;return t}function Ne(){var t,r,i,n,s,a,h,c;if(t=Se,(r=Be())!==o){for(i=[],n=Se,s=[],a=xe();a!==o;)s.push(a),a=xe();for(s!==o?(44===e.charCodeAt(Se)?(a=",",Se++):(a=o,De(H)),a!==o&&(h=Be())!==o?(Ae=n,n=s=W(0,h)):(Se=n,n=o)):(Se=n,n=o);n!==o;){for(i.push(n),n=Se,s=[],a=xe();a!==o;)s.push(a),a=xe();s!==o?(44===e.charCodeAt(Se)?(a=",",Se++):(a=o,De(H)),a!==o&&(h=Be())!==o?(Ae=n,n=s=W(0,h)):(Se=n,n=o)):(Se=n,n=o)}i!==o?(Ae=t,(c=i).unshift(r),t=r=c):(Se=t,t=o)}else Se=t,t=o;return t}function je(){var t,r,i;if(t=Se,r=function(){var t,e,r;for(t=Se,e=[],r=xe();r!==o;)e.push(r),r=xe();return e!==o&&(r=We())!==o?(Ae=t,t=e=r):(Se=t,t=o),t}(),r!==o&&(Ae=t),(t=r)===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o?(97===e.charCodeAt(Se)?(i="a",Se++):(i=o,De(V)),i!==o?(Ae=t,t=r="@type"):(Se=t,t=o)):(Se=t,t=o)}return t}function Be(){var t,r,i;return t=function(){var t;return t=function(){var t,r,i,n,s,a,h;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if((i=He())!==o){for(n=[],s=xe();s!==o;)n.push(s),s=xe();n!==o?(s=function(){var t,r,i,n,s,a,h,c,u;if(t=Se,64===e.charCodeAt(Se)?(r="@",Se++):(r=o,De(ht)),r!==o){if(i=[],ct.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ut)),n!==o)for(;n!==o;)i.push(n),ct.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ut));else i=o;if(i!==o){if(n=[],s=Se,45===e.charCodeAt(Se)?(a="-",Se++):(a=o,De(pt)),a!==o){if(h=[],lt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(mt)),c!==o)for(;c!==o;)h.push(c),lt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(mt));else h=o;h!==o?(Ae=s,s=a=gt(0,h)):(Se=s,s=o)}else Se=s,s=o;for(;s!==o;)if(n.push(s),s=Se,45===e.charCodeAt(Se)?(a="-",Se++):(a=o,De(pt)),a!==o){if(h=[],lt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(mt)),c!==o)for(;c!==o;)h.push(c),lt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(mt));else h=o;h!==o?(Ae=s,s=a=gt(0,h)):(Se=s,s=o)}else Se=s,s=o;n!==o?(Ae=t,u=n,t=r=i.join("")+u.join("")):(Se=t,t=o)}else Se=t,t=o}else Se=t,t=o;return t}(),s!==o?(Ae=t,t=r={"@value":i,"@language":s}):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o;if(t===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if((i=He())!==o){for(n=[],s=xe();s!==o;)n.push(s),s=xe();if(n!==o)if("^^"===e.substr(Se,2)?(s="^^",Se+=2):(s=o,De(z)),s!==o){for(a=[],h=xe();h!==o;)a.push(h),h=xe();a!==o&&(h=We())!==o?(Ae=t,t=r=function(t,e){if("http://www.w3.org/2001/XMLSchema#boolean"===e&&"true"===t)return!0;if("http://www.w3.org/2001/XMLSchema#boolean"===e&&"false"===t)return!1;if("http://www.w3.org/2001/XMLSchema#integer"===e)return parseInt(t);if("http://www.w3.org/2001/XMLSchema#double"===e)return parseFloat(t);const r=ar.resolve(e,!0);if(r){const i=e.split(":")[0];if("http://www.w3.org/2001/XMLSchema#boolean"===r&&"true"===t)return ar.decrement(i),!0;if("http://www.w3.org/2001/XMLSchema#boolean"===r&&"false"===t)return ar.decrement(i),!1;if("http://www.w3.org/2001/XMLSchema#integer"===r)return ar.decrement(i),parseInt(t);if("http://www.w3.org/2001/XMLSchema#double"===r)return ar.decrement(i),parseFloat(t)}return{"@value":t,"@type":e}}(i,h)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o}else Se=t,t=o;else Se=t,t=o;if(t===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o&&(i=He())!==o?(Ae=t,t=r=i):(Se=t,t=o)}}return t}(),t===o&&(t=function(){var t,r,i;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();return r!==o?(i=function(){var t,r,i,n,s,c,u,p,l;if(t=Se,r=Se,i=Se,dt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ft)),n===o&&(n=null),n!==o){if(s=Se,c=[],st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=o,De(at)),u!==o)for(;u!==o;)c.push(u),st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=o,De(at));else c=o;if(c!==o)if(46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h)),u!==o){for(p=[],st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=o,De(at));l!==o;)p.push(l),st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=o,De(at));p!==o&&(l=Je())!==o?s=c=[c,u,p,l]:(Se=s,s=o)}else Se=s,s=o;else Se=s,s=o;if(s===o){if(s=Se,46===e.charCodeAt(Se)?(c=a,Se++):(c=o,De(h)),c!==o){if(u=[],st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=o,De(at)),p!==o)for(;p!==o;)u.push(p),st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=o,De(at));else u=o;u!==o&&(p=Je())!==o?s=c=[c,u,p]:(Se=s,s=o)}else Se=s,s=o;if(s===o){if(s=Se,c=[],st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=o,De(at)),u!==o)for(;u!==o;)c.push(u),st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=o,De(at));else c=o;c!==o&&(u=Je())!==o?s=c=[c,u]:(Se=s,s=o)}}s!==o?i=n=[n,s]:(Se=i,i=o)}else Se=i,i=o;return(r=i!==o?e.substring(r,Se):i)!==o&&(Ae=t,r={"@value":r,"@type":"http://www.w3.org/2001/XMLSchema#double"}),r}(),i===o&&(i=function(){var t,r,i,n,s,c,u,p;if(t=Se,r=Se,i=Se,dt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ft)),n===o&&(n=null),n!==o){for(s=[],st.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(at));c!==o;)s.push(c),st.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(at));if(s!==o)if(46===e.charCodeAt(Se)?(c=a,Se++):(c=o,De(h)),c!==o){if(u=[],st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=o,De(at)),p!==o)for(;p!==o;)u.push(p),st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=o,De(at));else u=o;u!==o?i=n=[n,s,c,u]:(Se=i,i=o)}else Se=i,i=o;else Se=i,i=o}else Se=i,i=o;return(r=i!==o?e.substring(r,Se):i)!==o&&(Ae=t,r={"@value":r,"@type":"http://www.w3.org/2001/XMLSchema#decimal"}),r}(),i===o&&(i=function(){var t,r,i,n,s,a,h;if(t=Se,r=Se,i=Se,dt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ft)),n===o&&(n=null),n!==o){if(s=[],st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(at)),a!==o)for(;a!==o;)s.push(a),st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(at));else s=o;s!==o?i=n=[n,s]:(Se=i,i=o)}else Se=i,i=o;return(r=i!==o?e.substring(r,Se):i)!==o&&(Ae=t,r=(h=r).match(/^[0+][0-9]+$/)?{"@value":h,"@type":"http://www.w3.org/2001/XMLSchema#integer"}:parseInt(h)),r}())),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o),t}(),t===o&&(t=function(){var t,r,i;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o?(e.substr(Se,4)===$?(i=$,Se+=4):(i=o,De(X)),i!==o?(Ae=t,t=r=!0):(Se=t,t=o)):(Se=t,t=o),t===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o?(e.substr(Se,5)===Q?(i=Q,Se+=5):(i=o,De(Y)),i!==o?(Ae=t,t=r=!1):(Se=t,t=o)):(Se=t,t=o)}return t}())),t}(),t===o&&(t=Se,(r=Le())!==o&&(Ae=t,r=hr(r,!1)),(t=r)===o&&(t=Se,(r=Ve())!==o&&(Ae=t,r="[]"===(i=r)?{}:{"@id":i}),(t=r)===o&&(t=Se,(r=Ue())!==o&&(Ae=t),(t=r)===o&&(t=Se,(r=We())!==o&&(Ae=t,r=function(t){return{"@id":t}}(r)),t=r)))),t}function Ue(){var t,r,i,n,s,a;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(91===e.charCodeAt(Se)?(i="[",Se++):(i=o,De(q)),i!==o)if((n=_e())!==o){for(s=[],a=xe();a!==o;)s.push(a),a=xe();s!==o?(93===e.charCodeAt(Se)?(a="]",Se++):(a=o,De(G)),a!==o?(Ae=t,t=r=n):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;else Se=t,t=o;else Se=t,t=o;return t}function Le(){var t,r,i,n,s,a;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o)if(40===e.charCodeAt(Se)?(i="(",Se++):(i=o,De(K)),i!==o){for(n=[],s=Be();s!==o;)n.push(s),s=Be();if(n!==o){for(s=[],a=xe();a!==o;)s.push(a),a=xe();s!==o?(41===e.charCodeAt(Se)?(a=")",Se++):(a=o,De(J)),a!==o?(Ae=t,t=r={"@list":n}):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o}else Se=t,t=o;else Se=t,t=o;return t}function He(){var t,r,i;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();return r!==o?(i=function(){var t,r,i,n,s,a,h,c;if(t=Se,e.substr(Se,3)===kt?(r=kt,Se+=3):(r=o,De(Tt)),r!==o){for(i=[],Rt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ot)),n===o&&(n=$e())===o&&(n=ze());n!==o;)i.push(n),Rt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ot)),n===o&&(n=$e())===o&&(n=ze());if(i!==o){if(n=[],s=Se,e.substr(Se,2)===Dt?(a=Dt,Se+=2):(a=o,De(Mt)),a!==o){if(h=[],Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=It(0,h)):(Se=s,s=o)}else Se=s,s=o;if(s===o)if(s=Se,39===e.charCodeAt(Se)?(a=Et,Se++):(a=o,De(Ct)),a!==o){if(h=[],Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=xt(0,h)):(Se=s,s=o)}else Se=s,s=o;for(;s!==o;){if(n.push(s),s=Se,e.substr(Se,2)===Dt?(a=Dt,Se+=2):(a=o,De(Mt)),a!==o){if(h=[],Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=It(0,h)):(Se=s,s=o)}else Se=s,s=o;if(s===o)if(s=Se,39===e.charCodeAt(Se)?(a=Et,Se++):(a=o,De(Ct)),a!==o){if(h=[],Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Rt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ot)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=xt(0,h)):(Se=s,s=o)}else Se=s,s=o}n!==o?(e.substr(Se,3)===kt?(s=kt,Se+=3):(s=o,De(Tt)),s!==o?(Ae=t,t=r=_t(i,n)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o}else Se=t,t=o;return t}(),i===o&&(i=function(){var t,r,i,n,s,a,h,c;if(t=Se,e.substr(Se,3)===Nt?(r=Nt,Se+=3):(r=o,De(jt)),r!==o){for(i=[],Bt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ut)),n===o&&(n=$e())===o&&(n=ze());n!==o;)i.push(n),Bt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ut)),n===o&&(n=$e())===o&&(n=ze());if(i!==o){if(n=[],s=Se,e.substr(Se,2)===Lt?(a=Lt,Se+=2):(a=o,De(Ht)),a!==o){if(h=[],Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=Wt(0,h)):(Se=s,s=o)}else Se=s,s=o;if(s===o)if(s=Se,34===e.charCodeAt(Se)?(a=yt,Se++):(a=o,De(bt)),a!==o){if(h=[],Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=Vt(0,h)):(Se=s,s=o)}else Se=s,s=o;for(;s!==o;){if(n.push(s),s=Se,e.substr(Se,2)===Lt?(a=Lt,Se+=2):(a=o,De(Ht)),a!==o){if(h=[],Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=Wt(0,h)):(Se=s,s=o)}else Se=s,s=o;if(s===o)if(s=Se,34===e.charCodeAt(Se)?(a=yt,Se++):(a=o,De(bt)),a!==o){if(h=[],Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze()),c!==o)for(;c!==o;)h.push(c),Bt.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=o,De(Ut)),c===o&&(c=$e())===o&&(c=ze());else h=o;h!==o?(Ae=s,s=a=Vt(0,h)):(Se=s,s=o)}else Se=s,s=o}n!==o?(e.substr(Se,3)===Nt?(s=Nt,Se+=3):(s=o,De(jt)),s!==o?(Ae=t,t=r=_t(i,n)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o}else Se=t,t=o;return t}(),i===o&&(i=function(){var t,r,i,n;if(t=Se,39===e.charCodeAt(Se)?(r=Et,Se++):(r=o,De(Ct)),r!==o){for(i=[],Pt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ft)),n===o&&(n=$e())===o&&(n=ze());n!==o;)i.push(n),Pt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(Ft)),n===o&&(n=$e())===o&&(n=ze());i!==o?(39===e.charCodeAt(Se)?(n=Et,Se++):(n=o,De(Ct)),n!==o?(Ae=t,t=r=m(i)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}(),i===o&&(i=function(){var t,r,i,n;if(t=Se,34===e.charCodeAt(Se)?(r=yt,Se++):(r=o,De(bt)),r!==o){for(i=[],St.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(At)),n===o&&(n=$e())===o&&(n=ze());n!==o;)i.push(n),St.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(At)),n===o&&(n=$e())===o&&(n=ze());i!==o?(34===e.charCodeAt(Se)?(n=yt,Se++):(n=o,De(bt)),n!==o?(Ae=t,t=r=m(i)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}()))),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o),t}function We(){var t,r,i;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o&&(i=qe())!==o?(Ae=t,t=r=i):(Se=t,t=o),t===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o?(i=function(){var t,r;return t=function(){var t,r,i,n,s;return t=Se,(r=Ge())!==o?(i=function(){var t,r,i,n,s,c,u,p,l;if(t=Se,(r=Qe())===o&&(58===e.charCodeAt(Se)?(r=it,Se++):(r=o,De(ot)),r===o&&(st.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=o,De(at)),r===o&&(r=tr()))),r!==o){for(i=[],(n=Ye())===o&&(58===e.charCodeAt(Se)?(n=it,Se++):(n=o,De(ot)),n===o&&(n=tr()));n!==o;)i.push(n),(n=Ye())===o&&(58===e.charCodeAt(Se)?(n=it,Se++):(n=o,De(ot)),n===o&&(n=tr()));if(i!==o){if(n=[],s=Se,c=[],46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h)),u!==o)for(;u!==o;)c.push(u),46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h));else c=o;if(c!==o){if(u=[],(p=Ye())===o&&(58===e.charCodeAt(Se)?(p=it,Se++):(p=o,De(ot)),p===o&&(p=tr())),p!==o)for(;p!==o;)u.push(p),(p=Ye())===o&&(58===e.charCodeAt(Se)?(p=it,Se++):(p=o,De(ot)),p===o&&(p=tr()));else u=o;u!==o?(Ae=s,s=c=ge(0,0,c,u)):(Se=s,s=o)}else Se=s,s=o;for(;s!==o;){if(n.push(s),s=Se,c=[],46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h)),u!==o)for(;u!==o;)c.push(u),46===e.charCodeAt(Se)?(u=a,Se++):(u=o,De(h));else c=o;if(c!==o){if(u=[],(p=Ye())===o&&(58===e.charCodeAt(Se)?(p=it,Se++):(p=o,De(ot)),p===o&&(p=tr())),p!==o)for(;p!==o;)u.push(p),(p=Ye())===o&&(58===e.charCodeAt(Se)?(p=it,Se++):(p=o,De(ot)),p===o&&(p=tr()));else u=o;u!==o?(Ae=s,s=c=ge(0,0,c,u)):(Se=s,s=o)}else Se=s,s=o}n!==o?(Ae=t,l=n,t=r=r+i.join("")+l.join("")):(Se=t,t=o)}else Se=t,t=o}else Se=t,t=o;return t}(),i!==o?(Ae=t,s=i,ar.increment(n=r),t=r=ar.resolve(n+":"+s)):(Se=t,t=o)):(Se=t,t=o),t}(),t===o&&(t=Se,(r=Ge())!==o&&(Ae=t,r+=":"),t=r),t}(),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o)}return t}function Ve(){var t,r,i;for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();if(r!==o?(i=function(){var t,r,i,n,s,c,u,p,l,m;if(t=Se,r=Se,"_:"===e.substr(Se,2)?(i="_:",Se+=2):(i=o,De(nt)),i!==o)if((n=Qe())===o&&(st.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(at))),n!==o){for(s=[],c=Ye();c!==o;)s.push(c),c=Ye();if(s!==o){if(c=[],u=Se,p=[],46===e.charCodeAt(Se)?(l=a,Se++):(l=o,De(h)),l!==o)for(;l!==o;)p.push(l),46===e.charCodeAt(Se)?(l=a,Se++):(l=o,De(h));else p=o;if(p!==o){if(l=[],(m=Ye())!==o)for(;m!==o;)l.push(m),m=Ye();else l=o;l!==o?u=p=[p,l]:(Se=u,u=o)}else Se=u,u=o;for(;u!==o;){if(c.push(u),u=Se,p=[],46===e.charCodeAt(Se)?(l=a,Se++):(l=o,De(h)),l!==o)for(;l!==o;)p.push(l),46===e.charCodeAt(Se)?(l=a,Se++):(l=o,De(h));else p=o;if(p!==o){if(l=[],(m=Ye())!==o)for(;m!==o;)l.push(m),m=Ye();else l=o;l!==o?u=p=[p,l]:(Se=u,u=o)}else Se=u,u=o}c!==o?r=i=[i,n,s,c]:(Se=r,r=o)}else Se=r,r=o}else Se=r,r=o;else Se=r,r=o;return r!==o?e.substring(t,Se):r}(),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o),t===o){for(t=Se,r=[],i=xe();i!==o;)r.push(i),i=xe();r!==o?(i=function(){var t,r,i,n;if(t=Se,91===e.charCodeAt(Se)?(r="[",Se++):(r=o,De(q)),r!==o){for(i=[],n=xe();n!==o;)i.push(n),n=xe();i!==o?(93===e.charCodeAt(Se)?(n="]",Se++):(n=o,De(G)),n!==o?(Ae=t,t=r="[]"):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}(),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o)}return t}function qe(){var t,r,i,n;if(t=Se,60===e.charCodeAt(Se)?(r="<",Se++):(r=o,De(Z)),r!==o){for(i=[],tt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(et)),n===o&&(n=ze());n!==o;)i.push(n),tt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(et)),n===o&&(n=ze());i!==o?(62===e.charCodeAt(Se)?(n=">",Se++):(n=o,De(rt)),n!==o?(Ae=t,t=r=function(t){const e=t.map((t=>65536<=t.codePointAt(0)&&t.codePointAt(0)<=983039?"a":1===t.length?t:6===t.length?String.fromCharCode("0x"+t.substring(2)):10===t.length?String.fromCodePoint("0x"+t.substring(2)):t)).join("");if(e.match(/^[^\u0000-\u0020<>"{}|^`\\]*$/)){var r=t.join("");try{return ar.resolve(r)}catch(t){Fe("Invalid IRIREF "+r)}}else Fe("Invalid IRIREF "+t.join("")+" / "+e)}(i)):(Se=t,t=o)):(Se=t,t=o)}else Se=t,t=o;return t}function Ge(){var t,r,i,n;return t=Se,(r=Ze())===o&&(r=null),r!==o?(58===e.charCodeAt(Se)?(i=it,Se++):(i=o,De(ot)),i!==o?(Ae=t,!1===ar.hasPrefix(n=(n=r)||"0")&&Fe("undefined prefix "+n),t=r=n):(Se=t,t=o)):(Se=t,t=o),t}function Ke(){var t,r,i;return t=Se,(r=Ze())===o&&(r=null),r!==o?(58===e.charCodeAt(Se)?(i=it,Se++):(i=o,De(ot)),i!==o?(Ae=t,t=r=r||""):(Se=t,t=o)):(Se=t,t=o),t}function Je(){var t,r,i,n,s,a;if(t=Se,r=Se,wt.test(e.charAt(Se))?(i=e.charAt(Se),Se++):(i=o,De(vt)),i!==o)if(dt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=o,De(ft)),n===o&&(n=null),n!==o){if(s=[],st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(at)),a!==o)for(;a!==o;)s.push(a),st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=o,De(at));else s=o;s!==o?r=i=[i,n,s]:(Se=r,r=o)}else Se=r,r=o;else Se=r,r=o;return r!==o?e.substring(t,Se):r}function ze(){var t,r,i,n,s,a,h,c,u,p,l;return t=Se,"\\U"===e.substr(Se,2)?(r="\\U",Se+=2):(r=o,De(qt)),r!==o?(i=Se,(n=er())!==o&&(s=er())!==o&&(a=er())!==o&&(h=er())!==o&&(c=er())!==o&&(u=er())!==o&&(p=er())!==o&&(l=er())!==o?i=n=[n,s,a,h,c,u,p,l]:(Se=i,i=o),i!==o?(Ae=t,t=r=String.fromCodePoint(parseInt(i.join(""),16))):(Se=t,t=o)):(Se=t,t=o),t===o&&(t=Se,"\\u"===e.substr(Se,2)?(r="\\u",Se+=2):(r=o,De(Gt)),r!==o?(i=Se,(n=er())!==o&&(s=er())!==o&&(a=er())!==o&&(h=er())!==o?i=n=[n,s,a,h]:(Se=i,i=o),i!==o?(Ae=t,t=r=String.fromCharCode(parseInt(i.join(""),16))):(Se=t,t=o)):(Se=t,t=o)),t}function $e(){var t,r;return t=Se,"\\t"===e.substr(Se,2)?(r="\\t",Se+=2):(r=o,De(Kt)),r!==o&&(Ae=t,r="\t"),(t=r)===o&&(t=Se,"\\b"===e.substr(Se,2)?(r="\\b",Se+=2):(r=o,De(Jt)),r!==o&&(Ae=t,r="\b"),(t=r)===o&&(t=Se,"\\n"===e.substr(Se,2)?(r="\\n",Se+=2):(r=o,De(zt)),r!==o&&(Ae=t,r="\n"),(t=r)===o&&(t=Se,"\\r"===e.substr(Se,2)?(r="\\r",Se+=2):(r=o,De($t)),r!==o&&(Ae=t,r="\r"),(t=r)===o&&(t=Se,"\\f"===e.substr(Se,2)?(r="\\f",Se+=2):(r=o,De(Xt)),r!==o&&(Ae=t,r="\f"),(t=r)===o&&(t=Se,'\\"'===e.substr(Se,2)?(r='\\"',Se+=2):(r=o,De(Qt)),r!==o&&(Ae=t,r='"'),(t=r)===o&&(t=Se,"\\'"===e.substr(Se,2)?(r="\\'",Se+=2):(r=o,De(Yt)),r!==o&&(Ae=t,r="'"),(t=r)===o&&(t=Se,"\\\\"===e.substr(Se,2)?(r="\\\\",Se+=2):(r=o,De(Zt)),r!==o&&(Ae=t,r="\\"),t=r))))))),t}function Xe(){var t,r,i;return t=Se,re.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=o,De(ie)),r!==o?(oe.test(e.charAt(Se))?(i=e.charAt(Se),Se++):(i=o,De(ne)),i!==o?(Ae=t,t=r+=i):(Se=t,t=o)):(Se=t,t=o),t===o&&(se.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(ae))),t}function Qe(){var t;return(t=Xe())===o&&(95===e.charCodeAt(Se)?(t="_",Se++):(t=o,De(he))),t}function Ye(){var t;return(t=Qe())===o&&(45===e.charCodeAt(Se)?(t="-",Se++):(t=o,De(pt)),t===o&&(st.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(at)),t===o&&(183===e.charCodeAt(Se)?(t="·",Se++):(t=o,De(ce)),t===o&&(ue.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(pe)),t===o&&(le.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(me))))))),t}function Ze(){var t,r,i,n,s,c,u,p,l;if(t=Se,r=Se,(i=Xe())!==o){for(n=[],s=Ye();s!==o;)n.push(s),s=Ye();if(n!==o){if(s=[],c=Se,u=[],46===e.charCodeAt(Se)?(p=a,Se++):(p=o,De(h)),p!==o)for(;p!==o;)u.push(p),46===e.charCodeAt(Se)?(p=a,Se++):(p=o,De(h));else u=o;if(u!==o){if(p=[],(l=Ye())!==o)for(;l!==o;)p.push(l),l=Ye();else p=o;p!==o?c=u=[u,p]:(Se=c,c=o)}else Se=c,c=o;for(;c!==o;){if(s.push(c),c=Se,u=[],46===e.charCodeAt(Se)?(p=a,Se++):(p=o,De(h)),p!==o)for(;p!==o;)u.push(p),46===e.charCodeAt(Se)?(p=a,Se++):(p=o,De(h));else u=o;if(u!==o){if(p=[],(l=Ye())!==o)for(;l!==o;)p.push(l),l=Ye();else p=o;p!==o?c=u=[u,p]:(Se=c,c=o)}else Se=c,c=o}s!==o?r=i=[i,n,s]:(Se=r,r=o)}else Se=r,r=o}else Se=r,r=o;return r!==o?e.substring(t,Se):r}function tr(){var t;return(t=function(){var t,r,i,n,s;return t=Se,r=Se,37===e.charCodeAt(Se)?(i="%",Se++):(i=o,De(de)),i!==o&&(n=er())!==o&&(s=er())!==o?r=i=[i,n,s]:(Se=r,r=o),r!==o?e.substring(t,Se):r}())===o&&(t=function(){var t,r,i;return t=Se,92===e.charCodeAt(Se)?(r="\\",Se++):(r=o,De(ve)),r!==o?(ye.test(e.charAt(Se))?(i=e.charAt(Se),Se++):(i=o,De(be)),i!==o?(Ae=t,t=r=i):(Se=t,t=o)):(Se=t,t=o),t}()),t}function er(){var t;return fe.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=o,De(we)),t}var rr,ir,or,nr=new Function("try {return this===window;}catch(e){ return false;}")()?window.URL:_o().URL,sr=function(t){return t.match(/^[a-z](.*?):(.+?)/g)},ar={base:[],data:{},addBase:function(t){if(0===ar.base.length)return void ar.base.push(t);const e=ar.base[ar.base.length-1];e!==t&&ar.base.push(new nr(t,e).toString())},addPrefix:function(t,e){const r=ar.data[t];void 0===r?ar.data[t]=[{uri:e,count:0}]:r[r.length-1].uri!==e&&r.push({uri:e,count:0})},hasPrefix:function(t){return void 0!==this.data[t]},resolve:function(t,e){const i=Object.keys(ar.data).find((e=>0===t.indexOf(e+":")));if(void 0!==i){const r=ar.data[i];return 1===r.length&&!0!==e&&sr(r[0].uri)?t:t.replace(i+":",r[r.length-1].uri)}var o=0===ar.base.length?r.baseIRI:ar.base[ar.base.length-1];return!o||t.match(/^(http:|https:|urn:|file:)/)?t:0===t.indexOf("//")&&o?o.split("//")[0]+t:new nr(t,o).toString()},increment:function(t){const e=ar.data[t];void 0!==e&&e[e.length-1].count++},decrement:function(t){const e=ar.data[t];void 0!==e&&e[e.length-1].count--},toJSON:function(){const t={};return ar.base.length>0&&(void 0===t["@context"]&&(t["@context"]={}),t["@context"]["@base"]=ar.base[0]),Object.keys(ar.data).forEach((e=>{const r=ar.data[e][0];"http://www.w3.org/2001/XMLSchema#"===r.uri&&r.count<1||sr(r.uri)&&(void 0===t["@context"]&&(t["@context"]={}),t["@context"][e]=r.uri)})),t}};function hr(t,e){if(void 0===t["@list"])return t;if(!e&&!t["@list"].find((t=>void 0!==t["@list"])))return t;if(0===t["@list"].length)return{"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"};var r={},i=null;return t["@list"].forEach((t=>{null===i?i=r:(i["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={},i=i["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]),i["http://www.w3.org/1999/02/22-rdf-syntax-ns#first"]=hr(t,!0),i["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={"@id":"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"}})),r}if((i=s())!==o&&Se===e.length)return i;throw i!==o&&Se<e.length&&De({type:"end"}),rr=Pe,ir=Ce<e.length?e.charAt(Ce):null,or=Oe(Ce,Ce<e.length?Ce+1:Ce),new t(t.buildMessage(rr,ir),rr,ir,or)}}},"function"==typeof define&&define.amd?define([],i):"object"==typeof e&&e.exports?e.exports=i():r.ttl2jsonld=i()}}),jo=b({"../node_modules/queue-microtask/index.js"(t,e){var r;e.exports="function"==typeof queueMicrotask?queueMicrotask.bind("undefined"!=typeof window?window:global):t=>(r||(r=Promise.resolve())).then(t).catch((t=>setTimeout((()=>{throw t}),0)))}}),Bo=E(yo());function Uo(t){return(Uo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lo(t){var e=function(t){if("object"!==Uo(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==Uo(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Uo(e)?e:String(e)}function Ho(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Lo(i.key),i)}}function Wo(t,e,r){return e&&Ho(t.prototype,e),r&&Ho(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Vo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Go(t,e){return(Go=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Ko(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Go(t,e)}function Jo(t,e){if(e&&("object"===Uo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return qo(t)}function zo(t){return(zo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function $o(t,e,r){return(e=Lo(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Xo={Literal:1,Collection:3,Graph:4,NamedNode:5,BlankNode:6,Variable:7},Qo=function(){function t(e){Vo(this,t),$o(this,"termType",void 0),$o(this,"classOrder",void 0),$o(this,"value",void 0),this.value=e}return Wo(t,[{key:"substitute",value:function(){return console.log("@@@ node substitute"+this),this}},{key:"compareTerm",value:function(t){return this.classOrder<t.classOrder?-1:this.classOrder>t.classOrder?1:this.value<t.value?-1:this.value>t.value?1:0}},{key:"equals",value:function(t){return!!t&&this.termType===t.termType&&this.value===t.value}},{key:"hashString",value:function(){return this.toCanonical()}},{key:"sameTerm",value:function(t){return this.equals(t)}},{key:"toCanonical",value:function(){return this.toNT()}},{key:"toNT",value:function(){return this.toString()}},{key:"toNQ",value:function(){return this.toNT()}},{key:"toString",value:function(){throw new Error("Node.toString() is abstract - see the subclasses instead")}}]),t}();$o(Qo,"fromValue",void 0),$o(Qo,"toJS",void 0);var Yo="NamedNode",Zo="BlankNode",tn="Literal",en="Variable",rn="DefaultGraph",on="Collection",nn="Empty",sn="Graph",an="text/html",hn="application/ld+json",cn="text/n3",un="application/nquads",pn="application/n-quads",ln="application/rdf+xml",mn="application/sparql-update",gn="application/sparql-update-single-match",dn="text/turtle",fn="application/xhtml+xml";var wn=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(t){var e;return Vo(this,i),$o(qo(e=r.call(this,i.getId(t))),"termType",Zo),$o(qo(e),"classOrder",Xo.BlankNode),$o(qo(e),"isBlank",1),$o(qo(e),"isVar",1),e}return Wo(i,[{key:"id",get:function(){return this.value},set:function(t){this.value=t}},{key:"compareTerm",value:function(t){return this.classOrder<t.classOrder?-1:this.classOrder>t.classOrder?1:this.id<t.id?-1:this.id>t.id?1:0}},{key:"copy",value:function(t){var e=new i;return t.copyTo(this,e),e}},{key:"toCanonical",value:function(){return i.NTAnonymousNodePrefix+this.value}},{key:"toString",value:function(){return i.NTAnonymousNodePrefix+this.id}}],[{key:"getId",value:function(t){if(t){if("string"!=typeof t)throw console.log("Bad blank id:",t),new Error("Bad id argument to new blank node: "+t);if(t.includes("#")){var e=t.split("#");return e[e.length-1]}return t}return"n"+i.nextId++}}]),i}();function vn(t){return"string"==typeof t?t:t.value}function yn(t){return"object"===Uo(t)&&null!==t&&"subject"in t}function bn(t){return"object"===Uo(t)&&null!==t&&"statements"in t}function Sn(t){return Pn(t)&&t.termType===on}function An(t){return t&&Object.prototype.hasOwnProperty.call(t,"termType")&&(t.termType===Yo||t.termType===en||t.termType===Zo||t.termType===on||t.termType===tn||t.termType===sn)}function En(t){return t&&Object.prototype.hasOwnProperty.call(t,"termType")&&(t.termType===Yo||t.termType===en||t.termType===Zo||t.termType===on||t.termType===tn||t.termType===sn)}function Cn(t){return Pn(t)&&(t.termType===Yo||t.termType===Zo||t.termType===en)}function Pn(t){return"object"===Uo(t)&&null!==t&&"termType"in t}function Fn(t){return t.termType===tn}function kn(t){return"object"===Uo(t)&&null!==t&&"subject"in t&&"predicate"in t&&"object"in t}function Tn(t){return Pn(t)&&"NamedNode"===t.termType}function Rn(t){return Pn(t)&&"termType"in t&&"BlankNode"===t.termType}function On(t){return Pn(t)&&(t.termType===Yo||t.termType===en||t.termType===Zo||t.termType===rn)}$o(wn,"nextId",0),$o(wn,"NTAnonymousNodePrefix","_:");var Dn=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(t){var e;if(Vo(this,i),$o(qo(e=r.call(this,vn(t))),"termType",Yo),$o(qo(e),"classOrder",Xo.NamedNode),!e.value)throw new Error("Missing IRI for NamedNode");if(!e.value.includes(":"))throw new Error('NamedNode IRI "'+t+'" must be absolute.');if(e.value.includes(" "))throw new Error('Error: NamedNode IRI "'+t+'" must not contain unencoded spaces.');return e}return Wo(i,[{key:"dir",value:function(){var t=this.value.split("#")[0],e=t.slice(0,-1).lastIndexOf("/"),r=t.indexOf("//");return r>=0&&e<r+2||e<0?null:new i(t.slice(0,e+1))}},{key:"site",value:function(){var t=this.value.split("#")[0],e=t.indexOf("//");if(e<0)throw new Error("This URI does not have a web site part (origin)");var r=t.indexOf("/",e+2);return new i(r<0?t.slice(0)+"/":t.slice(0,r+1))}},{key:"doc",value:function(){return this.value.indexOf("#")<0?this:new i(this.value.split("#")[0])}},{key:"toString",value:function(){return"<"+this.value+">"}},{key:"id",value:function(){return this.value.split("#")[1]}},{key:"uri",get:function(){return this.value},set:function(t){this.value=t}}],[{key:"fromValue",value:function(t){return null==t||Pn(t)?t:new i(t)}}]),i}(),Mn={boolean:new Dn("http://www.w3.org/2001/XMLSchema#boolean"),dateTime:new Dn("http://www.w3.org/2001/XMLSchema#dateTime"),decimal:new Dn("http://www.w3.org/2001/XMLSchema#decimal"),double:new Dn("http://www.w3.org/2001/XMLSchema#double"),integer:new Dn("http://www.w3.org/2001/XMLSchema#integer"),langString:new Dn("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),string:new Dn("http://www.w3.org/2001/XMLSchema#string")};var In=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(t,e,o){var n;return Vo(this,i),$o(qo(n=r.call(this,t)),"termType",tn),$o(qo(n),"classOrder",Xo.Literal),$o(qo(n),"datatype",Mn.string),$o(qo(n),"isVar",0),$o(qo(n),"language",""),e?(n.language=e,n.datatype=Mn.langString):n.datatype=o?Dn.fromValue(o):Mn.string,n}return Wo(i,[{key:"copy",value:function(){return new i(this.value,this.lang,this.datatype)}},{key:"equals",value:function(t){return!!t&&this.termType===t.termType&&this.value===t.value&&this.language===t.language&&(!this.datatype&&!t.datatype||this.datatype&&this.datatype.equals(t.datatype))}},{key:"lang",get:function(){return this.language},set:function(t){this.language=t||""}},{key:"toNT",value:function(){return i.toNT(this)}},{key:"toString",value:function(){return""+this.value}}],[{key:"toNT",value:function(t){if("number"==typeof t.value)return""+t.value;if("string"!=typeof t.value)throw new Error("Value of RDF literal is not string or number: "+t.value);var e=t.value;return e='"'+(e=(e=(e=(e=e.replace(/\\/g,"\\\\")).replace(/\"/g,'\\"')).replace(/\n/g,"\\n")).replace(/\r/g,"\\r"))+'"',t.language?e+="@"+t.language:t.datatype.equals(Mn.string)||(e+="^^"+t.datatype.toCanonical()),e}},{key:"fromBoolean",value:function(t){return new i(t?"1":"0",null,Mn.boolean)}},{key:"fromDate",value:function(t){if(!(t instanceof Date))throw new TypeError("Invalid argument to Literal.fromDate()");var e=function(t){return(""+(100+t)).slice(1,3)};return new i(t.getUTCFullYear()+"-"+e(t.getUTCMonth()+1)+"-"+e(t.getUTCDate())+"T"+e(t.getUTCHours())+":"+e(t.getUTCMinutes())+":"+e(t.getUTCSeconds())+"Z",null,Mn.dateTime)}},{key:"fromNumber",value:function(t){if("number"!=typeof t)throw new TypeError("Invalid argument to Literal.fromNumber()");var e,r=t.toString();return e=r.indexOf("e")<0&&Math.abs(t)<=Number.MAX_SAFE_INTEGER?Number.isInteger(t)?Mn.integer:Mn.decimal:Mn.double,new i(r,null,e)}},{key:"fromValue",value:function(t){if(Fn(t))return t;switch(Uo(t)){case"object":if(t instanceof Date)return i.fromDate(t);case"boolean":return i.fromBoolean(t);case"number":return i.fromNumber(t);case"string":return new i(t)}throw new Error("Can't make literal from "+t+" of type "+Uo(t))}}]),i}();function xn(t){return null==t||Pn(t)?t:Array.isArray(t)?new _n(t):In.fromValue(t)}var _n=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(t){var e;return Vo(this,i),$o(qo(e=r.call(this,(wn.nextId++).toString())),"termType",on),$o(qo(e),"classOrder",Xo.Collection),$o(qo(e),"closed",!1),$o(qo(e),"compareTerm",wn.prototype.compareTerm),$o(qo(e),"elements",[]),$o(qo(e),"isVar",0),t&&t.length>0&&t.forEach((function(t){e.elements.push(xn(t))})),e}return Wo(i,[{key:"id",get:function(){return this.value},set:function(t){this.value=t}},{key:"append",value:function(t){return this.elements.push(t)}},{key:"close",value:function(){return this.closed=!0,this.closed}},{key:"shift",value:function(){return this.elements.shift()}},{key:"substitute",value:function(t){var e=new i;return this.elements.forEach((function(r){e.append(r.substitute(t))})),e}},{key:"toNT",value:function(){return i.toNT(this)}},{key:"toString",value:function(){return"("+this.elements.join(" ")+")"}},{key:"unshift",value:function(t){return this.elements.unshift(t)}}],[{key:"toNT",value:function(t){return wn.NTAnonymousNodePrefix+t.id}}]),i}();function Nn(t,e,r,i,o,n,s){try{var a=t[n](s),h=a.value}catch(t){return void r(t)}a.done?e(h):Promise.resolve(h).then(i,o)}function jn(t){return function(){var e=this,r=arguments;return new Promise((function(i,o){var n=t.apply(e,r);function s(t){Nn(n,i,o,s,a,"next",t)}function a(t){Nn(n,i,o,s,a,"throw",t)}s(void 0)}))}}$o(_n,"termType",on);var Bn=E(Ao()),Un="chrome:theSession";new Dn(Un);var Ln=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(){var t;return Vo(this,i),$o(qo(t=r.call(this,"")),"value",""),$o(qo(t),"termType",rn),$o(qo(t),"uri",Un),t}return Wo(i,[{key:"toCanonical",value:function(){return this.value}},{key:"toString",value:function(){return"DefaultGraph"}}]),i}();function Hn(t){return!!t&&t.termType===rn}var Wn=new Ln,Vn=function(){function t(e,r,i,o){Vo(this,t),$o(this,"subject",void 0),$o(this,"predicate",void 0),$o(this,"object",void 0),$o(this,"graph",void 0),this.subject=Qo.fromValue(e),this.predicate=Qo.fromValue(r),this.object=Qo.fromValue(i),this.graph=null==o?Wn:Qo.fromValue(o)}return Wo(t,[{key:"why",get:function(){return this.graph},set:function(t){this.graph=t}},{key:"equals",value:function(t){return t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}},{key:"substitute",value:function(e){var r=new t(this.subject.substitute(e),this.predicate.substitute(e),this.object.substitute(e),Hn(this.graph)?this.graph:this.graph.substitute(e));return console.log("@@@ statement substitute:"+r),r}},{key:"toCanonical",value:function(){var t=[this.subject.toCanonical(),this.predicate.toCanonical(),this.object.toCanonical()];return this.graph&&this.graph.termType!==rn&&t.push(this.graph.toCanonical()),t.join(" ")+" ."}},{key:"toNT",value:function(){return[this.subject.toNT(),this.predicate.toNT(),this.object.toNT()].join(" ")+" ."}},{key:"toNQ",value:function(){return[this.subject.toNT(),this.predicate.toNT(),this.object.toNT(),Hn(this.graph)?"":this.graph.toNT()].join(" ")+" ."}},{key:"toString",value:function(){return this.toNT()}}]),t}(),qn={};S(qn,{docpart:()=>Kn,document:()=>Jn,hostpart:()=>zn,join:()=>$n,protocol:()=>Xn,refTo:()=>Qn});var Gn=Gn||console.log;function Kn(t){var e;return(e=t.indexOf("#"))<0?t:t.slice(0,e)}function Jn(t){return new Dn(Kn(t))}function zn(t){var e=/[^\/]*\/\/([^\/]*)\//.exec(t);return e?e[1]:""}function $n(t,e){var r,i,o,n,s,a=e.indexOf("#");if(a>0&&(e=e.slice(0,a)),0===t.length)return e;if(0===t.indexOf("#"))return e+t;if(t.indexOf(":")>=0)return t;if(r=e.indexOf(":"),0===e.length)return t;if(r<0)return Gn("Invalid base: "+e+" in join with given: "+t),t;if(i=e.slice(0,+r+1||9e9),0===t.indexOf("//"))return i+t;if(e.indexOf("//",r)===r+1){if((o=e.indexOf("/",r+3))<0)return e.length-r-3>0?e+"/"+t:i+t}else if((o=e.indexOf("/",r+1))<0)return e.length-r-1>0?e+"/"+t:i+t;if(0===t.indexOf("/"))return e.slice(0,o)+t;if((n=(s=e.slice(o)).lastIndexOf("/"))<0)return i+t;for(n>=0&&n<s.length-1&&(s=s.slice(0,+n+1||9e9)),s+=t;s.match(/[^\/]*\/\.\.\//);)s=s.replace(/[^\/]*\/\.\.\//,"");return s=(s=s.replace(/\.\//g,"")).replace(/\/\.$/,"/"),e.slice(0,o)+s}function Xn(t){var e=t.indexOf(":");return e<0?null:t.slice(0,e)}function Qn(t,e){var r,i,o,n,s,a,h,c,u,p,l,m,g=new RegExp("^[-_a-zA-Z0-9.]+:(//[^/]*)?/[^/]*$");if(!t)return e;if(t===e)return"";for(r=h=0,n=e.length;h<n&&e[r]===t[r];r=++h);if(t.slice(0,r).match(g)&&((i=e.indexOf("//"))<0&&(i=-2),o=e.indexOf("/",i+2),"/"!==e[o+1]&&"/"!==t[o+1]&&e.slice(0,o)===t.slice(0,o)))return e.slice(o);if("#"===e[r]&&t.length===r)return e.slice(r);for(;r>0&&"/"!==e[r-1];)r--;if(r<3)return e;if(t.indexOf("//",r-2)>0||e.indexOf("//",r-2)>0)return e;if(t.indexOf(":",r)>0)return e;for(a=0,c=0,s=(p=t.slice(r)).length;c<s;c++)"/"===p[c]&&a++;if(0===a&&r<e.length&&"#"===e[r])return"./"+e.slice(r);if(0===a&&r===e.length)return"./";if(m="",a>0)for(u=1,l=a;l>=1?u<=l:u>=l;l>=1?++u:--u)m+="../";return m+e.slice(r)}var Yn,Zn,ts,es=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Vo(this,i),$o(qo(t=r.call(this,e)),"termType",en),$o(qo(t),"base","varid:"),$o(qo(t),"classOrder",Xo.Variable),$o(qo(t),"isVar",1),$o(qo(t),"uri",void 0),t.base="varid:",t.uri=$n(e,t.base),t}return Wo(i,[{key:"equals",value:function(t){return!!t&&this.termType===t.termType&&this.value===t.value}},{key:"hashString",value:function(){return this.toString()}},{key:"substitute",value:function(t){var e;return null!=(e=t[this.toNT()])?e:this}},{key:"toString",value:function(){return i.toString(this)}}],[{key:"toString",value:function(t){return t.uri.slice(0,t.base.length)===t.base?"?".concat(t.uri.slice(t.base.length)):"?".concat(t.uri)}}]),i}();(Zn=Yn||(Yn={})).collections="COLLECTIONS",Zn.defaultGraphType="DEFAULT_GRAPH_TYPE",Zn.equalsMethod="EQUALS_METHOD",Zn.id="ID",Zn.identity="IDENTITY",Zn.reversibleId="REVERSIBLE_ID",Zn.variableType="VARIABLE_TYPE";var rs=new Ln,is={supports:(ts={},$o(ts,Yn.collections,!1),$o(ts,Yn.defaultGraphType,!1),$o(ts,Yn.equalsMethod,!0),$o(ts,Yn.identity,!1),$o(ts,Yn.id,!0),$o(ts,Yn.reversibleId,!1),$o(ts,Yn.variableType,!0),ts),blankNode:function(t){return new wn(t)},defaultGraph:function(){return rs},equals:function(t,e){return t===e||!t||!e||(kn(t)||kn(e)?!(!kn(t)||!kn(e))&&this.equals(t.subject,e.subject)&&this.equals(t.predicate,e.predicate)&&this.equals(t.object,e.object)&&this.equals(t.graph,e.graph):!(!Pn(t)||!Pn(e))&&this.id(t)===this.id(e))},id:function(t){if(!t)return"undefined";if(kn(t))return this.quadToNQ(t);switch(t.termType){case rn:return"defaultGraph";case en:return es.toString(t);default:var e=this.termToNQ(t);if(e)return e;throw new Error("Can't id term with type '".concat(t.termType,"'"))}},isQuad:function(t){return t instanceof Vn},literal:function(t,e){if("string"!=typeof t&&!e)return In.fromValue(t);var r="string"==typeof t?t:""+t;return"string"==typeof e?-1===e.indexOf(":")?new In(r,e):new In(r,null,this.namedNode(e)):new In(r,null,e)},namedNode:function(t){return new Dn(t)},quad:function(t,e,r,i){return new Vn(t,e,r,i||rs)},triple:function(t,e,r,i){return this.quad(t,e,r,i)},quadToNQ:function(t){return"".concat(this.termToNQ(t.subject)," ").concat(this.termToNQ(t.predicate)," ").concat(this.termToNQ(t.object)," ").concat(this.termToNQ(t.graph)," .")},termToNQ:function(t){var e=this;switch(t.termType){case Zo:return"_:"+t.value;case rn:return"";case nn:return"<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>";case tn:return In.toNT(t);case sn:case Yo:return"<"+t.value+">";case on:return"("+t.elements.map((function(t){return e.termToNQ(t)})).join(" ")+")";default:throw new Error("Can't serialize nonstandard term type (was '".concat(t.termType,"')"))}},toNQ:function(t){return this.isQuad(t)?this.quadToNQ(t):this.termToNQ(t)},variable:function(t){return new es(t)}},os=is,ns=function(){},ss=function(){},as=function(){},hs=function(){};function cs(t,e){var r=e||{namedNode:function(t){return new Dn(t)}};return function(e){return r.namedNode(t+(e||""))}}var us=E(To());function ps(t,e){t.callbacks={};for(var r=e.length-1;r>=0;r--)t.callbacks[e[r]]=[];t.addHook=function(e){t.callbacks[e]||(t.callbacks[e]=[])},t.addCallback=function(e,r){t.callbacks[e].push(r)},t.removeCallback=function(e,r){for(var i=0;i<t.callbacks[e].length;i++)if(t.callbacks[e][i].name===r)return t.callbacks[e].splice(i,1),!0;return!1},t.insertCallback=function(e,r){t.callbacks[e].unshift(r)},t.fireCallbacks=function(e,r){var i,o,n=[],s=[],a=t.callbacks[e].length;for(i=a-1;i>=0;i--)(o=t.callbacks[e][i])&&o.apply(t,r)&&n.push(o);for(i=n.length-1;i>=0;i--)s.push(n[i]);for(i=a;i<t.callbacks[e].length;i++)s.push(t.callbacks[e][i]);t.callbacks[e]=s}}function ls(t,e){var r=[];(e=e||{})&&e.selfClosing&&e.selfClosing.split(" ").forEach((function(t){r[t]=!0}));var i=[];return e&&e.skipAttributes&&e.skipAttributes.split(" ").forEach((function(t){i[t]=!0})),ms(t,e,r,i)}function ms(t,e,r,i){var o,n="",s=[!1];if(void 0===t.nodeType)return n;if(1===t.nodeType){if(t.hasAttribute("class")&&e&&e.classWithChildText&&t.matches(e.classWithChildText.class))n+=t.querySelector(e.classWithChildText.element).textContent;else if(!(e&&e.skipNodeWithClass&&t.matches("."+e.skipNodeWithClass))){var a=t.nodeName.toLowerCase();n+="<"+a;var h=[];for(o=t.attributes.length-1;o>=0;o--){var c=t.attributes[o];if(!(i&&i.length>0&&i[c.name]||/^\d+$/.test(c.name))){if("class"===c.name&&e&&e.replaceClassItemWith&&c.value.split(" ").indexOf(e.replaceClassItemWith.source)>-1){var u=new RegExp(e.replaceClassItemWith.source,"g");c.value=c.value.replace(u,e.replaceClassItemWith.target).trim()}"class"===c.name&&e&&e.skipClassWithValue&&e.skipClassWithValue===c.value||h.push(c.name+"='"+c.value.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&quot;")+"'")}}if(h.length>0&&(e&&e.sortAttributes&&h.sort((function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())})),n+=" "+h.join(" ")),r&&r.ename)n+=" />";else{for(n+=">",n+="html"===a?"\n ":"",s.push("style"===a||"script"===a),o=0;o<t.childNodes.length;o++)n+=ms(t.childNodes[o]);s.pop(),n+="body"===a?"</"+a+">\n":"</"+a+">"}}}else if(8===t.nodeType)n+="\x3c!--"+t.nodeValue+"--\x3e";else if(3===t.nodeType||4===t.nodeType){var p=t.nodeValue.replace(/\n+$/,"");n+=s[s.length-1]?p:p.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}else console.log("Warning; Cannot handle serialising nodes of type: "+t.nodeType),console.log(t);return n}function gs(t,e,r,i){var o=function(t){return"BlankNode"===t.termType?null:t},n=function(t){var e=r.statementsMatching(t).map((function(t){return o(t.subject)+" "+o(t.predicate)+" "+o(t.object)})).concat(r.statementsMatching(void 0,void 0,t).map((function(t){return o(t.subject)+" "+o(t.predicate)+" "+o(t.object)})));return e.sort(),e.join("\n")},s=Object.prototype.hasOwnProperty.call(r,"compareTerms")?r.compareTerms(t,e):t.compareTerm(e);return"BlankNode"===t.termType&&"BlankNode"===e.termType?0===s?0:n(t)>n(e)?1:n(t)<n(e)?-1:s:i&&t.uri&&e.uri?(i[t.uri]||t.uri).localeCompare(i[e.uri]||e.uri):s}function ds(t,e){return e=e||{},"undefined"!=typeof module&&module&&module.exports?(new us.DOMParser).parseFromString(t,e.contentType||"application/xhtml+xml"):("undefined"!=typeof window&&window.DOMParser?new window.DOMParser:new us.DOMParser).parseFromString(t,"application/xml")}function fs(t,e){for(var r=0;r<t.length;r++)if(t[r].subject.equals(e.subject)&&t[r].predicate.equals(e.predicate)&&t[r].object.equals(e.object)&&t[r].why.equals(e.why))return void t.splice(r,1);throw new Error("RDFArrayRemove: Array did not contain "+e+" "+e.why)}function ws(t){var e=t+"\n";if(!t.stack)return e+"No stack available.\n";for(var r=t.stack.toString().split("\n"),i=[],o=0;o<r.length;o++){var n=r[o];if(n.indexOf("ecmaunit.js")>-1)break;"("==n.charAt(0)&&(n="function"+n);var s=n.split("@");i.push(s)}for(o=0;o<i.length;o++)e+=" "+i[o][1]+"\n "+i[o][0];return e}function vs(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:os;return{boolean:t.namedNode("http://www.w3.org/2001/XMLSchema#boolean"),dateTime:t.namedNode("http://www.w3.org/2001/XMLSchema#dateTime"),decimal:t.namedNode("http://www.w3.org/2001/XMLSchema#decimal"),double:t.namedNode("http://www.w3.org/2001/XMLSchema#double"),integer:t.namedNode("http://www.w3.org/2001/XMLSchema#integer"),langString:t.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),string:t.namedNode("http://www.w3.org/2001/XMLSchema#string")}}vs(os);var ys=E(Ro()),bs=E(No());function Ss(t){return new As(t)}var As=function(){function t(e){Vo(this,t),$o(this,"_notQNameChars","\t\r\n !\"#$%&'()*.,+/;<=>?@[\\]^`{|}~"),$o(this,"_notNameChars",this._notQNameChars+":"),$o(this,"validPrefix",new RegExp(/^[a-zA-Z][a-zA-Z0-9]*$/)),$o(this,"forbidden1",new RegExp(/[\\"\b\f\r\v\t\n\u0080-\uffff]/gm)),$o(this,"forbidden3",new RegExp(/[\\"\b\f\r\v\u0080-\uffff]/gm)),this.flags="",this.base=null,this.prefixes=[],this.namespaces=[];var r=Object.keys((0,ys.default)());for(var i in r){var o=(0,ys.default)()[r[i]](""),n=r[i];this.prefixes[o]=n,this.namespaces[n]=o}this.suggestPrefix("rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#"),this.suggestPrefix("xml","reserved:reservedForFutureUse"),this.namespacesUsed=[],this.keywords=["a"],this.prefixchars="abcdefghijklmnopqustuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",this.incoming=null,this.formulas=[],this.store=e,this.rdfFactory=e.rdfFactory||os,this.xsd=vs(this.rdfFactory)}return Wo(t,[{key:"setBase",value:function(t){return this.base=t,this}},{key:"setFlags",value:function(t){return this.flags=t||"",this}},{key:"toStr",value:function(t){var e=t.toNT();return"Graph"===t.termType&&(this.formulas[e]=t),e}},{key:"fromStr",value:function(t){if("{"===t[0]){var e=this.formulas[t];return e||console.log("No formula object for "+t),e}return this.store.fromNT(t)}},{key:"setNamespaces",value:function(t){for(var e in t)this.setPrefix(e,t[e]);return this}},{key:"setPrefix",value:function(t,e){if("default"!==t.slice(0,7)&&"ns"!==t.slice(0,2)&&t&&e){for(var r in this.prefixes)this.prefixes[r]==t&&delete this.prefixes[r];this.prefixes[e]=t,this.namespaces[t]=e}}},{key:"suggestPrefix",value:function(t,e){"default"!==t.slice(0,7)&&"ns"!==t.slice(0,2)&&t&&e&&(t in this.namespaces||e in this.prefixes||(this.prefixes[e]=t,this.namespaces[t]=e))}},{key:"suggestNamespaces",value:function(t){for(var e in t)this.suggestPrefix(e,t[e]);return this}},{key:"checkIntegrity",value:function(){var t,e;for(t in this.namespaces)if(this.prefixes[this.namespaces[t]]!==t)throw new Error("Serializer integity error 1: "+t+", "+this.namespaces[t]+", "+this.prefixes[this.namespaces[t]]+"!");for(e in this.prefixes)if(this.namespaces[this.prefixes[e]]!==e)throw new Error("Serializer integity error 2: "+e+", "+this.prefixs[e]+", "+this.namespaces[this.prefixes[e]]+"!")}},{key:"makeUpPrefix",value:function(t){var e=t,r=function(e){return!!this.validPrefix.test(e)&&"ns"!==e&&!(e in this.namespaces)&&(this.prefixes[t]=e,this.namespaces[e]=t,e)}.bind(this);"#/".indexOf(e[e.length-1])>=0&&(e=e.slice(0,-1));var i=e.lastIndexOf("/");i>=0&&(e=e.slice(i+1));for(var o=0;o<e.length&&this.prefixchars.indexOf(e[o]);)o++;if((e=e.slice(0,o)).length<6&&r(e))return e;if(r(e.slice(0,3)))return e.slice(0,3);if(r(e.slice(0,2)))return e.slice(0,2);if(r(e.slice(0,4)))return e.slice(0,4);if(r(e.slice(0,1)))return e.slice(0,1);if(r(e.slice(0,5)))return e.slice(0,5);this.validPrefix.test(e)||(e="n");for(var n=0;;n++)if(r(e.slice(0,3)+n))return e.slice(0,3)+n}},{key:"rootSubjects",value:function(t){for(var e={},r={},i={},o=0;o<t.length;o++){var n=t[o],s=function(t){e.hasOwnProperty(t)||(e[t]=[]),e[t].push(n.subject)};[n.subject,n.predicate,n.object].map((function(t){"BlankNode"===t.termType?i[t.toNT()]=!0:"Collection"===t.termType&&t.elements.forEach((function(t){s(t)}))})),s(t[o].object);var a=r[this.toStr(n.subject)];a||(a=[]),a.push(n),r[this.toStr(n.subject)]=a}var h=[];for(var c in r)if(r.hasOwnProperty(c)){var u=this.fromStr(c);"BlankNode"===u.termType&&e[u]&&1===e[u].length||h.push(u)}this.incoming=e;for(var p={},l=0;l<h.length;l++)p[h[l].toNT()]=!0;return{roots:h,subjects:r,rootsHash:p,incoming:e}}},{key:"toN3",value:function(t){return this.statementsToN3(t.statements)}},{key:"explicitURI",value:function(t){return"<"+(t=this.flags.indexOf("r")<0&&this.base?Qn(this.base,t):this.flags.indexOf("u")>=0?function(t){for(var e,r="",i=0;i<t.length;i++)r+=(e=t.charCodeAt(i))>65535?"\\U"+("00000000"+e.toString(16)).slice(-8):e>126?"\\u"+("0000"+e.toString(16)).slice(-4):t[i];return r}(t):encodeURI(t))+">"}},{key:"statementsToNTriples",value:function(t){var e=t.slice();e.sort();for(var r="",i="http://www.w3.org/1999/02/22-rdf-syntax-ns#",o=this,n=this.store,s=this.rdfFactory,a=function t(e){if("Collection"!==e.termType)return o.atomicTermToN3(e);for(var a=e.elements,h=n.sym(i+"nill"),c=a.length-1;c>=0;c--){var u=s.blankNode();r+=t(u)+" "+t(n.sym(i+"first"))+" "+t(a[c])+".\n",r+=t(u)+" "+t(n.sym(i+"rest"))+" "+t(h)+".\n",h=u}return o.atomicTermToN3(h)},h=0;h<e.length;h++){var c=e[h],u="";u+=a(c.subject)+" ",u+=a(c.predicate)+" ",u+=a(c.object)+" ",this.flags.indexOf("q")>=0&&(u+=a(c.why)+" "),r+=u+=".\n"}return r}},{key:"statementsToN3",value:function(e){var r=this.store,i={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":"aaa:00"};e.sort((function(t,e){return function(t,e,r,i){return gs(t.subject,e.subject,r,i)||gs(t.predicate,e.predicate,r,i)||gs(t.object,e.object,r,i)}(t,e,r,i)})),this.base&&!this.defaultNamespace&&(this.defaultNamespace=this.base+"#");var o={};this.flags.indexOf("s")<0&&(o["http://www.w3.org/2002/07/owl#sameAs"]="="),this.flags.indexOf("t")<0&&(o["http://www.w3.org/1999/02/22-rdf-syntax-ns#type"]="a"),this.flags.indexOf("i")<0&&(o["http://www.w3.org/2000/10/swap/log#implies"]="=>");var n=function(t){for(var e="",r=0;r<t;r++)e+=" ";return e},s=function t(e){for(var r="",i=0;i<e.length;i++){var o=e[i],n="string"==typeof o?o:t(o);if(0!==i){var s=r.slice(-1)||" ";","===n||";"===n||("."!==n||"0123456789.:".includes(s))&&(r+=" ")}r+=n}return r},a=function(t){for(var e=this.rootSubjects(t),r=e.roots,i=[],o=0;o<r.length;o++)i.push(h(r[o],e));return i}.bind(this);function h(t,e){return"BlankNode"!==t.termType||e.incoming[t]?[p(t,e)].concat([c(t,e)]).concat(["."]):u(t,e,!0).concat(["."])}var c=function(t,e){var r=[],i=null,n=e.subjects[this.toStr(t)]||[];if(void 0===n)throw new Error("Cant find statements for "+t);for(var s=[],a=0;a<n.length;a++){var h=n[a];h.predicate.uri===i?s.push(","):(i&&(r=r.concat([s]).concat([";"]),s=[]),r.push(o[h.predicate.uri]?o[h.predicate.uri]:p(h.predicate,e))),i=h.predicate.uri,s.push(u(h.object,e))}return r.concat([s])}.bind(this),u=function(t,e,r){return"BlankNode"!==t.termType||!r&&void 0!==e.rootsHash[t.toNT()]?p(t,e):e.subjects[this.toStr(t)]?["[",c(t,e),"]"]:"[]"}.bind(this);t.prototype.termToN3=p;var p=function(t,e){var r,i;switch(t.termType){case"Graph":return(i=(i=["{"]).concat(a(t.statements))).concat(["}"]);case"Collection":for(i=["("],r=0;r<t.elements.length;r++)i.push([u(t.elements[r],e)]);return i.push(")"),i;default:return this.atomicTermToN3(t)}}.bind(this),l=function(){var t="";for(var e in this.flags.indexOf("d")<0&&this.defaultNamespace&&(t+="@prefix : "+this.explicitURI(this.defaultNamespace)+".\n"),this.prefixes)this.prefixes.hasOwnProperty(e)&&this.namespacesUsed[e]&&(t+="@prefix "+this.prefixes[e]+": "+this.explicitURI(e)+".\n");return t+"\n"}.bind(this),m=a(e);return l()+function t(e,r){var i="",o=1e5;void 0===r&&(r=-1);for(var a=0;a<e.length;a++){var h=e[a];if("string"!=typeof h){var c=t(h,r+1);if(c.length<10*(80-4*r)&&c.indexOf('"""')<0){var u=s(h);u.length<80-4*r&&(h=u,c="")}c&&(o=1e4),i+=c}if("string"==typeof h){if(1===h.length&&"\n"===i.slice(-1)&&",.;".indexOf(h)>=0){i=i.slice(0,-1),"."==h&&"0123456789.:".includes(i.charAt(i.length-1))&&(i+=" ",o+=1),i+=h+"\n",o+=1;continue}if(o<4*r+4||o+h.length+1<80&&";.".indexOf(i[i.length-2])<0)i=i.slice(0,-1)+" "+h+"\n",o+=h.length+1;else{var p=n(4*r)+h;i+=p+"\n",o=p.length,r<0&&(i+="\n",o=1e5)}}}return i}(m)}},{key:"atomicTermToN3",value:function(t,e){switch(t.termType){case"BlankNode":case"Variable":return t.toNT();case"Literal":var r=t.value;if("string"!=typeof r)throw new TypeError("Value of RDF literal node must be a string");if(t.datatype&&this.flags.indexOf("x")<0)switch(t.datatype.uri){case"http://www.w3.org/2001/XMLSchema#integer":return r;case"http://www.w3.org/2001/XMLSchema#decimal":return r.indexOf(".")<0&&(r+=".0"),r;case"http://www.w3.org/2001/XMLSchema#double":var i=r.toLowerCase().indexOf("e")>0;return r.indexOf(".")<0&&!i&&(r+=".0"),i||(r+="e0"),r;case"http://www.w3.org/2001/XMLSchema#boolean":return"1"===t.value?"true":"false"}var o=this.stringToN3(t.value);return t.language?o+="@"+t.language:t.datatype.equals(this.xsd.string)||(o+="^^"+this.atomicTermToN3(t.datatype,e)),o;case"NamedNode":return this.symbolToN3(t);case"DefaultGraph":return"";default:throw new Error("Internal: atomicTermToN3 cannot handle "+t+" of termType: "+t.termType)}}},{key:"stringToN3",value:function(t,e){e||(e="e");var r,i,o,n,s,a="";for(t.length>20&&'"'!==t.slice(-1)&&e.indexOf("n")<0&&(t.indexOf("\n")>0||t.indexOf('"')>0)?(n='"""',s=this.forbidden3):(n='"',s=this.forbidden1),r=0;r<t.length&&(s.lastIndex=0,null!=s.exec(t.slice(r)));){a+=t.slice(r,i=r+s.lastIndex-1);var h=t[i];'"'===h&&'"""'===n&&'"""'!==t.slice(i,i+3)?a+=h:(o='\b\f\r\t\v\n\\"'.indexOf(h))>=0?a+="\\"+'bfrtvn\\"'[o]:e.indexOf("e")>=0?a+="\\u"+("000"+h.charCodeAt(0).toString(16).toLowerCase()).slice(-4):a+=h,r=i+1}return n+a+t.slice(r)+n}},{key:"symbolToN3",value:function(t){var e=t.uri,r=e.indexOf("#");if(r<0&&this.flags.indexOf("/")<0&&(r=e.lastIndexOf("/")),r>=0&&this.flags.indexOf("p")<0&&(0===e.indexOf("http")||0===e.indexOf("ws")||0===e.indexOf("file"))){for(var i=!0,o=r+1;o<e.length;o++)if(this._notNameChars.indexOf(e[o])>=0){i=!1;break}if(i){var n=e.slice(r+1),s=e.slice(0,r+1);if(this.defaultNamespace&&this.defaultNamespace===s&&this.flags.indexOf("d")<0)return this.flags.indexOf("k")>=0&&this.keyords.indexOf(n)<0?n:":"+n;var a=this.prefixes[s];if(a||(a=this.makeUpPrefix(s)),a)return this.namespacesUsed[s]=!0,a+":"+n}}return this.explicitURI(e)}},{key:"writeStore",value:function(t){var e=this.store,r=e.fetcher,i=r&&r.appNode,o=this.store.index[3];for(var n in o){var s=e.fromNT(n);i&&s.equals(i)||t("\n"+this.atomicTermToN3(s)+" "+this.atomicTermToN3(e.sym("http://www.w3.org/2000/10/swap/log#semantics"))+" { "+this.statementsToN3(e.statementsMatching(void 0,void 0,void 0,s))+" }.\n")}e.statementsMatching(void 0,e.sym("http://www.w3.org/2007/ont/link#requestedURI")).map((function(r){t("\n<"+r.object.value+"> log:metadata {\n");var i=e.statementsMatching(void 0,void 0,void 0,r.subject);t(this.statementsToN3(this.statementsToN3(i))),t("}.\n")}));var a=[];i&&a.push(i);var h=[];a.map((function(t){h=h.concat(e.statementsMatching(void 0,void 0,void 0,t))})),t(this.statementsToN3(h))}},{key:"statementsToXML",value:function(t){var e=[];e["http://www.w3.org/1999/02/22-rdf-syntax-ns#"]=!0;var r="http://www.w3.org/1999/02/22-rdf-syntax-ns#_",i=function(t){for(var e="",r=0;r<t;r++)e+=" ";return e},o=function t(e){for(var r="",i=0;i<e.length;i++){var o=e[i];r+="string"==typeof o?o:t(o)}return r},n=function(t){this.suggestPrefix("rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#");for(var e=this.rootSubjects(t),r=e.roots,i=[],o=0;o<r.length;o++)i.push(h(r[o],e));return i}.bind(this);function s(t){return void 0===t?"@@@undefined@@@@":t.replace(/[&<"]/g,(function(t){switch(t[0]){case"&":return"&amp;";case"<":return"&lt;";case'"':return"&quot;"}}))}var a=function(t){return s(this.base?qn.refTo(this.base,t.uri):t.uri)}.bind(this),h=function(t,e){var i,o,n,l,m=[],g=e.subjects[this.toStr(t)];if(void 0===g)return u(t,e);g.sort((function(t,e){var i=t.predicate.uri,o=e.predicate.uri;if(i.substring(0,r.length)===r||o.substring(0,r.length)===r)return i.localeCompare(o);var n=i.substring(r.length),s=o.substring(r.length),a=parseInt(n,10),h=parseInt(s,10);return isNaN(a)||isNaN(h)||a!==n||h!==s?i.localeCompare(o):a-h}));for(var d=0;d<g.length;d++)if("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"!==(n=g[d]).predicate.uri||i||"NamedNode"!==n.object.termType){if((l=n.predicate).uri.substr(0,r.length)===r){var f=l.uri.substr(r.length);f===parseInt(f,10).toString()&&(l=this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#li"))}switch(o=p(l),n.object.termType){case"BlankNode":m=m.concat(1===e.incoming[n.object].length?["<"+o+' rdf:parseType="Resource">',h(n.object,e),"</"+o+">"]:["<"+o+' rdf:nodeID="'+n.object.toNT().slice(2)+'"/>']);break;case"NamedNode":m=m.concat(["<"+o+' rdf:resource="'+a(n.object)+'"/>']);break;case"Literal":m=m.concat(["<"+o+(n.object.datatype.equals(this.xsd.string)?"":' rdf:datatype="'+s(n.object.datatype.uri)+'"')+(n.object.language?' xml:lang="'+n.object.language+'"':"")+">"+s(n.object.value)+"</"+o+">"]);break;case"Collection":m=m.concat(["<"+o+' rdf:parseType="Collection">',c(n.object,e),"</"+o+">"]);break;default:throw new Error("Can't serialize object of type "+n.object.termType+" into XML")}}else i=n.object;var w=i?p(i):"rdf:Description",v="";return"BlankNode"===t.termType?e.incoming[t]&&1===e.incoming[t].length||(v=' rdf:nodeID="'+t.toNT().slice(2)+'"'):v=' rdf:about="'+a(t)+'"',["<"+w+v+">"].concat([m]).concat(["</"+w+">"])}.bind(this);function c(t,e){for(var r=[],i=0;i<t.elements.length;i++)r.push(h(t.elements[i],e));return r}var u=function(t,e){var r=[],i=e.subjects[this.toStr(t)];if(!i)return r;i.sort();for(var o=0;o<i.length;o++){var n=i[o];switch(n.object.termType){case"BlankNode":r=e.rootsHash[n.object.toNT()]?r.concat(["<"+p(n.predicate)+' rdf:nodeID="'+n.object.toNT().slice(2)+'">',"</"+p(n.predicate)+">"]):r.concat(["<"+p(n.predicate)+' rdf:parseType="Resource">',u(n.object,e),"</"+p(n.predicate)+">"]);break;case"NamedNode":r=r.concat(["<"+p(n.predicate)+' rdf:resource="'+a(n.object)+'"/>']);break;case"Literal":r=r.concat(["<"+p(n.predicate)+(n.object.datatype.equals(this.xsd.string)?"":' rdf:datatype="'+s(n.object.datatype.value)+'"')+(n.object.language?' xml:lang="'+n.object.language+'"':"")+">"+s(n.object.value)+"</"+p(n.predicate)+">"]);break;case"Collection":r=r.concat(["<"+p(n.predicate)+' rdf:parseType="Collection">',c(n.object,e),"</"+p(n.predicate)+">"]);break;default:throw new Error("Can't serialize object of type "+n.object.termType+" into XML")}}return r}.bind(this),p=function(t){var r=t.uri,i=r.indexOf("#");if(i<0&&this.flags.indexOf("/")<0&&(i=r.lastIndexOf("/")),i<0)throw new Error("Cannot make qname out of <"+r+">");for(var o=i+1;o<r.length;o++)if(this._notNameChars.indexOf(r[o])>=0)throw new Error('Invalid character "'+r[o]+'" cannot be in XML qname for URI: '+r);var n=r.slice(i+1),s=r.slice(0,i+1);if(this.defaultNamespace&&this.defaultNamespace===s&&this.flags.indexOf("d")<0)return n;var a=this.prefixes[s];return a||(a=this.makeUpPrefix(s)),e[s]=!0,a+":"+n}.bind(this),l=n(t),m="<rdf:RDF";for(var g in this.defaultNamespace&&(m+=' xmlns="'+s(this.defaultNamespace)+'"'),e)if(e.hasOwnProperty(g)){var d=this.base&&this.flags.includes("z")?qn.refTo(this.base,g):g;m+="\n xmlns:"+this.prefixes[g]+'="'+s(d)+'"'}return function t(e,r){var n,s="",a=1e5;r||(r=0);for(var h=0;h<e.length;h++){var c=e[h];if("string"!=typeof c){var u=t(c,r+1);u.length<10*(80-4*r)&&u.indexOf('"""')<0&&(n=o(c)).length<80-4*r&&(c=" "+n,u=""),u&&(a=1e4),s+=u}"string"==typeof c&&(a<4*r+4?(s=s.slice(0,-1)+" "+c+"\n",a+=c.length+1):(s+=(n=i(4*r)+c)+"\n",a=n.length))}return s}([m+=">",l,"</rdf:RDF>"],-1)}},{key:"statementsToJsonld",value:function(t){var e=this.statementsToN3(t),r=bs.parse(e);return JSON.stringify(r,null,2)}}]),t}();function Es(t,e,r,i,o,n){r=r||(null==t?void 0:t.value);var s=n||{};i=i||dn;try{var a=Ss(e);s.flags&&a.setFlags(s.flags);var h=e.statementsMatching(void 0,void 0,void 0,t);switch("namespaces"in e&&a.suggestNamespaces(e.namespaces),s.namespaces&&a.setNamespaces(s.namespaces),a.setBase(r),i){case ln:return c(null,a.statementsToXML(h));case cn:case"application/n3":return c(null,a.statementsToN3(h));case dn:case"application/x-turtle":return a.setFlags("si"),c(null,a.statementsToN3(h));case"application/n-triples":return a.setFlags("deinprstux"),c(null,a.statementsToNTriples(h));case hn:return a.setFlags("si dr"),c(null,a.statementsToJsonld(h));case pn:case un:return a.setFlags("deinprstux q"),c(null,a.statementsToNTriples(h));default:throw new Error("Serialize: Content-type "+i+" not supported for data write.")}}catch(t){if(o)return o(t,void 0);throw t}function c(t,e){return o?void o(t,e):e}}var Cs=["blankNode","defaultGraph","literal","namedNode","quad","variable","supports"],Ps="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest";function Fs(t,e,r){var i=[];return r.reduce((function(e,r,o,n){var s;return i.push(t.quad(e,t.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#first"),n[o])),o<n.length-1?(s=t.blankNode(),i.push(t.quad(e,t.namedNode(Ps),s))):i.push(t.quad(e,t.namedNode(Ps),t.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"))),s}),e),i}function ks(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=t.length;for(r<0&&(r=i+r);r<i;r++)if(t[r]===e)return r;return-1}function Ts(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Rs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rs(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,n=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw n}}}}function Rs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Os=function(){Ko(i,Qo);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};Vo(this,i),(t=r.call(this,"")).statements=e,t.constraints=o,t.initBindings=n,t.optional=s,$o(qo(t),"termType",sn),$o(qo(t),"classOrder",Xo.Graph),$o(qo(t),"fetcher",void 0),$o(qo(t),"isVar",0),$o(qo(t),"ns",cs),$o(qo(t),"rdfFactory",void 0),t.rdfFactory=a&&a.rdfFactory||os;var h,c=Ts(Cs);try{var u=function(){var e=h.value;t[e]=function(){var r;return(r=t.rdfFactory)[e].apply(r,arguments)}};for(c.s();!(h=c.n()).done;)u()}catch(t){c.e(t)}finally{c.f()}return t}return Wo(i,[{key:"add",value:function(t,e,r,i){var o=this;return 1===arguments.length&&t.forEach((function(t){return o.add(t.subject,t.predicate,t.object,t.graph)})),this.statements.push(this.rdfFactory.quad(t,e,r,i))}},{key:"addStatement",value:function(t){return this.add(t)}},{key:"bnode",value:function(t){return this.rdfFactory.blankNode(t)}},{key:"addAll",value:function(t){var e=this;t.forEach((function(t){e.add(t.subject,t.predicate,t.object,t.graph)}))}},{key:"any",value:function(t,e,r,i){var o=this.anyStatementMatching(t,e,r,i);return null==o?null:null==t?o.subject:null==e?o.predicate:null==r?o.object:null}},{key:"anyValue",value:function(t,e,r,i){var o=this.any(t,e,r,i);return o?o.value:void 0}},{key:"anyJS",value:function(t,e,r,i){var o=this.any(t,e,r,i);return o?Qo.toJS(o):void 0}},{key:"anyStatementMatching",value:function(t,e,r,i){var o=this.statementsMatching(t,e,r,i,!0);if(o&&0!==o.length)return o[0]}},{key:"id",value:function(t){return this.rdfFactory.id(t)}},{key:"statementsMatching",value:function(t,e,r,i,o){var n=this.statements.filter((function(o){return(!t||t.equals(o.subject))&&(!e||e.equals(o.predicate))&&(!r||r.equals(o.object))&&(!i||i.equals(o.graph))}));return o?0===n.length?[]:[n[0]]:n}},{key:"bottomTypeURIs",value:function(t){var e,r,i,o,n,s;for(var a in e=[],t)if(t.hasOwnProperty(a)){for(s=t[a],r=!0,i=0,o=(n=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),this.rdfFactory.namedNode(a))).length;i<o;i++)if(n[i].uri in t){r=!1;break}r&&(e[a]=s)}return e}},{key:"collection",value:function(){return new _n}},{key:"each",value:function(t,e,r,i){var o=[],n=this.statementsMatching(t,e,r,i,!1);if(null==t)for(var s=0,a=n.length;s<a;s++)o.push(n[s].subject);else if(null==e)for(var h=0,c=n.length;h<c;h++)o.push(n[h].predicate);else if(null==r)for(var u=0,p=n.length;u<p;u++)o.push(n[u].object);else if(null==i)for(var l=0,m=n.length;l<m;l++)o.push(new Dn(n[l].graph.value));return o}},{key:"equals",value:function(t){return!!t&&this.hashString()===t.hashString()}},{key:"findMembersNT",value:function(t){var e,r,i,o,n,s,a,h,c,u,p,l,m;for(var g in(p={})[t.toNT()]=!0,o={},n=this.transitiveClosure(p,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),!0))if(n.hasOwnProperty(g)){for(var d=0,f=(s=this.statementsMatching(void 0,this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),this.fromNT(g))).length;d<f;d++)o[(l=s[d]).subject.toNT()]=l;for(var w=0,v=(a=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#domain"),this.fromNT(g))).length;w<v;w++)for(i=0,e=(h=this.statementsMatching(void 0,a[w])).length;i<e;i++)o[(l=h[i]).subject.toNT()]=l;for(var y=0,b=(c=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#range"),this.fromNT(g))).length;y<b;y++)for(m=0,r=(u=this.statementsMatching(void 0,c[y])).length;m<r;m++)o[(l=u[m]).object.toNT()]=l}return o}},{key:"findMemberURIs",value:function(t){return this.NTtoURI(this.findMembersNT(t))}},{key:"findSubClassesNT",value:function(t){var e={};return e[t.toNT()]=!0,this.transitiveClosure(e,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),!0)}},{key:"findSuperClassesNT",value:function(t){var e={};return e[t.toNT()]=!0,this.transitiveClosure(e,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),!1)}},{key:"findTypesNT",value:function(t){var e,r,i,o,n,s;s=[];for(var a=0,h=(e=this.statementsMatching(t,void 0,void 0)).length;a<h;a++)if("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"===(n=e[a]).predicate.uri)s[n.object.toNT()]=n;else for(var c=0,u=(r=this.each(n.predicate,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#domain"))).length;c<u;c++)s[r[c].toNT()]=n;for(var p=0,l=(i=this.statementsMatching(void 0,void 0,t)).length;p<l;p++)for(var m=0,g=(o=this.each((n=i[p]).predicate,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#range"))).length;m<g;m++)s[o[m].toNT()]=n;return this.transitiveClosure(s,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),!1)}},{key:"findTypeURIs",value:function(t){return this.NTtoURI(this.findTypesNT(t))}},{key:"connectedStatements",value:function(t,e,r){r=r||[];for(var i=[t],o={},n={},s=[],a=this,h=function(t){var h=function(t){"BlankNode"!==t.termType||o[t.value]||(o[t.value]=!0,i.push(t))},c=a.statementsMatching(null,null,t,e).concat(a.statementsMatching(t,null,null,e));(c=c.filter((function(t){if(r[t.predicate.value])return!1;var e=t.toNT();return!n[e]&&(n[e]=!0,!0)}))).forEach((function(t){h(t.subject),h(t.object)})),s=s.concat(c)};i.length;)h(i.shift());return s}},{key:"formula",value:function(){return new i}},{key:"fromNT",value:function(t){var e,r,i;switch(t[0]){case"<":return this.sym(t.slice(1,-1));case'"':if(i=void 0,e=void 0,(r=t.lastIndexOf('"'))<t.length-1)if("@"===t[r+1])i=t.slice(r+2);else{if("^^"!==t.slice(r+1,r+3))throw new Error("Can't convert string from NT: "+t);e=this.fromNT(t.slice(r+3))}return t=(t=(t=(t=t.slice(1,r)).replace(/\\"/g,'"')).replace(/\\n/g,"\n")).replace(/\\\\/g,"\\"),this.rdfFactory.literal(t,i||e);case"_":return this.rdfFactory.blankNode(t.slice(2));case"?":return new es(t.slice(1))}throw new Error("Can't convert from NT: "+t)}},{key:"holds",value:function(t,e,r,i){var o;if(1===arguments.length){if(!t)return!0;if(t instanceof Array){for(o=0;o<t.length;o++)if(!this.holds(t[o]))return!1;return!0}if(yn(t))return this.holds(t.subject,t.predicate,t.object,t.graph);if(t.statements)return this.holds(t.statements)}var n=this.anyStatementMatching(t,e,r,i);return null!=n}},{key:"holdsStatement",value:function(t){return this.holds(t.subject,t.predicate,t.object,t.graph)}},{key:"list",value:function(t,e){if(e.rdfFactory.supports.COLLECTIONS){var r=e.rdfFactory.collection();return t.forEach((function(t){r.append(t)})),r}var i=e.rdfFactory.blankNode(),o=Fs(e.rdfFactory,i,t);return e.addAll(o),i}},{key:"NTtoURI",value:function(t){var e,r,i={};for(e in t)t.hasOwnProperty(e)&&(r=t[e],"<"===e[0]&&(i[e.slice(1,-1)]=r));return i}},{key:"serialize",value:function(t,e,r,i){return Es(r,this,t,e,void 0,i)}},{key:"substitute",value:function(t){var e=this.statements.map((function(e){return e.substitute(t)}));console.log("Formula subs statmnts:"+e);var r=new i;return r.addAll(e),console.log("indexed-form subs formula:"+r),r}},{key:"sym",value:function(t,e){if(e)throw new Error("This feature (kb.sym with 2 args) is removed. Do not assume prefix mappings.");return this.rdfFactory.namedNode(t)}},{key:"the",value:function(t,e,r,i){var o=this.any(t,e,r,i);return null==o&&hs("No value found for the() {"+t+" "+e+" "+r+"}."),o}},{key:"transitiveClosure",value:function(t,e,r){var i,o,n,s,a,h={};Object.assign(h,t);for(var c={};;){if(null==(a=function(){for(var t in h)if(h.hasOwnProperty(t))return t}()))return c;for(i=0,o=(s=r?this.each(void 0,e,this.fromNT(a)):this.each(this.fromNT(a),e)).length;i<o;i++)(n=s[i].toNT())in c||n in h||(h[n]=h[a]);c[a]=h[a],delete h[a]}}},{key:"topTypeURIs",value:function(t){var e,r,i,o,n,s,a;for(r in s=[],t)if(t.hasOwnProperty(r)){for(a=t[r],o=0,e=0,i=(n=this.each(this.rdfFactory.namedNode(r),this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"))).length;e<i;e++)if("http://www.w3.org/2000/01/rdf-schema#Resource"!==n[e].uri){o++;break}o||(s[r]=a)}return s["http://www.w3.org/2000/01/rdf-schema#Resource"]&&delete s["http://www.w3.org/2000/01/rdf-schema#Resource"],s["http://www.w3.org/2002/07/owl#Thing"]&&delete s["http://www.w3.org/2002/07/owl#Thing"],s}},{key:"toString",value:function(){return"{"+this.statements.join("\n")+"}"}},{key:"variable",value:function(t){return new es(t)}},{key:"whether",value:function(t,e,r,i){return this.statementsMatching(t,e,r,i,!1).length}}]),i}();Qo.fromValue=xn;var Ds=Qo,Ms={xsd:cs("http://www.w3.org/2001/XMLSchema#")};Qo.toJS=function(t){return Sn(t)?t.elements.map(Qo.toJS):Fn(t)?t.datatype.equals(Ms.xsd("boolean"))?"1"===t.value||"true"===t.value:t.datatype.equals(Ms.xsd("dateTime"))||t.datatype.equals(Ms.xsd("date"))?new Date(t.value):t.datatype.equals(Ms.xsd("integer"))||t.datatype.equals(Ms.xsd("float"))||t.datatype.equals(Ms.xsd("decimal"))?Number(t.value):t.value:t};var Is=Wo((function t(e,r){Vo(this,t),this.pat=new Vs,this.vars=[],this.name=e,this.id=r}));function xs(t,e,r,i){function o(t){var e,r="";for(e in t)t.hasOwnProperty(e)&&(r+=" "+e+" -> "+t[e]);return r}function n(t){var e,r="Bindings: ",i=t.length;for(e=0;e<i;e++)r+=o(t[e][0])+";\n\t";return r}function s(t,e,r,i){var o;if(t.length!==e.length)return[];if(!t.length)return[[[],null]];var n=function(t,e,r,i){var o=r[t];if(void 0===o){if(t.isVar){var n=[];return n[t]=e,[[n,null]]}o=t}if(!o.complexType)return i.redirections[o]&&(o=i.redirections[o]),i.redirections[e]&&(e=i.redirections[e]),o.equals(e)||o.uri&&o.uri===Un?[[[],null]]:[];if(t instanceof Array)return e instanceof Array?s(t,e,r):[];throw new Error("query.js: oops - code not written yet")}(t[0],e[0],r,i);if(0===n.length)return n;var a,h,c,u,p,l,m,g=[],d=n.length;for(a=0;a<d;a++){for(p in m=[],h=n[a][0])h.hasOwnProperty(p)&&(m[p]=h[p]);for(p in r)r.hasOwnProperty(p)&&(m[p]=r[p]);for(u=(o=s(t.slice(1),e.slice(1),m,i)).length,c=0;c<u;c++){for(p in l=o[c][0],h)h.hasOwnProperty(p)&&(l[p]=h[p]);g.push([l,null])}}return g}function a(t,e){var r,i={};for(r in t)t.hasOwnProperty(r)&&(i[r]=t[r]);for(r in e)e.hasOwnProperty(r)&&(i[r]=e[r]);return i}function h(t,e){return this.trunkBindings=e,this.originalCallback=t,this.branches=[],this}function c(t,e){return this.count=0,this.success=!1,this.done=!1,this.callback=t,this.onDone=e,this}h.prototype.checkAllDone=function(){var t;for(t=0;t<this.branches.length;t++)if(!this.branches[t].done)return;ns("OPTIONAL BIDNINGS ALL DONE:"),this.doCallBacks(this.branches.length-1,this.trunkBindings)},h.prototype.doCallBacks=function(t,e){var r;if(t<0)return this.originalCallback(e);for(r=0;r<this.branches[t].results.length;r++)this.doCallBacks(t-1,a(e,this.branches[t].results[r]))},c.prototype.reportMatch=function(t){this.callback(t),this.success=!0},c.prototype.reportDone=function(){this.done=!0,as("Mandatory query branch finished.***"),void 0!==this.onDone&&this.onDone()};var u=function(t){return this.count=0,this.done=!1,this.results=[],this.junction=t,t.branches.push(this),this};function p(t,e,r){var i,o,n,s,a,h;for(e.nvars=0,e.index=null,i=[e.subject,e.predicate,e.object,e.why],s=[t.subjectIndex,t.predicateIndex,t.objectIndex,t.whyIndex],n=0;n<4;n++){var c=i[n];if(c.uri&&c.uri===Un);else if(c.isVar&&void 0===r[c])e.nvars++;else{if(void 0,t.redirections[t.id(c=void 0===(h=r[a=i[n]])?a:h)]&&(c=t.redirections[t.id(c)]),!(o=s[n][t.id(c)]))return e.index=[],!1;(null===e.index||e.index.length>o.length)&&(e.index=o)}}return null===e.index&&(e.index=t.statements),!0}function l(t,e){return t.nvars!==e.nvars?t.nvars-e.nvars:t.index.length-e.index.length}u.prototype.reportMatch=function(t){this.results.push(t)},u.prototype.reportDone=function(){ns("Optional branch finished - results.length = "+this.results.length),0===this.results.length&&(this.results.push({}),ns("Optional branch FAILED - that's OK.")),this.done=!0,this.junction.checkAllDone()};var m=function t(r,i,n,s,a,c,p){ns("Match begins, Branch count now: "+p.count+" for "+p.pattern_debug);var l,m,g=i.statements;if(0===g.length){if(ns("FOUND MATCH WITH BINDINGS:"+o(n)),0===i.optional.length)p.reportMatch(n);else{ns("OPTIONAL: "+i.optional);var f,w=new h(e,n),v=[];for(f=0;f<i.optional.length;f++)v[f]=new u(w),v[f].pattern_debug=i.optional[f];for(f=0;f<i.optional.length;f++)v[f].count=v[f].count+1,t(r,i.optional[f],n,"",a,e,v[f])}return p.count--,void ns("Match ends -- success , Branch count now: "+p.count+" for "+p.pattern_debug)}var y=g.length;if(a){var b=function(e){var o=e.uri.split("#")[0];a.nowOrWhenFetched(o,void 0,(function(o,h){o||console.log("Error following link to <"+e.uri+"> in query: "+h),t(r,i,n,s,a,c,p)}))};for(m=0;m<y;m++){if(void 0!==n[(l=g[m]).subject]&&n[l.subject].uri&&a&&"unrequested"===a.getState(Kn(n[l.subject].uri)))return void b(n[l.subject]);if(void 0!==n[l.object]&&n[l.object].uri&&a&&"unrequested"===a.getState(Kn(n[l.object].uri)))return void b(n[l.object])}}d(r,i,n,s,a,c,p)},g=function(t,e){var r,i,o=!0;for(r in t)t.hasOwnProperty(r)&&e[r]&&(i=e[r].test)&&!i(t[r])&&(o=!1);return o},d=function(t,e,r,i,a,h,c){var u,d,f,w,v,y,b,S=e.statements,A=S.length;for(u=0;u<A;u++)p(t,b=S[u],r);S.sort(l),b=S[0];var E,C=t.formula();C.optional=e.optional,C.constraints=e.constraints,C.statements=S.slice(1),ns(i+"match2 searching "+b.index.length+" for "+b+"; bindings so far="+o(r));var P,F,k=b.index.length,T=0;for(E=0;E<k;E++)for(P=s([b.subject,b.predicate,b.object,b.why],[(F=b.index[E]).subject,F.predicate,F.object,F.why],r,t),as(i+" From first: "+P.length+": "+n(P)),f=P.length,d=0;d<f;d++)if(v=[],g(y=P[d][0],e.constraints)){for(w in y)y.hasOwnProperty(w)&&(v[w]=y[w]);for(w in r)r.hasOwnProperty(w)&&(v[w]=r[w]);c.count++,T++,m(t,C,v,i+" ",a,h,c)}else ns("Branch count CS: "+c.count);c.count--,0===T&&ns("Match2 fails completely on "+b),ns("Match2 ends, Branch count: "+c.count+" for "+c.pattern_debug),0===c.count&&(ns("Branch finished."),c.reportDone())},f=this;ns("Query on "+this.statements.length);var w=new c(e,i);w.count++,t.sync?m(f,t.pat,t.pat.initBindings,"",r,e,w):setTimeout((function(){m(f,t.pat,t.pat.initBindings,"",r,e,w)}),0)}function _s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Ns(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?_s(Object(r),!0).forEach((function(e){$o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):_s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function js(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Bs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Bs(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,n=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw n}}}}function Bs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Us="http://www.w3.org/2002/07/owl#";function Ls(t,e,r,i){var o=t.any(e,r,void 0);return!!o&&(t.equate(o,i),!0)}function Hs(t,e,r,i){var o=t.any(void 0,r,i);return!!o&&(t.equate(o,e),!0)}function Ws(t,e,r,i,o){t.typeCallback&&t.typeCallback(t,i,o);var n=t.classActions[t.id(i)],s=!1;if(n)for(var a=0;a<n.length;a++)s=s||n[a](t,e,r,i,o);return s}var Vs=function(){Ko(i,Os);var t,e,r=(t=i,e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)});function i(t){var e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Vo(this,i),$o(qo(e=r.call(this,void 0,void 0,void 0,void 0,o)),"updater",void 0),$o(qo(e),"namespaces",void 0),$o(qo(e),"classActions",void 0),$o(qo(e),"propertyActions",void 0),$o(qo(e),"redirections",void 0),$o(qo(e),"aliases",void 0),$o(qo(e),"HTTPRedirects",void 0),$o(qo(e),"subjectIndex",void 0),$o(qo(e),"predicateIndex",void 0),$o(qo(e),"objectIndex",void 0),$o(qo(e),"whyIndex",void 0),$o(qo(e),"index",void 0),$o(qo(e),"features",void 0),$o(qo(e),"_universalVariables",void 0),$o(qo(e),"_existentialVariables",void 0),$o(qo(e),"rdfArrayRemove",void 0),$o(qo(e),"dataCallbacks",void 0),e.propertyActions={},e.classActions={},e.redirections=[],e.aliases=[],e.HTTPRedirects=[],e.subjectIndex=[],e.predicateIndex=[],e.objectIndex=[],e.whyIndex=[],e.index=[e.subjectIndex,e.predicateIndex,e.objectIndex,e.whyIndex],e.namespaces={},e.features=t||[],e.rdfArrayRemove=o.rdfArrayRemove||fs,o.dataCallback&&(e.dataCallbacks=[o.dataCallback]),e.initPropertyActions(e.features),e}return Wo(i,[{key:"substitute",value:function(t){var e=this.statements.map((function(e){return e.substitute(t)})),r=new i;return r.add(e),r}},{key:"addDataCallback",value:function(t){this.dataCallbacks||(this.dataCallbacks=[]),this.dataCallbacks.push(t)}},{key:"applyPatch",value:function(t,e,r){var i,o=this,n=null;function s(s){if(t.delete){i=t.delete,n&&(i=i.substitute(n));var a=[],h=i.elements.map((function(t){var r=o.statementsMatching(t.subject,t.predicate,t.object,e);return 0===r.length?(a.push(t),null):r[0]}));if(a.length)return r("Could not find to delete: "+a.join("\n or "));h.map((function(t){o.remove(t)}))}t.insert&&(i=t.insert,n&&(i=i.substitute(n)),i.elements.map((function(t){t.graph=e,o.add(t.subject,t.predicate,t.object,t.graph)}))),s()}if(t.where){var a=new Is("patch");a.pat=t.where,a.pat.statements.map((function(t){t.graph=xh(e.value)})),a.sync=!0;var h=[];a.pat.initBindings=[],o.query(a,(function(t){h.push(t)}),o.fetcher,(function(){return 0===h.length?r("No match found to be patched:"+t.where):h.length>1?r("Patch ambiguous. No patch done."):(n=h[0],void s(r))}))}else s(r)}},{key:"declareExistential",value:function(t){return this._existentialVariables||(this._existentialVariables=[]),this._existentialVariables.push(t),t}},{key:"initPropertyActions",value:function(t){this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"))]=[Ws],ks(t,"sameAs")>=0&&(this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Us,"sameAs")))]=[function(t,e,r,i){return t.equate(e,i),!0}]),ks(t,"InverseFunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Us,"InverseFunctionalProperty")))]=[function(t,e){return t.newPropertyAction(e,Hs)}]),ks(t,"FunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Us,"FunctionalProperty")))]=[function(t,e){return t.newPropertyAction(e,Ls)}])}},{key:"addStatement",value:function(t){return this.add(t.subject,t.predicate,t.object,t.graph),this.statements.length}},{key:"add",value:function(t,e,r,i){var o,n,s;if(1===arguments.length){if(t instanceof Array)for(o=0;o<t.length;o++)this.add(t[o]);else kn(t)?this.add(t.subject,t.predicate,t.object,t.graph):bn(t)&&this.add(t.statements);return this}i||(i=this.fetcher?this.fetcher.appNode:this.rdfFactory.defaultGraph()),"string"==typeof t&&(t=this.rdfFactory.namedNode(t)),e=Ds.fromValue(e);var a=Ds.fromValue(r);if(i=Ds.fromValue(i),!En(t))throw new Error("Subject is not a subject type");if(!Cn(e))throw new Error("Predicate ".concat(e," is not a predicate type"));if(!An(a))throw new Error("Object ".concat(a," is not an object type"));if(!On(i))throw new Error("Why is not a graph type");this.predicateCallback&&this.predicateCallback(this,e,i);var h=this.id(this.canon(e)),c=!1;if(n=this.propertyActions[h])for(o=0;o<n.length;o++)c=c||n[o](this,t,e,a,i);if(this.holds(t,e,a,i))return null;var u=[this.id(this.canon(t)),h,this.id(this.canon(a)),this.id(this.canon(i))];for(s=this.rdfFactory.quad(t,e,a,i),o=0;o<4;o++){var p=this.index[o],l=u[o];p[l]||(p[l]=[]),p[l].push(s)}if(this.statements.push(s),this.dataCallbacks){var m,g=js(this.dataCallbacks);try{for(g.s();!(m=g.n()).done;){var d=m.value;d(s)}}catch(t){g.e(t)}finally{g.f()}}return s}},{key:"canon",value:function(t){if(!t)return t;var e=this.redirections[this.id(t)];if(e)return e;switch(t.termType){case Zo:return new wn(t.value);case on:return t;case rn:return new Ln;case nn:case sn:return t;case tn:return new In(t.value,t.language,t.datatype);case Yo:return new Dn(t.value);case en:return new es(t.value);default:throw new Error("Term Type not recognized for canonization: ".concat(t.termType))}}},{key:"check",value:function(){this.checkStatementList(this.statements);for(var t=0;t<4;t++){var e=this.index[t];for(var r in e)e.hasOwnProperty(r)&&this.checkStatementList(e[r],t)}}},{key:"checkStatementList",value:function(t,e){void 0===e&&(e=0);for(var r,i=" found in "+["subject","predicate","object","why"][e]+" index.",o=0;o<t.length;o++){for(var n=[(r=t[o]).subject,r.predicate,r.object,r.graph],s=function(t,e){for(var r=0;r<t.length;r++)if(t[r].subject.equals(e.subject)&&t[r].predicate.equals(e.predicate)&&t[r].object.equals(e.object)&&t[r].why.equals(e.graph))return!0},a=0;a<4;a++){var h=this.canon(n[a]),c=this.id(h);this.index[a][c]&&s(this.index[a][c],r)}if(!s(this.statements,r))throw new Error("Statement list does not statement "+r+"@"+r.graph+i)}}},{key:"close",value:function(){return this}},{key:"compareTerms",value:function(t,e){return Object.prototype.hasOwnProperty.call(t,"compareTerm")?t.compareTerm(e):Xo[t.termType]<Xo[e.termType]?-1:Xo[t.termType]>Xo[e.termType]?1:t.value<e.value?-1:t.value>e.value?1:0}},{key:"copyTo",value:function(t,e,r){r||(r=[]);var i=this.statementsMatching(t);-1!==ks(r,"two-direction")&&i.concat(this.statementsMatching(void 0,void 0,t));for(var o=0;o<i.length;o++){var n=i[o];switch(n.object.termType){case"NamedNode":this.add(e,n.predicate,n.object);break;case"Literal":case"BlankNode":case"Collection":this.add(e,n.predicate,n.object.copy(this))}-1!==ks(r,"delete")&&this.remove(n)}}},{key:"equate",value:function(t,e){var r=this.canon(t),i=this.canon(e),o=this.compareTerms(r,i);return!o||(o<0?this.replaceWith(i,r):this.replaceWith(r,i))}},{key:"formula",value:function(t){return new i(t)}},{key:"length",get:function(){return this.statements.length}},{key:"match",value:function(t,e,r,i){return this.statementsMatching(Ds.fromValue(t),Ds.fromValue(e),Ds.fromValue(r),Ds.fromValue(i))}},{key:"mentionsURI",value:function(t){var e="<"+t+">";return!!this.subjectIndex[e]||!!this.objectIndex[e]||!!this.predicateIndex[e]}},{key:"newExistential",value:function(t){if(!t)return this.bnode();var e=this.sym(t);return this.declareExistential(e)}},{key:"newPropertyAction",value:function(t,e){var r=this.id(t);this.propertyActions[r]||(this.propertyActions[r]=[]),this.propertyActions[r].push(e);for(var i=this.statementsMatching(void 0,t,void 0),o=!1,n=0;n<i.length;n++)o=o||e(this,i[n].subject,t,i[n].object);return o}},{key:"newUniversal",value:function(t){var e=this.sym(t);return this._universalVariables||(this._universalVariables=[]),this._universalVariables.push(e),e}},{key:"variable",value:function(t){return new es(t)}},{key:"nextSymbol",value:function(t){for(var e=0;;e++){var r=t.value+"#n"+e;if(!this.mentionsURI(r))return this.sym(r)}}},{key:"query",value:function(t,e,r,i){return xs.call(this,t,e,r,i)}},{key:"querySync",value:function(t){var e=[],r=!1;if(t.sync=!0,xs.call(this,t,(function(t){e.push(t)}),null,(function(){r=!0})),!r)throw new Error("Sync query should have called done function");return e}},{key:"remove",value:function(t){if(t instanceof Array){for(var e=0;e<t.length;e++)this.remove(t[e]);return this}if(bn(t))return this.remove(t.statements);var r=this.statementsMatching(t.subject,t.predicate,t.object,t.graph);if(!r.length)throw new Error("Statement to be removed is not on store: "+t);return this.removeStatement(r[0]),this}},{key:"removeDocument",value:function(t){for(var e=this.statementsMatching(void 0,void 0,void 0,t).slice(),r=0;r<e.length;r++)this.removeStatement(e[r]);return this}},{key:"removeMany",value:function(t,e,r,i,o){for(var n=this.statementsMatching(t,e,r,i,!1),s=[],a=0;a<n.length;a++)s.push(n[a]);for(o&&(s=s.slice(0,o)),a=0;a<s.length;a++)this.remove(s[a])}},{key:"removeMatches",value:function(t,e,r,i){return this.removeMany(t,e,r,i),this}},{key:"removeStatement",value:function(t){for(var e=[t.subject,t.predicate,t.object,t.graph],r=0;r<4;r++){var i=this.canon(e[r]),o=this.id(i);this.index[r][o]&&this.rdfArrayRemove(this.index[r][o],t)}return this.rdfArrayRemove(this.statements,t),this}},{key:"removeStatements",value:function(t){for(var e=0;e<t.length;e++)this.remove(t[e]);return this}},{key:"replaceWith",value:function(t,e){for(var r=this.id(t),i=this.id(e),o=function(t){var e=t[r];if(e){var o=t[i];t[i]=o?e.concat(o):e,delete t[r]}},n=0;n<4;n++)o(this.index[n]);if(this.redirections[r]=e,t.value){if(this.aliases[i]||(this.aliases[i]=[]),this.aliases[i].push(t),this.aliases[r])for(n=0;n<this.aliases[r].length;n++)this.redirections[this.id(this.aliases[r][n])]=e,this.aliases[i].push(this.aliases[r][n]);this.add(e,this.sym("http://www.w3.org/2007/ont/link#uri"),t),this.fetcher&&this.fetcher.nowKnownAs(t,e)}return o(this.classActions),o(this.propertyActions),!0}},{key:"allAliases",value:function(t){var e=this.aliases[this.id(this.canon(t))]||[];return e.push(this.canon(t)),e}},{key:"sameThings",value:function(t,e){if(t.equals(e))return!0;var r=this.canon(t);if(!r)return!1;var i=this.canon(e);return!!i&&r.value===i.value}},{key:"setPrefixForURI",value:function(t,e){if(("tab"!==t||!this.namespaces.tab)&&"ns"!==t.slice(0,2)&&"default"!==t.slice(0,7)){for(var r in this.namespaces)this.namespaces[r]==e&&delete this.namespaces[r];this.namespaces[t]=e}}},{key:"statementsMatching",value:function(t,e,r,i,o){var n,s,a=[t,e,r,i],h=[],c=[],u=[];for(n=0;n<4;n++)h[n]=this.canon(Ds.fromValue(a[n])),h[n]&&(u.push(n),c[n]=this.id(h[n]));if(0===u.length)return this.statements;if(1===u.length)return(s=this.index[n=u[0]][c[n]])&&o&&s.length>1&&(s=s.slice(0,1)),s||[];var p,l,m=1e10;for(l=0;l<u.length;l++){if(!(s=this.index[n=u[l]][c[n]]))return[];s.length<m&&(m=s.length,p=l)}for(var g=u[p],d=this.index[g][c[g]],f=u.slice(0,p).concat(u.slice(p+1)),w=[],v=["subject","predicate","object","why"],y=0;y<d.length;y++){var b=d[y];for(l=0;l<f.length;l++)if(!this.canon(b[v[n=f[l]]]).equals(h[n])){b=null;break}if(null!=b&&(w.push(b),o))break}return w}},{key:"uris",value:function(t){var e=this.canon(t),r=this.aliases[this.id(e)];if(!e.value)return[];var i=[e.value];if(r)for(var o=0;o<r.length;o++)i.push(r[o].uri);return i}},{key:"serialize",value:function(t,e,r,i){var o,n=null!==(o=i)&&void 0!==o&&o.namespaces?Ns(Ns({},this.namespaces),i.namespaces):Ns({},this.namespaces);return Es(r,this,t,e,void 0,i=Ns(Ns({},i||{}),{},{namespaces:n}))}}],[{key:"defaultGraphURI",get:function(){return Un}}]),i}();function qs(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Gs(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gs(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,n=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw n}}}}function Gs(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}$o(Vs,"handleRDFType",void 0),Vs.handleRDFType=Ws;var Ks=cs("http://www.w3.org/1999/02/22-rdf-syntax-ns#");function Js(t,e){function r(i,o,n){var s=t.statementsMatching(i,Ks("rest"),null,e);if(1!==s.length)throw new Error("Bad list structure: no rest at ".concat(i));var a=t.statementsMatching(i,Ks("first"),null,e);if(1!==a.length)throw new Error("Bad list structure: rest but ".concat(a.length," firsts at ").concat(i));var h=[a[0].object].concat(o),c=n.concat(s).concat(a),u=t.statementsMatching(null,Ks("rest"),i,e);if(0===u.length){var p=new _n(h);return t.remove(c),void function(t,e,r,i){var o,n=qs(t.statementsMatching(r,null,null,i));try{for(n.s();!(o=n.n()).done;){var s=o.value,a=new Vn(e,s.predicate,s.object,i);t.remove(s),t.add(a)}}catch(t){n.e(t)}finally{n.f()}var h,c=qs(t.statementsMatching(null,r,null,i));try{for(c.s();!(h=c.n()).done;){var u=h.value;t.remove(u),t.add(new Vn(u.subject,e,u.object,i))}}catch(t){c.e(t)}finally{c.f()}var p,l=qs(t.statementsMatching(null,null,r,i));try{for(l.s();!(p=l.n()).done;){var m=p.value;t.remove(m),t.add(new Vn(m.subject,m.predicate,e,i))}}catch(t){l.e(t)}finally{l.f()}}(t,p,i,e)}if(1!==u.length)throw new Error("Bad list structure: ".concat(u.length," pres at ").concat(i));var l=u[0].subject;if("BlankNode"!==l.termType)throw new Error("Bad list element node ".concat(l," type: ").concat(l.termType," "));r(l,h,c)}!function(t,e){var r,i=Ks("nil"),o=qs(t.statementsMatching(i,null,null,e));try{for(o.s();!(r=o.n()).done;){var n=r.value;t.remove(n);var s=new _n;t.add(new Vn(s,n.predicate,n.object,e))}}catch(t){o.e(t)}finally{o.f()}var a,h=qs(t.statementsMatching(null,null,i,e));try{for(h.s();!(a=h.n()).done;){var c=a.value;if(!c.predicate.sameTerm(Ks("rest"))){t.remove(c);var u=new _n;t.add(new Vn(c.subject,c.predicate,u,e))}}}catch(t){h.e(t)}finally{h.f()}}(t,e),t.statementsMatching(null,Ks("rest"),Ks("nil"),e).forEach((function(t){if("BlankNode"!==t.subject.termType)throw new Error("Bad list element node ".concat(t.subject," type: ").concat(t.subject.termType," "));r(t.subject,[],[])}))}var zs="http://www.w3.org/2000/10/swap/log#",$s=function(t){return t},Xs=function(t){return t},Qs=function(t){if(t.length>0)throw"missing.js: oops nnonempty dict not imp";return[]},Ys=function(t){return t.length},Zs=function(t,e,r){if(void 0===t.slice)throw"@@ mising.js: No .slice function for "+t+" of type "+Uo(t);return void 0===r||null==r?t.slice(e):t.slice(e,r)},ta=Error("dummy error stop iteration"),ea=function(t){return this.last=0,this.li=t,this.next=function(){if(this.last==this.li.length)throw ta;return this.li[this.last++]},this},ra=function(t,e){return t.indexOf(e)},ia=function(t,e){if(!t){if(e)throw"python Assertion failed: "+e;throw"(python) Assertion failed."}};String.prototype.encode=function(t){if("utf-8"!=t)throw"UTF8_converter: can only do utf-8";return function(t){t=t.replace(/\r\n/g,"\n");for(var e="",r=0;r<t.length;r++){var i=t.charCodeAt(r);i<128?e+=String.fromCharCode(i):i>127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(63&i|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(63&i|128))}return e}(this)},String.prototype.decode=function(t){if("utf-8"!=t)throw"UTF8_converter: can only do utf-8";return this};var oa,na=function(t,e){return $n(e,t)},sa="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil",aa="http://www.w3.org/2002/07/owl#sameAs",ha="\t\r\n !\"#$%&'()*.,+/;<=>?@[\\]^`{|}~",ca=ha+":",ua=new RegExp("^([-+]?[0-9]+)(\\.[0-9]+)?(e[-+]?[0-9]+)?","g"),pa=new RegExp("^[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9](T[0-9][0-9]:[0-9][0-9](:[0-9][0-9](\\.[0-9]*)?)?)?Z?"),la=new RegExp('[\\\\\\r\\n\\"]',"g"),ma=new RegExp("^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*","g"),ga=function(t,e,r,i,o,n,s,a){return new da(t,e,r,i,o,n,s,a)},da=function(){function t(e,r,i,o,n,s,a,h){Vo(this,t),void 0===r&&(r=null),void 0===i&&(i=""),void 0===o&&(o=null),void 0===n&&(n=""),void 0===a&&(a=""),void 0===h&&(h=null),this._bindings=new Qs([]),this._flags=a,""!=i&&(ia(i.indexOf(":")>=0,"Document URI not absolute: "+i),this._bindings[""]=i+"#"),this._store=e,n&&e.setGenPrefix(n),this._thisDoc=i,this.source=e.sym(i),this.lines=0,this.statementCount=0,this.hasNil=!1,this.startOfLine=0,this.previousLine=0,this._genPrefix=n,this.keywords=new Xs(["a","this","bind","has","is","of","true","false"]),this.keywordsSet=0,this._anonymousNodes=new Qs([]),this._variables=new Qs([]),this._parentVariables=new Qs([]),this._reason=h,this._reason2=null,this._baseURI=o||i||null,ia(!this._baseURI||this._baseURI.indexOf(":")>=0),this._genPrefix||(this._genPrefix=this._thisDoc?this._thisDoc+"#_g":RDFSink_uniqueURI()),this._formula=null==r?this._thisDoc?e.formula(i+"#_formula"):e.formula():r,this._context=this._formula,this._parentContext=null}return Wo(t,[{key:"here",value:function(t){return this._genPrefix+"_L"+this.lines+"C"+(t-this.startOfLine+1)}},{key:"formula",value:function(){return this._formula}},{key:"loadStream",value:function(t){return this.loadBuf(t.read())}},{key:"loadBuf",value:function(t){return this.startDoc(),this.feed(t),this.endDoc()}},{key:"feed",value:function(t){for(var e=t.decode("utf-8"),r=0;r>=0;){var i=this.skipSpace(e,r);if(i<0)return;if((r=this.directiveOrStatement(e,i))<0)throw fa(this._thisDoc,this.lines,e,i,"expected directive or statement")}}},{key:"directiveOrStatement",value:function(t,e){var r,i=this.skipSpace(t,e);return i<0?i:(r=this.directive(t,i))>=0||(r=this.statement(t,i))>=0?this.checkDot(t,r):r}},{key:"tok",value:function(t,e,r){if("@"==e.slice(r,r+1))r+=1;else if(ks(this.keywords,t)<0)return-1;var i=r+Ys(t);return e.slice(r,i)==t&&ha.indexOf(e.charAt(i))>=0?i:-1}},{key:"directive",value:function(t,e){if((n=this.skipSpace(t,e))<0)return n;var r=new Xs([]);if((n=this.tok("bind",t,e))>0)throw fa(this._thisDoc,this.lines,t,e,"keyword bind is obsolete: use @prefix");if((n=this.tok("keywords",t,e))>0){if((e=this.commaSeparatedList(t,n,r,!1))<0)throw fa(this._thisDoc,this.lines,t,e,"'@keywords' needs comma separated list of words");return this.setKeywords(Zs(r,null,null)),e}if((n=this.tok("forAll",t,e))>0){if((e=this.commaSeparatedList(t,n,r,!0))<0)throw fa(this._thisDoc,this.lines,t,e,"Bad variable list after @forAll");var i=new ea(r);try{for(;;){var o=i.next();(ks(this._variables,o)<0||ks(this._parentVariables,o)>=0)&&(this._variables[o]=this._context.newUniversal(o))}}catch(t){if(t!=ta)throw t}return e}if((n=this.tok("forSome",t,e))>0){if((e=this.commaSeparatedList(t,n,r,this.uri_ref2))<0)throw fa(this._thisDoc,this.lines,t,e,"Bad variable list after @forSome");i=new ea(r);try{for(;;)o=i.next(),this._context.declareExistential(o)}catch(t){if(t!=ta)throw t}return e}if((n=this.tok("prefix",t,e))>=0){var n,s=new Xs([]);if((e=this.qname(t,n,s))<0)throw fa(this._thisDoc,this.lines,t,n,"expected qname after @prefix");if((n=this.uri_ref2(t,e,s))<0)throw fa(this._thisDoc,this.lines,t,e,"expected <uriref> after @prefix _qname_");var a=s[1].uri;return this._baseURI?a=na(this._baseURI,a):ia(a.indexOf(":")>=0,"With no base URI, cannot handle relative URI for NS"),ia(a.indexOf(":")>=0),this._bindings[s[0][0]]=a,this.bind(s[0][0],function(t){return encodeURI(t)}(a)),n}if((n=this.tok("base",t,e))>=0){if(s=new Xs([]),(e=this.uri_ref2(t,n,s))<0)throw fa(this._thisDoc,this.lines,t,n,"expected <uri> after @base ");if(a=s[0].uri,!this._baseURI)throw fa(this._thisDoc,this.lines,t,n,"With no previous base URI, cannot use relative URI in @base <"+a+">");return a=na(this._baseURI,a),ia(a.indexOf(":")>=0),this._baseURI=a,e}return-1}},{key:"bind",value:function(t,e){""==t||this._store.setPrefixForURI(t,e)}},{key:"setKeywords",value:function(t){null==t?this.keywordsSet=0:(this.keywords=t,this.keywordsSet=1)}},{key:"startDoc",value:function(){}},{key:"endDoc",value:function(){return this.hasNil&&this._store.rdfFactory.supports.COLLECTIONS&&Js(this._store,this.source),this._formula}},{key:"makeStatement",value:function(t){t[0].add(t[2],t[1],t[3],this.source),(t[2].uri&&t[2].uri===sa||t[3].uri&&t[3].uri===sa)&&(this.hasNil=!0),this.statementCount+=1}},{key:"statement",value:function(t,e){var r=new Xs([]);if((e=this.object(t,e,r))<0)return e;var i=this.property_list(t,e,r[0]);if(i<0)throw fa(this._thisDoc,this.lines,t,e,"expected propertylist");return i}},{key:"subject",value:function(t,e,r){return this.item(t,e,r)}},{key:"verb",value:function(t,e,r){if((o=this.skipSpace(t,e))<0)return o;var i=new Xs([]);if((o=this.tok("has",t,e))>=0){if((e=this.prop(t,o,i))<0)throw fa(this._thisDoc,this.lines,t,o,"expected property after 'has'");return r.push(new $s(["->",i[0]])),e}if((o=this.tok("is",t,e))>=0){var o;if((e=this.prop(t,o,i))<0)throw fa(this._thisDoc,this.lines,t,o,"expected <property> after 'is'");if((o=this.skipSpace(t,e))<0)throw fa(this._thisDoc,this.lines,t,e,"End of file found, expected property after 'is'");if((o=this.tok("of",t,e=o))<0)throw fa(this._thisDoc,this.lines,t,e,"expected 'of' after 'is' <prop>");return r.push(new $s(["<-",i[0]])),o}if((o=this.tok("a",t,e))>=0)return r.push(new $s(["->",this._store.sym("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")])),o;if("<="==t.slice(e,e+2))return r.push(new $s(["<-",this._store.sym(zs+"implies")])),e+2;if("="==t.slice(e,e+1))return">"==t.slice(e+1,e+2)?(r.push(new $s(["->",this._store.sym(zs+"implies")])),e+2):(r.push(new $s(["->",this._store.sym(aa)])),e+1);if(":="==t.slice(e,e+2))return r.push(new $s(["->",zs+"becomes"])),e+2;if((o=this.prop(t,e,i))>=0)return r.push(new $s(["->",i[0]])),o;if(">-"==t.slice(e,e+2)||"<-"==t.slice(e,e+2))throw fa(this._thisDoc,this.lines,t,o,">- ... -> syntax is obsolete.");return-1}},{key:"prop",value:function(t,e,r){return this.item(t,e,r)}},{key:"item",value:function(t,e,r){return this.path(t,e,r)}},{key:"blankNode",value:function(t){return this._context.bnode(t,this._reason2)}},{key:"path",value:function(t,e,r){if((n=this.nodeOrLiteral(t,e,r))<0)return n;for(;"!^.".indexOf(t.slice(n,n+1))>=0;){var i=t.slice(n,n+1);if("."==i){var o=t.slice(n+1,n+2);if(!o||ca.indexOf(o)>=0&&":?<[{(".indexOf(o)<0)break}var n,s=r.pop(),a=this.blankNode(this.here(n));if((n=this.node(t,n+1,r))<0)throw fa(this._thisDoc,this.lines,t,n,"EOF found in middle of path syntax");var h=r.pop();this.makeStatement(new $s("^"==i?[this._context,h,a,s]:[this._context,h,s,a])),r.push(a)}return n}},{key:"anonymousNode",value:function(t){if(e=this._anonymousNodes[t])return e;var e=this._store.bnode(t);return this._anonymousNodes[t]=e,e}},{key:"node",value:function(t,e,r,i){void 0===i&&(i=null);var o=i;if((u=this.skipSpace(t,e))<0)return u;var n=t.slice(e=u,e+1);if("["==n){var s=this.here(e);if((u=this.skipSpace(t,e+1))<0)throw fa(this._thisDoc,this.lines,t,e,"EOF after '['");if("="==t.slice(u,u+1)){e=u+1;var a=new Xs([]);if(!((u=this.objectList(t,e,a))>=0))throw fa(this._thisDoc,this.lines,t,e,"objectList expected after [= ");if(o=a[0],Ys(a)>1){var h=new ea(a);try{for(;;){var c=h.next();this.makeStatement(new $s([this._context,this._store.sym(aa),o,c]))}}catch(t){if(t!=ta)throw t}}if((u=this.skipSpace(t,u))<0)throw fa(this._thisDoc,this.lines,t,e,"EOF when objectList expected after [ = ");if(";"==t.slice(u,u+1))var u=u+1}if(null==o&&(o=this.blankNode(s)),(e=this.property_list(t,u,o))<0)throw fa(this._thisDoc,this.lines,t,u,"property_list expected");if((u=this.skipSpace(t,e))<0)throw fa(this._thisDoc,this.lines,t,e,"EOF when ']' expected after [ <propertyList>");if("]"!=t.slice(u,u+1))throw fa(this._thisDoc,this.lines,t,u,"']' expected");return r.push(o),u+1}if("{"==n){if("$"==t.slice(e+1,e+2)){u=(e+=1)+1;for(var p=new Xs([]),l=!0;;){if((e=this.skipSpace(t,u))<0)throw fa(this._thisDoc,this.lines,t,e,"needed '$}', found end.");if("$}"==t.slice(e,e+2)){u=e+2;break}if(l)l=!1;else{if(","!=t.slice(e,e+1))throw fa(this._thisDoc,this.lines,t,e,"expected: ','");e+=1}var m=new Xs([]);if((u=this.item(t,e,m))<0)throw fa(this._thisDoc,this.lines,t,e,"expected item in set or '$}'");p.push(m[0])}return r.push(this._store.newSet(p,this._context)),u}u=e+1;var g=this._parentContext;this._parentContext=this._context;var d=this._anonymousNodes,f=this._parentVariables;this._parentVariables=this._variables,this._anonymousNodes=new Qs([]),this._variables=this._variables.slice();var w=this._reason2;for(this._reason2=null,null==o&&(o=this._store.formula()),this._context=o;;){if((e=this.skipSpace(t,u))<0)throw fa(this._thisDoc,this.lines,t,e,"needed '}', found end.");if("}"==t.slice(e,e+1)){u=e+1;break}if((u=this.directiveOrStatement(t,e))<0)throw fa(this._thisDoc,this.lines,t,e,"expected statement or '}'")}return this._anonymousNodes=d,this._variables=this._parentVariables,this._parentVariables=f,this._context=this._parentContext,this._reason2=w,this._parentContext=g,r.push(o.close()),u}if("("==n){var v=this._store.list;for("$"==t.slice(e+1,e+2)&&(v=this._store.newSet,e+=1),u=e+1,p=new Xs([]);;){if((e=this.skipSpace(t,u))<0)throw fa(this._thisDoc,this.lines,t,e,"needed ')', found end.");if(")"==t.slice(e,e+1)){u=e+1;break}if(m=new Xs([]),(u=this.item(t,e,m))<0)throw fa(this._thisDoc,this.lines,t,e,"expected item in list or ')'");p.push(m[0])}return r.push(v(p,this._context)),u}if((u=this.tok("this",t,e))>=0)throw fa(this._thisDoc,this.lines,t,e,"Keyword 'this' was ancient N3. Now use @forSome and @forAll keywords.");return(u=this.tok("true",t,e))>=0?(r.push(!0),u):(u=this.tok("false",t,e))>=0?(r.push(!1),u):null==o&&(u=this.uri_ref2(t,e,r))>=0?u:-1}},{key:"property_list",value:function(t,e,r){for(;;){if((c=this.skipSpace(t,e))<0)throw fa(this._thisDoc,this.lines,t,e,"EOF found when expected verb in property list");if(":-"!=t.slice(c,c+2)){e=c;var i=new Xs([]);if((c=this.verb(t,e,i))<=0)return e;var o=new Xs([]);if((e=this.objectList(t,c,o))<0)throw fa(this._thisDoc,this.lines,t,c,"objectList expected");var n=new ea(o);try{for(;;){var s=n.next(),a=i[0],h=a[1];this.makeStatement(new $s("->"==a[0]?[this._context,h,r,s]:[this._context,h,s,r]))}}catch(t){if(t!=ta)throw t}if((c=this.skipSpace(t,e))<0)throw fa(this._thisDoc,this.lines,t,c,"EOF found in list of objects");if(";"!=t.slice(e,e+1))return e;e+=1}else{e=c+2;var c,u=new Xs([]);if((c=this.node(t,e,u,r))<0)throw fa(this._thisDoc,this.lines,t,e,"bad {} or () or [] node after :- ");e=c}}}},{key:"commaSeparatedList",value:function(t,e,r,i){if((o=this.skipSpace(t,e))<0)throw fa(this._thisDoc,this.lines,t,o,"EOF found expecting comma sep list");if("."==t.charAt(o))return e;if(i)var o=this.uri_ref2(t,o,r);else o=this.bareWord(t,o,r);if(o<0)return-1;for(;;){if((e=this.skipSpace(t,o))<0)return e;var n=t.slice(e,e+1);if(","!=n)return"."!=n?-1:e;if((o=i?this.uri_ref2(t,e+1,r):this.bareWord(t,e+1,r))<0)throw fa(this._thisDoc,this.lines,t,o,"bad list content")}}},{key:"objectList",value:function(t,e,r){if((e=this.object(t,e,r))<0)return-1;for(;;){var i=this.skipSpace(t,e);if(i<0)throw fa(this._thisDoc,this.lines,t,i,"EOF found after object");if(","!=t.slice(i,i+1))return i;if((e=this.object(t,i+1,r))<0)return e}}},{key:"checkDot",value:function(t,e){var r=this.skipSpace(t,e);if(r<0)return r;if("."==t.slice(r,r+1))return r+1;if("}"==t.slice(r,r+1))return r;if("]"==t.slice(r,r+1))return r;throw fa(this._thisDoc,this.lines,t,r,"expected '.' or '}' or ']' at end of statement")}},{key:"uri_ref2",value:function(t,e,r){var i=new Xs([]);if((l=this.qname(t,e,i))>=0){var o=i[0],n=o[0],s=o[1];if(null==n){ia(0,"not used?");var a=this._baseURI+"#"}else if(!(a=this._bindings[n])){if("_"==n)return r.push(this.anonymousNode(s)),l;throw fa(this._thisDoc,this.lines,t,e,"Prefix "+n+" not bound.")}var h=this._store.sym(a+s);return ks(this._variables,h)>=0?r.push(this._variables[h]):r.push(h),l}if((e=this.skipSpace(t,e))<0)return-1;if("?"==t.charAt(e)){var c=new Xs([]);return(l=this.variable(t,e,c))>0?(r.push(c[0]),l):-1}if("<"==t.charAt(e)){for(var u=e+=1;e<Ys(t);){if(">"==t.charAt(e)){var p=t.slice(u,e);return this._baseURI?p=na(this._baseURI,p):ia(p.indexOf(":")>=0,"With no base URI, cannot deal with relative URIs"),"#"==t.slice(e-1,e)&&"#"!=Zs(p,-1,null)&&(p+="#"),h=this._store.sym(p),ks(this._variables,h)>=0?r.push(this._variables[h]):r.push(h),e+1}e+=1}throw fa(this._thisDoc,this.lines,t,l,"unterminated URI reference")}if(this.keywordsSet){var l;if(c=new Xs([]),(l=this.bareWord(t,e,c))<0)return-1;if(ks(this.keywords,c[0])>=0)throw fa(this._thisDoc,this.lines,t,e,'Keyword "'+c[0]+'" not allowed here.');return r.push(this._store.sym(this._bindings[""]+c[0])),l}return-1}},{key:"skipSpace",value:function(t,e){for(var r=e||0;r<t.length;r++){var i=t.charAt(r);if(" \n\r\t\f\v            ​\u2028\u2029 ".indexOf(i)<0){if("#"!==t.charAt(r))return r;for(;;r++){if(r===t.length)return-1;if("\n"===t.charAt(r)){this.lines=this.lines+1;break}}}else"\n"===t.charAt(r)&&(this.lines=this.lines+1)}return-1}},{key:"variable",value:function(t,e,r){if((i=this.skipSpace(t,e))<0)return-1;if("?"!=t.slice(i,i+1))return-1;var i;if(e=i+=1,"0123456789-".indexOf(t.charAt(i))>=0)throw fa(this._thisDoc,this.lines,t,i,"Varible name can't start with '"+t.charAt(i)+"s'");for(;e<Ys(t)&&ca.indexOf(t.charAt(e))<0;)e+=1;if(null==this._parentContext)throw fa(this._thisDoc,this.lines,t,i,"Can't use ?xxx syntax for variable in outermost level: "+t.slice(i-1,e));return r.push(this._store.variable(t.slice(i,e))),e}},{key:"bareWord",value:function(t,e,r){var i=this.skipSpace(t,e);if(i<0)return-1;var o=t.charAt(i);if("0123456789-".indexOf(o)>=0)return-1;if(ca.indexOf(o)>=0)return-1;for(e=i;e<Ys(t)&&ca.indexOf(t.charAt(e))<0;)e+=1;return r.push(t.slice(i,e)),e}},{key:"qname",value:function(t,e,r){if((e=this.skipSpace(t,e))<0)return-1;var i=t.charAt(e);if("0123456789-+".indexOf(i)>=0)return-1;if(ca.indexOf(i)<0){var o=i;for(e+=1;e<Ys(t)&&(i=t.charAt(e),ca.indexOf(i)<0);)o+=i,e+=1}else o="";if(e<Ys(t)&&":"==t.charAt(e)){var n=o;for(e+=1,o="";e<Ys(t)&&(i=t.charAt(e),ca.indexOf(i)<0);)o+=i,e+=1;return r.push(new $s([n,o])),e}return o&&this.keywordsSet&&ks(this.keywords,o)<0?(r.push(new $s(["",o])),e):-1}},{key:"object",value:function(t,e,r){if((s=this.subject(t,e,r))>=0)return s;if((s=this.skipSpace(t,e))<0)return-1;var i=null,o=t.charAt(e=s);if('"'==o||"'"==o){i=t.slice(e,e+3==o+o)?o+o+o:o,e+=Ys(i);var n=this.strconst(t,e,i),s=n[0];return r.push(this._store.literal(n[1])),s}return-1}},{key:"nodeOrLiteral",value:function(t,e,r){if((p=this.node(t,e,r))>=0)return p;if((p=this.skipSpace(t,e))<0)return-1;var i=t.charAt(e=p);if("-+0987654321".indexOf(i)>=0){if(pa.lastIndex=0,null!=(u=pa.exec(t.slice(e))))p=e+(o=u[0]).length,o.indexOf("T")>=0?r.push(this._store.literal(o,this._store.sym("http://www.w3.org/2001/XMLSchema#dateTime"))):r.push(this._store.literal(o,this._store.sym("http://www.w3.org/2001/XMLSchema#date")));else{var o;if(ua.lastIndex=0,null==(u=ua.exec(t.slice(e))))throw fa(this._thisDoc,this.lines,t,e,"Bad number or date syntax");(o=t.slice(e,p=e+ua.lastIndex)).indexOf("e")>=0?r.push(this._store.literal(parseFloat(o),this._store.sym("http://www.w3.org/2001/XMLSchema#double"))):t.slice(e,p).indexOf(".")>=0?r.push(this._store.literal(parseFloat(o),this._store.sym("http://www.w3.org/2001/XMLSchema#decimal"))):r.push(this._store.literal(parseInt(o),this._store.sym("http://www.w3.org/2001/XMLSchema#integer")))}return p}if('"'==t.charAt(e)){if('"""'==t.slice(e,e+3))var n='"""';else n='"';e+=Ys(n);var s=null,a=this.strconst(t,e,n),h=a[1],c=null;if("@"==t.slice(p=a[0],p+1)){var u;if(ma.lastIndex=0,null==(u=ma.exec(t.slice(p+1))))throw fa(this._thisDoc,startline,t,e,"Bad language code syntax on string literal, after @");c=t.slice(p+1,e=ma.lastIndex+p+1);var p=e}if("^^"==t.slice(p,p+2)){var l=new Xs([]);p=this.uri_ref2(t,p+2,l),s=l[0]}return r.push(this._store.literal(h,c||s)),p}return-1}},{key:"strconst",value:function(t,e,r){for(var i=e,o="",n=this.lines;i<Ys(t);){if(e=i+Ys(r),t.slice(i,e)==r)return new $s([e,o]);if('"'!=t.charAt(i)){if(la.lastIndex=0,!la.exec(t.slice(i)))throw fa(this._thisDoc,n,t,i,"Closing quote missing in string at ^ in "+t.slice(i-20,i)+"^"+t.slice(i,i+20));if(o+=t.slice(i,e=i+la.lastIndex-1),'"'!=(h=t.charAt(e)))if("\r"!=h){if("\n"==h){if('"'==r)throw fa(this._thisDoc,n,t,e,"newline found in string literal");this.lines=this.lines+1,o+=h,i=e+1,this.previousLine=this.startOfLine,this.startOfLine=i}else if("\\"==h){if(!(h=t.slice(i=e+1,i+1)))throw fa(this._thisDoc,n,t,e,"unterminated string literal (2)");var s=ra('abfrtvn\\"',h);if(s>=0)o+='a\b\f\r\t\v\n\\"'.charAt(s),i+=1;else if("u"==h)i=(a=this.uEscape(t,i+1,n))[0],o+=h=a[1];else{if("U"!=h)throw fa(this._thisDoc,this.lines,t,e,"bad escape");var a,h;i=(a=this.UEscape(t,i+1,n))[0],o+=h=a[1]}}}else i=e+1;else i=e}else o=o+'"',i=i+1}throw fa(this._thisDoc,this.lines,t,e,"unterminated string literal")}},{key:"uEscape",value:function(t,e,r){for(var i=e,o=0,n=0;o<4;){var s=t.slice(i,i+1).toLowerCase();if(i+=1,""==s)throw fa(this._thisDoc,r,t,e,"unterminated string literal(3)");var a=ra("0123456789abcdef",s);if(a<0)throw fa(this._thisDoc,r,t,e,"bad string literal hex escape");n=16*n+a,o+=1}var h=String.fromCharCode(n);return new $s([i,h])}},{key:"UEscape",value:function(t,e,r){for(var i=e,o=0,n="\\U";o<8;){var s=t.slice(i,i+1).toLowerCase();if(i+=1,""==s)throw fa(this._thisDoc,r,t,e,"unterminated string literal(3)");if(ra("0123456789abcdef",s)<0)throw fa(this._thisDoc,r,t,e,"bad string literal hex escape");n+=s,o+=1}var a,h=(a="0x"+Zs(n,2,10)-0,String.fromCharCode(a));return new $s([i,h])}}]),t}();function fa(t,e,r,i,o){var n=e+1,s="Line "+n+" of <"+t+">: Bad syntax: "+o+'\nat: "'+r.slice(i,i+30)+'"',a=new SyntaxError(s,t,n);return a.lineNo=n,a.characterInFile=i,a.syntaxProblem=o,a}function wa(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function va(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(r),!0).forEach((function(e){$o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):wa(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ya=va(va({},os),{},{supports:(oa={},$o(oa,Yn.collections,!0),$o(oa,Yn.defaultGraphType,!1),$o(oa,Yn.equalsMethod,!0),$o(oa,Yn.identity,!1),$o(oa,Yn.id,!0),$o(oa,Yn.reversibleId,!1),$o(oa,Yn.variableType,!0),oa),collection:function(t){return new _n(t)},id:function(t){var e,r=this;return Sn(t)?"( ".concat(t.elements.map((function(t){return r.id(t)})).join(", ")," )"):Pn(e=t)&&e.termType===en?es.toString(t):os.id(t)},termToNQ:function(t){return t.termType===on?_n.toNT(t):os.termToNQ(t)}});function ba(t,e){return"string"==typeof e?t.rdfFactory.literal(e):Object.prototype.hasOwnProperty.call(e,"@list")?!0===t.rdfFactory.supports.COLLECTIONS?function(t,e){if(!Array.isArray(e))throw new TypeError("Object must be an array");return t.rdfFactory.collection(e.map((function(e){return ba(t,e)})))}(t,e["@list"]):function(t,e){var r=e["@id"]?Aa(t,e):t.rdfFactory.blankNode(),i=e["@list"].map((function(e){return ba(t,e)})),o=Fs(t.rdfFactory,r,i);return t.addAll(o),r}(t,e):Object.prototype.hasOwnProperty.call(e,"@id")?Aa(t,e):Object.prototype.hasOwnProperty.call(e,"@language")?t.rdfFactory.literal(e["@value"],e["@language"]):Object.prototype.hasOwnProperty.call(e,"@type")?t.rdfFactory.literal(e["@value"],t.rdfFactory.namedNode(e["@type"])):Object.prototype.hasOwnProperty.call(e,"@value")?t.rdfFactory.literal(e["@value"]):t.rdfFactory.literal(e)}function Sa(t,e,r,i){var o=r&&Object.prototype.hasOwnProperty.call(r,"termType")?r.value:r;return import("./p-b5e115b1.js").then((function(e){return e.flatten(JSON.parse(t),null,{base:o})})).then((function(t){return t.reduce((function(t,i){return e=Ea(e,r,i)}),e)})).then(i).catch(i)}function Aa(t,e){return e["@id"].startsWith("_:")?t.rdfFactory.blankNode(e["@id"].substring(2)):t.rdfFactory.namedNode(e["@id"])}function Ea(t,e,r){for(var i=r["@id"]?Aa(t,r):t.rdfFactory.blankNode(),o=0,n=Object.keys(r);o<n.length;o++){var s=n[o];if("@id"!==s){if("@graph"==s)for(var a=i,h=r[s],c=0;c<h.length;c++)t=Ea(t,a,h[c]);var u=r[s];if(Array.isArray(u))for(var p=0;p<u.length;p++)t.addStatement(Ca(t,i,s,u[p],e));else t.addStatement(Ca(t,i,s,u,e))}}return t}function Ca(t,e,r,i,o){var n,s;return"@type"===r?(n=t.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),s=t.rdfFactory.namedNode(i)):(n=t.rdfFactory.namedNode(r),s=ba(t,i)),t.rdfFactory.quad(e,n,s,t.rdfFactory.namedNode(o))}var Pa,Fa="http://www.w3.org/1999/02/22-rdf-syntax-ns#",ka="http://www.w3.org/2001/XMLSchema#",Ta="http://www.w3.org/2000/10/swap/",Ra={xsd:{decimal:`${ka}decimal`,boolean:`${ka}boolean`,double:`${ka}double`,integer:`${ka}integer`,string:`${ka}string`},rdf:{type:`${Fa}type`,nil:`${Fa}nil`,first:`${Fa}first`,rest:`${Fa}rest`,langString:`${Fa}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${Ta}reify#forSome`,forAll:`${Ta}reify#forAll`},log:{implies:`${Ta}log#implies`}},Oa=E(jo()),{xsd:Da}=Ra,Ma=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,Ia={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},xa=/[\x00-\x20<>\\"\{\}\|\^\`]/,_a={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},Na=/$0^/,{rdf:ja,xsd:Ba}=Ra,Ua=0,La={namedNode:function(t){return new Va(t)},blankNode:function(t){return new Ga(t||"n3-"+Ua++)},variable:function(t){return new Ka(t)},literal:function(t,e){if("string"==typeof e)return new qa(`"${t}"@${e.toLowerCase()}`);let r=e?e.value:"";return""===r&&("boolean"==typeof t?r=Ba.boolean:"number"==typeof t&&(Number.isFinite(t)?r=Number.isInteger(t)?Ba.integer:Ba.double:(r=Ba.double,Number.isNaN(t)||(t=t>0?"INF":"-INF")))),new qa(""===r||r===Ba.string?`"${t}"`:`"${t}"^^${r}`)},defaultGraph:function(){return Pa},quad:za,triple:za},Ha=La,Wa=class{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof Wa?this.id===t.id:!!t&&this.termType===t.termType&&this.value===t.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}},Va=class extends Wa{get termType(){return"NamedNode"}},qa=class extends Wa{get termType(){return"Literal"}get value(){return this.id.substring(1,this.id.lastIndexOf('"'))}get language(){const t=this.id;let e=t.lastIndexOf('"')+1;return e<t.length&&"@"===t[e++]?t.substr(e).toLowerCase():""}get datatype(){return new Va(this.datatypeString)}get datatypeString(){const t=this.id,e=t.lastIndexOf('"')+1,r=e<t.length?t[e]:"";return"^"===r?t.substr(e+2):"@"!==r?Ba.string:ja.langString}equals(t){return t instanceof qa?this.id===t.id:!!t&&!!t.datatype&&this.termType===t.termType&&this.value===t.value&&this.language===t.language&&this.datatype.value===t.datatype.value}toJSON(){return{termType:this.termType,value:this.value,language:this.language,datatype:{termType:"NamedNode",value:this.datatypeString}}}},Ga=class extends Wa{constructor(t){super(`_:${t}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}},Ka=class extends Wa{constructor(t){super(`?${t}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}};Pa=new class extends Wa{constructor(){return super(""),Pa||this}get termType(){return"DefaultGraph"}equals(t){return this===t||!!t&&this.termType===t.termType}};var Ja=class extends Wa{constructor(t,e,r,i){super(""),this._subject=t,this._predicate=e,this._object=r,this._graph=i||Pa}get termType(){return"Quad"}get subject(){return this._subject}get predicate(){return this._predicate}get object(){return this._object}get graph(){return this._graph}toJSON(){return{termType:this.termType,subject:this._subject.toJSON(),predicate:this._predicate.toJSON(),object:this._object.toJSON(),graph:this._graph.toJSON()}}equals(t){return!!t&&this._subject.equals(t.subject)&&this._predicate.equals(t.predicate)&&this._object.equals(t.object)&&this._graph.equals(t.graph)}};function za(t,e,r,i){return new Ja(t,e,r,i)}var $a,Xa=0,Qa=class{constructor(t){this._contextStack=[],this._graph=null,this._setBase((t=t||{}).baseIRI),t.factory&&Za(this,t.factory);const e="string"==typeof t.format?t.format.match(/\w*$/)[0].toLowerCase():"",r=/turtle/.test(e),i=/trig/.test(e),o=/triple/.test(e),n=/quad/.test(e),s=this._n3Mode=/n3/.test(e),a=o||n;(this._supportsNamedGraphs=!(r||s))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(r||i||o||s),this._supportsRDFStar=""===e||/star|\*$/.test(e),a&&(this._resolveRelativeIRI=()=>null),this._blankNodePrefix="string"!=typeof t.blankNodePrefix?"":t.blankNodePrefix.replace(/^(?!_:)/,"_:"),this._lexer=t.lexer||new class{constructor(t){if(this._iri=/^<((?:[^ <>{}\\]|\\[uU])+)>[ \t]*/,this._unescapedIri=/^<([^\x00-\x20<>\\"\{\}\|\^\`]*)>[ \t]*/,this._simpleQuotedString=/^"([^"\\\r\n]*)"(?=[^"])/,this._simpleApostropheString=/^'([^'\\\r\n]*)'(?=[^'])/,this._langcode=/^@([a-z]+(?:-[a-z0-9]+)*)(?=[^a-z0-9\-])/i,this._prefix=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:(?=[#\s<])/,this._prefixed=/^((?:[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)?:((?:(?:[0-:A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])(?:(?:[\.\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~])*(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff]|%[0-9a-fA-F]{2}|\\[!#-\/;=?\-@_~]))?)?)(?:[ \t]+|(?=\.?[,;!\^\s#()\[\]\{\}"'<>]))/,this._variable=/^\?(?:(?:[A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:[\-0-:A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?=[.,;!\^\s#()\[\]\{\}"'<>])/,this._blank=/^_:((?:[0-9A-Z_a-z\xc0-\xd6\xd8-\xf6\xf8-\u02ff\u0370-\u037d\u037f-\u1fff\u200c\u200d\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])(?:\.?[\-0-9A-Z_a-z\xb7\xc0-\xd6\xd8-\xf6\xf8-\u037d\u037f-\u1fff\u200c\u200d\u203f\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]|[\ud800-\udb7f][\udc00-\udfff])*)(?:[ \t]+|(?=\.?[,;:\s#()\[\]\{\}"'<>]))/,this._number=/^[\-+]?(?:(\d+\.\d*|\.?\d+)[eE][\-+]?|\d*(\.)?)\d+(?=\.?[,;:\s#()\[\]\{\}"'<>])/,this._boolean=/^(?:true|false)(?=[.,;\s#()\[\]\{\}"'<>])/,this._keyword=/^@[a-z]+(?=[\s#<:])/i,this._sparqlKeyword=/^(?:PREFIX|BASE|GRAPH)(?=[\s#<])/i,this._shortPredicates=/^a(?=[\s#()\[\]\{\}"'<>])/,this._newline=/^[ \t]*(?:#[^\n\r]*)?(?:\r\n|\n|\r)[ \t]*/,this._comment=/#([^\n\r]*)/,this._whitespace=/^[ \t]+/,this._endOfFile=/^(?:#[^\n\r]*)?$/,this._lineMode=!!(t=t||{}).lineMode){this._n3Mode=!1;for(const t in this)!(t in _a)&&this[t]instanceof RegExp&&(this[t]=Na)}else this._n3Mode=!1!==t.n3;this._comments=!!t.comments,this._literalClosingPos=0}_tokenizeToEnd(t,e){let r=this._input,i=r.length;for(;;){let t,s;for(;t=this._newline.exec(r);)this._comments&&(s=this._comment.exec(t[0]))&&o("comment",s[1],"",this._line,t[0].length),r=r.substr(t[0].length,r.length),i=r.length,this._line++;if(!t&&(t=this._whitespace.exec(r))&&(r=r.substr(t[0].length,r.length)),this._endOfFile.test(r))return e&&(this._comments&&(s=this._comment.exec(r))&&o("comment",s[1],"",this._line,r.length),r=null,o("eof","","",this._line,0)),this._input=r;const a=this._line,h=r[0];let c="",u="",p="",l=null,m=0,g=!1;switch(h){case"^":if(r.length<3)break;if("^"!==r[1]){this._n3Mode&&(m=1,c="^");break}if(this._previousMarker="^^",r=r.substr(2),"<"!==r[0]){g=!0;break}case"<":if(l=this._unescapedIri.exec(r))c="IRI",u=l[1];else if(l=this._iri.exec(r)){if(u=this._unescape(l[1]),null===u||xa.test(u))return n(this);c="IRI"}else r.length>1&&"<"===r[1]?(c="<<",m=2):this._n3Mode&&r.length>1&&"="===r[1]&&(c="inverse",m=2,u=">");break;case">":r.length>1&&">"===r[1]&&(c=">>",m=2);break;case"_":((l=this._blank.exec(r))||e&&(l=this._blank.exec(`${r} `)))&&(c="blank",p="_",u=l[1]);break;case'"':if(l=this._simpleQuotedString.exec(r))u=l[1];else if(({value:u,matchLength:m}=this._parseLiteral(r)),null===u)return n(this);null===l&&0===m||(c="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(l=this._simpleApostropheString.exec(r))u=l[1];else if(({value:u,matchLength:m}=this._parseLiteral(r)),null===u)return n(this);null===l&&0===m||(c="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(l=this._variable.exec(r))&&(c="var",u=l[0]);break;case"@":"literal"===this._previousMarker&&(l=this._langcode.exec(r))?(c="langcode",u=l[1]):(l=this._keyword.exec(r))&&(c=l[0]);break;case".":if(1===r.length?e:r[1]<"0"||r[1]>"9"){c=".",m=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(l=this._number.exec(r)||e&&(l=this._number.exec(`${r} `)))&&(c="literal",u=l[0],p="string"==typeof l[1]?Da.double:"string"==typeof l[2]?Da.decimal:Da.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(l=this._sparqlKeyword.exec(r))?c=l[0].toUpperCase():g=!0;break;case"f":case"t":(l=this._boolean.exec(r))?(c="literal",u=l[0],p=Da.boolean):g=!0;break;case"a":(l=this._shortPredicates.exec(r))?(c="abbreviation",u="a"):g=!0;break;case"=":this._n3Mode&&r.length>1&&(c="abbreviation",">"!==r[1]?(m=1,u="="):(m=2,u=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"{":case"}":this._lineMode||(m=1,c=h);break;default:g=!0}if(g&&("@prefix"!==this._previousMarker&&"PREFIX"!==this._previousMarker||!(l=this._prefix.exec(r))?((l=this._prefixed.exec(r))||e&&(l=this._prefixed.exec(`${r} `)))&&(c="prefixed",p=l[1]||"",u=this._unescape(l[2])):(c="prefix",u=l[1]||"")),"^^"===this._previousMarker)switch(c){case"prefixed":c="type";break;case"IRI":c="typeIRI";break;default:c=""}if(!c)return e||!/^'''|^"""/.test(r)&&/\n|\r/.test(r)?n(this):this._input=r;const d=m||l[0].length,f=o(c,u,p,a,d);this.previousToken=f,this._previousMarker=c,r=r.substr(d,r.length)}function o(e,o,n,s,a){const h=r?i-r.length:i,c={type:e,value:o,prefix:n,line:s,start:h,end:h+a};return t(null,c),c}function n(e){t(e._syntaxError(/^\S*/.exec(r)[0]))}}_unescape(t){let e=!1;const r=t.replace(Ma,((t,r,i,o)=>{if("string"==typeof r)return String.fromCharCode(Number.parseInt(r,16));if("string"==typeof i){let t=Number.parseInt(i,16);return t<=65535?String.fromCharCode(Number.parseInt(i,16)):String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t))}return o in Ia?Ia[o]:(e=!0,"")}));return e?null:r}_parseLiteral(t){if(t.length>=3){const e=t.match(/^(?:"""|"|'''|'|)/)[0],r=e.length;let i=Math.max(this._literalClosingPos,r);for(;(i=t.indexOf(e,i))>0;){let e=0;for(;"\\"===t[i-e-1];)e++;if(e%2==0){const e=t.substring(r,i),o=e.split(/\r\n|\r|\n/).length-1,n=i+r;if(1===r&&0!==o||3===r&&this._lineMode)break;return this._line+=o,{value:this._unescape(e),matchLength:n}}i++}this._literalClosingPos=t.length-r+1}return{value:"",matchLength:0}}_syntaxError(t){this._input=null;const e=new Error(`Unexpected "${t}" on line ${this._line}.`);return e.context={token:void 0,line:this._line,previousToken:this.previousToken},e}_readStartingBom(t){return t.startsWith("\ufeff")?t.substr(1):t}tokenize(t,e){if(this._line=1,"string"==typeof t){if(this._input=this._readStartingBom(t),"function"!=typeof e){const t=[];let e;if(this._tokenizeToEnd(((r,i)=>r?e=r:t.push(i)),!0),e)throw e;return t}(0,Oa.default)((()=>this._tokenizeToEnd(e,!0)))}else this._pendingBuffer=null,"function"==typeof t.setEncoding&&t.setEncoding("utf8"),t.on("data",(t=>{null!==this._input&&0!==t.length&&(this._pendingBuffer&&(t=Buffer.concat([this._pendingBuffer,t]),this._pendingBuffer=null),128&t[t.length-1]?this._pendingBuffer=t:(void 0===this._input?this._input=this._readStartingBom("string"==typeof t?t:t.toString()):this._input+=t,this._tokenizeToEnd(e,!1)))})),t.on("end",(()=>{"string"==typeof this._input&&this._tokenizeToEnd(e,!0)})),t.on("error",e)}}({lineMode:a,n3:s}),this._explicitQuantifiers=!!t.explicitQuantifiers}static _resetBlankNodePrefix(){Xa=0}_setBase(t){if(t){const e=t.indexOf("#");e>=0&&(t=t.substr(0,e)),this._base=t,this._basePath=t.indexOf("/")<0?t:t.replace(/[^\/?]*(?:\?.*)?$/,""),t=t.match(/^(?:([a-z][a-z0-9+.-]*:))?(?:\/\/[^\/]*)?/i),this._baseRoot=t[0],this._baseScheme=t[1]}else this._base="",this._basePath=""}_saveContext(t,e,r,i,o){const n=this._n3Mode;this._contextStack.push({type:t,subject:r,predicate:i,object:o,graph:e,inverse:!!n&&this._inversePredicate,blankPrefix:n?this._prefixes._:"",quantified:n?this._quantified:null}),n&&(this._inversePredicate=!1,this._prefixes._=this._graph?`${this._graph.id.substr(2)}.`:".",this._quantified=Object.create(this._quantified))}_restoreContext(t,e){const r=this._contextStack.pop();if(!r||r.type!==t)return this._error(`Unexpected ${e.type}`,e);this._subject=r.subject,this._predicate=r.predicate,this._object=r.object,this._graph=r.graph,this._n3Mode&&(this._inversePredicate=r.inverse,this._prefixes._=r.blankPrefix,this._quantified=r.quantified)}_readInTopContext(t){switch(t.type){case"eof":return null!==this._graph?this._error("Unclosed graph",t):(delete this._prefixes._,this._callback(null,null,this._prefixes));case"PREFIX":this._sparqlStyle=!0;case"@prefix":return this._readPrefix;case"BASE":this._sparqlStyle=!0;case"@base":return this._readBaseIRI;case"{":if(this._supportsNamedGraphs)return this._graph="",this._subject=null,this._readSubject;case"GRAPH":if(this._supportsNamedGraphs)return this._readNamedGraphLabel;default:return this._readSubject(t)}}_readEntity(t,e){let r;switch(t.type){case"IRI":case"typeIRI":const e=this._resolveIRI(t.value);if(null===e)return this._error("Invalid IRI",t);r=this._namedNode(e);break;case"type":case"prefixed":const i=this._prefixes[t.prefix];if(void 0===i)return this._error(`Undefined prefix "${t.prefix}:"`,t);r=this._namedNode(i+t.value);break;case"blank":r=this._blankNode(this._prefixes[t.prefix]+t.value);break;case"var":r=this._variable(t.value.substr(1));break;default:return this._error(`Expected entity but got ${t.type}`,t)}return!e&&this._n3Mode&&r.id in this._quantified&&(r=this._quantified[r.id]),r}_readSubject(t){switch(this._predicate=null,t.type){case"[":return this._saveContext("blank",this._graph,this._subject=this._blankNode(),null,null),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this.RDF_NIL,null,null),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._graph=this._blankNode(),null,null),this._readSubject):this._error("Unexpected graph",t);case"}":return this._readPunctuation(t);case"@forSome":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORSOME,this._quantifier=this._blankNode,this._readQuantifierList):this._error('Unexpected "@forSome"',t);case"@forAll":return this._n3Mode?(this._subject=null,this._predicate=this.N3_FORALL,this._quantifier=this._variable,this._readQuantifierList):this._error('Unexpected "@forAll"',t);case"literal":if(!this._n3Mode)return this._error("Unexpected literal",t);if(0===t.prefix.length)return this._literalValue=t.value,this._completeSubjectLiteral;this._subject=this._literal(t.value,this._namedNode(t.prefix));break;case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,null,null,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",t);default:if(void 0===(this._subject=this._readEntity(t)))return;if(this._n3Mode)return this._getPathReader(this._readPredicateOrNamedGraph)}return this._readPredicateOrNamedGraph}_readPredicate(t){const e=t.type;switch(e){case"inverse":this._inversePredicate=!0;case"abbreviation":this._predicate=this.ABBREVIATIONS[t.value];break;case".":case"]":case"}":return null===this._predicate?this._error(`Unexpected ${e}`,t):(this._subject=null,"]"===e?this._readBlankNodeTail(t):this._readPunctuation(t));case";":return null!==this._predicate?this._readPredicate:this._error("Expected predicate but got ;",t);case"[":if(this._n3Mode)return this._saveContext("blank",this._graph,this._subject,this._subject=this._blankNode(),null),this._readBlankNodeHead;case"blank":if(!this._n3Mode)return this._error("Disallowed blank node as predicate",t);default:if(void 0===(this._predicate=this._readEntity(t)))return}return this._readObject}_readObject(t){switch(t.type){case"literal":if(0===t.prefix.length)return this._literalValue=t.value,this._readDataTypeOrLang;this._object=this._literal(t.value,this._namedNode(t.prefix));break;case"[":return this._saveContext("blank",this._graph,this._subject,this._predicate,this._subject=this._blankNode()),this._readBlankNodeHead;case"(":return this._saveContext("list",this._graph,this._subject,this._predicate,this.RDF_NIL),this._subject=null,this._readListItem;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",t);case"<<":return this._supportsRDFStar?(this._saveContext("<<",this._graph,this._subject,this._predicate,null),this._graph=null,this._readSubject):this._error("Unexpected RDF* syntax",t);default:if(void 0===(this._object=this._readEntity(t)))return;if(this._n3Mode)return this._getPathReader(this._getContextEndReader())}return this._getContextEndReader()}_readPredicateOrNamedGraph(t){return"{"===t.type?this._readGraph(t):this._readPredicate(t)}_readGraph(t){return"{"!==t.type?this._error(`Expected graph but got ${t.type}`,t):(this._graph=this._subject,this._subject=null,this._readSubject)}_readBlankNodeHead(t){return"]"===t.type?(this._subject=null,this._readBlankNodeTail(t)):(this._predicate=null,this._readPredicate(t))}_readBlankNodeTail(t){if("]"!==t.type)return this._readBlankNodePunctuation(t);null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph);const e=null===this._predicate;return this._restoreContext("blank",t),null!==this._object?this._getContextEndReader():null!==this._predicate?this._readObject:e?this._readPredicateOrNamedGraph:this._readPredicateAfterBlank}_readPredicateAfterBlank(t){switch(t.type){case".":case"}":return this._subject=null,this._readPunctuation(t);default:return this._readPredicate(t)}}_readListItem(t){let e=null,r=null,i=this._readListItem;const o=this._subject,n=this._contextStack,s=n[n.length-1];switch(t.type){case"[":this._saveContext("blank",this._graph,r=this._blankNode(),this.RDF_FIRST,this._subject=e=this._blankNode()),i=this._readBlankNodeHead;break;case"(":this._saveContext("list",this._graph,r=this._blankNode(),this.RDF_FIRST,this.RDF_NIL),this._subject=null;break;case")":if(this._restoreContext("list",t),0!==n.length&&"list"===n[n.length-1].type&&this._emit(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(i=this._readPredicate,this._subject===this.RDF_NIL)return i}else if(i=this._getContextEndReader(),this._object===this.RDF_NIL)return i;r=this.RDF_NIL;break;case"literal":0===t.prefix.length?(this._literalValue=t.value,i=this._readListItemDataTypeOrLang):(e=this._literal(t.value,this._namedNode(t.prefix)),i=this._getContextEndReader());break;case"{":return this._n3Mode?(this._saveContext("formula",this._graph,this._subject,this._predicate,this._graph=this._blankNode()),this._readSubject):this._error("Unexpected graph",t);default:if(void 0===(e=this._readEntity(t)))return}if(null===r&&(this._subject=r=this._blankNode()),null===o?null===s.predicate?s.subject=r:s.object=r:this._emit(o,this.RDF_REST,r,this._graph),null!==e){if(this._n3Mode&&("IRI"===t.type||"prefixed"===t.type))return this._saveContext("item",this._graph,r,this.RDF_FIRST,e),this._subject=e,this._predicate=null,this._getPathReader(this._readListItem);this._emit(r,this.RDF_FIRST,e,this._graph)}return i}_readDataTypeOrLang(t){return this._completeObjectLiteral(t,!1)}_readListItemDataTypeOrLang(t){return this._completeObjectLiteral(t,!0)}_completeLiteral(t){let e=this._literal(this._literalValue);switch(t.type){case"type":case"typeIRI":const r=this._readEntity(t);if(void 0===r)return;e=this._literal(this._literalValue,r),t=null;break;case"langcode":e=this._literal(this._literalValue,t.value),t=null}return{token:t,literal:e}}_completeSubjectLiteral(t){return this._subject=this._completeLiteral(t).literal,this._readPredicateOrNamedGraph}_completeObjectLiteral(t,e){const r=this._completeLiteral(t);if(r)return this._object=r.literal,e&&this._emit(this._subject,this.RDF_FIRST,this._object,this._graph),null===r.token?this._getContextEndReader():(this._readCallback=this._getContextEndReader(),this._readCallback(r.token))}_readFormulaTail(t){return"}"!==t.type?this._readPunctuation(t):(null!==this._subject&&this._emit(this._subject,this._predicate,this._object,this._graph),this._restoreContext("formula",t),null===this._object?this._readPredicate:this._getContextEndReader())}_readPunctuation(t){let e,r=this._graph;const i=this._subject,o=this._inversePredicate;switch(t.type){case"}":if(null===this._graph)return this._error("Unexpected graph closing",t);if(this._n3Mode)return this._readFormulaTail(t);this._graph=null;case".":this._subject=null,e=this._contextStack.length?this._readSubject:this._readInTopContext,o&&(this._inversePredicate=!1);break;case";":e=this._readPredicate;break;case",":e=this._readObject;break;default:if(this._supportsQuads&&null===this._graph&&void 0!==(r=this._readEntity(t))){e=this._readQuadPunctuation;break}return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}if(null!==i){const t=this._predicate,e=this._object;o?this._emit(e,t,i,r):this._emit(i,t,e,r)}return e}_readBlankNodePunctuation(t){let e;switch(t.type){case";":e=this._readPredicate;break;case",":e=this._readObject;break;default:return this._error(`Expected punctuation to follow "${this._object.id}"`,t)}return this._emit(this._subject,this._predicate,this._object,this._graph),e}_readQuadPunctuation(t){return"."!==t.type?this._error("Expected dot to follow quad",t):this._readInTopContext}_readPrefix(t){return"prefix"!==t.type?this._error("Expected prefix to follow @prefix",t):(this._prefix=t.value,this._readPrefixIRI)}_readPrefixIRI(t){if("IRI"!==t.type)return this._error(`Expected IRI to follow prefix "${this._prefix}:"`,t);const e=this._readEntity(t);return this._prefixes[this._prefix]=e.value,this._prefixCallback(this._prefix,e),this._readDeclarationPunctuation}_readBaseIRI(t){const e="IRI"===t.type&&this._resolveIRI(t.value);return e?(this._setBase(e),this._readDeclarationPunctuation):this._error("Expected valid IRI to follow base declaration",t)}_readNamedGraphLabel(t){switch(t.type){case"IRI":case"blank":case"prefixed":return this._readSubject(t),this._readGraph;case"[":return this._readNamedGraphBlankLabel;default:return this._error("Invalid graph label",t)}}_readNamedGraphBlankLabel(t){return"]"!==t.type?this._error("Invalid graph label",t):(this._subject=this._blankNode(),this._readGraph)}_readDeclarationPunctuation(t){return this._sparqlStyle?(this._sparqlStyle=!1,this._readInTopContext(t)):"."!==t.type?this._error("Expected declaration to end with a dot",t):this._readInTopContext}_readQuantifierList(t){let e;switch(t.type){case"IRI":case"prefixed":if(void 0!==(e=this._readEntity(t,!0)))break;default:return this._error(`Unexpected ${t.type}`,t)}return this._explicitQuantifiers?(null===this._subject?this._emit(this._graph||this.DEFAULTGRAPH,this._predicate,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH):this._emit(this._subject,this.RDF_REST,this._subject=this._blankNode(),this.QUANTIFIERS_GRAPH),this._emit(this._subject,this.RDF_FIRST,e,this.QUANTIFIERS_GRAPH)):this._quantified[e.id]=this._quantifier(this._blankNode().value),this._readQuantifierPunctuation}_readQuantifierPunctuation(t){return","===t.type?this._readQuantifierList:(this._explicitQuantifiers&&(this._emit(this._subject,this.RDF_REST,this.RDF_NIL,this.QUANTIFIERS_GRAPH),this._subject=null),this._readCallback=this._getContextEndReader(),this._readCallback(t))}_getPathReader(t){return this._afterPath=t,this._readPath}_readPath(t){switch(t.type){case"!":return this._readForwardPath;case"^":return this._readBackwardPath;default:const e=this._contextStack,r=e.length&&e[e.length-1];if(r&&"item"===r.type){const e=this._subject;this._restoreContext("item",t),this._emit(this._subject,this.RDF_FIRST,e,this._graph)}return this._afterPath(t)}}_readForwardPath(t){let e,r;const i=this._blankNode();if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(e=this._subject,this._subject=i):(e=this._object,this._object=i),this._emit(e,r,i,this._graph),this._readPath}_readBackwardPath(t){const e=this._blankNode();let r,i;if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(i=this._subject,this._subject=e):(i=this._object,this._object=e),this._emit(e,r,i,this._graph),this._readPath}_readRDFStarTailOrGraph(t){return">>"!==t.type?this._supportsQuads&&null===this._graph&&void 0!==(this._graph=this._readEntity(t))?this._readRDFStarTail:this._error(`Expected >> to follow "${this._object.id}"`,t):this._readRDFStarTail(t)}_readRDFStarTail(t){if(">>"!==t.type)return this._error(`Expected >> but got ${t.type}`,t);const e=this._quad(this._subject,this._predicate,this._object,this._graph||this.DEFAULTGRAPH);return this._restoreContext("<<",t),null===this._subject?(this._subject=e,this._readPredicate):(this._object=e,this._getContextEndReader())}_getContextEndReader(){const t=this._contextStack;if(!t.length)return this._readPunctuation;switch(t[t.length-1].type){case"blank":return this._readBlankNodeTail;case"list":return this._readListItem;case"formula":return this._readFormulaTail;case"<<":return this._readRDFStarTailOrGraph}}_emit(t,e,r,i){this._callback(null,this._quad(t,e,r,i||this.DEFAULTGRAPH))}_error(t,e){const r=new Error(`${t} on line ${e.line}.`);r.context={token:e,line:e.line,previousToken:this._lexer.previousToken},this._callback(r),this._callback=Ya}_resolveIRI(t){return/^[a-z][a-z0-9+.-]*:/i.test(t)?t:this._resolveRelativeIRI(t)}_resolveRelativeIRI(t){if(!t.length)return this._base;switch(t[0]){case"#":return this._base+t;case"?":return this._base.replace(/(?:\?.*)?$/,t);case"/":return("/"===t[1]?this._baseScheme:this._baseRoot)+this._removeDotSegments(t);default:return/^[^/:]*:/.test(t)?null:this._removeDotSegments(this._basePath+t)}}_removeDotSegments(t){if(!/(^|\/)\.\.?($|[/#?])/.test(t))return t;const e=t.length;let r="",i=-1,o=-1,n=0,s="/";for(;i<e;){switch(s){case":":if(o<0&&"/"===t[++i]&&"/"===t[++i])for(;(o=i+1)<e&&"/"!==t[o];)i=o;break;case"?":case"#":i=e;break;case"/":if("."===t[i+1])switch(s=t[1+ ++i],s){case"/":r+=t.substring(n,i-1),n=i+1;break;case void 0:case"?":case"#":return r+t.substring(n,i)+t.substr(i+1);case".":if(s=t[1+ ++i],void 0===s||"/"===s||"?"===s||"#"===s){if(r+=t.substring(n,i-2),(n=r.lastIndexOf("/"))>=o&&(r=r.substr(0,n)),"/"!==s)return`${r}/${t.substr(i+1)}`;n=i+1}}}s=t[++i]}return r+t.substring(n)}parse(t,e,r){if(this._readCallback=this._readInTopContext,this._sparqlStyle=!1,this._prefixes=Object.create(null),this._prefixes._=this._blankNodePrefix?this._blankNodePrefix.substr(2):`b${Xa++}_`,this._prefixCallback=r||Ya,this._inversePredicate=!1,this._quantified=Object.create(null),!e){const e=[];let r;if(this._callback=(t,i)=>{t?r=t:i&&e.push(i)},this._lexer.tokenize(t).every((t=>this._readCallback=this._readCallback(t))),r)throw r;return e}this._callback=e,this._lexer.tokenize(t,((t,e)=>{null!==t?(this._callback(t),this._callback=Ya):this._readCallback&&(this._readCallback=this._readCallback(e))}))}};function Ya(){}function Za(t,e){const r=e.namedNode;t._namedNode=r,t._blankNode=e.blankNode,t._literal=e.literal,t._variable=e.variable,t._quad=e.quad,t.DEFAULTGRAPH=e.defaultGraph(),t.RDF_FIRST=r(Ra.rdf.first),t.RDF_REST=r(Ra.rdf.rest),t.RDF_NIL=r(Ra.rdf.nil),t.N3_FORALL=r(Ra.r.forAll),t.N3_FORSOME=r(Ra.r.forSome),t.ABBREVIATIONS={a:r(Ra.rdf.type),"=":r(Ra.owl.sameAs),">":r(Ra.log.implies)},t.QUANTIFIERS_GRAPH=r("urn:n3:quantifiers")}Za(Qa.prototype,Ha),void 0===$a&&($a={ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12});var th=function(){function t(e,r){Vo(this,t),this.options=r||{},this.kb=e,this.target=r.target||{graph:{subjects:{},prefixes:{},terms:{}}},this.blankNodes=[],this.htmlOptions={selfClosing:"br img input area base basefont col colgroup source wbr isindex link meta param hr"},this.theOne="_:"+(new Date).getTime(),this.language=null,this.vocabulary=null,this.blankCounter=0,this.langAttributes=[{namespaceURI:"http://www.w3.org/XML/1998/namespace",localName:"lang"}],this.inXHTMLMode=!1,this.absURIRE=/[\w\_\-]+:\S+/,this.finishedHandlers=[],this.init()}return Wo(t,[{key:"addTriple",value:function(t,e,r,i){var o,n,s,a;o=void 0===e?os.namedNode(this.options.base):this.toRDFNodeObject(e),s=this.toRDFNodeObject(r),n=this.toRDFNodeObject(i),a=os.namedNode(this.options.base),this.kb.add(o,s,n,a)}},{key:"ancestorPath",value:function(t){for(var e="";t&&t.nodeType!==$a.DOCUMENT_NODE;)e="/"+t.localName+e,t=t.parentNode;return e}},{key:"copyMappings",value:function(t){var e={};for(var r in t)e[r]=t[r];return e}},{key:"copyProperties",value:function(){}},{key:"deriveDateTimeType",value:function(e){for(var r=0;r<t.dateTimeTypes.length;r++){var i=t.dateTimeTypes[r].pattern.exec(e);if(i&&i[0].length===e.length)return t.dateTimeTypes[r].type}return null}},{key:"init",value:function(){}},{key:"newBlankNode",value:function(){return this.blankCounter++,"_:"+this.blankCounter}},{key:"newSubjectOrigin",value:function(){}},{key:"parseCURIE",value:function(e,r){var i,o=e.indexOf(":");if(o>=0){var n=e.substring(0,o);if(""===n)return(i=r[""])?i+e.substring(o+1):null;if("_"===n)return"_:"+e.substring(o+1);if(t.NCNAME.test(n)&&(i=r[n]))return i+e.substring(o+1)}return null}},{key:"parseCURIEOrURI",value:function(t,e,r){return this.parseCURIE(t,e,r)||this.resolveAndNormalize(r,t)}},{key:"parsePredicate",value:function(t,e,r,i,o,n){if(""===t)return null;var s=this.parseTermOrCURIEOrAbsURI(t,e,n?null:r,i,o);return s&&0===s.indexOf("_:")?null:s}},{key:"parsePrefixMappings",value:function(t,e){for(var r=this.tokenize(t),i=null,o=0;o<r.length;o++)":"===r[o][r[o].length-1]?i=r[o].substring(0,r[o].length-1):i&&(e[i]=this.options.base?$n(r[o],this.options.base):r[o],i=null)}},{key:"parseSafeCURIEOrCURIEOrURI",value:function(t,e,r){return"["===(t=this.trim(t)).charAt(0)&&"]"===t.charAt(t.length-1)?0===(t=(t=t.substring(1,t.length-1)).trim(t)).length?null:"_:"===t?this.theOne:this.parseCURIE(t,e,r):this.parseCURIEOrURI(t,e,r)}},{key:"parseTermOrCURIEOrAbsURI",value:function(t,e,r,i,o){t=this.trim(t);var n=this.parseCURIE(t,i,o);if(n)return n;if(r){if(e&&!this.absURIRE.exec(t))return e+t;var s=r[t];if(s)return s;if(s=r[t.toLowerCase()])return s}return this.absURIRE.exec(t)?this.resolveAndNormalize(o,t):null}},{key:"parseTermOrCURIEOrURI",value:function(t,e,r,i,o){t=this.trim(t);var n=this.parseCURIE(t,i,o);if(n)return n;var s=r[t];return s||((s=r[t.toLowerCase()])?s:e&&!this.absURIRE.exec(t)?e+t:this.resolveAndNormalize(o,t))}},{key:"parseURI",value:function(t){return t}},{key:"process",value:function(e,r){var i;r=r||{},e.nodeType===$a.DOCUMENT_NODE?(e.baseURI&&!r.baseURI&&(r.baseURI=e.baseURI),i=e.baseURI,(e=e.documentElement).baseURI||(e.baseURI=i),this.setContext(e)):e.parentNode.nodeType===$a.DOCUMENT_NODE&&this.setContext(e);var o=[],n=function(t){if(!t&&r&&r.baseURI)return r.baseURI;var e=t.indexOf("#");return e>=0&&(t=t.substring(0,e)),r&&r.baseURIMap&&(t=r.baseURIMap(t)),t};for(o.push({current:e,context:this.push(null,n(e.baseURI))});o.length>0;){var s=o.shift();if(s.parent){if(s.context.parent&&s.context.parent.listMapping===s.listMapping)continue;for(var a in s.listMapping){var h=s.listMapping[a];if(0!==h.length){for(var c=[],u=0;u<h.length;u++)c.push(this.newBlankNode());for(var p=0;p<c.length;p++)this.addTriple(s.parent,c[p],"http://www.w3.org/1999/02/22-rdf-syntax-ns#first",h[p]),this.addTriple(s.parent,c[p],"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",{type:t.objectURI,value:p+1<c.length?c[p+1]:"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"});this.addTriple(s.parent,s.subject,a,{type:t.objectURI,value:c[0]})}else this.addTriple(s.parent,s.subject,a,{type:t.objectURI,value:"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"})}}else{var l=s.current,m=s.context,g=!1,d=null,f=null,w=null,v=m.prefixes,y=!1,b=[],S=m.listMapping,A=!m.parent,E=m.language,C=m.vocabulary;i=this.parseURI(n(l.baseURI)),l.item=null;var P=l.getAttributeNode("vocab");if(P){var F=this.trim(P.value);F.length>0?this.addTriple(l,i.spec,"http://www.w3.org/ns/rdfa#usesVocabulary",{type:t.objectURI,value:C=F}):C=this.vocabulary}for(var k=0;k<l.attributes.length;k++){var T=l.attributes[k];if("x"===T.nodeName.charAt(0)&&0===T.nodeName.indexOf("xmlns:")){y||(v=this.copyMappings(v),y=!0);var R=T.nodeName.substring(6),O=t.trim(T.value);v[R]=this.options.base?$n(O,this.options.base):O}}var D=l.getAttributeNode("prefix");D&&(y||(v=this.copyMappings(v),y=!0),this.parsePrefixMappings(D.value,v));for(var M=null,I=0;!M&&I<this.langAttributes.length;I++)M=l.getAttributeNodeNS(this.langAttributes[I].namespaceURI,this.langAttributes[I].localName);if(M){var x=t.trim(M.value);E=x.length>0?x:null}var _,N,j=l.getAttributeNode("rel"),B=l.getAttributeNode("rev"),U=l.getAttributeNode("typeof"),L=l.getAttributeNode("property"),H=l.getAttributeNode("datatype"),W=this.inHTMLMode?l.getAttributeNode("datetime"):null,V=l.getAttributeNode("content"),q=l.getAttributeNode("about"),G=l.getAttributeNode("src"),K=l.getAttributeNode("resource"),J=l.getAttributeNode("href"),z=l.getAttributeNode("inlist"),$=[];if(j){N=this.tokenize(j.value);for(var X=0;X<N.length;X++)(_=this.parsePredicate(N[X],C,m.terms,v,i,this.inHTMLMode&&null!==L))&&$.push(_)}var Q=[];if(B){N=this.tokenize(B.value);for(var Y=0;Y<N.length;Y++)(_=this.parsePredicate(N[Y],C,m.terms,v,i,this.inHTMLMode&&L))&&Q.push(_)}if(this.inHTMLMode&&(j||B)&&L&&(0===$.length&&(j=null),0===Q.length&&(B=null)),j||B?(q&&(d=this.parseSafeCURIEOrCURIEOrURI(q.value,v,i)),U&&(w=d),d||(l.parentNode.nodeType===$a.DOCUMENT_NODE?d=n(l.baseURI):m.parentObject&&(d=n(l.parentNode.baseURI)===m.parentObject?n(l.baseURI):m.parentObject)),K&&(f=this.parseSafeCURIEOrCURIEOrURI(K.value,v,i)),f||(J?f=this.resolveAndNormalize(i,encodeURI(J.value)):G?f=this.resolveAndNormalize(i,encodeURI(G.value)):!U||q||this.inXHTMLMode&&("head"===l.localName||"body"===l.localName)||(f=this.newBlankNode())),!U||q||!this.inXHTMLMode||"head"!==l.localName&&"body"!==l.localName?U&&!q&&(w=f):w=d):!L||V||H?(q&&(d=this.parseSafeCURIEOrCURIEOrURI(q.value,v,i)),!d&&K&&(d=this.parseSafeCURIEOrCURIEOrURI(K.value,v,i)),!d&&J&&(d=this.resolveAndNormalize(i,encodeURI(J.value))),!d&&G&&(d=this.resolveAndNormalize(i,encodeURI(G.value))),d||(l.parentNode.nodeType===$a.DOCUMENT_NODE?d=n(l.baseURI):!this.inXHTMLMode&&!this.inHTMLMode||"head"!==l.localName&&"body"!==l.localName?U?d=this.newBlankNode():m.parentObject&&(d=n(l.parentNode.baseURI)===m.parentObject?n(l.baseURI):m.parentObject,L||(g=!0)):d=n(l.parentNode.baseURI)===m.parentObject?n(l.baseURI):m.parentObject),U&&(w=d)):(q&&(d=this.parseSafeCURIEOrCURIEOrURI(q.value,v,i),U&&(w=d)),d||l.parentNode.nodeType!==$a.DOCUMENT_NODE?!d&&m.parentObject&&(d=n(l.parentNode.baseURI)===m.parentObject?n(l.baseURI):m.parentObject):(d=n(l.baseURI),U&&(w=d)),U&&!w&&(K&&(w=this.parseSafeCURIEOrCURIEOrURI(K.value,v,i)),!w&&J&&(w=this.resolveAndNormalize(i,encodeURI(J.value))),!w&&G&&(w=this.resolveAndNormalize(i,encodeURI(G.value))),w||!this.inXHTMLMode&&!this.inHTMLMode||"head"!==l.localName&&"body"!==l.localName||(w=d),w||(w=this.newBlankNode()),f=w)),d&&(q||K||w)){var Z=d;U&&!q&&!K&&f&&(Z=f),this.newSubjectOrigin(l,Z)}if(w){N=this.tokenize(U.value);for(var tt=0;tt<N.length;tt++){var et=this.parseTermOrCURIEOrAbsURI(N[tt],C,m.terms,v,i);et&&this.addTriple(l,w,t.typeURI,{type:t.objectURI,value:et})}}if(d&&d!==m.parentObject&&(S={},A=!0),f){if(j&&z)for(var rt=0;rt<$.length;rt++){var it=S[$[rt]];it||(S[$[rt]]=it=[]),it.push({type:t.objectURI,value:f})}else if(j)for(var ot=0;ot<$.length;ot++)this.addTriple(l,d,$[ot],{type:t.objectURI,value:f});if(B)for(var nt=0;nt<Q.length;nt++)this.addTriple(l,f,Q[nt],{type:t.objectURI,value:d})}else{if(d&&!f&&(j||B)&&(f=this.newBlankNode()),j&&z)for(var st=0;st<$.length;st++){var at=S[$[st]];at||(S[_]=at=[]),b.push({predicate:$[st],list:at})}else if(j)for(var ht=0;ht<$.length;ht++)b.push({predicate:$[ht],forward:!0});if(B)for(var ct=0;ct<Q.length;ct++)b.push({predicate:Q[ct],forward:!1})}if(L){var ut=null,pt=null;H?(ut=""===H.value?t.PlainLiteralURI:this.parseTermOrCURIEOrAbsURI(H.value,C,m.terms,v,i),pt=W&&!V?W.value:ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?null:V?V.value:l.textContent):V?(ut=t.PlainLiteralURI,pt=V.value):W?(ut=t.deriveDateTimeType(pt=W.value))||(ut=t.PlainLiteralURI):j||B||(K&&(pt=this.parseSafeCURIEOrCURIEOrURI(K.value,v,i)),!pt&&J?pt=this.resolveAndNormalize(i,encodeURI(J.value)):!pt&&G&&(pt=this.resolveAndNormalize(i,encodeURI(G.value))),pt&&(ut=t.objectURI)),ut||(U&&!q?(ut=t.objectURI,pt=w):(pt=l.textContent,this.inHTMLMode&&"time"===l.localName&&(ut=t.deriveDateTimeType(pt)),ut||(ut=t.PlainLiteralURI))),N=this.tokenize(L.value);for(var lt=0;lt<N.length;lt++){var mt=this.parsePredicate(N[lt],C,m.terms,v,i);if(mt)if(z){var gt=S[mt];gt||(S[mt]=gt=[]),gt.push(ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?{type:ut,value:l.childNodes}:{type:ut||t.PlainLiteralURI,value:pt,language:E})}else this.addTriple(l,d,mt,ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?{type:ut,value:l.childNodes}:{type:ut||t.PlainLiteralURI,value:pt,language:E})}}if(d&&!g)for(var dt=0;dt<m.incomplete.length;dt++)m.incomplete[dt].list?m.incomplete[dt].list.push({type:t.objectURI,value:d}):m.incomplete[dt].forward?this.addTriple(l,m.subject,m.incomplete[dt].predicate,{type:t.objectURI,value:d}):this.addTriple(l,d,m.incomplete[dt].predicate,{type:t.objectURI,value:m.subject});var ft=null,wt=d;g?((ft=this.push(m,m.subject)).parentObject=n(l.parentNode.baseURI)===m.parentObject?n(l.baseURI):m.parentObject,ft.incomplete=m.incomplete,ft.language=E,ft.prefixes=v,ft.vocabulary=C):((ft=this.push(m,d)).parentObject=f||d||m.subject,ft.prefixes=v,ft.incomplete=b,f&&(wt=f,S={},A=!0),ft.listMapping=S,ft.language=E,ft.vocabulary=C),A&&o.unshift({parent:l,context:m,subject:wt,listMapping:S});for(var vt=l.lastChild;vt;vt=vt.previousSibling)vt.nodeType===$a.ELEMENT_NODE&&o.unshift({current:vt,context:ft})}}this.inHTMLMode&&this.copyProperties();for(var yt=0;yt<this.finishedHandlers.length;yt++)this.finishedHandlers[yt](e)}},{key:"push",value:function(t,e){return{parent:t,subject:e||(t?t.subject:null),parentObject:null,incomplete:[],listMapping:t?t.listMapping:{},language:t?t.language:this.language,prefixes:t?t.prefixes:this.target.graph.prefixes,terms:t?t.terms:this.target.graph.terms,vocabulary:t?t.vocabulary:this.vocabulary}}},{key:"resolveAndNormalize",value:function(t,e){return $n(e,t)}},{key:"setContext",value:function(t){"html"===t.localName&&"XHTML+RDFa 1.1"===t.getAttribute("version")?this.setXHTMLContext():"html"===t.localName||"http://www.w3.org/1999/xhtml"===t.namespaceURI?"undefined"!=typeof document&&document.doctype?"-//W3C//DTD XHTML+RDFa 1.0//EN"===document.doctype.publicId&&"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd"===document.doctype.systemId?(console.log("WARNING: RDF 1.0 is not supported. Defaulting to HTML5 mode."),this.setHTMLContext()):"-//W3C//DTD XHTML+RDFa 1.1//EN"===document.doctype.publicId&&"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-2.dtd"===document.doctype.systemId?this.setXHTMLContext():this.setHTMLContext():this.setHTMLContext():this.setXMLContext()}},{key:"setHTMLContext",value:function(){this.setInitialContext(),this.langAttributes=[{namespaceURI:"http://www.w3.org/XML/1998/namespace",localName:"lang"},{namespaceURI:null,localName:"lang"}],this.inXHTMLMode=!1,this.inHTMLMode=!0}},{key:"setInitialContext",value:function(){this.vocabulary=null,this.langAttributes=[{namespaceURI:"http://www.w3.org/XML/1998/namespace",localName:"lang"}]}},{key:"setXHTMLContext",value:function(){this.setInitialContext(),this.inXHTMLMode=!0,this.inHTMLMode=!1,this.langAttributes=[{namespaceURI:"http://www.w3.org/XML/1998/namespace",localName:"lang"},{namespaceURI:null,localName:"lang"}],this.target.graph.terms.alternate="http://www.w3.org/1999/xhtml/vocab#alternate",this.target.graph.terms.appendix="http://www.w3.org/1999/xhtml/vocab#appendix",this.target.graph.terms.bookmark="http://www.w3.org/1999/xhtml/vocab#bookmark",this.target.graph.terms.cite="http://www.w3.org/1999/xhtml/vocab#cite",this.target.graph.terms.chapter="http://www.w3.org/1999/xhtml/vocab#chapter",this.target.graph.terms.contents="http://www.w3.org/1999/xhtml/vocab#contents",this.target.graph.terms.copyright="http://www.w3.org/1999/xhtml/vocab#copyright",this.target.graph.terms.first="http://www.w3.org/1999/xhtml/vocab#first",this.target.graph.terms.glossary="http://www.w3.org/1999/xhtml/vocab#glossary",this.target.graph.terms.help="http://www.w3.org/1999/xhtml/vocab#help",this.target.graph.terms.icon="http://www.w3.org/1999/xhtml/vocab#icon",this.target.graph.terms.index="http://www.w3.org/1999/xhtml/vocab#index",this.target.graph.terms.last="http://www.w3.org/1999/xhtml/vocab#last",this.target.graph.terms.license="http://www.w3.org/1999/xhtml/vocab#license",this.target.graph.terms.meta="http://www.w3.org/1999/xhtml/vocab#meta",this.target.graph.terms.next="http://www.w3.org/1999/xhtml/vocab#next",this.target.graph.terms.prev="http://www.w3.org/1999/xhtml/vocab#prev",this.target.graph.terms.previous="http://www.w3.org/1999/xhtml/vocab#previous",this.target.graph.terms.section="http://www.w3.org/1999/xhtml/vocab#section",this.target.graph.terms.stylesheet="http://www.w3.org/1999/xhtml/vocab#stylesheet",this.target.graph.terms.subsection="http://www.w3.org/1999/xhtml/vocab#subsection",this.target.graph.terms.start="http://www.w3.org/1999/xhtml/vocab#start",this.target.graph.terms.top="http://www.w3.org/1999/xhtml/vocab#top",this.target.graph.terms.up="http://www.w3.org/1999/xhtml/vocab#up",this.target.graph.terms.p3pv1="http://www.w3.org/1999/xhtml/vocab#p3pv1",this.target.graph.terms.related="http://www.w3.org/1999/xhtml/vocab#related",this.target.graph.terms.role="http://www.w3.org/1999/xhtml/vocab#role",this.target.graph.terms.transformation="http://www.w3.org/1999/xhtml/vocab#transformation"}},{key:"setXMLContext",value:function(){this.setInitialContext(),this.inXHTMLMode=!1,this.inHTMLMode=!1}},{key:"tokenize",value:function(t){return this.trim(t).split(/\s+/)}},{key:"toRDFNodeObject",value:function(e){var r=this;if(void 0!==e){if("string"==typeof e)return"_:"===e.substring(0,2)?(void 0===this.blankNodes[e.substring(2)]&&(this.blankNodes[e.substring(2)]=new wn(e.substring(2))),this.blankNodes[e.substring(2)]):os.namedNode(e);switch(e.type){case t.objectURI:return"_:"===e.value.substring(0,2)?(void 0===this.blankNodes[e.value.substring(2)]&&(this.blankNodes[e.value.substring(2)]=new wn(e.value.substring(2))),this.blankNodes[e.value.substring(2)]):os.namedNode(e.value);case t.PlainLiteralURI:return new In(e.value,e.language||"");case t.XMLLiteralURI:case t.HTMLLiteralURI:var i="";return Object.keys(e.value).forEach((function(t){i+=ls(e.value[t],r.htmlOptions)})),new In(i,"",new Dn(e.type));default:return new In(e.value,"",new Dn(e.type))}}}},{key:"trim",value:function(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}}],[{key:"parseRDFaDOM",value:function(e,r,i){var o=new t(r,{base:i});e.baseURI||(e.baseURI=i),o.process(e,{baseURI:i})}},{key:"tokenize",value:function(t){return this.trim(t).split(/\s+/)}},{key:"trim",value:function(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}}]),t}();th.XMLLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral",th.HTMLLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML",th.PlainLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral",th.objectURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#object",th.typeURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#type",th.nameChar="[-A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�က0-F.0-9·̀-ͯ‿-⁀]",th.nameStartChar="[A-Za-zÀ-ÖØ-öø-ÿĀ-ıĴ-ľŁ-ňŊ-žƀ-ǃǍ-ǰǴ-ǵǺ-ȗɐ-ʨʻ-ˁΆΈ-ΊΌΎ-ΡΣ-ώϐ-ϖϚϜϞϠϢ-ϳЁ-ЌЎ-яё-ќў-ҁҐ-ӄӇ-ӈӋ-ӌӐ-ӫӮ-ӵӸ-ӹԱ-Ֆՙա-ֆא-תװ-ײء-غف-يٱ-ڷں-ھۀ-ێې-ۓەۥ-ۦअ-हऽक़-ॡঅ-ঌএ-ঐও-নপ-রলশ-হড়-ঢ়য়-ৡৰ-ৱਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઋઍએ-ઑઓ-નપ-રલ-ળવ-હઽૠଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଶ-ହଽଡ଼-ଢ଼ୟ-ୡஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-வஷ-ஹఅ-ఌఎ-ఐఒ-నప-ళవ-హౠ-ౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹೞೠ-ೡഅ-ഌഎ-ഐഒ-നപ-ഹൠ-ൡก-ฮะา-ำเ-ๅກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ຮະາ-ຳຽເ-ໄཀ-ཇཉ-ཀྵႠ-Ⴥა-ჶᄀᄂ-ᄃᄅ-ᄇᄉᄋ-ᄌᄎ-ᄒᄼᄾᅀᅌᅎᅐᅔ-ᅕᅙᅟ-ᅡᅣᅥᅧᅩᅭ-ᅮᅲ-ᅳᅵᆞᆨᆫᆮ-ᆯᆷ-ᆸᆺᆼ-ᇂᇫᇰᇹḀ-ẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼΩK-Å℮ↀ-ↂぁ-ゔァ-ヺㄅ-ㄬ가-힣一-龥〇〡-〩_]",th.NCNAME=new RegExp("^"+th.nameStartChar+th.nameChar+"*$"),th.dateTimeTypes=[{pattern:/-?P(?:[0-9]+Y)?(?:[0-9]+M)?(?:[0-9]+D)?(?:T(?:[0-9]+H)?(?:[0-9]+M)?(?:[0-9]+(?:\.[0-9]+)?S)?)?/,type:"http://www.w3.org/2001/XMLSchema#duration"},{pattern:/-?(?:[1-9][0-9][0-9][0-9]|0[1-9][0-9][0-9]|00[1-9][0-9]|000[1-9])-[0-9][0-9]-[0-9][0-9]T(?:[0-1][0-9]|2[0-4]):[0-5][0-9]:[0-5][0-9](?:\.[0-9]+)?(?:Z|[+\-][0-9][0-9]:[0-9][0-9])?/,type:"http://www.w3.org/2001/XMLSchema#dateTime"},{pattern:/-?(?:[1-9][0-9][0-9][0-9]|0[1-9][0-9][0-9]|00[1-9][0-9]|000[1-9])-[0-9][0-9]-[0-9][0-9](?:Z|[+\-][0-9][0-9]:[0-9][0-9])?/,type:"http://www.w3.org/2001/XMLSchema#date"},{pattern:/(?:[0-1][0-9]|2[0-4]):[0-5][0-9]:[0-5][0-9](?:\.[0-9]+)?(?:Z|[+\-][0-9][0-9]:[0-9][0-9])?/,type:"http://www.w3.org/2001/XMLSchema#time"},{pattern:/-?(?:[1-9][0-9][0-9][0-9]|0[1-9][0-9][0-9]|00[1-9][0-9]|000[1-9])-[0-9][0-9]/,type:"http://www.w3.org/2001/XMLSchema#gYearMonth"},{pattern:/-?[1-9][0-9][0-9][0-9]|0[1-9][0-9][0-9]|00[1-9][0-9]|000[1-9]/,type:"http://www.w3.org/2001/XMLSchema#gYear"}];var eh=th.parseRDFaDOM,rh=function(){function t(e){Vo(this,t),this.store=e,this.bnodes={},this.why=null,this.reify=!1}return Wo(t,[{key:"frameFactory",value:function(e,r,i){return{NODE:1,ARC:2,parent:r,parser:e,store:e.store,element:i,lastChild:0,base:null,lang:null,node:null,nodeType:null,listIndex:1,rdfid:null,datatype:null,collection:!1,terminateFrame:function(){this.collection&&this.node.close()},addSymbol:function(t,e){e=$n(e,this.base),this.node=this.store.sym(e),this.nodeType=t},loadTriple:function(){if(this.parent.parent.collection?this.parent.parent.node.append(this.node):this.store.add(this.parent.parent.node,this.parent.node,this.node,this.parser.why),null!=this.parent.rdfid){var e=this.store.sym($n("#"+this.parent.rdfid,this.base));this.store.add(e,this.store.sym(t.ns.RDF+"type"),this.store.sym(t.ns.RDF+"Statement"),this.parser.why),this.store.add(e,this.store.sym(t.ns.RDF+"subject"),this.parent.parent.node,this.parser.why),this.store.add(e,this.store.sym(t.ns.RDF+"predicate"),this.parent.node,this.parser.why),this.store.add(e,this.store.sym(t.ns.RDF+"object"),this.node,this.parser.why)}},isTripleToLoad:function(){return null!=this.parent&&null!=this.parent.parent&&this.nodeType===this.NODE&&this.parent.nodeType===this.ARC&&this.parent.parent.nodeType===this.NODE},addNode:function(t){this.addSymbol(this.NODE,t),this.isTripleToLoad()&&this.loadTriple()},addCollection:function(){this.nodeType=this.NODE,this.node=this.store.collection(),this.collection=!0,this.isTripleToLoad()&&this.loadTriple()},addCollectionArc:function(){this.nodeType=this.ARC},addBNode:function(t){this.node=null!=t?null!=this.parser.bnodes[t]?this.parser.bnodes[t]:this.parser.bnodes[t]=this.store.bnode():this.store.bnode(),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()},addArc:function(e){e===t.ns.RDF+"li"&&(e=t.ns.RDF+"_"+this.parent.listIndex,this.parent.listIndex++),this.addSymbol(this.ARC,e)},addLiteral:function(e){this.node=this.store.literal(e,this.parent.datatype&&this.parent.datatype!==t.ns.RDF+"langString"?this.store.sym(this.parent.datatype):this.lang),this.nodeType=this.NODE,this.isTripleToLoad()&&this.loadTriple()}}}},{key:"getAttributeNodeNS",value:function(t,e,r){var i=null;if(t.getAttributeNodeNS)i=t.getAttributeNodeNS(e,r);else for(var o,n=t.attributes,s=0;s<n.length;++s)if((o=n[s]).namespaceURI===e&&(o.prefix?o.prefix+":"+r:r)===o.nodeName){i=o;break}return i}},{key:"parse",value:function(e,r,i){var o,n=e.childNodes;if(this.cleanParser(),e.nodeType===t.nodeType.DOCUMENT){for(var s=0;s<n.length;s++)if(n[s].nodeType===t.nodeType.ELEMENT){o=n[s];break}}else{if(e.nodeType!==t.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+r+". Halting. ");o=e}this.why=i;var a=this.frameFactory(this);return this.base=r,a.base=r,a.lang=null,this.parseDOM(this.buildFrame(a,o)),!0}},{key:"parseDOM",value:function(e){for(var r,i=function(t){var e="";if(null==t.namespaceURI)throw new Error("RDF/XML syntax error: No namespace for "+t.localName+" in "+this.base);return t.namespaceURI&&(e+=t.namespaceURI),t.localName?e+=t.localName:t.nodeName&&(t.nodeName.indexOf(":")>=0?e+=t.nodeName.split(":")[1]:e+=t.nodeName),e}.bind(this),o=!0;e.parent;){var n=e.element,s=n.attributes;if(n.nodeType===t.nodeType.TEXT||n.nodeType===t.nodeType.CDATA_SECTION)e.parent.nodeType===e.NODE&&(e.addArc(t.ns.RDF+"value"),e=this.buildFrame(e)),e.addLiteral(n.nodeValue);else if(i(n)!==t.ns.RDF+"RDF")if(e.parent&&e.parent.collection&&(e.addCollectionArc(),(e=this.buildFrame(e,e.element)).parent.element=null),e.parent&&e.parent.nodeType&&e.parent.nodeType!==e.ARC){e.addArc(i(n)),this.reify&&(r=this.getAttributeNodeNS(n,t.ns.RDF,"ID"))&&(e.rdfid=r.nodeValue,n.removeAttributeNode(r));var a=this.getAttributeNodeNS(n,t.ns.RDF,"parseType"),h=this.getAttributeNodeNS(n,t.ns.RDF,"datatype");if(h&&(e.datatype=h.nodeValue,n.removeAttributeNode(h)),a){var c=a.nodeValue;"Literal"===c?(e.datatype=t.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(n.childNodes),o=!1):"Resource"===c?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"===c&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),n.removeAttributeNode(a)}if(0!==s.length){var u=this.getAttributeNodeNS(n,t.ns.RDF,"resource"),p=this.getAttributeNodeNS(n,t.ns.RDF,"nodeID");e=this.buildFrame(e),u?(e.addNode(u.nodeValue),n.removeAttributeNode(u)):p?(e.addBNode(p.nodeValue),n.removeAttributeNode(p)):e.addBNode();for(var l=s.length-1;l>=0;l--){var m=this.buildFrame(e);m.addArc(i(s[l])),i(s[l])===t.ns.RDF+"type"?this.buildFrame(m).addNode(s[l].nodeValue):this.buildFrame(m).addLiteral(s[l].nodeValue)}}else 0===n.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var g=this.getAttributeNodeNS(n,t.ns.RDF,"about");if(r=this.getAttributeNodeNS(n,t.ns.RDF,"ID"),g&&r)throw new Error("RDFParser: "+n.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");if(!g&&r)e.addNode("#"+r.nodeValue),n.removeAttributeNode(r);else if(null==g&&null==r){var d=this.getAttributeNodeNS(n,t.ns.RDF,"nodeID");d?(e.addBNode(d.nodeValue),n.removeAttributeNode(d)):e.addBNode()}else e.addNode(g.nodeValue),n.removeAttributeNode(g);var f=this.getAttributeNodeNS(n,t.ns.RDF,"type");t.ns.RDF+"Description"!==i(n)&&(f={nodeValue:i(n)}),null!=f&&(this.store.add(e.node,this.store.sym(t.ns.RDF+"type"),this.store.sym($n(f.nodeValue,e.base)),this.why),f.nodeName&&n.removeAttributeNode(f));for(var w=s.length-1;w>=0;w--)this.store.add(e.node,this.store.sym(i(s[w])),this.store.literal(s[w].nodeValue,e.lang),this.why)}for(n=e.element;e.parent;){for(var v=e;null==n;)n=(e=e.parent).element;var y=n.childNodes&&n.childNodes[e.lastChild];if(y&&o){if((y.nodeType===t.nodeType.ELEMENT||y.nodeType===t.nodeType.TEXT||y.nodeType===t.nodeType.CDATA_SECTION)&&(y.nodeType!==t.nodeType.TEXT&&y.nodeType!==t.nodeType.CDATA_SECTION||1===n.childNodes.length)){e.lastChild++,e=this.buildFrame(v,n.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;n=e.element,o=!0}}}}},{key:"cleanParser",value:function(){this.bnodes={},this.why=null}},{key:"buildFrame",value:function(e,r){var i=this.frameFactory(this,e,r);if(e&&(i.base=e.base,i.lang=e.lang),!r||r.nodeType===t.nodeType.TEXT||r.nodeType===t.nodeType.CDATA_SECTION)return i;var o=r.attributes,n=r.getAttributeNode("xml:base");null!=n&&(i.base=n.nodeValue,r.removeAttribute("xml:base"));var s=r.getAttributeNode("xml:lang");null!=s&&(i.lang=s.nodeValue,r.removeAttribute("xml:lang"));for(var a=o.length-1;a>=0;a--)if("xml"===o[a].nodeName.substr(0,3)){if("xmlns:"===o[a].name.slice(0,6)){var h=o[a].nodeValue;this.base&&(h=$n(h,this.base)),this.store.setPrefixForURI(o[a].name.slice(6),h)}r.removeAttributeNode(o[a])}return i}}]),t}();function ih(t,e,r){var i,o,n,s=["INSERT","DELETE","WHERE"],a=cs("http://www.w3.org/ns/pim/patch#"),h=ga(e,e,r,r,null,null,"",null),c={},u=function(t,e,r,i,o){return"Line "+(e+1)+" of <"+t+">: Bad syntax:\n "+o+'\n at: "'+r.slice(i,i+30)+'"'};i=0;var p=e.sym(r+"#query");for(c.query=p;;){if((o=h.skipSpace(t,i))<0)return c;if(";"===t[o]){if((i=h.skipSpace(t,o+1))<0)return c;o=i}var l=!1;for(n=0;n<s.length;n++){var m=s[n];if(t.slice(o,o+m.length)===m){if((i=h.skipSpace(t,o+m.length))<0)throw u(h._thisDoc,h.lines,t,o+m.length,"found EOF, needed {...} after "+m);if(("INSERT"===m||"DELETE"===m)&&"DATA"===t.slice(i,i+4)){if((o=h.skipSpace(t,i+4))<0)throw u(h._thisDoc,h.lines,t,i+4,"needed {...} after INSERT DATA "+m);i=o}var g=[];if((o=h.node(t,i,g))<0)throw u(h._thisDoc,h.lines,t,i,"bad syntax or EOF in {...} after "+m);c[m.toLowerCase()]=g[0],e.add(p,a(m.toLowerCase()),g[0]),l=!0,i=o}}if(!l&&"@prefix"===t.slice(o,o+7)){if((i=h.directive(t,o))<0)throw u(h._thisDoc,h.lines,t,i,"bad syntax or EOF after @prefix ");i=h.checkDot(t,i),l=!0}if(!l)throw u(h._thisDoc,h.lines,t,o,"Unknown syntax at start of statememt: '"+t.slice(o).slice(0,20)+"'")}}function oh(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"text/turtle",o=arguments.length>4?arguments[4]:void 0;i=(i=i||dn).split(";")[0];try{if(i===cn||i===dn){var n=ga(e,e,r,r,null,null,"",null);n.loadBuf(t),h()}else if(i===ln){var s=new rh(e);s.parse(ds(t),r,e.sym(r)),h()}else if(i===fn)eh(ds(t,{contentType:fn}),e,r),h();else if(i===an)eh(ds(t,{contentType:an}),e,r),h();else if(i===mn||i===gn)ih(t,e,r),h();else if(i===hn)Sa(t,e,r,h);else{if(i!==pn&&i!==un)throw void 0===i?new Error("contentType is undefined"):new Error("Don't know how to parse "+i+" yet");var a=new Qa({factory:ya});u(null,t)}}catch(t){c(t)}function h(){o&&o(null,e)}function c(t){if(i!==hn||i!==pn||i!==un){if(!o){var n=new Error(t+" while trying to parse <"+r+"> as "+i);throw n.cause=t,n}o(t,e)}}function u(t,r){t&&o(t,e);try{a.parse(r,p)}catch(t){o(t,e)}}function p(t,r){r?e.add(r.subject,r.predicate,r.object,r.graph):o(t,e)}oh.handled={"text/n3":!0,"text/turtle":!0,"application/rdf+xml":!0,"application/xhtml+xml":!0,"text/html":!0,"application/sparql-update":!0,"application/sparql-update-single-match":!0,"application/ld+json":!0,"application/nquads":!0,"application/n-quads":!0}}$o(rh,"ns",{RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"}),$o(rh,"nodeType",{ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12});var nh=E(F());function sh(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,i=zo(t);if(e){var o=zo(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return Jo(this,r)}}var ah={"text/n3":!0,"text/turtle":!0,"application/rdf+xml":!0,"application/xhtml+xml":!0,"text/html":!0,"application/ld+json":!0},hh={rdf:ln,owl:ln,n3:"text/n3",ttl:"text/turtle",nt:"text/n3",acl:"text/n3",html:"text/html",xml:"text/xml"},ch=function(t){return{link:cs("http://www.w3.org/2007/ont/link#",t),http:cs("http://www.w3.org/2007/ont/http#",t),httph:cs("http://www.w3.org/2007/ont/httph#",t),rdf:cs("http://www.w3.org/1999/02/22-rdf-syntax-ns#",t),rdfs:cs("http://www.w3.org/2000/01/rdf-schema#",t),dc:cs("http://purl.org/dc/elements/1.1/",t),ldp:cs("http://www.w3.org/ns/ldp#",t)}},uh=ch(),ph=Wo((function t(e,r){Vo(this,t),$o(this,"response",void 0),$o(this,"dom",void 0),this.response=e,this.dom=r}));$o(ph,"pattern",void 0);var lh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r){var i=t.store;if(this.dom||(this.dom=ds(e)),"parsererror"===this.dom.documentElement.nodeName)return t.failFetch(r,"Badly formed XML in "+r.resource.value,"parse_error");var o=new rh(i);try{o.parse(this.dom,r.original.value,r.original)}catch(e){return t.failFetch(r,"Syntax error parsing RDF/XML! "+e,"parse_error")}return r.noMeta||i.add(r.original,uh.rdf("type"),uh.link("RDFDocument"),t.appNode),t.doneFetch(r,this.response)}}],[{key:"toString",value:function(){return"RDFXMLHandler"}},{key:"register",value:function(t){t.mediatypes[ln]={q:.9}}}]),e}();lh.pattern=new RegExp("application/rdf\\+xml");var mh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r){var i,o;this.dom||(this.dom=ds(e));var n=t.store,s=this.dom.getElementsByTagName("title");s.length>0&&n.add(r.resource,uh.dc("title"),n.rdfFactory.literal(s[0].textContent),r.resource);for(var a=this.dom.getElementsByTagName("link"),h=a.length-1;h>=0;h--)o=!1,(i=a[h].getAttribute("rel"))||(i=a[h].getAttribute("rev"),o=!0),i&&t.linkData(r.original,i,a[h].getAttribute("href"),r.resource,o);for(var c=this.dom.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u].getAttribute("type");ah[p]&&(oh(c[u].textContent,n,r.original.value,p),oh(c[u].textContent,n,r.original.value,p))}if(r.noMeta||n.add(r.resource,uh.rdf("type"),uh.link("WebPage"),t.appNode),!r.noRDFa&&eh)try{eh(this.dom,n,r.original.value)}catch(e){return t.failFetch(r,"Error trying to parse "+r.resource+" as RDFa:\n"+e+":\n"+e.stack,"parse_error")}return t.doneFetch(r,this.response)}}],[{key:"toString",value:function(){return"XHTMLHandler"}},{key:"register",value:function(t){t.mediatypes[fn]={}}}]),e}();mh.pattern=new RegExp("application/xhtml");var gh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,r,i){for(var o=ds(r),n=0;n<o.childNodes.length;n++){var s=o.childNodes[n];if(e.isElement(s)){var a=s.namespaceURI;if(a&&a===a.rdf)return t.addStatus(i.req,"Has XML root element in the RDF namespace, so assume RDF/XML."),new lh(this.response,o).parse(t,r,i);break}}if(o.doctype&&"html"===o.doctype.name&&o.doctype.publicId.match(/^-\/\/W3C\/\/DTD XHTML/)&&o.doctype.systemId.match(/http:\/\/www.w3.org\/TR\/xhtml/))return t.addStatus(i.req,"Has XHTML DOCTYPE. Switching to XHTML Handler.\n"),new mh(this.response,o).parse(t,r,i);var h=o.getElementsByTagName("html")[0];if(h){var c=h.getAttribute("xmlns");if(c&&c.match(/^http:\/\/www.w3.org\/1999\/xhtml/))return t.addStatus(i.req,"Has a default namespace for XHTML. Switching to XHTMLHandler.\n"),new mh(this.response,o).parse(t,r,i)}return t.failFetch(i,"Unsupported dialect of XML: not RDF or XHTML namespace, etc.\n"+r.slice(0,80),901)}}],[{key:"toString",value:function(){return"XMLHandler"}},{key:"register",value:function(t){t.mediatypes["text/xml"]={q:.5},t.mediatypes["application/xml"]={q:.5}}},{key:"isElement",value:function(t){return t.nodeType===Node.ELEMENT_NODE}}]),e}();gh.pattern=new RegExp("(text|application)/(.*)xml");var dh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r){var i=t.store;if(bh(e))return t.addStatus(r.req,"Has an XML declaration. We'll assume it's XHTML as the content-type was text/html.\n"),new mh(this.response).parse(t,e,r);if(function(t){var e=t.indexOf("<!DOCTYPE html"),r=t.indexOf(">");return!(-1===e||-1===r||e>r)&&-1!==t.substr(e,r-e).indexOf("XHTML")}(e))return t.addStatus(r.req,"Has XHTML DOCTYPE. Switching to XHTMLHandler.\n"),new mh(this.response).parse(t,e,r);if(function(t){return!!t.match(/[^(<html)]*<html\s+[^<]*xmlns=['"]http:\/\/www.w3.org\/1999\/xhtml["'][^<]*>/)}(e))return t.addStatus(r.req,"Has default namespace for XHTML, so switching to XHTMLHandler.\n"),new mh(this.response).parse(t,e,r);var o=new RegExp("<title>([\\s\\S]+?)</title>","im").exec(e);return o&&i.add(r.resource,uh.dc("title"),i.rdfFactory.literal(o[1]),r.resource),i.add(r.resource,uh.rdf("type"),uh.link("WebPage"),t.appNode),t.addStatus(r.req,"non-XML HTML document, not parsed for data."),t.doneFetch(r,this.response)}}],[{key:"toString",value:function(){return"HTMLHandler"}},{key:"register",value:function(t){t.mediatypes["text/html"]={q:.9}}}]),e}();dh.pattern=new RegExp("text/html");var fh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r,i){var o=t.store;return new Promise((function(n){try{Sa(e,o,r.original.value,(function(){n(t.doneFetch(r,i))}))}catch(e){n(t.failFetch(r,"Error trying to parse "+r.resource+" as JSON-LD:\n"+e,"parse_error",i))}}))}}],[{key:"toString",value:function(){return"JsonLdHandler"}},{key:"register",value:function(t){t.mediatypes["application/ld+json"]={q:.9}}}]),e}();fh.pattern=/application\/ld\+json/;var wh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r){return bh(e)?(t.addStatus(r.req,"Warning: "+r.resource+" has an XML declaration. We'll assume it's XML but its content-type wasn't XML.\n"),new gh(this.response).parse(t,e,r)):e.slice(0,500).match(/xmlns:/)?(t.addStatus(r.req,"May have an XML namespace. We'll assume it's XML but its content-type wasn't XML.\n"),new gh(this.response).parse(t,e,r)):(t.addStatus(r.req,"Plain text document, no known RDF semantics."),t.doneFetch(r,this.response))}}],[{key:"toString",value:function(){return"TextHandler"}},{key:"register",value:function(t){t.mediatypes["text/plain"]={q:.5}}}]),e}();wh.pattern=new RegExp("text/plain");var vh=function(){Ko(e,ph);var t=sh(e);function e(){return Vo(this,e),t.apply(this,arguments)}return Wo(e,[{key:"parse",value:function(t,e,r,i){var o=t.store,n=ga(o,o,r.original.value,r.original.value,null,null,"",null);try{n.loadBuf(e)}catch(e){return t.failFetch(r,"Error trying to parse "+r.resource+" as Notation3:\n"+e,"parse_error",i)}return t.addStatus(r.req,"N3 parsed: "+n.statementCount+" triples in "+n.lines+" lines."),t.store.add(r.original,uh.rdf("type"),uh.link("RDFDocument"),t.appNode),t.doneFetch(r,this.response)}}],[{key:"toString",value:function(){return"N3Handler"}},{key:"register",value:function(t){t.mediatypes["text/n3"]={q:"1.0"},t.mediatypes["text/turtle"]={q:1}}}]),e}();vh.pattern=new RegExp("(application|text)/(x-)?(rdf\\+)?(n3|turtle)");var yh={RDFXMLHandler:lh,XHTMLHandler:mh,XMLHandler:gh,HTMLHandler:dh,TextHandler:wh,N3Handler:vh,JsonLdHandler:fh};function bh(t){return!!t.match(/\s*<\?xml\s+version\s*=[^<>]+\?>/)}var Sh=function(){function t(e){var r=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Vo(this,t),$o(this,"store",void 0),$o(this,"timeout",void 0),$o(this,"_fetch",void 0),$o(this,"mediatypes",void 0),$o(this,"appNode",void 0),$o(this,"requested",void 0),$o(this,"timeouts",void 0),$o(this,"redirectedTo",void 0),$o(this,"fetchQueue",void 0),$o(this,"fetchCallbacks",void 0),$o(this,"nonexistent",void 0),$o(this,"lookedUp",void 0),$o(this,"handlers",void 0),$o(this,"ns",void 0),$o(this,"fireCallbacks",void 0),this.store=e||new Vs,this.ns=ch(this.store.rdfFactory),this.timeout=i.timeout||3e4,this._fetch=i.fetch||"undefined"!=typeof global&&(global.solidFetcher||global.solidFetch)||"undefined"!=typeof window&&(window.solidFetcher||window.solidFetch)||nh.default,!this._fetch)throw new Error("No _fetch function available for Fetcher");this.appNode=this.store.rdfFactory.blankNode(),this.store.fetcher=this,this.requested={},this.timeouts={},this.redirectedTo={},this.fetchQueue={},this.fetchCallbacks={},this.nonexistent={},this.lookedUp={},this.handlers=[],this.mediatypes={"image/*":{q:.9},"*/*":{q:.1}},ps(this,["request","fail","refresh","retract","done"]),Object.keys(i.handlers||yh).map((function(t){return r.addHandler(yh[t])}))}var e,r;return Wo(t,[{key:"load",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r=Object.assign({},r),t instanceof Array)return Promise.all(t.map((function(t){return e.load(t,Object.assign({},r))})));var i=t,o=vn(i);o=o.split("#")[0],r=this.initFetchOptions(o,r);var n=this.initFetchOptions(o,r);return this.pendingFetchPromise(o,n.baseURI,n)}},{key:"pendingFetchPromise",value:(r=jn(Bn.default.mark((function t(e,r,i){var o,n=this;return Bn.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!i.force,!t.t0){t.next=5;break}return t.next=4,this.fetchQueue[r];case 4:t.t0=t.sent;case 5:if(!t.t0){t.next=9;break}o=this.fetchQueue[r],t.next=12;break;case 9:o=Promise.race([this.setRequestTimeout(e,i),this.fetchUri(e,i)]),this.fetchQueue[r]=o,this.cleanupFetchRequest(r,void 0,this.timeout);case 12:return t.abrupt("return",o.then((function(t){return e in n.timeouts&&(n.timeouts[e].forEach(clearTimeout),delete n.timeouts[e]),t})));case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,i){return r.apply(this,arguments)})},{key:"cleanupFetchRequest",value:function(t,e,r){var i=this;void 0!==e&&console.warn("_options is deprecated"),this.timeouts[t]=(this.timeouts[t]||[]).concat(setTimeout((function(){i.isPending(t)||delete i.fetchQueue[t]}),r))}},{key:"initFetchOptions",value:function(e,r){var i=this.store;!r.method||"GET"===r.method.toUpperCase()||(r.force=!0),r.resource=i.rdfFactory.namedNode(e),r.baseURI=r.baseURI||e,r.original=i.rdfFactory.namedNode(r.baseURI),r.req=i.bnode(),r.headers=r.headers||new nh.Headers,r.contentType&&(r.headers["content-type"]=r.contentType),r.force&&(r.cache="no-cache");var o=this.acceptString();r.headers.accept=o;var n=t.offlineOverride(e);r.requestedURI=n,t.setCredentials(n,r);var s=t.proxyIfNecessary(n);return n!==s&&(r.proxyUsed=!0),r.actualProxyURI=s,r}},{key:"fetchUri",value:function(e,r){var i=this;if(!e)return Promise.reject(new Error("Cannot fetch an empty uri"));if(t.unsupportedProtocol(e))return this.failFetch(r,"fetcher: Unsupported protocol","unsupported_protocol");var o=this.getState(e);if(r.force)delete this.nonexistent[e];else{if("fetched"===o)return Promise.resolve(this.doneFetch(r,{status:200,ok:!0,statusText:"Already loaded into quadstore."}));if("failed"===o&&404===this.requested[e]){var n="Previously failed: "+this.requested[e],s={url:e,status:this.requested[e],statusText:n,responseText:n,headers:new nh.Headers,ok:!1,body:null,bodyUsed:!1,size:0,timeout:0};return this.failFetch(r,n,this.requested[e],s)}}this.fireCallbacks("request",[e]),this.requested[e]=!0,r.noMeta||this.saveRequestMetadata(e,r);var a=r.actualProxyURI;return this._fetch(a,r).then((function(t){return i.handleResponse(t,e,r)}),(function(t){var o={url:a,status:999,statusText:(t.name||"network failure")+": "+(t.errno||t.code||t.type),responseText:t.message,headers:new nh.Headers,ok:!1,body:null,bodyUsed:!1,size:0,timeout:0};return console.log("Fetcher: <"+a+"> Non-HTTP fetch exception: "+t),i.handleError(o,e,r)}))}},{key:"nowOrWhenFetched",value:function(t,e,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=vn(t);"function"==typeof e?r=e:void 0===e||(Tn(e)?i.referringTerm=e:i=e),this.load(o,i).then((function(t){if(r)if(t)if(t.ok)r(!0,"OK",t);else{var e="HTTP error: Status "+t.status+" ("+t.statusText+")";t.responseText&&(e+=" "+t.responseText),console.log(e+" fetching "+o),r(!1,e,t)}else{var i="@@ nowOrWhenFetched: no response object!";console.log(i),r(!1,i)}}),(function(t){var e=t.message||t.statusText;e="Failed to load <"+o+"> "+e,console.log(e),t.response&&t.response.status&&(e+=" status: "+t.response.status),r(!1,e,t.response)}))}},{key:"addStatus",value:function(t,e){var r=new Date;e="["+r.getHours()+":"+r.getMinutes()+":"+r.getSeconds()+"."+r.getMilliseconds()+"] "+e;var i=this.store,o=i.the(t,this.ns.link("status"));Sn(o)?o.append(i.rdfFactory.literal(e)):ss("web.js: No list to add to: "+o+","+e)}},{key:"failFetch",value:function(t,e,r,i){this.addStatus(t.req,e),t.noMeta||this.store.add(t.original,this.ns.link("error"),this.store.rdfFactory.literal(e));var o=(t.method||"GET").toUpperCase();("GET"===o||"HEAD"===o)&&(t.resource.equals(t.original),this.requested[Kn(t.original.value)]=r,this.fireCallbacks("fail",[t.original.value,e]));var n=new Error("Fetcher: "+e);return n.status=r,n.statusText=e,n.response=i,Promise.reject(n)}},{key:"linkData",value:function(t,e,r,i,o){if(r){var n,s=this.store,a=s.rdfFactory.namedNode($n(r,t.value));if("alternate"===e||"seeAlso"===e||"meta"===e||"describedby"===e){if(a.value===t.value)return;n=this.ns.rdfs("seeAlso")}else n=s.rdfFactory.namedNode("type"===e?"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":$n(encodeURIComponent(e),"http://www.iana.org/assignments/link-relations/"));o?s.add(a,n,t,i):s.add(t,n,a,i)}}},{key:"parseLinkHeader",value:function(t,e,r){if(t){var i=/[^\(\)<>@,;:"\/\[\]\?={} \t]+=(([^\(\)<>@,;:"\/\[\]\?={} \t]+)|("[^"]*"))/g,o=t.match(/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^\(\)<>@,;:"\/\[\]\?={} \t]+)|("[^"]*")))*(,|$)/g);if(null!=o)for(var n=0;n<o.length;n++){var s=o[n].split(">"),a=s[0].substring(1),h=s[1].match(i);if(null==h)return;for(var c=0;c<h.length;c++){var u=h[c].split("=")[1].replace(/["']/g,"");this.linkData(e,u,a,r)}}}}},{key:"doneFetch",value:function(t,e){return this.addStatus(t.req,"Done."),this.requested[t.original.value]="done",this.fireCallbacks("done",[t.original.value]),e.req=t.req,e}},{key:"nowKnownAs",value:function(t,e){this.lookedUp[t.value]?this.lookedUp[e.value]||this.lookUpThing(e,t):this.lookedUp[e.value]&&(this.lookedUp[t.value]||this.lookUpThing(t,e))}},{key:"putBack",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=vn(t),o=new Dn(i).doc();return r.contentType=r["content-type"]||r["Content-Type"]||r.contentType||dn,"application/ld+json"===r.contentType?new Promise((function(i,n){Es(o,e.store,o.uri,r.contentType,(function(o,s){o?n(o):(r.data=s,e.webOperation("PUT",t,r).then((function(t){return i(t)})).catch((function(t){return n(t)})))}))})):(r.data=Es(o,this.store,o.value,r.contentType),this.webOperation("PUT",i,r))}},{key:"webCopy",value:function(t,e,r){var i=this;return this.webOperation("GET",t).then((function(t){return i.webOperation("PUT",e,{data:t.responseText,contentType:r})}))}},{key:"delete",value:function(t,e){var r=this;return this.webOperation("DELETE",t,e).then((function(e){return r.requested[t]=404,r.nonexistent[t]=!0,r.unload(r.store.rdfFactory.namedNode(t)),e}))}},{key:"createIfNotExists",value:(e=jn(Bn.default.mark((function t(e){var r,i,o,n,s=arguments;return Bn.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:dn,i=s.length>2&&void 0!==s[2]?s[2]:"",o=this,t.prev=3,t.next=6,o.load(e);case 6:n=t.sent,t.next=29;break;case 9:if(t.prev=9,t.t0=t.catch(3),404!==t.t0.response.status){t.next=27;break}return console.log("createIfNotExists: doc does NOT exist, will create... "+e),t.prev=13,t.next=16,o.webOperation("PUT",e.value,{data:i,contentType:r});case 16:n=t.sent,t.next=23;break;case 19:throw t.prev=19,t.t1=t.catch(13),console.log("createIfNotExists doc FAILED: "+e+": "+t.t1),t.t1;case 23:return delete o.requested[e.value],t.abrupt("return",n);case 27:throw console.log("createIfNotExists doc load error NOT 404: "+e+": "+t.t0),t.t0;case 29:return t.abrupt("return",n);case 30:case"end":return t.stop()}}),t,this,[[3,9],[13,19]])}))),function(t){return e.apply(this,arguments)})},{key:"createContainer",value:function(t,e,r){var i={"content-type":dn,link:this.ns.ldp("BasicContainer")+'; rel="type"'};e&&(i.slug=e);var o={headers:i};return r&&(o.body=r),this.webOperation("POST",t,o)}},{key:"invalidateCache",value:function(t){var e=vn(t),r=this;if(r.fetchQueue&&r.fetchQueue[e]&&delete r.fetchQueue[e],r.requested[e]&&"done"!==r.requested[e]&&"failed"!==r.requested[e]&&404!==r.requested[e]){var i="Rdflib: fetcher: Destructive operation on <".concat(r.requested[e],"> file being fetched! ")+e;console.error(i)}else delete r.requested[e],delete r.nonexistent[e]}},{key:"webOperation",value:function(e,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=vn(r);i.method=e,i.body=i.data||i.body,i.force=!0;var n=this;if(i.body&&!i.contentType)throw new Error("Web operation sending data must have a defined contentType.");return i.contentType&&(i.headers=i.headers||{},i.headers["content-type"]=i.contentType),t.setCredentials(o,i),new Promise((function(t,r){n._fetch(o,i).then((function(i){if(i.ok)"PUT"!==e&&"PATCH"!==e&&"POST"!==e&&"DELETE"!==e||n.invalidateCache(o),i.text?i.text().then((function(e){i.responseText=e,t(i)})):t(i);else{var s="Web error: "+i.status;i.statusText&&(s+=" ("+i.statusText+")"),s+=" on "+e+" of <"+o+">",i.responseText&&(s+=": "+i.responseText);var a=new Error(s);a.response=i,r(a)}}),(function(t){r(new Error("Fetch error for "+e+" of <"+o+">:"+t))}))}))}},{key:"lookUpThing",value:function(t,e){var r=this,i=this.store.uris(t);return(i=i.map((function(t){return Kn(t)}))).forEach((function(t){r.lookedUp[t]=!0})),this.load(i,{referringTerm:e})}},{key:"getHeader",value:function(t,e){for(var r=this.store,i=t.value,o=r.each(void 0,this.ns.link("requestedURI"),r.rdfFactory.literal(i)),n=0;n<o.length;n++){var s=o[n];if(void 0!==s){var a=r.any(s,this.ns.link("response"));if(void 0!==a&&r.anyValue(a,this.ns.http("status"))&&r.anyValue(a,this.ns.http("status")).startsWith("2")){var h=r.each(a,this.ns.httph(e.toLowerCase()));return h.length?h.map((function(t){return t.value})):[]}}}}},{key:"saveRequestMetadata",value:function(t,e){var r=e.req,i=this.store,o=e.referringTerm;this.addStatus(e.req,"Accept: "+e.headers.accept),Tn(o)&&i.add(i.rdfFactory.namedNode(t),this.ns.link("requestedBy"),o,this.appNode),e.original&&e.original.value!==t&&i.add(r,this.ns.link("orginalURI"),i.rdfFactory.literal(e.original.value),this.appNode);var n=new Date,s="["+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()+"] ";i.add(r,this.ns.rdfs("label"),i.rdfFactory.literal(s+" Request for "+t),this.appNode),i.add(r,this.ns.link("requestedURI"),i.rdfFactory.literal(t),this.appNode),i.add(r,this.ns.link("status"),i.collection(),this.appNode)}},{key:"saveResponseMetadata",value:function(t,e){var r=this,i=this.store,o=i.bnode();return i.add(e.req,this.ns.link("response"),o,o),i.add(o,this.ns.http("status"),i.rdfFactory.literal(t.status),o),i.add(o,this.ns.http("statusText"),i.rdfFactory.literal(t.statusText),o),t.headers.forEach((function(t,n){var s;i.add(o,r.ns.httph(n),r.store.rdfFactory.literal(t),o),"content-type"===n&&i.add(e.resource,r.ns.rdf("type"),i.rdfFactory.namedNode((s=t,s=s.split(";")[0].trim(),new Dn("http://www.w3.org/ns/iana/media-types/"+s+"#Resource")).value),o)})),o}},{key:"objectRefresh",value:function(t){var e=this.store.uris(t);if(void 0!==e)for(var r=0;r<e.length;r++)this.refresh(this.store.rdfFactory.namedNode(Kn(e[r])))}},{key:"refresh",value:function(t,e){this.fireCallbacks("refresh",arguments),this.nowOrWhenFetched(t,{force:!0,clearPreviousData:!0},e)}},{key:"refreshIfExpired",value:function(t,e){var r=this.getHeader(t,"Expires");!r||new Date(r[0]).getTime()<=(new Date).getTime()?this.refresh(t,e):e(!0,"Not expired",{})}},{key:"retract",value:function(t){this.store.removeMany(void 0,void 0,void 0,t),t.value&&delete this.requested[Kn(t.value)],this.fireCallbacks("retract",arguments)}},{key:"getState",value:function(t){return void 0===this.requested[t]?"unrequested":!0===this.requested[t]?"requested":"done"===this.requested[t]?"fetched":"redirected"===this.requested[t]?this.getState(this.redirectedTo[t]):"failed"}},{key:"isPending",value:function(t){return!0===this.requested[t]}},{key:"unload",value:function(t){this.store.removeDocument(t),delete this.requested[t.value]}},{key:"addHandler",value:function(t){this.handlers.push(t),t.register(this)}},{key:"retryNoCredentials",value:function(t,e){console.log("Fetcher: CORS: RETRYING with NO CREDENTIALS for "+e.resource),e.retriedWithNoCredentials=!0,delete this.requested[t],delete this.fetchQueue[t];var r=Object.assign({},e,{credentials:"omit"});return this.addStatus(e.req,"Abort: Will retry with credentials SUPPRESSED to see if that helps"),this.load(t,r)}},{key:"isCrossSite",value:function(t){if("undefined"==typeof document||!document.location)return!1;var e=zn,r=""+document.location;return(e(r)&&e(t)&&e(r))!==e(t)}},{key:"handleError",value:function(e,r,i){if(this.isCrossSite(r)){if(i.credentials&&"include"===i.credentials&&!i.retriedWithNoCredentials)return this.retryNoCredentials(r,i);var o=t.crossSiteProxy(r);if(o&&!i.proxyUsed)return console.log("web: Direct failed so trying proxy "+o),this.redirectToProxy(o,i)}var n;return e instanceof Error?n="Fetch error: "+e.message:(n=e.statusText,e.responseText&&(n+=" ".concat(e.responseText))),this.failFetch(i,n,e.status||998,e)}},{key:"addType",value:function(t,e,r,i){var o=e;if(i){var n=r.any(o,this.ns.link("requestedURI"));n&&n.value!==i&&r.add(r.rdfFactory.namedNode(i),this.ns.rdf("type"),t,this.appNode)}for(;;){var s=r.any(o,this.ns.link("requestedURI"));if(s&&s.value&&r.add(r.rdfFactory.namedNode(s.value),this.ns.rdf("type"),t,this.appNode),!(o=r.any(void 0,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#redirectedRequest"),o)))break;var a=r.any(o,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#response"));if(!a)break;var h=r.any(a,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/http#status"));if(!h)break;if("301"!==h&&"302"!==h)break}}},{key:"handleResponse",value:function(t,e,r){var i=this,o=this.store,n=t.headers,s=r.req,a=this.saveResponseMetadata(t,r),h=this.normalizedContentType(r,n)||"",c=n.get("content-location");if(0===t.status)return console.log("Masked error - status 0 for "+e),this.handleError(t,e,r);if(t.status>=400)return 404===t.status&&(this.nonexistent[r.original.value]=!0,this.nonexistent[e]=!0),this.saveErrorResponse(t,a).then((function(){return i.failFetch(r,r.resource+" "+t.statusText,t.status,t)}));var u=null,p=null;if(c&&(p=$n(c,e))!==e&&(u=p),200===t.status){this.addType(this.ns.link("Document"),s,o,e),u&&this.addType(this.ns.link("Document"),s,o,u),r.clearPreviousData&&o.removeDocument(r.resource);var l=h.includes("image/")||h.includes("application/pdf");h&&l&&(this.addType(o.rdfFactory.namedNode("http://purl.org/dc/terms/Image"),s,o,e),u&&this.addType(o.rdfFactory.namedNode("http://purl.org/dc/terms/Image"),s,o,u))}if(c){if(!r.force&&u&&"done"===this.requested[p])return this.doneFetch(r,t);this.requested[p]=!0}this.parseLinkHeader(n.get("link"),r.original,s);var m=this.handlerForContentType(h,t);return m?t.text().then((function(e){return t.responseText=e,m.parse(i,e,r,t)})):(this.addStatus(s,"Fetch over. No data handled."),this.doneFetch(r,t))}},{key:"saveErrorResponse",value:function(t,e){var r=this,i=this.store;return t.text().then((function(t){t.length>10&&i.add(e,r.ns.http("content"),i.rdfFactory.literal(t),e)}))}},{key:"handlerForContentType",value:function(t,e){if(!t)return null;var r=this.handlers.find((function(e){return t.match(e.pattern)}));return r?new r(e):null}},{key:"guessContentType",value:function(t){return hh[t.split(".").pop()]}},{key:"normalizedContentType",value:function(t,e){if(t.forceContentType)return t.forceContentType;var r=e.get("content-type");if(!r||r.includes("application/octet-stream")){var i=this.guessContentType(t.resource.value);if(i)return i}var o=Xn(t.resource.value);return!r&&["file","chrome"].includes(o)?"text/xml":r}},{key:"redirectToProxy",value:function(t,e){var r=this;this.addStatus(e.req,"BLOCKED -> Cross-site Proxy to <"+t+">"),e.proxyUsed=!0;var i=this.store,o=e.req;e.noMeta||(i.add(o,this.ns.link("redirectedTo"),i.rdfFactory.namedNode(t),o),this.addStatus(o,"redirected to new request")),this.requested[e.resource.value]="redirected",this.redirectedTo[e.resource.value]=t;var n=Object.assign({},e);return n.baseURI=e.resource.value,this.fetchUri(t,n).then((function(t){return n.noMeta||i.add(o,r.ns.link("redirectedRequest"),n.req,r.appNode),t}))}},{key:"setRequestTimeout",value:function(t,e){var r=this;return new Promise((function(i){r.timeouts[t]=(r.timeouts[t]||[]).concat(setTimeout((function(){!r.isPending(t)||e.retriedWithNoCredentials||e.proxyUsed||i(r.failFetch(e,"Request to ".concat(t," timed out"),"timeout"))}),r.timeout))}))}},{key:"addFetchCallback",value:function(t,e){this.fetchCallbacks[t]?this.fetchCallbacks[t].push(e):this.fetchCallbacks[t]=[e]}},{key:"acceptString",value:function(){var t="";for(var e in this.mediatypes)for(var r in""!==t&&(t+=", "),t+=e,this.mediatypes[e])t+=";"+r+"="+this.mediatypes[e][r];return t}}],[{key:"crossSiteProxy",value:function(e){return t.crossSiteProxyTemplate?t.crossSiteProxyTemplate.replace("{uri}",encodeURIComponent(e)):void 0}},{key:"offlineOverride",value:function(t){var e,r=t;return"undefined"!=typeof window&&window.panes&&(e=window.panes.UI)&&e.preferences&&e.preferences.get("offlineModeUsingLocalhost")&&"http://"===r.slice(0,7)&&"localhost/"!==r.slice(7,17)&&(r="http://localhost/"+r.slice(7),ss("Localhost kludge for offline use: actually getting <"+r+">")),r}},{key:"proxyIfNecessary",value:function(e){var r;if("undefined"!=typeof window&&window.panes&&(r=window.panes.UI)&&r.isExtension)return e;if("undefined"!=typeof $SolidTestEnvironment&&$SolidTestEnvironment.localSiteMap){var i=function t(e,r){var i=r[e.shift()];return i?"string"==typeof i?i+e.join("/"):e?t(e,i):null:null}(e.split("/").slice(2),$SolidTestEnvironment.localSiteMap);if(i)return i}return t.crossSiteProxyTemplate&&"undefined"!=typeof document&&document.location&&"https:"===(""+document.location).slice(0,6)&&"http:"===e.slice(0,5)?t.crossSiteProxyTemplate.replace("{uri}",encodeURIComponent(e)):e}},{key:"unsupportedProtocol",value:function(t){var e=Xn(t);return"tel"===e||"mailto"===e||"urn"===e}},{key:"setCredentials",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};void 0===e.credentials&&(e.credentials=void 0!==e.withCredentials?e.withCredentials?"include":"omit":"include")}}]),t}();function Ah(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return Eh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Eh(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){a=!0,n=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw n}}}}function Eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}$o(Sh,"HANDLERS",void 0),$o(Sh,"CONTENT_TYPE_BY_EXT",void 0),$o(Sh,"crossSiteProxyTemplate",void 0),Sh.HANDLERS=yh,Sh.CONTENT_TYPE_BY_EXT=hh;var Ch=function(){function t(e){if(Vo(this,t),$o(this,"store",void 0),$o(this,"ifps",void 0),$o(this,"fps",void 0),$o(this,"patchControl",void 0),$o(this,"ns",void 0),(e=e||new Vs).updater)throw new Error("You can't have two UpdateManagers for the same store");e.fetcher||(e.fetcher=new Sh(e)),this.store=e,e.updater=this,this.ifps={},this.fps={},this.ns={},this.ns.link=cs("http://www.w3.org/2007/ont/link#"),this.ns.http=cs("http://www.w3.org/2007/ont/http#"),this.ns.httph=cs("http://www.w3.org/2007/ont/httph#"),this.ns.ldp=cs("http://www.w3.org/ns/ldp#"),this.ns.rdf=cs("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),this.ns.rdfs=cs("http://www.w3.org/2000/01/rdf-schema#"),this.ns.rdf=cs("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),this.ns.owl=cs("http://www.w3.org/2002/07/owl#"),this.patchControl=[]}return Wo(t,[{key:"patchControlFor",value:function(t){return this.patchControl[t.value]||(this.patchControl[t.value]=[]),this.patchControl[t.value]}},{key:"isHttpUri",value:function(t){return"http"===t.slice(0,4)}},{key:"editable",value:function(t,e){if(!t)return!1;if(e||(e=this.store),t=vn(t),!this.isHttpUri(t)&&e.holds(this.store.rdfFactory.namedNode(t),this.store.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),this.store.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#MachineEditableDocument")))return"LOCALFILE";for(var r,i,o=!1,n=e.each(void 0,this.ns.link("requestedURI"),Kn(t)),s=0;s<n.length;s++)if(void 0!==(r=n[s])){var a=e.any(r,this.ns.link("response"));if(void 0!==r){var h=e.anyValue(a,this.ns.httph("wac-allow"));if(h){var c,u=Ah(h.split(","));try{for(u.s();!(c=u.n()).done;){var p=c.value.split("=");if(p[0].includes("user")&&!p[1].includes("write")&&!p[1].includes("append"))return!1}}catch(t){u.e(t)}finally{u.f()}}var l=e.each(a,this.ns.httph("accept-patch"));if(l.length)for(var m=0;m<l.length;m++){if((i=l[m].value.trim()).indexOf("application/sparql-update")>=0)return"SPARQL";if(i.indexOf("application/sparql-update-single-match")>=0)return"SPARQL"}var g=e.each(a,this.ns.httph("ms-author-via"));if(g.length)for(var d=0;d<g.length;d++){if((i=g[d].value.trim()).indexOf("SPARQL")>=0)return"SPARQL";if(i.indexOf("DAV")>=0)return"DAV"}if(!this.isHttpUri(t))return!!h&&"LOCALFILE";var f=e.each(a,this.ns.http("status"));if(f.length)for(var w=0;w<f.length;w++)200!==f[w]&&404!==f[w]||(o=!0)}}if(0===n.length);else if(o)return!1}},{key:"anonymize",value:function(t){return"_:"===t.toNT().substr(0,2)&&this.mentioned(t)?"?"+t.toNT().substr(2):t.toNT()}},{key:"anonymizeNT",value:function(t){return this.anonymize(t.subject)+" "+this.anonymize(t.predicate)+" "+this.anonymize(t.object)+" ."}},{key:"nTriples",value:function(t){return"".concat(t.subject.toNT()," ").concat(t.predicate.toNT()," ").concat(t.object.toNT()," .")}},{key:"statementBnodes",value:function(t){return[t.subject,t.predicate,t.object].filter((function(t){return Rn(t)}))}},{key:"statementArrayBnodes",value:function(t){for(var e=[],r=0;r<t.length;r++)e=e.concat(this.statementBnodes(t[r]));e.sort();for(var i=[],o=0;o<e.length;o++)0!==o&&e[o].equals(e[o-1])||i.push(e[o]);return i}},{key:"cacheIfps",value:function(){this.ifps={};for(var t=this.store.each(void 0,this.ns.rdf("type"),this.ns.owl("InverseFunctionalProperty")),e=0;e<t.length;e++)this.ifps[t[e].value]=!0;this.fps={},t=this.store.each(void 0,this.ns.rdf("type"),this.ns.owl("FunctionalProperty"));for(var r=0;r<t.length;r++)this.fps[t[r].value]=!0}},{key:"bnodeContext2",value:function(t,e,r){for(var i,o,n=this.store.statementsMatching(void 0,void 0,t,e),s=0;s<n.length;s++)if(this.fps[n[s].predicate.value]){if(!(i=n[s].subject).isBlank)return[n[s]];if(r&&(o=this.bnodeContext2(i,e,r-1)))return o.concat([n[s]])}n=this.store.statementsMatching(t,void 0,void 0,e);for(var a=0;a<n.length;a++)if(this.ifps[n[a].predicate.value]){if(!(i=n[a].object).isBlank)return[n[a]];if(r&&(o=this.bnodeContext2(i,e,r-1)))return o.concat([n[a]])}return null}},{key:"bnodeContext1",value:function(t,e){for(var r=0;r<3;r++){var i=this.bnodeContext2(t,e,r);if(null!==i)return i}return this.store.connectedStatements(t,e)}},{key:"mentioned",value:function(t){return 0!==this.store.statementsMatching(t,null,null,null).length||0!==this.store.statementsMatching(null,t).length||0!==this.store.statementsMatching(null,null,t).length}},{key:"bnodeContext",value:function(t,e){var r=[];if(t.length){this.cacheIfps();for(var i=0;i<t.length;i++){var o=t[i];this.mentioned(o)&&(r=r.concat(this.bnodeContext1(o,e)))}}return r}},{key:"statementContext",value:function(t){var e=this.statementBnodes(t);return this.bnodeContext(e,t.graph)}},{key:"contextWhere",value:function(t){var e=this;return t&&0!==t.length?"WHERE { "+t.map((function(t){return e.anonymizeNT(t)})).join("\n")+" }\n":""}},{key:"fire",value:function(t,e,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Promise.resolve().then((function(){if(!t)throw new Error("No URI given for remote editing operation: "+e);return o.noMeta=!0,o.contentType="application/sparql-update",o.body=e,i.store.fetcher.webOperation("PATCH",t,o)})).then((function(i){if(!i.ok)throw new Error("UpdateManager: update failed for <"+t+"> status="+i.status+", "+i.statusText+"\n for query: "+e);r(t,i.ok,i.responseText,i)})).catch((function(e){r(t,!1,e.message,e)}))}},{key:"update_statement",value:function(t){if(!t||t.graph){var e=this,r=this.statementContext(t);return{statement:t?[t.subject,t.predicate,t.object,t.graph]:void 0,statementNT:t?this.anonymizeNT(t):void 0,where:e.contextWhere(r),set_object:function(t,r){var i=this.where;i+="DELETE DATA { "+this.statementNT+" } ;\n",i+="INSERT DATA { "+this.anonymize(this.statement[0])+" "+this.anonymize(this.statement[1])+" "+this.anonymize(t)+" . }\n",e.fire(this.statement[3].value,i,r)}}}}},{key:"insert_statement",value:function(t,e){var r=t instanceof Array?t[0]:t,i=this.contextWhere(this.statementContext(r));if(t instanceof Array){for(var o="",n=0;n<t.length;n++)o+=t[n]+"\n";i+="INSERT DATA { "+o+" }\n"}else i+="INSERT DATA { "+this.anonymize(t.subject)+" "+this.anonymize(t.predicate)+" "+this.anonymize(t.object)+" . }\n";this.fire(r.graph.value,i,e)}},{key:"delete_statement",value:function(t,e){var r=t instanceof Array?t[0]:t,i=this.contextWhere(this.statementContext(r));if(t instanceof Array){for(var o="",n=0;n<t.length;n++)o+=t[n]+"\n";i+="DELETE DATA { "+o+" }\n"}else i+="DELETE DATA { "+this.anonymize(t.subject)+" "+this.anonymize(t.predicate)+" "+this.anonymize(t.object)+" . }\n";this.fire(r.graph.value,i,e)}},{key:"requestDownstreamAction",value:function(t,e){var r=this.patchControlFor(t);if(r.pendingUpstream)if(r.downstreamAction){if(""+r.downstreamAction!=""+e)throw new Error("Can't wait for > 1 different downstream actions")}else r.downstreamAction=e;else e(t)}},{key:"clearUpstreamCount",value:function(t){this.patchControlFor(t).upstreamCount=0}},{key:"getUpdatesVia",value:function(t){var e=this.store.fetcher.getHeader(t,"updates-via");return e&&e.length?e[0].trim():null}},{key:"addDownstreamChangeListener",value:function(t,e){var r=this,i=this.patchControlFor(t);i.downstreamChangeListeners||(i.downstreamChangeListeners=[]),i.downstreamChangeListeners.push(e),this.setRefreshHandler(t,(function(t){r.reloadAndSync(t)}))}},{key:"reloadAndSync",value:function(t){var e=this.patchControlFor(t),r=this;if(e.reloading)e.outOfDate=!0;else{e.reloading=!0;var i=1e3;!function o(){r.reload(r.store,t,(function(t,r,n){if(t){if(e.downstreamChangeListeners)for(var s=0;s<e.downstreamChangeListeners.length;s++)e.downstreamChangeListeners[s]();e.reloading=!1,e.outOfDate&&(e.outOfDate=!1,o())}else e.reloading=!1,0===n.status&&(e.reloading=!0,setTimeout(o,i*=2))}))}()}}},{key:"setRefreshHandler",value:function(t,e){var r=this.getUpdatesVia(t),i=e,o=this,n=this,s=1500,a=0;if(!r)return!1;var h=(r=$n(r,t.value)).replace(/^http:/,"ws:").replace(/^https:/,"wss:");return function e(){var r;if("undefined"!=typeof WebSocket)r=new WebSocket(h);else{if("undefined"==typeof window||!window.WebSocket)return;r=window.WebSocket(h)}r.onopen=function(){s=1500,this.send("sub "+t.value),a&&n.requestDownstreamAction(t,i)};var c=o.patchControlFor(t);c.upstreamCount=0,r.onerror=function(){},r.onclose=function(){s*=2,a+=1,setTimeout((function(){e()}),s)},r.onmessage=function(e){if(e.data&&"pub"===e.data.slice(0,3)){if("upstreamCount"in c&&(c.upstreamCount-=1,c.upstreamCount>=0))return;c.upstreamCount=0,o.requestDownstreamAction(t,i)}}}(),!0}},{key:"updateMany",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.concat(e).map((function(t){return t.why})),i=this,o=[];r.forEach((function(t){o.find((function(e){return e.equals(t)}))||o.push(t)}));var n=o.map((function(r){return i.update(t.filter((function(t){return t.why.equals(r)})),e.filter((function(t){return t.why.equals(r)})))}));return Promise.all(n)}},{key:"update",value:function(t,e,r,i){var o=this,n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!r){var s=this;return new Promise((function(r,o){s.update(t,e,(function(t,e,i){e?r():o(new Error(i))}),i,n)}))}try{var a=this.store,h=t?bn(t)?t.statements:t instanceof Array?t:[t]:[],c=e?bn(e)?e.statements:e instanceof Array?e:[e]:[];if(!(h instanceof Array))throw new Error("Type Error "+Uo(h)+": "+h);if(!(c instanceof Array))throw new Error("Type Error "+Uo(c)+": "+c);if(0===h.length&&0===c.length)return r(null,!0);var u=h.length?h[0].graph:c[0].graph;if(!u){var p="Error patching: statement does not specify which document to patch:"+h[0]+", "+c[0];throw new Error(p)}if("NamedNode"!==u.termType){var l="Error patching: document not a NamedNode:"+h[0]+", "+c[0];throw new Error(l)}var m=this.patchControlFor(u),g=Date.now(),d=["subject","predicate","object","why"],f=["insert","delete"],w={delete:h,insert:c};f.map((function(t){w[t].map((function(t){if(!u.equals(t.graph))throw new Error("update: destination "+u+" inconsistent with delete quad "+t.graph);d.map((function(e){if(void 0===t[e])throw new Error("update: undefined "+e+" of statement.")}))}))}));var v=this.editable(u.value,a);if(!1===v)throw new Error("Update: Can't make changes in uneditable "+u);if(void 0===v){if(i)throw new Error("Update: Loaded "+u+"but stil can't figure out what editing protcol it supports.");return void this.store.fetcher.load(u).then((function(){o.update(t,e,r,!0,n)}),(function(i){if(404!==i.response.status)throw new Error("Update: Can't get updatability status ".concat(u," before patching: ").concat(i));o.update(t,e,r,!0,n)}))}if(v.indexOf("SPARQL")>=0){var y=[];h.length&&(y=this.statementArrayBnodes(h)),c.length&&(y=y.concat(this.statementArrayBnodes(c)));var b=this.bnodeContext(y,u),S=this.contextWhere(b),A="";if(S.length){if(h.length){A+="DELETE { ";for(var E=0;E<h.length;E++)A+=this.anonymizeNT(h[E])+"\n";A+=" }\n"}if(c.length){A+="INSERT { ";for(var C=0;C<c.length;C++)A+=this.anonymizeNT(c[C])+"\n";A+=" }\n"}A+=S}else{if(h.length){A+="DELETE DATA { ";for(var P=0;P<h.length;P++)A+=this.anonymizeNT(h[P])+"\n";A+=" } \n"}if(c.length){h.length&&(A+=" ; "),A+="INSERT DATA { ";for(var F=0;F<c.length;F++)A+=this.nTriples(c[F])+"\n";A+=" }\n"}}m.pendingUpstream=m.pendingUpstream?m.pendingUpstream+1:1,"upstreamCount"in m&&(m.upstreamCount+=1),this.fire(u.value,A,(function(t,e,i,o){if(o.elapsedTimeMs=Date.now()-g,e){try{a.remove(h)}catch(t){e=!1,i="Remote Ok BUT error deleting "+h.length+" from store!!! "+t}for(var n=0;n<c.length;n++)a.add(c[n].subject,c[n].predicate,c[n].object,u)}if(r(t,e,i,o),m.pendingUpstream-=1,0===m.pendingUpstream&&m.downstreamAction){var s=m.downstreamAction;delete m.downstreamAction,s(u)}}),n)}else if(v.indexOf("DAV")>=0)this.updateDav(u,h,c,r,n);else{if(!(v.indexOf("LOCALFILE")>=0))throw new Error("Unhandled edit method: '"+v+"' for "+u);try{this.updateLocalFile(u,h,c,r,n)}catch(t){r(u.value,!1,"Exception trying to write back file <"+u.value+">\n")}}}catch(t){r(void 0,!1,"Exception in update: "+t+"\n"+ws(t))}}},{key:"updateDav",value:function(t,e,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},n=this.store,s=n.any(t,this.ns.link("request"));if(!s)throw new Error("No record of our HTTP GET request for document: "+t);var a=n.any(s,this.ns.link("response"));if(!a)return null;for(var h=n.the(a,this.ns.httph("content-type")).value,c=n.statementsMatching(void 0,void 0,void 0,t).slice(),u=0;u<e.length;u++)fs(c,e[u]);for(var p=0;p<r.length;p++)c.push(r[p]);var l,m=this.serialize(t.value,c,h),g=n.the(a,this.ns.httph("content-location"));return g&&(l=$n(g.value,l)),o.contentType=h,o.noMeta=!0,o.body=m,n.fetcher.webOperation("PUT",l,o).then((function(o){if(!o.ok)throw new Error(o.error);for(var s=0;s<e.length;s++)n.remove(e[s]);for(var a=0;a<r.length;a++)n.add(r[a].subject,r[a].predicate,r[a].object,t);i(t.value,o.ok,o.responseText,o)})).catch((function(e){i(t.value,!1,e.message,e)}))}},{key:"updateLocalFile",value:function(t,e,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},n=this.store,s=n.statementsMatching(void 0,void 0,void 0,t).slice(),a=0;a<e.length;a++)fs(s,e[a]);for(var h=0;h<r.length;h++)s.push(r[h]);var c=t.value.lastIndexOf(".");if(c<1)throw new Error("Rewriting file: No filename extension: "+t.value);var u=t.value.slice(c+1),p=Sh.CONTENT_TYPE_BY_EXT[u];if(!p)throw new Error("File extension ."+u+" not supported for data write");o.body=this.serialize(t.value,s,p),o.contentType=p,n.fetcher.webOperation("PUT",t.value,o).then((function(o){if(!o.ok)return i(t.value,!1,o.error);for(var s=0;s<e.length;s++)n.remove(e[s]);for(var a=0;a<r.length;a++)n.add(r[a].subject,r[a].predicate,r[a].object,t);i(t.value,!0,"")}))}},{key:"serialize",value:function(t,e,r){var i,o=this.store;if("string"==typeof e)return e;var n=Ss(o);switch(n.suggestNamespaces(o.namespaces),n.setBase(t),r){case"text/xml":case"application/rdf+xml":i=n.statementsToXML(e);break;case"text/n3":case"text/turtle":case"application/x-turtle":case"application/n3":i=n.statementsToN3(e);break;default:throw new Error("Content-type "+r+" not supported for data serialization")}return i}},{key:"put",value:function(t,e,r,i){var o,n=this,s=this.store;return Promise.resolve().then((function(){return o=n.serialize(t.value,e,r),s.fetcher.webOperation("PUT",t.value,{contentType:r,body:o})})).then((function(r){if(!r.ok)return i(t.value,r.ok,r.error,r);delete s.fetcher.nonexistent[t.value],delete s.fetcher.requested[t.value],"string"!=typeof e&&e.map((function(t){s.addStatement(t)})),i(t.value,r.ok,"",r)})).catch((function(e){i(t.value,!1,e.message)}))}},{key:"reload",value:function(t,e,r){var i=Date.now();t.fetcher.nowOrWhenFetched(e.value,{force:!0,noMeta:!0,clearPreviousData:!0},(function(t,o,n){if(t)if(n.onErrorWasCalled||200!==n.status)r(!1,"Non-HTTP error reloading data: "+o,n);else{var s=Date.now()-i;e.reloadTimeTotal||(e.reloadTimeTotal=0),e.reloadTimeCount||(e.reloadTimeCount=0),e.reloadTimeTotal+=s,e.reloadTimeCount+=1,r(!0)}else r(!1,"Error reloading data: "+o,n)}))}}]),t}();function Ph(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Fh(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ph(Object(r),!0).forEach((function(e){$o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ph(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var kh,Th=Fh(Fh({},ya),{},{fetcher:function(t,e){return new Sh(t,e)},graph:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return new Vs(t,e||{rdfFactory:ya})},lit:function(t,e,r){return this.literal(""+t,e||r)},st:function(t,e,r,i){return this.quad(t,e,r,i)}}),Rh={};for(kh in Th)"function"==typeof Th[kh]&&(Rh[kh]=Th[kh].bind(Th));var Oh=Rh.fetcher,Dh=Rh.graph,Mh=Rh.lit,Ih=Rh.st,xh=Rh.namedNode;new Os;var _h=(t,e)=>{const r=t[e.predicate.uri];return v(w({},t),{[e.predicate.uri]:r?[...r,e.subject.value]:[e.subject.value]})},Nh=(t,e)=>{const r=t[e.predicate.uri];return v(w({},t),{[e.predicate.uri]:r?[...r,e.object.value]:[e.object.value]})},jh=class{constructor(t,e,r=!1){this.uri=t,this.store=e,this.editable=r}label(){const t=this.anyValue("http://www.w3.org/2006/vcard/ns#fn","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/0.1/nick","https://schema.org/name","http://schema.org/name","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2000/01/rdf-schema#label","https://www.w3.org/ns/activitystreams#name","http://schema.org/caption","https://schema.org/caption");return null!=t?t:this.uri}literals(){const t=this.store.statementsMatching(xh(this.uri)).filter((t=>Fn(t.object))).reduce(Nh,{});return Object.keys(t).map((e=>({predicate:e,values:t[e]})))}relations(){const t=this.store.statementsMatching(xh(this.uri)).filter((t=>Tn(t.object)&&!t.predicate.sameTerm(xh("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")))).reduce(Nh,{});return Object.keys(t).map((e=>({predicate:e,uris:t[e]})))}reverseRelations(){const t=this.store.statementsMatching(void 0,void 0,xh(this.uri)).reduce(_h,{});return Object.keys(t).map((e=>({predicate:e,uris:t[e]})))}anyValue(...t){let e;return t.some((t=>(e=this.store.anyValue(xh(this.uri),xh(t)),Boolean(e)))),e}description(){return this.anyValue("http://purl.org/dc/terms/description","http://purl.org/dc/elements/1.1/description","http://schema.org/description","https://schema.org/description","https://schema.org/text","http://www.w3.org/2000/01/rdf-schema#comment","https://www.w3.org/ns/activitystreams#summary","https://www.w3.org/ns/activitystreams#content","http://www.w3.org/2006/vcard/ns#note")}picture(){const t=this.anyValue("http://schema.org/image","https://schema.org/image","http://schema.org/logo","https://schema.org/logo","http://www.w3.org/2006/vcard/ns#hasPhoto","http://www.w3.org/2006/vcard/ns#photo","http://www.w3.org/2006/vcard/ns#hasLogo","http://www.w3.org/2006/vcard/ns#logo","http://xmlns.com/foaf/0.1/img","http://xmlns.com/foaf/0.1/depiction","http://xmlns.com/foaf/0.1/thumbnail");return t?{url:t}:this.findActivityStreamsPicture()}findActivityStreamsPicture(){const t=this.store.any(xh(this.uri),xh("https://www.w3.org/ns/activitystreams#image"))||this.store.any(xh(this.uri),xh("https://www.w3.org/ns/activitystreams#icon"));if(!t||!Rn(t)&&!Tn(t))return null;const e=this.store.anyValue(t,xh("https://www.w3.org/ns/activitystreams#url"));return e?{url:e}:null}types(){const t=this.store.findTypeURIs(xh(this.uri));return Object.keys(t).map((t=>{return{uri:t,label:(e=t,e.includes("#")?e.substring(e.lastIndexOf("#")+1):e.substring(e.lastIndexOf("/")+1))};var e}))}assume(t){return new t(this.uri,this.store,this.editable)}},Bh={};S(Bh,{acl:()=>Uh,arg:()=>Lh,as:()=>Hh,cal:()=>Wh,contact:()=>Vh,dc:()=>qh,dct:()=>Gh,foaf:()=>Kh,http:()=>Jh,hydra:()=>zh,ldp:()=>$h,link:()=>Xh,log:()=>Qh,meeting:()=>Yh,owl:()=>Zh,qu:()=>tc,rdf:()=>rc,rdfs:()=>ic,sched:()=>oc,schema:()=>nc,schema_https:()=>sc,sioc:()=>ac,skos:()=>hc,solid:()=>cc,space:()=>uc,tab:()=>pc,tabont:()=>lc,trip:()=>ec,vcard:()=>mc,wf:()=>gc});var Uh=Object.freeze({Access:"http://www.w3.org/ns/auth/acl#Access",Append:"http://www.w3.org/ns/auth/acl#Append",AuthenticatedAgent:"http://www.w3.org/ns/auth/acl#AuthenticatedAgent",Authorization:"http://www.w3.org/ns/auth/acl#Authorization",Control:"http://www.w3.org/ns/auth/acl#Control",Origin:"http://www.w3.org/ns/auth/acl#Origin",Read:"http://www.w3.org/ns/auth/acl#Read",Write:"http://www.w3.org/ns/auth/acl#Write",accessControl:"http://www.w3.org/ns/auth/acl#accessControl",accessTo:"http://www.w3.org/ns/auth/acl#accessTo",accessToClass:"http://www.w3.org/ns/auth/acl#accessToClass",agent:"http://www.w3.org/ns/auth/acl#agent",agentClass:"http://www.w3.org/ns/auth/acl#agentClass",agentGroup:"http://www.w3.org/ns/auth/acl#agentGroup",default__workaround:"http://www.w3.org/ns/auth/acl#default",defaultForNew:"http://www.w3.org/ns/auth/acl#defaultForNew",delegates:"http://www.w3.org/ns/auth/acl#delegates",mode:"http://www.w3.org/ns/auth/acl#mode",origin:"http://www.w3.org/ns/auth/acl#origin",owner:"http://www.w3.org/ns/auth/acl#owner"}),Lh=Object.freeze({Conjunction:"http://www.w3.org/ns/pim/arg#Conjunction",Position:"http://www.w3.org/ns/pim/arg#Position",Resolution:"http://www.w3.org/ns/pim/arg#Resolution",opposition:"http://www.w3.org/ns/pim/arg#opposition",requires:"http://www.w3.org/ns/pim/arg#requires",support:"http://www.w3.org/ns/pim/arg#support"}),Hh=Object.freeze({actor:"http://www.w3.org/ns/activitystreams#actor",attributedTo:"http://www.w3.org/ns/activitystreams#attributedTo",attachment:"http://www.w3.org/ns/activitystreams#attachment",attachments:"http://www.w3.org/ns/activitystreams#attachments",author:"http://www.w3.org/ns/activitystreams#author",bcc:"http://www.w3.org/ns/activitystreams#bcc",bto:"http://www.w3.org/ns/activitystreams#bto",cc:"http://www.w3.org/ns/activitystreams#cc",context:"http://www.w3.org/ns/activitystreams#context",generator:"http://www.w3.org/ns/activitystreams#generator",icon:"http://www.w3.org/ns/activitystreams#icon",image:"http://www.w3.org/ns/activitystreams#image",inReplyTo:"http://www.w3.org/ns/activitystreams#inReplyTo",items:"http://www.w3.org/ns/activitystreams#items",location:"http://www.w3.org/ns/activitystreams#location",object:"http://www.w3.org/ns/activitystreams#object",oneOf:"http://www.w3.org/ns/activitystreams#oneOf",anyOf:"http://www.w3.org/ns/activitystreams#anyOf",preview:"http://www.w3.org/ns/activitystreams#preview",provider:"http://www.w3.org/ns/activitystreams#provider",replies:"http://www.w3.org/ns/activitystreams#replies",result:"http://www.w3.org/ns/activitystreams#result",audience:"http://www.w3.org/ns/activitystreams#audience",tag:"http://www.w3.org/ns/activitystreams#tag",tags:"http://www.w3.org/ns/activitystreams#tags",target:"http://www.w3.org/ns/activitystreams#target",origin:"http://www.w3.org/ns/activitystreams#origin",instrument:"http://www.w3.org/ns/activitystreams#instrument",to:"http://www.w3.org/ns/activitystreams#to",url:"http://www.w3.org/ns/activitystreams#url",relationship:"http://www.w3.org/ns/activitystreams#relationship",describes:"http://www.w3.org/ns/activitystreams#describes",formerType:"http://www.w3.org/ns/activitystreams#formerType",accuracy:"http://www.w3.org/ns/activitystreams#accuracy",altitude:"http://www.w3.org/ns/activitystreams#altitude",content:"http://www.w3.org/ns/activitystreams#content",name:"http://www.w3.org/ns/activitystreams#name",downstreamDuplicates:"http://www.w3.org/ns/activitystreams#downstreamDuplicates",duration:"http://www.w3.org/ns/activitystreams#duration",endTime:"http://www.w3.org/ns/activitystreams#endTime",height:"http://www.w3.org/ns/activitystreams#height",href:"http://www.w3.org/ns/activitystreams#href",hreflang:"http://www.w3.org/ns/activitystreams#hreflang",id:"http://www.w3.org/ns/activitystreams#id",latitude:"http://www.w3.org/ns/activitystreams#latitude",longitude:"http://www.w3.org/ns/activitystreams#longitude",mediaType:"http://www.w3.org/ns/activitystreams#mediaType",objectType:"http://www.w3.org/ns/activitystreams#objectType",published:"http://www.w3.org/ns/activitystreams#published",radius:"http://www.w3.org/ns/activitystreams#radius",rating:"http://www.w3.org/ns/activitystreams#rating",rel:"http://www.w3.org/ns/activitystreams#rel",startIndex:"http://www.w3.org/ns/activitystreams#startIndex",startTime:"http://www.w3.org/ns/activitystreams#startTime",summary:"http://www.w3.org/ns/activitystreams#summary",totalItems:"http://www.w3.org/ns/activitystreams#totalItems",units:"http://www.w3.org/ns/activitystreams#units",updated:"http://www.w3.org/ns/activitystreams#updated",upstreamDuplicates:"http://www.w3.org/ns/activitystreams#upstreamDuplicates",verb:"http://www.w3.org/ns/activitystreams#verb",width:"http://www.w3.org/ns/activitystreams#width",deleted:"http://www.w3.org/ns/activitystreams#deleted",Accept:"http://www.w3.org/ns/activitystreams#Accept",Activity:"http://www.w3.org/ns/activitystreams#Activity",Block:"http://www.w3.org/ns/activitystreams#Block",IntransitiveActivity:"http://www.w3.org/ns/activitystreams#IntransitiveActivity",Add:"http://www.w3.org/ns/activitystreams#Add",Announce:"http://www.w3.org/ns/activitystreams#Announce",Application:"http://www.w3.org/ns/activitystreams#Application",Arrive:"http://www.w3.org/ns/activitystreams#Arrive",Article:"http://www.w3.org/ns/activitystreams#Article",Audio:"http://www.w3.org/ns/activitystreams#Audio",Collection:"http://www.w3.org/ns/activitystreams#Collection",CollectionPage:"http://www.w3.org/ns/activitystreams#CollectionPage",OrderedCollectionPage:"http://www.w3.org/ns/activitystreams#OrderedCollectionPage",Relationship:"http://www.w3.org/ns/activitystreams#Relationship",Create:"http://www.w3.org/ns/activitystreams#Create",Delete:"http://www.w3.org/ns/activitystreams#Delete",Dislike:"http://www.w3.org/ns/activitystreams#Dislike",Document:"http://www.w3.org/ns/activitystreams#Document",Event:"http://www.w3.org/ns/activitystreams#Event",Flag:"http://www.w3.org/ns/activitystreams#Flag",Follow:"http://www.w3.org/ns/activitystreams#Follow",Group:"http://www.w3.org/ns/activitystreams#Group",Ignore:"http://www.w3.org/ns/activitystreams#Ignore",Image:"http://www.w3.org/ns/activitystreams#Image",Invite:"http://www.w3.org/ns/activitystreams#Invite",Join:"http://www.w3.org/ns/activitystreams#Join",Leave:"http://www.w3.org/ns/activitystreams#Leave",Like:"http://www.w3.org/ns/activitystreams#Like",View:"http://www.w3.org/ns/activitystreams#View",Listen:"http://www.w3.org/ns/activitystreams#Listen",Read:"http://www.w3.org/ns/activitystreams#Read",Move:"http://www.w3.org/ns/activitystreams#Move",Travel:"http://www.w3.org/ns/activitystreams#Travel",Link:"http://www.w3.org/ns/activitystreams#Link",Mention:"http://www.w3.org/ns/activitystreams#Mention",Note:"http://www.w3.org/ns/activitystreams#Note",Object__workaround:"http://www.w3.org/ns/activitystreams#Object",Offer:"http://www.w3.org/ns/activitystreams#Offer",OrderedCollection:"http://www.w3.org/ns/activitystreams#OrderedCollection",OrderedItems:"http://www.w3.org/ns/activitystreams#OrderedItems",Page:"http://www.w3.org/ns/activitystreams#Page",Person:"http://www.w3.org/ns/activitystreams#Person",Organization:"http://www.w3.org/ns/activitystreams#Organization",Profile:"http://www.w3.org/ns/activitystreams#Profile",Place:"http://www.w3.org/ns/activitystreams#Place",Question:"http://www.w3.org/ns/activitystreams#Question",Reject:"http://www.w3.org/ns/activitystreams#Reject",Remove:"http://www.w3.org/ns/activitystreams#Remove",Service:"http://www.w3.org/ns/activitystreams#Service",TentativeAccept:"http://www.w3.org/ns/activitystreams#TentativeAccept",TentativeReject:"http://www.w3.org/ns/activitystreams#TentativeReject",Tombstone:"http://www.w3.org/ns/activitystreams#Tombstone",Undo:"http://www.w3.org/ns/activitystreams#Undo",Update:"http://www.w3.org/ns/activitystreams#Update",Video:"http://www.w3.org/ns/activitystreams#Video"}),Wh=Object.freeze({Vevent:"http://www.w3.org/2002/12/cal/ical#Vevent",Vtodo:"http://www.w3.org/2002/12/cal/ical#Vtodo",Vjournal:"http://www.w3.org/2002/12/cal/ical#Vjournal",Vfreebusy:"http://www.w3.org/2002/12/cal/ical#Vfreebusy",Vtimezone:"http://www.w3.org/2002/12/cal/ical#Vtimezone",Valarm:"http://www.w3.org/2002/12/cal/ical#Valarm",calscale:"http://www.w3.org/2002/12/cal/ical#calscale",method:"http://www.w3.org/2002/12/cal/ical#method",prodid:"http://www.w3.org/2002/12/cal/ical#prodid",version:"http://www.w3.org/2002/12/cal/ical#version",attach:"http://www.w3.org/2002/12/cal/ical#attach",categories:"http://www.w3.org/2002/12/cal/ical#categories",class__workaround:"http://www.w3.org/2002/12/cal/ical#class",comment:"http://www.w3.org/2002/12/cal/ical#comment",description:"http://www.w3.org/2002/12/cal/ical#description",geo:"http://www.w3.org/2002/12/cal/ical#geo",List_of_Float:"http://www.w3.org/2002/12/cal/ical#List_of_Float",location:"http://www.w3.org/2002/12/cal/ical#location",percentComplete:"http://www.w3.org/2002/12/cal/ical#percentComplete",priority:"http://www.w3.org/2002/12/cal/ical#priority",resources:"http://www.w3.org/2002/12/cal/ical#resources",status:"http://www.w3.org/2002/12/cal/ical#status",summary:"http://www.w3.org/2002/12/cal/ical#summary",completed:"http://www.w3.org/2002/12/cal/ical#completed",dtend:"http://www.w3.org/2002/12/cal/ical#dtend",Value_DATE:"http://www.w3.org/2002/12/cal/ical#Value_DATE",due:"http://www.w3.org/2002/12/cal/ical#due",dtstart:"http://www.w3.org/2002/12/cal/ical#dtstart",duration:"http://www.w3.org/2002/12/cal/ical#duration",Value_DURATION:"http://www.w3.org/2002/12/cal/ical#Value_DURATION",freebusy:"http://www.w3.org/2002/12/cal/ical#freebusy",Value_PERIOD:"http://www.w3.org/2002/12/cal/ical#Value_PERIOD",transp:"http://www.w3.org/2002/12/cal/ical#transp",tzid:"http://www.w3.org/2002/12/cal/ical#tzid",tzname:"http://www.w3.org/2002/12/cal/ical#tzname",tzoffsetfrom:"http://www.w3.org/2002/12/cal/ical#tzoffsetfrom",tzoffsetto:"http://www.w3.org/2002/12/cal/ical#tzoffsetto",tzurl:"http://www.w3.org/2002/12/cal/ical#tzurl",attendee:"http://www.w3.org/2002/12/cal/ical#attendee",contact:"http://www.w3.org/2002/12/cal/ical#contact",organizer:"http://www.w3.org/2002/12/cal/ical#organizer",recurrenceId:"http://www.w3.org/2002/12/cal/ical#recurrenceId",DomainOf_rrule:"http://www.w3.org/2002/12/cal/ical#DomainOf_rrule",relatedTo:"http://www.w3.org/2002/12/cal/ical#relatedTo",url:"http://www.w3.org/2002/12/cal/ical#url",uid:"http://www.w3.org/2002/12/cal/ical#uid",exdate:"http://www.w3.org/2002/12/cal/ical#exdate",exrule:"http://www.w3.org/2002/12/cal/ical#exrule",Value_RECUR:"http://www.w3.org/2002/12/cal/ical#Value_RECUR",rdate:"http://www.w3.org/2002/12/cal/ical#rdate",rrule:"http://www.w3.org/2002/12/cal/ical#rrule",action:"http://www.w3.org/2002/12/cal/ical#action",repeat:"http://www.w3.org/2002/12/cal/ical#repeat",trigger:"http://www.w3.org/2002/12/cal/ical#trigger",created:"http://www.w3.org/2002/12/cal/ical#created",dtstamp:"http://www.w3.org/2002/12/cal/ical#dtstamp",lastModified:"http://www.w3.org/2002/12/cal/ical#lastModified",sequence:"http://www.w3.org/2002/12/cal/ical#sequence",requestStatus:"http://www.w3.org/2002/12/cal/ical#requestStatus"}),Vh=Object.freeze({Address:"http://www.w3.org/2000/10/swap/pim/contact#Address",ContactLocation:"http://www.w3.org/2000/10/swap/pim/contact#ContactLocation",Female:"http://www.w3.org/2000/10/swap/pim/contact#Female",LanguageCode:"http://www.w3.org/2000/10/swap/pim/contact#LanguageCode",Male:"http://www.w3.org/2000/10/swap/pim/contact#Male",Phone:"http://www.w3.org/2000/10/swap/pim/contact#Phone",SocialEntity:"http://www.w3.org/2000/10/swap/pim/contact#SocialEntity",_addressProperty:"http://www.w3.org/2000/10/swap/pim/contact#_addressProperty",address:"http://www.w3.org/2000/10/swap/pim/contact#address",assistant:"http://www.w3.org/2000/10/swap/pim/contact#assistant",birthday:"http://www.w3.org/2000/10/swap/pim/contact#birthday",child:"http://www.w3.org/2000/10/swap/pim/contact#child",description:"http://www.w3.org/2000/10/swap/pim/contact#description",emergency:"http://www.w3.org/2000/10/swap/pim/contact#emergency",fax:"http://www.w3.org/2000/10/swap/pim/contact#fax",fullName:"http://www.w3.org/2000/10/swap/pim/contact#fullName",home:"http://www.w3.org/2000/10/swap/pim/contact#home",knownAs:"http://www.w3.org/2000/10/swap/pim/contact#knownAs",mobile:"http://www.w3.org/2000/10/swap/pim/contact#mobile",motherTongue:"http://www.w3.org/2000/10/swap/pim/contact#motherTongue",nearestAirport:"http://www.w3.org/2000/10/swap/pim/contact#nearestAirport",office:"http://www.w3.org/2000/10/swap/pim/contact#office",participant:"http://www.w3.org/2000/10/swap/pim/contact#participant",partner:"http://www.w3.org/2000/10/swap/pim/contact#partner",phone:"http://www.w3.org/2000/10/swap/pim/contact#phone",preferredURI:"http://www.w3.org/2000/10/swap/pim/contact#preferredURI",region:"http://www.w3.org/2000/10/swap/pim/contact#region",sortName:"http://www.w3.org/2000/10/swap/pim/contact#sortName",vacationHome:"http://www.w3.org/2000/10/swap/pim/contact#vacationHome",webPage:"http://www.w3.org/2000/10/swap/pim/contact#webPage"}),qh=Object.freeze({contributor:"http://purl.org/dc/elements/1.1/contributor",coverage:"http://purl.org/dc/elements/1.1/coverage",creator:"http://purl.org/dc/elements/1.1/creator",date:"http://purl.org/dc/elements/1.1/date",description:"http://purl.org/dc/elements/1.1/description",format:"http://purl.org/dc/elements/1.1/format",identifier:"http://purl.org/dc/elements/1.1/identifier",language:"http://purl.org/dc/elements/1.1/language",publisher:"http://purl.org/dc/elements/1.1/publisher",relation:"http://purl.org/dc/elements/1.1/relation",rights:"http://purl.org/dc/elements/1.1/rights",source:"http://purl.org/dc/elements/1.1/source",subject:"http://purl.org/dc/elements/1.1/subject",title:"http://purl.org/dc/elements/1.1/title",type:"http://purl.org/dc/elements/1.1/type"}),Gh=Object.freeze({AgentClass:"http://purl.org/dc/terms/AgentClass",BibliographicResource:"http://purl.org/dc/terms/BibliographicResource",Box:"http://purl.org/dc/terms/Box",FileFormat:"http://purl.org/dc/terms/FileFormat",Frequency:"http://purl.org/dc/terms/Frequency",ISO3166:"http://purl.org/dc/terms/ISO3166",Jurisdiction:"http://purl.org/dc/terms/Jurisdiction",LicenseDocument:"http://purl.org/dc/terms/LicenseDocument",LinguisticSystem:"http://purl.org/dc/terms/LinguisticSystem",Location:"http://purl.org/dc/terms/Location",LocationPeriodOrJurisdiction:"http://purl.org/dc/terms/LocationPeriodOrJurisdiction",MediaType:"http://purl.org/dc/terms/MediaType",MediaTypeOrExtent:"http://purl.org/dc/terms/MediaTypeOrExtent",MethodOfAccrual:"http://purl.org/dc/terms/MethodOfAccrual",MethodOfInstruction:"http://purl.org/dc/terms/MethodOfInstruction",Period:"http://purl.org/dc/terms/Period",PeriodOfTime:"http://purl.org/dc/terms/PeriodOfTime",PhysicalMedium:"http://purl.org/dc/terms/PhysicalMedium",PhysicalResource:"http://purl.org/dc/terms/PhysicalResource",Point:"http://purl.org/dc/terms/Point",Policy:"http://purl.org/dc/terms/Policy",ProvenanceStatement:"http://purl.org/dc/terms/ProvenanceStatement",RFC1766:"http://purl.org/dc/terms/RFC1766",RFC3066:"http://purl.org/dc/terms/RFC3066",RFC4646:"http://purl.org/dc/terms/RFC4646",RFC5646:"http://purl.org/dc/terms/RFC5646",RightsStatement:"http://purl.org/dc/terms/RightsStatement",SizeOrDuration:"http://purl.org/dc/terms/SizeOrDuration",Standard:"http://purl.org/dc/terms/Standard",URI:"http://purl.org/dc/terms/URI",W3CDTF:"http://purl.org/dc/terms/W3CDTF",abstract:"http://purl.org/dc/terms/abstract",accessRights:"http://purl.org/dc/terms/accessRights",accrualMethod:"http://purl.org/dc/terms/accrualMethod",accrualPeriodicity:"http://purl.org/dc/terms/accrualPeriodicity",accrualPolicy:"http://purl.org/dc/terms/accrualPolicy",alternative:"http://purl.org/dc/terms/alternative",audience:"http://purl.org/dc/terms/audience",available:"http://purl.org/dc/terms/available",bibliographicCitation:"http://purl.org/dc/terms/bibliographicCitation",conformsTo:"http://purl.org/dc/terms/conformsTo",contributor:"http://purl.org/dc/terms/contributor",coverage:"http://purl.org/dc/terms/coverage",created:"http://purl.org/dc/terms/created",creator:"http://purl.org/dc/terms/creator",date:"http://purl.org/dc/terms/date",dateAccepted:"http://purl.org/dc/terms/dateAccepted",dateCopyrighted:"http://purl.org/dc/terms/dateCopyrighted",dateSubmitted:"http://purl.org/dc/terms/dateSubmitted",description:"http://purl.org/dc/terms/description",educationLevel:"http://purl.org/dc/terms/educationLevel",extent:"http://purl.org/dc/terms/extent",format:"http://purl.org/dc/terms/format",hasFormat:"http://purl.org/dc/terms/hasFormat",hasPart:"http://purl.org/dc/terms/hasPart",hasVersion:"http://purl.org/dc/terms/hasVersion",identifier:"http://purl.org/dc/terms/identifier",instructionalMethod:"http://purl.org/dc/terms/instructionalMethod",isFormatOf:"http://purl.org/dc/terms/isFormatOf",isPartOf:"http://purl.org/dc/terms/isPartOf",isReferencedBy:"http://purl.org/dc/terms/isReferencedBy",isReplacedBy:"http://purl.org/dc/terms/isReplacedBy",isRequiredBy:"http://purl.org/dc/terms/isRequiredBy",isVersionOf:"http://purl.org/dc/terms/isVersionOf",issued:"http://purl.org/dc/terms/issued",language:"http://purl.org/dc/terms/language",license:"http://purl.org/dc/terms/license",mediator:"http://purl.org/dc/terms/mediator",medium:"http://purl.org/dc/terms/medium",modified:"http://purl.org/dc/terms/modified",provenance:"http://purl.org/dc/terms/provenance",publisher:"http://purl.org/dc/terms/publisher",references:"http://purl.org/dc/terms/references",relation:"http://purl.org/dc/terms/relation",replaces:"http://purl.org/dc/terms/replaces",requires:"http://purl.org/dc/terms/requires",rights:"http://purl.org/dc/terms/rights",rightsHolder:"http://purl.org/dc/terms/rightsHolder",source:"http://purl.org/dc/terms/source",spatial:"http://purl.org/dc/terms/spatial",subject:"http://purl.org/dc/terms/subject",tableOfContents:"http://purl.org/dc/terms/tableOfContents",temporal:"http://purl.org/dc/terms/temporal",title:"http://purl.org/dc/terms/title",type:"http://purl.org/dc/terms/type",valid:"http://purl.org/dc/terms/valid"}),Kh=Object.freeze({Person:"http://xmlns.com/foaf/0.1/Person",Document:"http://xmlns.com/foaf/0.1/Document",Organization:"http://xmlns.com/foaf/0.1/Organization",Group:"http://xmlns.com/foaf/0.1/Group",Agent:"http://xmlns.com/foaf/0.1/Agent",Project:"http://xmlns.com/foaf/0.1/Project",Image:"http://xmlns.com/foaf/0.1/Image",PersonalProfileDocument:"http://xmlns.com/foaf/0.1/PersonalProfileDocument",OnlineAccount:"http://xmlns.com/foaf/0.1/OnlineAccount",OnlineGamingAccount:"http://xmlns.com/foaf/0.1/OnlineGamingAccount",OnlineEcommerceAccount:"http://xmlns.com/foaf/0.1/OnlineEcommerceAccount",OnlineChatAccount:"http://xmlns.com/foaf/0.1/OnlineChatAccount",mbox:"http://xmlns.com/foaf/0.1/mbox",mbox_sha1sum:"http://xmlns.com/foaf/0.1/mbox_sha1sum",gender:"http://xmlns.com/foaf/0.1/gender",geekcode:"http://xmlns.com/foaf/0.1/geekcode",dnaChecksum:"http://xmlns.com/foaf/0.1/dnaChecksum",sha1:"http://xmlns.com/foaf/0.1/sha1",based_near:"http://xmlns.com/foaf/0.1/based_near",title:"http://xmlns.com/foaf/0.1/title",nick:"http://xmlns.com/foaf/0.1/nick",jabberID:"http://xmlns.com/foaf/0.1/jabberID",aimChatID:"http://xmlns.com/foaf/0.1/aimChatID",icqChatID:"http://xmlns.com/foaf/0.1/icqChatID",yahooChatID:"http://xmlns.com/foaf/0.1/yahooChatID",msnChatID:"http://xmlns.com/foaf/0.1/msnChatID",name:"http://xmlns.com/foaf/0.1/name",firstName:"http://xmlns.com/foaf/0.1/firstName",givenname:"http://xmlns.com/foaf/0.1/givenname",surname:"http://xmlns.com/foaf/0.1/surname",family_name:"http://xmlns.com/foaf/0.1/family_name",phone:"http://xmlns.com/foaf/0.1/phone",homepage:"http://xmlns.com/foaf/0.1/homepage",weblog:"http://xmlns.com/foaf/0.1/weblog",tipjar:"http://xmlns.com/foaf/0.1/tipjar",plan:"http://xmlns.com/foaf/0.1/plan",made:"http://xmlns.com/foaf/0.1/made",maker:"http://xmlns.com/foaf/0.1/maker",img:"http://xmlns.com/foaf/0.1/img",depiction:"http://xmlns.com/foaf/0.1/depiction",depicts:"http://xmlns.com/foaf/0.1/depicts",thumbnail:"http://xmlns.com/foaf/0.1/thumbnail",myersBriggs:"http://xmlns.com/foaf/0.1/myersBriggs",workplaceHomepage:"http://xmlns.com/foaf/0.1/workplaceHomepage",workInfoHomepage:"http://xmlns.com/foaf/0.1/workInfoHomepage",schoolHomepage:"http://xmlns.com/foaf/0.1/schoolHomepage",knows:"http://xmlns.com/foaf/0.1/knows",interest:"http://xmlns.com/foaf/0.1/interest",topic_interest:"http://xmlns.com/foaf/0.1/topic_interest",publications:"http://xmlns.com/foaf/0.1/publications",currentProject:"http://xmlns.com/foaf/0.1/currentProject",pastProject:"http://xmlns.com/foaf/0.1/pastProject",fundedBy:"http://xmlns.com/foaf/0.1/fundedBy",logo:"http://xmlns.com/foaf/0.1/logo",topic:"http://xmlns.com/foaf/0.1/topic",primaryTopic:"http://xmlns.com/foaf/0.1/primaryTopic",page:"http://xmlns.com/foaf/0.1/page",theme:"http://xmlns.com/foaf/0.1/theme",holdsAccount:"http://xmlns.com/foaf/0.1/holdsAccount",accountServiceHomepage:"http://xmlns.com/foaf/0.1/accountServiceHomepage",accountName:"http://xmlns.com/foaf/0.1/accountName",member:"http://xmlns.com/foaf/0.1/member",membershipClass:"http://xmlns.com/foaf/0.1/membershipClass"}),Jh=Object.freeze({Message:"http://www.w3.org/2007/ont/http#Message",RequestMessage:"http://www.w3.org/2007/ont/http#RequestMessage",ResponseMessage:"http://www.w3.org/2007/ont/http#ResponseMessage",method:"http://www.w3.org/2007/ont/http#method",requestURI:"http://www.w3.org/2007/ont/http#requestURI",version:"http://www.w3.org/2007/ont/http#version",status:"http://www.w3.org/2007/ont/http#status"}),zh=Object.freeze({ApiDocumentation:"http://www.w3.org/ns/hydra/core#ApiDocumentation",BaseUriSource:"http://www.w3.org/ns/hydra/core#BaseUriSource",BasicRepresentation:"http://www.w3.org/ns/hydra/core#BasicRepresentation",Class:"http://www.w3.org/ns/hydra/core#Class",Collection:"http://www.w3.org/ns/hydra/core#Collection",Error__workaround:"http://www.w3.org/ns/hydra/core#Error",ExplicitRepresentation:"http://www.w3.org/ns/hydra/core#ExplicitRepresentation",HeaderSpecification:"http://www.w3.org/ns/hydra/core#HeaderSpecification",IriTemplate:"http://www.w3.org/ns/hydra/core#IriTemplate",IriTemplateMapping:"http://www.w3.org/ns/hydra/core#IriTemplateMapping",Link:"http://www.w3.org/ns/hydra/core#Link",Operation:"http://www.w3.org/ns/hydra/core#Operation",PartialCollectionView:"http://www.w3.org/ns/hydra/core#PartialCollectionView",Resource:"http://www.w3.org/ns/hydra/core#Resource",Rfc6570Template:"http://www.w3.org/ns/hydra/core#Rfc6570Template",Status:"http://www.w3.org/ns/hydra/core#Status",SupportedProperty:"http://www.w3.org/ns/hydra/core#SupportedProperty",TemplatedLink:"http://www.w3.org/ns/hydra/core#TemplatedLink",VariableRepresentation:"http://www.w3.org/ns/hydra/core#VariableRepresentation",apiDocumentation:"http://www.w3.org/ns/hydra/core#apiDocumentation",closedSet:"http://www.w3.org/ns/hydra/core#closedSet",collection:"http://www.w3.org/ns/hydra/core#collection",description:"http://www.w3.org/ns/hydra/core#description",entrypoint:"http://www.w3.org/ns/hydra/core#entrypoint",expects:"http://www.w3.org/ns/hydra/core#expects",expectsHeader:"http://www.w3.org/ns/hydra/core#expectsHeader",extension:"http://www.w3.org/ns/hydra/core#extension",first:"http://www.w3.org/ns/hydra/core#first",freetextQuery:"http://www.w3.org/ns/hydra/core#freetextQuery",headerName:"http://www.w3.org/ns/hydra/core#headerName",last:"http://www.w3.org/ns/hydra/core#last",limit:"http://www.w3.org/ns/hydra/core#limit",mapping:"http://www.w3.org/ns/hydra/core#mapping",member:"http://www.w3.org/ns/hydra/core#member",method:"http://www.w3.org/ns/hydra/core#method",next:"http://www.w3.org/ns/hydra/core#next",offset:"http://www.w3.org/ns/hydra/core#offset",operation:"http://www.w3.org/ns/hydra/core#operation",pageIndex:"http://www.w3.org/ns/hydra/core#pageIndex",pageReference:"http://www.w3.org/ns/hydra/core#pageReference",possibleStatus:"http://www.w3.org/ns/hydra/core#possibleStatus",possibleValue:"http://www.w3.org/ns/hydra/core#possibleValue",previous:"http://www.w3.org/ns/hydra/core#previous",property:"http://www.w3.org/ns/hydra/core#property",readable:"http://www.w3.org/ns/hydra/core#readable",required:"http://www.w3.org/ns/hydra/core#required",resolveRelativeUsing:"http://www.w3.org/ns/hydra/core#resolveRelativeUsing",returns:"http://www.w3.org/ns/hydra/core#returns",returnsHeader:"http://www.w3.org/ns/hydra/core#returnsHeader",search:"http://www.w3.org/ns/hydra/core#search",statusCode:"http://www.w3.org/ns/hydra/core#statusCode",supportedClass:"http://www.w3.org/ns/hydra/core#supportedClass",supportedOperation:"http://www.w3.org/ns/hydra/core#supportedOperation",supportedProperty:"http://www.w3.org/ns/hydra/core#supportedProperty",template:"http://www.w3.org/ns/hydra/core#template",title:"http://www.w3.org/ns/hydra/core#title",totalItems:"http://www.w3.org/ns/hydra/core#totalItems",variable:"http://www.w3.org/ns/hydra/core#variable",variableRepresentation:"http://www.w3.org/ns/hydra/core#variableRepresentation",view:"http://www.w3.org/ns/hydra/core#view",writable:"http://www.w3.org/ns/hydra/core#writable"}),$h=Object.freeze({Resource:"http://www.w3.org/ns/ldp#Resource",RDFSource:"http://www.w3.org/ns/ldp#RDFSource",NonRDFSource:"http://www.w3.org/ns/ldp#NonRDFSource",Container:"http://www.w3.org/ns/ldp#Container",BasicContainer:"http://www.w3.org/ns/ldp#BasicContainer",DirectContainer:"http://www.w3.org/ns/ldp#DirectContainer",IndirectContainer:"http://www.w3.org/ns/ldp#IndirectContainer",hasMemberRelation:"http://www.w3.org/ns/ldp#hasMemberRelation",isMemberOfRelation:"http://www.w3.org/ns/ldp#isMemberOfRelation",membershipResource:"http://www.w3.org/ns/ldp#membershipResource",insertedContentRelation:"http://www.w3.org/ns/ldp#insertedContentRelation",member:"http://www.w3.org/ns/ldp#member",contains:"http://www.w3.org/ns/ldp#contains",constrainedBy:"http://www.w3.org/ns/ldp#constrainedBy",pageSortCriteria:"http://www.w3.org/ns/ldp#pageSortCriteria",PageSortCriterion:"http://www.w3.org/ns/ldp#PageSortCriterion",pageSortPredicate:"http://www.w3.org/ns/ldp#pageSortPredicate",pageSortOrder:"http://www.w3.org/ns/ldp#pageSortOrder",pageSortCollation:"http://www.w3.org/ns/ldp#pageSortCollation",Page:"http://www.w3.org/ns/ldp#Page",pageSequence:"http://www.w3.org/ns/ldp#pageSequence",inbox:"http://www.w3.org/ns/ldp#inbox"}),Xh=Object.freeze({Access:"http://www.w3.org/2007/ont/link#Access",Document:"http://www.w3.org/2007/ont/link#Document",Mailbox:"http://www.w3.org/2007/ont/link#Mailbox",ProtocolEvent:"http://www.w3.org/2007/ont/link#ProtocolEvent",RDFDocument:"http://www.w3.org/2007/ont/link#RDFDocument",Response:"http://www.w3.org/2007/ont/link#Response",Session:"http://www.w3.org/2007/ont/link#Session",isMentionedIn:"http://www.w3.org/2007/ont/link#isMentionedIn",mentionsClass:"http://www.w3.org/2007/ont/link#mentionsClass",protocol:"http://www.w3.org/2007/ont/link#protocol",redirectedRequest:"http://www.w3.org/2007/ont/link#redirectedRequest",requestedBy:"http://www.w3.org/2007/ont/link#requestedBy",requestedURI:"http://www.w3.org/2007/ont/link#requestedURI",response:"http://www.w3.org/2007/ont/link#response",session:"http://www.w3.org/2007/ont/link#session",source:"http://www.w3.org/2007/ont/link#source",status:"http://www.w3.org/2007/ont/link#status",testDataset:"http://www.w3.org/2007/ont/link#testDataset",uri:"http://www.w3.org/2007/ont/link#uri"}),Qh=Object.freeze({Chaff:"http://www.w3.org/2000/10/swap/log#Chaff",Formula:"http://www.w3.org/2000/10/swap/log#Formula",List:"http://www.w3.org/2000/10/swap/log#List",N3Document:"http://www.w3.org/2000/10/swap/log#N3Document",Other:"http://www.w3.org/2000/10/swap/log#Other",String__workaround:"http://www.w3.org/2000/10/swap/log#String",Truth:"http://www.w3.org/2000/10/swap/log#Truth",conclusion:"http://www.w3.org/2000/10/swap/log#conclusion",conjunction:"http://www.w3.org/2000/10/swap/log#conjunction",content:"http://www.w3.org/2000/10/swap/log#content",definitiveDocument:"http://www.w3.org/2000/10/swap/log#definitiveDocument",definitiveService:"http://www.w3.org/2000/10/swap/log#definitiveService",dtlit:"http://www.w3.org/2000/10/swap/log#dtlit",equalTo:"http://www.w3.org/2000/10/swap/log#equalTo",implies:"http://www.w3.org/2000/10/swap/log#implies",includes:"http://www.w3.org/2000/10/swap/log#includes",n3String:"http://www.w3.org/2000/10/swap/log#n3String",notEqualTo:"http://www.w3.org/2000/10/swap/log#notEqualTo",notIncludes:"http://www.w3.org/2000/10/swap/log#notIncludes",outputString:"http://www.w3.org/2000/10/swap/log#outputString",parsedAsN3:"http://www.w3.org/2000/10/swap/log#parsedAsN3",racine:"http://www.w3.org/2000/10/swap/log#racine",rawType:"http://www.w3.org/2000/10/swap/log#rawType",rawUri:"http://www.w3.org/2000/10/swap/log#rawUri",semantics:"http://www.w3.org/2000/10/swap/log#semantics",semanticsOrError:"http://www.w3.org/2000/10/swap/log#semanticsOrError",uri:"http://www.w3.org/2000/10/swap/log#uri"}),Yh=Object.freeze({Meeting:"http://www.w3.org/ns/pim/meeting#Meeting",VideoCallPage:"http://www.w3.org/ns/pim/meeting#VideoCallPage",actionItems:"http://www.w3.org/ns/pim/meeting#actionItems",agenda:"http://www.w3.org/ns/pim/meeting#agenda",attendeeGroup:"http://www.w3.org/ns/pim/meeting#attendeeGroup",chat:"http://www.w3.org/ns/pim/meeting#chat",nextMeeting:"http://www.w3.org/ns/pim/meeting#nextMeeting",previousMeeting:"http://www.w3.org/ns/pim/meeting#previousMeeting",sharedNotes:"http://www.w3.org/ns/pim/meeting#sharedNotes",toolList:"http://www.w3.org/ns/pim/meeting#toolList",trip:"http://www.w3.org/ns/pim/meeting#trip",videoCallPage:"http://www.w3.org/ns/pim/meeting#videoCallPage"}),Zh=Object.freeze({AllDifferent:"http://www.w3.org/2002/07/owl#AllDifferent",AllDisjointClasses:"http://www.w3.org/2002/07/owl#AllDisjointClasses",AllDisjointProperties:"http://www.w3.org/2002/07/owl#AllDisjointProperties",Annotation:"http://www.w3.org/2002/07/owl#Annotation",AnnotationProperty:"http://www.w3.org/2002/07/owl#AnnotationProperty",AsymmetricProperty:"http://www.w3.org/2002/07/owl#AsymmetricProperty",Axiom:"http://www.w3.org/2002/07/owl#Axiom",Class:"http://www.w3.org/2002/07/owl#Class",DataRange:"http://www.w3.org/2002/07/owl#DataRange",DatatypeProperty:"http://www.w3.org/2002/07/owl#DatatypeProperty",DeprecatedClass:"http://www.w3.org/2002/07/owl#DeprecatedClass",DeprecatedProperty:"http://www.w3.org/2002/07/owl#DeprecatedProperty",FunctionalProperty:"http://www.w3.org/2002/07/owl#FunctionalProperty",InverseFunctionalProperty:"http://www.w3.org/2002/07/owl#InverseFunctionalProperty",IrreflexiveProperty:"http://www.w3.org/2002/07/owl#IrreflexiveProperty",NamedIndividual:"http://www.w3.org/2002/07/owl#NamedIndividual",NegativePropertyAssertion:"http://www.w3.org/2002/07/owl#NegativePropertyAssertion",Nothing:"http://www.w3.org/2002/07/owl#Nothing",ObjectProperty:"http://www.w3.org/2002/07/owl#ObjectProperty",Ontology:"http://www.w3.org/2002/07/owl#Ontology",OntologyProperty:"http://www.w3.org/2002/07/owl#OntologyProperty",ReflexiveProperty:"http://www.w3.org/2002/07/owl#ReflexiveProperty",Restriction:"http://www.w3.org/2002/07/owl#Restriction",SymmetricProperty:"http://www.w3.org/2002/07/owl#SymmetricProperty",TransitiveProperty:"http://www.w3.org/2002/07/owl#TransitiveProperty",Thing:"http://www.w3.org/2002/07/owl#Thing",allValuesFrom:"http://www.w3.org/2002/07/owl#allValuesFrom",annotatedProperty:"http://www.w3.org/2002/07/owl#annotatedProperty",annotatedSource:"http://www.w3.org/2002/07/owl#annotatedSource",annotatedTarget:"http://www.w3.org/2002/07/owl#annotatedTarget",assertionProperty:"http://www.w3.org/2002/07/owl#assertionProperty",bottomDataProperty:"http://www.w3.org/2002/07/owl#bottomDataProperty",bottomObjectProperty:"http://www.w3.org/2002/07/owl#bottomObjectProperty",cardinality:"http://www.w3.org/2002/07/owl#cardinality",complementOf:"http://www.w3.org/2002/07/owl#complementOf",datatypeComplementOf:"http://www.w3.org/2002/07/owl#datatypeComplementOf",differentFrom:"http://www.w3.org/2002/07/owl#differentFrom",disjointUnionOf:"http://www.w3.org/2002/07/owl#disjointUnionOf",disjointWith:"http://www.w3.org/2002/07/owl#disjointWith",distinctMembers:"http://www.w3.org/2002/07/owl#distinctMembers",equivalentClass:"http://www.w3.org/2002/07/owl#equivalentClass",equivalentProperty:"http://www.w3.org/2002/07/owl#equivalentProperty",hasKey:"http://www.w3.org/2002/07/owl#hasKey",hasSelf:"http://www.w3.org/2002/07/owl#hasSelf",hasValue:"http://www.w3.org/2002/07/owl#hasValue",intersectionOf:"http://www.w3.org/2002/07/owl#intersectionOf",inverseOf:"http://www.w3.org/2002/07/owl#inverseOf",maxCardinality:"http://www.w3.org/2002/07/owl#maxCardinality",maxQualifiedCardinality:"http://www.w3.org/2002/07/owl#maxQualifiedCardinality",members:"http://www.w3.org/2002/07/owl#members",minCardinality:"http://www.w3.org/2002/07/owl#minCardinality",minQualifiedCardinality:"http://www.w3.org/2002/07/owl#minQualifiedCardinality",onClass:"http://www.w3.org/2002/07/owl#onClass",onDataRange:"http://www.w3.org/2002/07/owl#onDataRange",onDatatype:"http://www.w3.org/2002/07/owl#onDatatype",oneOf:"http://www.w3.org/2002/07/owl#oneOf",onProperties:"http://www.w3.org/2002/07/owl#onProperties",onProperty:"http://www.w3.org/2002/07/owl#onProperty",propertyChainAxiom:"http://www.w3.org/2002/07/owl#propertyChainAxiom",propertyDisjointWith:"http://www.w3.org/2002/07/owl#propertyDisjointWith",qualifiedCardinality:"http://www.w3.org/2002/07/owl#qualifiedCardinality",sameAs:"http://www.w3.org/2002/07/owl#sameAs",someValuesFrom:"http://www.w3.org/2002/07/owl#someValuesFrom",sourceIndividual:"http://www.w3.org/2002/07/owl#sourceIndividual",targetIndividual:"http://www.w3.org/2002/07/owl#targetIndividual",targetValue:"http://www.w3.org/2002/07/owl#targetValue",topDataProperty:"http://www.w3.org/2002/07/owl#topDataProperty",topObjectProperty:"http://www.w3.org/2002/07/owl#topObjectProperty",unionOf:"http://www.w3.org/2002/07/owl#unionOf",withRestrictions:"http://www.w3.org/2002/07/owl#withRestrictions"}),tc=Object.freeze({Account:"http://www.w3.org/2000/10/swap/pim/qif#Account",Bank:"http://www.w3.org/2000/10/swap/pim/qif#Bank",Cat:"http://www.w3.org/2000/10/swap/pim/qif#Cat",Classified:"http://www.w3.org/2000/10/swap/pim/qif#Classified",Receipt:"http://www.w3.org/2000/10/swap/pim/qif#Receipt",SplitTransaction:"http://www.w3.org/2000/10/swap/pim/qif#SplitTransaction",SupportingDocument:"http://www.w3.org/2000/10/swap/pim/qif#SupportingDocument",Transaction:"http://www.w3.org/2000/10/swap/pim/qif#Transaction",Unclassified:"http://www.w3.org/2000/10/swap/pim/qif#Unclassified",UnclassifiedIncome:"http://www.w3.org/2000/10/swap/pim/qif#UnclassifiedIncome",UnclassifiedOutgoing:"http://www.w3.org/2000/10/swap/pim/qif#UnclassifiedOutgoing",accordingTo:"http://www.w3.org/2000/10/swap/pim/qif#accordingTo",amount:"http://www.w3.org/2000/10/swap/pim/qif#amount",category:"http://www.w3.org/2000/10/swap/pim/qif#category",date:"http://www.w3.org/2000/10/swap/pim/qif#date",payee:"http://www.w3.org/2000/10/swap/pim/qif#payee",splitPart:"http://www.w3.org/2000/10/swap/pim/qif#splitPart",splitReverse:"http://www.w3.org/2000/10/swap/pim/qif#splitReverse",toAccount:"http://www.w3.org/2000/10/swap/pim/qif#toAccount"}),ec=Object.freeze({TaxiTransaction:"http://www.w3.org/ns/pim/trip#TaxiTransaction",Trip:"http://www.w3.org/ns/pim/trip#Trip",funder:"http://www.w3.org/ns/pim/trip#funder",location:"http://www.w3.org/ns/pim/trip#location",part:"http://www.w3.org/ns/pim/trip#part",travelDate:"http://www.w3.org/ns/pim/trip#travelDate",trip:"http://www.w3.org/ns/pim/trip#trip"}),rc=Object.freeze({HTML:"http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML",langString:"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",PlainLiteral:"http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral",type:"http://www.w3.org/1999/02/22-rdf-syntax-ns#type",Property:"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property",Statement:"http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement",subject:"http://www.w3.org/1999/02/22-rdf-syntax-ns#subject",predicate:"http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate",object:"http://www.w3.org/1999/02/22-rdf-syntax-ns#object",Bag:"http://www.w3.org/1999/02/22-rdf-syntax-ns#Bag",Seq:"http://www.w3.org/1999/02/22-rdf-syntax-ns#Seq",Alt:"http://www.w3.org/1999/02/22-rdf-syntax-ns#Alt",value:"http://www.w3.org/1999/02/22-rdf-syntax-ns#value",List:"http://www.w3.org/1999/02/22-rdf-syntax-ns#List",first:"http://www.w3.org/1999/02/22-rdf-syntax-ns#first",rest:"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",XMLLiteral:"http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral",JSON__workaround:"http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON",CompoundLiteral:"http://www.w3.org/1999/02/22-rdf-syntax-ns#CompoundLiteral",language:"http://www.w3.org/1999/02/22-rdf-syntax-ns#language",direction:"http://www.w3.org/1999/02/22-rdf-syntax-ns#direction"}),ic=Object.freeze({Resource:"http://www.w3.org/2000/01/rdf-schema#Resource",Class:"http://www.w3.org/2000/01/rdf-schema#Class",subClassOf:"http://www.w3.org/2000/01/rdf-schema#subClassOf",subPropertyOf:"http://www.w3.org/2000/01/rdf-schema#subPropertyOf",comment:"http://www.w3.org/2000/01/rdf-schema#comment",label:"http://www.w3.org/2000/01/rdf-schema#label",domain:"http://www.w3.org/2000/01/rdf-schema#domain",range:"http://www.w3.org/2000/01/rdf-schema#range",seeAlso:"http://www.w3.org/2000/01/rdf-schema#seeAlso",isDefinedBy:"http://www.w3.org/2000/01/rdf-schema#isDefinedBy",Literal:"http://www.w3.org/2000/01/rdf-schema#Literal",Container:"http://www.w3.org/2000/01/rdf-schema#Container",ContainerMembershipProperty:"http://www.w3.org/2000/01/rdf-schema#ContainerMembershipProperty",member:"http://www.w3.org/2000/01/rdf-schema#member",Datatype:"http://www.w3.org/2000/01/rdf-schema#Datatype"}),oc=Object.freeze({DegreesOfDifficulty:"http://www.w3.org/ns/pim/schedule#DegreesOfDifficulty",Difficult:"http://www.w3.org/ns/pim/schedule#Difficult",Ideal:"http://www.w3.org/ns/pim/schedule#Ideal",Impossible:"http://www.w3.org/ns/pim/schedule#Impossible",Painful:"http://www.w3.org/ns/pim/schedule#Painful",Tolerable:"http://www.w3.org/ns/pim/schedule#Tolerable",YesNo:"http://www.w3.org/ns/pim/schedule#YesNo",YesNoMaybe:"http://www.w3.org/ns/pim/schedule#YesNoMaybe",availabilityOptions:"http://www.w3.org/ns/pim/schedule#availabilityOptions",availibility:"http://www.w3.org/ns/pim/schedule#availibility",option:"http://www.w3.org/ns/pim/schedule#option",response:"http://www.w3.org/ns/pim/schedule#response"}),nc=Object.freeze({AMRadioChannel:"http://schema.org/AMRadioChannel",APIReference:"http://schema.org/APIReference",AboutPage:"http://schema.org/AboutPage",AcceptAction:"http://schema.org/AcceptAction",Accommodation:"http://schema.org/Accommodation",AccountingService:"http://schema.org/AccountingService",AchieveAction:"http://schema.org/AchieveAction",Action:"http://schema.org/Action",ActionAccessSpecification:"http://schema.org/ActionAccessSpecification",ActionStatusType:"http://schema.org/ActionStatusType",ActivateAction:"http://schema.org/ActivateAction",AddAction:"http://schema.org/AddAction",AdministrativeArea:"http://schema.org/AdministrativeArea",AdultEntertainment:"http://schema.org/AdultEntertainment",AdultOrientedEnumeration:"http://schema.org/AdultOrientedEnumeration",AdvertiserContentArticle:"http://schema.org/AdvertiserContentArticle",AggregateOffer:"http://schema.org/AggregateOffer",AggregateRating:"http://schema.org/AggregateRating",AgreeAction:"http://schema.org/AgreeAction",Airline:"http://schema.org/Airline",Airport:"http://schema.org/Airport",AlignmentObject:"http://schema.org/AlignmentObject",AllocateAction:"http://schema.org/AllocateAction",AmpStory:"http://schema.org/AmpStory",AmusementPark:"http://schema.org/AmusementPark",AnalysisNewsArticle:"http://schema.org/AnalysisNewsArticle",AnatomicalStructure:"http://schema.org/AnatomicalStructure",AnatomicalSystem:"http://schema.org/AnatomicalSystem",AnimalShelter:"http://schema.org/AnimalShelter",Answer:"http://schema.org/Answer",Apartment:"http://schema.org/Apartment",ApartmentComplex:"http://schema.org/ApartmentComplex",AppendAction:"http://schema.org/AppendAction",ApplyAction:"http://schema.org/ApplyAction",ApprovedIndication:"http://schema.org/ApprovedIndication",Aquarium:"http://schema.org/Aquarium",ArchiveComponent:"http://schema.org/ArchiveComponent",ArchiveOrganization:"http://schema.org/ArchiveOrganization",ArriveAction:"http://schema.org/ArriveAction",ArtGallery:"http://schema.org/ArtGallery",Artery:"http://schema.org/Artery",Article:"http://schema.org/Article",AskAction:"http://schema.org/AskAction",AskPublicNewsArticle:"http://schema.org/AskPublicNewsArticle",AssessAction:"http://schema.org/AssessAction",AssignAction:"http://schema.org/AssignAction",Atlas:"http://schema.org/Atlas",Attorney:"http://schema.org/Attorney",Audience:"http://schema.org/Audience",AudioObject:"http://schema.org/AudioObject",AudioObjectSnapshot:"http://schema.org/AudioObjectSnapshot",Audiobook:"http://schema.org/Audiobook",AuthorizeAction:"http://schema.org/AuthorizeAction",AutoBodyShop:"http://schema.org/AutoBodyShop",AutoDealer:"http://schema.org/AutoDealer",AutoPartsStore:"http://schema.org/AutoPartsStore",AutoRental:"http://schema.org/AutoRental",AutoRepair:"http://schema.org/AutoRepair",AutoWash:"http://schema.org/AutoWash",AutomatedTeller:"http://schema.org/AutomatedTeller",AutomotiveBusiness:"http://schema.org/AutomotiveBusiness",BackgroundNewsArticle:"http://schema.org/BackgroundNewsArticle",Bakery:"http://schema.org/Bakery",BankAccount:"http://schema.org/BankAccount",BankOrCreditUnion:"http://schema.org/BankOrCreditUnion",BarOrPub:"http://schema.org/BarOrPub",Barcode:"http://schema.org/Barcode",Beach:"http://schema.org/Beach",BeautySalon:"http://schema.org/BeautySalon",BedAndBreakfast:"http://schema.org/BedAndBreakfast",BedDetails:"http://schema.org/BedDetails",BedType:"http://schema.org/BedType",BefriendAction:"http://schema.org/BefriendAction",BikeStore:"http://schema.org/BikeStore",BioChemEntity:"http://schema.org/BioChemEntity",Blog:"http://schema.org/Blog",BlogPosting:"http://schema.org/BlogPosting",BloodTest:"http://schema.org/BloodTest",BoardingPolicyType:"http://schema.org/BoardingPolicyType",BoatReservation:"http://schema.org/BoatReservation",BoatTerminal:"http://schema.org/BoatTerminal",BoatTrip:"http://schema.org/BoatTrip",BodyMeasurementTypeEnumeration:"http://schema.org/BodyMeasurementTypeEnumeration",BodyOfWater:"http://schema.org/BodyOfWater",Bone:"http://schema.org/Bone",Book:"http://schema.org/Book",BookFormatType:"http://schema.org/BookFormatType",BookSeries:"http://schema.org/BookSeries",BookStore:"http://schema.org/BookStore",BookmarkAction:"http://schema.org/BookmarkAction",Boolean__workaround:"http://schema.org/Boolean",BorrowAction:"http://schema.org/BorrowAction",BowlingAlley:"http://schema.org/BowlingAlley",BrainStructure:"http://schema.org/BrainStructure",Brand:"http://schema.org/Brand",BreadcrumbList:"http://schema.org/BreadcrumbList",Brewery:"http://schema.org/Brewery",Bridge:"http://schema.org/Bridge",BroadcastChannel:"http://schema.org/BroadcastChannel",BroadcastEvent:"http://schema.org/BroadcastEvent",BroadcastFrequencySpecification:"http://schema.org/BroadcastFrequencySpecification",BroadcastService:"http://schema.org/BroadcastService",BrokerageAccount:"http://schema.org/BrokerageAccount",BuddhistTemple:"http://schema.org/BuddhistTemple",BusOrCoach:"http://schema.org/BusOrCoach",BusReservation:"http://schema.org/BusReservation",BusStation:"http://schema.org/BusStation",BusStop:"http://schema.org/BusStop",BusTrip:"http://schema.org/BusTrip",BusinessAudience:"http://schema.org/BusinessAudience",BusinessEntityType:"http://schema.org/BusinessEntityType",BusinessEvent:"http://schema.org/BusinessEvent",BusinessFunction:"http://schema.org/BusinessFunction",BuyAction:"http://schema.org/BuyAction",CDCPMDRecord:"http://schema.org/CDCPMDRecord",CableOrSatelliteService:"http://schema.org/CableOrSatelliteService",CafeOrCoffeeShop:"http://schema.org/CafeOrCoffeeShop",Campground:"http://schema.org/Campground",CampingPitch:"http://schema.org/CampingPitch",Canal:"http://schema.org/Canal",CancelAction:"http://schema.org/CancelAction",Car:"http://schema.org/Car",CarUsageType:"http://schema.org/CarUsageType",Casino:"http://schema.org/Casino",CategoryCode:"http://schema.org/CategoryCode",CategoryCodeSet:"http://schema.org/CategoryCodeSet",CatholicChurch:"http://schema.org/CatholicChurch",Cemetery:"http://schema.org/Cemetery",Chapter:"http://schema.org/Chapter",CheckAction:"http://schema.org/CheckAction",CheckInAction:"http://schema.org/CheckInAction",CheckOutAction:"http://schema.org/CheckOutAction",CheckoutPage:"http://schema.org/CheckoutPage",ChemicalSubstance:"http://schema.org/ChemicalSubstance",ChildCare:"http://schema.org/ChildCare",ChildrensEvent:"http://schema.org/ChildrensEvent",ChooseAction:"http://schema.org/ChooseAction",Church:"http://schema.org/Church",City:"http://schema.org/City",CityHall:"http://schema.org/CityHall",CivicStructure:"http://schema.org/CivicStructure",Claim:"http://schema.org/Claim",ClaimReview:"http://schema.org/ClaimReview",Class:"http://schema.org/Class",Clip:"http://schema.org/Clip",ClothingStore:"http://schema.org/ClothingStore",Code:"http://schema.org/Code",Collection:"http://schema.org/Collection",CollectionPage:"http://schema.org/CollectionPage",CollegeOrUniversity:"http://schema.org/CollegeOrUniversity",ComedyClub:"http://schema.org/ComedyClub",ComedyEvent:"http://schema.org/ComedyEvent",ComicCoverArt:"http://schema.org/ComicCoverArt",ComicIssue:"http://schema.org/ComicIssue",ComicSeries:"http://schema.org/ComicSeries",ComicStory:"http://schema.org/ComicStory",Comment:"http://schema.org/Comment",CommentAction:"http://schema.org/CommentAction",CommunicateAction:"http://schema.org/CommunicateAction",CompleteDataFeed:"http://schema.org/CompleteDataFeed",CompoundPriceSpecification:"http://schema.org/CompoundPriceSpecification",ComputerLanguage:"http://schema.org/ComputerLanguage",ComputerStore:"http://schema.org/ComputerStore",ConfirmAction:"http://schema.org/ConfirmAction",Consortium:"http://schema.org/Consortium",ConsumeAction:"http://schema.org/ConsumeAction",ContactPage:"http://schema.org/ContactPage",ContactPoint:"http://schema.org/ContactPoint",ContactPointOption:"http://schema.org/ContactPointOption",Continent:"http://schema.org/Continent",ControlAction:"http://schema.org/ControlAction",ConvenienceStore:"http://schema.org/ConvenienceStore",Conversation:"http://schema.org/Conversation",CookAction:"http://schema.org/CookAction",Corporation:"http://schema.org/Corporation",CorrectionComment:"http://schema.org/CorrectionComment",Country:"http://schema.org/Country",Course:"http://schema.org/Course",CourseInstance:"http://schema.org/CourseInstance",Courthouse:"http://schema.org/Courthouse",CoverArt:"http://schema.org/CoverArt",CovidTestingFacility:"http://schema.org/CovidTestingFacility",CreateAction:"http://schema.org/CreateAction",CreativeWork:"http://schema.org/CreativeWork",CreativeWorkSeason:"http://schema.org/CreativeWorkSeason",CreativeWorkSeries:"http://schema.org/CreativeWorkSeries",CreditCard:"http://schema.org/CreditCard",Crematorium:"http://schema.org/Crematorium",CriticReview:"http://schema.org/CriticReview",CssSelectorType:"http://schema.org/CssSelectorType",CurrencyConversionService:"http://schema.org/CurrencyConversionService",DDxElement:"http://schema.org/DDxElement",DanceEvent:"http://schema.org/DanceEvent",DanceGroup:"http://schema.org/DanceGroup",DataCatalog:"http://schema.org/DataCatalog",DataDownload:"http://schema.org/DataDownload",DataFeed:"http://schema.org/DataFeed",DataFeedItem:"http://schema.org/DataFeedItem",DataType:"http://schema.org/DataType",Dataset:"http://schema.org/Dataset",Date__workaround:"http://schema.org/Date",DateTime:"http://schema.org/DateTime",DatedMoneySpecification:"http://schema.org/DatedMoneySpecification",DayOfWeek:"http://schema.org/DayOfWeek",DaySpa:"http://schema.org/DaySpa",DeactivateAction:"http://schema.org/DeactivateAction",DefenceEstablishment:"http://schema.org/DefenceEstablishment",DefinedRegion:"http://schema.org/DefinedRegion",DefinedTerm:"http://schema.org/DefinedTerm",DefinedTermSet:"http://schema.org/DefinedTermSet",DeleteAction:"http://schema.org/DeleteAction",DeliveryChargeSpecification:"http://schema.org/DeliveryChargeSpecification",DeliveryEvent:"http://schema.org/DeliveryEvent",DeliveryMethod:"http://schema.org/DeliveryMethod",DeliveryTimeSettings:"http://schema.org/DeliveryTimeSettings",Demand:"http://schema.org/Demand",Dentist:"http://schema.org/Dentist",DepartAction:"http://schema.org/DepartAction",DepartmentStore:"http://schema.org/DepartmentStore",DepositAccount:"http://schema.org/DepositAccount",DiagnosticLab:"http://schema.org/DiagnosticLab",DiagnosticProcedure:"http://schema.org/DiagnosticProcedure",Diet:"http://schema.org/Diet",DietarySupplement:"http://schema.org/DietarySupplement",DigitalDocument:"http://schema.org/DigitalDocument",DigitalDocumentPermission:"http://schema.org/DigitalDocumentPermission",DigitalDocumentPermissionType:"http://schema.org/DigitalDocumentPermissionType",DigitalPlatformEnumeration:"http://schema.org/DigitalPlatformEnumeration",DisagreeAction:"http://schema.org/DisagreeAction",DiscoverAction:"http://schema.org/DiscoverAction",DiscussionForumPosting:"http://schema.org/DiscussionForumPosting",DislikeAction:"http://schema.org/DislikeAction",Distance:"http://schema.org/Distance",Distillery:"http://schema.org/Distillery",DonateAction:"http://schema.org/DonateAction",DoseSchedule:"http://schema.org/DoseSchedule",DownloadAction:"http://schema.org/DownloadAction",DrawAction:"http://schema.org/DrawAction",Drawing:"http://schema.org/Drawing",DrinkAction:"http://schema.org/DrinkAction",DriveWheelConfigurationValue:"http://schema.org/DriveWheelConfigurationValue",Drug:"http://schema.org/Drug",DrugClass:"http://schema.org/DrugClass",DrugCost:"http://schema.org/DrugCost",DrugCostCategory:"http://schema.org/DrugCostCategory",DrugLegalStatus:"http://schema.org/DrugLegalStatus",DrugPregnancyCategory:"http://schema.org/DrugPregnancyCategory",DrugPrescriptionStatus:"http://schema.org/DrugPrescriptionStatus",DrugStrength:"http://schema.org/DrugStrength",DryCleaningOrLaundry:"http://schema.org/DryCleaningOrLaundry",Duration:"http://schema.org/Duration",EUEnergyEfficiencyEnumeration:"http://schema.org/EUEnergyEfficiencyEnumeration",EatAction:"http://schema.org/EatAction",EducationEvent:"http://schema.org/EducationEvent",EducationalAudience:"http://schema.org/EducationalAudience",EducationalOccupationalCredential:"http://schema.org/EducationalOccupationalCredential",EducationalOccupationalProgram:"http://schema.org/EducationalOccupationalProgram",EducationalOrganization:"http://schema.org/EducationalOrganization",Electrician:"http://schema.org/Electrician",ElectronicsStore:"http://schema.org/ElectronicsStore",ElementarySchool:"http://schema.org/ElementarySchool",EmailMessage:"http://schema.org/EmailMessage",Embassy:"http://schema.org/Embassy",EmergencyService:"http://schema.org/EmergencyService",EmployeeRole:"http://schema.org/EmployeeRole",EmployerAggregateRating:"http://schema.org/EmployerAggregateRating",EmployerReview:"http://schema.org/EmployerReview",EmploymentAgency:"http://schema.org/EmploymentAgency",EndorseAction:"http://schema.org/EndorseAction",EndorsementRating:"http://schema.org/EndorsementRating",Energy:"http://schema.org/Energy",EnergyConsumptionDetails:"http://schema.org/EnergyConsumptionDetails",EnergyEfficiencyEnumeration:"http://schema.org/EnergyEfficiencyEnumeration",EnergyStarEnergyEfficiencyEnumeration:"http://schema.org/EnergyStarEnergyEfficiencyEnumeration",EngineSpecification:"http://schema.org/EngineSpecification",EntertainmentBusiness:"http://schema.org/EntertainmentBusiness",EntryPoint:"http://schema.org/EntryPoint",Enumeration:"http://schema.org/Enumeration",Episode:"http://schema.org/Episode",Event:"http://schema.org/Event",EventAttendanceModeEnumeration:"http://schema.org/EventAttendanceModeEnumeration",EventReservation:"http://schema.org/EventReservation",EventSeries:"http://schema.org/EventSeries",EventStatusType:"http://schema.org/EventStatusType",EventVenue:"http://schema.org/EventVenue",ExchangeRateSpecification:"http://schema.org/ExchangeRateSpecification",ExerciseAction:"http://schema.org/ExerciseAction",ExerciseGym:"http://schema.org/ExerciseGym",ExercisePlan:"http://schema.org/ExercisePlan",ExhibitionEvent:"http://schema.org/ExhibitionEvent",FAQPage:"http://schema.org/FAQPage",FMRadioChannel:"http://schema.org/FMRadioChannel",FastFoodRestaurant:"http://schema.org/FastFoodRestaurant",Festival:"http://schema.org/Festival",FilmAction:"http://schema.org/FilmAction",FinancialProduct:"http://schema.org/FinancialProduct",FinancialService:"http://schema.org/FinancialService",FindAction:"http://schema.org/FindAction",FireStation:"http://schema.org/FireStation",Flight:"http://schema.org/Flight",FlightReservation:"http://schema.org/FlightReservation",Float:"http://schema.org/Float",FloorPlan:"http://schema.org/FloorPlan",Florist:"http://schema.org/Florist",FollowAction:"http://schema.org/FollowAction",FoodEstablishment:"http://schema.org/FoodEstablishment",FoodEstablishmentReservation:"http://schema.org/FoodEstablishmentReservation",FoodEvent:"http://schema.org/FoodEvent",FoodService:"http://schema.org/FoodService",FundingAgency:"http://schema.org/FundingAgency",FundingScheme:"http://schema.org/FundingScheme",FurnitureStore:"http://schema.org/FurnitureStore",Game:"http://schema.org/Game",GameAvailabilityEnumeration:"http://schema.org/GameAvailabilityEnumeration",GamePlayMode:"http://schema.org/GamePlayMode",GameServer:"http://schema.org/GameServer",GameServerStatus:"http://schema.org/GameServerStatus",GardenStore:"http://schema.org/GardenStore",GasStation:"http://schema.org/GasStation",GatedResidenceCommunity:"http://schema.org/GatedResidenceCommunity",GenderType:"http://schema.org/GenderType",Gene:"http://schema.org/Gene",GeneralContractor:"http://schema.org/GeneralContractor",GeoCircle:"http://schema.org/GeoCircle",GeoCoordinates:"http://schema.org/GeoCoordinates",GeoShape:"http://schema.org/GeoShape",GeospatialGeometry:"http://schema.org/GeospatialGeometry",GiveAction:"http://schema.org/GiveAction",GolfCourse:"http://schema.org/GolfCourse",GovernmentBenefitsType:"http://schema.org/GovernmentBenefitsType",GovernmentBuilding:"http://schema.org/GovernmentBuilding",GovernmentOffice:"http://schema.org/GovernmentOffice",GovernmentOrganization:"http://schema.org/GovernmentOrganization",GovernmentPermit:"http://schema.org/GovernmentPermit",GovernmentService:"http://schema.org/GovernmentService",Grant:"http://schema.org/Grant",GroceryStore:"http://schema.org/GroceryStore",Guide:"http://schema.org/Guide",HVACBusiness:"http://schema.org/HVACBusiness",Hackathon:"http://schema.org/Hackathon",HairSalon:"http://schema.org/HairSalon",HardwareStore:"http://schema.org/HardwareStore",HealthAndBeautyBusiness:"http://schema.org/HealthAndBeautyBusiness",HealthAspectEnumeration:"http://schema.org/HealthAspectEnumeration",HealthClub:"http://schema.org/HealthClub",HealthInsurancePlan:"http://schema.org/HealthInsurancePlan",HealthPlanCostSharingSpecification:"http://schema.org/HealthPlanCostSharingSpecification",HealthPlanFormulary:"http://schema.org/HealthPlanFormulary",HealthPlanNetwork:"http://schema.org/HealthPlanNetwork",HealthTopicContent:"http://schema.org/HealthTopicContent",HighSchool:"http://schema.org/HighSchool",HinduTemple:"http://schema.org/HinduTemple",HobbyShop:"http://schema.org/HobbyShop",HomeAndConstructionBusiness:"http://schema.org/HomeAndConstructionBusiness",HomeGoodsStore:"http://schema.org/HomeGoodsStore",Hospital:"http://schema.org/Hospital",Hostel:"http://schema.org/Hostel",Hotel:"http://schema.org/Hotel",HotelRoom:"http://schema.org/HotelRoom",House:"http://schema.org/House",HousePainter:"http://schema.org/HousePainter",HowTo:"http://schema.org/HowTo",HowToDirection:"http://schema.org/HowToDirection",HowToItem:"http://schema.org/HowToItem",HowToSection:"http://schema.org/HowToSection",HowToStep:"http://schema.org/HowToStep",HowToSupply:"http://schema.org/HowToSupply",HowToTip:"http://schema.org/HowToTip",HowToTool:"http://schema.org/HowToTool",HyperToc:"http://schema.org/HyperToc",HyperTocEntry:"http://schema.org/HyperTocEntry",IceCreamShop:"http://schema.org/IceCreamShop",IgnoreAction:"http://schema.org/IgnoreAction",ImageGallery:"http://schema.org/ImageGallery",ImageObject:"http://schema.org/ImageObject",ImageObjectSnapshot:"http://schema.org/ImageObjectSnapshot",ImagingTest:"http://schema.org/ImagingTest",IndividualProduct:"http://schema.org/IndividualProduct",InfectiousAgentClass:"http://schema.org/InfectiousAgentClass",InfectiousDisease:"http://schema.org/InfectiousDisease",InformAction:"http://schema.org/InformAction",InsertAction:"http://schema.org/InsertAction",InstallAction:"http://schema.org/InstallAction",InsuranceAgency:"http://schema.org/InsuranceAgency",Intangible:"http://schema.org/Intangible",Integer:"http://schema.org/Integer",InteractAction:"http://schema.org/InteractAction",InteractionCounter:"http://schema.org/InteractionCounter",InternetCafe:"http://schema.org/InternetCafe",InvestmentFund:"http://schema.org/InvestmentFund",InvestmentOrDeposit:"http://schema.org/InvestmentOrDeposit",InviteAction:"http://schema.org/InviteAction",Invoice:"http://schema.org/Invoice",ItemAvailability:"http://schema.org/ItemAvailability",ItemList:"http://schema.org/ItemList",ItemListOrderType:"http://schema.org/ItemListOrderType",ItemPage:"http://schema.org/ItemPage",JewelryStore:"http://schema.org/JewelryStore",JobPosting:"http://schema.org/JobPosting",JoinAction:"http://schema.org/JoinAction",Joint:"http://schema.org/Joint",LakeBodyOfWater:"http://schema.org/LakeBodyOfWater",Landform:"http://schema.org/Landform",LandmarksOrHistoricalBuildings:"http://schema.org/LandmarksOrHistoricalBuildings",Language:"http://schema.org/Language",LearningResource:"http://schema.org/LearningResource",LeaveAction:"http://schema.org/LeaveAction",LegalForceStatus:"http://schema.org/LegalForceStatus",LegalService:"http://schema.org/LegalService",LegalValueLevel:"http://schema.org/LegalValueLevel",Legislation:"http://schema.org/Legislation",LegislationObject:"http://schema.org/LegislationObject",LegislativeBuilding:"http://schema.org/LegislativeBuilding",LendAction:"http://schema.org/LendAction",Library:"http://schema.org/Library",LibrarySystem:"http://schema.org/LibrarySystem",LifestyleModification:"http://schema.org/LifestyleModification",Ligament:"http://schema.org/Ligament",LikeAction:"http://schema.org/LikeAction",LinkRole:"http://schema.org/LinkRole",LiquorStore:"http://schema.org/LiquorStore",ListItem:"http://schema.org/ListItem",ListenAction:"http://schema.org/ListenAction",LiteraryEvent:"http://schema.org/LiteraryEvent",LiveBlogPosting:"http://schema.org/LiveBlogPosting",LoanOrCredit:"http://schema.org/LoanOrCredit",LocalBusiness:"http://schema.org/LocalBusiness",LocationFeatureSpecification:"http://schema.org/LocationFeatureSpecification",Locksmith:"http://schema.org/Locksmith",LodgingBusiness:"http://schema.org/LodgingBusiness",LodgingReservation:"http://schema.org/LodgingReservation",LoseAction:"http://schema.org/LoseAction",LymphaticVessel:"http://schema.org/LymphaticVessel",Manuscript:"http://schema.org/Manuscript",Map__workaround:"http://schema.org/Map",MapCategoryType:"http://schema.org/MapCategoryType",MarryAction:"http://schema.org/MarryAction",Mass:"http://schema.org/Mass",MathSolver:"http://schema.org/MathSolver",MaximumDoseSchedule:"http://schema.org/MaximumDoseSchedule",MeasurementTypeEnumeration:"http://schema.org/MeasurementTypeEnumeration",MediaGallery:"http://schema.org/MediaGallery",MediaManipulationRatingEnumeration:"http://schema.org/MediaManipulationRatingEnumeration",MediaObject:"http://schema.org/MediaObject",MediaReview:"http://schema.org/MediaReview",MediaReviewItem:"http://schema.org/MediaReviewItem",MediaSubscription:"http://schema.org/MediaSubscription",MedicalAudience:"http://schema.org/MedicalAudience",MedicalAudienceType:"http://schema.org/MedicalAudienceType",MedicalBusiness:"http://schema.org/MedicalBusiness",MedicalCause:"http://schema.org/MedicalCause",MedicalClinic:"http://schema.org/MedicalClinic",MedicalCode:"http://schema.org/MedicalCode",MedicalCondition:"http://schema.org/MedicalCondition",MedicalConditionStage:"http://schema.org/MedicalConditionStage",MedicalContraindication:"http://schema.org/MedicalContraindication",MedicalDevice:"http://schema.org/MedicalDevice",MedicalDevicePurpose:"http://schema.org/MedicalDevicePurpose",MedicalEntity:"http://schema.org/MedicalEntity",MedicalEnumeration:"http://schema.org/MedicalEnumeration",MedicalEvidenceLevel:"http://schema.org/MedicalEvidenceLevel",MedicalGuideline:"http://schema.org/MedicalGuideline",MedicalGuidelineContraindication:"http://schema.org/MedicalGuidelineContraindication",MedicalGuidelineRecommendation:"http://schema.org/MedicalGuidelineRecommendation",MedicalImagingTechnique:"http://schema.org/MedicalImagingTechnique",MedicalIndication:"http://schema.org/MedicalIndication",MedicalIntangible:"http://schema.org/MedicalIntangible",MedicalObservationalStudy:"http://schema.org/MedicalObservationalStudy",MedicalObservationalStudyDesign:"http://schema.org/MedicalObservationalStudyDesign",MedicalOrganization:"http://schema.org/MedicalOrganization",MedicalProcedure:"http://schema.org/MedicalProcedure",MedicalProcedureType:"http://schema.org/MedicalProcedureType",MedicalRiskCalculator:"http://schema.org/MedicalRiskCalculator",MedicalRiskEstimator:"http://schema.org/MedicalRiskEstimator",MedicalRiskFactor:"http://schema.org/MedicalRiskFactor",MedicalRiskScore:"http://schema.org/MedicalRiskScore",MedicalScholarlyArticle:"http://schema.org/MedicalScholarlyArticle",MedicalSign:"http://schema.org/MedicalSign",MedicalSignOrSymptom:"http://schema.org/MedicalSignOrSymptom",MedicalSpecialty:"http://schema.org/MedicalSpecialty",MedicalStudy:"http://schema.org/MedicalStudy",MedicalStudyStatus:"http://schema.org/MedicalStudyStatus",MedicalSymptom:"http://schema.org/MedicalSymptom",MedicalTest:"http://schema.org/MedicalTest",MedicalTestPanel:"http://schema.org/MedicalTestPanel",MedicalTherapy:"http://schema.org/MedicalTherapy",MedicalTrial:"http://schema.org/MedicalTrial",MedicalTrialDesign:"http://schema.org/MedicalTrialDesign",MedicalWebPage:"http://schema.org/MedicalWebPage",MedicineSystem:"http://schema.org/MedicineSystem",MeetingRoom:"http://schema.org/MeetingRoom",MensClothingStore:"http://schema.org/MensClothingStore",Menu:"http://schema.org/Menu",MenuItem:"http://schema.org/MenuItem",MenuSection:"http://schema.org/MenuSection",MerchantReturnEnumeration:"http://schema.org/MerchantReturnEnumeration",MerchantReturnPolicy:"http://schema.org/MerchantReturnPolicy",MerchantReturnPolicySeasonalOverride:"http://schema.org/MerchantReturnPolicySeasonalOverride",Message:"http://schema.org/Message",MiddleSchool:"http://schema.org/MiddleSchool",MobileApplication:"http://schema.org/MobileApplication",MobilePhoneStore:"http://schema.org/MobilePhoneStore",MolecularEntity:"http://schema.org/MolecularEntity",MonetaryAmount:"http://schema.org/MonetaryAmount",MonetaryAmountDistribution:"http://schema.org/MonetaryAmountDistribution",MonetaryGrant:"http://schema.org/MonetaryGrant",MoneyTransfer:"http://schema.org/MoneyTransfer",MortgageLoan:"http://schema.org/MortgageLoan",Mosque:"http://schema.org/Mosque",Motel:"http://schema.org/Motel",Motorcycle:"http://schema.org/Motorcycle",MotorcycleDealer:"http://schema.org/MotorcycleDealer",MotorcycleRepair:"http://schema.org/MotorcycleRepair",MotorizedBicycle:"http://schema.org/MotorizedBicycle",Mountain:"http://schema.org/Mountain",MoveAction:"http://schema.org/MoveAction",Movie:"http://schema.org/Movie",MovieClip:"http://schema.org/MovieClip",MovieRentalStore:"http://schema.org/MovieRentalStore",MovieSeries:"http://schema.org/MovieSeries",MovieTheater:"http://schema.org/MovieTheater",MovingCompany:"http://schema.org/MovingCompany",Muscle:"http://schema.org/Muscle",Museum:"http://schema.org/Museum",MusicAlbum:"http://schema.org/MusicAlbum",MusicAlbumProductionType:"http://schema.org/MusicAlbumProductionType",MusicAlbumReleaseType:"http://schema.org/MusicAlbumReleaseType",MusicComposition:"http://schema.org/MusicComposition",MusicEvent:"http://schema.org/MusicEvent",MusicGroup:"http://schema.org/MusicGroup",MusicPlaylist:"http://schema.org/MusicPlaylist",MusicRecording:"http://schema.org/MusicRecording",MusicRelease:"http://schema.org/MusicRelease",MusicReleaseFormatType:"http://schema.org/MusicReleaseFormatType",MusicStore:"http://schema.org/MusicStore",MusicVenue:"http://schema.org/MusicVenue",MusicVideoObject:"http://schema.org/MusicVideoObject",NGO:"http://schema.org/NGO",NLNonprofitType:"http://schema.org/NLNonprofitType",NailSalon:"http://schema.org/NailSalon",Nerve:"http://schema.org/Nerve",NewsArticle:"http://schema.org/NewsArticle",NewsMediaOrganization:"http://schema.org/NewsMediaOrganization",Newspaper:"http://schema.org/Newspaper",NightClub:"http://schema.org/NightClub",NonprofitType:"http://schema.org/NonprofitType",Notary:"http://schema.org/Notary",NoteDigitalDocument:"http://schema.org/NoteDigitalDocument",Number__workaround:"http://schema.org/Number",NutritionInformation:"http://schema.org/NutritionInformation",Observation:"http://schema.org/Observation",Occupation:"http://schema.org/Occupation",OccupationalExperienceRequirements:"http://schema.org/OccupationalExperienceRequirements",OccupationalTherapy:"http://schema.org/OccupationalTherapy",OceanBodyOfWater:"http://schema.org/OceanBodyOfWater",Offer:"http://schema.org/Offer",OfferCatalog:"http://schema.org/OfferCatalog",OfferForLease:"http://schema.org/OfferForLease",OfferForPurchase:"http://schema.org/OfferForPurchase",OfferItemCondition:"http://schema.org/OfferItemCondition",OfferShippingDetails:"http://schema.org/OfferShippingDetails",OfficeEquipmentStore:"http://schema.org/OfficeEquipmentStore",OnDemandEvent:"http://schema.org/OnDemandEvent",OnlineBusiness:"http://schema.org/OnlineBusiness",OnlineStore:"http://schema.org/OnlineStore",OpeningHoursSpecification:"http://schema.org/OpeningHoursSpecification",OpinionNewsArticle:"http://schema.org/OpinionNewsArticle",Optician:"http://schema.org/Optician",Order:"http://schema.org/Order",OrderAction:"http://schema.org/OrderAction",OrderItem:"http://schema.org/OrderItem",OrderStatus:"http://schema.org/OrderStatus",Organization:"http://schema.org/Organization",OrganizationRole:"http://schema.org/OrganizationRole",OrganizeAction:"http://schema.org/OrganizeAction",OutletStore:"http://schema.org/OutletStore",OwnershipInfo:"http://schema.org/OwnershipInfo",PaintAction:"http://schema.org/PaintAction",Painting:"http://schema.org/Painting",PalliativeProcedure:"http://schema.org/PalliativeProcedure",ParcelDelivery:"http://schema.org/ParcelDelivery",ParentAudience:"http://schema.org/ParentAudience",Park:"http://schema.org/Park",ParkingFacility:"http://schema.org/ParkingFacility",PathologyTest:"http://schema.org/PathologyTest",Patient:"http://schema.org/Patient",PawnShop:"http://schema.org/PawnShop",PayAction:"http://schema.org/PayAction",PaymentCard:"http://schema.org/PaymentCard",PaymentChargeSpecification:"http://schema.org/PaymentChargeSpecification",PaymentMethod:"http://schema.org/PaymentMethod",PaymentService:"http://schema.org/PaymentService",PaymentStatusType:"http://schema.org/PaymentStatusType",PeopleAudience:"http://schema.org/PeopleAudience",PerformAction:"http://schema.org/PerformAction",PerformanceRole:"http://schema.org/PerformanceRole",PerformingArtsTheater:"http://schema.org/PerformingArtsTheater",PerformingGroup:"http://schema.org/PerformingGroup",Periodical:"http://schema.org/Periodical",Permit:"http://schema.org/Permit",Person:"http://schema.org/Person",PetStore:"http://schema.org/PetStore",Pharmacy:"http://schema.org/Pharmacy",Photograph:"http://schema.org/Photograph",PhotographAction:"http://schema.org/PhotographAction",PhysicalActivity:"http://schema.org/PhysicalActivity",PhysicalActivityCategory:"http://schema.org/PhysicalActivityCategory",PhysicalExam:"http://schema.org/PhysicalExam",PhysicalTherapy:"http://schema.org/PhysicalTherapy",Physician:"http://schema.org/Physician",Place:"http://schema.org/Place",PlaceOfWorship:"http://schema.org/PlaceOfWorship",PlanAction:"http://schema.org/PlanAction",Play:"http://schema.org/Play",PlayAction:"http://schema.org/PlayAction",PlayGameAction:"http://schema.org/PlayGameAction",Playground:"http://schema.org/Playground",Plumber:"http://schema.org/Plumber",PodcastEpisode:"http://schema.org/PodcastEpisode",PodcastSeason:"http://schema.org/PodcastSeason",PodcastSeries:"http://schema.org/PodcastSeries",PoliceStation:"http://schema.org/PoliceStation",Pond:"http://schema.org/Pond",PostOffice:"http://schema.org/PostOffice",PostalAddress:"http://schema.org/PostalAddress",PostalCodeRangeSpecification:"http://schema.org/PostalCodeRangeSpecification",Poster:"http://schema.org/Poster",PreOrderAction:"http://schema.org/PreOrderAction",PrependAction:"http://schema.org/PrependAction",Preschool:"http://schema.org/Preschool",PresentationDigitalDocument:"http://schema.org/PresentationDigitalDocument",PreventionIndication:"http://schema.org/PreventionIndication",PriceComponentTypeEnumeration:"http://schema.org/PriceComponentTypeEnumeration",PriceSpecification:"http://schema.org/PriceSpecification",PriceTypeEnumeration:"http://schema.org/PriceTypeEnumeration",Product:"http://schema.org/Product",ProductCollection:"http://schema.org/ProductCollection",ProductGroup:"http://schema.org/ProductGroup",ProductModel:"http://schema.org/ProductModel",ProductReturnEnumeration:"http://schema.org/ProductReturnEnumeration",ProductReturnPolicy:"http://schema.org/ProductReturnPolicy",ProfessionalService:"http://schema.org/ProfessionalService",ProfilePage:"http://schema.org/ProfilePage",ProgramMembership:"http://schema.org/ProgramMembership",Project:"http://schema.org/Project",PronounceableText:"http://schema.org/PronounceableText",Property:"http://schema.org/Property",PropertyValue:"http://schema.org/PropertyValue",PropertyValueSpecification:"http://schema.org/PropertyValueSpecification",Protein:"http://schema.org/Protein",PsychologicalTreatment:"http://schema.org/PsychologicalTreatment",PublicSwimmingPool:"http://schema.org/PublicSwimmingPool",PublicToilet:"http://schema.org/PublicToilet",PublicationEvent:"http://schema.org/PublicationEvent",PublicationIssue:"http://schema.org/PublicationIssue",PublicationVolume:"http://schema.org/PublicationVolume",QAPage:"http://schema.org/QAPage",QualitativeValue:"http://schema.org/QualitativeValue",QuantitativeValue:"http://schema.org/QuantitativeValue",QuantitativeValueDistribution:"http://schema.org/QuantitativeValueDistribution",Quantity:"http://schema.org/Quantity",Question:"http://schema.org/Question",Quiz:"http://schema.org/Quiz",Quotation:"http://schema.org/Quotation",QuoteAction:"http://schema.org/QuoteAction",RVPark:"http://schema.org/RVPark",RadiationTherapy:"http://schema.org/RadiationTherapy",RadioBroadcastService:"http://schema.org/RadioBroadcastService",RadioChannel:"http://schema.org/RadioChannel",RadioClip:"http://schema.org/RadioClip",RadioEpisode:"http://schema.org/RadioEpisode",RadioSeason:"http://schema.org/RadioSeason",RadioSeries:"http://schema.org/RadioSeries",RadioStation:"http://schema.org/RadioStation",Rating:"http://schema.org/Rating",ReactAction:"http://schema.org/ReactAction",ReadAction:"http://schema.org/ReadAction",RealEstateAgent:"http://schema.org/RealEstateAgent",RealEstateListing:"http://schema.org/RealEstateListing",ReceiveAction:"http://schema.org/ReceiveAction",Recipe:"http://schema.org/Recipe",Recommendation:"http://schema.org/Recommendation",RecommendedDoseSchedule:"http://schema.org/RecommendedDoseSchedule",RecyclingCenter:"http://schema.org/RecyclingCenter",RefundTypeEnumeration:"http://schema.org/RefundTypeEnumeration",RegisterAction:"http://schema.org/RegisterAction",RejectAction:"http://schema.org/RejectAction",RentAction:"http://schema.org/RentAction",RentalCarReservation:"http://schema.org/RentalCarReservation",RepaymentSpecification:"http://schema.org/RepaymentSpecification",ReplaceAction:"http://schema.org/ReplaceAction",ReplyAction:"http://schema.org/ReplyAction",Report:"http://schema.org/Report",ReportageNewsArticle:"http://schema.org/ReportageNewsArticle",ReportedDoseSchedule:"http://schema.org/ReportedDoseSchedule",ResearchOrganization:"http://schema.org/ResearchOrganization",ResearchProject:"http://schema.org/ResearchProject",Researcher:"http://schema.org/Researcher",Reservation:"http://schema.org/Reservation",ReservationPackage:"http://schema.org/ReservationPackage",ReservationStatusType:"http://schema.org/ReservationStatusType",ReserveAction:"http://schema.org/ReserveAction",Reservoir:"http://schema.org/Reservoir",Residence:"http://schema.org/Residence",Resort:"http://schema.org/Resort",Restaurant:"http://schema.org/Restaurant",RestrictedDiet:"http://schema.org/RestrictedDiet",ResumeAction:"http://schema.org/ResumeAction",ReturnAction:"http://schema.org/ReturnAction",ReturnFeesEnumeration:"http://schema.org/ReturnFeesEnumeration",ReturnLabelSourceEnumeration:"http://schema.org/ReturnLabelSourceEnumeration",ReturnMethodEnumeration:"http://schema.org/ReturnMethodEnumeration",Review:"http://schema.org/Review",ReviewAction:"http://schema.org/ReviewAction",ReviewNewsArticle:"http://schema.org/ReviewNewsArticle",RiverBodyOfWater:"http://schema.org/RiverBodyOfWater",Role:"http://schema.org/Role",RoofingContractor:"http://schema.org/RoofingContractor",Room:"http://schema.org/Room",RsvpAction:"http://schema.org/RsvpAction",RsvpResponseType:"http://schema.org/RsvpResponseType",SaleEvent:"http://schema.org/SaleEvent",SatiricalArticle:"http://schema.org/SatiricalArticle",Schedule:"http://schema.org/Schedule",ScheduleAction:"http://schema.org/ScheduleAction",ScholarlyArticle:"http://schema.org/ScholarlyArticle",School:"http://schema.org/School",SchoolDistrict:"http://schema.org/SchoolDistrict",ScreeningEvent:"http://schema.org/ScreeningEvent",Sculpture:"http://schema.org/Sculpture",SeaBodyOfWater:"http://schema.org/SeaBodyOfWater",SearchAction:"http://schema.org/SearchAction",SearchRescueOrganization:"http://schema.org/SearchRescueOrganization",SearchResultsPage:"http://schema.org/SearchResultsPage",Season:"http://schema.org/Season",Seat:"http://schema.org/Seat",SeekToAction:"http://schema.org/SeekToAction",SelfStorage:"http://schema.org/SelfStorage",SellAction:"http://schema.org/SellAction",SendAction:"http://schema.org/SendAction",Series:"http://schema.org/Series",Service:"http://schema.org/Service",ServiceChannel:"http://schema.org/ServiceChannel",ShareAction:"http://schema.org/ShareAction",SheetMusic:"http://schema.org/SheetMusic",ShippingDeliveryTime:"http://schema.org/ShippingDeliveryTime",ShippingRateSettings:"http://schema.org/ShippingRateSettings",ShoeStore:"http://schema.org/ShoeStore",ShoppingCenter:"http://schema.org/ShoppingCenter",ShortStory:"http://schema.org/ShortStory",SingleFamilyResidence:"http://schema.org/SingleFamilyResidence",SiteNavigationElement:"http://schema.org/SiteNavigationElement",SizeGroupEnumeration:"http://schema.org/SizeGroupEnumeration",SizeSpecification:"http://schema.org/SizeSpecification",SizeSystemEnumeration:"http://schema.org/SizeSystemEnumeration",SkiResort:"http://schema.org/SkiResort",SocialEvent:"http://schema.org/SocialEvent",SocialMediaPosting:"http://schema.org/SocialMediaPosting",SoftwareApplication:"http://schema.org/SoftwareApplication",SoftwareSourceCode:"http://schema.org/SoftwareSourceCode",SolveMathAction:"http://schema.org/SolveMathAction",SomeProducts:"http://schema.org/SomeProducts",SpeakableSpecification:"http://schema.org/SpeakableSpecification",SpecialAnnouncement:"http://schema.org/SpecialAnnouncement",Specialty:"http://schema.org/Specialty",SportingGoodsStore:"http://schema.org/SportingGoodsStore",SportsActivityLocation:"http://schema.org/SportsActivityLocation",SportsClub:"http://schema.org/SportsClub",SportsEvent:"http://schema.org/SportsEvent",SportsOrganization:"http://schema.org/SportsOrganization",SportsTeam:"http://schema.org/SportsTeam",SpreadsheetDigitalDocument:"http://schema.org/SpreadsheetDigitalDocument",StadiumOrArena:"http://schema.org/StadiumOrArena",State:"http://schema.org/State",Statement:"http://schema.org/Statement",StatisticalPopulation:"http://schema.org/StatisticalPopulation",StatusEnumeration:"http://schema.org/StatusEnumeration",SteeringPositionValue:"http://schema.org/SteeringPositionValue",Store:"http://schema.org/Store",StructuredValue:"http://schema.org/StructuredValue",StupidType:"http://schema.org/StupidType",SubscribeAction:"http://schema.org/SubscribeAction",Substance:"http://schema.org/Substance",SubwayStation:"http://schema.org/SubwayStation",Suite:"http://schema.org/Suite",SuperficialAnatomy:"http://schema.org/SuperficialAnatomy",SurgicalProcedure:"http://schema.org/SurgicalProcedure",SuspendAction:"http://schema.org/SuspendAction",Synagogue:"http://schema.org/Synagogue",TVClip:"http://schema.org/TVClip",TVEpisode:"http://schema.org/TVEpisode",TVSeason:"http://schema.org/TVSeason",TVSeries:"http://schema.org/TVSeries",Table:"http://schema.org/Table",TakeAction:"http://schema.org/TakeAction",TattooParlor:"http://schema.org/TattooParlor",Taxi:"http://schema.org/Taxi",TaxiReservation:"http://schema.org/TaxiReservation",TaxiService:"http://schema.org/TaxiService",TaxiStand:"http://schema.org/TaxiStand",Taxon:"http://schema.org/Taxon",TechArticle:"http://schema.org/TechArticle",TelevisionChannel:"http://schema.org/TelevisionChannel",TelevisionStation:"http://schema.org/TelevisionStation",TennisComplex:"http://schema.org/TennisComplex",Text:"http://schema.org/Text",TextDigitalDocument:"http://schema.org/TextDigitalDocument",TheaterEvent:"http://schema.org/TheaterEvent",TheaterGroup:"http://schema.org/TheaterGroup",TherapeuticProcedure:"http://schema.org/TherapeuticProcedure",Thesis:"http://schema.org/Thesis",Thing:"http://schema.org/Thing",Ticket:"http://schema.org/Ticket",TieAction:"http://schema.org/TieAction",Time:"http://schema.org/Time",TipAction:"http://schema.org/TipAction",TireShop:"http://schema.org/TireShop",TouristAttraction:"http://schema.org/TouristAttraction",TouristDestination:"http://schema.org/TouristDestination",TouristInformationCenter:"http://schema.org/TouristInformationCenter",TouristTrip:"http://schema.org/TouristTrip",ToyStore:"http://schema.org/ToyStore",TrackAction:"http://schema.org/TrackAction",TradeAction:"http://schema.org/TradeAction",TrainReservation:"http://schema.org/TrainReservation",TrainStation:"http://schema.org/TrainStation",TrainTrip:"http://schema.org/TrainTrip",TransferAction:"http://schema.org/TransferAction",TravelAction:"http://schema.org/TravelAction",TravelAgency:"http://schema.org/TravelAgency",TreatmentIndication:"http://schema.org/TreatmentIndication",Trip:"http://schema.org/Trip",TypeAndQuantityNode:"http://schema.org/TypeAndQuantityNode",UKNonprofitType:"http://schema.org/UKNonprofitType",URL:"http://schema.org/URL",USNonprofitType:"http://schema.org/USNonprofitType",UnRegisterAction:"http://schema.org/UnRegisterAction",UnitPriceSpecification:"http://schema.org/UnitPriceSpecification",UpdateAction:"http://schema.org/UpdateAction",UseAction:"http://schema.org/UseAction",UserBlocks:"http://schema.org/UserBlocks",UserCheckins:"http://schema.org/UserCheckins",UserComments:"http://schema.org/UserComments",UserDownloads:"http://schema.org/UserDownloads",UserInteraction:"http://schema.org/UserInteraction",UserLikes:"http://schema.org/UserLikes",UserPageVisits:"http://schema.org/UserPageVisits",UserPlays:"http://schema.org/UserPlays",UserPlusOnes:"http://schema.org/UserPlusOnes",UserReview:"http://schema.org/UserReview",UserTweets:"http://schema.org/UserTweets",Vehicle:"http://schema.org/Vehicle",Vein:"http://schema.org/Vein",Vessel:"http://schema.org/Vessel",VeterinaryCare:"http://schema.org/VeterinaryCare",VideoGallery:"http://schema.org/VideoGallery",VideoGame:"http://schema.org/VideoGame",VideoGameClip:"http://schema.org/VideoGameClip",VideoGameSeries:"http://schema.org/VideoGameSeries",VideoObject:"http://schema.org/VideoObject",VideoObjectSnapshot:"http://schema.org/VideoObjectSnapshot",ViewAction:"http://schema.org/ViewAction",VirtualLocation:"http://schema.org/VirtualLocation",VisualArtsEvent:"http://schema.org/VisualArtsEvent",VisualArtwork:"http://schema.org/VisualArtwork",VitalSign:"http://schema.org/VitalSign",Volcano:"http://schema.org/Volcano",VoteAction:"http://schema.org/VoteAction",WPAdBlock:"http://schema.org/WPAdBlock",WPFooter:"http://schema.org/WPFooter",WPHeader:"http://schema.org/WPHeader",WPSideBar:"http://schema.org/WPSideBar",WantAction:"http://schema.org/WantAction",WarrantyPromise:"http://schema.org/WarrantyPromise",WarrantyScope:"http://schema.org/WarrantyScope",WatchAction:"http://schema.org/WatchAction",Waterfall:"http://schema.org/Waterfall",WearAction:"http://schema.org/WearAction",WearableMeasurementTypeEnumeration:"http://schema.org/WearableMeasurementTypeEnumeration",WearableSizeGroupEnumeration:"http://schema.org/WearableSizeGroupEnumeration",WearableSizeSystemEnumeration:"http://schema.org/WearableSizeSystemEnumeration",WebAPI:"http://schema.org/WebAPI",WebApplication:"http://schema.org/WebApplication",WebContent:"http://schema.org/WebContent",WebPage:"http://schema.org/WebPage",WebPageElement:"http://schema.org/WebPageElement",WebSite:"http://schema.org/WebSite",WholesaleStore:"http://schema.org/WholesaleStore",WinAction:"http://schema.org/WinAction",Winery:"http://schema.org/Winery",WorkBasedProgram:"http://schema.org/WorkBasedProgram",WorkersUnion:"http://schema.org/WorkersUnion",WriteAction:"http://schema.org/WriteAction",XPathType:"http://schema.org/XPathType",Zoo:"http://schema.org/Zoo",abridged:"http://schema.org/abridged",abstract:"http://schema.org/abstract",accelerationTime:"http://schema.org/accelerationTime",acceptedAnswer:"http://schema.org/acceptedAnswer",acceptedOffer:"http://schema.org/acceptedOffer",acceptedPaymentMethod:"http://schema.org/acceptedPaymentMethod",acceptsReservations:"http://schema.org/acceptsReservations",accessCode:"http://schema.org/accessCode",accessMode:"http://schema.org/accessMode",accessModeSufficient:"http://schema.org/accessModeSufficient",accessibilityAPI:"http://schema.org/accessibilityAPI",accessibilityControl:"http://schema.org/accessibilityControl",accessibilityFeature:"http://schema.org/accessibilityFeature",accessibilityHazard:"http://schema.org/accessibilityHazard",accessibilitySummary:"http://schema.org/accessibilitySummary",accommodationCategory:"http://schema.org/accommodationCategory",accommodationFloorPlan:"http://schema.org/accommodationFloorPlan",accountId:"http://schema.org/accountId",accountMinimumInflow:"http://schema.org/accountMinimumInflow",accountOverdraftLimit:"http://schema.org/accountOverdraftLimit",accountablePerson:"http://schema.org/accountablePerson",acquireLicensePage:"http://schema.org/acquireLicensePage",acquiredFrom:"http://schema.org/acquiredFrom",acrissCode:"http://schema.org/acrissCode",actionAccessibilityRequirement:"http://schema.org/actionAccessibilityRequirement",actionPlatform:"http://schema.org/actionPlatform",actionStatus:"http://schema.org/actionStatus",actionableFeedbackPolicy:"http://schema.org/actionableFeedbackPolicy",activeIngredient:"http://schema.org/activeIngredient",activityDuration:"http://schema.org/activityDuration",activityFrequency:"http://schema.org/activityFrequency",actors:"http://schema.org/actors",addOn:"http://schema.org/addOn",additionalName:"http://schema.org/additionalName",additionalNumberOfGuests:"http://schema.org/additionalNumberOfGuests",additionalProperty:"http://schema.org/additionalProperty",additionalType:"http://schema.org/additionalType",additionalVariable:"http://schema.org/additionalVariable",address:"http://schema.org/address",addressCountry:"http://schema.org/addressCountry",addressLocality:"http://schema.org/addressLocality",addressRegion:"http://schema.org/addressRegion",administrationRoute:"http://schema.org/administrationRoute",advanceBookingRequirement:"http://schema.org/advanceBookingRequirement",adverseOutcome:"http://schema.org/adverseOutcome",affectedBy:"http://schema.org/affectedBy",affiliation:"http://schema.org/affiliation",afterMedia:"http://schema.org/afterMedia",agent:"http://schema.org/agent",aggregateRating:"http://schema.org/aggregateRating",aircraft:"http://schema.org/aircraft",albumProductionType:"http://schema.org/albumProductionType",albumReleaseType:"http://schema.org/albumReleaseType",albums:"http://schema.org/albums",alcoholWarning:"http://schema.org/alcoholWarning",algorithm:"http://schema.org/algorithm",alignmentType:"http://schema.org/alignmentType",alternativeHeadline:"http://schema.org/alternativeHeadline",alternativeOf:"http://schema.org/alternativeOf",amenityFeature:"http://schema.org/amenityFeature",amount:"http://schema.org/amount",amountOfThisGood:"http://schema.org/amountOfThisGood",announcementLocation:"http://schema.org/announcementLocation",annualPercentageRate:"http://schema.org/annualPercentageRate",answerCount:"http://schema.org/answerCount",answerExplanation:"http://schema.org/answerExplanation",antagonist:"http://schema.org/antagonist",appearance:"http://schema.org/appearance",applicableCountry:"http://schema.org/applicableCountry",applicableLocation:"http://schema.org/applicableLocation",applicantLocationRequirements:"http://schema.org/applicantLocationRequirements",application:"http://schema.org/application",applicationCategory:"http://schema.org/applicationCategory",applicationContact:"http://schema.org/applicationContact",applicationDeadline:"http://schema.org/applicationDeadline",applicationStartDate:"http://schema.org/applicationStartDate",applicationSubCategory:"http://schema.org/applicationSubCategory",applicationSuite:"http://schema.org/applicationSuite",appliesToDeliveryMethod:"http://schema.org/appliesToDeliveryMethod",appliesToPaymentMethod:"http://schema.org/appliesToPaymentMethod",archivedAt:"http://schema.org/archivedAt",area:"http://schema.org/area",arrivalAirport:"http://schema.org/arrivalAirport",arrivalBoatTerminal:"http://schema.org/arrivalBoatTerminal",arrivalBusStop:"http://schema.org/arrivalBusStop",arrivalGate:"http://schema.org/arrivalGate",arrivalPlatform:"http://schema.org/arrivalPlatform",arrivalStation:"http://schema.org/arrivalStation",arrivalTerminal:"http://schema.org/arrivalTerminal",arrivalTime:"http://schema.org/arrivalTime",artEdition:"http://schema.org/artEdition",artMedium:"http://schema.org/artMedium",artform:"http://schema.org/artform",articleBody:"http://schema.org/articleBody",articleSection:"http://schema.org/articleSection",artist:"http://schema.org/artist",asin:"http://schema.org/asin",aspect:"http://schema.org/aspect",assembly:"http://schema.org/assembly",assemblyVersion:"http://schema.org/assemblyVersion",assesses:"http://schema.org/assesses",associatedAnatomy:"http://schema.org/associatedAnatomy",associatedArticle:"http://schema.org/associatedArticle",associatedClaimReview:"http://schema.org/associatedClaimReview",associatedDisease:"http://schema.org/associatedDisease",associatedMedia:"http://schema.org/associatedMedia",associatedMediaReview:"http://schema.org/associatedMediaReview",associatedPathophysiology:"http://schema.org/associatedPathophysiology",athlete:"http://schema.org/athlete",attendees:"http://schema.org/attendees",audienceType:"http://schema.org/audienceType",audio:"http://schema.org/audio",authenticator:"http://schema.org/authenticator",author:"http://schema.org/author",availability:"http://schema.org/availability",availabilityEnds:"http://schema.org/availabilityEnds",availabilityStarts:"http://schema.org/availabilityStarts",availableAtOrFrom:"http://schema.org/availableAtOrFrom",availableChannel:"http://schema.org/availableChannel",availableDeliveryMethod:"http://schema.org/availableDeliveryMethod",availableFrom:"http://schema.org/availableFrom",availableIn:"http://schema.org/availableIn",availableLanguage:"http://schema.org/availableLanguage",availableService:"http://schema.org/availableService",availableStrength:"http://schema.org/availableStrength",availableTest:"http://schema.org/availableTest",availableThrough:"http://schema.org/availableThrough",awards:"http://schema.org/awards",awayTeam:"http://schema.org/awayTeam",backstory:"http://schema.org/backstory",bankAccountType:"http://schema.org/bankAccountType",baseSalary:"http://schema.org/baseSalary",bccRecipient:"http://schema.org/bccRecipient",bed:"http://schema.org/bed",beforeMedia:"http://schema.org/beforeMedia",beneficiaryBank:"http://schema.org/beneficiaryBank",benefits:"http://schema.org/benefits",benefitsSummaryUrl:"http://schema.org/benefitsSummaryUrl",bestRating:"http://schema.org/bestRating",billingAddress:"http://schema.org/billingAddress",billingDuration:"http://schema.org/billingDuration",billingIncrement:"http://schema.org/billingIncrement",billingPeriod:"http://schema.org/billingPeriod",billingStart:"http://schema.org/billingStart",bioChemInteraction:"http://schema.org/bioChemInteraction",bioChemSimilarity:"http://schema.org/bioChemSimilarity",biologicalRole:"http://schema.org/biologicalRole",biomechnicalClass:"http://schema.org/biomechnicalClass",birthDate:"http://schema.org/birthDate",birthPlace:"http://schema.org/birthPlace",bitrate:"http://schema.org/bitrate",blogPosts:"http://schema.org/blogPosts",bloodSupply:"http://schema.org/bloodSupply",boardingGroup:"http://schema.org/boardingGroup",boardingPolicy:"http://schema.org/boardingPolicy",bodyLocation:"http://schema.org/bodyLocation",bodyType:"http://schema.org/bodyType",bookEdition:"http://schema.org/bookEdition",bookFormat:"http://schema.org/bookFormat",bookingAgent:"http://schema.org/bookingAgent",bookingTime:"http://schema.org/bookingTime",borrower:"http://schema.org/borrower",box:"http://schema.org/box",branch:"http://schema.org/branch",branchCode:"http://schema.org/branchCode",branchOf:"http://schema.org/branchOf",brand:"http://schema.org/brand",breadcrumb:"http://schema.org/breadcrumb",breastfeedingWarning:"http://schema.org/breastfeedingWarning",broadcastAffiliateOf:"http://schema.org/broadcastAffiliateOf",broadcastChannelId:"http://schema.org/broadcastChannelId",broadcastDisplayName:"http://schema.org/broadcastDisplayName",broadcastFrequency:"http://schema.org/broadcastFrequency",broadcastFrequencyValue:"http://schema.org/broadcastFrequencyValue",broadcastOfEvent:"http://schema.org/broadcastOfEvent",broadcastServiceTier:"http://schema.org/broadcastServiceTier",broadcastSignalModulation:"http://schema.org/broadcastSignalModulation",broadcastSubChannel:"http://schema.org/broadcastSubChannel",broadcastTimezone:"http://schema.org/broadcastTimezone",broadcaster:"http://schema.org/broadcaster",browserRequirements:"http://schema.org/browserRequirements",busName:"http://schema.org/busName",busNumber:"http://schema.org/busNumber",businessDays:"http://schema.org/businessDays",businessFunction:"http://schema.org/businessFunction",buyer:"http://schema.org/buyer",byArtist:"http://schema.org/byArtist",byDay:"http://schema.org/byDay",byMonth:"http://schema.org/byMonth",byMonthDay:"http://schema.org/byMonthDay",byMonthWeek:"http://schema.org/byMonthWeek",callSign:"http://schema.org/callSign",calories:"http://schema.org/calories",candidate:"http://schema.org/candidate",carbohydrateContent:"http://schema.org/carbohydrateContent",cargoVolume:"http://schema.org/cargoVolume",carrier:"http://schema.org/carrier",carrierRequirements:"http://schema.org/carrierRequirements",cashBack:"http://schema.org/cashBack",catalog:"http://schema.org/catalog",catalogNumber:"http://schema.org/catalogNumber",causeOf:"http://schema.org/causeOf",ccRecipient:"http://schema.org/ccRecipient",character:"http://schema.org/character",characterAttribute:"http://schema.org/characterAttribute",characterName:"http://schema.org/characterName",cheatCode:"http://schema.org/cheatCode",checkinTime:"http://schema.org/checkinTime",checkoutPageURLTemplate:"http://schema.org/checkoutPageURLTemplate",checkoutTime:"http://schema.org/checkoutTime",chemicalComposition:"http://schema.org/chemicalComposition",chemicalRole:"http://schema.org/chemicalRole",childMaxAge:"http://schema.org/childMaxAge",childMinAge:"http://schema.org/childMinAge",children:"http://schema.org/children",cholesterolContent:"http://schema.org/cholesterolContent",circle:"http://schema.org/circle",citation:"http://schema.org/citation",claimInterpreter:"http://schema.org/claimInterpreter",claimReviewed:"http://schema.org/claimReviewed",clincalPharmacology:"http://schema.org/clincalPharmacology",clipNumber:"http://schema.org/clipNumber",closes:"http://schema.org/closes",coach:"http://schema.org/coach",code:"http://schema.org/code",codeRepository:"http://schema.org/codeRepository",codeValue:"http://schema.org/codeValue",codingSystem:"http://schema.org/codingSystem",colleagues:"http://schema.org/colleagues",collection:"http://schema.org/collection",collectionSize:"http://schema.org/collectionSize",color:"http://schema.org/color",colorist:"http://schema.org/colorist",comment:"http://schema.org/comment",commentCount:"http://schema.org/commentCount",commentText:"http://schema.org/commentText",commentTime:"http://schema.org/commentTime",competencyRequired:"http://schema.org/competencyRequired",composer:"http://schema.org/composer",comprisedOf:"http://schema.org/comprisedOf",conditionsOfAccess:"http://schema.org/conditionsOfAccess",confirmationNumber:"http://schema.org/confirmationNumber",connectedTo:"http://schema.org/connectedTo",constrainingProperty:"http://schema.org/constrainingProperty",contactOption:"http://schema.org/contactOption",contactPoints:"http://schema.org/contactPoints",contactType:"http://schema.org/contactType",contactlessPayment:"http://schema.org/contactlessPayment",containedIn:"http://schema.org/containedIn",contentRating:"http://schema.org/contentRating",contentReferenceTime:"http://schema.org/contentReferenceTime",contentSize:"http://schema.org/contentSize",contentType:"http://schema.org/contentType",contentUrl:"http://schema.org/contentUrl",contraindication:"http://schema.org/contraindication",contributor:"http://schema.org/contributor",cookTime:"http://schema.org/cookTime",cookingMethod:"http://schema.org/cookingMethod",copyrightHolder:"http://schema.org/copyrightHolder",copyrightNotice:"http://schema.org/copyrightNotice",copyrightYear:"http://schema.org/copyrightYear",correction:"http://schema.org/correction",correctionsPolicy:"http://schema.org/correctionsPolicy",costCategory:"http://schema.org/costCategory",costCurrency:"http://schema.org/costCurrency",costOrigin:"http://schema.org/costOrigin",costPerUnit:"http://schema.org/costPerUnit",countriesNotSupported:"http://schema.org/countriesNotSupported",countriesSupported:"http://schema.org/countriesSupported",countryOfAssembly:"http://schema.org/countryOfAssembly",countryOfLastProcessing:"http://schema.org/countryOfLastProcessing",countryOfOrigin:"http://schema.org/countryOfOrigin",course:"http://schema.org/course",courseCode:"http://schema.org/courseCode",courseMode:"http://schema.org/courseMode",coursePrerequisites:"http://schema.org/coursePrerequisites",courseWorkload:"http://schema.org/courseWorkload",coverageEndTime:"http://schema.org/coverageEndTime",coverageStartTime:"http://schema.org/coverageStartTime",creativeWorkStatus:"http://schema.org/creativeWorkStatus",credentialCategory:"http://schema.org/credentialCategory",creditText:"http://schema.org/creditText",creditedTo:"http://schema.org/creditedTo",cssSelector:"http://schema.org/cssSelector",currenciesAccepted:"http://schema.org/currenciesAccepted",currency:"http://schema.org/currency",currentExchangeRate:"http://schema.org/currentExchangeRate",customer:"http://schema.org/customer",customerRemorseReturnFees:"http://schema.org/customerRemorseReturnFees",customerRemorseReturnLabelSource:"http://schema.org/customerRemorseReturnLabelSource",customerRemorseReturnShippingFeesAmount:"http://schema.org/customerRemorseReturnShippingFeesAmount",cutoffTime:"http://schema.org/cutoffTime",cvdCollectionDate:"http://schema.org/cvdCollectionDate",cvdFacilityCounty:"http://schema.org/cvdFacilityCounty",cvdFacilityId:"http://schema.org/cvdFacilityId",cvdNumBeds:"http://schema.org/cvdNumBeds",cvdNumBedsOcc:"http://schema.org/cvdNumBedsOcc",cvdNumC19Died:"http://schema.org/cvdNumC19Died",cvdNumC19HOPats:"http://schema.org/cvdNumC19HOPats",cvdNumC19HospPats:"http://schema.org/cvdNumC19HospPats",cvdNumC19MechVentPats:"http://schema.org/cvdNumC19MechVentPats",cvdNumC19OFMechVentPats:"http://schema.org/cvdNumC19OFMechVentPats",cvdNumC19OverflowPats:"http://schema.org/cvdNumC19OverflowPats",cvdNumICUBeds:"http://schema.org/cvdNumICUBeds",cvdNumICUBedsOcc:"http://schema.org/cvdNumICUBedsOcc",cvdNumTotBeds:"http://schema.org/cvdNumTotBeds",cvdNumVent:"http://schema.org/cvdNumVent",cvdNumVentUse:"http://schema.org/cvdNumVentUse",dataFeedElement:"http://schema.org/dataFeedElement",datasetTimeInterval:"http://schema.org/datasetTimeInterval",dateDeleted:"http://schema.org/dateDeleted",dateIssued:"http://schema.org/dateIssued",dateModified:"http://schema.org/dateModified",datePosted:"http://schema.org/datePosted",datePublished:"http://schema.org/datePublished",dateRead:"http://schema.org/dateRead",dateReceived:"http://schema.org/dateReceived",dateSent:"http://schema.org/dateSent",dateVehicleFirstRegistered:"http://schema.org/dateVehicleFirstRegistered",dateline:"http://schema.org/dateline",dayOfWeek:"http://schema.org/dayOfWeek",deathDate:"http://schema.org/deathDate",deathPlace:"http://schema.org/deathPlace",defaultValue:"http://schema.org/defaultValue",deliveryAddress:"http://schema.org/deliveryAddress",deliveryLeadTime:"http://schema.org/deliveryLeadTime",deliveryMethod:"http://schema.org/deliveryMethod",deliveryStatus:"http://schema.org/deliveryStatus",deliveryTime:"http://schema.org/deliveryTime",department:"http://schema.org/department",departureAirport:"http://schema.org/departureAirport",departureBoatTerminal:"http://schema.org/departureBoatTerminal",departureBusStop:"http://schema.org/departureBusStop",departureGate:"http://schema.org/departureGate",departurePlatform:"http://schema.org/departurePlatform",departureStation:"http://schema.org/departureStation",departureTerminal:"http://schema.org/departureTerminal",departureTime:"http://schema.org/departureTime",dependencies:"http://schema.org/dependencies",depth:"http://schema.org/depth",device:"http://schema.org/device",diagnosis:"http://schema.org/diagnosis",diagram:"http://schema.org/diagram",diet:"http://schema.org/diet",dietFeatures:"http://schema.org/dietFeatures",differentialDiagnosis:"http://schema.org/differentialDiagnosis",directApply:"http://schema.org/directApply",directors:"http://schema.org/directors",disambiguatingDescription:"http://schema.org/disambiguatingDescription",discount:"http://schema.org/discount",discountCode:"http://schema.org/discountCode",discountCurrency:"http://schema.org/discountCurrency",discusses:"http://schema.org/discusses",discussionUrl:"http://schema.org/discussionUrl",diseasePreventionInfo:"http://schema.org/diseasePreventionInfo",diseaseSpreadStatistics:"http://schema.org/diseaseSpreadStatistics",dissolutionDate:"http://schema.org/dissolutionDate",distance:"http://schema.org/distance",distinguishingSign:"http://schema.org/distinguishingSign",distribution:"http://schema.org/distribution",diversityPolicy:"http://schema.org/diversityPolicy",diversityStaffingReport:"http://schema.org/diversityStaffingReport",documentation:"http://schema.org/documentation",doesNotShip:"http://schema.org/doesNotShip",domainIncludes:"http://schema.org/domainIncludes",domiciledMortgage:"http://schema.org/domiciledMortgage",doorTime:"http://schema.org/doorTime",dosageForm:"http://schema.org/dosageForm",doseSchedule:"http://schema.org/doseSchedule",doseUnit:"http://schema.org/doseUnit",doseValue:"http://schema.org/doseValue",downPayment:"http://schema.org/downPayment",downloadUrl:"http://schema.org/downloadUrl",downvoteCount:"http://schema.org/downvoteCount",drainsTo:"http://schema.org/drainsTo",driveWheelConfiguration:"http://schema.org/driveWheelConfiguration",dropoffLocation:"http://schema.org/dropoffLocation",dropoffTime:"http://schema.org/dropoffTime",drug:"http://schema.org/drug",drugClass:"http://schema.org/drugClass",drugUnit:"http://schema.org/drugUnit",duns:"http://schema.org/duns",duplicateTherapy:"http://schema.org/duplicateTherapy",durationOfWarranty:"http://schema.org/durationOfWarranty",duringMedia:"http://schema.org/duringMedia",earlyPrepaymentPenalty:"http://schema.org/earlyPrepaymentPenalty",editEIDR:"http://schema.org/editEIDR",editor:"http://schema.org/editor",eduQuestionType:"http://schema.org/eduQuestionType",educationRequirements:"http://schema.org/educationRequirements",educationalAlignment:"http://schema.org/educationalAlignment",educationalCredentialAwarded:"http://schema.org/educationalCredentialAwarded",educationalFramework:"http://schema.org/educationalFramework",educationalLevel:"http://schema.org/educationalLevel",educationalProgramMode:"http://schema.org/educationalProgramMode",educationalRole:"http://schema.org/educationalRole",educationalUse:"http://schema.org/educationalUse",elevation:"http://schema.org/elevation",eligibilityToWorkRequirement:"http://schema.org/eligibilityToWorkRequirement",eligibleCustomerType:"http://schema.org/eligibleCustomerType",eligibleDuration:"http://schema.org/eligibleDuration",eligibleQuantity:"http://schema.org/eligibleQuantity",eligibleRegion:"http://schema.org/eligibleRegion",eligibleTransactionVolume:"http://schema.org/eligibleTransactionVolume",email:"http://schema.org/email",embedUrl:"http://schema.org/embedUrl",embeddedTextCaption:"http://schema.org/embeddedTextCaption",emissionsCO2:"http://schema.org/emissionsCO2",employees:"http://schema.org/employees",employerOverview:"http://schema.org/employerOverview",employmentType:"http://schema.org/employmentType",employmentUnit:"http://schema.org/employmentUnit",encodingType:"http://schema.org/encodingType",encodings:"http://schema.org/encodings",endDate:"http://schema.org/endDate",endOffset:"http://schema.org/endOffset",endTime:"http://schema.org/endTime",endorsee:"http://schema.org/endorsee",endorsers:"http://schema.org/endorsers",energyEfficiencyScaleMax:"http://schema.org/energyEfficiencyScaleMax",energyEfficiencyScaleMin:"http://schema.org/energyEfficiencyScaleMin",engineDisplacement:"http://schema.org/engineDisplacement",enginePower:"http://schema.org/enginePower",engineType:"http://schema.org/engineType",entertainmentBusiness:"http://schema.org/entertainmentBusiness",epidemiology:"http://schema.org/epidemiology",episodeNumber:"http://schema.org/episodeNumber",episodes:"http://schema.org/episodes",equal:"http://schema.org/equal",error:"http://schema.org/error",estimatedCost:"http://schema.org/estimatedCost",estimatedFlightDuration:"http://schema.org/estimatedFlightDuration",estimatedSalary:"http://schema.org/estimatedSalary",estimatesRiskOf:"http://schema.org/estimatesRiskOf",ethicsPolicy:"http://schema.org/ethicsPolicy",eventAttendanceMode:"http://schema.org/eventAttendanceMode",eventSchedule:"http://schema.org/eventSchedule",eventStatus:"http://schema.org/eventStatus",events:"http://schema.org/events",evidenceLevel:"http://schema.org/evidenceLevel",evidenceOrigin:"http://schema.org/evidenceOrigin",exceptDate:"http://schema.org/exceptDate",exchangeRateSpread:"http://schema.org/exchangeRateSpread",exercisePlan:"http://schema.org/exercisePlan",exerciseRelatedDiet:"http://schema.org/exerciseRelatedDiet",exerciseType:"http://schema.org/exerciseType",exifData:"http://schema.org/exifData",expectedArrivalFrom:"http://schema.org/expectedArrivalFrom",expectedArrivalUntil:"http://schema.org/expectedArrivalUntil",expectedPrognosis:"http://schema.org/expectedPrognosis",expectsAcceptanceOf:"http://schema.org/expectsAcceptanceOf",experienceInPlaceOfEducation:"http://schema.org/experienceInPlaceOfEducation",experienceRequirements:"http://schema.org/experienceRequirements",expertConsiderations:"http://schema.org/expertConsiderations",expires:"http://schema.org/expires",expressedIn:"http://schema.org/expressedIn",familyName:"http://schema.org/familyName",fatContent:"http://schema.org/fatContent",faxNumber:"http://schema.org/faxNumber",featureList:"http://schema.org/featureList",feesAndCommissionsSpecification:"http://schema.org/feesAndCommissionsSpecification",fiberContent:"http://schema.org/fiberContent",fileFormat:"http://schema.org/fileFormat",fileSize:"http://schema.org/fileSize",financialAidEligible:"http://schema.org/financialAidEligible",firstAppearance:"http://schema.org/firstAppearance",firstPerformance:"http://schema.org/firstPerformance",flightDistance:"http://schema.org/flightDistance",flightNumber:"http://schema.org/flightNumber",floorLevel:"http://schema.org/floorLevel",floorLimit:"http://schema.org/floorLimit",floorSize:"http://schema.org/floorSize",followee:"http://schema.org/followee",follows:"http://schema.org/follows",followup:"http://schema.org/followup",foodEstablishment:"http://schema.org/foodEstablishment",foodEvent:"http://schema.org/foodEvent",foodWarning:"http://schema.org/foodWarning",founders:"http://schema.org/founders",foundingDate:"http://schema.org/foundingDate",foundingLocation:"http://schema.org/foundingLocation",free:"http://schema.org/free",freeShippingThreshold:"http://schema.org/freeShippingThreshold",fromLocation:"http://schema.org/fromLocation",fuelCapacity:"http://schema.org/fuelCapacity",fuelConsumption:"http://schema.org/fuelConsumption",fuelEfficiency:"http://schema.org/fuelEfficiency",fuelType:"http://schema.org/fuelType",functionalClass:"http://schema.org/functionalClass",funder:"http://schema.org/funder",gameAvailabilityType:"http://schema.org/gameAvailabilityType",gameEdition:"http://schema.org/gameEdition",gameItem:"http://schema.org/gameItem",gameLocation:"http://schema.org/gameLocation",gamePlatform:"http://schema.org/gamePlatform",gameTip:"http://schema.org/gameTip",gender:"http://schema.org/gender",geo:"http://schema.org/geo",geoContains:"http://schema.org/geoContains",geoCoveredBy:"http://schema.org/geoCoveredBy",geoCovers:"http://schema.org/geoCovers",geoCrosses:"http://schema.org/geoCrosses",geoDisjoint:"http://schema.org/geoDisjoint",geoEquals:"http://schema.org/geoEquals",geoIntersects:"http://schema.org/geoIntersects",geoMidpoint:"http://schema.org/geoMidpoint",geoOverlaps:"http://schema.org/geoOverlaps",geoRadius:"http://schema.org/geoRadius",geoTouches:"http://schema.org/geoTouches",geoWithin:"http://schema.org/geoWithin",geographicArea:"http://schema.org/geographicArea",gettingTestedInfo:"http://schema.org/gettingTestedInfo",givenName:"http://schema.org/givenName",globalLocationNumber:"http://schema.org/globalLocationNumber",governmentBenefitsInfo:"http://schema.org/governmentBenefitsInfo",gracePeriod:"http://schema.org/gracePeriod",grantee:"http://schema.org/grantee",greater:"http://schema.org/greater",greaterOrEqual:"http://schema.org/greaterOrEqual",gtin12:"http://schema.org/gtin12",gtin13:"http://schema.org/gtin13",gtin14:"http://schema.org/gtin14",gtin8:"http://schema.org/gtin8",guideline:"http://schema.org/guideline",guidelineDate:"http://schema.org/guidelineDate",guidelineSubject:"http://schema.org/guidelineSubject",handlingTime:"http://schema.org/handlingTime",hasAdultConsideration:"http://schema.org/hasAdultConsideration",hasBioPolymerSequence:"http://schema.org/hasBioPolymerSequence",hasCategoryCode:"http://schema.org/hasCategoryCode",hasCourse:"http://schema.org/hasCourse",hasCourseInstance:"http://schema.org/hasCourseInstance",hasCredential:"http://schema.org/hasCredential",hasDeliveryMethod:"http://schema.org/hasDeliveryMethod",hasDigitalDocumentPermission:"http://schema.org/hasDigitalDocumentPermission",hasDriveThroughService:"http://schema.org/hasDriveThroughService",hasEnergyConsumptionDetails:"http://schema.org/hasEnergyConsumptionDetails",hasEnergyEfficiencyCategory:"http://schema.org/hasEnergyEfficiencyCategory",hasHealthAspect:"http://schema.org/hasHealthAspect",hasMeasurement:"http://schema.org/hasMeasurement",hasMenuItem:"http://schema.org/hasMenuItem",hasMenuSection:"http://schema.org/hasMenuSection",hasMolecularFunction:"http://schema.org/hasMolecularFunction",hasOccupation:"http://schema.org/hasOccupation",hasOfferCatalog:"http://schema.org/hasOfferCatalog",hasPOS:"http://schema.org/hasPOS",hasProductReturnPolicy:"http://schema.org/hasProductReturnPolicy",headline:"http://schema.org/headline",healthCondition:"http://schema.org/healthCondition",healthPlanCoinsuranceOption:"http://schema.org/healthPlanCoinsuranceOption",healthPlanCoinsuranceRate:"http://schema.org/healthPlanCoinsuranceRate",healthPlanCopay:"http://schema.org/healthPlanCopay",healthPlanCopayOption:"http://schema.org/healthPlanCopayOption",healthPlanCostSharing:"http://schema.org/healthPlanCostSharing",healthPlanDrugOption:"http://schema.org/healthPlanDrugOption",healthPlanDrugTier:"http://schema.org/healthPlanDrugTier",healthPlanId:"http://schema.org/healthPlanId",healthPlanMarketingUrl:"http://schema.org/healthPlanMarketingUrl",healthPlanNetworkId:"http://schema.org/healthPlanNetworkId",healthPlanNetworkTier:"http://schema.org/healthPlanNetworkTier",healthPlanPharmacyCategory:"http://schema.org/healthPlanPharmacyCategory",healthcareReportingData:"http://schema.org/healthcareReportingData",height:"http://schema.org/height",highPrice:"http://schema.org/highPrice",hiringOrganization:"http://schema.org/hiringOrganization",homeLocation:"http://schema.org/homeLocation",homeTeam:"http://schema.org/homeTeam",honorificPrefix:"http://schema.org/honorificPrefix",honorificSuffix:"http://schema.org/honorificSuffix",hospitalAffiliation:"http://schema.org/hospitalAffiliation",hostingOrganization:"http://schema.org/hostingOrganization",hoursAvailable:"http://schema.org/hoursAvailable",howPerformed:"http://schema.org/howPerformed",httpMethod:"http://schema.org/httpMethod",iataCode:"http://schema.org/iataCode",icaoCode:"http://schema.org/icaoCode",identifyingExam:"http://schema.org/identifyingExam",identifyingTest:"http://schema.org/identifyingTest",illustrator:"http://schema.org/illustrator",imagingTechnique:"http://schema.org/imagingTechnique",inAlbum:"http://schema.org/inAlbum",inBroadcastLineup:"http://schema.org/inBroadcastLineup",inChI:"http://schema.org/inChI",inChIKey:"http://schema.org/inChIKey",inCodeSet:"http://schema.org/inCodeSet",inPlaylist:"http://schema.org/inPlaylist",inProductGroupWithID:"http://schema.org/inProductGroupWithID",inStoreReturnsOffered:"http://schema.org/inStoreReturnsOffered",inSupportOf:"http://schema.org/inSupportOf",incentives:"http://schema.org/incentives",includedComposition:"http://schema.org/includedComposition",includedDataCatalog:"http://schema.org/includedDataCatalog",includedInHealthInsurancePlan:"http://schema.org/includedInHealthInsurancePlan",includedRiskFactor:"http://schema.org/includedRiskFactor",includesAttraction:"http://schema.org/includesAttraction",includesHealthPlanFormulary:"http://schema.org/includesHealthPlanFormulary",includesHealthPlanNetwork:"http://schema.org/includesHealthPlanNetwork",includesObject:"http://schema.org/includesObject",increasesRiskOf:"http://schema.org/increasesRiskOf",industry:"http://schema.org/industry",ineligibleRegion:"http://schema.org/ineligibleRegion",infectiousAgent:"http://schema.org/infectiousAgent",infectiousAgentClass:"http://schema.org/infectiousAgentClass",ingredients:"http://schema.org/ingredients",inker:"http://schema.org/inker",insertion:"http://schema.org/insertion",installUrl:"http://schema.org/installUrl",instructor:"http://schema.org/instructor",intensity:"http://schema.org/intensity",interactingDrug:"http://schema.org/interactingDrug",interactionCount:"http://schema.org/interactionCount",interactionService:"http://schema.org/interactionService",interactionType:"http://schema.org/interactionType",interactivityType:"http://schema.org/interactivityType",interestRate:"http://schema.org/interestRate",interpretedAsClaim:"http://schema.org/interpretedAsClaim",inventoryLevel:"http://schema.org/inventoryLevel",inverseOf:"http://schema.org/inverseOf",isAcceptingNewPatients:"http://schema.org/isAcceptingNewPatients",isAccessoryOrSparePartFor:"http://schema.org/isAccessoryOrSparePartFor",isAvailableGenerically:"http://schema.org/isAvailableGenerically",isBasedOnUrl:"http://schema.org/isBasedOnUrl",isConsumableFor:"http://schema.org/isConsumableFor",isFamilyFriendly:"http://schema.org/isFamilyFriendly",isGift:"http://schema.org/isGift",isInvolvedInBiologicalProcess:"http://schema.org/isInvolvedInBiologicalProcess",isLiveBroadcast:"http://schema.org/isLiveBroadcast",isLocatedInSubcellularLocation:"http://schema.org/isLocatedInSubcellularLocation",isPlanForApartment:"http://schema.org/isPlanForApartment",isProprietary:"http://schema.org/isProprietary",isRelatedTo:"http://schema.org/isRelatedTo",isResizable:"http://schema.org/isResizable",isSimilarTo:"http://schema.org/isSimilarTo",isUnlabelledFallback:"http://schema.org/isUnlabelledFallback",isbn:"http://schema.org/isbn",isicV4:"http://schema.org/isicV4",iso6523Code:"http://schema.org/iso6523Code",isrcCode:"http://schema.org/isrcCode",issn:"http://schema.org/issn",issueNumber:"http://schema.org/issueNumber",issuedBy:"http://schema.org/issuedBy",issuedThrough:"http://schema.org/issuedThrough",iswcCode:"http://schema.org/iswcCode",item:"http://schema.org/item",itemCondition:"http://schema.org/itemCondition",itemDefectReturnFees:"http://schema.org/itemDefectReturnFees",itemDefectReturnLabelSource:"http://schema.org/itemDefectReturnLabelSource",itemDefectReturnShippingFeesAmount:"http://schema.org/itemDefectReturnShippingFeesAmount",itemListElement:"http://schema.org/itemListElement",itemListOrder:"http://schema.org/itemListOrder",itemLocation:"http://schema.org/itemLocation",itemReviewed:"http://schema.org/itemReviewed",itemShipped:"http://schema.org/itemShipped",itinerary:"http://schema.org/itinerary",iupacName:"http://schema.org/iupacName",jobImmediateStart:"http://schema.org/jobImmediateStart",jobLocation:"http://schema.org/jobLocation",jobLocationType:"http://schema.org/jobLocationType",jobStartDate:"http://schema.org/jobStartDate",jobTitle:"http://schema.org/jobTitle",keywords:"http://schema.org/keywords",knownVehicleDamages:"http://schema.org/knownVehicleDamages",knows:"http://schema.org/knows",knowsAbout:"http://schema.org/knowsAbout",knowsLanguage:"http://schema.org/knowsLanguage",labelDetails:"http://schema.org/labelDetails",landlord:"http://schema.org/landlord",language:"http://schema.org/language",lastReviewed:"http://schema.org/lastReviewed",latitude:"http://schema.org/latitude",layoutImage:"http://schema.org/layoutImage",learningResourceType:"http://schema.org/learningResourceType",leaseLength:"http://schema.org/leaseLength",legalName:"http://schema.org/legalName",legalStatus:"http://schema.org/legalStatus",legislationChanges:"http://schema.org/legislationChanges",legislationConsolidates:"http://schema.org/legislationConsolidates",legislationDate:"http://schema.org/legislationDate",legislationDateVersion:"http://schema.org/legislationDateVersion",legislationIdentifier:"http://schema.org/legislationIdentifier",legislationJurisdiction:"http://schema.org/legislationJurisdiction",legislationLegalForce:"http://schema.org/legislationLegalForce",legislationLegalValue:"http://schema.org/legislationLegalValue",legislationPassedBy:"http://schema.org/legislationPassedBy",legislationResponsible:"http://schema.org/legislationResponsible",legislationTransposes:"http://schema.org/legislationTransposes",legislationType:"http://schema.org/legislationType",leiCode:"http://schema.org/leiCode",lender:"http://schema.org/lender",lesser:"http://schema.org/lesser",lesserOrEqual:"http://schema.org/lesserOrEqual",letterer:"http://schema.org/letterer",license:"http://schema.org/license",line:"http://schema.org/line",linkRelationship:"http://schema.org/linkRelationship",liveBlogUpdate:"http://schema.org/liveBlogUpdate",loanMortgageMandateAmount:"http://schema.org/loanMortgageMandateAmount",loanPaymentAmount:"http://schema.org/loanPaymentAmount",loanPaymentFrequency:"http://schema.org/loanPaymentFrequency",loanRepaymentForm:"http://schema.org/loanRepaymentForm",loanTerm:"http://schema.org/loanTerm",loanType:"http://schema.org/loanType",locationCreated:"http://schema.org/locationCreated",lodgingUnitDescription:"http://schema.org/lodgingUnitDescription",lodgingUnitType:"http://schema.org/lodgingUnitType",logo:"http://schema.org/logo",longitude:"http://schema.org/longitude",loser:"http://schema.org/loser",lowPrice:"http://schema.org/lowPrice",lyricist:"http://schema.org/lyricist",lyrics:"http://schema.org/lyrics",maintainer:"http://schema.org/maintainer",manufacturer:"http://schema.org/manufacturer",map:"http://schema.org/map",mapType:"http://schema.org/mapType",maps:"http://schema.org/maps",marginOfError:"http://schema.org/marginOfError",masthead:"http://schema.org/masthead",materialExtent:"http://schema.org/materialExtent",mathExpression:"http://schema.org/mathExpression",maxPrice:"http://schema.org/maxPrice",maxValue:"http://schema.org/maxValue",maximumAttendeeCapacity:"http://schema.org/maximumAttendeeCapacity",maximumEnrollment:"http://schema.org/maximumEnrollment",maximumIntake:"http://schema.org/maximumIntake",maximumPhysicalAttendeeCapacity:"http://schema.org/maximumPhysicalAttendeeCapacity",maximumVirtualAttendeeCapacity:"http://schema.org/maximumVirtualAttendeeCapacity",mealService:"http://schema.org/mealService",measuredProperty:"http://schema.org/measuredProperty",measuredValue:"http://schema.org/measuredValue",measurementTechnique:"http://schema.org/measurementTechnique",mechanismOfAction:"http://schema.org/mechanismOfAction",mediaAuthenticityCategory:"http://schema.org/mediaAuthenticityCategory",mediaItemAppearance:"http://schema.org/mediaItemAppearance",median:"http://schema.org/median",medicalAudience:"http://schema.org/medicalAudience",medicalSpecialty:"http://schema.org/medicalSpecialty",medicineSystem:"http://schema.org/medicineSystem",meetsEmissionStandard:"http://schema.org/meetsEmissionStandard",members:"http://schema.org/members",membershipNumber:"http://schema.org/membershipNumber",membershipPointsEarned:"http://schema.org/membershipPointsEarned",memoryRequirements:"http://schema.org/memoryRequirements",mentions:"http://schema.org/mentions",menu:"http://schema.org/menu",menuAddOn:"http://schema.org/menuAddOn",merchant:"http://schema.org/merchant",messageAttachment:"http://schema.org/messageAttachment",mileageFromOdometer:"http://schema.org/mileageFromOdometer",minPrice:"http://schema.org/minPrice",minValue:"http://schema.org/minValue",minimumPaymentDue:"http://schema.org/minimumPaymentDue",missionCoveragePrioritiesPolicy:"http://schema.org/missionCoveragePrioritiesPolicy",mobileUrl:"http://schema.org/mobileUrl",model:"http://schema.org/model",modelDate:"http://schema.org/modelDate",modifiedTime:"http://schema.org/modifiedTime",molecularFormula:"http://schema.org/molecularFormula",molecularWeight:"http://schema.org/molecularWeight",monoisotopicMolecularWeight:"http://schema.org/monoisotopicMolecularWeight",monthlyMinimumRepaymentAmount:"http://schema.org/monthlyMinimumRepaymentAmount",monthsOfExperience:"http://schema.org/monthsOfExperience",mpn:"http://schema.org/mpn",multipleValues:"http://schema.org/multipleValues",muscleAction:"http://schema.org/muscleAction",musicArrangement:"http://schema.org/musicArrangement",musicBy:"http://schema.org/musicBy",musicCompositionForm:"http://schema.org/musicCompositionForm",musicGroupMember:"http://schema.org/musicGroupMember",musicReleaseFormat:"http://schema.org/musicReleaseFormat",musicalKey:"http://schema.org/musicalKey",naics:"http://schema.org/naics",name:"http://schema.org/name",namedPosition:"http://schema.org/namedPosition",nationality:"http://schema.org/nationality",naturalProgression:"http://schema.org/naturalProgression",negativeNotes:"http://schema.org/negativeNotes",nerve:"http://schema.org/nerve",nerveMotor:"http://schema.org/nerveMotor",netWorth:"http://schema.org/netWorth",newsUpdatesAndGuidelines:"http://schema.org/newsUpdatesAndGuidelines",nextItem:"http://schema.org/nextItem",noBylinesPolicy:"http://schema.org/noBylinesPolicy",nonEqual:"http://schema.org/nonEqual",nonProprietaryName:"http://schema.org/nonProprietaryName",nonprofitStatus:"http://schema.org/nonprofitStatus",normalRange:"http://schema.org/normalRange",nsn:"http://schema.org/nsn",numAdults:"http://schema.org/numAdults",numChildren:"http://schema.org/numChildren",numConstraints:"http://schema.org/numConstraints",numTracks:"http://schema.org/numTracks",numberOfAccommodationUnits:"http://schema.org/numberOfAccommodationUnits",numberOfAirbags:"http://schema.org/numberOfAirbags",numberOfAvailableAccommodationUnits:"http://schema.org/numberOfAvailableAccommodationUnits",numberOfAxles:"http://schema.org/numberOfAxles",numberOfBathroomsTotal:"http://schema.org/numberOfBathroomsTotal",numberOfBedrooms:"http://schema.org/numberOfBedrooms",numberOfBeds:"http://schema.org/numberOfBeds",numberOfCredits:"http://schema.org/numberOfCredits",numberOfDoors:"http://schema.org/numberOfDoors",numberOfEmployees:"http://schema.org/numberOfEmployees",numberOfEpisodes:"http://schema.org/numberOfEpisodes",numberOfForwardGears:"http://schema.org/numberOfForwardGears",numberOfFullBathrooms:"http://schema.org/numberOfFullBathrooms",numberOfItems:"http://schema.org/numberOfItems",numberOfLoanPayments:"http://schema.org/numberOfLoanPayments",numberOfPages:"http://schema.org/numberOfPages",numberOfPartialBathrooms:"http://schema.org/numberOfPartialBathrooms",numberOfPlayers:"http://schema.org/numberOfPlayers",numberOfPreviousOwners:"http://schema.org/numberOfPreviousOwners",numberOfRooms:"http://schema.org/numberOfRooms",numberOfSeasons:"http://schema.org/numberOfSeasons",numberedPosition:"http://schema.org/numberedPosition",nutrition:"http://schema.org/nutrition",observationDate:"http://schema.org/observationDate",observedNode:"http://schema.org/observedNode",occupancy:"http://schema.org/occupancy",occupationLocation:"http://schema.org/occupationLocation",occupationalCategory:"http://schema.org/occupationalCategory",occupationalCredentialAwarded:"http://schema.org/occupationalCredentialAwarded",offerCount:"http://schema.org/offerCount",offersPrescriptionByMail:"http://schema.org/offersPrescriptionByMail",openingHours:"http://schema.org/openingHours",openingHoursSpecification:"http://schema.org/openingHoursSpecification",opens:"http://schema.org/opens",operatingSystem:"http://schema.org/operatingSystem",opponent:"http://schema.org/opponent",option:"http://schema.org/option",orderDate:"http://schema.org/orderDate",orderDelivery:"http://schema.org/orderDelivery",orderItemNumber:"http://schema.org/orderItemNumber",orderItemStatus:"http://schema.org/orderItemStatus",orderNumber:"http://schema.org/orderNumber",orderQuantity:"http://schema.org/orderQuantity",orderStatus:"http://schema.org/orderStatus",orderedItem:"http://schema.org/orderedItem",organizer:"http://schema.org/organizer",originAddress:"http://schema.org/originAddress",originalMediaContextDescription:"http://schema.org/originalMediaContextDescription",originalMediaLink:"http://schema.org/originalMediaLink",originatesFrom:"http://schema.org/originatesFrom",overdosage:"http://schema.org/overdosage",ownedFrom:"http://schema.org/ownedFrom",ownedThrough:"http://schema.org/ownedThrough",ownershipFundingInfo:"http://schema.org/ownershipFundingInfo",owns:"http://schema.org/owns",pageEnd:"http://schema.org/pageEnd",pageStart:"http://schema.org/pageStart",pagination:"http://schema.org/pagination",parentItem:"http://schema.org/parentItem",parentService:"http://schema.org/parentService",parents:"http://schema.org/parents",partOfEpisode:"http://schema.org/partOfEpisode",partOfInvoice:"http://schema.org/partOfInvoice",partOfOrder:"http://schema.org/partOfOrder",partOfSeason:"http://schema.org/partOfSeason",partOfSystem:"http://schema.org/partOfSystem",partOfTVSeries:"http://schema.org/partOfTVSeries",partySize:"http://schema.org/partySize",passengerPriorityStatus:"http://schema.org/passengerPriorityStatus",passengerSequenceNumber:"http://schema.org/passengerSequenceNumber",pathophysiology:"http://schema.org/pathophysiology",pattern:"http://schema.org/pattern",payload:"http://schema.org/payload",paymentAccepted:"http://schema.org/paymentAccepted",paymentDue:"http://schema.org/paymentDue",paymentMethod:"http://schema.org/paymentMethod",paymentMethodId:"http://schema.org/paymentMethodId",paymentStatus:"http://schema.org/paymentStatus",paymentUrl:"http://schema.org/paymentUrl",penciler:"http://schema.org/penciler",percentile10:"http://schema.org/percentile10",percentile25:"http://schema.org/percentile25",percentile75:"http://schema.org/percentile75",percentile90:"http://schema.org/percentile90",performerIn:"http://schema.org/performerIn",performers:"http://schema.org/performers",permissionType:"http://schema.org/permissionType",permissions:"http://schema.org/permissions",permitAudience:"http://schema.org/permitAudience",permittedUsage:"http://schema.org/permittedUsage",petsAllowed:"http://schema.org/petsAllowed",phoneticText:"http://schema.org/phoneticText",photos:"http://schema.org/photos",physicalRequirement:"http://schema.org/physicalRequirement",physiologicalBenefits:"http://schema.org/physiologicalBenefits",pickupLocation:"http://schema.org/pickupLocation",pickupTime:"http://schema.org/pickupTime",playMode:"http://schema.org/playMode",playerType:"http://schema.org/playerType",playersOnline:"http://schema.org/playersOnline",polygon:"http://schema.org/polygon",populationType:"http://schema.org/populationType",positiveNotes:"http://schema.org/positiveNotes",possibleComplication:"http://schema.org/possibleComplication",possibleTreatment:"http://schema.org/possibleTreatment",postOfficeBoxNumber:"http://schema.org/postOfficeBoxNumber",postOp:"http://schema.org/postOp",postalCode:"http://schema.org/postalCode",postalCodeBegin:"http://schema.org/postalCodeBegin",postalCodeEnd:"http://schema.org/postalCodeEnd",postalCodePrefix:"http://schema.org/postalCodePrefix",postalCodeRange:"http://schema.org/postalCodeRange",potentialAction:"http://schema.org/potentialAction",potentialUse:"http://schema.org/potentialUse",preOp:"http://schema.org/preOp",predecessorOf:"http://schema.org/predecessorOf",pregnancyCategory:"http://schema.org/pregnancyCategory",pregnancyWarning:"http://schema.org/pregnancyWarning",prepTime:"http://schema.org/prepTime",preparation:"http://schema.org/preparation",prescribingInfo:"http://schema.org/prescribingInfo",prescriptionStatus:"http://schema.org/prescriptionStatus",previousItem:"http://schema.org/previousItem",previousStartDate:"http://schema.org/previousStartDate",price:"http://schema.org/price",priceComponent:"http://schema.org/priceComponent",priceComponentType:"http://schema.org/priceComponentType",priceCurrency:"http://schema.org/priceCurrency",priceRange:"http://schema.org/priceRange",priceSpecification:"http://schema.org/priceSpecification",priceType:"http://schema.org/priceType",priceValidUntil:"http://schema.org/priceValidUntil",primaryImageOfPage:"http://schema.org/primaryImageOfPage",primaryPrevention:"http://schema.org/primaryPrevention",printColumn:"http://schema.org/printColumn",printEdition:"http://schema.org/printEdition",printPage:"http://schema.org/printPage",printSection:"http://schema.org/printSection",procedure:"http://schema.org/procedure",procedureType:"http://schema.org/procedureType",processingTime:"http://schema.org/processingTime",processorRequirements:"http://schema.org/processorRequirements",producer:"http://schema.org/producer",produces:"http://schema.org/produces",productGroupID:"http://schema.org/productGroupID",productID:"http://schema.org/productID",productReturnDays:"http://schema.org/productReturnDays",productReturnLink:"http://schema.org/productReturnLink",productSupported:"http://schema.org/productSupported",productionCompany:"http://schema.org/productionCompany",productionDate:"http://schema.org/productionDate",proficiencyLevel:"http://schema.org/proficiencyLevel",programMembershipUsed:"http://schema.org/programMembershipUsed",programName:"http://schema.org/programName",programPrerequisites:"http://schema.org/programPrerequisites",programType:"http://schema.org/programType",programmingLanguage:"http://schema.org/programmingLanguage",programmingModel:"http://schema.org/programmingModel",propertyID:"http://schema.org/propertyID",proprietaryName:"http://schema.org/proprietaryName",proteinContent:"http://schema.org/proteinContent",providerMobility:"http://schema.org/providerMobility",providesService:"http://schema.org/providesService",publicAccess:"http://schema.org/publicAccess",publicTransportClosuresInfo:"http://schema.org/publicTransportClosuresInfo",publication:"http://schema.org/publication",publicationType:"http://schema.org/publicationType",publishedBy:"http://schema.org/publishedBy",publishedOn:"http://schema.org/publishedOn",publisher:"http://schema.org/publisher",publisherImprint:"http://schema.org/publisherImprint",purchaseDate:"http://schema.org/purchaseDate",qualifications:"http://schema.org/qualifications",quarantineGuidelines:"http://schema.org/quarantineGuidelines",query:"http://schema.org/query",quest:"http://schema.org/quest",question:"http://schema.org/question",rangeIncludes:"http://schema.org/rangeIncludes",ratingCount:"http://schema.org/ratingCount",ratingExplanation:"http://schema.org/ratingExplanation",ratingValue:"http://schema.org/ratingValue",readBy:"http://schema.org/readBy",readonlyValue:"http://schema.org/readonlyValue",realEstateAgent:"http://schema.org/realEstateAgent",recipe:"http://schema.org/recipe",recipeCategory:"http://schema.org/recipeCategory",recipeCuisine:"http://schema.org/recipeCuisine",recipeInstructions:"http://schema.org/recipeInstructions",recipeYield:"http://schema.org/recipeYield",recognizedBy:"http://schema.org/recognizedBy",recognizingAuthority:"http://schema.org/recognizingAuthority",recommendationStrength:"http://schema.org/recommendationStrength",recommendedIntake:"http://schema.org/recommendedIntake",recordLabel:"http://schema.org/recordLabel",recourseLoan:"http://schema.org/recourseLoan",referenceQuantity:"http://schema.org/referenceQuantity",referencesOrder:"http://schema.org/referencesOrder",refundType:"http://schema.org/refundType",regionDrained:"http://schema.org/regionDrained",regionsAllowed:"http://schema.org/regionsAllowed",relatedAnatomy:"http://schema.org/relatedAnatomy",relatedCondition:"http://schema.org/relatedCondition",relatedDrug:"http://schema.org/relatedDrug",relatedLink:"http://schema.org/relatedLink",relatedStructure:"http://schema.org/relatedStructure",relatedTherapy:"http://schema.org/relatedTherapy",relatedTo:"http://schema.org/relatedTo",releaseDate:"http://schema.org/releaseDate",releaseNotes:"http://schema.org/releaseNotes",releasedEvent:"http://schema.org/releasedEvent",relevantOccupation:"http://schema.org/relevantOccupation",relevantSpecialty:"http://schema.org/relevantSpecialty",remainingAttendeeCapacity:"http://schema.org/remainingAttendeeCapacity",renegotiableLoan:"http://schema.org/renegotiableLoan",repeatCount:"http://schema.org/repeatCount",repeatFrequency:"http://schema.org/repeatFrequency",repetitions:"http://schema.org/repetitions",replacee:"http://schema.org/replacee",replacer:"http://schema.org/replacer",replyToUrl:"http://schema.org/replyToUrl",reportNumber:"http://schema.org/reportNumber",representativeOfPage:"http://schema.org/representativeOfPage",requiredCollateral:"http://schema.org/requiredCollateral",requiredGender:"http://schema.org/requiredGender",requiredMaxAge:"http://schema.org/requiredMaxAge",requiredMinAge:"http://schema.org/requiredMinAge",requiredQuantity:"http://schema.org/requiredQuantity",requirements:"http://schema.org/requirements",requiresSubscription:"http://schema.org/requiresSubscription",reservationFor:"http://schema.org/reservationFor",reservationId:"http://schema.org/reservationId",reservationStatus:"http://schema.org/reservationStatus",reservedTicket:"http://schema.org/reservedTicket",responsibilities:"http://schema.org/responsibilities",restPeriods:"http://schema.org/restPeriods",restockingFee:"http://schema.org/restockingFee",resultComment:"http://schema.org/resultComment",resultReview:"http://schema.org/resultReview",returnFees:"http://schema.org/returnFees",returnLabelSource:"http://schema.org/returnLabelSource",returnMethod:"http://schema.org/returnMethod",returnPolicyCategory:"http://schema.org/returnPolicyCategory",returnPolicyCountry:"http://schema.org/returnPolicyCountry",returnPolicySeasonalOverride:"http://schema.org/returnPolicySeasonalOverride",returnShippingFeesAmount:"http://schema.org/returnShippingFeesAmount",reviewAspect:"http://schema.org/reviewAspect",reviewBody:"http://schema.org/reviewBody",reviewCount:"http://schema.org/reviewCount",reviewRating:"http://schema.org/reviewRating",reviewedBy:"http://schema.org/reviewedBy",reviews:"http://schema.org/reviews",riskFactor:"http://schema.org/riskFactor",risks:"http://schema.org/risks",roofLoad:"http://schema.org/roofLoad",rsvpResponse:"http://schema.org/rsvpResponse",runsTo:"http://schema.org/runsTo",runtime:"http://schema.org/runtime",rxcui:"http://schema.org/rxcui",safetyConsideration:"http://schema.org/safetyConsideration",salaryCurrency:"http://schema.org/salaryCurrency",salaryUponCompletion:"http://schema.org/salaryUponCompletion",sameAs:"http://schema.org/sameAs",sampleType:"http://schema.org/sampleType",saturatedFatContent:"http://schema.org/saturatedFatContent",scheduleTimezone:"http://schema.org/scheduleTimezone",scheduledPaymentDate:"http://schema.org/scheduledPaymentDate",scheduledTime:"http://schema.org/scheduledTime",schemaVersion:"http://schema.org/schemaVersion",schoolClosuresInfo:"http://schema.org/schoolClosuresInfo",screenCount:"http://schema.org/screenCount",screenshot:"http://schema.org/screenshot",sdDatePublished:"http://schema.org/sdDatePublished",sdLicense:"http://schema.org/sdLicense",sdPublisher:"http://schema.org/sdPublisher",seasonNumber:"http://schema.org/seasonNumber",seasons:"http://schema.org/seasons",seatNumber:"http://schema.org/seatNumber",seatRow:"http://schema.org/seatRow",seatSection:"http://schema.org/seatSection",seatingCapacity:"http://schema.org/seatingCapacity",seatingType:"http://schema.org/seatingType",secondaryPrevention:"http://schema.org/secondaryPrevention",securityClearanceRequirement:"http://schema.org/securityClearanceRequirement",securityScreening:"http://schema.org/securityScreening",seeks:"http://schema.org/seeks",sender:"http://schema.org/sender",sensoryRequirement:"http://schema.org/sensoryRequirement",sensoryUnit:"http://schema.org/sensoryUnit",seriousAdverseOutcome:"http://schema.org/seriousAdverseOutcome",serverStatus:"http://schema.org/serverStatus",servesCuisine:"http://schema.org/servesCuisine",serviceAudience:"http://schema.org/serviceAudience",serviceLocation:"http://schema.org/serviceLocation",serviceOperator:"http://schema.org/serviceOperator",servicePhone:"http://schema.org/servicePhone",servicePostalAddress:"http://schema.org/servicePostalAddress",serviceSmsNumber:"http://schema.org/serviceSmsNumber",serviceType:"http://schema.org/serviceType",serviceUrl:"http://schema.org/serviceUrl",servingSize:"http://schema.org/servingSize",sha256:"http://schema.org/sha256",sharedContent:"http://schema.org/sharedContent",shippingDestination:"http://schema.org/shippingDestination",shippingDetails:"http://schema.org/shippingDetails",shippingLabel:"http://schema.org/shippingLabel",shippingOrigin:"http://schema.org/shippingOrigin",shippingRate:"http://schema.org/shippingRate",shippingSettingsLink:"http://schema.org/shippingSettingsLink",siblings:"http://schema.org/siblings",signDetected:"http://schema.org/signDetected",signOrSymptom:"http://schema.org/signOrSymptom",significance:"http://schema.org/significance",significantLinks:"http://schema.org/significantLinks",size:"http://schema.org/size",sizeGroup:"http://schema.org/sizeGroup",sizeSystem:"http://schema.org/sizeSystem",skills:"http://schema.org/skills",sku:"http://schema.org/sku",slogan:"http://schema.org/slogan",smiles:"http://schema.org/smiles",smokingAllowed:"http://schema.org/smokingAllowed",sodiumContent:"http://schema.org/sodiumContent",softwareAddOn:"http://schema.org/softwareAddOn",softwareHelp:"http://schema.org/softwareHelp",softwareVersion:"http://schema.org/softwareVersion",sourceOrganization:"http://schema.org/sourceOrganization",sourcedFrom:"http://schema.org/sourcedFrom",spatial:"http://schema.org/spatial",speakable:"http://schema.org/speakable",specialCommitments:"http://schema.org/specialCommitments",specialOpeningHoursSpecification:"http://schema.org/specialOpeningHoursSpecification",specialty:"http://schema.org/specialty",speechToTextMarkup:"http://schema.org/speechToTextMarkup",speed:"http://schema.org/speed",spokenByCharacter:"http://schema.org/spokenByCharacter",sport:"http://schema.org/sport",sportsActivityLocation:"http://schema.org/sportsActivityLocation",sportsEvent:"http://schema.org/sportsEvent",sportsTeam:"http://schema.org/sportsTeam",spouse:"http://schema.org/spouse",stage:"http://schema.org/stage",stageAsNumber:"http://schema.org/stageAsNumber",starRating:"http://schema.org/starRating",startDate:"http://schema.org/startDate",startOffset:"http://schema.org/startOffset",startTime:"http://schema.org/startTime",status:"http://schema.org/status",steeringPosition:"http://schema.org/steeringPosition",stepValue:"http://schema.org/stepValue",steps:"http://schema.org/steps",storageRequirements:"http://schema.org/storageRequirements",streetAddress:"http://schema.org/streetAddress",strengthUnit:"http://schema.org/strengthUnit",strengthValue:"http://schema.org/strengthValue",structuralClass:"http://schema.org/structuralClass",study:"http://schema.org/study",studyDesign:"http://schema.org/studyDesign",studyLocation:"http://schema.org/studyLocation",studySubject:"http://schema.org/studySubject",stupidProperty:"http://schema.org/stupidProperty",subEvents:"http://schema.org/subEvents",subReservation:"http://schema.org/subReservation",subStageSuffix:"http://schema.org/subStageSuffix",subStructure:"http://schema.org/subStructure",subTest:"http://schema.org/subTest",subtitleLanguage:"http://schema.org/subtitleLanguage",successorOf:"http://schema.org/successorOf",sugarContent:"http://schema.org/sugarContent",suggestedAge:"http://schema.org/suggestedAge",suggestedGender:"http://schema.org/suggestedGender",suggestedMaxAge:"http://schema.org/suggestedMaxAge",suggestedMeasurement:"http://schema.org/suggestedMeasurement",suggestedMinAge:"http://schema.org/suggestedMinAge",suitableForDiet:"http://schema.org/suitableForDiet",supersededBy:"http://schema.org/supersededBy",supplyTo:"http://schema.org/supplyTo",supportingData:"http://schema.org/supportingData",surface:"http://schema.org/surface",target:"http://schema.org/target",targetDescription:"http://schema.org/targetDescription",targetName:"http://schema.org/targetName",targetPlatform:"http://schema.org/targetPlatform",targetPopulation:"http://schema.org/targetPopulation",targetProduct:"http://schema.org/targetProduct",targetUrl:"http://schema.org/targetUrl",taxID:"http://schema.org/taxID",taxonRank:"http://schema.org/taxonRank",taxonomicRange:"http://schema.org/taxonomicRange",teaches:"http://schema.org/teaches",telephone:"http://schema.org/telephone",temporal:"http://schema.org/temporal",termDuration:"http://schema.org/termDuration",termsOfService:"http://schema.org/termsOfService",termsPerYear:"http://schema.org/termsPerYear",text:"http://schema.org/text",textValue:"http://schema.org/textValue",thumbnail:"http://schema.org/thumbnail",thumbnailUrl:"http://schema.org/thumbnailUrl",tickerSymbol:"http://schema.org/tickerSymbol",ticketNumber:"http://schema.org/ticketNumber",ticketToken:"http://schema.org/ticketToken",ticketedSeat:"http://schema.org/ticketedSeat",timeOfDay:"http://schema.org/timeOfDay",timeRequired:"http://schema.org/timeRequired",timeToComplete:"http://schema.org/timeToComplete",tissueSample:"http://schema.org/tissueSample",title:"http://schema.org/title",titleEIDR:"http://schema.org/titleEIDR",toLocation:"http://schema.org/toLocation",toRecipient:"http://schema.org/toRecipient",tocContinuation:"http://schema.org/tocContinuation",tocEntry:"http://schema.org/tocEntry",tongueWeight:"http://schema.org/tongueWeight",tool:"http://schema.org/tool",torque:"http://schema.org/torque",totalJobOpenings:"http://schema.org/totalJobOpenings",totalPaymentDue:"http://schema.org/totalPaymentDue",totalPrice:"http://schema.org/totalPrice",totalTime:"http://schema.org/totalTime",tourBookingPage:"http://schema.org/tourBookingPage",touristType:"http://schema.org/touristType",trackingNumber:"http://schema.org/trackingNumber",trackingUrl:"http://schema.org/trackingUrl",tracks:"http://schema.org/tracks",trailer:"http://schema.org/trailer",trailerWeight:"http://schema.org/trailerWeight",trainName:"http://schema.org/trainName",trainNumber:"http://schema.org/trainNumber",trainingSalary:"http://schema.org/trainingSalary",transFatContent:"http://schema.org/transFatContent",transcript:"http://schema.org/transcript",transitTime:"http://schema.org/transitTime",transitTimeLabel:"http://schema.org/transitTimeLabel",translator:"http://schema.org/translator",transmissionMethod:"http://schema.org/transmissionMethod",travelBans:"http://schema.org/travelBans",trialDesign:"http://schema.org/trialDesign",tributary:"http://schema.org/tributary",typeOfBed:"http://schema.org/typeOfBed",typeOfGood:"http://schema.org/typeOfGood",typicalAgeRange:"http://schema.org/typicalAgeRange",typicalCreditsPerTerm:"http://schema.org/typicalCreditsPerTerm",typicalTest:"http://schema.org/typicalTest",underName:"http://schema.org/underName",unitCode:"http://schema.org/unitCode",unitText:"http://schema.org/unitText",unnamedSourcesPolicy:"http://schema.org/unnamedSourcesPolicy",unsaturatedFatContent:"http://schema.org/unsaturatedFatContent",uploadDate:"http://schema.org/uploadDate",upvoteCount:"http://schema.org/upvoteCount",url:"http://schema.org/url",urlTemplate:"http://schema.org/urlTemplate",usedToDiagnose:"http://schema.org/usedToDiagnose",userInteractionCount:"http://schema.org/userInteractionCount",usesDevice:"http://schema.org/usesDevice",usesHealthPlanIdStandard:"http://schema.org/usesHealthPlanIdStandard",utterances:"http://schema.org/utterances",validFor:"http://schema.org/validFor",validFrom:"http://schema.org/validFrom",validIn:"http://schema.org/validIn",validThrough:"http://schema.org/validThrough",validUntil:"http://schema.org/validUntil",value:"http://schema.org/value",valueAddedTaxIncluded:"http://schema.org/valueAddedTaxIncluded",valueMaxLength:"http://schema.org/valueMaxLength",valueMinLength:"http://schema.org/valueMinLength",valueName:"http://schema.org/valueName",valuePattern:"http://schema.org/valuePattern",valueReference:"http://schema.org/valueReference",valueRequired:"http://schema.org/valueRequired",variableMeasured:"http://schema.org/variableMeasured",variablesMeasured:"http://schema.org/variablesMeasured",variantCover:"http://schema.org/variantCover",variesBy:"http://schema.org/variesBy",vatID:"http://schema.org/vatID",vehicleConfiguration:"http://schema.org/vehicleConfiguration",vehicleEngine:"http://schema.org/vehicleEngine",vehicleIdentificationNumber:"http://schema.org/vehicleIdentificationNumber",vehicleInteriorColor:"http://schema.org/vehicleInteriorColor",vehicleInteriorType:"http://schema.org/vehicleInteriorType",vehicleModelDate:"http://schema.org/vehicleModelDate",vehicleSeatingCapacity:"http://schema.org/vehicleSeatingCapacity",vehicleSpecialUsage:"http://schema.org/vehicleSpecialUsage",vehicleTransmission:"http://schema.org/vehicleTransmission",vendor:"http://schema.org/vendor",verificationFactCheckingPolicy:"http://schema.org/verificationFactCheckingPolicy",version:"http://schema.org/version",video:"http://schema.org/video",videoFormat:"http://schema.org/videoFormat",videoFrameSize:"http://schema.org/videoFrameSize",videoQuality:"http://schema.org/videoQuality",volumeNumber:"http://schema.org/volumeNumber",warning:"http://schema.org/warning",warrantyPromise:"http://schema.org/warrantyPromise",warrantyScope:"http://schema.org/warrantyScope",webCheckinTime:"http://schema.org/webCheckinTime",webFeed:"http://schema.org/webFeed",weight:"http://schema.org/weight",weightTotal:"http://schema.org/weightTotal",wheelbase:"http://schema.org/wheelbase",width:"http://schema.org/width",winner:"http://schema.org/winner",wordCount:"http://schema.org/wordCount",workHours:"http://schema.org/workHours",workLocation:"http://schema.org/workLocation",workPerformed:"http://schema.org/workPerformed",workPresented:"http://schema.org/workPresented",workload:"http://schema.org/workload",worksFor:"http://schema.org/worksFor",worstRating:"http://schema.org/worstRating",xpath:"http://schema.org/xpath",yearBuilt:"http://schema.org/yearBuilt",yearlyRevenue:"http://schema.org/yearlyRevenue",yearsInOperation:"http://schema.org/yearsInOperation",actionApplication:"http://schema.org/actionApplication",actionOption:"http://schema.org/actionOption",album:"http://schema.org/album",albumRelease:"http://schema.org/albumRelease",alternateName:"http://schema.org/alternateName",alumni:"http://schema.org/alumni",alumniOf:"http://schema.org/alumniOf",archiveHeld:"http://schema.org/archiveHeld",arterialBranch:"http://schema.org/arterialBranch",artworkSurface:"http://schema.org/artworkSurface",attendee:"http://schema.org/attendee",audience:"http://schema.org/audience",availableOnDevice:"http://schema.org/availableOnDevice",award:"http://schema.org/award",blogPost:"http://schema.org/blogPost",broker:"http://schema.org/broker",caption:"http://schema.org/caption",category:"http://schema.org/category",childTaxon:"http://schema.org/childTaxon",clinicalPharmacology:"http://schema.org/clinicalPharmacology",codeSampleType:"http://schema.org/codeSampleType",colleague:"http://schema.org/colleague",contactPoint:"http://schema.org/contactPoint",containsPlace:"http://schema.org/containsPlace",containsSeason:"http://schema.org/containsSeason",contentLocation:"http://schema.org/contentLocation",creator:"http://schema.org/creator",dataset:"http://schema.org/dataset",dateCreated:"http://schema.org/dateCreated",director:"http://schema.org/director",duration:"http://schema.org/duration",employee:"http://schema.org/employee",encodesBioChemEntity:"http://schema.org/encodesBioChemEntity",encodesCreativeWork:"http://schema.org/encodesCreativeWork",encodingFormat:"http://schema.org/encodingFormat",episode:"http://schema.org/episode",event:"http://schema.org/event",exampleOfWork:"http://schema.org/exampleOfWork",executableLibraryName:"http://schema.org/executableLibraryName",exerciseCourse:"http://schema.org/exerciseCourse",founder:"http://schema.org/founder",frequency:"http://schema.org/frequency",fundedItem:"http://schema.org/fundedItem",funding:"http://schema.org/funding",game:"http://schema.org/game",gameServer:"http://schema.org/gameServer",genre:"http://schema.org/genre",hasBioChemEntityPart:"http://schema.org/hasBioChemEntityPart",hasBroadcastChannel:"http://schema.org/hasBroadcastChannel",hasDefinedTerm:"http://schema.org/hasDefinedTerm",hasMenu:"http://schema.org/hasMenu",hasMerchantReturnPolicy:"http://schema.org/hasMerchantReturnPolicy",hasVariant:"http://schema.org/hasVariant",holdingArchive:"http://schema.org/holdingArchive",inDefinedTermSet:"http://schema.org/inDefinedTermSet",inLanguage:"http://schema.org/inLanguage",incentiveCompensation:"http://schema.org/incentiveCompensation",interactionStatistic:"http://schema.org/interactionStatistic",isAccessibleForFree:"http://schema.org/isAccessibleForFree",isBasedOn:"http://schema.org/isBasedOn",isEncodedByBioChemEntity:"http://schema.org/isEncodedByBioChemEntity",isPartOfBioChemEntity:"http://schema.org/isPartOfBioChemEntity",isVariantOf:"http://schema.org/isVariantOf",itemOffered:"http://schema.org/itemOffered",jobBenefits:"http://schema.org/jobBenefits",jurisdiction:"http://schema.org/jurisdiction",legislationApplies:"http://schema.org/legislationApplies",mainContentOfPage:"http://schema.org/mainContentOfPage",mainEntity:"http://schema.org/mainEntity",mainEntityOfPage:"http://schema.org/mainEntityOfPage",makesOffer:"http://schema.org/makesOffer",merchantReturnDays:"http://schema.org/merchantReturnDays",merchantReturnLink:"http://schema.org/merchantReturnLink",offeredBy:"http://schema.org/offeredBy",offers:"http://schema.org/offers",parent:"http://schema.org/parent",parentTaxon:"http://schema.org/parentTaxon",partOfSeries:"http://schema.org/partOfSeries",partOfTrip:"http://schema.org/partOfTrip",paymentDueDate:"http://schema.org/paymentDueDate",performTime:"http://schema.org/performTime",performer:"http://schema.org/performer",photo:"http://schema.org/photo",provider:"http://schema.org/provider",providesBroadcastService:"http://schema.org/providesBroadcastService",recipeIngredient:"http://schema.org/recipeIngredient",recordedAs:"http://schema.org/recordedAs",recordedAt:"http://schema.org/recordedAt",recordedIn:"http://schema.org/recordedIn",recordingOf:"http://schema.org/recordingOf",releaseOf:"http://schema.org/releaseOf",review:"http://schema.org/review",roleName:"http://schema.org/roleName",runtimePlatform:"http://schema.org/runtimePlatform",season:"http://schema.org/season",serialNumber:"http://schema.org/serialNumber",serviceArea:"http://schema.org/serviceArea",serviceOutput:"http://schema.org/serviceOutput",sibling:"http://schema.org/sibling",significantLink:"http://schema.org/significantLink",softwareRequirements:"http://schema.org/softwareRequirements",sponsor:"http://schema.org/sponsor",subOrganization:"http://schema.org/subOrganization",subTrip:"http://schema.org/subTrip",subjectOf:"http://schema.org/subjectOf",suggestedAnswer:"http://schema.org/suggestedAnswer",superEvent:"http://schema.org/superEvent",targetCollection:"http://schema.org/targetCollection",temporalCoverage:"http://schema.org/temporalCoverage",termCode:"http://schema.org/termCode",track:"http://schema.org/track",translationOfWork:"http://schema.org/translationOfWork",usageInfo:"http://schema.org/usageInfo",warranty:"http://schema.org/warranty",workTranslation:"http://schema.org/workTranslation",yield__workaround:"http://schema.org/yield",about:"http://schema.org/about",actor:"http://schema.org/actor",associatedReview:"http://schema.org/associatedReview",competitor:"http://schema.org/competitor",containedInPlace:"http://schema.org/containedInPlace",encoding:"http://schema.org/encoding",hasMap:"http://schema.org/hasMap",material:"http://schema.org/material",memberOf:"http://schema.org/memberOf",parentOrganization:"http://schema.org/parentOrganization",result:"http://schema.org/result",seller:"http://schema.org/seller",spatialCoverage:"http://schema.org/spatialCoverage",step:"http://schema.org/step",subEvent:"http://schema.org/subEvent",supply:"http://schema.org/supply",workFeatured:"http://schema.org/workFeatured",areaServed:"http://schema.org/areaServed",image:"http://schema.org/image",includedInDataCatalog:"http://schema.org/includedInDataCatalog",member:"http://schema.org/member",recipient:"http://schema.org/recipient",workExample:"http://schema.org/workExample",description:"http://schema.org/description",gtin:"http://schema.org/gtin",hasRepresentation:"http://schema.org/hasRepresentation",hasPart:"http://schema.org/hasPart",position:"http://schema.org/position",isPartOf:"http://schema.org/isPartOf",instrument:"http://schema.org/instrument",object:"http://schema.org/object",publishingPrinciples:"http://schema.org/publishingPrinciples",location:"http://schema.org/location",participant:"http://schema.org/participant",identifier:"http://schema.org/identifier"}),sc=Object.freeze({AMRadioChannel:"https://schema.org/AMRadioChannel",APIReference:"https://schema.org/APIReference",AboutPage:"https://schema.org/AboutPage",AcceptAction:"https://schema.org/AcceptAction",Accommodation:"https://schema.org/Accommodation",AccountingService:"https://schema.org/AccountingService",AchieveAction:"https://schema.org/AchieveAction",Action:"https://schema.org/Action",ActionAccessSpecification:"https://schema.org/ActionAccessSpecification",ActionStatusType:"https://schema.org/ActionStatusType",ActivateAction:"https://schema.org/ActivateAction",AddAction:"https://schema.org/AddAction",AdministrativeArea:"https://schema.org/AdministrativeArea",AdultEntertainment:"https://schema.org/AdultEntertainment",AdultOrientedEnumeration:"https://schema.org/AdultOrientedEnumeration",AdvertiserContentArticle:"https://schema.org/AdvertiserContentArticle",AggregateOffer:"https://schema.org/AggregateOffer",AggregateRating:"https://schema.org/AggregateRating",AgreeAction:"https://schema.org/AgreeAction",Airline:"https://schema.org/Airline",Airport:"https://schema.org/Airport",AlignmentObject:"https://schema.org/AlignmentObject",AllocateAction:"https://schema.org/AllocateAction",AmpStory:"https://schema.org/AmpStory",AmusementPark:"https://schema.org/AmusementPark",AnalysisNewsArticle:"https://schema.org/AnalysisNewsArticle",AnatomicalStructure:"https://schema.org/AnatomicalStructure",AnatomicalSystem:"https://schema.org/AnatomicalSystem",AnimalShelter:"https://schema.org/AnimalShelter",Answer:"https://schema.org/Answer",Apartment:"https://schema.org/Apartment",ApartmentComplex:"https://schema.org/ApartmentComplex",AppendAction:"https://schema.org/AppendAction",ApplyAction:"https://schema.org/ApplyAction",ApprovedIndication:"https://schema.org/ApprovedIndication",Aquarium:"https://schema.org/Aquarium",ArchiveComponent:"https://schema.org/ArchiveComponent",ArchiveOrganization:"https://schema.org/ArchiveOrganization",ArriveAction:"https://schema.org/ArriveAction",ArtGallery:"https://schema.org/ArtGallery",Artery:"https://schema.org/Artery",Article:"https://schema.org/Article",AskAction:"https://schema.org/AskAction",AskPublicNewsArticle:"https://schema.org/AskPublicNewsArticle",AssessAction:"https://schema.org/AssessAction",AssignAction:"https://schema.org/AssignAction",Atlas:"https://schema.org/Atlas",Attorney:"https://schema.org/Attorney",Audience:"https://schema.org/Audience",AudioObject:"https://schema.org/AudioObject",AudioObjectSnapshot:"https://schema.org/AudioObjectSnapshot",Audiobook:"https://schema.org/Audiobook",AuthorizeAction:"https://schema.org/AuthorizeAction",AutoBodyShop:"https://schema.org/AutoBodyShop",AutoDealer:"https://schema.org/AutoDealer",AutoPartsStore:"https://schema.org/AutoPartsStore",AutoRental:"https://schema.org/AutoRental",AutoRepair:"https://schema.org/AutoRepair",AutoWash:"https://schema.org/AutoWash",AutomatedTeller:"https://schema.org/AutomatedTeller",AutomotiveBusiness:"https://schema.org/AutomotiveBusiness",BackgroundNewsArticle:"https://schema.org/BackgroundNewsArticle",Bakery:"https://schema.org/Bakery",BankAccount:"https://schema.org/BankAccount",BankOrCreditUnion:"https://schema.org/BankOrCreditUnion",BarOrPub:"https://schema.org/BarOrPub",Barcode:"https://schema.org/Barcode",Beach:"https://schema.org/Beach",BeautySalon:"https://schema.org/BeautySalon",BedAndBreakfast:"https://schema.org/BedAndBreakfast",BedDetails:"https://schema.org/BedDetails",BedType:"https://schema.org/BedType",BefriendAction:"https://schema.org/BefriendAction",BikeStore:"https://schema.org/BikeStore",BioChemEntity:"https://schema.org/BioChemEntity",Blog:"https://schema.org/Blog",BlogPosting:"https://schema.org/BlogPosting",BloodTest:"https://schema.org/BloodTest",BoardingPolicyType:"https://schema.org/BoardingPolicyType",BoatReservation:"https://schema.org/BoatReservation",BoatTerminal:"https://schema.org/BoatTerminal",BoatTrip:"https://schema.org/BoatTrip",BodyMeasurementTypeEnumeration:"https://schema.org/BodyMeasurementTypeEnumeration",BodyOfWater:"https://schema.org/BodyOfWater",Bone:"https://schema.org/Bone",Book:"https://schema.org/Book",BookFormatType:"https://schema.org/BookFormatType",BookSeries:"https://schema.org/BookSeries",BookStore:"https://schema.org/BookStore",BookmarkAction:"https://schema.org/BookmarkAction",Boolean__workaround:"https://schema.org/Boolean",BorrowAction:"https://schema.org/BorrowAction",BowlingAlley:"https://schema.org/BowlingAlley",BrainStructure:"https://schema.org/BrainStructure",Brand:"https://schema.org/Brand",BreadcrumbList:"https://schema.org/BreadcrumbList",Brewery:"https://schema.org/Brewery",Bridge:"https://schema.org/Bridge",BroadcastChannel:"https://schema.org/BroadcastChannel",BroadcastEvent:"https://schema.org/BroadcastEvent",BroadcastFrequencySpecification:"https://schema.org/BroadcastFrequencySpecification",BroadcastService:"https://schema.org/BroadcastService",BrokerageAccount:"https://schema.org/BrokerageAccount",BuddhistTemple:"https://schema.org/BuddhistTemple",BusOrCoach:"https://schema.org/BusOrCoach",BusReservation:"https://schema.org/BusReservation",BusStation:"https://schema.org/BusStation",BusStop:"https://schema.org/BusStop",BusTrip:"https://schema.org/BusTrip",BusinessAudience:"https://schema.org/BusinessAudience",BusinessEntityType:"https://schema.org/BusinessEntityType",BusinessEvent:"https://schema.org/BusinessEvent",BusinessFunction:"https://schema.org/BusinessFunction",BuyAction:"https://schema.org/BuyAction",CDCPMDRecord:"https://schema.org/CDCPMDRecord",CableOrSatelliteService:"https://schema.org/CableOrSatelliteService",CafeOrCoffeeShop:"https://schema.org/CafeOrCoffeeShop",Campground:"https://schema.org/Campground",CampingPitch:"https://schema.org/CampingPitch",Canal:"https://schema.org/Canal",CancelAction:"https://schema.org/CancelAction",Car:"https://schema.org/Car",CarUsageType:"https://schema.org/CarUsageType",Casino:"https://schema.org/Casino",CategoryCode:"https://schema.org/CategoryCode",CategoryCodeSet:"https://schema.org/CategoryCodeSet",CatholicChurch:"https://schema.org/CatholicChurch",Cemetery:"https://schema.org/Cemetery",Chapter:"https://schema.org/Chapter",CheckAction:"https://schema.org/CheckAction",CheckInAction:"https://schema.org/CheckInAction",CheckOutAction:"https://schema.org/CheckOutAction",CheckoutPage:"https://schema.org/CheckoutPage",ChemicalSubstance:"https://schema.org/ChemicalSubstance",ChildCare:"https://schema.org/ChildCare",ChildrensEvent:"https://schema.org/ChildrensEvent",ChooseAction:"https://schema.org/ChooseAction",Church:"https://schema.org/Church",City:"https://schema.org/City",CityHall:"https://schema.org/CityHall",CivicStructure:"https://schema.org/CivicStructure",Claim:"https://schema.org/Claim",ClaimReview:"https://schema.org/ClaimReview",Class:"https://schema.org/Class",Clip:"https://schema.org/Clip",ClothingStore:"https://schema.org/ClothingStore",Code:"https://schema.org/Code",Collection:"https://schema.org/Collection",CollectionPage:"https://schema.org/CollectionPage",CollegeOrUniversity:"https://schema.org/CollegeOrUniversity",ComedyClub:"https://schema.org/ComedyClub",ComedyEvent:"https://schema.org/ComedyEvent",ComicCoverArt:"https://schema.org/ComicCoverArt",ComicIssue:"https://schema.org/ComicIssue",ComicSeries:"https://schema.org/ComicSeries",ComicStory:"https://schema.org/ComicStory",Comment:"https://schema.org/Comment",CommentAction:"https://schema.org/CommentAction",CommunicateAction:"https://schema.org/CommunicateAction",CompleteDataFeed:"https://schema.org/CompleteDataFeed",CompoundPriceSpecification:"https://schema.org/CompoundPriceSpecification",ComputerLanguage:"https://schema.org/ComputerLanguage",ComputerStore:"https://schema.org/ComputerStore",ConfirmAction:"https://schema.org/ConfirmAction",Consortium:"https://schema.org/Consortium",ConsumeAction:"https://schema.org/ConsumeAction",ContactPage:"https://schema.org/ContactPage",ContactPoint:"https://schema.org/ContactPoint",ContactPointOption:"https://schema.org/ContactPointOption",Continent:"https://schema.org/Continent",ControlAction:"https://schema.org/ControlAction",ConvenienceStore:"https://schema.org/ConvenienceStore",Conversation:"https://schema.org/Conversation",CookAction:"https://schema.org/CookAction",Corporation:"https://schema.org/Corporation",CorrectionComment:"https://schema.org/CorrectionComment",Country:"https://schema.org/Country",Course:"https://schema.org/Course",CourseInstance:"https://schema.org/CourseInstance",Courthouse:"https://schema.org/Courthouse",CoverArt:"https://schema.org/CoverArt",CovidTestingFacility:"https://schema.org/CovidTestingFacility",CreateAction:"https://schema.org/CreateAction",CreativeWork:"https://schema.org/CreativeWork",CreativeWorkSeason:"https://schema.org/CreativeWorkSeason",CreativeWorkSeries:"https://schema.org/CreativeWorkSeries",CreditCard:"https://schema.org/CreditCard",Crematorium:"https://schema.org/Crematorium",CriticReview:"https://schema.org/CriticReview",CssSelectorType:"https://schema.org/CssSelectorType",CurrencyConversionService:"https://schema.org/CurrencyConversionService",DDxElement:"https://schema.org/DDxElement",DanceEvent:"https://schema.org/DanceEvent",DanceGroup:"https://schema.org/DanceGroup",DataCatalog:"https://schema.org/DataCatalog",DataDownload:"https://schema.org/DataDownload",DataFeed:"https://schema.org/DataFeed",DataFeedItem:"https://schema.org/DataFeedItem",DataType:"https://schema.org/DataType",Dataset:"https://schema.org/Dataset",Date__workaround:"https://schema.org/Date",DateTime:"https://schema.org/DateTime",DatedMoneySpecification:"https://schema.org/DatedMoneySpecification",DayOfWeek:"https://schema.org/DayOfWeek",DaySpa:"https://schema.org/DaySpa",DeactivateAction:"https://schema.org/DeactivateAction",DefenceEstablishment:"https://schema.org/DefenceEstablishment",DefinedRegion:"https://schema.org/DefinedRegion",DefinedTerm:"https://schema.org/DefinedTerm",DefinedTermSet:"https://schema.org/DefinedTermSet",DeleteAction:"https://schema.org/DeleteAction",DeliveryChargeSpecification:"https://schema.org/DeliveryChargeSpecification",DeliveryEvent:"https://schema.org/DeliveryEvent",DeliveryMethod:"https://schema.org/DeliveryMethod",DeliveryTimeSettings:"https://schema.org/DeliveryTimeSettings",Demand:"https://schema.org/Demand",Dentist:"https://schema.org/Dentist",DepartAction:"https://schema.org/DepartAction",DepartmentStore:"https://schema.org/DepartmentStore",DepositAccount:"https://schema.org/DepositAccount",DiagnosticLab:"https://schema.org/DiagnosticLab",DiagnosticProcedure:"https://schema.org/DiagnosticProcedure",Diet:"https://schema.org/Diet",DietarySupplement:"https://schema.org/DietarySupplement",DigitalDocument:"https://schema.org/DigitalDocument",DigitalDocumentPermission:"https://schema.org/DigitalDocumentPermission",DigitalDocumentPermissionType:"https://schema.org/DigitalDocumentPermissionType",DigitalPlatformEnumeration:"https://schema.org/DigitalPlatformEnumeration",DisagreeAction:"https://schema.org/DisagreeAction",DiscoverAction:"https://schema.org/DiscoverAction",DiscussionForumPosting:"https://schema.org/DiscussionForumPosting",DislikeAction:"https://schema.org/DislikeAction",Distance:"https://schema.org/Distance",Distillery:"https://schema.org/Distillery",DonateAction:"https://schema.org/DonateAction",DoseSchedule:"https://schema.org/DoseSchedule",DownloadAction:"https://schema.org/DownloadAction",DrawAction:"https://schema.org/DrawAction",Drawing:"https://schema.org/Drawing",DrinkAction:"https://schema.org/DrinkAction",DriveWheelConfigurationValue:"https://schema.org/DriveWheelConfigurationValue",Drug:"https://schema.org/Drug",DrugClass:"https://schema.org/DrugClass",DrugCost:"https://schema.org/DrugCost",DrugCostCategory:"https://schema.org/DrugCostCategory",DrugLegalStatus:"https://schema.org/DrugLegalStatus",DrugPregnancyCategory:"https://schema.org/DrugPregnancyCategory",DrugPrescriptionStatus:"https://schema.org/DrugPrescriptionStatus",DrugStrength:"https://schema.org/DrugStrength",DryCleaningOrLaundry:"https://schema.org/DryCleaningOrLaundry",Duration:"https://schema.org/Duration",EUEnergyEfficiencyEnumeration:"https://schema.org/EUEnergyEfficiencyEnumeration",EatAction:"https://schema.org/EatAction",EducationEvent:"https://schema.org/EducationEvent",EducationalAudience:"https://schema.org/EducationalAudience",EducationalOccupationalCredential:"https://schema.org/EducationalOccupationalCredential",EducationalOccupationalProgram:"https://schema.org/EducationalOccupationalProgram",EducationalOrganization:"https://schema.org/EducationalOrganization",Electrician:"https://schema.org/Electrician",ElectronicsStore:"https://schema.org/ElectronicsStore",ElementarySchool:"https://schema.org/ElementarySchool",EmailMessage:"https://schema.org/EmailMessage",Embassy:"https://schema.org/Embassy",EmergencyService:"https://schema.org/EmergencyService",EmployeeRole:"https://schema.org/EmployeeRole",EmployerAggregateRating:"https://schema.org/EmployerAggregateRating",EmployerReview:"https://schema.org/EmployerReview",EmploymentAgency:"https://schema.org/EmploymentAgency",EndorseAction:"https://schema.org/EndorseAction",EndorsementRating:"https://schema.org/EndorsementRating",Energy:"https://schema.org/Energy",EnergyConsumptionDetails:"https://schema.org/EnergyConsumptionDetails",EnergyEfficiencyEnumeration:"https://schema.org/EnergyEfficiencyEnumeration",EnergyStarEnergyEfficiencyEnumeration:"https://schema.org/EnergyStarEnergyEfficiencyEnumeration",EngineSpecification:"https://schema.org/EngineSpecification",EntertainmentBusiness:"https://schema.org/EntertainmentBusiness",EntryPoint:"https://schema.org/EntryPoint",Enumeration:"https://schema.org/Enumeration",Episode:"https://schema.org/Episode",Event:"https://schema.org/Event",EventAttendanceModeEnumeration:"https://schema.org/EventAttendanceModeEnumeration",EventReservation:"https://schema.org/EventReservation",EventSeries:"https://schema.org/EventSeries",EventStatusType:"https://schema.org/EventStatusType",EventVenue:"https://schema.org/EventVenue",ExchangeRateSpecification:"https://schema.org/ExchangeRateSpecification",ExerciseAction:"https://schema.org/ExerciseAction",ExerciseGym:"https://schema.org/ExerciseGym",ExercisePlan:"https://schema.org/ExercisePlan",ExhibitionEvent:"https://schema.org/ExhibitionEvent",FAQPage:"https://schema.org/FAQPage",FMRadioChannel:"https://schema.org/FMRadioChannel",FastFoodRestaurant:"https://schema.org/FastFoodRestaurant",Festival:"https://schema.org/Festival",FilmAction:"https://schema.org/FilmAction",FinancialProduct:"https://schema.org/FinancialProduct",FinancialService:"https://schema.org/FinancialService",FindAction:"https://schema.org/FindAction",FireStation:"https://schema.org/FireStation",Flight:"https://schema.org/Flight",FlightReservation:"https://schema.org/FlightReservation",Float:"https://schema.org/Float",FloorPlan:"https://schema.org/FloorPlan",Florist:"https://schema.org/Florist",FollowAction:"https://schema.org/FollowAction",FoodEstablishment:"https://schema.org/FoodEstablishment",FoodEstablishmentReservation:"https://schema.org/FoodEstablishmentReservation",FoodEvent:"https://schema.org/FoodEvent",FoodService:"https://schema.org/FoodService",FundingAgency:"https://schema.org/FundingAgency",FundingScheme:"https://schema.org/FundingScheme",FurnitureStore:"https://schema.org/FurnitureStore",Game:"https://schema.org/Game",GameAvailabilityEnumeration:"https://schema.org/GameAvailabilityEnumeration",GamePlayMode:"https://schema.org/GamePlayMode",GameServer:"https://schema.org/GameServer",GameServerStatus:"https://schema.org/GameServerStatus",GardenStore:"https://schema.org/GardenStore",GasStation:"https://schema.org/GasStation",GatedResidenceCommunity:"https://schema.org/GatedResidenceCommunity",GenderType:"https://schema.org/GenderType",Gene:"https://schema.org/Gene",GeneralContractor:"https://schema.org/GeneralContractor",GeoCircle:"https://schema.org/GeoCircle",GeoCoordinates:"https://schema.org/GeoCoordinates",GeoShape:"https://schema.org/GeoShape",GeospatialGeometry:"https://schema.org/GeospatialGeometry",GiveAction:"https://schema.org/GiveAction",GolfCourse:"https://schema.org/GolfCourse",GovernmentBenefitsType:"https://schema.org/GovernmentBenefitsType",GovernmentBuilding:"https://schema.org/GovernmentBuilding",GovernmentOffice:"https://schema.org/GovernmentOffice",GovernmentOrganization:"https://schema.org/GovernmentOrganization",GovernmentPermit:"https://schema.org/GovernmentPermit",GovernmentService:"https://schema.org/GovernmentService",Grant:"https://schema.org/Grant",GroceryStore:"https://schema.org/GroceryStore",Guide:"https://schema.org/Guide",HVACBusiness:"https://schema.org/HVACBusiness",Hackathon:"https://schema.org/Hackathon",HairSalon:"https://schema.org/HairSalon",HardwareStore:"https://schema.org/HardwareStore",HealthAndBeautyBusiness:"https://schema.org/HealthAndBeautyBusiness",HealthAspectEnumeration:"https://schema.org/HealthAspectEnumeration",HealthClub:"https://schema.org/HealthClub",HealthInsurancePlan:"https://schema.org/HealthInsurancePlan",HealthPlanCostSharingSpecification:"https://schema.org/HealthPlanCostSharingSpecification",HealthPlanFormulary:"https://schema.org/HealthPlanFormulary",HealthPlanNetwork:"https://schema.org/HealthPlanNetwork",HealthTopicContent:"https://schema.org/HealthTopicContent",HighSchool:"https://schema.org/HighSchool",HinduTemple:"https://schema.org/HinduTemple",HobbyShop:"https://schema.org/HobbyShop",HomeAndConstructionBusiness:"https://schema.org/HomeAndConstructionBusiness",HomeGoodsStore:"https://schema.org/HomeGoodsStore",Hospital:"https://schema.org/Hospital",Hostel:"https://schema.org/Hostel",Hotel:"https://schema.org/Hotel",HotelRoom:"https://schema.org/HotelRoom",House:"https://schema.org/House",HousePainter:"https://schema.org/HousePainter",HowTo:"https://schema.org/HowTo",HowToDirection:"https://schema.org/HowToDirection",HowToItem:"https://schema.org/HowToItem",HowToSection:"https://schema.org/HowToSection",HowToStep:"https://schema.org/HowToStep",HowToSupply:"https://schema.org/HowToSupply",HowToTip:"https://schema.org/HowToTip",HowToTool:"https://schema.org/HowToTool",HyperToc:"https://schema.org/HyperToc",HyperTocEntry:"https://schema.org/HyperTocEntry",IceCreamShop:"https://schema.org/IceCreamShop",IgnoreAction:"https://schema.org/IgnoreAction",ImageGallery:"https://schema.org/ImageGallery",ImageObject:"https://schema.org/ImageObject",ImageObjectSnapshot:"https://schema.org/ImageObjectSnapshot",ImagingTest:"https://schema.org/ImagingTest",IndividualProduct:"https://schema.org/IndividualProduct",InfectiousAgentClass:"https://schema.org/InfectiousAgentClass",InfectiousDisease:"https://schema.org/InfectiousDisease",InformAction:"https://schema.org/InformAction",InsertAction:"https://schema.org/InsertAction",InstallAction:"https://schema.org/InstallAction",InsuranceAgency:"https://schema.org/InsuranceAgency",Intangible:"https://schema.org/Intangible",Integer:"https://schema.org/Integer",InteractAction:"https://schema.org/InteractAction",InteractionCounter:"https://schema.org/InteractionCounter",InternetCafe:"https://schema.org/InternetCafe",InvestmentFund:"https://schema.org/InvestmentFund",InvestmentOrDeposit:"https://schema.org/InvestmentOrDeposit",InviteAction:"https://schema.org/InviteAction",Invoice:"https://schema.org/Invoice",ItemAvailability:"https://schema.org/ItemAvailability",ItemList:"https://schema.org/ItemList",ItemListOrderType:"https://schema.org/ItemListOrderType",ItemPage:"https://schema.org/ItemPage",JewelryStore:"https://schema.org/JewelryStore",JobPosting:"https://schema.org/JobPosting",JoinAction:"https://schema.org/JoinAction",Joint:"https://schema.org/Joint",LakeBodyOfWater:"https://schema.org/LakeBodyOfWater",Landform:"https://schema.org/Landform",LandmarksOrHistoricalBuildings:"https://schema.org/LandmarksOrHistoricalBuildings",Language:"https://schema.org/Language",LearningResource:"https://schema.org/LearningResource",LeaveAction:"https://schema.org/LeaveAction",LegalForceStatus:"https://schema.org/LegalForceStatus",LegalService:"https://schema.org/LegalService",LegalValueLevel:"https://schema.org/LegalValueLevel",Legislation:"https://schema.org/Legislation",LegislationObject:"https://schema.org/LegislationObject",LegislativeBuilding:"https://schema.org/LegislativeBuilding",LendAction:"https://schema.org/LendAction",Library:"https://schema.org/Library",LibrarySystem:"https://schema.org/LibrarySystem",LifestyleModification:"https://schema.org/LifestyleModification",Ligament:"https://schema.org/Ligament",LikeAction:"https://schema.org/LikeAction",LinkRole:"https://schema.org/LinkRole",LiquorStore:"https://schema.org/LiquorStore",ListItem:"https://schema.org/ListItem",ListenAction:"https://schema.org/ListenAction",LiteraryEvent:"https://schema.org/LiteraryEvent",LiveBlogPosting:"https://schema.org/LiveBlogPosting",LoanOrCredit:"https://schema.org/LoanOrCredit",LocalBusiness:"https://schema.org/LocalBusiness",LocationFeatureSpecification:"https://schema.org/LocationFeatureSpecification",Locksmith:"https://schema.org/Locksmith",LodgingBusiness:"https://schema.org/LodgingBusiness",LodgingReservation:"https://schema.org/LodgingReservation",LoseAction:"https://schema.org/LoseAction",LymphaticVessel:"https://schema.org/LymphaticVessel",Manuscript:"https://schema.org/Manuscript",Map__workaround:"https://schema.org/Map",MapCategoryType:"https://schema.org/MapCategoryType",MarryAction:"https://schema.org/MarryAction",Mass:"https://schema.org/Mass",MathSolver:"https://schema.org/MathSolver",MaximumDoseSchedule:"https://schema.org/MaximumDoseSchedule",MeasurementTypeEnumeration:"https://schema.org/MeasurementTypeEnumeration",MediaGallery:"https://schema.org/MediaGallery",MediaManipulationRatingEnumeration:"https://schema.org/MediaManipulationRatingEnumeration",MediaObject:"https://schema.org/MediaObject",MediaReview:"https://schema.org/MediaReview",MediaReviewItem:"https://schema.org/MediaReviewItem",MediaSubscription:"https://schema.org/MediaSubscription",MedicalAudience:"https://schema.org/MedicalAudience",MedicalAudienceType:"https://schema.org/MedicalAudienceType",MedicalBusiness:"https://schema.org/MedicalBusiness",MedicalCause:"https://schema.org/MedicalCause",MedicalClinic:"https://schema.org/MedicalClinic",MedicalCode:"https://schema.org/MedicalCode",MedicalCondition:"https://schema.org/MedicalCondition",MedicalConditionStage:"https://schema.org/MedicalConditionStage",MedicalContraindication:"https://schema.org/MedicalContraindication",MedicalDevice:"https://schema.org/MedicalDevice",MedicalDevicePurpose:"https://schema.org/MedicalDevicePurpose",MedicalEntity:"https://schema.org/MedicalEntity",MedicalEnumeration:"https://schema.org/MedicalEnumeration",MedicalEvidenceLevel:"https://schema.org/MedicalEvidenceLevel",MedicalGuideline:"https://schema.org/MedicalGuideline",MedicalGuidelineContraindication:"https://schema.org/MedicalGuidelineContraindication",MedicalGuidelineRecommendation:"https://schema.org/MedicalGuidelineRecommendation",MedicalImagingTechnique:"https://schema.org/MedicalImagingTechnique",MedicalIndication:"https://schema.org/MedicalIndication",MedicalIntangible:"https://schema.org/MedicalIntangible",MedicalObservationalStudy:"https://schema.org/MedicalObservationalStudy",MedicalObservationalStudyDesign:"https://schema.org/MedicalObservationalStudyDesign",MedicalOrganization:"https://schema.org/MedicalOrganization",MedicalProcedure:"https://schema.org/MedicalProcedure",MedicalProcedureType:"https://schema.org/MedicalProcedureType",MedicalRiskCalculator:"https://schema.org/MedicalRiskCalculator",MedicalRiskEstimator:"https://schema.org/MedicalRiskEstimator",MedicalRiskFactor:"https://schema.org/MedicalRiskFactor",MedicalRiskScore:"https://schema.org/MedicalRiskScore",MedicalScholarlyArticle:"https://schema.org/MedicalScholarlyArticle",MedicalSign:"https://schema.org/MedicalSign",MedicalSignOrSymptom:"https://schema.org/MedicalSignOrSymptom",MedicalSpecialty:"https://schema.org/MedicalSpecialty",MedicalStudy:"https://schema.org/MedicalStudy",MedicalStudyStatus:"https://schema.org/MedicalStudyStatus",MedicalSymptom:"https://schema.org/MedicalSymptom",MedicalTest:"https://schema.org/MedicalTest",MedicalTestPanel:"https://schema.org/MedicalTestPanel",MedicalTherapy:"https://schema.org/MedicalTherapy",MedicalTrial:"https://schema.org/MedicalTrial",MedicalTrialDesign:"https://schema.org/MedicalTrialDesign",MedicalWebPage:"https://schema.org/MedicalWebPage",MedicineSystem:"https://schema.org/MedicineSystem",MeetingRoom:"https://schema.org/MeetingRoom",MensClothingStore:"https://schema.org/MensClothingStore",Menu:"https://schema.org/Menu",MenuItem:"https://schema.org/MenuItem",MenuSection:"https://schema.org/MenuSection",MerchantReturnEnumeration:"https://schema.org/MerchantReturnEnumeration",MerchantReturnPolicy:"https://schema.org/MerchantReturnPolicy",MerchantReturnPolicySeasonalOverride:"https://schema.org/MerchantReturnPolicySeasonalOverride",Message:"https://schema.org/Message",MiddleSchool:"https://schema.org/MiddleSchool",MobileApplication:"https://schema.org/MobileApplication",MobilePhoneStore:"https://schema.org/MobilePhoneStore",MolecularEntity:"https://schema.org/MolecularEntity",MonetaryAmount:"https://schema.org/MonetaryAmount",MonetaryAmountDistribution:"https://schema.org/MonetaryAmountDistribution",MonetaryGrant:"https://schema.org/MonetaryGrant",MoneyTransfer:"https://schema.org/MoneyTransfer",MortgageLoan:"https://schema.org/MortgageLoan",Mosque:"https://schema.org/Mosque",Motel:"https://schema.org/Motel",Motorcycle:"https://schema.org/Motorcycle",MotorcycleDealer:"https://schema.org/MotorcycleDealer",MotorcycleRepair:"https://schema.org/MotorcycleRepair",MotorizedBicycle:"https://schema.org/MotorizedBicycle",Mountain:"https://schema.org/Mountain",MoveAction:"https://schema.org/MoveAction",Movie:"https://schema.org/Movie",MovieClip:"https://schema.org/MovieClip",MovieRentalStore:"https://schema.org/MovieRentalStore",MovieSeries:"https://schema.org/MovieSeries",MovieTheater:"https://schema.org/MovieTheater",MovingCompany:"https://schema.org/MovingCompany",Muscle:"https://schema.org/Muscle",Museum:"https://schema.org/Museum",MusicAlbum:"https://schema.org/MusicAlbum",MusicAlbumProductionType:"https://schema.org/MusicAlbumProductionType",MusicAlbumReleaseType:"https://schema.org/MusicAlbumReleaseType",MusicComposition:"https://schema.org/MusicComposition",MusicEvent:"https://schema.org/MusicEvent",MusicGroup:"https://schema.org/MusicGroup",MusicPlaylist:"https://schema.org/MusicPlaylist",MusicRecording:"https://schema.org/MusicRecording",MusicRelease:"https://schema.org/MusicRelease",MusicReleaseFormatType:"https://schema.org/MusicReleaseFormatType",MusicStore:"https://schema.org/MusicStore",MusicVenue:"https://schema.org/MusicVenue",MusicVideoObject:"https://schema.org/MusicVideoObject",NGO:"https://schema.org/NGO",NLNonprofitType:"https://schema.org/NLNonprofitType",NailSalon:"https://schema.org/NailSalon",Nerve:"https://schema.org/Nerve",NewsArticle:"https://schema.org/NewsArticle",NewsMediaOrganization:"https://schema.org/NewsMediaOrganization",Newspaper:"https://schema.org/Newspaper",NightClub:"https://schema.org/NightClub",NonprofitType:"https://schema.org/NonprofitType",Notary:"https://schema.org/Notary",NoteDigitalDocument:"https://schema.org/NoteDigitalDocument",Number__workaround:"https://schema.org/Number",NutritionInformation:"https://schema.org/NutritionInformation",Observation:"https://schema.org/Observation",Occupation:"https://schema.org/Occupation",OccupationalExperienceRequirements:"https://schema.org/OccupationalExperienceRequirements",OccupationalTherapy:"https://schema.org/OccupationalTherapy",OceanBodyOfWater:"https://schema.org/OceanBodyOfWater",Offer:"https://schema.org/Offer",OfferCatalog:"https://schema.org/OfferCatalog",OfferForLease:"https://schema.org/OfferForLease",OfferForPurchase:"https://schema.org/OfferForPurchase",OfferItemCondition:"https://schema.org/OfferItemCondition",OfferShippingDetails:"https://schema.org/OfferShippingDetails",OfficeEquipmentStore:"https://schema.org/OfficeEquipmentStore",OnDemandEvent:"https://schema.org/OnDemandEvent",OnlineBusiness:"https://schema.org/OnlineBusiness",OnlineStore:"https://schema.org/OnlineStore",OpeningHoursSpecification:"https://schema.org/OpeningHoursSpecification",OpinionNewsArticle:"https://schema.org/OpinionNewsArticle",Optician:"https://schema.org/Optician",Order:"https://schema.org/Order",OrderAction:"https://schema.org/OrderAction",OrderItem:"https://schema.org/OrderItem",OrderStatus:"https://schema.org/OrderStatus",Organization:"https://schema.org/Organization",OrganizationRole:"https://schema.org/OrganizationRole",OrganizeAction:"https://schema.org/OrganizeAction",OutletStore:"https://schema.org/OutletStore",OwnershipInfo:"https://schema.org/OwnershipInfo",PaintAction:"https://schema.org/PaintAction",Painting:"https://schema.org/Painting",PalliativeProcedure:"https://schema.org/PalliativeProcedure",ParcelDelivery:"https://schema.org/ParcelDelivery",ParentAudience:"https://schema.org/ParentAudience",Park:"https://schema.org/Park",ParkingFacility:"https://schema.org/ParkingFacility",PathologyTest:"https://schema.org/PathologyTest",Patient:"https://schema.org/Patient",PawnShop:"https://schema.org/PawnShop",PayAction:"https://schema.org/PayAction",PaymentCard:"https://schema.org/PaymentCard",PaymentChargeSpecification:"https://schema.org/PaymentChargeSpecification",PaymentMethod:"https://schema.org/PaymentMethod",PaymentService:"https://schema.org/PaymentService",PaymentStatusType:"https://schema.org/PaymentStatusType",PeopleAudience:"https://schema.org/PeopleAudience",PerformAction:"https://schema.org/PerformAction",PerformanceRole:"https://schema.org/PerformanceRole",PerformingArtsTheater:"https://schema.org/PerformingArtsTheater",PerformingGroup:"https://schema.org/PerformingGroup",Periodical:"https://schema.org/Periodical",Permit:"https://schema.org/Permit",Person:"https://schema.org/Person",PetStore:"https://schema.org/PetStore",Pharmacy:"https://schema.org/Pharmacy",Photograph:"https://schema.org/Photograph",PhotographAction:"https://schema.org/PhotographAction",PhysicalActivity:"https://schema.org/PhysicalActivity",PhysicalActivityCategory:"https://schema.org/PhysicalActivityCategory",PhysicalExam:"https://schema.org/PhysicalExam",PhysicalTherapy:"https://schema.org/PhysicalTherapy",Physician:"https://schema.org/Physician",Place:"https://schema.org/Place",PlaceOfWorship:"https://schema.org/PlaceOfWorship",PlanAction:"https://schema.org/PlanAction",Play:"https://schema.org/Play",PlayAction:"https://schema.org/PlayAction",PlayGameAction:"https://schema.org/PlayGameAction",Playground:"https://schema.org/Playground",Plumber:"https://schema.org/Plumber",PodcastEpisode:"https://schema.org/PodcastEpisode",PodcastSeason:"https://schema.org/PodcastSeason",PodcastSeries:"https://schema.org/PodcastSeries",PoliceStation:"https://schema.org/PoliceStation",Pond:"https://schema.org/Pond",PostOffice:"https://schema.org/PostOffice",PostalAddress:"https://schema.org/PostalAddress",PostalCodeRangeSpecification:"https://schema.org/PostalCodeRangeSpecification",Poster:"https://schema.org/Poster",PreOrderAction:"https://schema.org/PreOrderAction",PrependAction:"https://schema.org/PrependAction",Preschool:"https://schema.org/Preschool",PresentationDigitalDocument:"https://schema.org/PresentationDigitalDocument",PreventionIndication:"https://schema.org/PreventionIndication",PriceComponentTypeEnumeration:"https://schema.org/PriceComponentTypeEnumeration",PriceSpecification:"https://schema.org/PriceSpecification",PriceTypeEnumeration:"https://schema.org/PriceTypeEnumeration",Product:"https://schema.org/Product",ProductCollection:"https://schema.org/ProductCollection",ProductGroup:"https://schema.org/ProductGroup",ProductModel:"https://schema.org/ProductModel",ProductReturnEnumeration:"https://schema.org/ProductReturnEnumeration",ProductReturnPolicy:"https://schema.org/ProductReturnPolicy",ProfessionalService:"https://schema.org/ProfessionalService",ProfilePage:"https://schema.org/ProfilePage",ProgramMembership:"https://schema.org/ProgramMembership",Project:"https://schema.org/Project",PronounceableText:"https://schema.org/PronounceableText",Property:"https://schema.org/Property",PropertyValue:"https://schema.org/PropertyValue",PropertyValueSpecification:"https://schema.org/PropertyValueSpecification",Protein:"https://schema.org/Protein",PsychologicalTreatment:"https://schema.org/PsychologicalTreatment",PublicSwimmingPool:"https://schema.org/PublicSwimmingPool",PublicToilet:"https://schema.org/PublicToilet",PublicationEvent:"https://schema.org/PublicationEvent",PublicationIssue:"https://schema.org/PublicationIssue",PublicationVolume:"https://schema.org/PublicationVolume",QAPage:"https://schema.org/QAPage",QualitativeValue:"https://schema.org/QualitativeValue",QuantitativeValue:"https://schema.org/QuantitativeValue",QuantitativeValueDistribution:"https://schema.org/QuantitativeValueDistribution",Quantity:"https://schema.org/Quantity",Question:"https://schema.org/Question",Quiz:"https://schema.org/Quiz",Quotation:"https://schema.org/Quotation",QuoteAction:"https://schema.org/QuoteAction",RVPark:"https://schema.org/RVPark",RadiationTherapy:"https://schema.org/RadiationTherapy",RadioBroadcastService:"https://schema.org/RadioBroadcastService",RadioChannel:"https://schema.org/RadioChannel",RadioClip:"https://schema.org/RadioClip",RadioEpisode:"https://schema.org/RadioEpisode",RadioSeason:"https://schema.org/RadioSeason",RadioSeries:"https://schema.org/RadioSeries",RadioStation:"https://schema.org/RadioStation",Rating:"https://schema.org/Rating",ReactAction:"https://schema.org/ReactAction",ReadAction:"https://schema.org/ReadAction",RealEstateAgent:"https://schema.org/RealEstateAgent",RealEstateListing:"https://schema.org/RealEstateListing",ReceiveAction:"https://schema.org/ReceiveAction",Recipe:"https://schema.org/Recipe",Recommendation:"https://schema.org/Recommendation",RecommendedDoseSchedule:"https://schema.org/RecommendedDoseSchedule",RecyclingCenter:"https://schema.org/RecyclingCenter",RefundTypeEnumeration:"https://schema.org/RefundTypeEnumeration",RegisterAction:"https://schema.org/RegisterAction",RejectAction:"https://schema.org/RejectAction",RentAction:"https://schema.org/RentAction",RentalCarReservation:"https://schema.org/RentalCarReservation",RepaymentSpecification:"https://schema.org/RepaymentSpecification",ReplaceAction:"https://schema.org/ReplaceAction",ReplyAction:"https://schema.org/ReplyAction",Report:"https://schema.org/Report",ReportageNewsArticle:"https://schema.org/ReportageNewsArticle",ReportedDoseSchedule:"https://schema.org/ReportedDoseSchedule",ResearchOrganization:"https://schema.org/ResearchOrganization",ResearchProject:"https://schema.org/ResearchProject",Researcher:"https://schema.org/Researcher",Reservation:"https://schema.org/Reservation",ReservationPackage:"https://schema.org/ReservationPackage",ReservationStatusType:"https://schema.org/ReservationStatusType",ReserveAction:"https://schema.org/ReserveAction",Reservoir:"https://schema.org/Reservoir",Residence:"https://schema.org/Residence",Resort:"https://schema.org/Resort",Restaurant:"https://schema.org/Restaurant",RestrictedDiet:"https://schema.org/RestrictedDiet",ResumeAction:"https://schema.org/ResumeAction",ReturnAction:"https://schema.org/ReturnAction",ReturnFeesEnumeration:"https://schema.org/ReturnFeesEnumeration",ReturnLabelSourceEnumeration:"https://schema.org/ReturnLabelSourceEnumeration",ReturnMethodEnumeration:"https://schema.org/ReturnMethodEnumeration",Review:"https://schema.org/Review",ReviewAction:"https://schema.org/ReviewAction",ReviewNewsArticle:"https://schema.org/ReviewNewsArticle",RiverBodyOfWater:"https://schema.org/RiverBodyOfWater",Role:"https://schema.org/Role",RoofingContractor:"https://schema.org/RoofingContractor",Room:"https://schema.org/Room",RsvpAction:"https://schema.org/RsvpAction",RsvpResponseType:"https://schema.org/RsvpResponseType",SaleEvent:"https://schema.org/SaleEvent",SatiricalArticle:"https://schema.org/SatiricalArticle",Schedule:"https://schema.org/Schedule",ScheduleAction:"https://schema.org/ScheduleAction",ScholarlyArticle:"https://schema.org/ScholarlyArticle",School:"https://schema.org/School",SchoolDistrict:"https://schema.org/SchoolDistrict",ScreeningEvent:"https://schema.org/ScreeningEvent",Sculpture:"https://schema.org/Sculpture",SeaBodyOfWater:"https://schema.org/SeaBodyOfWater",SearchAction:"https://schema.org/SearchAction",SearchRescueOrganization:"https://schema.org/SearchRescueOrganization",SearchResultsPage:"https://schema.org/SearchResultsPage",Season:"https://schema.org/Season",Seat:"https://schema.org/Seat",SeekToAction:"https://schema.org/SeekToAction",SelfStorage:"https://schema.org/SelfStorage",SellAction:"https://schema.org/SellAction",SendAction:"https://schema.org/SendAction",Series:"https://schema.org/Series",Service:"https://schema.org/Service",ServiceChannel:"https://schema.org/ServiceChannel",ShareAction:"https://schema.org/ShareAction",SheetMusic:"https://schema.org/SheetMusic",ShippingDeliveryTime:"https://schema.org/ShippingDeliveryTime",ShippingRateSettings:"https://schema.org/ShippingRateSettings",ShoeStore:"https://schema.org/ShoeStore",ShoppingCenter:"https://schema.org/ShoppingCenter",ShortStory:"https://schema.org/ShortStory",SingleFamilyResidence:"https://schema.org/SingleFamilyResidence",SiteNavigationElement:"https://schema.org/SiteNavigationElement",SizeGroupEnumeration:"https://schema.org/SizeGroupEnumeration",SizeSpecification:"https://schema.org/SizeSpecification",SizeSystemEnumeration:"https://schema.org/SizeSystemEnumeration",SkiResort:"https://schema.org/SkiResort",SocialEvent:"https://schema.org/SocialEvent",SocialMediaPosting:"https://schema.org/SocialMediaPosting",SoftwareApplication:"https://schema.org/SoftwareApplication",SoftwareSourceCode:"https://schema.org/SoftwareSourceCode",SolveMathAction:"https://schema.org/SolveMathAction",SomeProducts:"https://schema.org/SomeProducts",SpeakableSpecification:"https://schema.org/SpeakableSpecification",SpecialAnnouncement:"https://schema.org/SpecialAnnouncement",Specialty:"https://schema.org/Specialty",SportingGoodsStore:"https://schema.org/SportingGoodsStore",SportsActivityLocation:"https://schema.org/SportsActivityLocation",SportsClub:"https://schema.org/SportsClub",SportsEvent:"https://schema.org/SportsEvent",SportsOrganization:"https://schema.org/SportsOrganization",SportsTeam:"https://schema.org/SportsTeam",SpreadsheetDigitalDocument:"https://schema.org/SpreadsheetDigitalDocument",StadiumOrArena:"https://schema.org/StadiumOrArena",State:"https://schema.org/State",Statement:"https://schema.org/Statement",StatisticalPopulation:"https://schema.org/StatisticalPopulation",StatusEnumeration:"https://schema.org/StatusEnumeration",SteeringPositionValue:"https://schema.org/SteeringPositionValue",Store:"https://schema.org/Store",StructuredValue:"https://schema.org/StructuredValue",StupidType:"https://schema.org/StupidType",SubscribeAction:"https://schema.org/SubscribeAction",Substance:"https://schema.org/Substance",SubwayStation:"https://schema.org/SubwayStation",Suite:"https://schema.org/Suite",SuperficialAnatomy:"https://schema.org/SuperficialAnatomy",SurgicalProcedure:"https://schema.org/SurgicalProcedure",SuspendAction:"https://schema.org/SuspendAction",Synagogue:"https://schema.org/Synagogue",TVClip:"https://schema.org/TVClip",TVEpisode:"https://schema.org/TVEpisode",TVSeason:"https://schema.org/TVSeason",TVSeries:"https://schema.org/TVSeries",Table:"https://schema.org/Table",TakeAction:"https://schema.org/TakeAction",TattooParlor:"https://schema.org/TattooParlor",Taxi:"https://schema.org/Taxi",TaxiReservation:"https://schema.org/TaxiReservation",TaxiService:"https://schema.org/TaxiService",TaxiStand:"https://schema.org/TaxiStand",Taxon:"https://schema.org/Taxon",TechArticle:"https://schema.org/TechArticle",TelevisionChannel:"https://schema.org/TelevisionChannel",TelevisionStation:"https://schema.org/TelevisionStation",TennisComplex:"https://schema.org/TennisComplex",Text:"https://schema.org/Text",TextDigitalDocument:"https://schema.org/TextDigitalDocument",TheaterEvent:"https://schema.org/TheaterEvent",TheaterGroup:"https://schema.org/TheaterGroup",TherapeuticProcedure:"https://schema.org/TherapeuticProcedure",Thesis:"https://schema.org/Thesis",Thing:"https://schema.org/Thing",Ticket:"https://schema.org/Ticket",TieAction:"https://schema.org/TieAction",Time:"https://schema.org/Time",TipAction:"https://schema.org/TipAction",TireShop:"https://schema.org/TireShop",TouristAttraction:"https://schema.org/TouristAttraction",TouristDestination:"https://schema.org/TouristDestination",TouristInformationCenter:"https://schema.org/TouristInformationCenter",TouristTrip:"https://schema.org/TouristTrip",ToyStore:"https://schema.org/ToyStore",TrackAction:"https://schema.org/TrackAction",TradeAction:"https://schema.org/TradeAction",TrainReservation:"https://schema.org/TrainReservation",TrainStation:"https://schema.org/TrainStation",TrainTrip:"https://schema.org/TrainTrip",TransferAction:"https://schema.org/TransferAction",TravelAction:"https://schema.org/TravelAction",TravelAgency:"https://schema.org/TravelAgency",TreatmentIndication:"https://schema.org/TreatmentIndication",Trip:"https://schema.org/Trip",TypeAndQuantityNode:"https://schema.org/TypeAndQuantityNode",UKNonprofitType:"https://schema.org/UKNonprofitType",URL:"https://schema.org/URL",USNonprofitType:"https://schema.org/USNonprofitType",UnRegisterAction:"https://schema.org/UnRegisterAction",UnitPriceSpecification:"https://schema.org/UnitPriceSpecification",UpdateAction:"https://schema.org/UpdateAction",UseAction:"https://schema.org/UseAction",UserBlocks:"https://schema.org/UserBlocks",UserCheckins:"https://schema.org/UserCheckins",UserComments:"https://schema.org/UserComments",UserDownloads:"https://schema.org/UserDownloads",UserInteraction:"https://schema.org/UserInteraction",UserLikes:"https://schema.org/UserLikes",UserPageVisits:"https://schema.org/UserPageVisits",UserPlays:"https://schema.org/UserPlays",UserPlusOnes:"https://schema.org/UserPlusOnes",UserReview:"https://schema.org/UserReview",UserTweets:"https://schema.org/UserTweets",Vehicle:"https://schema.org/Vehicle",Vein:"https://schema.org/Vein",Vessel:"https://schema.org/Vessel",VeterinaryCare:"https://schema.org/VeterinaryCare",VideoGallery:"https://schema.org/VideoGallery",VideoGame:"https://schema.org/VideoGame",VideoGameClip:"https://schema.org/VideoGameClip",VideoGameSeries:"https://schema.org/VideoGameSeries",VideoObject:"https://schema.org/VideoObject",VideoObjectSnapshot:"https://schema.org/VideoObjectSnapshot",ViewAction:"https://schema.org/ViewAction",VirtualLocation:"https://schema.org/VirtualLocation",VisualArtsEvent:"https://schema.org/VisualArtsEvent",VisualArtwork:"https://schema.org/VisualArtwork",VitalSign:"https://schema.org/VitalSign",Volcano:"https://schema.org/Volcano",VoteAction:"https://schema.org/VoteAction",WPAdBlock:"https://schema.org/WPAdBlock",WPFooter:"https://schema.org/WPFooter",WPHeader:"https://schema.org/WPHeader",WPSideBar:"https://schema.org/WPSideBar",WantAction:"https://schema.org/WantAction",WarrantyPromise:"https://schema.org/WarrantyPromise",WarrantyScope:"https://schema.org/WarrantyScope",WatchAction:"https://schema.org/WatchAction",Waterfall:"https://schema.org/Waterfall",WearAction:"https://schema.org/WearAction",WearableMeasurementTypeEnumeration:"https://schema.org/WearableMeasurementTypeEnumeration",WearableSizeGroupEnumeration:"https://schema.org/WearableSizeGroupEnumeration",WearableSizeSystemEnumeration:"https://schema.org/WearableSizeSystemEnumeration",WebAPI:"https://schema.org/WebAPI",WebApplication:"https://schema.org/WebApplication",WebContent:"https://schema.org/WebContent",WebPage:"https://schema.org/WebPage",WebPageElement:"https://schema.org/WebPageElement",WebSite:"https://schema.org/WebSite",WholesaleStore:"https://schema.org/WholesaleStore",WinAction:"https://schema.org/WinAction",Winery:"https://schema.org/Winery",WorkBasedProgram:"https://schema.org/WorkBasedProgram",WorkersUnion:"https://schema.org/WorkersUnion",WriteAction:"https://schema.org/WriteAction",XPathType:"https://schema.org/XPathType",Zoo:"https://schema.org/Zoo",abridged:"https://schema.org/abridged",abstract:"https://schema.org/abstract",accelerationTime:"https://schema.org/accelerationTime",acceptedAnswer:"https://schema.org/acceptedAnswer",acceptedOffer:"https://schema.org/acceptedOffer",acceptedPaymentMethod:"https://schema.org/acceptedPaymentMethod",acceptsReservations:"https://schema.org/acceptsReservations",accessCode:"https://schema.org/accessCode",accessMode:"https://schema.org/accessMode",accessModeSufficient:"https://schema.org/accessModeSufficient",accessibilityAPI:"https://schema.org/accessibilityAPI",accessibilityControl:"https://schema.org/accessibilityControl",accessibilityFeature:"https://schema.org/accessibilityFeature",accessibilityHazard:"https://schema.org/accessibilityHazard",accessibilitySummary:"https://schema.org/accessibilitySummary",accommodationCategory:"https://schema.org/accommodationCategory",accommodationFloorPlan:"https://schema.org/accommodationFloorPlan",accountId:"https://schema.org/accountId",accountMinimumInflow:"https://schema.org/accountMinimumInflow",accountOverdraftLimit:"https://schema.org/accountOverdraftLimit",accountablePerson:"https://schema.org/accountablePerson",acquireLicensePage:"https://schema.org/acquireLicensePage",acquiredFrom:"https://schema.org/acquiredFrom",acrissCode:"https://schema.org/acrissCode",actionAccessibilityRequirement:"https://schema.org/actionAccessibilityRequirement",actionPlatform:"https://schema.org/actionPlatform",actionStatus:"https://schema.org/actionStatus",actionableFeedbackPolicy:"https://schema.org/actionableFeedbackPolicy",activeIngredient:"https://schema.org/activeIngredient",activityDuration:"https://schema.org/activityDuration",activityFrequency:"https://schema.org/activityFrequency",actors:"https://schema.org/actors",addOn:"https://schema.org/addOn",additionalName:"https://schema.org/additionalName",additionalNumberOfGuests:"https://schema.org/additionalNumberOfGuests",additionalProperty:"https://schema.org/additionalProperty",additionalType:"https://schema.org/additionalType",additionalVariable:"https://schema.org/additionalVariable",address:"https://schema.org/address",addressCountry:"https://schema.org/addressCountry",addressLocality:"https://schema.org/addressLocality",addressRegion:"https://schema.org/addressRegion",administrationRoute:"https://schema.org/administrationRoute",advanceBookingRequirement:"https://schema.org/advanceBookingRequirement",adverseOutcome:"https://schema.org/adverseOutcome",affectedBy:"https://schema.org/affectedBy",affiliation:"https://schema.org/affiliation",afterMedia:"https://schema.org/afterMedia",agent:"https://schema.org/agent",aggregateRating:"https://schema.org/aggregateRating",aircraft:"https://schema.org/aircraft",albumProductionType:"https://schema.org/albumProductionType",albumReleaseType:"https://schema.org/albumReleaseType",albums:"https://schema.org/albums",alcoholWarning:"https://schema.org/alcoholWarning",algorithm:"https://schema.org/algorithm",alignmentType:"https://schema.org/alignmentType",alternativeHeadline:"https://schema.org/alternativeHeadline",alternativeOf:"https://schema.org/alternativeOf",amenityFeature:"https://schema.org/amenityFeature",amount:"https://schema.org/amount",amountOfThisGood:"https://schema.org/amountOfThisGood",announcementLocation:"https://schema.org/announcementLocation",annualPercentageRate:"https://schema.org/annualPercentageRate",answerCount:"https://schema.org/answerCount",answerExplanation:"https://schema.org/answerExplanation",antagonist:"https://schema.org/antagonist",appearance:"https://schema.org/appearance",applicableCountry:"https://schema.org/applicableCountry",applicableLocation:"https://schema.org/applicableLocation",applicantLocationRequirements:"https://schema.org/applicantLocationRequirements",application:"https://schema.org/application",applicationCategory:"https://schema.org/applicationCategory",applicationContact:"https://schema.org/applicationContact",applicationDeadline:"https://schema.org/applicationDeadline",applicationStartDate:"https://schema.org/applicationStartDate",applicationSubCategory:"https://schema.org/applicationSubCategory",applicationSuite:"https://schema.org/applicationSuite",appliesToDeliveryMethod:"https://schema.org/appliesToDeliveryMethod",appliesToPaymentMethod:"https://schema.org/appliesToPaymentMethod",archivedAt:"https://schema.org/archivedAt",area:"https://schema.org/area",arrivalAirport:"https://schema.org/arrivalAirport",arrivalBoatTerminal:"https://schema.org/arrivalBoatTerminal",arrivalBusStop:"https://schema.org/arrivalBusStop",arrivalGate:"https://schema.org/arrivalGate",arrivalPlatform:"https://schema.org/arrivalPlatform",arrivalStation:"https://schema.org/arrivalStation",arrivalTerminal:"https://schema.org/arrivalTerminal",arrivalTime:"https://schema.org/arrivalTime",artEdition:"https://schema.org/artEdition",artMedium:"https://schema.org/artMedium",artform:"https://schema.org/artform",articleBody:"https://schema.org/articleBody",articleSection:"https://schema.org/articleSection",artist:"https://schema.org/artist",asin:"https://schema.org/asin",aspect:"https://schema.org/aspect",assembly:"https://schema.org/assembly",assemblyVersion:"https://schema.org/assemblyVersion",assesses:"https://schema.org/assesses",associatedAnatomy:"https://schema.org/associatedAnatomy",associatedArticle:"https://schema.org/associatedArticle",associatedClaimReview:"https://schema.org/associatedClaimReview",associatedDisease:"https://schema.org/associatedDisease",associatedMedia:"https://schema.org/associatedMedia",associatedMediaReview:"https://schema.org/associatedMediaReview",associatedPathophysiology:"https://schema.org/associatedPathophysiology",athlete:"https://schema.org/athlete",attendees:"https://schema.org/attendees",audienceType:"https://schema.org/audienceType",audio:"https://schema.org/audio",authenticator:"https://schema.org/authenticator",author:"https://schema.org/author",availability:"https://schema.org/availability",availabilityEnds:"https://schema.org/availabilityEnds",availabilityStarts:"https://schema.org/availabilityStarts",availableAtOrFrom:"https://schema.org/availableAtOrFrom",availableChannel:"https://schema.org/availableChannel",availableDeliveryMethod:"https://schema.org/availableDeliveryMethod",availableFrom:"https://schema.org/availableFrom",availableIn:"https://schema.org/availableIn",availableLanguage:"https://schema.org/availableLanguage",availableService:"https://schema.org/availableService",availableStrength:"https://schema.org/availableStrength",availableTest:"https://schema.org/availableTest",availableThrough:"https://schema.org/availableThrough",awards:"https://schema.org/awards",awayTeam:"https://schema.org/awayTeam",backstory:"https://schema.org/backstory",bankAccountType:"https://schema.org/bankAccountType",baseSalary:"https://schema.org/baseSalary",bccRecipient:"https://schema.org/bccRecipient",bed:"https://schema.org/bed",beforeMedia:"https://schema.org/beforeMedia",beneficiaryBank:"https://schema.org/beneficiaryBank",benefits:"https://schema.org/benefits",benefitsSummaryUrl:"https://schema.org/benefitsSummaryUrl",bestRating:"https://schema.org/bestRating",billingAddress:"https://schema.org/billingAddress",billingDuration:"https://schema.org/billingDuration",billingIncrement:"https://schema.org/billingIncrement",billingPeriod:"https://schema.org/billingPeriod",billingStart:"https://schema.org/billingStart",bioChemInteraction:"https://schema.org/bioChemInteraction",bioChemSimilarity:"https://schema.org/bioChemSimilarity",biologicalRole:"https://schema.org/biologicalRole",biomechnicalClass:"https://schema.org/biomechnicalClass",birthDate:"https://schema.org/birthDate",birthPlace:"https://schema.org/birthPlace",bitrate:"https://schema.org/bitrate",blogPosts:"https://schema.org/blogPosts",bloodSupply:"https://schema.org/bloodSupply",boardingGroup:"https://schema.org/boardingGroup",boardingPolicy:"https://schema.org/boardingPolicy",bodyLocation:"https://schema.org/bodyLocation",bodyType:"https://schema.org/bodyType",bookEdition:"https://schema.org/bookEdition",bookFormat:"https://schema.org/bookFormat",bookingAgent:"https://schema.org/bookingAgent",bookingTime:"https://schema.org/bookingTime",borrower:"https://schema.org/borrower",box:"https://schema.org/box",branch:"https://schema.org/branch",branchCode:"https://schema.org/branchCode",branchOf:"https://schema.org/branchOf",brand:"https://schema.org/brand",breadcrumb:"https://schema.org/breadcrumb",breastfeedingWarning:"https://schema.org/breastfeedingWarning",broadcastAffiliateOf:"https://schema.org/broadcastAffiliateOf",broadcastChannelId:"https://schema.org/broadcastChannelId",broadcastDisplayName:"https://schema.org/broadcastDisplayName",broadcastFrequency:"https://schema.org/broadcastFrequency",broadcastFrequencyValue:"https://schema.org/broadcastFrequencyValue",broadcastOfEvent:"https://schema.org/broadcastOfEvent",broadcastServiceTier:"https://schema.org/broadcastServiceTier",broadcastSignalModulation:"https://schema.org/broadcastSignalModulation",broadcastSubChannel:"https://schema.org/broadcastSubChannel",broadcastTimezone:"https://schema.org/broadcastTimezone",broadcaster:"https://schema.org/broadcaster",browserRequirements:"https://schema.org/browserRequirements",busName:"https://schema.org/busName",busNumber:"https://schema.org/busNumber",businessDays:"https://schema.org/businessDays",businessFunction:"https://schema.org/businessFunction",buyer:"https://schema.org/buyer",byArtist:"https://schema.org/byArtist",byDay:"https://schema.org/byDay",byMonth:"https://schema.org/byMonth",byMonthDay:"https://schema.org/byMonthDay",byMonthWeek:"https://schema.org/byMonthWeek",callSign:"https://schema.org/callSign",calories:"https://schema.org/calories",candidate:"https://schema.org/candidate",carbohydrateContent:"https://schema.org/carbohydrateContent",cargoVolume:"https://schema.org/cargoVolume",carrier:"https://schema.org/carrier",carrierRequirements:"https://schema.org/carrierRequirements",cashBack:"https://schema.org/cashBack",catalog:"https://schema.org/catalog",catalogNumber:"https://schema.org/catalogNumber",causeOf:"https://schema.org/causeOf",ccRecipient:"https://schema.org/ccRecipient",character:"https://schema.org/character",characterAttribute:"https://schema.org/characterAttribute",characterName:"https://schema.org/characterName",cheatCode:"https://schema.org/cheatCode",checkinTime:"https://schema.org/checkinTime",checkoutPageURLTemplate:"https://schema.org/checkoutPageURLTemplate",checkoutTime:"https://schema.org/checkoutTime",chemicalComposition:"https://schema.org/chemicalComposition",chemicalRole:"https://schema.org/chemicalRole",childMaxAge:"https://schema.org/childMaxAge",childMinAge:"https://schema.org/childMinAge",children:"https://schema.org/children",cholesterolContent:"https://schema.org/cholesterolContent",circle:"https://schema.org/circle",citation:"https://schema.org/citation",claimInterpreter:"https://schema.org/claimInterpreter",claimReviewed:"https://schema.org/claimReviewed",clincalPharmacology:"https://schema.org/clincalPharmacology",clipNumber:"https://schema.org/clipNumber",closes:"https://schema.org/closes",coach:"https://schema.org/coach",code:"https://schema.org/code",codeRepository:"https://schema.org/codeRepository",codeValue:"https://schema.org/codeValue",codingSystem:"https://schema.org/codingSystem",colleagues:"https://schema.org/colleagues",collection:"https://schema.org/collection",collectionSize:"https://schema.org/collectionSize",color:"https://schema.org/color",colorist:"https://schema.org/colorist",comment:"https://schema.org/comment",commentCount:"https://schema.org/commentCount",commentText:"https://schema.org/commentText",commentTime:"https://schema.org/commentTime",competencyRequired:"https://schema.org/competencyRequired",composer:"https://schema.org/composer",comprisedOf:"https://schema.org/comprisedOf",conditionsOfAccess:"https://schema.org/conditionsOfAccess",confirmationNumber:"https://schema.org/confirmationNumber",connectedTo:"https://schema.org/connectedTo",constrainingProperty:"https://schema.org/constrainingProperty",contactOption:"https://schema.org/contactOption",contactPoints:"https://schema.org/contactPoints",contactType:"https://schema.org/contactType",contactlessPayment:"https://schema.org/contactlessPayment",containedIn:"https://schema.org/containedIn",contentRating:"https://schema.org/contentRating",contentReferenceTime:"https://schema.org/contentReferenceTime",contentSize:"https://schema.org/contentSize",contentType:"https://schema.org/contentType",contentUrl:"https://schema.org/contentUrl",contraindication:"https://schema.org/contraindication",contributor:"https://schema.org/contributor",cookTime:"https://schema.org/cookTime",cookingMethod:"https://schema.org/cookingMethod",copyrightHolder:"https://schema.org/copyrightHolder",copyrightNotice:"https://schema.org/copyrightNotice",copyrightYear:"https://schema.org/copyrightYear",correction:"https://schema.org/correction",correctionsPolicy:"https://schema.org/correctionsPolicy",costCategory:"https://schema.org/costCategory",costCurrency:"https://schema.org/costCurrency",costOrigin:"https://schema.org/costOrigin",costPerUnit:"https://schema.org/costPerUnit",countriesNotSupported:"https://schema.org/countriesNotSupported",countriesSupported:"https://schema.org/countriesSupported",countryOfAssembly:"https://schema.org/countryOfAssembly",countryOfLastProcessing:"https://schema.org/countryOfLastProcessing",countryOfOrigin:"https://schema.org/countryOfOrigin",course:"https://schema.org/course",courseCode:"https://schema.org/courseCode",courseMode:"https://schema.org/courseMode",coursePrerequisites:"https://schema.org/coursePrerequisites",courseWorkload:"https://schema.org/courseWorkload",coverageEndTime:"https://schema.org/coverageEndTime",coverageStartTime:"https://schema.org/coverageStartTime",creativeWorkStatus:"https://schema.org/creativeWorkStatus",credentialCategory:"https://schema.org/credentialCategory",creditText:"https://schema.org/creditText",creditedTo:"https://schema.org/creditedTo",cssSelector:"https://schema.org/cssSelector",currenciesAccepted:"https://schema.org/currenciesAccepted",currency:"https://schema.org/currency",currentExchangeRate:"https://schema.org/currentExchangeRate",customer:"https://schema.org/customer",customerRemorseReturnFees:"https://schema.org/customerRemorseReturnFees",customerRemorseReturnLabelSource:"https://schema.org/customerRemorseReturnLabelSource",customerRemorseReturnShippingFeesAmount:"https://schema.org/customerRemorseReturnShippingFeesAmount",cutoffTime:"https://schema.org/cutoffTime",cvdCollectionDate:"https://schema.org/cvdCollectionDate",cvdFacilityCounty:"https://schema.org/cvdFacilityCounty",cvdFacilityId:"https://schema.org/cvdFacilityId",cvdNumBeds:"https://schema.org/cvdNumBeds",cvdNumBedsOcc:"https://schema.org/cvdNumBedsOcc",cvdNumC19Died:"https://schema.org/cvdNumC19Died",cvdNumC19HOPats:"https://schema.org/cvdNumC19HOPats",cvdNumC19HospPats:"https://schema.org/cvdNumC19HospPats",cvdNumC19MechVentPats:"https://schema.org/cvdNumC19MechVentPats",cvdNumC19OFMechVentPats:"https://schema.org/cvdNumC19OFMechVentPats",cvdNumC19OverflowPats:"https://schema.org/cvdNumC19OverflowPats",cvdNumICUBeds:"https://schema.org/cvdNumICUBeds",cvdNumICUBedsOcc:"https://schema.org/cvdNumICUBedsOcc",cvdNumTotBeds:"https://schema.org/cvdNumTotBeds",cvdNumVent:"https://schema.org/cvdNumVent",cvdNumVentUse:"https://schema.org/cvdNumVentUse",dataFeedElement:"https://schema.org/dataFeedElement",datasetTimeInterval:"https://schema.org/datasetTimeInterval",dateDeleted:"https://schema.org/dateDeleted",dateIssued:"https://schema.org/dateIssued",dateModified:"https://schema.org/dateModified",datePosted:"https://schema.org/datePosted",datePublished:"https://schema.org/datePublished",dateRead:"https://schema.org/dateRead",dateReceived:"https://schema.org/dateReceived",dateSent:"https://schema.org/dateSent",dateVehicleFirstRegistered:"https://schema.org/dateVehicleFirstRegistered",dateline:"https://schema.org/dateline",dayOfWeek:"https://schema.org/dayOfWeek",deathDate:"https://schema.org/deathDate",deathPlace:"https://schema.org/deathPlace",defaultValue:"https://schema.org/defaultValue",deliveryAddress:"https://schema.org/deliveryAddress",deliveryLeadTime:"https://schema.org/deliveryLeadTime",deliveryMethod:"https://schema.org/deliveryMethod",deliveryStatus:"https://schema.org/deliveryStatus",deliveryTime:"https://schema.org/deliveryTime",department:"https://schema.org/department",departureAirport:"https://schema.org/departureAirport",departureBoatTerminal:"https://schema.org/departureBoatTerminal",departureBusStop:"https://schema.org/departureBusStop",departureGate:"https://schema.org/departureGate",departurePlatform:"https://schema.org/departurePlatform",departureStation:"https://schema.org/departureStation",departureTerminal:"https://schema.org/departureTerminal",departureTime:"https://schema.org/departureTime",dependencies:"https://schema.org/dependencies",depth:"https://schema.org/depth",device:"https://schema.org/device",diagnosis:"https://schema.org/diagnosis",diagram:"https://schema.org/diagram",diet:"https://schema.org/diet",dietFeatures:"https://schema.org/dietFeatures",differentialDiagnosis:"https://schema.org/differentialDiagnosis",directApply:"https://schema.org/directApply",directors:"https://schema.org/directors",disambiguatingDescription:"https://schema.org/disambiguatingDescription",discount:"https://schema.org/discount",discountCode:"https://schema.org/discountCode",discountCurrency:"https://schema.org/discountCurrency",discusses:"https://schema.org/discusses",discussionUrl:"https://schema.org/discussionUrl",diseasePreventionInfo:"https://schema.org/diseasePreventionInfo",diseaseSpreadStatistics:"https://schema.org/diseaseSpreadStatistics",dissolutionDate:"https://schema.org/dissolutionDate",distance:"https://schema.org/distance",distinguishingSign:"https://schema.org/distinguishingSign",distribution:"https://schema.org/distribution",diversityPolicy:"https://schema.org/diversityPolicy",diversityStaffingReport:"https://schema.org/diversityStaffingReport",documentation:"https://schema.org/documentation",doesNotShip:"https://schema.org/doesNotShip",domainIncludes:"https://schema.org/domainIncludes",domiciledMortgage:"https://schema.org/domiciledMortgage",doorTime:"https://schema.org/doorTime",dosageForm:"https://schema.org/dosageForm",doseSchedule:"https://schema.org/doseSchedule",doseUnit:"https://schema.org/doseUnit",doseValue:"https://schema.org/doseValue",downPayment:"https://schema.org/downPayment",downloadUrl:"https://schema.org/downloadUrl",downvoteCount:"https://schema.org/downvoteCount",drainsTo:"https://schema.org/drainsTo",driveWheelConfiguration:"https://schema.org/driveWheelConfiguration",dropoffLocation:"https://schema.org/dropoffLocation",dropoffTime:"https://schema.org/dropoffTime",drug:"https://schema.org/drug",drugClass:"https://schema.org/drugClass",drugUnit:"https://schema.org/drugUnit",duns:"https://schema.org/duns",duplicateTherapy:"https://schema.org/duplicateTherapy",durationOfWarranty:"https://schema.org/durationOfWarranty",duringMedia:"https://schema.org/duringMedia",earlyPrepaymentPenalty:"https://schema.org/earlyPrepaymentPenalty",editEIDR:"https://schema.org/editEIDR",editor:"https://schema.org/editor",eduQuestionType:"https://schema.org/eduQuestionType",educationRequirements:"https://schema.org/educationRequirements",educationalAlignment:"https://schema.org/educationalAlignment",educationalCredentialAwarded:"https://schema.org/educationalCredentialAwarded",educationalFramework:"https://schema.org/educationalFramework",educationalLevel:"https://schema.org/educationalLevel",educationalProgramMode:"https://schema.org/educationalProgramMode",educationalRole:"https://schema.org/educationalRole",educationalUse:"https://schema.org/educationalUse",elevation:"https://schema.org/elevation",eligibilityToWorkRequirement:"https://schema.org/eligibilityToWorkRequirement",eligibleCustomerType:"https://schema.org/eligibleCustomerType",eligibleDuration:"https://schema.org/eligibleDuration",eligibleQuantity:"https://schema.org/eligibleQuantity",eligibleRegion:"https://schema.org/eligibleRegion",eligibleTransactionVolume:"https://schema.org/eligibleTransactionVolume",email:"https://schema.org/email",embedUrl:"https://schema.org/embedUrl",embeddedTextCaption:"https://schema.org/embeddedTextCaption",emissionsCO2:"https://schema.org/emissionsCO2",employees:"https://schema.org/employees",employerOverview:"https://schema.org/employerOverview",employmentType:"https://schema.org/employmentType",employmentUnit:"https://schema.org/employmentUnit",encodingType:"https://schema.org/encodingType",encodings:"https://schema.org/encodings",endDate:"https://schema.org/endDate",endOffset:"https://schema.org/endOffset",endTime:"https://schema.org/endTime",endorsee:"https://schema.org/endorsee",endorsers:"https://schema.org/endorsers",energyEfficiencyScaleMax:"https://schema.org/energyEfficiencyScaleMax",energyEfficiencyScaleMin:"https://schema.org/energyEfficiencyScaleMin",engineDisplacement:"https://schema.org/engineDisplacement",enginePower:"https://schema.org/enginePower",engineType:"https://schema.org/engineType",entertainmentBusiness:"https://schema.org/entertainmentBusiness",epidemiology:"https://schema.org/epidemiology",episodeNumber:"https://schema.org/episodeNumber",episodes:"https://schema.org/episodes",equal:"https://schema.org/equal",error:"https://schema.org/error",estimatedCost:"https://schema.org/estimatedCost",estimatedFlightDuration:"https://schema.org/estimatedFlightDuration",estimatedSalary:"https://schema.org/estimatedSalary",estimatesRiskOf:"https://schema.org/estimatesRiskOf",ethicsPolicy:"https://schema.org/ethicsPolicy",eventAttendanceMode:"https://schema.org/eventAttendanceMode",eventSchedule:"https://schema.org/eventSchedule",eventStatus:"https://schema.org/eventStatus",events:"https://schema.org/events",evidenceLevel:"https://schema.org/evidenceLevel",evidenceOrigin:"https://schema.org/evidenceOrigin",exceptDate:"https://schema.org/exceptDate",exchangeRateSpread:"https://schema.org/exchangeRateSpread",exercisePlan:"https://schema.org/exercisePlan",exerciseRelatedDiet:"https://schema.org/exerciseRelatedDiet",exerciseType:"https://schema.org/exerciseType",exifData:"https://schema.org/exifData",expectedArrivalFrom:"https://schema.org/expectedArrivalFrom",expectedArrivalUntil:"https://schema.org/expectedArrivalUntil",expectedPrognosis:"https://schema.org/expectedPrognosis",expectsAcceptanceOf:"https://schema.org/expectsAcceptanceOf",experienceInPlaceOfEducation:"https://schema.org/experienceInPlaceOfEducation",experienceRequirements:"https://schema.org/experienceRequirements",expertConsiderations:"https://schema.org/expertConsiderations",expires:"https://schema.org/expires",expressedIn:"https://schema.org/expressedIn",familyName:"https://schema.org/familyName",fatContent:"https://schema.org/fatContent",faxNumber:"https://schema.org/faxNumber",featureList:"https://schema.org/featureList",feesAndCommissionsSpecification:"https://schema.org/feesAndCommissionsSpecification",fiberContent:"https://schema.org/fiberContent",fileFormat:"https://schema.org/fileFormat",fileSize:"https://schema.org/fileSize",financialAidEligible:"https://schema.org/financialAidEligible",firstAppearance:"https://schema.org/firstAppearance",firstPerformance:"https://schema.org/firstPerformance",flightDistance:"https://schema.org/flightDistance",flightNumber:"https://schema.org/flightNumber",floorLevel:"https://schema.org/floorLevel",floorLimit:"https://schema.org/floorLimit",floorSize:"https://schema.org/floorSize",followee:"https://schema.org/followee",follows:"https://schema.org/follows",followup:"https://schema.org/followup",foodEstablishment:"https://schema.org/foodEstablishment",foodEvent:"https://schema.org/foodEvent",foodWarning:"https://schema.org/foodWarning",founders:"https://schema.org/founders",foundingDate:"https://schema.org/foundingDate",foundingLocation:"https://schema.org/foundingLocation",free:"https://schema.org/free",freeShippingThreshold:"https://schema.org/freeShippingThreshold",fromLocation:"https://schema.org/fromLocation",fuelCapacity:"https://schema.org/fuelCapacity",fuelConsumption:"https://schema.org/fuelConsumption",fuelEfficiency:"https://schema.org/fuelEfficiency",fuelType:"https://schema.org/fuelType",functionalClass:"https://schema.org/functionalClass",funder:"https://schema.org/funder",gameAvailabilityType:"https://schema.org/gameAvailabilityType",gameEdition:"https://schema.org/gameEdition",gameItem:"https://schema.org/gameItem",gameLocation:"https://schema.org/gameLocation",gamePlatform:"https://schema.org/gamePlatform",gameTip:"https://schema.org/gameTip",gender:"https://schema.org/gender",geo:"https://schema.org/geo",geoContains:"https://schema.org/geoContains",geoCoveredBy:"https://schema.org/geoCoveredBy",geoCovers:"https://schema.org/geoCovers",geoCrosses:"https://schema.org/geoCrosses",geoDisjoint:"https://schema.org/geoDisjoint",geoEquals:"https://schema.org/geoEquals",geoIntersects:"https://schema.org/geoIntersects",geoMidpoint:"https://schema.org/geoMidpoint",geoOverlaps:"https://schema.org/geoOverlaps",geoRadius:"https://schema.org/geoRadius",geoTouches:"https://schema.org/geoTouches",geoWithin:"https://schema.org/geoWithin",geographicArea:"https://schema.org/geographicArea",gettingTestedInfo:"https://schema.org/gettingTestedInfo",givenName:"https://schema.org/givenName",globalLocationNumber:"https://schema.org/globalLocationNumber",governmentBenefitsInfo:"https://schema.org/governmentBenefitsInfo",gracePeriod:"https://schema.org/gracePeriod",grantee:"https://schema.org/grantee",greater:"https://schema.org/greater",greaterOrEqual:"https://schema.org/greaterOrEqual",gtin12:"https://schema.org/gtin12",gtin13:"https://schema.org/gtin13",gtin14:"https://schema.org/gtin14",gtin8:"https://schema.org/gtin8",guideline:"https://schema.org/guideline",guidelineDate:"https://schema.org/guidelineDate",guidelineSubject:"https://schema.org/guidelineSubject",handlingTime:"https://schema.org/handlingTime",hasAdultConsideration:"https://schema.org/hasAdultConsideration",hasBioPolymerSequence:"https://schema.org/hasBioPolymerSequence",hasCategoryCode:"https://schema.org/hasCategoryCode",hasCourse:"https://schema.org/hasCourse",hasCourseInstance:"https://schema.org/hasCourseInstance",hasCredential:"https://schema.org/hasCredential",hasDeliveryMethod:"https://schema.org/hasDeliveryMethod",hasDigitalDocumentPermission:"https://schema.org/hasDigitalDocumentPermission",hasDriveThroughService:"https://schema.org/hasDriveThroughService",hasEnergyConsumptionDetails:"https://schema.org/hasEnergyConsumptionDetails",hasEnergyEfficiencyCategory:"https://schema.org/hasEnergyEfficiencyCategory",hasHealthAspect:"https://schema.org/hasHealthAspect",hasMeasurement:"https://schema.org/hasMeasurement",hasMenuItem:"https://schema.org/hasMenuItem",hasMenuSection:"https://schema.org/hasMenuSection",hasMolecularFunction:"https://schema.org/hasMolecularFunction",hasOccupation:"https://schema.org/hasOccupation",hasOfferCatalog:"https://schema.org/hasOfferCatalog",hasPOS:"https://schema.org/hasPOS",hasProductReturnPolicy:"https://schema.org/hasProductReturnPolicy",headline:"https://schema.org/headline",healthCondition:"https://schema.org/healthCondition",healthPlanCoinsuranceOption:"https://schema.org/healthPlanCoinsuranceOption",healthPlanCoinsuranceRate:"https://schema.org/healthPlanCoinsuranceRate",healthPlanCopay:"https://schema.org/healthPlanCopay",healthPlanCopayOption:"https://schema.org/healthPlanCopayOption",healthPlanCostSharing:"https://schema.org/healthPlanCostSharing",healthPlanDrugOption:"https://schema.org/healthPlanDrugOption",healthPlanDrugTier:"https://schema.org/healthPlanDrugTier",healthPlanId:"https://schema.org/healthPlanId",healthPlanMarketingUrl:"https://schema.org/healthPlanMarketingUrl",healthPlanNetworkId:"https://schema.org/healthPlanNetworkId",healthPlanNetworkTier:"https://schema.org/healthPlanNetworkTier",healthPlanPharmacyCategory:"https://schema.org/healthPlanPharmacyCategory",healthcareReportingData:"https://schema.org/healthcareReportingData",height:"https://schema.org/height",highPrice:"https://schema.org/highPrice",hiringOrganization:"https://schema.org/hiringOrganization",homeLocation:"https://schema.org/homeLocation",homeTeam:"https://schema.org/homeTeam",honorificPrefix:"https://schema.org/honorificPrefix",honorificSuffix:"https://schema.org/honorificSuffix",hospitalAffiliation:"https://schema.org/hospitalAffiliation",hostingOrganization:"https://schema.org/hostingOrganization",hoursAvailable:"https://schema.org/hoursAvailable",howPerformed:"https://schema.org/howPerformed",httpMethod:"https://schema.org/httpMethod",iataCode:"https://schema.org/iataCode",icaoCode:"https://schema.org/icaoCode",identifyingExam:"https://schema.org/identifyingExam",identifyingTest:"https://schema.org/identifyingTest",illustrator:"https://schema.org/illustrator",imagingTechnique:"https://schema.org/imagingTechnique",inAlbum:"https://schema.org/inAlbum",inBroadcastLineup:"https://schema.org/inBroadcastLineup",inChI:"https://schema.org/inChI",inChIKey:"https://schema.org/inChIKey",inCodeSet:"https://schema.org/inCodeSet",inPlaylist:"https://schema.org/inPlaylist",inProductGroupWithID:"https://schema.org/inProductGroupWithID",inStoreReturnsOffered:"https://schema.org/inStoreReturnsOffered",inSupportOf:"https://schema.org/inSupportOf",incentives:"https://schema.org/incentives",includedComposition:"https://schema.org/includedComposition",includedDataCatalog:"https://schema.org/includedDataCatalog",includedInHealthInsurancePlan:"https://schema.org/includedInHealthInsurancePlan",includedRiskFactor:"https://schema.org/includedRiskFactor",includesAttraction:"https://schema.org/includesAttraction",includesHealthPlanFormulary:"https://schema.org/includesHealthPlanFormulary",includesHealthPlanNetwork:"https://schema.org/includesHealthPlanNetwork",includesObject:"https://schema.org/includesObject",increasesRiskOf:"https://schema.org/increasesRiskOf",industry:"https://schema.org/industry",ineligibleRegion:"https://schema.org/ineligibleRegion",infectiousAgent:"https://schema.org/infectiousAgent",infectiousAgentClass:"https://schema.org/infectiousAgentClass",ingredients:"https://schema.org/ingredients",inker:"https://schema.org/inker",insertion:"https://schema.org/insertion",installUrl:"https://schema.org/installUrl",instructor:"https://schema.org/instructor",intensity:"https://schema.org/intensity",interactingDrug:"https://schema.org/interactingDrug",interactionCount:"https://schema.org/interactionCount",interactionService:"https://schema.org/interactionService",interactionType:"https://schema.org/interactionType",interactivityType:"https://schema.org/interactivityType",interestRate:"https://schema.org/interestRate",interpretedAsClaim:"https://schema.org/interpretedAsClaim",inventoryLevel:"https://schema.org/inventoryLevel",inverseOf:"https://schema.org/inverseOf",isAcceptingNewPatients:"https://schema.org/isAcceptingNewPatients",isAccessoryOrSparePartFor:"https://schema.org/isAccessoryOrSparePartFor",isAvailableGenerically:"https://schema.org/isAvailableGenerically",isBasedOnUrl:"https://schema.org/isBasedOnUrl",isConsumableFor:"https://schema.org/isConsumableFor",isFamilyFriendly:"https://schema.org/isFamilyFriendly",isGift:"https://schema.org/isGift",isInvolvedInBiologicalProcess:"https://schema.org/isInvolvedInBiologicalProcess",isLiveBroadcast:"https://schema.org/isLiveBroadcast",isLocatedInSubcellularLocation:"https://schema.org/isLocatedInSubcellularLocation",isPlanForApartment:"https://schema.org/isPlanForApartment",isProprietary:"https://schema.org/isProprietary",isRelatedTo:"https://schema.org/isRelatedTo",isResizable:"https://schema.org/isResizable",isSimilarTo:"https://schema.org/isSimilarTo",isUnlabelledFallback:"https://schema.org/isUnlabelledFallback",isbn:"https://schema.org/isbn",isicV4:"https://schema.org/isicV4",iso6523Code:"https://schema.org/iso6523Code",isrcCode:"https://schema.org/isrcCode",issn:"https://schema.org/issn",issueNumber:"https://schema.org/issueNumber",issuedBy:"https://schema.org/issuedBy",issuedThrough:"https://schema.org/issuedThrough",iswcCode:"https://schema.org/iswcCode",item:"https://schema.org/item",itemCondition:"https://schema.org/itemCondition",itemDefectReturnFees:"https://schema.org/itemDefectReturnFees",itemDefectReturnLabelSource:"https://schema.org/itemDefectReturnLabelSource",itemDefectReturnShippingFeesAmount:"https://schema.org/itemDefectReturnShippingFeesAmount",itemListElement:"https://schema.org/itemListElement",itemListOrder:"https://schema.org/itemListOrder",itemLocation:"https://schema.org/itemLocation",itemReviewed:"https://schema.org/itemReviewed",itemShipped:"https://schema.org/itemShipped",itinerary:"https://schema.org/itinerary",iupacName:"https://schema.org/iupacName",jobImmediateStart:"https://schema.org/jobImmediateStart",jobLocation:"https://schema.org/jobLocation",jobLocationType:"https://schema.org/jobLocationType",jobStartDate:"https://schema.org/jobStartDate",jobTitle:"https://schema.org/jobTitle",keywords:"https://schema.org/keywords",knownVehicleDamages:"https://schema.org/knownVehicleDamages",knows:"https://schema.org/knows",knowsAbout:"https://schema.org/knowsAbout",knowsLanguage:"https://schema.org/knowsLanguage",labelDetails:"https://schema.org/labelDetails",landlord:"https://schema.org/landlord",language:"https://schema.org/language",lastReviewed:"https://schema.org/lastReviewed",latitude:"https://schema.org/latitude",layoutImage:"https://schema.org/layoutImage",learningResourceType:"https://schema.org/learningResourceType",leaseLength:"https://schema.org/leaseLength",legalName:"https://schema.org/legalName",legalStatus:"https://schema.org/legalStatus",legislationChanges:"https://schema.org/legislationChanges",legislationConsolidates:"https://schema.org/legislationConsolidates",legislationDate:"https://schema.org/legislationDate",legislationDateVersion:"https://schema.org/legislationDateVersion",legislationIdentifier:"https://schema.org/legislationIdentifier",legislationJurisdiction:"https://schema.org/legislationJurisdiction",legislationLegalForce:"https://schema.org/legislationLegalForce",legislationLegalValue:"https://schema.org/legislationLegalValue",legislationPassedBy:"https://schema.org/legislationPassedBy",legislationResponsible:"https://schema.org/legislationResponsible",legislationTransposes:"https://schema.org/legislationTransposes",legislationType:"https://schema.org/legislationType",leiCode:"https://schema.org/leiCode",lender:"https://schema.org/lender",lesser:"https://schema.org/lesser",lesserOrEqual:"https://schema.org/lesserOrEqual",letterer:"https://schema.org/letterer",license:"https://schema.org/license",line:"https://schema.org/line",linkRelationship:"https://schema.org/linkRelationship",liveBlogUpdate:"https://schema.org/liveBlogUpdate",loanMortgageMandateAmount:"https://schema.org/loanMortgageMandateAmount",loanPaymentAmount:"https://schema.org/loanPaymentAmount",loanPaymentFrequency:"https://schema.org/loanPaymentFrequency",loanRepaymentForm:"https://schema.org/loanRepaymentForm",loanTerm:"https://schema.org/loanTerm",loanType:"https://schema.org/loanType",locationCreated:"https://schema.org/locationCreated",lodgingUnitDescription:"https://schema.org/lodgingUnitDescription",lodgingUnitType:"https://schema.org/lodgingUnitType",logo:"https://schema.org/logo",longitude:"https://schema.org/longitude",loser:"https://schema.org/loser",lowPrice:"https://schema.org/lowPrice",lyricist:"https://schema.org/lyricist",lyrics:"https://schema.org/lyrics",maintainer:"https://schema.org/maintainer",manufacturer:"https://schema.org/manufacturer",map:"https://schema.org/map",mapType:"https://schema.org/mapType",maps:"https://schema.org/maps",marginOfError:"https://schema.org/marginOfError",masthead:"https://schema.org/masthead",materialExtent:"https://schema.org/materialExtent",mathExpression:"https://schema.org/mathExpression",maxPrice:"https://schema.org/maxPrice",maxValue:"https://schema.org/maxValue",maximumAttendeeCapacity:"https://schema.org/maximumAttendeeCapacity",maximumEnrollment:"https://schema.org/maximumEnrollment",maximumIntake:"https://schema.org/maximumIntake",maximumPhysicalAttendeeCapacity:"https://schema.org/maximumPhysicalAttendeeCapacity",maximumVirtualAttendeeCapacity:"https://schema.org/maximumVirtualAttendeeCapacity",mealService:"https://schema.org/mealService",measuredProperty:"https://schema.org/measuredProperty",measuredValue:"https://schema.org/measuredValue",measurementTechnique:"https://schema.org/measurementTechnique",mechanismOfAction:"https://schema.org/mechanismOfAction",mediaAuthenticityCategory:"https://schema.org/mediaAuthenticityCategory",mediaItemAppearance:"https://schema.org/mediaItemAppearance",median:"https://schema.org/median",medicalAudience:"https://schema.org/medicalAudience",medicalSpecialty:"https://schema.org/medicalSpecialty",medicineSystem:"https://schema.org/medicineSystem",meetsEmissionStandard:"https://schema.org/meetsEmissionStandard",members:"https://schema.org/members",membershipNumber:"https://schema.org/membershipNumber",membershipPointsEarned:"https://schema.org/membershipPointsEarned",memoryRequirements:"https://schema.org/memoryRequirements",mentions:"https://schema.org/mentions",menu:"https://schema.org/menu",menuAddOn:"https://schema.org/menuAddOn",merchant:"https://schema.org/merchant",messageAttachment:"https://schema.org/messageAttachment",mileageFromOdometer:"https://schema.org/mileageFromOdometer",minPrice:"https://schema.org/minPrice",minValue:"https://schema.org/minValue",minimumPaymentDue:"https://schema.org/minimumPaymentDue",missionCoveragePrioritiesPolicy:"https://schema.org/missionCoveragePrioritiesPolicy",mobileUrl:"https://schema.org/mobileUrl",model:"https://schema.org/model",modelDate:"https://schema.org/modelDate",modifiedTime:"https://schema.org/modifiedTime",molecularFormula:"https://schema.org/molecularFormula",molecularWeight:"https://schema.org/molecularWeight",monoisotopicMolecularWeight:"https://schema.org/monoisotopicMolecularWeight",monthlyMinimumRepaymentAmount:"https://schema.org/monthlyMinimumRepaymentAmount",monthsOfExperience:"https://schema.org/monthsOfExperience",mpn:"https://schema.org/mpn",multipleValues:"https://schema.org/multipleValues",muscleAction:"https://schema.org/muscleAction",musicArrangement:"https://schema.org/musicArrangement",musicBy:"https://schema.org/musicBy",musicCompositionForm:"https://schema.org/musicCompositionForm",musicGroupMember:"https://schema.org/musicGroupMember",musicReleaseFormat:"https://schema.org/musicReleaseFormat",musicalKey:"https://schema.org/musicalKey",naics:"https://schema.org/naics",name:"https://schema.org/name",namedPosition:"https://schema.org/namedPosition",nationality:"https://schema.org/nationality",naturalProgression:"https://schema.org/naturalProgression",negativeNotes:"https://schema.org/negativeNotes",nerve:"https://schema.org/nerve",nerveMotor:"https://schema.org/nerveMotor",netWorth:"https://schema.org/netWorth",newsUpdatesAndGuidelines:"https://schema.org/newsUpdatesAndGuidelines",nextItem:"https://schema.org/nextItem",noBylinesPolicy:"https://schema.org/noBylinesPolicy",nonEqual:"https://schema.org/nonEqual",nonProprietaryName:"https://schema.org/nonProprietaryName",nonprofitStatus:"https://schema.org/nonprofitStatus",normalRange:"https://schema.org/normalRange",nsn:"https://schema.org/nsn",numAdults:"https://schema.org/numAdults",numChildren:"https://schema.org/numChildren",numConstraints:"https://schema.org/numConstraints",numTracks:"https://schema.org/numTracks",numberOfAccommodationUnits:"https://schema.org/numberOfAccommodationUnits",numberOfAirbags:"https://schema.org/numberOfAirbags",numberOfAvailableAccommodationUnits:"https://schema.org/numberOfAvailableAccommodationUnits",numberOfAxles:"https://schema.org/numberOfAxles",numberOfBathroomsTotal:"https://schema.org/numberOfBathroomsTotal",numberOfBedrooms:"https://schema.org/numberOfBedrooms",numberOfBeds:"https://schema.org/numberOfBeds",numberOfCredits:"https://schema.org/numberOfCredits",numberOfDoors:"https://schema.org/numberOfDoors",numberOfEmployees:"https://schema.org/numberOfEmployees",numberOfEpisodes:"https://schema.org/numberOfEpisodes",numberOfForwardGears:"https://schema.org/numberOfForwardGears",numberOfFullBathrooms:"https://schema.org/numberOfFullBathrooms",numberOfItems:"https://schema.org/numberOfItems",numberOfLoanPayments:"https://schema.org/numberOfLoanPayments",numberOfPages:"https://schema.org/numberOfPages",numberOfPartialBathrooms:"https://schema.org/numberOfPartialBathrooms",numberOfPlayers:"https://schema.org/numberOfPlayers",numberOfPreviousOwners:"https://schema.org/numberOfPreviousOwners",numberOfRooms:"https://schema.org/numberOfRooms",numberOfSeasons:"https://schema.org/numberOfSeasons",numberedPosition:"https://schema.org/numberedPosition",nutrition:"https://schema.org/nutrition",observationDate:"https://schema.org/observationDate",observedNode:"https://schema.org/observedNode",occupancy:"https://schema.org/occupancy",occupationLocation:"https://schema.org/occupationLocation",occupationalCategory:"https://schema.org/occupationalCategory",occupationalCredentialAwarded:"https://schema.org/occupationalCredentialAwarded",offerCount:"https://schema.org/offerCount",offersPrescriptionByMail:"https://schema.org/offersPrescriptionByMail",openingHours:"https://schema.org/openingHours",openingHoursSpecification:"https://schema.org/openingHoursSpecification",opens:"https://schema.org/opens",operatingSystem:"https://schema.org/operatingSystem",opponent:"https://schema.org/opponent",option:"https://schema.org/option",orderDate:"https://schema.org/orderDate",orderDelivery:"https://schema.org/orderDelivery",orderItemNumber:"https://schema.org/orderItemNumber",orderItemStatus:"https://schema.org/orderItemStatus",orderNumber:"https://schema.org/orderNumber",orderQuantity:"https://schema.org/orderQuantity",orderStatus:"https://schema.org/orderStatus",orderedItem:"https://schema.org/orderedItem",organizer:"https://schema.org/organizer",originAddress:"https://schema.org/originAddress",originalMediaContextDescription:"https://schema.org/originalMediaContextDescription",originalMediaLink:"https://schema.org/originalMediaLink",originatesFrom:"https://schema.org/originatesFrom",overdosage:"https://schema.org/overdosage",ownedFrom:"https://schema.org/ownedFrom",ownedThrough:"https://schema.org/ownedThrough",ownershipFundingInfo:"https://schema.org/ownershipFundingInfo",owns:"https://schema.org/owns",pageEnd:"https://schema.org/pageEnd",pageStart:"https://schema.org/pageStart",pagination:"https://schema.org/pagination",parentItem:"https://schema.org/parentItem",parentService:"https://schema.org/parentService",parents:"https://schema.org/parents",partOfEpisode:"https://schema.org/partOfEpisode",partOfInvoice:"https://schema.org/partOfInvoice",partOfOrder:"https://schema.org/partOfOrder",partOfSeason:"https://schema.org/partOfSeason",partOfSystem:"https://schema.org/partOfSystem",partOfTVSeries:"https://schema.org/partOfTVSeries",partySize:"https://schema.org/partySize",passengerPriorityStatus:"https://schema.org/passengerPriorityStatus",passengerSequenceNumber:"https://schema.org/passengerSequenceNumber",pathophysiology:"https://schema.org/pathophysiology",pattern:"https://schema.org/pattern",payload:"https://schema.org/payload",paymentAccepted:"https://schema.org/paymentAccepted",paymentDue:"https://schema.org/paymentDue",paymentMethod:"https://schema.org/paymentMethod",paymentMethodId:"https://schema.org/paymentMethodId",paymentStatus:"https://schema.org/paymentStatus",paymentUrl:"https://schema.org/paymentUrl",penciler:"https://schema.org/penciler",percentile10:"https://schema.org/percentile10",percentile25:"https://schema.org/percentile25",percentile75:"https://schema.org/percentile75",percentile90:"https://schema.org/percentile90",performerIn:"https://schema.org/performerIn",performers:"https://schema.org/performers",permissionType:"https://schema.org/permissionType",permissions:"https://schema.org/permissions",permitAudience:"https://schema.org/permitAudience",permittedUsage:"https://schema.org/permittedUsage",petsAllowed:"https://schema.org/petsAllowed",phoneticText:"https://schema.org/phoneticText",photos:"https://schema.org/photos",physicalRequirement:"https://schema.org/physicalRequirement",physiologicalBenefits:"https://schema.org/physiologicalBenefits",pickupLocation:"https://schema.org/pickupLocation",pickupTime:"https://schema.org/pickupTime",playMode:"https://schema.org/playMode",playerType:"https://schema.org/playerType",playersOnline:"https://schema.org/playersOnline",polygon:"https://schema.org/polygon",populationType:"https://schema.org/populationType",positiveNotes:"https://schema.org/positiveNotes",possibleComplication:"https://schema.org/possibleComplication",possibleTreatment:"https://schema.org/possibleTreatment",postOfficeBoxNumber:"https://schema.org/postOfficeBoxNumber",postOp:"https://schema.org/postOp",postalCode:"https://schema.org/postalCode",postalCodeBegin:"https://schema.org/postalCodeBegin",postalCodeEnd:"https://schema.org/postalCodeEnd",postalCodePrefix:"https://schema.org/postalCodePrefix",postalCodeRange:"https://schema.org/postalCodeRange",potentialAction:"https://schema.org/potentialAction",potentialUse:"https://schema.org/potentialUse",preOp:"https://schema.org/preOp",predecessorOf:"https://schema.org/predecessorOf",pregnancyCategory:"https://schema.org/pregnancyCategory",pregnancyWarning:"https://schema.org/pregnancyWarning",prepTime:"https://schema.org/prepTime",preparation:"https://schema.org/preparation",prescribingInfo:"https://schema.org/prescribingInfo",prescriptionStatus:"https://schema.org/prescriptionStatus",previousItem:"https://schema.org/previousItem",previousStartDate:"https://schema.org/previousStartDate",price:"https://schema.org/price",priceComponent:"https://schema.org/priceComponent",priceComponentType:"https://schema.org/priceComponentType",priceCurrency:"https://schema.org/priceCurrency",priceRange:"https://schema.org/priceRange",priceSpecification:"https://schema.org/priceSpecification",priceType:"https://schema.org/priceType",priceValidUntil:"https://schema.org/priceValidUntil",primaryImageOfPage:"https://schema.org/primaryImageOfPage",primaryPrevention:"https://schema.org/primaryPrevention",printColumn:"https://schema.org/printColumn",printEdition:"https://schema.org/printEdition",printPage:"https://schema.org/printPage",printSection:"https://schema.org/printSection",procedure:"https://schema.org/procedure",procedureType:"https://schema.org/procedureType",processingTime:"https://schema.org/processingTime",processorRequirements:"https://schema.org/processorRequirements",producer:"https://schema.org/producer",produces:"https://schema.org/produces",productGroupID:"https://schema.org/productGroupID",productID:"https://schema.org/productID",productReturnDays:"https://schema.org/productReturnDays",productReturnLink:"https://schema.org/productReturnLink",productSupported:"https://schema.org/productSupported",productionCompany:"https://schema.org/productionCompany",productionDate:"https://schema.org/productionDate",proficiencyLevel:"https://schema.org/proficiencyLevel",programMembershipUsed:"https://schema.org/programMembershipUsed",programName:"https://schema.org/programName",programPrerequisites:"https://schema.org/programPrerequisites",programType:"https://schema.org/programType",programmingLanguage:"https://schema.org/programmingLanguage",programmingModel:"https://schema.org/programmingModel",propertyID:"https://schema.org/propertyID",proprietaryName:"https://schema.org/proprietaryName",proteinContent:"https://schema.org/proteinContent",providerMobility:"https://schema.org/providerMobility",providesService:"https://schema.org/providesService",publicAccess:"https://schema.org/publicAccess",publicTransportClosuresInfo:"https://schema.org/publicTransportClosuresInfo",publication:"https://schema.org/publication",publicationType:"https://schema.org/publicationType",publishedBy:"https://schema.org/publishedBy",publishedOn:"https://schema.org/publishedOn",publisher:"https://schema.org/publisher",publisherImprint:"https://schema.org/publisherImprint",purchaseDate:"https://schema.org/purchaseDate",qualifications:"https://schema.org/qualifications",quarantineGuidelines:"https://schema.org/quarantineGuidelines",query:"https://schema.org/query",quest:"https://schema.org/quest",question:"https://schema.org/question",rangeIncludes:"https://schema.org/rangeIncludes",ratingCount:"https://schema.org/ratingCount",ratingExplanation:"https://schema.org/ratingExplanation",ratingValue:"https://schema.org/ratingValue",readBy:"https://schema.org/readBy",readonlyValue:"https://schema.org/readonlyValue",realEstateAgent:"https://schema.org/realEstateAgent",recipe:"https://schema.org/recipe",recipeCategory:"https://schema.org/recipeCategory",recipeCuisine:"https://schema.org/recipeCuisine",recipeInstructions:"https://schema.org/recipeInstructions",recipeYield:"https://schema.org/recipeYield",recognizedBy:"https://schema.org/recognizedBy",recognizingAuthority:"https://schema.org/recognizingAuthority",recommendationStrength:"https://schema.org/recommendationStrength",recommendedIntake:"https://schema.org/recommendedIntake",recordLabel:"https://schema.org/recordLabel",recourseLoan:"https://schema.org/recourseLoan",referenceQuantity:"https://schema.org/referenceQuantity",referencesOrder:"https://schema.org/referencesOrder",refundType:"https://schema.org/refundType",regionDrained:"https://schema.org/regionDrained",regionsAllowed:"https://schema.org/regionsAllowed",relatedAnatomy:"https://schema.org/relatedAnatomy",relatedCondition:"https://schema.org/relatedCondition",relatedDrug:"https://schema.org/relatedDrug",relatedLink:"https://schema.org/relatedLink",relatedStructure:"https://schema.org/relatedStructure",relatedTherapy:"https://schema.org/relatedTherapy",relatedTo:"https://schema.org/relatedTo",releaseDate:"https://schema.org/releaseDate",releaseNotes:"https://schema.org/releaseNotes",releasedEvent:"https://schema.org/releasedEvent",relevantOccupation:"https://schema.org/relevantOccupation",relevantSpecialty:"https://schema.org/relevantSpecialty",remainingAttendeeCapacity:"https://schema.org/remainingAttendeeCapacity",renegotiableLoan:"https://schema.org/renegotiableLoan",repeatCount:"https://schema.org/repeatCount",repeatFrequency:"https://schema.org/repeatFrequency",repetitions:"https://schema.org/repetitions",replacee:"https://schema.org/replacee",replacer:"https://schema.org/replacer",replyToUrl:"https://schema.org/replyToUrl",reportNumber:"https://schema.org/reportNumber",representativeOfPage:"https://schema.org/representativeOfPage",requiredCollateral:"https://schema.org/requiredCollateral",requiredGender:"https://schema.org/requiredGender",requiredMaxAge:"https://schema.org/requiredMaxAge",requiredMinAge:"https://schema.org/requiredMinAge",requiredQuantity:"https://schema.org/requiredQuantity",requirements:"https://schema.org/requirements",requiresSubscription:"https://schema.org/requiresSubscription",reservationFor:"https://schema.org/reservationFor",reservationId:"https://schema.org/reservationId",reservationStatus:"https://schema.org/reservationStatus",reservedTicket:"https://schema.org/reservedTicket",responsibilities:"https://schema.org/responsibilities",restPeriods:"https://schema.org/restPeriods",restockingFee:"https://schema.org/restockingFee",resultComment:"https://schema.org/resultComment",resultReview:"https://schema.org/resultReview",returnFees:"https://schema.org/returnFees",returnLabelSource:"https://schema.org/returnLabelSource",returnMethod:"https://schema.org/returnMethod",returnPolicyCategory:"https://schema.org/returnPolicyCategory",returnPolicyCountry:"https://schema.org/returnPolicyCountry",returnPolicySeasonalOverride:"https://schema.org/returnPolicySeasonalOverride",returnShippingFeesAmount:"https://schema.org/returnShippingFeesAmount",reviewAspect:"https://schema.org/reviewAspect",reviewBody:"https://schema.org/reviewBody",reviewCount:"https://schema.org/reviewCount",reviewRating:"https://schema.org/reviewRating",reviewedBy:"https://schema.org/reviewedBy",reviews:"https://schema.org/reviews",riskFactor:"https://schema.org/riskFactor",risks:"https://schema.org/risks",roofLoad:"https://schema.org/roofLoad",rsvpResponse:"https://schema.org/rsvpResponse",runsTo:"https://schema.org/runsTo",runtime:"https://schema.org/runtime",rxcui:"https://schema.org/rxcui",safetyConsideration:"https://schema.org/safetyConsideration",salaryCurrency:"https://schema.org/salaryCurrency",salaryUponCompletion:"https://schema.org/salaryUponCompletion",sameAs:"https://schema.org/sameAs",sampleType:"https://schema.org/sampleType",saturatedFatContent:"https://schema.org/saturatedFatContent",scheduleTimezone:"https://schema.org/scheduleTimezone",scheduledPaymentDate:"https://schema.org/scheduledPaymentDate",scheduledTime:"https://schema.org/scheduledTime",schemaVersion:"https://schema.org/schemaVersion",schoolClosuresInfo:"https://schema.org/schoolClosuresInfo",screenCount:"https://schema.org/screenCount",screenshot:"https://schema.org/screenshot",sdDatePublished:"https://schema.org/sdDatePublished",sdLicense:"https://schema.org/sdLicense",sdPublisher:"https://schema.org/sdPublisher",seasonNumber:"https://schema.org/seasonNumber",seasons:"https://schema.org/seasons",seatNumber:"https://schema.org/seatNumber",seatRow:"https://schema.org/seatRow",seatSection:"https://schema.org/seatSection",seatingCapacity:"https://schema.org/seatingCapacity",seatingType:"https://schema.org/seatingType",secondaryPrevention:"https://schema.org/secondaryPrevention",securityClearanceRequirement:"https://schema.org/securityClearanceRequirement",securityScreening:"https://schema.org/securityScreening",seeks:"https://schema.org/seeks",sender:"https://schema.org/sender",sensoryRequirement:"https://schema.org/sensoryRequirement",sensoryUnit:"https://schema.org/sensoryUnit",seriousAdverseOutcome:"https://schema.org/seriousAdverseOutcome",serverStatus:"https://schema.org/serverStatus",servesCuisine:"https://schema.org/servesCuisine",serviceAudience:"https://schema.org/serviceAudience",serviceLocation:"https://schema.org/serviceLocation",serviceOperator:"https://schema.org/serviceOperator",servicePhone:"https://schema.org/servicePhone",servicePostalAddress:"https://schema.org/servicePostalAddress",serviceSmsNumber:"https://schema.org/serviceSmsNumber",serviceType:"https://schema.org/serviceType",serviceUrl:"https://schema.org/serviceUrl",servingSize:"https://schema.org/servingSize",sha256:"https://schema.org/sha256",sharedContent:"https://schema.org/sharedContent",shippingDestination:"https://schema.org/shippingDestination",shippingDetails:"https://schema.org/shippingDetails",shippingLabel:"https://schema.org/shippingLabel",shippingOrigin:"https://schema.org/shippingOrigin",shippingRate:"https://schema.org/shippingRate",shippingSettingsLink:"https://schema.org/shippingSettingsLink",siblings:"https://schema.org/siblings",signDetected:"https://schema.org/signDetected",signOrSymptom:"https://schema.org/signOrSymptom",significance:"https://schema.org/significance",significantLinks:"https://schema.org/significantLinks",size:"https://schema.org/size",sizeGroup:"https://schema.org/sizeGroup",sizeSystem:"https://schema.org/sizeSystem",skills:"https://schema.org/skills",sku:"https://schema.org/sku",slogan:"https://schema.org/slogan",smiles:"https://schema.org/smiles",smokingAllowed:"https://schema.org/smokingAllowed",sodiumContent:"https://schema.org/sodiumContent",softwareAddOn:"https://schema.org/softwareAddOn",softwareHelp:"https://schema.org/softwareHelp",softwareVersion:"https://schema.org/softwareVersion",sourceOrganization:"https://schema.org/sourceOrganization",sourcedFrom:"https://schema.org/sourcedFrom",spatial:"https://schema.org/spatial",speakable:"https://schema.org/speakable",specialCommitments:"https://schema.org/specialCommitments",specialOpeningHoursSpecification:"https://schema.org/specialOpeningHoursSpecification",specialty:"https://schema.org/specialty",speechToTextMarkup:"https://schema.org/speechToTextMarkup",speed:"https://schema.org/speed",spokenByCharacter:"https://schema.org/spokenByCharacter",sport:"https://schema.org/sport",sportsActivityLocation:"https://schema.org/sportsActivityLocation",sportsEvent:"https://schema.org/sportsEvent",sportsTeam:"https://schema.org/sportsTeam",spouse:"https://schema.org/spouse",stage:"https://schema.org/stage",stageAsNumber:"https://schema.org/stageAsNumber",starRating:"https://schema.org/starRating",startDate:"https://schema.org/startDate",startOffset:"https://schema.org/startOffset",startTime:"https://schema.org/startTime",status:"https://schema.org/status",steeringPosition:"https://schema.org/steeringPosition",stepValue:"https://schema.org/stepValue",steps:"https://schema.org/steps",storageRequirements:"https://schema.org/storageRequirements",streetAddress:"https://schema.org/streetAddress",strengthUnit:"https://schema.org/strengthUnit",strengthValue:"https://schema.org/strengthValue",structuralClass:"https://schema.org/structuralClass",study:"https://schema.org/study",studyDesign:"https://schema.org/studyDesign",studyLocation:"https://schema.org/studyLocation",studySubject:"https://schema.org/studySubject",stupidProperty:"https://schema.org/stupidProperty",subEvents:"https://schema.org/subEvents",subReservation:"https://schema.org/subReservation",subStageSuffix:"https://schema.org/subStageSuffix",subStructure:"https://schema.org/subStructure",subTest:"https://schema.org/subTest",subtitleLanguage:"https://schema.org/subtitleLanguage",successorOf:"https://schema.org/successorOf",sugarContent:"https://schema.org/sugarContent",suggestedAge:"https://schema.org/suggestedAge",suggestedGender:"https://schema.org/suggestedGender",suggestedMaxAge:"https://schema.org/suggestedMaxAge",suggestedMeasurement:"https://schema.org/suggestedMeasurement",suggestedMinAge:"https://schema.org/suggestedMinAge",suitableForDiet:"https://schema.org/suitableForDiet",supersededBy:"https://schema.org/supersededBy",supplyTo:"https://schema.org/supplyTo",supportingData:"https://schema.org/supportingData",surface:"https://schema.org/surface",target:"https://schema.org/target",targetDescription:"https://schema.org/targetDescription",targetName:"https://schema.org/targetName",targetPlatform:"https://schema.org/targetPlatform",targetPopulation:"https://schema.org/targetPopulation",targetProduct:"https://schema.org/targetProduct",targetUrl:"https://schema.org/targetUrl",taxID:"https://schema.org/taxID",taxonRank:"https://schema.org/taxonRank",taxonomicRange:"https://schema.org/taxonomicRange",teaches:"https://schema.org/teaches",telephone:"https://schema.org/telephone",temporal:"https://schema.org/temporal",termDuration:"https://schema.org/termDuration",termsOfService:"https://schema.org/termsOfService",termsPerYear:"https://schema.org/termsPerYear",text:"https://schema.org/text",textValue:"https://schema.org/textValue",thumbnail:"https://schema.org/thumbnail",thumbnailUrl:"https://schema.org/thumbnailUrl",tickerSymbol:"https://schema.org/tickerSymbol",ticketNumber:"https://schema.org/ticketNumber",ticketToken:"https://schema.org/ticketToken",ticketedSeat:"https://schema.org/ticketedSeat",timeOfDay:"https://schema.org/timeOfDay",timeRequired:"https://schema.org/timeRequired",timeToComplete:"https://schema.org/timeToComplete",tissueSample:"https://schema.org/tissueSample",title:"https://schema.org/title",titleEIDR:"https://schema.org/titleEIDR",toLocation:"https://schema.org/toLocation",toRecipient:"https://schema.org/toRecipient",tocContinuation:"https://schema.org/tocContinuation",tocEntry:"https://schema.org/tocEntry",tongueWeight:"https://schema.org/tongueWeight",tool:"https://schema.org/tool",torque:"https://schema.org/torque",totalJobOpenings:"https://schema.org/totalJobOpenings",totalPaymentDue:"https://schema.org/totalPaymentDue",totalPrice:"https://schema.org/totalPrice",totalTime:"https://schema.org/totalTime",tourBookingPage:"https://schema.org/tourBookingPage",touristType:"https://schema.org/touristType",trackingNumber:"https://schema.org/trackingNumber",trackingUrl:"https://schema.org/trackingUrl",tracks:"https://schema.org/tracks",trailer:"https://schema.org/trailer",trailerWeight:"https://schema.org/trailerWeight",trainName:"https://schema.org/trainName",trainNumber:"https://schema.org/trainNumber",trainingSalary:"https://schema.org/trainingSalary",transFatContent:"https://schema.org/transFatContent",transcript:"https://schema.org/transcript",transitTime:"https://schema.org/transitTime",transitTimeLabel:"https://schema.org/transitTimeLabel",translator:"https://schema.org/translator",transmissionMethod:"https://schema.org/transmissionMethod",travelBans:"https://schema.org/travelBans",trialDesign:"https://schema.org/trialDesign",tributary:"https://schema.org/tributary",typeOfBed:"https://schema.org/typeOfBed",typeOfGood:"https://schema.org/typeOfGood",typicalAgeRange:"https://schema.org/typicalAgeRange",typicalCreditsPerTerm:"https://schema.org/typicalCreditsPerTerm",typicalTest:"https://schema.org/typicalTest",underName:"https://schema.org/underName",unitCode:"https://schema.org/unitCode",unitText:"https://schema.org/unitText",unnamedSourcesPolicy:"https://schema.org/unnamedSourcesPolicy",unsaturatedFatContent:"https://schema.org/unsaturatedFatContent",uploadDate:"https://schema.org/uploadDate",upvoteCount:"https://schema.org/upvoteCount",url:"https://schema.org/url",urlTemplate:"https://schema.org/urlTemplate",usedToDiagnose:"https://schema.org/usedToDiagnose",userInteractionCount:"https://schema.org/userInteractionCount",usesDevice:"https://schema.org/usesDevice",usesHealthPlanIdStandard:"https://schema.org/usesHealthPlanIdStandard",utterances:"https://schema.org/utterances",validFor:"https://schema.org/validFor",validFrom:"https://schema.org/validFrom",validIn:"https://schema.org/validIn",validThrough:"https://schema.org/validThrough",validUntil:"https://schema.org/validUntil",value:"https://schema.org/value",valueAddedTaxIncluded:"https://schema.org/valueAddedTaxIncluded",valueMaxLength:"https://schema.org/valueMaxLength",valueMinLength:"https://schema.org/valueMinLength",valueName:"https://schema.org/valueName",valuePattern:"https://schema.org/valuePattern",valueReference:"https://schema.org/valueReference",valueRequired:"https://schema.org/valueRequired",variableMeasured:"https://schema.org/variableMeasured",variablesMeasured:"https://schema.org/variablesMeasured",variantCover:"https://schema.org/variantCover",variesBy:"https://schema.org/variesBy",vatID:"https://schema.org/vatID",vehicleConfiguration:"https://schema.org/vehicleConfiguration",vehicleEngine:"https://schema.org/vehicleEngine",vehicleIdentificationNumber:"https://schema.org/vehicleIdentificationNumber",vehicleInteriorColor:"https://schema.org/vehicleInteriorColor",vehicleInteriorType:"https://schema.org/vehicleInteriorType",vehicleModelDate:"https://schema.org/vehicleModelDate",vehicleSeatingCapacity:"https://schema.org/vehicleSeatingCapacity",vehicleSpecialUsage:"https://schema.org/vehicleSpecialUsage",vehicleTransmission:"https://schema.org/vehicleTransmission",vendor:"https://schema.org/vendor",verificationFactCheckingPolicy:"https://schema.org/verificationFactCheckingPolicy",version:"https://schema.org/version",video:"https://schema.org/video",videoFormat:"https://schema.org/videoFormat",videoFrameSize:"https://schema.org/videoFrameSize",videoQuality:"https://schema.org/videoQuality",volumeNumber:"https://schema.org/volumeNumber",warning:"https://schema.org/warning",warrantyPromise:"https://schema.org/warrantyPromise",warrantyScope:"https://schema.org/warrantyScope",webCheckinTime:"https://schema.org/webCheckinTime",webFeed:"https://schema.org/webFeed",weight:"https://schema.org/weight",weightTotal:"https://schema.org/weightTotal",wheelbase:"https://schema.org/wheelbase",width:"https://schema.org/width",winner:"https://schema.org/winner",wordCount:"https://schema.org/wordCount",workHours:"https://schema.org/workHours",workLocation:"https://schema.org/workLocation",workPerformed:"https://schema.org/workPerformed",workPresented:"https://schema.org/workPresented",workload:"https://schema.org/workload",worksFor:"https://schema.org/worksFor",worstRating:"https://schema.org/worstRating",xpath:"https://schema.org/xpath",yearBuilt:"https://schema.org/yearBuilt",yearlyRevenue:"https://schema.org/yearlyRevenue",yearsInOperation:"https://schema.org/yearsInOperation",actionApplication:"https://schema.org/actionApplication",actionOption:"https://schema.org/actionOption",album:"https://schema.org/album",albumRelease:"https://schema.org/albumRelease",alternateName:"https://schema.org/alternateName",alumni:"https://schema.org/alumni",alumniOf:"https://schema.org/alumniOf",archiveHeld:"https://schema.org/archiveHeld",arterialBranch:"https://schema.org/arterialBranch",artworkSurface:"https://schema.org/artworkSurface",attendee:"https://schema.org/attendee",audience:"https://schema.org/audience",availableOnDevice:"https://schema.org/availableOnDevice",award:"https://schema.org/award",blogPost:"https://schema.org/blogPost",broker:"https://schema.org/broker",caption:"https://schema.org/caption",category:"https://schema.org/category",childTaxon:"https://schema.org/childTaxon",clinicalPharmacology:"https://schema.org/clinicalPharmacology",codeSampleType:"https://schema.org/codeSampleType",colleague:"https://schema.org/colleague",contactPoint:"https://schema.org/contactPoint",containsPlace:"https://schema.org/containsPlace",containsSeason:"https://schema.org/containsSeason",contentLocation:"https://schema.org/contentLocation",creator:"https://schema.org/creator",dataset:"https://schema.org/dataset",dateCreated:"https://schema.org/dateCreated",director:"https://schema.org/director",duration:"https://schema.org/duration",employee:"https://schema.org/employee",encodesBioChemEntity:"https://schema.org/encodesBioChemEntity",encodesCreativeWork:"https://schema.org/encodesCreativeWork",encodingFormat:"https://schema.org/encodingFormat",episode:"https://schema.org/episode",event:"https://schema.org/event",exampleOfWork:"https://schema.org/exampleOfWork",executableLibraryName:"https://schema.org/executableLibraryName",exerciseCourse:"https://schema.org/exerciseCourse",founder:"https://schema.org/founder",frequency:"https://schema.org/frequency",fundedItem:"https://schema.org/fundedItem",funding:"https://schema.org/funding",game:"https://schema.org/game",gameServer:"https://schema.org/gameServer",genre:"https://schema.org/genre",hasBioChemEntityPart:"https://schema.org/hasBioChemEntityPart",hasBroadcastChannel:"https://schema.org/hasBroadcastChannel",hasDefinedTerm:"https://schema.org/hasDefinedTerm",hasMenu:"https://schema.org/hasMenu",hasMerchantReturnPolicy:"https://schema.org/hasMerchantReturnPolicy",hasVariant:"https://schema.org/hasVariant",holdingArchive:"https://schema.org/holdingArchive",inDefinedTermSet:"https://schema.org/inDefinedTermSet",inLanguage:"https://schema.org/inLanguage",incentiveCompensation:"https://schema.org/incentiveCompensation",interactionStatistic:"https://schema.org/interactionStatistic",isAccessibleForFree:"https://schema.org/isAccessibleForFree",isBasedOn:"https://schema.org/isBasedOn",isEncodedByBioChemEntity:"https://schema.org/isEncodedByBioChemEntity",isPartOfBioChemEntity:"https://schema.org/isPartOfBioChemEntity",isVariantOf:"https://schema.org/isVariantOf",itemOffered:"https://schema.org/itemOffered",jobBenefits:"https://schema.org/jobBenefits",jurisdiction:"https://schema.org/jurisdiction",legislationApplies:"https://schema.org/legislationApplies",mainContentOfPage:"https://schema.org/mainContentOfPage",mainEntity:"https://schema.org/mainEntity",mainEntityOfPage:"https://schema.org/mainEntityOfPage",makesOffer:"https://schema.org/makesOffer",merchantReturnDays:"https://schema.org/merchantReturnDays",merchantReturnLink:"https://schema.org/merchantReturnLink",offeredBy:"https://schema.org/offeredBy",offers:"https://schema.org/offers",parent:"https://schema.org/parent",parentTaxon:"https://schema.org/parentTaxon",partOfSeries:"https://schema.org/partOfSeries",partOfTrip:"https://schema.org/partOfTrip",paymentDueDate:"https://schema.org/paymentDueDate",performTime:"https://schema.org/performTime",performer:"https://schema.org/performer",photo:"https://schema.org/photo",provider:"https://schema.org/provider",providesBroadcastService:"https://schema.org/providesBroadcastService",recipeIngredient:"https://schema.org/recipeIngredient",recordedAs:"https://schema.org/recordedAs",recordedAt:"https://schema.org/recordedAt",recordedIn:"https://schema.org/recordedIn",recordingOf:"https://schema.org/recordingOf",releaseOf:"https://schema.org/releaseOf",review:"https://schema.org/review",roleName:"https://schema.org/roleName",runtimePlatform:"https://schema.org/runtimePlatform",season:"https://schema.org/season",serialNumber:"https://schema.org/serialNumber",serviceArea:"https://schema.org/serviceArea",serviceOutput:"https://schema.org/serviceOutput",sibling:"https://schema.org/sibling",significantLink:"https://schema.org/significantLink",softwareRequirements:"https://schema.org/softwareRequirements",sponsor:"https://schema.org/sponsor",subOrganization:"https://schema.org/subOrganization",subTrip:"https://schema.org/subTrip",subjectOf:"https://schema.org/subjectOf",suggestedAnswer:"https://schema.org/suggestedAnswer",superEvent:"https://schema.org/superEvent",targetCollection:"https://schema.org/targetCollection",temporalCoverage:"https://schema.org/temporalCoverage",termCode:"https://schema.org/termCode",track:"https://schema.org/track",translationOfWork:"https://schema.org/translationOfWork",usageInfo:"https://schema.org/usageInfo",warranty:"https://schema.org/warranty",workTranslation:"https://schema.org/workTranslation",yield__workaround:"https://schema.org/yield",about:"https://schema.org/about",actor:"https://schema.org/actor",associatedReview:"https://schema.org/associatedReview",competitor:"https://schema.org/competitor",containedInPlace:"https://schema.org/containedInPlace",encoding:"https://schema.org/encoding",hasMap:"https://schema.org/hasMap",material:"https://schema.org/material",memberOf:"https://schema.org/memberOf",parentOrganization:"https://schema.org/parentOrganization",result:"https://schema.org/result",seller:"https://schema.org/seller",spatialCoverage:"https://schema.org/spatialCoverage",step:"https://schema.org/step",subEvent:"https://schema.org/subEvent",supply:"https://schema.org/supply",workFeatured:"https://schema.org/workFeatured",areaServed:"https://schema.org/areaServed",image:"https://schema.org/image",includedInDataCatalog:"https://schema.org/includedInDataCatalog",member:"https://schema.org/member",recipient:"https://schema.org/recipient",workExample:"https://schema.org/workExample",description:"https://schema.org/description",gtin:"https://schema.org/gtin",hasRepresentation:"https://schema.org/hasRepresentation",hasPart:"https://schema.org/hasPart",position:"https://schema.org/position",isPartOf:"https://schema.org/isPartOf",instrument:"https://schema.org/instrument",object:"https://schema.org/object",publishingPrinciples:"https://schema.org/publishingPrinciples",location:"https://schema.org/location",participant:"https://schema.org/participant",identifier:"https://schema.org/identifier"}),ac=Object.freeze({Community:"http://rdfs.org/sioc/ns#Community",Container:"http://rdfs.org/sioc/ns#Container",Forum:"http://rdfs.org/sioc/ns#Forum",Item:"http://rdfs.org/sioc/ns#Item",Post:"http://rdfs.org/sioc/ns#Post",Role:"http://rdfs.org/sioc/ns#Role",Space:"http://rdfs.org/sioc/ns#Space",Site:"http://rdfs.org/sioc/ns#Site",Thread:"http://rdfs.org/sioc/ns#Thread",UserAccount:"http://rdfs.org/sioc/ns#UserAccount",Usergroup:"http://rdfs.org/sioc/ns#Usergroup",about:"http://rdfs.org/sioc/ns#about",account_of:"http://rdfs.org/sioc/ns#account_of",addressed_to:"http://rdfs.org/sioc/ns#addressed_to",administrator_of:"http://rdfs.org/sioc/ns#administrator_of",attachment:"http://rdfs.org/sioc/ns#attachment",avatar:"http://rdfs.org/sioc/ns#avatar",container_of:"http://rdfs.org/sioc/ns#container_of",content:"http://rdfs.org/sioc/ns#content",creator_of:"http://rdfs.org/sioc/ns#creator_of",delivered_at:"http://rdfs.org/sioc/ns#delivered_at",discussion_of:"http://rdfs.org/sioc/ns#discussion_of",email:"http://rdfs.org/sioc/ns#email",email_sha1:"http://rdfs.org/sioc/ns#email_sha1",embeds_knowledge:"http://rdfs.org/sioc/ns#embeds_knowledge",feed:"http://rdfs.org/sioc/ns#feed",follows:"http://rdfs.org/sioc/ns#follows",function_of:"http://rdfs.org/sioc/ns#function_of",generator:"http://rdfs.org/sioc/ns#generator",has_administrator:"http://rdfs.org/sioc/ns#has_administrator",has_container:"http://rdfs.org/sioc/ns#has_container",has_creator:"http://rdfs.org/sioc/ns#has_creator",has_discussion:"http://rdfs.org/sioc/ns#has_discussion",has_function:"http://rdfs.org/sioc/ns#has_function",has_host:"http://rdfs.org/sioc/ns#has_host",has_member:"http://rdfs.org/sioc/ns#has_member",has_moderator:"http://rdfs.org/sioc/ns#has_moderator",has_modifier:"http://rdfs.org/sioc/ns#has_modifier",has_owner:"http://rdfs.org/sioc/ns#has_owner",has_parent:"http://rdfs.org/sioc/ns#has_parent",has_reply:"http://rdfs.org/sioc/ns#has_reply",has_scope:"http://rdfs.org/sioc/ns#has_scope",has_space:"http://rdfs.org/sioc/ns#has_space",has_subscriber:"http://rdfs.org/sioc/ns#has_subscriber",has_usergroup:"http://rdfs.org/sioc/ns#has_usergroup",host_of:"http://rdfs.org/sioc/ns#host_of",id:"http://rdfs.org/sioc/ns#id",ip_address:"http://rdfs.org/sioc/ns#ip_address",last_activity_date:"http://rdfs.org/sioc/ns#last_activity_date",last_item_date:"http://rdfs.org/sioc/ns#last_item_date",last_reply_date:"http://rdfs.org/sioc/ns#last_reply_date",latest_version:"http://rdfs.org/sioc/ns#latest_version",likes:"http://rdfs.org/sioc/ns#likes",link:"http://rdfs.org/sioc/ns#link",links_to:"http://rdfs.org/sioc/ns#links_to",member_of:"http://rdfs.org/sioc/ns#member_of",mentions:"http://rdfs.org/sioc/ns#mentions",moderator_of:"http://rdfs.org/sioc/ns#moderator_of",modifier_of:"http://rdfs.org/sioc/ns#modifier_of",name:"http://rdfs.org/sioc/ns#name",next_by_date:"http://rdfs.org/sioc/ns#next_by_date",next_version:"http://rdfs.org/sioc/ns#next_version",note:"http://rdfs.org/sioc/ns#note",num_authors:"http://rdfs.org/sioc/ns#num_authors",num_items:"http://rdfs.org/sioc/ns#num_items",num_replies:"http://rdfs.org/sioc/ns#num_replies",num_threads:"http://rdfs.org/sioc/ns#num_threads",num_views:"http://rdfs.org/sioc/ns#num_views",owner_of:"http://rdfs.org/sioc/ns#owner_of",parent_of:"http://rdfs.org/sioc/ns#parent_of",previous_by_date:"http://rdfs.org/sioc/ns#previous_by_date",previous_version:"http://rdfs.org/sioc/ns#previous_version",read_at:"http://rdfs.org/sioc/ns#read_at",related_to:"http://rdfs.org/sioc/ns#related_to",reply_of:"http://rdfs.org/sioc/ns#reply_of",respond_to:"http://rdfs.org/sioc/ns#respond_to",scope_of:"http://rdfs.org/sioc/ns#scope_of",shared_by:"http://rdfs.org/sioc/ns#shared_by",space_of:"http://rdfs.org/sioc/ns#space_of",subscriber_of:"http://rdfs.org/sioc/ns#subscriber_of",topic:"http://rdfs.org/sioc/ns#topic",usergroup_of:"http://rdfs.org/sioc/ns#usergroup_of"}),hc=Object.freeze({Concept:"http://www.w3.org/2004/02/skos/core#Concept",ConceptScheme:"http://www.w3.org/2004/02/skos/core#ConceptScheme",Collection:"http://www.w3.org/2004/02/skos/core#Collection",OrderedCollection:"http://www.w3.org/2004/02/skos/core#OrderedCollection",inScheme:"http://www.w3.org/2004/02/skos/core#inScheme",hasTopConcept:"http://www.w3.org/2004/02/skos/core#hasTopConcept",topConceptOf:"http://www.w3.org/2004/02/skos/core#topConceptOf",notation:"http://www.w3.org/2004/02/skos/core#notation",semanticRelation:"http://www.w3.org/2004/02/skos/core#semanticRelation",broader:"http://www.w3.org/2004/02/skos/core#broader",narrower:"http://www.w3.org/2004/02/skos/core#narrower",related:"http://www.w3.org/2004/02/skos/core#related",broaderTransitive:"http://www.w3.org/2004/02/skos/core#broaderTransitive",narrowerTransitive:"http://www.w3.org/2004/02/skos/core#narrowerTransitive",member:"http://www.w3.org/2004/02/skos/core#member",memberList:"http://www.w3.org/2004/02/skos/core#memberList",mappingRelation:"http://www.w3.org/2004/02/skos/core#mappingRelation",broadMatch:"http://www.w3.org/2004/02/skos/core#broadMatch",narrowMatch:"http://www.w3.org/2004/02/skos/core#narrowMatch",relatedMatch:"http://www.w3.org/2004/02/skos/core#relatedMatch",exactMatch:"http://www.w3.org/2004/02/skos/core#exactMatch",closeMatch:"http://www.w3.org/2004/02/skos/core#closeMatch"}),cc=Object.freeze({Account:"http://www.w3.org/ns/solid/terms#Account",Inbox:"http://www.w3.org/ns/solid/terms#Inbox",InsertDeletePatch:"http://www.w3.org/ns/solid/terms#InsertDeletePatch",ListedDocument:"http://www.w3.org/ns/solid/terms#ListedDocument",Notification:"http://www.w3.org/ns/solid/terms#Notification",Patch:"http://www.w3.org/ns/solid/terms#Patch",Timeline:"http://www.w3.org/ns/solid/terms#Timeline",TypeIndex:"http://www.w3.org/ns/solid/terms#TypeIndex",TypeRegistration:"http://www.w3.org/ns/solid/terms#TypeRegistration",UnlistedDocument:"http://www.w3.org/ns/solid/terms#UnlistedDocument",account:"http://www.w3.org/ns/solid/terms#account",deletes:"http://www.w3.org/ns/solid/terms#deletes",forClass:"http://www.w3.org/ns/solid/terms#forClass",inbox:"http://www.w3.org/ns/solid/terms#inbox",inserts:"http://www.w3.org/ns/solid/terms#inserts",instance:"http://www.w3.org/ns/solid/terms#instance",instanceContainer:"http://www.w3.org/ns/solid/terms#instanceContainer",loginEndpoint:"http://www.w3.org/ns/solid/terms#loginEndpoint",logoutEndpoint:"http://www.w3.org/ns/solid/terms#logoutEndpoint",notification:"http://www.w3.org/ns/solid/terms#notification",oidcIssuer:"http://www.w3.org/ns/solid/terms#oidcIssuer",owner:"http://www.w3.org/ns/solid/terms#owner",patches:"http://www.w3.org/ns/solid/terms#patches",privateTypeIndex:"http://www.w3.org/ns/solid/terms#privateTypeIndex",publicTypeIndex:"http://www.w3.org/ns/solid/terms#publicTypeIndex",read:"http://www.w3.org/ns/solid/terms#read",storageQuota:"http://www.w3.org/ns/solid/terms#storageQuota",storageUsage:"http://www.w3.org/ns/solid/terms#storageUsage",typeIndex:"http://www.w3.org/ns/solid/terms#typeIndex",timeline:"http://www.w3.org/ns/solid/terms#timeline",where:"http://www.w3.org/ns/solid/terms#where"}),uc=Object.freeze({ControlledStorage:"http://www.w3.org/ns/pim/space#ControlledStorage",PersonalStorage:"http://www.w3.org/ns/pim/space#PersonalStorage",PublicStorage:"http://www.w3.org/ns/pim/space#PublicStorage",Storage:"http://www.w3.org/ns/pim/space#Storage",Workspace:"http://www.w3.org/ns/pim/space#Workspace",masterWorkspace:"http://www.w3.org/ns/pim/space#masterWorkspace",preferencesFile:"http://www.w3.org/ns/pim/space#preferencesFile",storage:"http://www.w3.org/ns/pim/space#storage",uriPrefix:"http://www.w3.org/ns/pim/space#uriPrefix",workspace:"http://www.w3.org/ns/pim/space#workspace"}),pc=Object.freeze({Access:"http://www.w3.org/2007/ont/link#Access",Document:"http://www.w3.org/2007/ont/link#Document",Mailbox:"http://www.w3.org/2007/ont/link#Mailbox",ProtocolEvent:"http://www.w3.org/2007/ont/link#ProtocolEvent",RDFDocument:"http://www.w3.org/2007/ont/link#RDFDocument",Response:"http://www.w3.org/2007/ont/link#Response",Session:"http://www.w3.org/2007/ont/link#Session",isMentionedIn:"http://www.w3.org/2007/ont/link#isMentionedIn",mentionsClass:"http://www.w3.org/2007/ont/link#mentionsClass",protocol:"http://www.w3.org/2007/ont/link#protocol",redirectedRequest:"http://www.w3.org/2007/ont/link#redirectedRequest",requestedBy:"http://www.w3.org/2007/ont/link#requestedBy",requestedURI:"http://www.w3.org/2007/ont/link#requestedURI",response:"http://www.w3.org/2007/ont/link#response",session:"http://www.w3.org/2007/ont/link#session",source:"http://www.w3.org/2007/ont/link#source",status:"http://www.w3.org/2007/ont/link#status",testDataset:"http://www.w3.org/2007/ont/link#testDataset",uri:"http://www.w3.org/2007/ont/link#uri"}),lc=Object.freeze({Access:"http://www.w3.org/2007/ont/link#Access",Document:"http://www.w3.org/2007/ont/link#Document",Mailbox:"http://www.w3.org/2007/ont/link#Mailbox",ProtocolEvent:"http://www.w3.org/2007/ont/link#ProtocolEvent",RDFDocument:"http://www.w3.org/2007/ont/link#RDFDocument",Response:"http://www.w3.org/2007/ont/link#Response",Session:"http://www.w3.org/2007/ont/link#Session",isMentionedIn:"http://www.w3.org/2007/ont/link#isMentionedIn",mentionsClass:"http://www.w3.org/2007/ont/link#mentionsClass",protocol:"http://www.w3.org/2007/ont/link#protocol",redirectedRequest:"http://www.w3.org/2007/ont/link#redirectedRequest",requestedBy:"http://www.w3.org/2007/ont/link#requestedBy",requestedURI:"http://www.w3.org/2007/ont/link#requestedURI",response:"http://www.w3.org/2007/ont/link#response",session:"http://www.w3.org/2007/ont/link#session",source:"http://www.w3.org/2007/ont/link#source",status:"http://www.w3.org/2007/ont/link#status",testDataset:"http://www.w3.org/2007/ont/link#testDataset",uri:"http://www.w3.org/2007/ont/link#uri"}),mc=Object.freeze({Acquaintance:"http://www.w3.org/2006/vcard/ns#Acquaintance",Agent:"http://www.w3.org/2006/vcard/ns#Agent",BBS:"http://www.w3.org/2006/vcard/ns#BBS",Car:"http://www.w3.org/2006/vcard/ns#Car",Cell:"http://www.w3.org/2006/vcard/ns#Cell",Child:"http://www.w3.org/2006/vcard/ns#Child",Colleague:"http://www.w3.org/2006/vcard/ns#Colleague",Contact:"http://www.w3.org/2006/vcard/ns#Contact",Coresident:"http://www.w3.org/2006/vcard/ns#Coresident",Coworker:"http://www.w3.org/2006/vcard/ns#Coworker",Crush:"http://www.w3.org/2006/vcard/ns#Crush",Date__workaround:"http://www.w3.org/2006/vcard/ns#Date",Dom:"http://www.w3.org/2006/vcard/ns#Dom",Emergency:"http://www.w3.org/2006/vcard/ns#Emergency",Fax:"http://www.w3.org/2006/vcard/ns#Fax",Female:"http://www.w3.org/2006/vcard/ns#Female",Friend:"http://www.w3.org/2006/vcard/ns#Friend",Home:"http://www.w3.org/2006/vcard/ns#Home",ISDN:"http://www.w3.org/2006/vcard/ns#ISDN",Internet:"http://www.w3.org/2006/vcard/ns#Internet",Intl__workaround:"http://www.w3.org/2006/vcard/ns#Intl",Kin:"http://www.w3.org/2006/vcard/ns#Kin",Label:"http://www.w3.org/2006/vcard/ns#Label",Male:"http://www.w3.org/2006/vcard/ns#Male",Me:"http://www.w3.org/2006/vcard/ns#Me",Met:"http://www.w3.org/2006/vcard/ns#Met",Modem:"http://www.w3.org/2006/vcard/ns#Modem",Msg:"http://www.w3.org/2006/vcard/ns#Msg",Muse:"http://www.w3.org/2006/vcard/ns#Muse",Neighbor:"http://www.w3.org/2006/vcard/ns#Neighbor",None:"http://www.w3.org/2006/vcard/ns#None",Other:"http://www.w3.org/2006/vcard/ns#Other",PCS:"http://www.w3.org/2006/vcard/ns#PCS",Pager:"http://www.w3.org/2006/vcard/ns#Pager",Parcel:"http://www.w3.org/2006/vcard/ns#Parcel",Parent:"http://www.w3.org/2006/vcard/ns#Parent",Postal:"http://www.w3.org/2006/vcard/ns#Postal",Pref:"http://www.w3.org/2006/vcard/ns#Pref",Sibling:"http://www.w3.org/2006/vcard/ns#Sibling",Spouse:"http://www.w3.org/2006/vcard/ns#Spouse",Sweetheart:"http://www.w3.org/2006/vcard/ns#Sweetheart",Tel:"http://www.w3.org/2006/vcard/ns#Tel",Text:"http://www.w3.org/2006/vcard/ns#Text",TextPhone:"http://www.w3.org/2006/vcard/ns#TextPhone",Unknown:"http://www.w3.org/2006/vcard/ns#Unknown",Video:"http://www.w3.org/2006/vcard/ns#Video",Voice:"http://www.w3.org/2006/vcard/ns#Voice",Work:"http://www.w3.org/2006/vcard/ns#Work",X400:"http://www.w3.org/2006/vcard/ns#X400",adr:"http://www.w3.org/2006/vcard/ns#adr",agent:"http://www.w3.org/2006/vcard/ns#agent",anniversary:"http://www.w3.org/2006/vcard/ns#anniversary",bday:"http://www.w3.org/2006/vcard/ns#bday",category:"http://www.w3.org/2006/vcard/ns#category",class__workaround:"http://www.w3.org/2006/vcard/ns#class",email:"http://www.w3.org/2006/vcard/ns#email",geo:"http://www.w3.org/2006/vcard/ns#geo",hasAdditionalName:"http://www.w3.org/2006/vcard/ns#hasAdditionalName",hasCalendarBusy:"http://www.w3.org/2006/vcard/ns#hasCalendarBusy",hasCalendarLink:"http://www.w3.org/2006/vcard/ns#hasCalendarLink",hasCalendarRequest:"http://www.w3.org/2006/vcard/ns#hasCalendarRequest",hasCategory:"http://www.w3.org/2006/vcard/ns#hasCategory",hasCountryName:"http://www.w3.org/2006/vcard/ns#hasCountryName",hasFN:"http://www.w3.org/2006/vcard/ns#hasFN",hasFamilyName:"http://www.w3.org/2006/vcard/ns#hasFamilyName",hasGender:"http://www.w3.org/2006/vcard/ns#hasGender",hasGivenName:"http://www.w3.org/2006/vcard/ns#hasGivenName",hasHonorificPrefix:"http://www.w3.org/2006/vcard/ns#hasHonorificPrefix",hasHonorificSuffix:"http://www.w3.org/2006/vcard/ns#hasHonorificSuffix",hasInstantMessage:"http://www.w3.org/2006/vcard/ns#hasInstantMessage",hasLanguage:"http://www.w3.org/2006/vcard/ns#hasLanguage",hasLocality:"http://www.w3.org/2006/vcard/ns#hasLocality",hasNickname:"http://www.w3.org/2006/vcard/ns#hasNickname",hasNote:"http://www.w3.org/2006/vcard/ns#hasNote",hasOrganizationName:"http://www.w3.org/2006/vcard/ns#hasOrganizationName",hasOrganizationUnit:"http://www.w3.org/2006/vcard/ns#hasOrganizationUnit",hasPostalCode:"http://www.w3.org/2006/vcard/ns#hasPostalCode",hasRegion:"http://www.w3.org/2006/vcard/ns#hasRegion",hasRelated:"http://www.w3.org/2006/vcard/ns#hasRelated",hasRole:"http://www.w3.org/2006/vcard/ns#hasRole",hasSource:"http://www.w3.org/2006/vcard/ns#hasSource",hasStreetAddress:"http://www.w3.org/2006/vcard/ns#hasStreetAddress",hasTitle:"http://www.w3.org/2006/vcard/ns#hasTitle",hasUID:"http://www.w3.org/2006/vcard/ns#hasUID",hasValue:"http://www.w3.org/2006/vcard/ns#hasValue",label:"http://www.w3.org/2006/vcard/ns#label",language:"http://www.w3.org/2006/vcard/ns#language",latitude:"http://www.w3.org/2006/vcard/ns#latitude",longitude:"http://www.w3.org/2006/vcard/ns#longitude",mailer:"http://www.w3.org/2006/vcard/ns#mailer",note:"http://www.w3.org/2006/vcard/ns#note",org:"http://www.w3.org/2006/vcard/ns#org",prodid:"http://www.w3.org/2006/vcard/ns#prodid",rev:"http://www.w3.org/2006/vcard/ns#rev",role:"http://www.w3.org/2006/vcard/ns#role",title:"http://www.w3.org/2006/vcard/ns#title",tz:"http://www.w3.org/2006/vcard/ns#tz",value:"http://www.w3.org/2006/vcard/ns#value",Address:"http://www.w3.org/2006/vcard/ns#Address",Email:"http://www.w3.org/2006/vcard/ns#Email",Group:"http://www.w3.org/2006/vcard/ns#Group",Individual:"http://www.w3.org/2006/vcard/ns#Individual",Name:"http://www.w3.org/2006/vcard/ns#Name",VCard:"http://www.w3.org/2006/vcard/ns#VCard",fn:"http://www.w3.org/2006/vcard/ns#fn",hasAddress:"http://www.w3.org/2006/vcard/ns#hasAddress",hasEmail:"http://www.w3.org/2006/vcard/ns#hasEmail",hasGeo:"http://www.w3.org/2006/vcard/ns#hasGeo",hasKey:"http://www.w3.org/2006/vcard/ns#hasKey",hasLogo:"http://www.w3.org/2006/vcard/ns#hasLogo",hasName:"http://www.w3.org/2006/vcard/ns#hasName",hasPhoto:"http://www.w3.org/2006/vcard/ns#hasPhoto",hasSound:"http://www.w3.org/2006/vcard/ns#hasSound",hasTelephone:"http://www.w3.org/2006/vcard/ns#hasTelephone",hasURL:"http://www.w3.org/2006/vcard/ns#hasURL",key:"http://www.w3.org/2006/vcard/ns#key",logo:"http://www.w3.org/2006/vcard/ns#logo",n:"http://www.w3.org/2006/vcard/ns#n",nickname:"http://www.w3.org/2006/vcard/ns#nickname",photo:"http://www.w3.org/2006/vcard/ns#photo",sound:"http://www.w3.org/2006/vcard/ns#sound",tel:"http://www.w3.org/2006/vcard/ns#tel",url:"http://www.w3.org/2006/vcard/ns#url",Location:"http://www.w3.org/2006/vcard/ns#Location",hasMember:"http://www.w3.org/2006/vcard/ns#hasMember",locality:"http://www.w3.org/2006/vcard/ns#locality",region:"http://www.w3.org/2006/vcard/ns#region",Organization:"http://www.w3.org/2006/vcard/ns#Organization",Gender:"http://www.w3.org/2006/vcard/ns#Gender",Kind:"http://www.w3.org/2006/vcard/ns#Kind",Type:"http://www.w3.org/2006/vcard/ns#Type",TelephoneType:"http://www.w3.org/2006/vcard/ns#TelephoneType",RelatedType:"http://www.w3.org/2006/vcard/ns#RelatedType"}),gc=Object.freeze({ActionItem:"http://www.w3.org/2005/01/wf/flow#ActionItem",Change:"http://www.w3.org/2005/01/wf/flow#Change",Closed:"http://www.w3.org/2005/01/wf/flow#Closed",Creation:"http://www.w3.org/2005/01/wf/flow#Creation",Message:"http://www.w3.org/2005/01/wf/flow#Message",NonTerminalState:"http://www.w3.org/2005/01/wf/flow#NonTerminalState",Open:"http://www.w3.org/2005/01/wf/flow#Open",Product:"http://www.w3.org/2005/01/wf/flow#Product",Task:"http://www.w3.org/2005/01/wf/flow#Task",TerminalState:"http://www.w3.org/2005/01/wf/flow#TerminalState",Tracker:"http://www.w3.org/2005/01/wf/flow#Tracker",Transition:"http://www.w3.org/2005/01/wf/flow#Transition",affects:"http://www.w3.org/2005/01/wf/flow#affects",allowedTransitions:"http://www.w3.org/2005/01/wf/flow#allowedTransitions",asigneeClass:"http://www.w3.org/2005/01/wf/flow#asigneeClass",assignee:"http://www.w3.org/2005/01/wf/flow#assignee",attachment:"http://www.w3.org/2005/01/wf/flow#attachment",creates:"http://www.w3.org/2005/01/wf/flow#creates",dateDue:"http://www.w3.org/2005/01/wf/flow#dateDue",deliverable:"http://www.w3.org/2005/01/wf/flow#deliverable",dependent:"http://www.w3.org/2005/01/wf/flow#dependent",description:"http://www.w3.org/2005/01/wf/flow#description",final:"http://www.w3.org/2005/01/wf/flow#final",goalDescription:"http://www.w3.org/2005/01/wf/flow#goalDescription",initialState:"http://www.w3.org/2005/01/wf/flow#initialState",issue:"http://www.w3.org/2005/01/wf/flow#issue",issueCategory:"http://www.w3.org/2005/01/wf/flow#issueCategory",issueClass:"http://www.w3.org/2005/01/wf/flow#issueClass",message:"http://www.w3.org/2005/01/wf/flow#message",modifiedBy:"http://www.w3.org/2005/01/wf/flow#modifiedBy",recipent:"http://www.w3.org/2005/01/wf/flow#recipent",requires:"http://www.w3.org/2005/01/wf/flow#requires",screenShot:"http://www.w3.org/2005/01/wf/flow#screenShot",sender:"http://www.w3.org/2005/01/wf/flow#sender",source:"http://www.w3.org/2005/01/wf/flow#source",stateStore:"http://www.w3.org/2005/01/wf/flow#stateStore",subscriber:"http://www.w3.org/2005/01/wf/flow#subscriber",successCriteria:"http://www.w3.org/2005/01/wf/flow#successCriteria",task:"http://www.w3.org/2005/01/wf/flow#task",terminalOutput:"http://www.w3.org/2005/01/wf/flow#terminalOutput",testData:"http://www.w3.org/2005/01/wf/flow#testData",tracker:"http://www.w3.org/2005/01/wf/flow#tracker",transactionStore:"http://www.w3.org/2005/01/wf/flow#transactionStore"});var dc=class extends jh{constructor(t,e,r=!1){super(t,e,r),this.uri=t,this.store=e,this.editable=r}subjects(){const t=this.store.statementsMatching(null,null,null,xh(this.uri)).filter((t=>Tn(t.subject))).map((t=>t.subject.value)),e=new Set(t);return e.delete(this.uri),[...e].map((t=>({uri:t})))}},fc=class extends jh{constructor(t,e,r=!1){super(t,e,r),this.uri=t,this.store=e,this.editable=r}contains(){return this.store.statementsMatching(xh(this.uri),xh("http://www.w3.org/ns/ldp#contains"),null,xh(this.uri)).map((t=>({uri:t.object.value,name:t.object.value.replace(new RegExp(`${this.uri}([^/]*)/?`),"$1")})))}},wc=class{constructor(){this.session=new class{get authenticatedFetch(){return this._authenticatedFetch}constructor(){this.session=new Bo.Session,this._authenticatedFetch=this.session.fetch}handleIncomingRedirect(){return C(this,null,(function*(){return this.session.handleIncomingRedirect({restorePreviousSession:!1})}))}login(t){return C(this,null,(function*(){return this.session.login({oidcIssuer:t,redirectUrl:window.location.href,clientName:`Pod OS at ${window.location.host}`})}))}logout(){return C(this,null,(function*(){return this.session.logout()}))}trackSession(t){this.session.onLogin((()=>t(this.session.info))),this.session.onLogout((()=>t(this.session.info))),this.session.onSessionRestore((()=>t(this.session.info))),t(this.session.info)}},this.store=new class{constructor(t){this.graph=Dh(),this.fetcher=Oh(this.graph,{fetch:t.authenticatedFetch}),this.updater=new Ch(this.graph)}fetch(t){return this.fetcher.load(xh(t),{force:!0})}get(t){const e=!!this.updater.editable(t);return new jh(t,this.graph,e)}addPropertyValue(t,e,r){return this.updater.update([],[Ih(xh(t.uri),xh(e),Mh(r),xh(t.uri).doc())])}}(this.session),this.fileFetcher=new class{constructor(t){this.session=t}fetchFile(t){return C(this,null,(function*(){const e=yield this.session.authenticatedFetch(t);if(e.ok){const r=yield e.blob();return new class{constructor(t,e){this.url=t,this.data=e}blob(){return this.data}}(t,r)}return new class{constructor(t,e){this.url=t,this.status=e}toString(){return`${this.status.toString()} - ${this.url}`}blob(){return null}}(t,new class{constructor(t,e){this.code=t,this.text=e}toString(){return this.text?`${this.code} - ${this.text}`:this.code.toString()}}(e.status,e.statusText))}))}}(this.session)}handleIncomingRedirect(){this.session.handleIncomingRedirect()}fetch(t){return this.store.fetch(t)}fetchFile(t){return this.fileFetcher.fetchFile(t)}addPropertyValue(t,e,r){this.store.addPropertyValue(t,e,r)}listKnownTerms(){return t=Bh,Object.keys(t).flatMap((e=>Object.keys(t[e]).map((r=>({uri:t[e][r],shorthand:`${e}:${r}`})))));var t}trackSession(t){return this.session.trackSession(t)}logout(){return this.session.logout()}login(t="http://localhost:3000"){return this.session.login(t)}};
8
+ /*! Bundled license information:
9
+
10
+ @inrupt/oidc-client/lib/oidc-client.min.js:
11
+ (*! (c) Tom Wu | http://www-cs-students.stanford.edu/~tjw/jsbn/
12
+ *)
13
+ (*! Mike Samuel (c) 2009 | code.google.com/p/json-sans-eval
14
+ *)
15
+ (*!
16
+ * The buffer module from node.js, for the browser.
17
+ *
18
+ * @author Feross Aboukhadijeh <http://feross.org>
19
+ * @license MIT
20
+ *)
21
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
22
+
23
+ @babel/runtime/helpers/regeneratorRuntime.js:
24
+ (*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE *)
25
+
26
+ punycode/punycode.js:
27
+ (*! https://mths.be/punycode v1.3.2 by @mathias *)
28
+
29
+ queue-microtask/index.js:
30
+ (*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
31
+ */
32
+ export{fc as L,wc as P,dc as R,b as _}