@pod-os/elements 0.11.1-497f3ef.0 → 0.11.1-5e652ae.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.
- package/dist/cjs/{BrokenFile-b01d72da.js → BrokenFile-cfda711f.js} +1 -1
- package/dist/cjs/PodOsAware-003a2763.js +7 -0
- package/dist/cjs/{animation-9bea118f.js → animation-ca5a256a.js} +2 -0
- package/dist/cjs/{app-globals-13efa9f1.js → app-globals-a2dc3caf.js} +1 -1
- package/dist/cjs/{data-0c9489d7.js → data-5be6ab7b.js} +19 -2
- package/dist/cjs/elements.cjs.js +9 -5
- package/dist/cjs/{focus-visible-2624ec15.js → focus-visible-f8b0cb52.js} +1 -0
- package/dist/cjs/{framework-delegate-437c0645.js → framework-delegate-fdc8ce54.js} +1 -0
- package/dist/cjs/{index-ed2ce04f.js → index-2f34456c.js} +13 -5
- package/dist/cjs/{index-7d56774d.js → index-39630668.js} +31 -2
- package/dist/cjs/index-4e78c1d2.js +48 -0
- package/dist/cjs/{index-c2480c3a.js → index-6d41927a.js} +4 -3
- package/dist/cjs/{index-643851c6.js → index-737a39be.js} +4 -1
- package/dist/cjs/{index-3d3b5137.js → index-7cf535d7.js} +4 -3
- package/dist/cjs/{index-2c2f7c87.js → index-bc987bf5.js} +40855 -24419
- package/dist/cjs/{index-9fca5d6f.js → index-c82a0027.js} +1 -0
- package/dist/cjs/{index-4018a65a.js → index-db5db51f.js} +104 -1
- package/dist/cjs/{input-shims-427999f7.js → input-shims-444cce9d.js} +7 -3
- package/dist/cjs/ion-accordion-group.cjs.entry.js +2 -2
- package/dist/cjs/ion-accordion.cjs.entry.js +5 -5
- package/dist/cjs/ion-action-sheet_3.cjs.entry.js +7 -7
- package/dist/cjs/{ion-app_25.cjs.entry.js → ion-app_26.cjs.entry.js} +133 -57
- package/dist/cjs/ion-avatar.cjs.entry.js +2 -2
- package/dist/cjs/ion-back-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-backdrop.cjs.entry.js +2 -2
- package/dist/cjs/{ion-badge_9.cjs.entry.js → ion-badge_12.cjs.entry.js} +406 -3
- package/dist/cjs/ion-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/ion-breadcrumbs.cjs.entry.js +2 -2
- package/dist/cjs/ion-buttons_3.cjs.entry.js +7 -4
- package/dist/cjs/ion-card-subtitle.cjs.entry.js +2 -2
- package/dist/cjs/ion-checkbox_4.cjs.entry.js +13 -2
- package/dist/cjs/ion-chip.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime-button.cjs.entry.js +3 -3
- package/dist/cjs/ion-datetime.cjs.entry.js +121 -69
- package/dist/cjs/ion-fab-button.cjs.entry.js +4 -4
- package/dist/cjs/ion-fab-list.cjs.entry.js +2 -2
- package/dist/cjs/ion-fab.cjs.entry.js +2 -2
- package/dist/cjs/ion-img.cjs.entry.js +2 -2
- package/dist/cjs/ion-infinite-scroll-content.cjs.entry.js +3 -3
- package/dist/cjs/ion-infinite-scroll.cjs.entry.js +3 -3
- package/dist/cjs/ion-item-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-options.cjs.entry.js +2 -2
- package/dist/cjs/ion-item-sliding.cjs.entry.js +4 -4
- package/dist/cjs/ion-item_4.cjs.entry.js +9 -6
- package/dist/cjs/ion-loading.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu-button.cjs.entry.js +6 -6
- package/dist/cjs/ion-menu-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-menu.cjs.entry.js +24 -20
- package/dist/cjs/ion-modal.cjs.entry.js +48 -36
- package/dist/cjs/ion-nav-link.cjs.entry.js +1 -1
- package/dist/cjs/ion-nav.cjs.entry.js +6 -5
- package/dist/cjs/ion-picker-column.cjs.entry.js +14 -15
- package/dist/cjs/ion-picker.cjs.entry.js +4 -4
- package/dist/cjs/ion-popover.cjs.entry.js +15 -9
- package/dist/cjs/ion-range.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher-content.cjs.entry.js +4 -4
- package/dist/cjs/ion-refresher.cjs.entry.js +35 -9
- package/dist/cjs/ion-reorder-group.cjs.entry.js +4 -4
- package/dist/cjs/ion-reorder.cjs.entry.js +3 -3
- package/dist/cjs/ion-route-redirect.cjs.entry.js +1 -1
- package/dist/cjs/ion-route.cjs.entry.js +1 -1
- package/dist/cjs/ion-router-link.cjs.entry.js +2 -2
- package/dist/cjs/ion-router-outlet.cjs.entry.js +5 -5
- package/dist/cjs/ion-router.cjs.entry.js +1 -1
- package/dist/cjs/ion-segment-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-segment.cjs.entry.js +3 -3
- package/dist/cjs/ion-select-option.cjs.entry.js +2 -2
- package/dist/cjs/ion-select.cjs.entry.js +29 -6
- package/dist/cjs/ion-slide.cjs.entry.js +2 -2
- package/dist/cjs/ion-slides.cjs.entry.js +2 -2
- package/dist/cjs/ion-spinner.cjs.entry.js +3 -3
- package/dist/cjs/ion-split-pane.cjs.entry.js +4 -3
- package/dist/cjs/ion-tab-bar.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab-button.cjs.entry.js +2 -2
- package/dist/cjs/ion-tab.cjs.entry.js +2 -2
- package/dist/cjs/ion-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ion-text.cjs.entry.js +2 -2
- package/dist/cjs/ion-textarea.cjs.entry.js +3 -3
- package/dist/cjs/ion-thumbnail.cjs.entry.js +2 -2
- package/dist/cjs/ion-toast.cjs.entry.js +26 -8
- package/dist/cjs/ion-toggle.cjs.entry.js +5 -5
- package/dist/cjs/ion-virtual-scroll.cjs.entry.js +1 -1
- package/dist/cjs/{ionic-global-3ede5d2d.js → ionic-global-66c719bf.js} +2 -1
- package/dist/cjs/{ios.transition-6c593f66.js → ios.transition-3c2f7c84.js} +4 -3
- package/dist/cjs/{keyboard-79afcba2.js → keyboard-23ddd02f.js} +1 -0
- package/dist/cjs/loader.cjs.js +6 -5
- package/dist/cjs/{md.transition-1885ef8b.js → md.transition-cc8a1f26.js} +3 -3
- package/dist/cjs/{menu-toggle-util-971da657.js → menu-toggle-util-ca2623a7.js} +1 -1
- package/dist/cjs/{overlays-28664090.js → overlays-5d99746a.js} +10 -1
- package/dist/cjs/pos-app-document-viewer.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-image-viewer.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
- package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
- package/dist/cjs/pos-container-contents.cjs.entry.js +2 -2
- package/dist/cjs/pos-container-item.cjs.entry.js +1 -1
- package/dist/cjs/pos-description_2.cjs.entry.js +1 -1
- package/dist/cjs/pos-document.cjs.entry.js +2 -2
- package/dist/cjs/pos-relations_2.cjs.entry.js +1 -1
- package/dist/cjs/pos-subjects.cjs.entry.js +2 -2
- package/dist/cjs/pos-value.cjs.entry.js +1 -1
- package/dist/cjs/{status-tap-39f92004.js → status-tap-3fc3fd8f.js} +2 -2
- package/dist/cjs/{swipe-back-666ea8e6.js → swipe-back-513b9ed6.js} +8 -2
- package/dist/collection/apps/pos-app-browser/pos-app-browser.js +1 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/events/PodOsAware.js +3 -0
- package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.css +5 -0
- package/dist/collection/components/pos-add-literal-value/pos-add-literal-value.js +136 -0
- package/dist/collection/components/pos-error-toast/pos-error-toast.js +35 -0
- package/dist/collection/components/pos-literals/pos-literals.js +18 -2
- package/dist/collection/components/pos-resource/pos-resource.js +4 -3
- package/dist/collection/components/pos-select-term/pos-select-term.css +13 -0
- package/dist/collection/components/pos-select-term/pos-select-term.js +103 -0
- package/dist/components/PodOsAware.js +5 -0
- package/dist/components/action-sheet.js +1 -1
- package/dist/components/animation.js +2 -0
- package/dist/components/button.js +4 -3
- package/dist/components/buttons.js +2 -2
- package/dist/components/card.js +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/content.js +40 -2
- package/dist/components/data.js +20 -3
- package/dist/components/focus-visible.js +1 -0
- package/dist/components/footer.js +1 -1
- package/dist/components/framework-delegate.js +1 -0
- package/dist/components/header.js +3 -2
- package/dist/components/helpers.js +1 -1
- package/dist/components/icon.js +42 -36
- package/dist/components/index.d.ts +12 -0
- package/dist/components/index.js +4 -1
- package/dist/components/index11.js +13 -5
- package/dist/components/index2.js +24 -24
- package/dist/components/index3.js +31 -2
- package/dist/components/index4.js +1 -1
- package/dist/components/index5.js +1 -0
- package/dist/components/index6.js +2 -1
- package/dist/components/index7.js +1 -0
- package/dist/components/index8.js +40855 -24419
- package/dist/components/index9.js +4 -1
- package/dist/components/input-shims.js +6 -2
- package/dist/{esm/ion-input.entry.js → components/input.js} +74 -20
- package/dist/components/ion-accordion.js +2 -2
- package/dist/components/ion-chip.js +1 -1
- package/dist/components/ion-datetime-button.js +1 -1
- package/dist/components/ion-datetime.js +72 -19
- package/dist/components/ion-fab-button.js +1 -1
- package/dist/components/ion-input.js +1 -350
- package/dist/components/ion-item-options.js +1 -1
- package/dist/components/ion-item-sliding.js +1 -1
- package/dist/components/ion-menu-button.js +1 -1
- package/dist/components/ion-menu.js +19 -15
- package/dist/components/ion-modal.js +41 -29
- package/dist/components/ion-nav.js +2 -1
- package/dist/components/ion-range.js +2 -2
- package/dist/components/ion-refresher-content.js +1 -1
- package/dist/components/ion-refresher.js +29 -3
- package/dist/components/ion-reorder.js +1 -1
- package/dist/components/ion-router.js +1 -1
- package/dist/components/ion-select.js +28 -5
- package/dist/components/ion-split-pane.js +2 -1
- package/dist/components/ion-textarea.js +2 -2
- package/dist/components/ion-toast.js +21 -2
- package/dist/components/ion-toggle.js +3 -3
- package/dist/components/ionic-global.js +1 -0
- package/dist/components/ios.transition.js +1 -0
- package/dist/components/item.js +6 -3
- package/dist/components/keyboard.js +1 -0
- package/dist/components/list.js +2 -2
- package/dist/components/overlays.js +10 -2
- package/dist/components/picker-column-internal.js +1 -0
- package/dist/components/picker-column.js +12 -13
- package/dist/components/picker-internal.js +2 -0
- package/dist/components/popover.js +8 -2
- package/dist/components/pos-add-literal-value.d.ts +11 -0
- package/dist/components/pos-add-literal-value.js +6 -0
- package/dist/components/pos-add-literal-value2.js +99 -0
- package/dist/components/pos-app-browser.js +39 -33
- package/dist/components/pos-app-document-viewer.js +56 -38
- package/dist/components/pos-app-generic.js +72 -54
- package/dist/components/pos-app-image-viewer.js +56 -38
- package/dist/components/pos-app-ldp-container.js +66 -48
- package/dist/components/pos-app-rdf-document.js +62 -44
- package/dist/components/pos-error-toast.d.ts +11 -0
- package/dist/components/pos-error-toast.js +6 -0
- package/dist/components/pos-error-toast2.js +45 -0
- package/dist/components/pos-literals2.js +52 -18
- package/dist/components/pos-resource2.js +4 -3
- package/dist/components/pos-select-term.d.ts +11 -0
- package/dist/components/pos-select-term.js +6 -0
- package/dist/components/pos-select-term2.js +55 -0
- package/dist/components/progress-bar.js +1 -1
- package/dist/components/radio-group.js +1 -0
- package/dist/components/radio.js +11 -1
- package/dist/components/searchbar.js +2 -2
- package/dist/components/spinner.js +1 -1
- package/dist/components/swipe-back.js +8 -2
- package/dist/elements/elements.css +1 -1
- package/dist/elements/elements.esm.js +1 -1
- package/dist/elements/{p-28499b53.js → p-0243a87a.js} +1 -1
- package/dist/elements/p-036e382c.entry.js +1 -0
- package/dist/elements/{p-43717c61.js → p-03fac5e7.js} +1 -1
- package/dist/elements/p-04bb69f5.entry.js +5 -0
- package/dist/elements/p-07b61827.js +4 -0
- package/dist/elements/{p-c36b166e.entry.js → p-0f93836d.entry.js} +1 -1
- package/dist/elements/{p-87c9794a.entry.js → p-141905b5.entry.js} +1 -1
- package/dist/elements/p-1664ada4.entry.js +1 -0
- package/dist/elements/{p-6be33848.entry.js → p-185506fc.entry.js} +2 -2
- package/dist/elements/p-19278011.js +119 -0
- package/dist/elements/{p-cef266e1.entry.js → p-1e89f0a2.entry.js} +1 -1
- package/dist/elements/{p-b2acbe46.entry.js → p-21387f7c.entry.js} +1 -1
- package/dist/elements/p-2241aa88.entry.js +1 -0
- package/dist/elements/p-228d64ab.entry.js +1 -0
- package/dist/elements/{p-7f5ecbca.entry.js → p-284b5a4a.entry.js} +1 -1
- package/dist/elements/p-297c1d4a.js +2 -0
- package/dist/elements/{p-60eeae90.js → p-3082941e.js} +1 -1
- package/dist/elements/p-33a17bf9.js +7 -0
- package/dist/elements/p-37b3cabc.js +1 -0
- package/dist/elements/{p-a70a4400.js → p-387a310a.js} +2 -2
- package/dist/elements/p-446a00fa.entry.js +1 -0
- package/dist/elements/{p-88364dc1.entry.js → p-44ed2372.entry.js} +1 -1
- package/dist/elements/p-46e5af7d.entry.js +1 -0
- package/dist/elements/{p-c442a411.entry.js → p-485c278b.entry.js} +2 -2
- package/dist/elements/{p-f755d0e1.entry.js → p-4a483efa.entry.js} +1 -1
- package/dist/elements/{p-6ed079a5.js → p-4deca788.js} +2 -2
- package/dist/elements/p-55c98ffe.entry.js +1 -0
- package/dist/elements/p-5d9b5890.entry.js +1 -0
- package/dist/elements/p-6092b9f3.js +1 -0
- package/dist/elements/{p-8a0c9fd3.entry.js → p-61d5e682.entry.js} +2 -2
- package/dist/elements/{p-8e89df2a.entry.js → p-674fc19d.entry.js} +2 -2
- package/dist/elements/{p-d5d75307.entry.js → p-6cc24956.entry.js} +2 -2
- package/dist/elements/{p-35b2bfe8.entry.js → p-6e2e72c7.entry.js} +1 -1
- package/dist/elements/{p-690e76ff.entry.js → p-70d8e941.entry.js} +1 -1
- package/dist/elements/{p-42c0a5d0.entry.js → p-7120b5f1.entry.js} +1 -1
- package/dist/elements/p-746b8d20.js +4 -0
- package/dist/elements/p-750b2fde.entry.js +9 -0
- package/dist/elements/{p-68110709.entry.js → p-75d74349.entry.js} +1 -1
- package/dist/elements/p-78098ba6.js +4 -0
- package/dist/elements/p-7d744454.entry.js +1 -0
- package/dist/elements/{p-b94e9c4d.entry.js → p-7de13fb8.entry.js} +1 -1
- package/dist/elements/{p-301096a8.entry.js → p-7e515860.entry.js} +1 -1
- package/dist/elements/p-7f6f4c84.entry.js +1 -0
- package/dist/elements/{p-a6801fba.entry.js → p-81937d27.entry.js} +2 -2
- package/dist/elements/{p-1a1526ed.entry.js → p-8224cdc1.entry.js} +1 -1
- package/dist/elements/p-864b27a7.js +4 -0
- package/dist/elements/p-88c6dc94.entry.js +4 -0
- package/dist/elements/p-899550d8.entry.js +1 -0
- package/dist/elements/{p-989efab9.entry.js → p-8e33e5e6.entry.js} +1 -1
- package/dist/elements/p-8f253089.js +4 -0
- package/dist/elements/{p-24fffcb6.entry.js → p-9074ecd7.entry.js} +1 -1
- package/dist/elements/p-957dc323.js +4 -0
- package/dist/elements/{p-58d9cf26.entry.js → p-958c8d53.entry.js} +1 -1
- package/dist/elements/{p-1a3b6fc0.entry.js → p-95cfd622.entry.js} +1 -1
- package/dist/elements/{p-16afe2d7.entry.js → p-988e4192.entry.js} +1 -1
- package/dist/elements/p-995ec23e.js +4 -0
- package/dist/elements/{p-7146c28e.entry.js → p-9a96842b.entry.js} +1 -1
- package/dist/elements/{p-746c351b.entry.js → p-9b2880ae.entry.js} +1 -1
- package/dist/elements/{p-3788211c.entry.js → p-9b847db7.entry.js} +1 -1
- package/dist/elements/{p-d5279568.entry.js → p-9bc24abf.entry.js} +1 -1
- package/dist/elements/{p-8a5eed78.entry.js → p-a6c55fcb.entry.js} +1 -1
- package/dist/elements/p-ab4854a6.js +5 -0
- package/dist/elements/{p-7e9a536f.entry.js → p-aef2bc48.entry.js} +1 -1
- package/dist/elements/p-af558048.entry.js +1 -0
- package/dist/elements/{p-1afc4eb4.js → p-b003ddd8.js} +1 -1
- package/dist/elements/{p-921f3c67.entry.js → p-b212928d.entry.js} +1 -1
- package/dist/elements/{p-430bc6ff.entry.js → p-b3071dba.entry.js} +1 -1
- package/dist/elements/{p-181f70d6.entry.js → p-b3e1bbc4.entry.js} +1 -1
- package/dist/elements/{p-b61542f4.entry.js → p-b3f2cc07.entry.js} +1 -1
- package/dist/elements/{p-40e48267.entry.js → p-b8243f9f.entry.js} +1 -1
- package/dist/elements/p-c1bcf425.entry.js +7 -0
- package/dist/elements/{p-1a9cdd0b.entry.js → p-c218101a.entry.js} +1 -1
- package/dist/elements/{p-941de03c.entry.js → p-c3b79485.entry.js} +1 -1
- package/dist/elements/p-ce4f5b1f.entry.js +1 -0
- package/dist/elements/{p-e94b3833.entry.js → p-d0772d6b.entry.js} +1 -1
- package/dist/elements/{p-84cc1417.entry.js → p-d32df2a8.entry.js} +1 -1
- package/dist/elements/p-d3860378.js +5 -0
- package/dist/elements/{p-573e7d6e.entry.js → p-d43bc78d.entry.js} +2 -2
- package/dist/elements/{p-8c0124df.entry.js → p-d6b522ec.entry.js} +1 -1
- package/dist/elements/p-d813577e.js +1 -0
- package/dist/elements/p-da1f80aa.entry.js +1 -0
- package/dist/elements/{p-35faa0fa.entry.js → p-da86ba7e.entry.js} +1 -1
- package/dist/elements/p-dbcb55b8.entry.js +5 -0
- package/dist/elements/{p-a030ac8e.entry.js → p-df7540e1.entry.js} +1 -1
- package/dist/elements/{p-ca863537.entry.js → p-e2f10f6d.entry.js} +1 -1
- package/dist/elements/{p-2333fe43.entry.js → p-e55a4fa9.entry.js} +1 -1
- package/dist/elements/{p-838fe7f9.entry.js → p-e6830aab.entry.js} +1 -1
- package/dist/elements/{p-195e355e.entry.js → p-e70bec10.entry.js} +1 -1
- package/dist/elements/{p-c4d119d2.entry.js → p-e7872214.entry.js} +1 -1
- package/dist/elements/p-e7fc7473.js +4 -0
- package/dist/elements/p-ec130fe7.entry.js +1 -0
- package/dist/elements/{p-83291f4a.entry.js → p-eda79fdf.entry.js} +1 -1
- package/dist/elements/{p-9406d7a7.entry.js → p-f0b0274f.entry.js} +1 -1
- package/dist/elements/p-f3a6519e.js +4 -0
- package/dist/elements/{p-0ed0e3ba.entry.js → p-f55afaf2.entry.js} +1 -1
- package/dist/elements/{p-9080d6d4.entry.js → p-f796e16d.entry.js} +3 -3
- package/dist/elements/p-faafaf1a.entry.js +1 -0
- package/dist/elements/p-fd3b5d19.entry.js +1 -0
- package/dist/elements/{p-2eced374.entry.js → p-fe26ffc1.entry.js} +1 -1
- package/dist/elements/svg/accessibility-outline.svg +1 -1
- package/dist/elements/svg/accessibility-sharp.svg +1 -1
- package/dist/elements/svg/accessibility.svg +1 -1
- package/dist/elements/svg/add-circle-outline.svg +1 -1
- package/dist/elements/svg/add-circle-sharp.svg +1 -1
- package/dist/elements/svg/add-circle.svg +1 -1
- package/dist/elements/svg/add-outline.svg +1 -1
- package/dist/elements/svg/add-sharp.svg +1 -1
- package/dist/elements/svg/add.svg +1 -1
- package/dist/elements/svg/airplane-outline.svg +1 -1
- package/dist/elements/svg/airplane-sharp.svg +1 -1
- package/dist/elements/svg/airplane.svg +1 -1
- package/dist/elements/svg/alarm-outline.svg +1 -1
- package/dist/elements/svg/alarm-sharp.svg +1 -1
- package/dist/elements/svg/alarm.svg +1 -1
- package/dist/elements/svg/albums-outline.svg +1 -1
- package/dist/elements/svg/albums-sharp.svg +1 -1
- package/dist/elements/svg/albums.svg +1 -1
- package/dist/elements/svg/alert-circle-outline.svg +1 -1
- package/dist/elements/svg/alert-circle-sharp.svg +1 -1
- package/dist/elements/svg/alert-circle.svg +1 -1
- package/dist/elements/svg/alert-outline.svg +1 -1
- package/dist/elements/svg/alert-sharp.svg +1 -1
- package/dist/elements/svg/alert.svg +1 -1
- package/dist/elements/svg/american-football-outline.svg +1 -1
- package/dist/elements/svg/american-football-sharp.svg +1 -1
- package/dist/elements/svg/american-football.svg +1 -1
- package/dist/elements/svg/analytics-outline.svg +1 -1
- package/dist/elements/svg/analytics-sharp.svg +1 -1
- package/dist/elements/svg/analytics.svg +1 -1
- package/dist/elements/svg/aperture-outline.svg +1 -1
- package/dist/elements/svg/aperture-sharp.svg +1 -1
- package/dist/elements/svg/aperture.svg +1 -1
- package/dist/elements/svg/apps-outline.svg +1 -1
- package/dist/elements/svg/apps-sharp.svg +1 -1
- package/dist/elements/svg/apps.svg +1 -1
- package/dist/elements/svg/archive-outline.svg +1 -1
- package/dist/elements/svg/archive-sharp.svg +1 -1
- package/dist/elements/svg/archive.svg +1 -1
- package/dist/elements/svg/arrow-back-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-back-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-back-circle.svg +1 -1
- package/dist/elements/svg/arrow-back-outline.svg +1 -1
- package/dist/elements/svg/arrow-back-sharp.svg +1 -1
- package/dist/elements/svg/arrow-back.svg +1 -1
- package/dist/elements/svg/arrow-down-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-down-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-down-circle.svg +1 -1
- package/dist/elements/svg/arrow-down-outline.svg +1 -1
- package/dist/elements/svg/arrow-down-sharp.svg +1 -1
- package/dist/elements/svg/arrow-down.svg +1 -1
- package/dist/elements/svg/arrow-forward-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-forward-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-forward-circle.svg +1 -1
- package/dist/elements/svg/arrow-forward-outline.svg +1 -1
- package/dist/elements/svg/arrow-forward-sharp.svg +1 -1
- package/dist/elements/svg/arrow-forward.svg +1 -1
- package/dist/elements/svg/arrow-redo-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-redo-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-redo-circle.svg +1 -1
- package/dist/elements/svg/arrow-redo-outline.svg +1 -1
- package/dist/elements/svg/arrow-redo-sharp.svg +1 -1
- package/dist/elements/svg/arrow-redo.svg +1 -1
- package/dist/elements/svg/arrow-undo-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-undo-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-undo-circle.svg +1 -1
- package/dist/elements/svg/arrow-undo-outline.svg +1 -1
- package/dist/elements/svg/arrow-undo-sharp.svg +1 -1
- package/dist/elements/svg/arrow-undo.svg +1 -1
- package/dist/elements/svg/arrow-up-circle-outline.svg +1 -1
- package/dist/elements/svg/arrow-up-circle-sharp.svg +1 -1
- package/dist/elements/svg/arrow-up-circle.svg +1 -1
- package/dist/elements/svg/arrow-up-outline.svg +1 -1
- package/dist/elements/svg/arrow-up-sharp.svg +1 -1
- package/dist/elements/svg/arrow-up.svg +1 -1
- package/dist/elements/svg/at-circle-outline.svg +1 -1
- package/dist/elements/svg/at-circle-sharp.svg +1 -1
- package/dist/elements/svg/at-circle.svg +1 -1
- package/dist/elements/svg/at-outline.svg +1 -1
- package/dist/elements/svg/at-sharp.svg +1 -1
- package/dist/elements/svg/at.svg +1 -1
- package/dist/elements/svg/attach-outline.svg +1 -1
- package/dist/elements/svg/attach-sharp.svg +1 -1
- package/dist/elements/svg/attach.svg +1 -1
- package/dist/elements/svg/backspace-outline.svg +1 -1
- package/dist/elements/svg/backspace-sharp.svg +1 -1
- package/dist/elements/svg/backspace.svg +1 -1
- package/dist/elements/svg/bag-add-outline.svg +1 -1
- package/dist/elements/svg/bag-add-sharp.svg +1 -1
- package/dist/elements/svg/bag-add.svg +1 -1
- package/dist/elements/svg/bag-check-outline.svg +1 -1
- package/dist/elements/svg/bag-check-sharp.svg +1 -1
- package/dist/elements/svg/bag-check.svg +1 -1
- package/dist/elements/svg/bag-handle-outline.svg +1 -1
- package/dist/elements/svg/bag-handle-sharp.svg +1 -1
- package/dist/elements/svg/bag-handle.svg +1 -1
- package/dist/elements/svg/bag-outline.svg +1 -1
- package/dist/elements/svg/bag-remove-outline.svg +1 -1
- package/dist/elements/svg/bag-remove-sharp.svg +1 -1
- package/dist/elements/svg/bag-remove.svg +1 -1
- package/dist/elements/svg/bag-sharp.svg +1 -1
- package/dist/elements/svg/bag.svg +1 -1
- package/dist/elements/svg/balloon-outline.svg +1 -1
- package/dist/elements/svg/balloon-sharp.svg +1 -1
- package/dist/elements/svg/balloon.svg +1 -1
- package/dist/elements/svg/ban-outline.svg +1 -1
- package/dist/elements/svg/ban-sharp.svg +1 -1
- package/dist/elements/svg/ban.svg +1 -1
- package/dist/elements/svg/bandage-outline.svg +1 -1
- package/dist/elements/svg/bandage-sharp.svg +1 -1
- package/dist/elements/svg/bandage.svg +1 -1
- package/dist/elements/svg/bar-chart-outline.svg +1 -1
- package/dist/elements/svg/bar-chart-sharp.svg +1 -1
- package/dist/elements/svg/bar-chart.svg +1 -1
- package/dist/elements/svg/barbell-outline.svg +1 -1
- package/dist/elements/svg/barbell-sharp.svg +1 -1
- package/dist/elements/svg/barbell.svg +1 -1
- package/dist/elements/svg/barcode-outline.svg +1 -1
- package/dist/elements/svg/barcode-sharp.svg +1 -1
- package/dist/elements/svg/barcode.svg +1 -1
- package/dist/elements/svg/baseball-outline.svg +1 -1
- package/dist/elements/svg/baseball-sharp.svg +1 -1
- package/dist/elements/svg/baseball.svg +1 -1
- package/dist/elements/svg/basket-outline.svg +1 -1
- package/dist/elements/svg/basket-sharp.svg +1 -1
- package/dist/elements/svg/basket.svg +1 -1
- package/dist/elements/svg/basketball-outline.svg +1 -1
- package/dist/elements/svg/basketball-sharp.svg +1 -1
- package/dist/elements/svg/basketball.svg +1 -1
- package/dist/elements/svg/battery-charging-outline.svg +1 -1
- package/dist/elements/svg/battery-charging-sharp.svg +1 -1
- package/dist/elements/svg/battery-charging.svg +1 -1
- package/dist/elements/svg/battery-dead-outline.svg +1 -1
- package/dist/elements/svg/battery-dead-sharp.svg +1 -1
- package/dist/elements/svg/battery-dead.svg +1 -1
- package/dist/elements/svg/battery-full-outline.svg +1 -1
- package/dist/elements/svg/battery-full-sharp.svg +1 -1
- package/dist/elements/svg/battery-full.svg +1 -1
- package/dist/elements/svg/battery-half-outline.svg +1 -1
- package/dist/elements/svg/battery-half-sharp.svg +1 -1
- package/dist/elements/svg/battery-half.svg +1 -1
- package/dist/elements/svg/beaker-outline.svg +1 -1
- package/dist/elements/svg/beaker-sharp.svg +1 -1
- package/dist/elements/svg/beaker.svg +1 -1
- package/dist/elements/svg/bed-outline.svg +1 -1
- package/dist/elements/svg/bed-sharp.svg +1 -1
- package/dist/elements/svg/bed.svg +1 -1
- package/dist/elements/svg/beer-outline.svg +1 -1
- package/dist/elements/svg/beer-sharp.svg +1 -1
- package/dist/elements/svg/beer.svg +1 -1
- package/dist/elements/svg/bicycle-outline.svg +1 -1
- package/dist/elements/svg/bicycle-sharp.svg +1 -1
- package/dist/elements/svg/bicycle.svg +1 -1
- package/dist/elements/svg/bluetooth-outline.svg +1 -1
- package/dist/elements/svg/bluetooth-sharp.svg +1 -1
- package/dist/elements/svg/bluetooth.svg +1 -1
- package/dist/elements/svg/boat-outline.svg +1 -1
- package/dist/elements/svg/boat-sharp.svg +1 -1
- package/dist/elements/svg/boat.svg +1 -1
- package/dist/elements/svg/body-outline.svg +1 -1
- package/dist/elements/svg/body-sharp.svg +1 -1
- package/dist/elements/svg/body.svg +1 -1
- package/dist/elements/svg/bonfire-outline.svg +1 -1
- package/dist/elements/svg/bonfire-sharp.svg +1 -1
- package/dist/elements/svg/bonfire.svg +1 -1
- package/dist/elements/svg/book-outline.svg +1 -1
- package/dist/elements/svg/book-sharp.svg +1 -1
- package/dist/elements/svg/book.svg +1 -1
- package/dist/elements/svg/bookmark-outline.svg +1 -1
- package/dist/elements/svg/bookmark-sharp.svg +1 -1
- package/dist/elements/svg/bookmark.svg +1 -1
- package/dist/elements/svg/bookmarks-outline.svg +1 -1
- package/dist/elements/svg/bookmarks-sharp.svg +1 -1
- package/dist/elements/svg/bookmarks.svg +1 -1
- package/dist/elements/svg/bowling-ball-outline.svg +1 -1
- package/dist/elements/svg/bowling-ball-sharp.svg +1 -1
- package/dist/elements/svg/bowling-ball.svg +1 -1
- package/dist/elements/svg/briefcase-outline.svg +1 -1
- package/dist/elements/svg/briefcase-sharp.svg +1 -1
- package/dist/elements/svg/briefcase.svg +1 -1
- package/dist/elements/svg/browsers-outline.svg +1 -1
- package/dist/elements/svg/browsers-sharp.svg +1 -1
- package/dist/elements/svg/browsers.svg +1 -1
- package/dist/elements/svg/brush-outline.svg +1 -1
- package/dist/elements/svg/brush-sharp.svg +1 -1
- package/dist/elements/svg/brush.svg +1 -1
- package/dist/elements/svg/bug-outline.svg +1 -1
- package/dist/elements/svg/bug-sharp.svg +1 -1
- package/dist/elements/svg/bug.svg +1 -1
- package/dist/elements/svg/build-outline.svg +1 -1
- package/dist/elements/svg/build-sharp.svg +1 -1
- package/dist/elements/svg/build.svg +1 -1
- package/dist/elements/svg/bulb-outline.svg +1 -1
- package/dist/elements/svg/bulb-sharp.svg +1 -1
- package/dist/elements/svg/bulb.svg +1 -1
- package/dist/elements/svg/bus-outline.svg +1 -1
- package/dist/elements/svg/bus-sharp.svg +1 -1
- package/dist/elements/svg/bus.svg +1 -1
- package/dist/elements/svg/business-outline.svg +1 -1
- package/dist/elements/svg/business-sharp.svg +1 -1
- package/dist/elements/svg/business.svg +1 -1
- package/dist/elements/svg/cafe-outline.svg +1 -1
- package/dist/elements/svg/cafe-sharp.svg +1 -1
- package/dist/elements/svg/cafe.svg +1 -1
- package/dist/elements/svg/calculator-outline.svg +1 -1
- package/dist/elements/svg/calculator-sharp.svg +1 -1
- package/dist/elements/svg/calculator.svg +1 -1
- package/dist/elements/svg/calendar-clear-outline.svg +1 -1
- package/dist/elements/svg/calendar-clear-sharp.svg +1 -1
- package/dist/elements/svg/calendar-clear.svg +1 -1
- package/dist/elements/svg/calendar-number-outline.svg +1 -1
- package/dist/elements/svg/calendar-number-sharp.svg +1 -1
- package/dist/elements/svg/calendar-number.svg +1 -1
- package/dist/elements/svg/calendar-outline.svg +1 -1
- package/dist/elements/svg/calendar-sharp.svg +1 -1
- package/dist/elements/svg/calendar.svg +1 -1
- package/dist/elements/svg/call-outline.svg +1 -1
- package/dist/elements/svg/call-sharp.svg +1 -1
- package/dist/elements/svg/call.svg +1 -1
- package/dist/elements/svg/camera-outline.svg +1 -1
- package/dist/elements/svg/camera-reverse-outline.svg +1 -1
- package/dist/elements/svg/camera-reverse-sharp.svg +1 -1
- package/dist/elements/svg/camera-reverse.svg +1 -1
- package/dist/elements/svg/camera-sharp.svg +1 -1
- package/dist/elements/svg/camera.svg +1 -1
- package/dist/elements/svg/car-outline.svg +1 -1
- package/dist/elements/svg/car-sharp.svg +1 -1
- package/dist/elements/svg/car-sport-outline.svg +1 -1
- package/dist/elements/svg/car-sport-sharp.svg +1 -1
- package/dist/elements/svg/car-sport.svg +1 -1
- package/dist/elements/svg/car.svg +1 -1
- package/dist/elements/svg/card-outline.svg +1 -1
- package/dist/elements/svg/card-sharp.svg +1 -1
- package/dist/elements/svg/card.svg +1 -1
- package/dist/elements/svg/caret-back-circle-outline.svg +1 -1
- package/dist/elements/svg/caret-back-circle-sharp.svg +1 -1
- package/dist/elements/svg/caret-back-circle.svg +1 -1
- package/dist/elements/svg/caret-back-outline.svg +1 -1
- package/dist/elements/svg/caret-back-sharp.svg +1 -1
- package/dist/elements/svg/caret-back.svg +1 -1
- package/dist/elements/svg/caret-down-circle-outline.svg +1 -1
- package/dist/elements/svg/caret-down-circle-sharp.svg +1 -1
- package/dist/elements/svg/caret-down-circle.svg +1 -1
- package/dist/elements/svg/caret-down-outline.svg +1 -1
- package/dist/elements/svg/caret-down-sharp.svg +1 -1
- package/dist/elements/svg/caret-down.svg +1 -1
- package/dist/elements/svg/caret-forward-circle-outline.svg +1 -1
- package/dist/elements/svg/caret-forward-circle-sharp.svg +1 -1
- package/dist/elements/svg/caret-forward-circle.svg +1 -1
- package/dist/elements/svg/caret-forward-outline.svg +1 -1
- package/dist/elements/svg/caret-forward-sharp.svg +1 -1
- package/dist/elements/svg/caret-forward.svg +1 -1
- package/dist/elements/svg/caret-up-circle-outline.svg +1 -1
- package/dist/elements/svg/caret-up-circle-sharp.svg +1 -1
- package/dist/elements/svg/caret-up-circle.svg +1 -1
- package/dist/elements/svg/caret-up-outline.svg +1 -1
- package/dist/elements/svg/caret-up-sharp.svg +1 -1
- package/dist/elements/svg/caret-up.svg +1 -1
- package/dist/elements/svg/cart-outline.svg +1 -1
- package/dist/elements/svg/cart-sharp.svg +1 -1
- package/dist/elements/svg/cart.svg +1 -1
- package/dist/elements/svg/cash-outline.svg +1 -1
- package/dist/elements/svg/cash-sharp.svg +1 -1
- package/dist/elements/svg/cash.svg +1 -1
- package/dist/elements/svg/cellular-outline.svg +1 -1
- package/dist/elements/svg/cellular-sharp.svg +1 -1
- package/dist/elements/svg/cellular.svg +1 -1
- package/dist/elements/svg/chatbox-ellipses-outline.svg +1 -1
- package/dist/elements/svg/chatbox-ellipses-sharp.svg +1 -1
- package/dist/elements/svg/chatbox-ellipses.svg +1 -1
- package/dist/elements/svg/chatbox-outline.svg +1 -1
- package/dist/elements/svg/chatbox-sharp.svg +1 -1
- package/dist/elements/svg/chatbox.svg +1 -1
- package/dist/elements/svg/chatbubble-ellipses-outline.svg +1 -1
- package/dist/elements/svg/chatbubble-ellipses-sharp.svg +1 -1
- package/dist/elements/svg/chatbubble-ellipses.svg +1 -1
- package/dist/elements/svg/chatbubble-outline.svg +1 -1
- package/dist/elements/svg/chatbubble-sharp.svg +1 -1
- package/dist/elements/svg/chatbubble.svg +1 -1
- package/dist/elements/svg/chatbubbles-outline.svg +1 -1
- package/dist/elements/svg/chatbubbles-sharp.svg +1 -1
- package/dist/elements/svg/chatbubbles.svg +1 -1
- package/dist/elements/svg/checkbox-outline.svg +1 -1
- package/dist/elements/svg/checkbox-sharp.svg +1 -1
- package/dist/elements/svg/checkbox.svg +1 -1
- package/dist/elements/svg/checkmark-circle-outline.svg +1 -1
- package/dist/elements/svg/checkmark-circle-sharp.svg +1 -1
- package/dist/elements/svg/checkmark-circle.svg +1 -1
- package/dist/elements/svg/checkmark-done-circle-outline.svg +1 -1
- package/dist/elements/svg/checkmark-done-circle-sharp.svg +1 -1
- package/dist/elements/svg/checkmark-done-circle.svg +1 -1
- package/dist/elements/svg/checkmark-done-outline.svg +1 -1
- package/dist/elements/svg/checkmark-done-sharp.svg +1 -1
- package/dist/elements/svg/checkmark-done.svg +1 -1
- package/dist/elements/svg/checkmark-outline.svg +1 -1
- package/dist/elements/svg/checkmark-sharp.svg +1 -1
- package/dist/elements/svg/checkmark.svg +1 -1
- package/dist/elements/svg/chevron-back-circle-outline.svg +1 -1
- package/dist/elements/svg/chevron-back-circle-sharp.svg +1 -1
- package/dist/elements/svg/chevron-back-circle.svg +1 -1
- package/dist/elements/svg/chevron-back-outline.svg +1 -1
- package/dist/elements/svg/chevron-back-sharp.svg +1 -1
- package/dist/elements/svg/chevron-back.svg +1 -1
- package/dist/elements/svg/chevron-down-circle-outline.svg +1 -1
- package/dist/elements/svg/chevron-down-circle-sharp.svg +1 -1
- package/dist/elements/svg/chevron-down-circle.svg +1 -1
- package/dist/elements/svg/chevron-down-outline.svg +1 -1
- package/dist/elements/svg/chevron-down-sharp.svg +1 -1
- package/dist/elements/svg/chevron-down.svg +1 -1
- package/dist/elements/svg/chevron-forward-circle-outline.svg +1 -1
- package/dist/elements/svg/chevron-forward-circle-sharp.svg +1 -1
- package/dist/elements/svg/chevron-forward-circle.svg +1 -1
- package/dist/elements/svg/chevron-forward-outline.svg +1 -1
- package/dist/elements/svg/chevron-forward-sharp.svg +1 -1
- package/dist/elements/svg/chevron-forward.svg +1 -1
- package/dist/elements/svg/chevron-up-circle-outline.svg +1 -1
- package/dist/elements/svg/chevron-up-circle-sharp.svg +1 -1
- package/dist/elements/svg/chevron-up-circle.svg +1 -1
- package/dist/elements/svg/chevron-up-outline.svg +1 -1
- package/dist/elements/svg/chevron-up-sharp.svg +1 -1
- package/dist/elements/svg/chevron-up.svg +1 -1
- package/dist/elements/svg/clipboard-outline.svg +1 -1
- package/dist/elements/svg/clipboard-sharp.svg +1 -1
- package/dist/elements/svg/clipboard.svg +1 -1
- package/dist/elements/svg/close-circle-outline.svg +1 -1
- package/dist/elements/svg/close-circle-sharp.svg +1 -1
- package/dist/elements/svg/close-circle.svg +1 -1
- package/dist/elements/svg/close-outline.svg +1 -1
- package/dist/elements/svg/close-sharp.svg +1 -1
- package/dist/elements/svg/close.svg +1 -1
- package/dist/elements/svg/cloud-circle-outline.svg +1 -1
- package/dist/elements/svg/cloud-circle-sharp.svg +1 -1
- package/dist/elements/svg/cloud-circle.svg +1 -1
- package/dist/elements/svg/cloud-done-outline.svg +1 -1
- package/dist/elements/svg/cloud-done-sharp.svg +1 -1
- package/dist/elements/svg/cloud-done.svg +1 -1
- package/dist/elements/svg/cloud-download-outline.svg +1 -1
- package/dist/elements/svg/cloud-download-sharp.svg +1 -1
- package/dist/elements/svg/cloud-download.svg +1 -1
- package/dist/elements/svg/cloud-offline-outline.svg +1 -1
- package/dist/elements/svg/cloud-offline-sharp.svg +1 -1
- package/dist/elements/svg/cloud-offline.svg +1 -1
- package/dist/elements/svg/cloud-outline.svg +1 -1
- package/dist/elements/svg/cloud-sharp.svg +1 -1
- package/dist/elements/svg/cloud-upload-outline.svg +1 -1
- package/dist/elements/svg/cloud-upload-sharp.svg +1 -1
- package/dist/elements/svg/cloud-upload.svg +1 -1
- package/dist/elements/svg/cloud.svg +1 -1
- package/dist/elements/svg/cloudy-night-outline.svg +1 -1
- package/dist/elements/svg/cloudy-night-sharp.svg +1 -1
- package/dist/elements/svg/cloudy-night.svg +1 -1
- package/dist/elements/svg/cloudy-outline.svg +1 -1
- package/dist/elements/svg/cloudy-sharp.svg +1 -1
- package/dist/elements/svg/cloudy.svg +1 -1
- package/dist/elements/svg/code-download-outline.svg +1 -1
- package/dist/elements/svg/code-download-sharp.svg +1 -1
- package/dist/elements/svg/code-download.svg +1 -1
- package/dist/elements/svg/code-outline.svg +1 -1
- package/dist/elements/svg/code-sharp.svg +1 -1
- package/dist/elements/svg/code-slash-outline.svg +1 -1
- package/dist/elements/svg/code-slash-sharp.svg +1 -1
- package/dist/elements/svg/code-slash.svg +1 -1
- package/dist/elements/svg/code-working-outline.svg +1 -1
- package/dist/elements/svg/code-working-sharp.svg +1 -1
- package/dist/elements/svg/code-working.svg +1 -1
- package/dist/elements/svg/code.svg +1 -1
- package/dist/elements/svg/cog-outline.svg +1 -1
- package/dist/elements/svg/cog-sharp.svg +1 -1
- package/dist/elements/svg/cog.svg +1 -1
- package/dist/elements/svg/color-fill-outline.svg +1 -1
- package/dist/elements/svg/color-fill-sharp.svg +1 -1
- package/dist/elements/svg/color-fill.svg +1 -1
- package/dist/elements/svg/color-filter-outline.svg +1 -1
- package/dist/elements/svg/color-filter-sharp.svg +1 -1
- package/dist/elements/svg/color-filter.svg +1 -1
- package/dist/elements/svg/color-palette-outline.svg +1 -1
- package/dist/elements/svg/color-palette-sharp.svg +1 -1
- package/dist/elements/svg/color-palette.svg +1 -1
- package/dist/elements/svg/color-wand-outline.svg +1 -1
- package/dist/elements/svg/color-wand-sharp.svg +1 -1
- package/dist/elements/svg/color-wand.svg +1 -1
- package/dist/elements/svg/compass-outline.svg +1 -1
- package/dist/elements/svg/compass-sharp.svg +1 -1
- package/dist/elements/svg/compass.svg +1 -1
- package/dist/elements/svg/construct-outline.svg +1 -1
- package/dist/elements/svg/construct-sharp.svg +1 -1
- package/dist/elements/svg/construct.svg +1 -1
- package/dist/elements/svg/contract-outline.svg +1 -1
- package/dist/elements/svg/contract-sharp.svg +1 -1
- package/dist/elements/svg/contract.svg +1 -1
- package/dist/elements/svg/contrast-outline.svg +1 -1
- package/dist/elements/svg/contrast-sharp.svg +1 -1
- package/dist/elements/svg/contrast.svg +1 -1
- package/dist/elements/svg/copy-outline.svg +1 -1
- package/dist/elements/svg/copy-sharp.svg +1 -1
- package/dist/elements/svg/copy.svg +1 -1
- package/dist/elements/svg/create-outline.svg +1 -1
- package/dist/elements/svg/create-sharp.svg +1 -1
- package/dist/elements/svg/create.svg +1 -1
- package/dist/elements/svg/crop-outline.svg +1 -1
- package/dist/elements/svg/crop-sharp.svg +1 -1
- package/dist/elements/svg/crop.svg +1 -1
- package/dist/elements/svg/cube-outline.svg +1 -1
- package/dist/elements/svg/cube-sharp.svg +1 -1
- package/dist/elements/svg/cube.svg +1 -1
- package/dist/elements/svg/cut-outline.svg +1 -1
- package/dist/elements/svg/cut-sharp.svg +1 -1
- package/dist/elements/svg/cut.svg +1 -1
- package/dist/elements/svg/desktop-outline.svg +1 -1
- package/dist/elements/svg/desktop-sharp.svg +1 -1
- package/dist/elements/svg/desktop.svg +1 -1
- package/dist/elements/svg/diamond-outline.svg +1 -1
- package/dist/elements/svg/diamond-sharp.svg +1 -1
- package/dist/elements/svg/diamond.svg +1 -1
- package/dist/elements/svg/dice-outline.svg +1 -1
- package/dist/elements/svg/dice-sharp.svg +1 -1
- package/dist/elements/svg/dice.svg +1 -1
- package/dist/elements/svg/disc-outline.svg +1 -1
- package/dist/elements/svg/disc-sharp.svg +1 -1
- package/dist/elements/svg/disc.svg +1 -1
- package/dist/elements/svg/document-attach-outline.svg +1 -1
- package/dist/elements/svg/document-attach-sharp.svg +1 -1
- package/dist/elements/svg/document-attach.svg +1 -1
- package/dist/elements/svg/document-lock-outline.svg +1 -1
- package/dist/elements/svg/document-lock-sharp.svg +1 -1
- package/dist/elements/svg/document-lock.svg +1 -1
- package/dist/elements/svg/document-outline.svg +1 -1
- package/dist/elements/svg/document-sharp.svg +1 -1
- package/dist/elements/svg/document-text-outline.svg +1 -1
- package/dist/elements/svg/document-text-sharp.svg +1 -1
- package/dist/elements/svg/document-text.svg +1 -1
- package/dist/elements/svg/document.svg +1 -1
- package/dist/elements/svg/documents-outline.svg +1 -1
- package/dist/elements/svg/documents-sharp.svg +1 -1
- package/dist/elements/svg/documents.svg +1 -1
- package/dist/elements/svg/download-outline.svg +1 -1
- package/dist/elements/svg/download-sharp.svg +1 -1
- package/dist/elements/svg/download.svg +1 -1
- package/dist/elements/svg/duplicate-outline.svg +1 -1
- package/dist/elements/svg/duplicate-sharp.svg +1 -1
- package/dist/elements/svg/duplicate.svg +1 -1
- package/dist/elements/svg/ear-outline.svg +1 -1
- package/dist/elements/svg/ear-sharp.svg +1 -1
- package/dist/elements/svg/ear.svg +1 -1
- package/dist/elements/svg/earth-outline.svg +1 -1
- package/dist/elements/svg/earth-sharp.svg +1 -1
- package/dist/elements/svg/earth.svg +1 -1
- package/dist/elements/svg/easel-outline.svg +1 -1
- package/dist/elements/svg/easel-sharp.svg +1 -1
- package/dist/elements/svg/easel.svg +1 -1
- package/dist/elements/svg/egg-outline.svg +1 -1
- package/dist/elements/svg/egg-sharp.svg +1 -1
- package/dist/elements/svg/egg.svg +1 -1
- package/dist/elements/svg/ellipse-outline.svg +1 -1
- package/dist/elements/svg/ellipse-sharp.svg +1 -1
- package/dist/elements/svg/ellipse.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal-circle-outline.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal-circle-sharp.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal-circle.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal-outline.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal-sharp.svg +1 -1
- package/dist/elements/svg/ellipsis-horizontal.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical-circle-outline.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical-circle-sharp.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical-circle.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical-outline.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical-sharp.svg +1 -1
- package/dist/elements/svg/ellipsis-vertical.svg +1 -1
- package/dist/elements/svg/enter-outline.svg +1 -1
- package/dist/elements/svg/enter-sharp.svg +1 -1
- package/dist/elements/svg/enter.svg +1 -1
- package/dist/elements/svg/exit-outline.svg +1 -1
- package/dist/elements/svg/exit-sharp.svg +1 -1
- package/dist/elements/svg/exit.svg +1 -1
- package/dist/elements/svg/expand-outline.svg +1 -1
- package/dist/elements/svg/expand-sharp.svg +1 -1
- package/dist/elements/svg/expand.svg +1 -1
- package/dist/elements/svg/extension-puzzle-outline.svg +1 -1
- package/dist/elements/svg/extension-puzzle-sharp.svg +1 -1
- package/dist/elements/svg/extension-puzzle.svg +1 -1
- package/dist/elements/svg/eye-off-outline.svg +1 -1
- package/dist/elements/svg/eye-off-sharp.svg +1 -1
- package/dist/elements/svg/eye-off.svg +1 -1
- package/dist/elements/svg/eye-outline.svg +1 -1
- package/dist/elements/svg/eye-sharp.svg +1 -1
- package/dist/elements/svg/eye.svg +1 -1
- package/dist/elements/svg/eyedrop-outline.svg +1 -1
- package/dist/elements/svg/eyedrop-sharp.svg +1 -1
- package/dist/elements/svg/eyedrop.svg +1 -1
- package/dist/elements/svg/fast-food-outline.svg +1 -1
- package/dist/elements/svg/fast-food-sharp.svg +1 -1
- package/dist/elements/svg/fast-food.svg +1 -1
- package/dist/elements/svg/female-outline.svg +1 -1
- package/dist/elements/svg/female-sharp.svg +1 -1
- package/dist/elements/svg/female.svg +1 -1
- package/dist/elements/svg/file-tray-full-outline.svg +1 -1
- package/dist/elements/svg/file-tray-full-sharp.svg +1 -1
- package/dist/elements/svg/file-tray-full.svg +1 -1
- package/dist/elements/svg/file-tray-outline.svg +1 -1
- package/dist/elements/svg/file-tray-sharp.svg +1 -1
- package/dist/elements/svg/file-tray-stacked-outline.svg +1 -1
- package/dist/elements/svg/file-tray-stacked-sharp.svg +1 -1
- package/dist/elements/svg/file-tray-stacked.svg +1 -1
- package/dist/elements/svg/file-tray.svg +1 -1
- package/dist/elements/svg/film-outline.svg +1 -1
- package/dist/elements/svg/film-sharp.svg +1 -1
- package/dist/elements/svg/film.svg +1 -1
- package/dist/elements/svg/filter-circle-outline.svg +1 -1
- package/dist/elements/svg/filter-circle-sharp.svg +1 -1
- package/dist/elements/svg/filter-circle.svg +1 -1
- package/dist/elements/svg/filter-outline.svg +1 -1
- package/dist/elements/svg/filter-sharp.svg +1 -1
- package/dist/elements/svg/filter.svg +1 -1
- package/dist/elements/svg/finger-print-outline.svg +1 -1
- package/dist/elements/svg/finger-print-sharp.svg +1 -1
- package/dist/elements/svg/finger-print.svg +1 -1
- package/dist/elements/svg/fish-outline.svg +1 -1
- package/dist/elements/svg/fish-sharp.svg +1 -1
- package/dist/elements/svg/fish.svg +1 -1
- package/dist/elements/svg/fitness-outline.svg +1 -1
- package/dist/elements/svg/fitness-sharp.svg +1 -1
- package/dist/elements/svg/fitness.svg +1 -1
- package/dist/elements/svg/flag-outline.svg +1 -1
- package/dist/elements/svg/flag-sharp.svg +1 -1
- package/dist/elements/svg/flag.svg +1 -1
- package/dist/elements/svg/flame-outline.svg +1 -1
- package/dist/elements/svg/flame-sharp.svg +1 -1
- package/dist/elements/svg/flame.svg +1 -1
- package/dist/elements/svg/flash-off-outline.svg +1 -1
- package/dist/elements/svg/flash-off-sharp.svg +1 -1
- package/dist/elements/svg/flash-off.svg +1 -1
- package/dist/elements/svg/flash-outline.svg +1 -1
- package/dist/elements/svg/flash-sharp.svg +1 -1
- package/dist/elements/svg/flash.svg +1 -1
- package/dist/elements/svg/flashlight-outline.svg +1 -1
- package/dist/elements/svg/flashlight-sharp.svg +1 -1
- package/dist/elements/svg/flashlight.svg +1 -1
- package/dist/elements/svg/flask-outline.svg +1 -1
- package/dist/elements/svg/flask-sharp.svg +1 -1
- package/dist/elements/svg/flask.svg +1 -1
- package/dist/elements/svg/flower-outline.svg +1 -1
- package/dist/elements/svg/flower-sharp.svg +1 -1
- package/dist/elements/svg/flower.svg +1 -1
- package/dist/elements/svg/folder-open-outline.svg +1 -1
- package/dist/elements/svg/folder-open-sharp.svg +1 -1
- package/dist/elements/svg/folder-open.svg +1 -1
- package/dist/elements/svg/folder-outline.svg +1 -1
- package/dist/elements/svg/folder-sharp.svg +1 -1
- package/dist/elements/svg/folder.svg +1 -1
- package/dist/elements/svg/football-outline.svg +1 -1
- package/dist/elements/svg/football-sharp.svg +1 -1
- package/dist/elements/svg/football.svg +1 -1
- package/dist/elements/svg/footsteps-outline.svg +1 -1
- package/dist/elements/svg/footsteps-sharp.svg +1 -1
- package/dist/elements/svg/footsteps.svg +1 -1
- package/dist/elements/svg/funnel-outline.svg +1 -1
- package/dist/elements/svg/funnel-sharp.svg +1 -1
- package/dist/elements/svg/funnel.svg +1 -1
- package/dist/elements/svg/game-controller-outline.svg +1 -1
- package/dist/elements/svg/game-controller-sharp.svg +1 -1
- package/dist/elements/svg/game-controller.svg +1 -1
- package/dist/elements/svg/gift-outline.svg +1 -1
- package/dist/elements/svg/gift-sharp.svg +1 -1
- package/dist/elements/svg/gift.svg +1 -1
- package/dist/elements/svg/git-branch-outline.svg +1 -1
- package/dist/elements/svg/git-branch-sharp.svg +1 -1
- package/dist/elements/svg/git-branch.svg +1 -1
- package/dist/elements/svg/git-commit-outline.svg +1 -1
- package/dist/elements/svg/git-commit-sharp.svg +1 -1
- package/dist/elements/svg/git-commit.svg +1 -1
- package/dist/elements/svg/git-compare-outline.svg +1 -1
- package/dist/elements/svg/git-compare-sharp.svg +1 -1
- package/dist/elements/svg/git-compare.svg +1 -1
- package/dist/elements/svg/git-merge-outline.svg +1 -1
- package/dist/elements/svg/git-merge-sharp.svg +1 -1
- package/dist/elements/svg/git-merge.svg +1 -1
- package/dist/elements/svg/git-network-outline.svg +1 -1
- package/dist/elements/svg/git-network-sharp.svg +1 -1
- package/dist/elements/svg/git-network.svg +1 -1
- package/dist/elements/svg/git-pull-request-outline.svg +1 -1
- package/dist/elements/svg/git-pull-request-sharp.svg +1 -1
- package/dist/elements/svg/git-pull-request.svg +1 -1
- package/dist/elements/svg/glasses-outline.svg +1 -1
- package/dist/elements/svg/glasses-sharp.svg +1 -1
- package/dist/elements/svg/glasses.svg +1 -1
- package/dist/elements/svg/globe-outline.svg +1 -1
- package/dist/elements/svg/globe-sharp.svg +1 -1
- package/dist/elements/svg/globe.svg +1 -1
- package/dist/elements/svg/golf-outline.svg +1 -1
- package/dist/elements/svg/golf-sharp.svg +1 -1
- package/dist/elements/svg/golf.svg +1 -1
- package/dist/elements/svg/grid-outline.svg +1 -1
- package/dist/elements/svg/grid-sharp.svg +1 -1
- package/dist/elements/svg/grid.svg +1 -1
- package/dist/elements/svg/hammer-outline.svg +1 -1
- package/dist/elements/svg/hammer-sharp.svg +1 -1
- package/dist/elements/svg/hammer.svg +1 -1
- package/dist/elements/svg/hand-left-outline.svg +1 -1
- package/dist/elements/svg/hand-left-sharp.svg +1 -1
- package/dist/elements/svg/hand-left.svg +1 -1
- package/dist/elements/svg/hand-right-outline.svg +1 -1
- package/dist/elements/svg/hand-right-sharp.svg +1 -1
- package/dist/elements/svg/hand-right.svg +1 -1
- package/dist/elements/svg/happy-outline.svg +1 -1
- package/dist/elements/svg/happy-sharp.svg +1 -1
- package/dist/elements/svg/happy.svg +1 -1
- package/dist/elements/svg/hardware-chip-outline.svg +1 -1
- package/dist/elements/svg/hardware-chip-sharp.svg +1 -1
- package/dist/elements/svg/hardware-chip.svg +1 -1
- package/dist/elements/svg/headset-outline.svg +1 -1
- package/dist/elements/svg/headset-sharp.svg +1 -1
- package/dist/elements/svg/headset.svg +1 -1
- package/dist/elements/svg/heart-circle-outline.svg +1 -1
- package/dist/elements/svg/heart-circle-sharp.svg +1 -1
- package/dist/elements/svg/heart-circle.svg +1 -1
- package/dist/elements/svg/heart-dislike-circle-outline.svg +1 -1
- package/dist/elements/svg/heart-dislike-circle-sharp.svg +1 -1
- package/dist/elements/svg/heart-dislike-circle.svg +1 -1
- package/dist/elements/svg/heart-dislike-outline.svg +1 -1
- package/dist/elements/svg/heart-dislike-sharp.svg +1 -1
- package/dist/elements/svg/heart-dislike.svg +1 -1
- package/dist/elements/svg/heart-half-outline.svg +1 -1
- package/dist/elements/svg/heart-half-sharp.svg +1 -1
- package/dist/elements/svg/heart-half.svg +1 -1
- package/dist/elements/svg/heart-outline.svg +1 -1
- package/dist/elements/svg/heart-sharp.svg +1 -1
- package/dist/elements/svg/heart.svg +1 -1
- package/dist/elements/svg/help-buoy-outline.svg +1 -1
- package/dist/elements/svg/help-buoy-sharp.svg +1 -1
- package/dist/elements/svg/help-buoy.svg +1 -1
- package/dist/elements/svg/help-circle-outline.svg +1 -1
- package/dist/elements/svg/help-circle-sharp.svg +1 -1
- package/dist/elements/svg/help-circle.svg +1 -1
- package/dist/elements/svg/help-outline.svg +1 -1
- package/dist/elements/svg/help-sharp.svg +1 -1
- package/dist/elements/svg/help.svg +1 -1
- package/dist/elements/svg/home-outline.svg +1 -1
- package/dist/elements/svg/home-sharp.svg +1 -1
- package/dist/elements/svg/home.svg +1 -1
- package/dist/elements/svg/hourglass-outline.svg +1 -1
- package/dist/elements/svg/hourglass-sharp.svg +1 -1
- package/dist/elements/svg/hourglass.svg +1 -1
- package/dist/elements/svg/ice-cream-outline.svg +1 -1
- package/dist/elements/svg/ice-cream-sharp.svg +1 -1
- package/dist/elements/svg/ice-cream.svg +1 -1
- package/dist/elements/svg/id-card-outline.svg +1 -1
- package/dist/elements/svg/id-card-sharp.svg +1 -1
- package/dist/elements/svg/id-card.svg +1 -1
- package/dist/elements/svg/image-outline.svg +1 -1
- package/dist/elements/svg/image-sharp.svg +1 -1
- package/dist/elements/svg/image.svg +1 -1
- package/dist/elements/svg/images-outline.svg +1 -1
- package/dist/elements/svg/images-sharp.svg +1 -1
- package/dist/elements/svg/images.svg +1 -1
- package/dist/elements/svg/infinite-outline.svg +1 -1
- package/dist/elements/svg/infinite-sharp.svg +1 -1
- package/dist/elements/svg/infinite.svg +1 -1
- package/dist/elements/svg/information-circle-outline.svg +1 -1
- package/dist/elements/svg/information-circle-sharp.svg +1 -1
- package/dist/elements/svg/information-circle.svg +1 -1
- package/dist/elements/svg/information-outline.svg +1 -1
- package/dist/elements/svg/information-sharp.svg +1 -1
- package/dist/elements/svg/information.svg +1 -1
- package/dist/elements/svg/invert-mode-outline.svg +1 -1
- package/dist/elements/svg/invert-mode-sharp.svg +1 -1
- package/dist/elements/svg/invert-mode.svg +1 -1
- package/dist/elements/svg/journal-outline.svg +1 -1
- package/dist/elements/svg/journal-sharp.svg +1 -1
- package/dist/elements/svg/journal.svg +1 -1
- package/dist/elements/svg/key-outline.svg +1 -1
- package/dist/elements/svg/key-sharp.svg +1 -1
- package/dist/elements/svg/key.svg +1 -1
- package/dist/elements/svg/keypad-outline.svg +1 -1
- package/dist/elements/svg/keypad-sharp.svg +1 -1
- package/dist/elements/svg/keypad.svg +1 -1
- package/dist/elements/svg/language-outline.svg +1 -1
- package/dist/elements/svg/language-sharp.svg +1 -1
- package/dist/elements/svg/language.svg +1 -1
- package/dist/elements/svg/laptop-outline.svg +1 -1
- package/dist/elements/svg/laptop-sharp.svg +1 -1
- package/dist/elements/svg/laptop.svg +1 -1
- package/dist/elements/svg/layers-outline.svg +1 -1
- package/dist/elements/svg/layers-sharp.svg +1 -1
- package/dist/elements/svg/layers.svg +1 -1
- package/dist/elements/svg/leaf-outline.svg +1 -1
- package/dist/elements/svg/leaf-sharp.svg +1 -1
- package/dist/elements/svg/leaf.svg +1 -1
- package/dist/elements/svg/library-outline.svg +1 -1
- package/dist/elements/svg/library-sharp.svg +1 -1
- package/dist/elements/svg/library.svg +1 -1
- package/dist/elements/svg/link-outline.svg +1 -1
- package/dist/elements/svg/link-sharp.svg +1 -1
- package/dist/elements/svg/link.svg +1 -1
- package/dist/elements/svg/list-circle-outline.svg +1 -1
- package/dist/elements/svg/list-circle-sharp.svg +1 -1
- package/dist/elements/svg/list-circle.svg +1 -1
- package/dist/elements/svg/list-outline.svg +1 -1
- package/dist/elements/svg/list-sharp.svg +1 -1
- package/dist/elements/svg/list.svg +1 -1
- package/dist/elements/svg/locate-outline.svg +1 -1
- package/dist/elements/svg/locate-sharp.svg +1 -1
- package/dist/elements/svg/locate.svg +1 -1
- package/dist/elements/svg/location-outline.svg +1 -1
- package/dist/elements/svg/location-sharp.svg +1 -1
- package/dist/elements/svg/location.svg +1 -1
- package/dist/elements/svg/lock-closed-outline.svg +1 -1
- package/dist/elements/svg/lock-closed-sharp.svg +1 -1
- package/dist/elements/svg/lock-closed.svg +1 -1
- package/dist/elements/svg/lock-open-outline.svg +1 -1
- package/dist/elements/svg/lock-open-sharp.svg +1 -1
- package/dist/elements/svg/lock-open.svg +1 -1
- package/dist/elements/svg/log-in-outline.svg +1 -1
- package/dist/elements/svg/log-in-sharp.svg +1 -1
- package/dist/elements/svg/log-in.svg +1 -1
- package/dist/elements/svg/log-out-outline.svg +1 -1
- package/dist/elements/svg/log-out-sharp.svg +1 -1
- package/dist/elements/svg/log-out.svg +1 -1
- package/dist/elements/svg/logo-alipay.svg +1 -1
- package/dist/elements/svg/logo-amazon.svg +1 -1
- package/dist/elements/svg/logo-amplify.svg +1 -1
- package/dist/elements/svg/logo-android.svg +1 -1
- package/dist/elements/svg/logo-angular.svg +1 -1
- package/dist/elements/svg/logo-apple-appstore.svg +1 -1
- package/dist/elements/svg/logo-apple-ar.svg +1 -1
- package/dist/elements/svg/logo-apple.svg +1 -1
- package/dist/elements/svg/logo-behance.svg +1 -1
- package/dist/elements/svg/logo-bitbucket.svg +1 -1
- package/dist/elements/svg/logo-bitcoin.svg +1 -1
- package/dist/elements/svg/logo-buffer.svg +1 -1
- package/dist/elements/svg/logo-capacitor.svg +1 -1
- package/dist/elements/svg/logo-chrome.svg +1 -1
- package/dist/elements/svg/logo-closed-captioning.svg +1 -1
- package/dist/elements/svg/logo-codepen.svg +1 -1
- package/dist/elements/svg/logo-css3.svg +1 -1
- package/dist/elements/svg/logo-designernews.svg +1 -1
- package/dist/elements/svg/logo-deviantart.svg +1 -1
- package/dist/elements/svg/logo-discord.svg +1 -1
- package/dist/elements/svg/logo-docker.svg +1 -1
- package/dist/elements/svg/logo-dribbble.svg +1 -1
- package/dist/elements/svg/logo-dropbox.svg +1 -1
- package/dist/elements/svg/logo-edge.svg +1 -1
- package/dist/elements/svg/logo-electron.svg +1 -1
- package/dist/elements/svg/logo-euro.svg +1 -1
- package/dist/elements/svg/logo-facebook.svg +1 -1
- package/dist/elements/svg/logo-figma.svg +1 -1
- package/dist/elements/svg/logo-firebase.svg +1 -1
- package/dist/elements/svg/logo-firefox.svg +1 -1
- package/dist/elements/svg/logo-flickr.svg +1 -1
- package/dist/elements/svg/logo-foursquare.svg +1 -1
- package/dist/elements/svg/logo-github.svg +1 -1
- package/dist/elements/svg/logo-gitlab.svg +1 -1
- package/dist/elements/svg/logo-google-playstore.svg +1 -1
- package/dist/elements/svg/logo-google.svg +1 -1
- package/dist/elements/svg/logo-hackernews.svg +1 -1
- package/dist/elements/svg/logo-html5.svg +1 -1
- package/dist/elements/svg/logo-instagram.svg +1 -1
- package/dist/elements/svg/logo-ionic.svg +1 -1
- package/dist/elements/svg/logo-ionitron.svg +1 -1
- package/dist/elements/svg/logo-javascript.svg +1 -1
- package/dist/elements/svg/logo-laravel.svg +1 -1
- package/dist/elements/svg/logo-linkedin.svg +1 -1
- package/dist/elements/svg/logo-markdown.svg +1 -1
- package/dist/elements/svg/logo-mastodon.svg +1 -1
- package/dist/elements/svg/logo-medium.svg +1 -1
- package/dist/elements/svg/logo-microsoft.svg +1 -1
- package/dist/elements/svg/logo-no-smoking.svg +1 -1
- package/dist/elements/svg/logo-nodejs.svg +1 -1
- package/dist/elements/svg/logo-npm.svg +1 -1
- package/dist/elements/svg/logo-octocat.svg +1 -1
- package/dist/elements/svg/logo-paypal.svg +1 -1
- package/dist/elements/svg/logo-pinterest.svg +1 -1
- package/dist/elements/svg/logo-playstation.svg +1 -1
- package/dist/elements/svg/logo-pwa.svg +1 -1
- package/dist/elements/svg/logo-python.svg +1 -1
- package/dist/elements/svg/logo-react.svg +1 -1
- package/dist/elements/svg/logo-reddit.svg +1 -1
- package/dist/elements/svg/logo-rss.svg +1 -1
- package/dist/elements/svg/logo-sass.svg +1 -1
- package/dist/elements/svg/logo-skype.svg +1 -1
- package/dist/elements/svg/logo-slack.svg +1 -1
- package/dist/elements/svg/logo-snapchat.svg +1 -1
- package/dist/elements/svg/logo-soundcloud.svg +1 -1
- package/dist/elements/svg/logo-stackoverflow.svg +1 -1
- package/dist/elements/svg/logo-steam.svg +1 -1
- package/dist/elements/svg/logo-stencil.svg +1 -1
- package/dist/elements/svg/logo-tableau.svg +1 -1
- package/dist/elements/svg/logo-tiktok.svg +1 -1
- package/dist/elements/svg/logo-tumblr.svg +1 -1
- package/dist/elements/svg/logo-tux.svg +1 -1
- package/dist/elements/svg/logo-twitch.svg +1 -1
- package/dist/elements/svg/logo-twitter.svg +1 -1
- package/dist/elements/svg/logo-usd.svg +1 -1
- package/dist/elements/svg/logo-venmo.svg +1 -1
- package/dist/elements/svg/logo-vercel.svg +1 -1
- package/dist/elements/svg/logo-vimeo.svg +1 -1
- package/dist/elements/svg/logo-vk.svg +1 -1
- package/dist/elements/svg/logo-vue.svg +1 -1
- package/dist/elements/svg/logo-web-component.svg +1 -1
- package/dist/elements/svg/logo-wechat.svg +1 -1
- package/dist/elements/svg/logo-whatsapp.svg +1 -1
- package/dist/elements/svg/logo-windows.svg +1 -1
- package/dist/elements/svg/logo-wordpress.svg +1 -1
- package/dist/elements/svg/logo-xbox.svg +1 -1
- package/dist/elements/svg/logo-xing.svg +1 -1
- package/dist/elements/svg/logo-yahoo.svg +1 -1
- package/dist/elements/svg/logo-yen.svg +1 -1
- package/dist/elements/svg/logo-youtube.svg +1 -1
- package/dist/elements/svg/magnet-outline.svg +1 -1
- package/dist/elements/svg/magnet-sharp.svg +1 -1
- package/dist/elements/svg/magnet.svg +1 -1
- package/dist/elements/svg/mail-open-outline.svg +1 -1
- package/dist/elements/svg/mail-open-sharp.svg +1 -1
- package/dist/elements/svg/mail-open.svg +1 -1
- package/dist/elements/svg/mail-outline.svg +1 -1
- package/dist/elements/svg/mail-sharp.svg +1 -1
- package/dist/elements/svg/mail-unread-outline.svg +1 -1
- package/dist/elements/svg/mail-unread-sharp.svg +1 -1
- package/dist/elements/svg/mail-unread.svg +1 -1
- package/dist/elements/svg/mail.svg +1 -1
- package/dist/elements/svg/male-female-outline.svg +1 -1
- package/dist/elements/svg/male-female-sharp.svg +1 -1
- package/dist/elements/svg/male-female.svg +1 -1
- package/dist/elements/svg/male-outline.svg +1 -1
- package/dist/elements/svg/male-sharp.svg +1 -1
- package/dist/elements/svg/male.svg +1 -1
- package/dist/elements/svg/man-outline.svg +1 -1
- package/dist/elements/svg/man-sharp.svg +1 -1
- package/dist/elements/svg/man.svg +1 -1
- package/dist/elements/svg/map-outline.svg +1 -1
- package/dist/elements/svg/map-sharp.svg +1 -1
- package/dist/elements/svg/map.svg +1 -1
- package/dist/elements/svg/medal-outline.svg +1 -1
- package/dist/elements/svg/medal-sharp.svg +1 -1
- package/dist/elements/svg/medal.svg +1 -1
- package/dist/elements/svg/medical-outline.svg +1 -1
- package/dist/elements/svg/medical-sharp.svg +1 -1
- package/dist/elements/svg/medical.svg +1 -1
- package/dist/elements/svg/medkit-outline.svg +1 -1
- package/dist/elements/svg/medkit-sharp.svg +1 -1
- package/dist/elements/svg/medkit.svg +1 -1
- package/dist/elements/svg/megaphone-outline.svg +1 -1
- package/dist/elements/svg/megaphone-sharp.svg +1 -1
- package/dist/elements/svg/megaphone.svg +1 -1
- package/dist/elements/svg/menu-outline.svg +1 -1
- package/dist/elements/svg/menu-sharp.svg +1 -1
- package/dist/elements/svg/menu.svg +1 -1
- package/dist/elements/svg/mic-circle-outline.svg +1 -1
- package/dist/elements/svg/mic-circle-sharp.svg +1 -1
- package/dist/elements/svg/mic-circle.svg +1 -1
- package/dist/elements/svg/mic-off-circle-outline.svg +1 -1
- package/dist/elements/svg/mic-off-circle-sharp.svg +1 -1
- package/dist/elements/svg/mic-off-circle.svg +1 -1
- package/dist/elements/svg/mic-off-outline.svg +1 -1
- package/dist/elements/svg/mic-off-sharp.svg +1 -1
- package/dist/elements/svg/mic-off.svg +1 -1
- package/dist/elements/svg/mic-outline.svg +1 -1
- package/dist/elements/svg/mic-sharp.svg +1 -1
- package/dist/elements/svg/mic.svg +1 -1
- package/dist/elements/svg/moon-outline.svg +1 -1
- package/dist/elements/svg/moon-sharp.svg +1 -1
- package/dist/elements/svg/moon.svg +1 -1
- package/dist/elements/svg/move-outline.svg +1 -1
- package/dist/elements/svg/move-sharp.svg +1 -1
- package/dist/elements/svg/move.svg +1 -1
- package/dist/elements/svg/musical-note-outline.svg +1 -1
- package/dist/elements/svg/musical-note-sharp.svg +1 -1
- package/dist/elements/svg/musical-note.svg +1 -1
- package/dist/elements/svg/musical-notes-outline.svg +1 -1
- package/dist/elements/svg/musical-notes-sharp.svg +1 -1
- package/dist/elements/svg/musical-notes.svg +1 -1
- package/dist/elements/svg/navigate-circle-outline.svg +1 -1
- package/dist/elements/svg/navigate-circle-sharp.svg +1 -1
- package/dist/elements/svg/navigate-circle.svg +1 -1
- package/dist/elements/svg/navigate-outline.svg +1 -1
- package/dist/elements/svg/navigate-sharp.svg +1 -1
- package/dist/elements/svg/navigate.svg +1 -1
- package/dist/elements/svg/newspaper-outline.svg +1 -1
- package/dist/elements/svg/newspaper-sharp.svg +1 -1
- package/dist/elements/svg/newspaper.svg +1 -1
- package/dist/elements/svg/notifications-circle-outline.svg +1 -1
- package/dist/elements/svg/notifications-circle-sharp.svg +1 -1
- package/dist/elements/svg/notifications-circle.svg +1 -1
- package/dist/elements/svg/notifications-off-circle-outline.svg +1 -1
- package/dist/elements/svg/notifications-off-circle-sharp.svg +1 -1
- package/dist/elements/svg/notifications-off-circle.svg +1 -1
- package/dist/elements/svg/notifications-off-outline.svg +1 -1
- package/dist/elements/svg/notifications-off-sharp.svg +1 -1
- package/dist/elements/svg/notifications-off.svg +1 -1
- package/dist/elements/svg/notifications-outline.svg +1 -1
- package/dist/elements/svg/notifications-sharp.svg +1 -1
- package/dist/elements/svg/notifications.svg +1 -1
- package/dist/elements/svg/nuclear-outline.svg +1 -1
- package/dist/elements/svg/nuclear-sharp.svg +1 -1
- package/dist/elements/svg/nuclear.svg +1 -1
- package/dist/elements/svg/nutrition-outline.svg +1 -1
- package/dist/elements/svg/nutrition-sharp.svg +1 -1
- package/dist/elements/svg/nutrition.svg +1 -1
- package/dist/elements/svg/open-outline.svg +1 -1
- package/dist/elements/svg/open-sharp.svg +1 -1
- package/dist/elements/svg/open.svg +1 -1
- package/dist/elements/svg/options-outline.svg +1 -1
- package/dist/elements/svg/options-sharp.svg +1 -1
- package/dist/elements/svg/options.svg +1 -1
- package/dist/elements/svg/paper-plane-outline.svg +1 -1
- package/dist/elements/svg/paper-plane-sharp.svg +1 -1
- package/dist/elements/svg/paper-plane.svg +1 -1
- package/dist/elements/svg/partly-sunny-outline.svg +1 -1
- package/dist/elements/svg/partly-sunny-sharp.svg +1 -1
- package/dist/elements/svg/partly-sunny.svg +1 -1
- package/dist/elements/svg/pause-circle-outline.svg +1 -1
- package/dist/elements/svg/pause-circle-sharp.svg +1 -1
- package/dist/elements/svg/pause-circle.svg +1 -1
- package/dist/elements/svg/pause-outline.svg +1 -1
- package/dist/elements/svg/pause-sharp.svg +1 -1
- package/dist/elements/svg/pause.svg +1 -1
- package/dist/elements/svg/paw-outline.svg +1 -1
- package/dist/elements/svg/paw-sharp.svg +1 -1
- package/dist/elements/svg/paw.svg +1 -1
- package/dist/elements/svg/pencil-outline.svg +1 -1
- package/dist/elements/svg/pencil-sharp.svg +1 -1
- package/dist/elements/svg/pencil.svg +1 -1
- package/dist/elements/svg/people-circle-outline.svg +1 -1
- package/dist/elements/svg/people-circle-sharp.svg +1 -1
- package/dist/elements/svg/people-circle.svg +1 -1
- package/dist/elements/svg/people-outline.svg +1 -1
- package/dist/elements/svg/people-sharp.svg +1 -1
- package/dist/elements/svg/people.svg +1 -1
- package/dist/elements/svg/person-add-outline.svg +1 -1
- package/dist/elements/svg/person-add-sharp.svg +1 -1
- package/dist/elements/svg/person-add.svg +1 -1
- package/dist/elements/svg/person-circle-outline.svg +1 -1
- package/dist/elements/svg/person-circle-sharp.svg +1 -1
- package/dist/elements/svg/person-circle.svg +1 -1
- package/dist/elements/svg/person-outline.svg +1 -1
- package/dist/elements/svg/person-remove-outline.svg +1 -1
- package/dist/elements/svg/person-remove-sharp.svg +1 -1
- package/dist/elements/svg/person-remove.svg +1 -1
- package/dist/elements/svg/person-sharp.svg +1 -1
- package/dist/elements/svg/person.svg +1 -1
- package/dist/elements/svg/phone-landscape-outline.svg +1 -1
- package/dist/elements/svg/phone-landscape-sharp.svg +1 -1
- package/dist/elements/svg/phone-landscape.svg +1 -1
- package/dist/elements/svg/phone-portrait-outline.svg +1 -1
- package/dist/elements/svg/phone-portrait-sharp.svg +1 -1
- package/dist/elements/svg/phone-portrait.svg +1 -1
- package/dist/elements/svg/pie-chart-outline.svg +1 -1
- package/dist/elements/svg/pie-chart-sharp.svg +1 -1
- package/dist/elements/svg/pie-chart.svg +1 -1
- package/dist/elements/svg/pin-outline.svg +1 -1
- package/dist/elements/svg/pin-sharp.svg +1 -1
- package/dist/elements/svg/pin.svg +1 -1
- package/dist/elements/svg/pint-outline.svg +1 -1
- package/dist/elements/svg/pint-sharp.svg +1 -1
- package/dist/elements/svg/pint.svg +1 -1
- package/dist/elements/svg/pizza-outline.svg +1 -1
- package/dist/elements/svg/pizza-sharp.svg +1 -1
- package/dist/elements/svg/pizza.svg +1 -1
- package/dist/elements/svg/planet-outline.svg +1 -1
- package/dist/elements/svg/planet-sharp.svg +1 -1
- package/dist/elements/svg/planet.svg +1 -1
- package/dist/elements/svg/play-back-circle-outline.svg +1 -1
- package/dist/elements/svg/play-back-circle-sharp.svg +1 -1
- package/dist/elements/svg/play-back-circle.svg +1 -1
- package/dist/elements/svg/play-back-outline.svg +1 -1
- package/dist/elements/svg/play-back-sharp.svg +1 -1
- package/dist/elements/svg/play-back.svg +1 -1
- package/dist/elements/svg/play-circle-outline.svg +1 -1
- package/dist/elements/svg/play-circle-sharp.svg +1 -1
- package/dist/elements/svg/play-circle.svg +1 -1
- package/dist/elements/svg/play-forward-circle-outline.svg +1 -1
- package/dist/elements/svg/play-forward-circle-sharp.svg +1 -1
- package/dist/elements/svg/play-forward-circle.svg +1 -1
- package/dist/elements/svg/play-forward-outline.svg +1 -1
- package/dist/elements/svg/play-forward-sharp.svg +1 -1
- package/dist/elements/svg/play-forward.svg +1 -1
- package/dist/elements/svg/play-outline.svg +1 -1
- package/dist/elements/svg/play-sharp.svg +1 -1
- package/dist/elements/svg/play-skip-back-circle-outline.svg +1 -1
- package/dist/elements/svg/play-skip-back-circle-sharp.svg +1 -1
- package/dist/elements/svg/play-skip-back-circle.svg +1 -1
- package/dist/elements/svg/play-skip-back-outline.svg +1 -1
- package/dist/elements/svg/play-skip-back-sharp.svg +1 -1
- package/dist/elements/svg/play-skip-back.svg +1 -1
- package/dist/elements/svg/play-skip-forward-circle-outline.svg +1 -1
- package/dist/elements/svg/play-skip-forward-circle-sharp.svg +1 -1
- package/dist/elements/svg/play-skip-forward-circle.svg +1 -1
- package/dist/elements/svg/play-skip-forward-outline.svg +1 -1
- package/dist/elements/svg/play-skip-forward-sharp.svg +1 -1
- package/dist/elements/svg/play-skip-forward.svg +1 -1
- package/dist/elements/svg/play.svg +1 -1
- package/dist/elements/svg/podium-outline.svg +1 -1
- package/dist/elements/svg/podium-sharp.svg +1 -1
- package/dist/elements/svg/podium.svg +1 -1
- package/dist/elements/svg/power-outline.svg +1 -1
- package/dist/elements/svg/power-sharp.svg +1 -1
- package/dist/elements/svg/power.svg +1 -1
- package/dist/elements/svg/pricetag-outline.svg +1 -1
- package/dist/elements/svg/pricetag-sharp.svg +1 -1
- package/dist/elements/svg/pricetag.svg +1 -1
- package/dist/elements/svg/pricetags-outline.svg +1 -1
- package/dist/elements/svg/pricetags-sharp.svg +1 -1
- package/dist/elements/svg/pricetags.svg +1 -1
- package/dist/elements/svg/print-outline.svg +1 -1
- package/dist/elements/svg/print-sharp.svg +1 -1
- package/dist/elements/svg/print.svg +1 -1
- package/dist/elements/svg/prism-outline.svg +1 -1
- package/dist/elements/svg/prism-sharp.svg +1 -1
- package/dist/elements/svg/prism.svg +1 -1
- package/dist/elements/svg/pulse-outline.svg +1 -1
- package/dist/elements/svg/pulse-sharp.svg +1 -1
- package/dist/elements/svg/pulse.svg +1 -1
- package/dist/elements/svg/push-outline.svg +1 -1
- package/dist/elements/svg/push-sharp.svg +1 -1
- package/dist/elements/svg/push.svg +1 -1
- package/dist/elements/svg/qr-code-outline.svg +1 -1
- package/dist/elements/svg/qr-code-sharp.svg +1 -1
- package/dist/elements/svg/qr-code.svg +1 -1
- package/dist/elements/svg/radio-button-off-outline.svg +1 -1
- package/dist/elements/svg/radio-button-off-sharp.svg +1 -1
- package/dist/elements/svg/radio-button-off.svg +1 -1
- package/dist/elements/svg/radio-button-on-outline.svg +1 -1
- package/dist/elements/svg/radio-button-on-sharp.svg +1 -1
- package/dist/elements/svg/radio-button-on.svg +1 -1
- package/dist/elements/svg/radio-outline.svg +1 -1
- package/dist/elements/svg/radio-sharp.svg +1 -1
- package/dist/elements/svg/radio.svg +1 -1
- package/dist/elements/svg/rainy-outline.svg +1 -1
- package/dist/elements/svg/rainy-sharp.svg +1 -1
- package/dist/elements/svg/rainy.svg +1 -1
- package/dist/elements/svg/reader-outline.svg +1 -1
- package/dist/elements/svg/reader-sharp.svg +1 -1
- package/dist/elements/svg/reader.svg +1 -1
- package/dist/elements/svg/receipt-outline.svg +1 -1
- package/dist/elements/svg/receipt-sharp.svg +1 -1
- package/dist/elements/svg/receipt.svg +1 -1
- package/dist/elements/svg/recording-outline.svg +1 -1
- package/dist/elements/svg/recording-sharp.svg +1 -1
- package/dist/elements/svg/recording.svg +1 -1
- package/dist/elements/svg/refresh-circle-outline.svg +1 -1
- package/dist/elements/svg/refresh-circle-sharp.svg +1 -1
- package/dist/elements/svg/refresh-circle.svg +1 -1
- package/dist/elements/svg/refresh-outline.svg +1 -1
- package/dist/elements/svg/refresh-sharp.svg +1 -1
- package/dist/elements/svg/refresh.svg +1 -1
- package/dist/elements/svg/reload-circle-outline.svg +1 -1
- package/dist/elements/svg/reload-circle-sharp.svg +1 -1
- package/dist/elements/svg/reload-circle.svg +1 -1
- package/dist/elements/svg/reload-outline.svg +1 -1
- package/dist/elements/svg/reload-sharp.svg +1 -1
- package/dist/elements/svg/reload.svg +1 -1
- package/dist/elements/svg/remove-circle-outline.svg +1 -1
- package/dist/elements/svg/remove-circle-sharp.svg +1 -1
- package/dist/elements/svg/remove-circle.svg +1 -1
- package/dist/elements/svg/remove-outline.svg +1 -1
- package/dist/elements/svg/remove-sharp.svg +1 -1
- package/dist/elements/svg/remove.svg +1 -1
- package/dist/elements/svg/reorder-four-outline.svg +1 -1
- package/dist/elements/svg/reorder-four-sharp.svg +1 -1
- package/dist/elements/svg/reorder-four.svg +1 -1
- package/dist/elements/svg/reorder-three-outline.svg +1 -1
- package/dist/elements/svg/reorder-three-sharp.svg +1 -1
- package/dist/elements/svg/reorder-three.svg +1 -1
- package/dist/elements/svg/reorder-two-outline.svg +1 -1
- package/dist/elements/svg/reorder-two-sharp.svg +1 -1
- package/dist/elements/svg/reorder-two.svg +1 -1
- package/dist/elements/svg/repeat-outline.svg +1 -1
- package/dist/elements/svg/repeat-sharp.svg +1 -1
- package/dist/elements/svg/repeat.svg +1 -1
- package/dist/elements/svg/resize-outline.svg +1 -1
- package/dist/elements/svg/resize-sharp.svg +1 -1
- package/dist/elements/svg/resize.svg +1 -1
- package/dist/elements/svg/restaurant-outline.svg +1 -1
- package/dist/elements/svg/restaurant-sharp.svg +1 -1
- package/dist/elements/svg/restaurant.svg +1 -1
- package/dist/elements/svg/return-down-back-outline.svg +1 -1
- package/dist/elements/svg/return-down-back-sharp.svg +1 -1
- package/dist/elements/svg/return-down-back.svg +1 -1
- package/dist/elements/svg/return-down-forward-outline.svg +1 -1
- package/dist/elements/svg/return-down-forward-sharp.svg +1 -1
- package/dist/elements/svg/return-down-forward.svg +1 -1
- package/dist/elements/svg/return-up-back-outline.svg +1 -1
- package/dist/elements/svg/return-up-back-sharp.svg +1 -1
- package/dist/elements/svg/return-up-back.svg +1 -1
- package/dist/elements/svg/return-up-forward-outline.svg +1 -1
- package/dist/elements/svg/return-up-forward-sharp.svg +1 -1
- package/dist/elements/svg/return-up-forward.svg +1 -1
- package/dist/elements/svg/ribbon-outline.svg +1 -1
- package/dist/elements/svg/ribbon-sharp.svg +1 -1
- package/dist/elements/svg/ribbon.svg +1 -1
- package/dist/elements/svg/rocket-outline.svg +1 -1
- package/dist/elements/svg/rocket-sharp.svg +1 -1
- package/dist/elements/svg/rocket.svg +1 -1
- package/dist/elements/svg/rose-outline.svg +1 -1
- package/dist/elements/svg/rose-sharp.svg +1 -1
- package/dist/elements/svg/rose.svg +1 -1
- package/dist/elements/svg/sad-outline.svg +1 -1
- package/dist/elements/svg/sad-sharp.svg +1 -1
- package/dist/elements/svg/sad.svg +1 -1
- package/dist/elements/svg/save-outline.svg +1 -1
- package/dist/elements/svg/save-sharp.svg +1 -1
- package/dist/elements/svg/save.svg +1 -1
- package/dist/elements/svg/scale-outline.svg +1 -1
- package/dist/elements/svg/scale-sharp.svg +1 -1
- package/dist/elements/svg/scale.svg +1 -1
- package/dist/elements/svg/scan-circle-outline.svg +1 -1
- package/dist/elements/svg/scan-circle-sharp.svg +1 -1
- package/dist/elements/svg/scan-circle.svg +1 -1
- package/dist/elements/svg/scan-outline.svg +1 -1
- package/dist/elements/svg/scan-sharp.svg +1 -1
- package/dist/elements/svg/scan.svg +1 -1
- package/dist/elements/svg/school-outline.svg +1 -1
- package/dist/elements/svg/school-sharp.svg +1 -1
- package/dist/elements/svg/school.svg +1 -1
- package/dist/elements/svg/search-circle-outline.svg +1 -1
- package/dist/elements/svg/search-circle-sharp.svg +1 -1
- package/dist/elements/svg/search-circle.svg +1 -1
- package/dist/elements/svg/search-outline.svg +1 -1
- package/dist/elements/svg/search-sharp.svg +1 -1
- package/dist/elements/svg/search.svg +1 -1
- package/dist/elements/svg/send-outline.svg +1 -1
- package/dist/elements/svg/send-sharp.svg +1 -1
- package/dist/elements/svg/send.svg +1 -1
- package/dist/elements/svg/server-outline.svg +1 -1
- package/dist/elements/svg/server-sharp.svg +1 -1
- package/dist/elements/svg/server.svg +1 -1
- package/dist/elements/svg/settings-outline.svg +1 -1
- package/dist/elements/svg/settings-sharp.svg +1 -1
- package/dist/elements/svg/settings.svg +1 -1
- package/dist/elements/svg/shapes-outline.svg +1 -1
- package/dist/elements/svg/shapes-sharp.svg +1 -1
- package/dist/elements/svg/shapes.svg +1 -1
- package/dist/elements/svg/share-outline.svg +1 -1
- package/dist/elements/svg/share-sharp.svg +1 -1
- package/dist/elements/svg/share-social-outline.svg +1 -1
- package/dist/elements/svg/share-social-sharp.svg +1 -1
- package/dist/elements/svg/share-social.svg +1 -1
- package/dist/elements/svg/share.svg +1 -1
- package/dist/elements/svg/shield-checkmark-outline.svg +1 -1
- package/dist/elements/svg/shield-checkmark-sharp.svg +1 -1
- package/dist/elements/svg/shield-checkmark.svg +1 -1
- package/dist/elements/svg/shield-half-outline.svg +1 -1
- package/dist/elements/svg/shield-half-sharp.svg +1 -1
- package/dist/elements/svg/shield-half.svg +1 -1
- package/dist/elements/svg/shield-outline.svg +1 -1
- package/dist/elements/svg/shield-sharp.svg +1 -1
- package/dist/elements/svg/shield.svg +1 -1
- package/dist/elements/svg/shirt-outline.svg +1 -1
- package/dist/elements/svg/shirt-sharp.svg +1 -1
- package/dist/elements/svg/shirt.svg +1 -1
- package/dist/elements/svg/shuffle-outline.svg +1 -1
- package/dist/elements/svg/shuffle-sharp.svg +1 -1
- package/dist/elements/svg/shuffle.svg +1 -1
- package/dist/elements/svg/skull-outline.svg +1 -1
- package/dist/elements/svg/skull-sharp.svg +1 -1
- package/dist/elements/svg/skull.svg +1 -1
- package/dist/elements/svg/snow-outline.svg +1 -1
- package/dist/elements/svg/snow-sharp.svg +1 -1
- package/dist/elements/svg/snow.svg +1 -1
- package/dist/elements/svg/sparkles-outline.svg +1 -1
- package/dist/elements/svg/sparkles-sharp.svg +1 -1
- package/dist/elements/svg/sparkles.svg +1 -1
- package/dist/elements/svg/speedometer-outline.svg +1 -1
- package/dist/elements/svg/speedometer-sharp.svg +1 -1
- package/dist/elements/svg/speedometer.svg +1 -1
- package/dist/elements/svg/square-outline.svg +1 -1
- package/dist/elements/svg/square-sharp.svg +1 -1
- package/dist/elements/svg/square.svg +1 -1
- package/dist/elements/svg/star-half-outline.svg +1 -1
- package/dist/elements/svg/star-half-sharp.svg +1 -1
- package/dist/elements/svg/star-half.svg +1 -1
- package/dist/elements/svg/star-outline.svg +1 -1
- package/dist/elements/svg/star-sharp.svg +1 -1
- package/dist/elements/svg/star.svg +1 -1
- package/dist/elements/svg/stats-chart-outline.svg +1 -1
- package/dist/elements/svg/stats-chart-sharp.svg +1 -1
- package/dist/elements/svg/stats-chart.svg +1 -1
- package/dist/elements/svg/stop-circle-outline.svg +1 -1
- package/dist/elements/svg/stop-circle-sharp.svg +1 -1
- package/dist/elements/svg/stop-circle.svg +1 -1
- package/dist/elements/svg/stop-outline.svg +1 -1
- package/dist/elements/svg/stop-sharp.svg +1 -1
- package/dist/elements/svg/stop.svg +1 -1
- package/dist/elements/svg/stopwatch-outline.svg +1 -1
- package/dist/elements/svg/stopwatch-sharp.svg +1 -1
- package/dist/elements/svg/stopwatch.svg +1 -1
- package/dist/elements/svg/storefront-outline.svg +1 -1
- package/dist/elements/svg/storefront-sharp.svg +1 -1
- package/dist/elements/svg/storefront.svg +1 -1
- package/dist/elements/svg/subway-outline.svg +1 -1
- package/dist/elements/svg/subway-sharp.svg +1 -1
- package/dist/elements/svg/subway.svg +1 -1
- package/dist/elements/svg/sunny-outline.svg +1 -1
- package/dist/elements/svg/sunny-sharp.svg +1 -1
- package/dist/elements/svg/sunny.svg +1 -1
- package/dist/elements/svg/swap-horizontal-outline.svg +1 -1
- package/dist/elements/svg/swap-horizontal-sharp.svg +1 -1
- package/dist/elements/svg/swap-horizontal.svg +1 -1
- package/dist/elements/svg/swap-vertical-outline.svg +1 -1
- package/dist/elements/svg/swap-vertical-sharp.svg +1 -1
- package/dist/elements/svg/swap-vertical.svg +1 -1
- package/dist/elements/svg/sync-circle-outline.svg +1 -1
- package/dist/elements/svg/sync-circle-sharp.svg +1 -1
- package/dist/elements/svg/sync-circle.svg +1 -1
- package/dist/elements/svg/sync-outline.svg +1 -1
- package/dist/elements/svg/sync-sharp.svg +1 -1
- package/dist/elements/svg/sync.svg +1 -1
- package/dist/elements/svg/tablet-landscape-outline.svg +1 -1
- package/dist/elements/svg/tablet-landscape-sharp.svg +1 -1
- package/dist/elements/svg/tablet-landscape.svg +1 -1
- package/dist/elements/svg/tablet-portrait-outline.svg +1 -1
- package/dist/elements/svg/tablet-portrait-sharp.svg +1 -1
- package/dist/elements/svg/tablet-portrait.svg +1 -1
- package/dist/elements/svg/telescope-outline.svg +1 -1
- package/dist/elements/svg/telescope-sharp.svg +1 -1
- package/dist/elements/svg/telescope.svg +1 -1
- package/dist/elements/svg/tennisball-outline.svg +1 -1
- package/dist/elements/svg/tennisball-sharp.svg +1 -1
- package/dist/elements/svg/tennisball.svg +1 -1
- package/dist/elements/svg/terminal-outline.svg +1 -1
- package/dist/elements/svg/terminal-sharp.svg +1 -1
- package/dist/elements/svg/terminal.svg +1 -1
- package/dist/elements/svg/text-outline.svg +1 -1
- package/dist/elements/svg/text-sharp.svg +1 -1
- package/dist/elements/svg/text.svg +1 -1
- package/dist/elements/svg/thermometer-outline.svg +1 -1
- package/dist/elements/svg/thermometer-sharp.svg +1 -1
- package/dist/elements/svg/thermometer.svg +1 -1
- package/dist/elements/svg/thumbs-down-outline.svg +1 -1
- package/dist/elements/svg/thumbs-down-sharp.svg +1 -1
- package/dist/elements/svg/thumbs-down.svg +1 -1
- package/dist/elements/svg/thumbs-up-outline.svg +1 -1
- package/dist/elements/svg/thumbs-up-sharp.svg +1 -1
- package/dist/elements/svg/thumbs-up.svg +1 -1
- package/dist/elements/svg/thunderstorm-outline.svg +1 -1
- package/dist/elements/svg/thunderstorm-sharp.svg +1 -1
- package/dist/elements/svg/thunderstorm.svg +1 -1
- package/dist/elements/svg/ticket-outline.svg +1 -1
- package/dist/elements/svg/ticket-sharp.svg +1 -1
- package/dist/elements/svg/ticket.svg +1 -1
- package/dist/elements/svg/time-outline.svg +1 -1
- package/dist/elements/svg/time-sharp.svg +1 -1
- package/dist/elements/svg/time.svg +1 -1
- package/dist/elements/svg/timer-outline.svg +1 -1
- package/dist/elements/svg/timer-sharp.svg +1 -1
- package/dist/elements/svg/timer.svg +1 -1
- package/dist/elements/svg/today-outline.svg +1 -1
- package/dist/elements/svg/today-sharp.svg +1 -1
- package/dist/elements/svg/today.svg +1 -1
- package/dist/elements/svg/toggle-outline.svg +1 -1
- package/dist/elements/svg/toggle-sharp.svg +1 -1
- package/dist/elements/svg/toggle.svg +1 -1
- package/dist/elements/svg/trail-sign-outline.svg +1 -1
- package/dist/elements/svg/trail-sign-sharp.svg +1 -1
- package/dist/elements/svg/trail-sign.svg +1 -1
- package/dist/elements/svg/train-outline.svg +1 -1
- package/dist/elements/svg/train-sharp.svg +1 -1
- package/dist/elements/svg/train.svg +1 -1
- package/dist/elements/svg/transgender-outline.svg +1 -1
- package/dist/elements/svg/transgender-sharp.svg +1 -1
- package/dist/elements/svg/transgender.svg +1 -1
- package/dist/elements/svg/trash-bin-outline.svg +1 -1
- package/dist/elements/svg/trash-bin-sharp.svg +1 -1
- package/dist/elements/svg/trash-bin.svg +1 -1
- package/dist/elements/svg/trash-outline.svg +1 -1
- package/dist/elements/svg/trash-sharp.svg +1 -1
- package/dist/elements/svg/trash.svg +1 -1
- package/dist/elements/svg/trending-down-outline.svg +1 -1
- package/dist/elements/svg/trending-down-sharp.svg +1 -1
- package/dist/elements/svg/trending-down.svg +1 -1
- package/dist/elements/svg/trending-up-outline.svg +1 -1
- package/dist/elements/svg/trending-up-sharp.svg +1 -1
- package/dist/elements/svg/trending-up.svg +1 -1
- package/dist/elements/svg/triangle-outline.svg +1 -1
- package/dist/elements/svg/triangle-sharp.svg +1 -1
- package/dist/elements/svg/triangle.svg +1 -1
- package/dist/elements/svg/trophy-outline.svg +1 -1
- package/dist/elements/svg/trophy-sharp.svg +1 -1
- package/dist/elements/svg/trophy.svg +1 -1
- package/dist/elements/svg/tv-outline.svg +1 -1
- package/dist/elements/svg/tv-sharp.svg +1 -1
- package/dist/elements/svg/tv.svg +1 -1
- package/dist/elements/svg/umbrella-outline.svg +1 -1
- package/dist/elements/svg/umbrella-sharp.svg +1 -1
- package/dist/elements/svg/umbrella.svg +1 -1
- package/dist/elements/svg/unlink-outline.svg +1 -1
- package/dist/elements/svg/unlink-sharp.svg +1 -1
- package/dist/elements/svg/unlink.svg +1 -1
- package/dist/elements/svg/videocam-off-outline.svg +1 -1
- package/dist/elements/svg/videocam-off-sharp.svg +1 -1
- package/dist/elements/svg/videocam-off.svg +1 -1
- package/dist/elements/svg/videocam-outline.svg +1 -1
- package/dist/elements/svg/videocam-sharp.svg +1 -1
- package/dist/elements/svg/videocam.svg +1 -1
- package/dist/elements/svg/volume-high-outline.svg +1 -1
- package/dist/elements/svg/volume-high-sharp.svg +1 -1
- package/dist/elements/svg/volume-high.svg +1 -1
- package/dist/elements/svg/volume-low-outline.svg +1 -1
- package/dist/elements/svg/volume-low-sharp.svg +1 -1
- package/dist/elements/svg/volume-low.svg +1 -1
- package/dist/elements/svg/volume-medium-outline.svg +1 -1
- package/dist/elements/svg/volume-medium-sharp.svg +1 -1
- package/dist/elements/svg/volume-medium.svg +1 -1
- package/dist/elements/svg/volume-mute-outline.svg +1 -1
- package/dist/elements/svg/volume-mute-sharp.svg +1 -1
- package/dist/elements/svg/volume-mute.svg +1 -1
- package/dist/elements/svg/volume-off-outline.svg +1 -1
- package/dist/elements/svg/volume-off-sharp.svg +1 -1
- package/dist/elements/svg/volume-off.svg +1 -1
- package/dist/elements/svg/walk-outline.svg +1 -1
- package/dist/elements/svg/walk-sharp.svg +1 -1
- package/dist/elements/svg/walk.svg +1 -1
- package/dist/elements/svg/wallet-outline.svg +1 -1
- package/dist/elements/svg/wallet-sharp.svg +1 -1
- package/dist/elements/svg/wallet.svg +1 -1
- package/dist/elements/svg/warning-outline.svg +1 -1
- package/dist/elements/svg/warning-sharp.svg +1 -1
- package/dist/elements/svg/warning.svg +1 -1
- package/dist/elements/svg/watch-outline.svg +1 -1
- package/dist/elements/svg/watch-sharp.svg +1 -1
- package/dist/elements/svg/watch.svg +1 -1
- package/dist/elements/svg/water-outline.svg +1 -1
- package/dist/elements/svg/water-sharp.svg +1 -1
- package/dist/elements/svg/water.svg +1 -1
- package/dist/elements/svg/wifi-outline.svg +1 -1
- package/dist/elements/svg/wifi-sharp.svg +1 -1
- package/dist/elements/svg/wifi.svg +1 -1
- package/dist/elements/svg/wine-outline.svg +1 -1
- package/dist/elements/svg/wine-sharp.svg +1 -1
- package/dist/elements/svg/wine.svg +1 -1
- package/dist/elements/svg/woman-outline.svg +1 -1
- package/dist/elements/svg/woman-sharp.svg +1 -1
- package/dist/elements/svg/woman.svg +1 -1
- package/dist/esm/{BrokenFile-e1e68cb6.js → BrokenFile-67dd8315.js} +1 -1
- package/dist/esm/PodOsAware-bca76ed0.js +5 -0
- package/dist/esm/{animation-801a007a.js → animation-b5940eb7.js} +3 -1
- package/dist/esm/{app-globals-f41500dc.js → app-globals-cd978d49.js} +1 -1
- package/dist/esm/{data-2c0eab05.js → data-0c8397b1.js} +19 -2
- package/dist/esm/elements.js +6 -5
- package/dist/esm/{focus-visible-78d55799.js → focus-visible-3e7b6617.js} +1 -0
- package/dist/esm/{framework-delegate-7e2b767b.js → framework-delegate-df4b1d47.js} +2 -1
- package/dist/esm/{helpers-aeff219b.js → helpers-dc474de0.js} +1 -1
- package/dist/esm/{index-1058e225.js → index-33ece0f3.js} +104 -2
- package/dist/esm/{index-82f6a4df.js → index-3ca7ca42.js} +5 -4
- package/dist/esm/{index-38d8370e.js → index-3f9a18ba.js} +2 -1
- package/dist/esm/{index-04f425ca.js → index-4811f186.js} +40855 -24419
- package/dist/esm/{index-51e4a829.js → index-7bdafbcc.js} +31 -2
- package/dist/esm/{index-b212db1c.js → index-8b7a635c.js} +14 -6
- package/dist/esm/{index-bd9e43b0.js → index-8da653e3.js} +5 -4
- package/dist/esm/index-b7c84196.js +25 -0
- package/dist/esm/{index-d39eb62b.js → index-e23280d9.js} +4 -1
- package/dist/esm/{input-shims-167ef062.js → input-shims-aedf5b0c.js} +8 -4
- package/dist/esm/ion-accordion-group.entry.js +2 -2
- package/dist/esm/ion-accordion.entry.js +6 -6
- package/dist/esm/ion-action-sheet_3.entry.js +8 -8
- package/dist/esm/{ion-app_25.entry.js → ion-app_26.entry.js} +134 -59
- package/dist/esm/ion-avatar.entry.js +2 -2
- package/dist/esm/ion-back-button.entry.js +4 -4
- package/dist/esm/ion-backdrop.entry.js +2 -2
- package/dist/esm/{ion-badge_9.entry.js → ion-badge_12.entry.js} +405 -5
- package/dist/esm/ion-breadcrumb.entry.js +4 -4
- package/dist/esm/ion-breadcrumbs.entry.js +2 -2
- package/dist/esm/ion-buttons_3.entry.js +8 -5
- package/dist/esm/ion-card-subtitle.entry.js +2 -2
- package/dist/esm/ion-checkbox_4.entry.js +14 -3
- package/dist/esm/ion-chip.entry.js +3 -3
- package/dist/esm/ion-datetime-button.entry.js +4 -4
- package/dist/esm/ion-datetime.entry.js +77 -25
- package/dist/esm/ion-fab-button.entry.js +5 -5
- package/dist/esm/ion-fab-list.entry.js +2 -2
- package/dist/esm/ion-fab.entry.js +2 -2
- package/dist/esm/ion-img.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll-content.entry.js +3 -3
- package/dist/esm/ion-infinite-scroll.entry.js +4 -4
- package/dist/esm/ion-item-option.entry.js +2 -2
- package/dist/esm/ion-item-options.entry.js +3 -3
- package/dist/esm/ion-item-sliding.entry.js +5 -5
- package/dist/esm/ion-item_4.entry.js +10 -7
- package/dist/esm/ion-loading.entry.js +6 -6
- package/dist/esm/ion-menu-button.entry.js +7 -7
- package/dist/esm/ion-menu-toggle.entry.js +6 -6
- package/dist/esm/ion-menu.entry.js +25 -21
- package/dist/esm/ion-modal.entry.js +49 -37
- package/dist/esm/ion-nav-link.entry.js +1 -1
- package/dist/esm/ion-nav.entry.js +7 -6
- package/dist/esm/ion-picker-column.entry.js +15 -16
- package/dist/esm/ion-picker.entry.js +5 -5
- package/dist/esm/ion-popover.entry.js +15 -9
- package/dist/esm/ion-range.entry.js +5 -5
- package/dist/esm/ion-refresher-content.entry.js +4 -4
- package/dist/esm/ion-refresher.entry.js +36 -10
- package/dist/esm/ion-reorder-group.entry.js +5 -5
- package/dist/esm/ion-reorder.entry.js +3 -3
- package/dist/esm/ion-route-redirect.entry.js +1 -1
- package/dist/esm/ion-route.entry.js +1 -1
- package/dist/esm/ion-router-link.entry.js +2 -2
- package/dist/esm/ion-router-outlet.entry.js +6 -6
- package/dist/esm/ion-router.entry.js +2 -2
- package/dist/esm/ion-segment-button.entry.js +3 -3
- package/dist/esm/ion-segment.entry.js +4 -4
- package/dist/esm/ion-select-option.entry.js +2 -2
- package/dist/esm/ion-select.entry.js +30 -7
- package/dist/esm/ion-slide.entry.js +2 -2
- package/dist/esm/ion-slides.entry.js +3 -3
- package/dist/esm/ion-spinner.entry.js +3 -3
- package/dist/esm/ion-split-pane.entry.js +4 -3
- package/dist/esm/ion-tab-bar.entry.js +2 -2
- package/dist/esm/ion-tab-button.entry.js +3 -3
- package/dist/esm/ion-tab.entry.js +3 -3
- package/dist/esm/ion-tabs.entry.js +1 -1
- package/dist/esm/ion-text.entry.js +2 -2
- package/dist/esm/ion-textarea.entry.js +4 -4
- package/dist/esm/ion-thumbnail.entry.js +2 -2
- package/dist/esm/ion-toast.entry.js +26 -8
- package/dist/esm/ion-toggle.entry.js +6 -6
- package/dist/esm/ion-virtual-scroll.entry.js +2 -2
- package/dist/esm/{ionic-global-a2c7ad8b.js → ionic-global-abe366ea.js} +2 -1
- package/dist/esm/{ios.transition-c43b888d.js → ios.transition-fc8a45f6.js} +5 -4
- package/dist/esm/{keyboard-413afe04.js → keyboard-765ce6f2.js} +1 -0
- package/dist/esm/loader.js +6 -5
- package/dist/esm/{md.transition-f5d6d510.js → md.transition-a33cfe2d.js} +4 -4
- package/dist/esm/{menu-toggle-util-27f5f9be.js → menu-toggle-util-d434cd99.js} +1 -1
- package/dist/esm/{overlays-728c637e.js → overlays-3bfecc84.js} +11 -3
- package/dist/esm/pos-app-document-viewer.entry.js +1 -1
- package/dist/esm/pos-app-generic.entry.js +1 -1
- package/dist/esm/pos-app-image-viewer.entry.js +1 -1
- package/dist/esm/pos-app-ldp-container.entry.js +1 -1
- package/dist/esm/pos-app-rdf-document.entry.js +1 -1
- package/dist/esm/pos-container-contents.entry.js +2 -2
- package/dist/esm/pos-container-item.entry.js +1 -1
- package/dist/esm/pos-description_2.entry.js +1 -1
- package/dist/esm/pos-document.entry.js +2 -2
- package/dist/esm/pos-relations_2.entry.js +1 -1
- package/dist/esm/pos-subjects.entry.js +2 -2
- package/dist/esm/pos-value.entry.js +1 -1
- package/dist/esm/{status-tap-ce25f9e5.js → status-tap-c468a2d0.js} +3 -3
- package/dist/esm/{swipe-back-7ef22876.js → swipe-back-3b3f43fc.js} +9 -3
- package/dist/types/components/events/PodOsAware.d.ts +9 -0
- package/dist/types/components/events/ResourceAware.d.ts +2 -1
- package/dist/types/components/pos-add-literal-value/pos-add-literal-value.d.ts +28 -0
- package/dist/types/components/pos-document/pos-document.d.ts +1 -1
- package/dist/types/components/pos-error-toast/pos-error-toast.d.ts +4 -0
- package/dist/types/components/pos-image/pos-image.d.ts +1 -1
- package/dist/types/components/pos-literals/pos-literals.d.ts +1 -0
- package/dist/types/components/pos-login/pos-login.d.ts +1 -1
- package/dist/types/components/pos-resource/pos-resource.d.ts +4 -3
- package/dist/types/components/pos-select-term/pos-select-term.d.ts +19 -0
- package/dist/types/components.d.ts +64 -0
- package/dist/types/stencil-public-runtime.d.ts +20 -0
- package/loader/index.d.ts +9 -0
- package/package.json +6 -6
- package/dist/cjs/index-731691ca.js +0 -48
- package/dist/cjs/ion-input.cjs.entry.js +0 -303
- package/dist/elements/p-12407693.js +0 -1
- package/dist/elements/p-21a6c0d5.entry.js +0 -4
- package/dist/elements/p-26b70634.entry.js +0 -1
- package/dist/elements/p-29fb59e2.entry.js +0 -1
- package/dist/elements/p-30f7b191.entry.js +0 -9
- package/dist/elements/p-3433bf04.entry.js +0 -1
- package/dist/elements/p-3519e41e.entry.js +0 -1
- package/dist/elements/p-36d4c9a8.js +0 -4
- package/dist/elements/p-37c43290.js +0 -4
- package/dist/elements/p-3c7fbf5d.entry.js +0 -1
- package/dist/elements/p-56c98ae0.entry.js +0 -1
- package/dist/elements/p-581e867b.js +0 -116
- package/dist/elements/p-58a8cc2a.js +0 -4
- package/dist/elements/p-58e670a1.js +0 -1
- package/dist/elements/p-59680588.entry.js +0 -1
- package/dist/elements/p-68e3e0b0.js +0 -4
- package/dist/elements/p-69cfaf5d.entry.js +0 -1
- package/dist/elements/p-7242c7fd.js +0 -4
- package/dist/elements/p-735af4b6.js +0 -7
- package/dist/elements/p-784b06b3.entry.js +0 -1
- package/dist/elements/p-79f98fb0.entry.js +0 -1
- package/dist/elements/p-8596ddbc.js +0 -4
- package/dist/elements/p-a48e16ba.entry.js +0 -1
- package/dist/elements/p-ab11bb11.js +0 -4
- package/dist/elements/p-ae87571c.entry.js +0 -1
- package/dist/elements/p-b28ceb2f.entry.js +0 -7
- package/dist/elements/p-b40b976f.entry.js +0 -4
- package/dist/elements/p-c16d38d5.js +0 -4
- package/dist/elements/p-c4078429.entry.js +0 -1
- package/dist/elements/p-cab74d27.js +0 -2
- package/dist/elements/p-d0c3f4ee.js +0 -4
- package/dist/elements/p-d1e7b2ac.entry.js +0 -1
- package/dist/elements/p-dabb6346.entry.js +0 -5
- package/dist/elements/p-dd50a980.js +0 -4
- package/dist/elements/p-ddb95f0a.entry.js +0 -1
- package/dist/elements/p-e495a095.js +0 -4
- package/dist/elements/p-f78f2dd8.entry.js +0 -1
- package/dist/elements/p-fb02ad07.entry.js +0 -1
- package/dist/elements/p-ffb33569.entry.js +0 -1
- package/dist/esm/index-753825bf.js +0 -25
- /package/dist/elements/{p-dcc6b03c.js → p-9e07b4a4.js} +0 -0
- /package/dist/elements/{p-aef3a931.js → p-b8b737e9.js} +0 -0
- /package/dist/elements/{p-1beaf6bf.js → p-d40c116c.js} +0 -0
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
var t,e,r,n,i,o,s=Object.create,a=Object.defineProperty,c=Object.defineProperties,h=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyDescriptors,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,g=(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||={})m.call(e,r)&&g(t,r,e[r]);if(p)for(var r of p(e))f.call(e,r)&&g(t,r,e[r]);return t},v=(t,e)=>c(t,u(e)),y=(t,e)=>function(){return t&&(e=(0,t[l(t)[0]])(t=0)),e},b=(t,e)=>function(){return e||(0,t[l(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,n)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let i of l(e))m.call(t,i)||i===r||a(t,i,{get:()=>e[i],enumerable:!(n=h(e,i))||n.enumerable});return t},E=(t,e,r)=>(r=null!=t?s(d(t)):{},A(!e&&t&&t.__esModule?r:a(r,"default",{value:t,enumerable:!0}),t)),C=(t,e,r)=>new Promise(((n,i)=>{var o=t=>{try{a(r.next(t))}catch(t){i(t)}},s=t=>{try{a(r.throw(t))}catch(t){i(t)}},a=t=>t.done?n(t.value):Promise.resolve(t.value).then(o,s);a((r=r.apply(t,e)).next())})),P=b({"../node_modules/events/events.js"(t,e){var r,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};r=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=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,n){function i(r){t.removeListener(e,o),n(r)}function o(){"function"==typeof t.removeListener&&t.removeListener("error",i),r([].slice.call(arguments))}g(t,e,o,{once:!0}),"error"!==e&&function(t,e){"function"==typeof t.on&&g(t,"error",e,{once:!0})}(t,i)}))},s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var a=10;function c(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function h(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function u(t,e,r,n){var i,o,s;if(c(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),s=o[e]),void 0===s)s=o[e]=r,++t._eventsCount;else if("function"==typeof s?s=o[e]=n?[r,s]:[s,r]:n?s.unshift(r):s.push(r),(i=h(t))>0&&s.length>i&&!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 l(){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 p(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=l.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]: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}(i):f(i,i.length)}function m(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 f(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}function g(t,e,r,n){if("function"==typeof t.on)n.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 i(o){n.once&&t.removeEventListener(e,i),r(o)}))}}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(t){if("number"!=typeof t||t<0||o(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||o(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 h(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,o=this._events;if(void 0!==o)n=n&&void 0===o.error;else if(!n)return!1;if(n){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 c=o[t];if(void 0===c)return!1;if("function"==typeof c)i(c,this,e);else{var h=c.length,u=f(c,h);for(r=0;r<h;++r)i(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 c(e),this.on(t,p(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return c(e),this.prependListener(t,p(this,t,e)),this},s.prototype.off=s.prototype.removeListener=function(t,e){var r,n,i,o,s;if(c(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){s=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,i),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,s||e)}return this},s.prototype.removeAllListeners=function(t){var e,r,n;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 i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);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(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return d(this,t,!0)},s.prototype.rawListeners=function(t){return d(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}}}),T=b({"../node_modules/cross-fetch/dist/browser-ponyfill.js"(t,e){var r,n="undefined"!=typeof self?self:t,i=function(){function t(){this.fetch=!1,this.DOMException=n.DOMException}return t.prototype=n,new t}();r=i,function(t){var e="URLSearchParams"in r,n="Symbol"in r&&"iterator"in Symbol,i="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),o="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]"],c=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};function h(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 l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return n&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?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 d(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function f(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function g(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:i&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:o&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():s&&i&&(r=t)&&DataView.prototype.isPrototypeOf(r)?(this._bodyArrayBuffer=g(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):s&&(ArrayBuffer.prototype.isPrototypeOf(t)||c(t))?this._bodyArrayBuffer=g(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"))},i&&(this.blob=function(){var t=d(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?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(f)}),this.text=function(){var t,e,r,n=d(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,r=m(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),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},o&&(this.formData=function(){return this.text().then(b)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(t,e){t=h(t),e=u(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},p.prototype.delete=function(t){delete this.map[h(t)]},p.prototype.get=function(t){return t=h(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(h(t))},p.prototype.set=function(t,e){this.map[h(t)]=u(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),l(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),l(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),l(t)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var v=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function y(t,e){var r,n,i=(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 p(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=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 p(e.headers)),this.method=(n=(r=e.method||this.method||"GET").toUpperCase(),v.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function b(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),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 p(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 p(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(n,o){var s=new y(e,r);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var a=new XMLHttpRequest;function c(){a.abort()}a.onload=function(){var t,e,r={status:a.status,statusText:a.statusText,headers:(t=a.getAllResponseHeaders()||"",e=new p,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};r.url="responseURL"in a?a.responseURL:r.headers.get("X-Request-URL"),n(new S("response"in a?a.response:a.responseText,r))},a.onerror=function(){o(new TypeError("Network request failed"))},a.ontimeout=function(){o(new TypeError("Network request failed"))},a.onabort=function(){o(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&&i&&(a.responseType="blob"),s.headers.forEach((function(t,e){a.setRequestHeader(e,t)})),s.signal&&(s.signal.addEventListener("abort",c),a.onreadystatechange=function(){4===a.readyState&&s.signal.removeEventListener("abort",c)}),a.send(void 0===s._bodyInit?null:s._bodyInit)}))}E.polyfill=!0,r.fetch||(r.fetch=E,r.Headers=p,r.Request=y,r.Response=S),t.Headers=p,t.Request=y,t.Response=S,t.fetch=E,Object.defineProperty(t,"__esModule",{value:!0})}({}),i.fetch.ponyfill=!0,delete i.fetch.polyfill;var o=i;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t}}),k=y({"../node_modules/jose/dist/browser/runtime/webcrypto.js"(){t=crypto,e=t=>t instanceof CryptoKey}}),F=y({"../node_modules/jose/dist/browser/runtime/digest.js"(){k(),r=async(e,r)=>{const n=`SHA-${e.slice(-3)}`;return new Uint8Array(await t.subtle.digest(n,r))}}});function R(...t){const e=t.reduce(((t,{length:e})=>t+e),0),r=new Uint8Array(e);let n=0;return t.forEach((t=>{r.set(t,n),n+=t.length})),r}function x(t,e,r){if(e<0||e>=o)throw new RangeError(`value must be >= 0 and <= ${o-1}. Received ${e}`);t.set([e>>>24,e>>>16,e>>>8,255&e],r)}function O(t){const e=Math.floor(t/o),r=t%o,n=new Uint8Array(8);return x(n,e,0),x(n,r,4),n}function D(t){const e=new Uint8Array(4);return x(e,t),e}function I(t){return R(D(t.length),t)}var M,_,j,N,L,B,U,H,W,q,V,G,J,K,z,$,X,Q,Y,Z=y({"../node_modules/jose/dist/browser/lib/buffer_utils.js"(){F(),n=new TextEncoder,i=new TextDecoder,o=2**32}}),tt=y({"../node_modules/jose/dist/browser/runtime/base64url.js"(){Z(),M=t=>{let e=t;"string"==typeof e&&(e=n.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=>M(t).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),j=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},N=t=>{let e=t;e instanceof Uint8Array&&(e=i.decode(e)),e=e.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return j(e)}catch(t){throw new TypeError("The input to be decoded is not correctly encoded.")}}}}),et={};S(et,{JOSEAlgNotAllowed:()=>H,JOSEError:()=>L,JOSENotSupported:()=>W,JWEDecryptionFailed:()=>q,JWEInvalid:()=>V,JWKInvalid:()=>K,JWKSInvalid:()=>z,JWKSMultipleMatchingKeys:()=>X,JWKSNoMatchingKey:()=>$,JWKSTimeout:()=>Q,JWSInvalid:()=>G,JWSSignatureVerificationFailed:()=>Y,JWTClaimValidationFailed:()=>B,JWTExpired:()=>U,JWTInvalid:()=>J});var rt,nt,it=y({"../node_modules/jose/dist/browser/util/errors.js"(){L=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)}},B=class extends L{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}},U=class extends L{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 L{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}static get code(){return"ERR_JOSE_ALG_NOT_ALLOWED"}},W=class extends L{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}static get code(){return"ERR_JOSE_NOT_SUPPORTED"}},q=class extends L{constructor(){super(...arguments),this.code="ERR_JWE_DECRYPTION_FAILED",this.message="decryption operation failed"}static get code(){return"ERR_JWE_DECRYPTION_FAILED"}},V=class extends L{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}static get code(){return"ERR_JWE_INVALID"}},G=class extends L{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}static get code(){return"ERR_JWS_INVALID"}},J=class extends L{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}},K=class extends L{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}static get code(){return"ERR_JWK_INVALID"}},z=class extends L{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}static get code(){return"ERR_JWKS_INVALID"}},$=class extends L{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 L{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 L{constructor(){super(...arguments),this.code="ERR_JWKS_TIMEOUT",this.message="request timed out"}static get code(){return"ERR_JWKS_TIMEOUT"}},Y=class extends L{constructor(){super(...arguments),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED",this.message="signature verification failed"}static get code(){return"ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}}}),ot=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,ct,ht,ut=y({"../node_modules/jose/dist/browser/lib/iv.js"(){it(),ot(),nt=t=>rt(new Uint8Array(st(t)>>3))}}),lt=y({"../node_modules/jose/dist/browser/lib/check_iv_length.js"(){it(),ut(),at=(t,e)=>{if(e.length<<3!==st(t))throw new V("Invalid Initialization Vector length")}}}),pt=y({"../node_modules/jose/dist/browser/runtime/check_cek_length.js"(){it(),ct=(t,e)=>{const r=t.byteLength<<3;if(r!==e)throw new V(`Invalid Content Encryption Key length. Expected ${e} bits, got ${r} bits`)}}}),dt=y({"../node_modules/jose/dist/browser/runtime/timing_safe_equal.js"(){ht=(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 n=0,i=-1;for(;++i<r;)n|=t[i]^e[i];return 0===n}}});function mt(){return"undefined"!=typeof WebSocketPair||"undefined"!=typeof navigator&&"Cloudflare-Workers"===navigator.userAgent||"undefined"!=typeof EdgeRuntime&&"vercel"===EdgeRuntime}var ft=y({"../node_modules/jose/dist/browser/runtime/env.js"(){}});function gt(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 gt("AES-GCM");const r=parseInt(e.slice(1,4),10);if(t.algorithm.length!==r)throw gt(r,"algorithm.length");break}case"A128KW":case"A192KW":case"A256KW":{if(!wt(t.algorithm,"AES-KW"))throw gt("AES-KW");const r=parseInt(e.slice(1,4),10);if(t.algorithm.length!==r)throw gt(r,"algorithm.length");break}case"ECDH":switch(t.algorithm.name){case"ECDH":case"X25519":case"X448":break;default:throw gt("ECDH, X25519, or X448")}break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":if(!wt(t.algorithm,"PBKDF2"))throw gt("PBKDF2");break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":{if(!wt(t.algorithm,"RSA-OAEP"))throw gt("RSA-OAEP");const r=parseInt(e.slice(9),10)||1;if(vt(t.algorithm.hash)!==r)throw gt(`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"(){ft()}});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,Tt,kt,Ft,Rt,xt,Ot=y({"../node_modules/jose/dist/browser/lib/invalid_key_input.js"(){St=(t,...e)=>Et("Key must be ",t,...e)}}),Dt=y({"../node_modules/jose/dist/browser/runtime/is_key_like.js"(){k(),Pt=t=>e(t),Tt=["CryptoKey"]}}),It=y({"../node_modules/jose/dist/browser/runtime/decrypt.js"(){Z(),lt(),pt(),dt(),it(),k(),At(),Ot(),Dt(),kt=async(r,n,i,o,s,a)=>{if(!(e(n)||n instanceof Uint8Array))throw new TypeError(St(n,...Tt,"Uint8Array"));switch(at(r,o),r){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return n instanceof Uint8Array&&ct(n,parseInt(r.slice(-3),10)),async function(e,r,n,i,o,s){if(!(r instanceof Uint8Array))throw new TypeError(St(r,"Uint8Array"));const a=parseInt(e.slice(1,4),10),c=await t.subtle.importKey("raw",r.subarray(a>>3),"AES-CBC",!1,["decrypt"]),h=await t.subtle.importKey("raw",r.subarray(0,a>>3),{hash:"SHA-"+(a<<1),name:"HMAC"},!1,["sign"]),u=R(s,i,n,O(s.length<<3)),l=new Uint8Array((await t.subtle.sign("HMAC",h,u)).slice(0,a>>3));let p,d;try{p=ht(o,l)}catch(t){}if(!p)throw new q;try{d=new Uint8Array(await t.subtle.decrypt({iv:i,name:"AES-CBC"},c,n))}catch(t){}if(!d)throw new q;return d}(r,n,i,o,s,a);case"A128GCM":case"A192GCM":case"A256GCM":return n instanceof Uint8Array&&ct(n,parseInt(r.slice(1,4),10)),async function(e,r,n,i,o,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:i,name:"AES-GCM",tagLength:128},a,R(n,o)))}catch(t){throw new q}}(r,n,i,o,s,a);default:throw new W("Unsupported JWE Content Encryption Algorithm")}}}}),Mt=y({"../node_modules/jose/dist/browser/runtime/zlib.js"(){it(),Ft=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"(){xt=(...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 jt(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 Nt,Lt,Bt,Ut=y({"../node_modules/jose/dist/browser/lib/is_object.js"(){}}),Ht=y({"../node_modules/jose/dist/browser/runtime/bogus.js"(){Nt=[{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 qt(r,n,i){if(e(r))return bt(r,n,i),r;if(r instanceof Uint8Array)return t.subtle.importKey("raw",r,"AES-KW",!0,[i]);throw new TypeError(St(r,...Tt,"Uint8Array"))}var Vt=y({"../node_modules/jose/dist/browser/runtime/aeskw.js"(){Ht(),k(),At(),Ot(),Dt(),Lt=async(e,r,n)=>{const i=await qt(r,e,"wrapKey");Wt(i,e);const o=await t.subtle.importKey("raw",n,...Nt);return new Uint8Array(await t.subtle.wrapKey("raw",o,i,"AES-KW"))},Bt=async(e,r,n)=>{const i=await qt(r,e,"unwrapKey");Wt(i,e);const o=await t.subtle.unwrapKey("raw",n,i,"AES-KW",...Nt);return new Uint8Array(await t.subtle.exportKey("raw",o))}}});async function Gt(i,o,s,a,c=new Uint8Array(0),h=new Uint8Array(0)){if(!e(i))throw new TypeError(St(i,...Tt));if(bt(i,"ECDH"),!e(o))throw new TypeError(St(o,...Tt));bt(o,"ECDH","deriveBits");const u=R(I(n.encode(s)),I(c),I(h),D(a));let l;return l="X25519"===i.algorithm.name?256:"X448"===i.algorithm.name?448:Math.ceil(parseInt(i.algorithm.namedCurve.substr(-3),10)/8)<<3,async function(t,e,n){const i=Math.ceil((e>>3)/32),o=new Uint8Array(32*i);for(let e=0;e<i;e++){const i=new Uint8Array(4+t.length+n.length);i.set(D(e+1)),i.set(t,4),i.set(n,4+t.length),o.set(await r("sha256",i),32*e)}return o.slice(0,e>>3)}(new Uint8Array(await t.subtle.deriveBits({name:i.algorithm.name,public:i},o,l)),a,u)}function Jt(t){if(!e(t))throw new TypeError(St(t,...Tt));return["P-256","P-384","P-521"].includes(t.algorithm.namedCurve)||"X25519"===t.algorithm.name||"X448"===t.algorithm.name}var Kt,zt,$t=y({"../node_modules/jose/dist/browser/runtime/ecdhes.js"(){Z(),k(),At(),Ot(),Dt()}}),Xt=y({"../node_modules/jose/dist/browser/lib/check_p2s.js"(){it()}});async function Qt(r,i,o,s){!function(t){if(!(t instanceof Uint8Array)||t.length<8)throw new V("PBES2 Salt Input must be 8 or more octets")}(r);const a=function(t,e){return R(n.encode(t),new Uint8Array([0]),e)}(i,r),c=parseInt(i.slice(13,16),10),h={hash:`SHA-${i.slice(8,11)}`,iterations:o,name:"PBKDF2",salt:a},u={length:c,name:"AES-KW"},l=await function(r,n){if(r instanceof Uint8Array)return t.subtle.importKey("raw",r,"PBKDF2",!1,["deriveBits"]);if(e(r))return bt(r,n,"deriveBits","deriveKey"),r;throw new TypeError(St(r,...Tt,"Uint8Array"))}(s,i);if(l.usages.includes("deriveBits"))return new Uint8Array(await t.subtle.deriveBits(h,l,c));if(l.usages.includes("deriveKey"))return t.subtle.deriveKey(h,l,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"(){ot(),Z(),tt(),Vt(),Xt(),k(),At(),Ot(),Dt(),Kt=async(t,e,r,n=2048,i=rt(new Uint8Array(16)))=>{const o=await Qt(i,t,n,e);return{encryptedKey:await Lt(t.slice(-6),o,r),p2c:n,p2s:_(i)}},zt=async(t,e,r,n,i)=>{const o=await Qt(i,t,n,e);return Bt(t.slice(-6),o,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,ne,ie=y({"../node_modules/jose/dist/browser/runtime/subtle_rsaes.js"(){it()}}),oe=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"(){ie(),Ht(),k(),At(),oe(),Ot(),Dt(),ee=async(r,n,i)=>{if(!e(n))throw new TypeError(St(n,...Tt));if(bt(n,r,"encrypt","wrapKey"),te(r,n),n.usages.includes("encrypt"))return new Uint8Array(await t.subtle.encrypt(Zt(r),n,i));if(n.usages.includes("wrapKey")){const e=await t.subtle.importKey("raw",i,...Nt);return new Uint8Array(await t.subtle.wrapKey("raw",e,n,Zt(r)))}throw new TypeError('RSA-OAEP key "usages" must include "encrypt" or "wrapKey" for this operation')},re=async(r,n,i)=>{if(!e(n))throw new TypeError(St(n,...Tt));if(bt(n,r,"decrypt","unwrapKey"),te(r,n),n.usages.includes("decrypt"))return new Uint8Array(await t.subtle.decrypt(Zt(r),n,i));if(n.usages.includes("unwrapKey")){const e=await t.subtle.unwrapKey("raw",i,n,Zt(r),...Nt);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 ce,he,ue,le,pe,de,me,fe,ge,we,ve=y({"../node_modules/jose/dist/browser/lib/cek.js"(){it(),ot(),ne=t=>rt(new Uint8Array(ae(t)>>3))}}),ye=y({"../node_modules/jose/dist/browser/lib/format_pem.js"(){ce=(t,e)=>`-----BEGIN ${e}-----\n${(t.match(/.{1,64}/g)||[]).join("\n")}\n-----END ${e}-----`}});function be(t){let e=[],r=0;for(;r<t.length;){let n=Se(t.subarray(r));e.push(n),r+=n.byteLength}return e}function Se(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 n=0;if(t[e]<128)n=t[e],e++;else{if(128===n){for(n=0;0!==t[e+n]||0!==t[e+n+1];){if(n>t.byteLength)throw new TypeError("invalid indefinite form length");n++}const r=e+n+2;return{byteLength:r,contents:t.subarray(e,e+n),raw:t.subarray(0,r)}}{let r=127&t[e];e++,n=0;for(let i=0;i<r;i++)n=256*n+t[e],e++}}const i=e+n;return{byteLength:i,contents:t.subarray(e,i),raw:t.subarray(0,i)}}var Ae,Ee=y({"../node_modules/jose/dist/browser/runtime/asn1.js"(){ft(),k(),Ot(),tt(),ye(),it(),Dt(),he=async(r,n,i)=>{if(!e(i))throw new TypeError(St(i,...Tt));if(!i.extractable)throw new TypeError("CryptoKey is not extractable");if(i.type!==r)throw new TypeError(`key is not a ${r} key`);return ce(M(new Uint8Array(await t.subtle.exportKey(n,i))),`${r.toUpperCase()} KEY`)},ue=t=>he("public","spki",t),le=t=>he("private","pkcs8",t),pe=(t,e,r=0)=>{0===r&&(e.unshift(e.length),e.unshift(6));let n=t.indexOf(e[0],r);if(-1===n)return!1;const i=t.subarray(n,n+e.length);return i.length===e.length&&(i.every(((t,r)=>t===e[r]))||pe(t,e,n+1))},de=t=>{switch(!0){case pe(t,[42,134,72,206,61,3,1,7]):return"P-256";case pe(t,[43,129,4,0,34]):return"P-384";case pe(t,[43,129,4,0,35]):return"P-521";case pe(t,[43,101,110]):return"X25519";case pe(t,[43,101,111]):return"X448";case pe(t,[43,101,112]):return"Ed25519";case pe(t,[43,101,113]):return"Ed448";default:throw new W("Invalid or unsupported EC Key Curve or OKP Key Sub Type")}},me=async(e,r,n,i,o)=>{var s,a;let c,h;const u=new Uint8Array(atob(n.replace(e,"")).split("").map((t=>t.charCodeAt(0)))),l="spki"===r;switch(i){case"PS256":case"PS384":case"PS512":c={name:"RSA-PSS",hash:`SHA-${i.slice(-3)}`},h=l?["verify"]:["sign"];break;case"RS256":case"RS384":case"RS512":c={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${i.slice(-3)}`},h=l?["verify"]:["sign"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":c={name:"RSA-OAEP",hash:`SHA-${parseInt(i.slice(-3),10)||1}`},h=l?["encrypt","wrapKey"]:["decrypt","unwrapKey"];break;case"ES256":c={name:"ECDSA",namedCurve:"P-256"},h=l?["verify"]:["sign"];break;case"ES384":c={name:"ECDSA",namedCurve:"P-384"},h=l?["verify"]:["sign"];break;case"ES512":c={name:"ECDSA",namedCurve:"P-521"},h=l?["verify"]:["sign"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{const t=de(u);c=t.startsWith("P-")?{name:"ECDH",namedCurve:t}:{name:t},h=l?[]:["deriveBits"];break}case"EdDSA":c={name:de(u)},h=l?["verify"]:["sign"];break;default:throw new W('Invalid or unsupported "alg" (Algorithm) value')}try{return await t.subtle.importKey(r,u,c,null!==(s=null==o?void 0:o.extractable)&&void 0!==s&&s,h)}catch(e){if("Ed25519"===c.name&&"NotSupportedError"===(null==e?void 0:e.name)&&mt())return c={name:"NODE-ED25519",namedCurve:"NODE-ED25519"},await t.subtle.importKey(r,u,c,null!==(a=null==o?void 0:o.extractable)&&void 0!==a&&a,h);throw e}},fe=(t,e,r)=>me(/(?:-----(?:BEGIN|END) PRIVATE KEY-----|\s)/g,"pkcs8",t,e,r),ge=(t,e,r)=>me(/(?:-----(?:BEGIN|END) PUBLIC KEY-----|\s)/g,"spki",t,e,r),we=(t,e,r)=>{let n;try{n=function(t){const e=t.replace(/(?:-----(?:BEGIN|END) CERTIFICATE-----|\s)/g,""),r=j(e);return ce(function(t){const e=be(be(Se(t).contents)[0].contents);return M(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 ge(n,e,r)}}}),Ce=y({"../node_modules/jose/dist/browser/runtime/jwk_to_key.js"(){ft(),k(),it(),tt(),Ae=async e=>{var r,n;if(!e.alg)throw new TypeError('"alg" argument is required when "jwk.alg" is not present');const{algorithm:i,keyUsages:o}=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=[i,null!==(r=e.ext)&&void 0!==r&&r,null!==(n=e.key_ops)&&void 0!==n?n:o];if("PBKDF2"===i.name)return t.subtle.importKey("raw",N(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"===i.name&&"NotSupportedError"===(null==e?void 0:e.name)&&mt())return s[0]={name:"NODE-ED25519",namedCurve:"NODE-ED25519"},await t.subtle.importKey("jwk",a,...s);throw e}}}});async function Pe(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN PUBLIC KEY-----"))throw new TypeError('"spki" must be SPKI formatted string');return ge(t,e,r)}async function Te(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN CERTIFICATE-----"))throw new TypeError('"x509" must be X.509 formatted string');return we(t,e,r)}async function ke(t,e,r){if("string"!=typeof t||0!==t.indexOf("-----BEGIN PRIVATE KEY-----"))throw new TypeError('"pkcs8" must be PKCS#8 formatted string');return fe(t,e,r)}async function Fe(t,e,r){var n;if(!jt(t))throw new TypeError("JWK must be an object");switch(e||(e=t.alg),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?Ae({...t,alg:e,ext:null!==(n=t.ext)&&void 0!==n&&n}):N(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 Ae({...t,alg:e});default:throw new W('Unsupported "kty" (Key Type) Parameter value')}}var Re,xe,Oe,De,Ie,Me=y({"../node_modules/jose/dist/browser/key/import.js"(){tt(),Ee(),Ce(),it(),Ut()}}),_e=y({"../node_modules/jose/dist/browser/lib/check_key_type.js"(){Ot(),Dt(),Re=(t,e)=>{if(!(e instanceof Uint8Array)){if(!Pt(e))throw new TypeError(Ct(t,e,...Tt,"Uint8Array"));if("secret"!==e.type)throw new TypeError(`${Tt.join(" or ")} instances for symmetric algorithms must be of type "secret"`)}},xe=(t,e,r)=>{if(!Pt(e))throw new TypeError(Ct(t,e,...Tt));if("secret"===e.type)throw new TypeError(`${Tt.join(" or ")} instances for asymmetric algorithms must not be of type "secret"`);if("sign"===r&&"public"===e.type)throw new TypeError(`${Tt.join(" or ")} instances for asymmetric algorithm signing must be of type "private"`);if("decrypt"===r&&"public"===e.type)throw new TypeError(`${Tt.join(" or ")} instances for asymmetric algorithm decryption must be of type "private"`);if(e.algorithm&&"verify"===r&&"private"===e.type)throw new TypeError(`${Tt.join(" or ")} instances for asymmetric algorithm verifying must be of type "public"`);if(e.algorithm&&"encrypt"===r&&"private"===e.type)throw new TypeError(`${Tt.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)?Re(t,e):xe(t,e,r)}}}),je=y({"../node_modules/jose/dist/browser/runtime/encrypt.js"(){Z(),lt(),pt(),k(),At(),Ot(),it(),Dt(),De=async(r,n,i,o,s)=>{if(!(e(i)||i instanceof Uint8Array))throw new TypeError(St(i,...Tt,"Uint8Array"));switch(at(r,o),r){case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return i instanceof Uint8Array&&ct(i,parseInt(r.slice(-3),10)),async function(e,r,n,i,o){if(!(n instanceof Uint8Array))throw new TypeError(St(n,"Uint8Array"));const s=parseInt(e.slice(1,4),10),a=await t.subtle.importKey("raw",n.subarray(s>>3),"AES-CBC",!1,["encrypt"]),c=await t.subtle.importKey("raw",n.subarray(0,s>>3),{hash:"SHA-"+(s<<1),name:"HMAC"},!1,["sign"]),h=new Uint8Array(await t.subtle.encrypt({iv:i,name:"AES-CBC"},a,r)),u=R(o,i,h,O(o.length<<3));return{ciphertext:h,tag:new Uint8Array((await t.subtle.sign("HMAC",c,u)).slice(0,s>>3))}}(r,n,i,o,s);case"A128GCM":case"A192GCM":case"A256GCM":return i instanceof Uint8Array&&ct(i,parseInt(r.slice(1,4),10)),async function(e,r,n,i,o){let s;n instanceof Uint8Array?s=await t.subtle.importKey("raw",n,"AES-GCM",!1,["encrypt"]):(bt(n,e,"encrypt"),s=n);const a=new Uint8Array(await t.subtle.encrypt({additionalData:o,iv:i,name:"AES-GCM",tagLength:128},s,r)),c=a.slice(-16);return{ciphertext:a.slice(0,-16),tag:c}}(r,n,i,o,s);default:throw new W("Unsupported JWE Content Encryption Algorithm")}}}}),Ne=y({"../node_modules/jose/dist/browser/lib/aesgcmkw.js"(){je(),It(),ut(),tt()}});async function Le(t,e,r,n,i){switch(Oe(t,e,"decrypt"),t){case"dir":if(void 0!==r)throw new V("Encountered unexpected JWE Encrypted Key");return e;case"ECDH-ES":if(void 0!==r)throw new V("Encountered unexpected JWE Encrypted Key");case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!jt(n.epk))throw new V('JOSE Header "epk" (Ephemeral Public Key) missing or invalid');if(!Jt(e))throw new W("ECDH with the provided key is not allowed or not supported by your javascript runtime");const i=await Fe(n.epk,t);let o,s;if(void 0!==n.apu){if("string"!=typeof n.apu)throw new V('JOSE Header "apu" (Agreement PartyUInfo) invalid');o=N(n.apu)}if(void 0!==n.apv){if("string"!=typeof n.apv)throw new V('JOSE Header "apv" (Agreement PartyVInfo) invalid');s=N(n.apv)}const a=await Gt(i,e,"ECDH-ES"===t?n.enc:t,"ECDH-ES"===t?ae(n.enc):parseInt(t.slice(-5,-2),10),o,s);if("ECDH-ES"===t)return a;if(void 0===r)throw new V("JWE Encrypted Key missing");return Bt(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 V("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 V("JWE Encrypted Key missing");if("number"!=typeof n.p2c)throw new V('JOSE Header "p2c" (PBES2 Count) missing or invalid');if(n.p2c>((null==i?void 0:i.maxPBES2Count)||1e4))throw new V('JOSE Header "p2c" (PBES2 Count) out is of acceptable bounds');if("string"!=typeof n.p2s)throw new V('JOSE Header "p2s" (PBES2 Salt) missing or invalid');return zt(t,e,r,n.p2c,N(n.p2s));case"A128KW":case"A192KW":case"A256KW":if(void 0===r)throw new V("JWE Encrypted Key missing");return Bt(t,e,r);case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":if(void 0===r)throw new V("JWE Encrypted Key missing");if("string"!=typeof n.iv)throw new V('JOSE Header "iv" (Initialization Vector) missing or invalid');if("string"!=typeof n.tag)throw new V('JOSE Header "tag" (Authentication Tag) missing or invalid');return async function(t,e,r,n,i){const o=t.slice(0,7);return kt(o,e,r,n,i,new Uint8Array(0))}(t,e,r,N(n.iv),N(n.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"(){Vt(),$t(),Yt(),se(),tt(),it(),ve(),Me(),_e(),Ut(),Ne(),Ie=Le}});function He(t,e,r,n,i){if(void 0!==i.crit&&void 0===n.crit)throw new t('"crit" (Critical) Header Parameter MUST be integrity protected');if(!n||void 0===n.crit)return new Set;if(!Array.isArray(n.crit)||0===n.crit.length||n.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 o;o=void 0!==r?new Map([...Object.entries(r),...e.entries()]):e;for(const e of n.crit){if(!o.has(e))throw new W(`Extension Header Parameter "${e}" is not recognized`);if(void 0===i[e])throw new t(`Extension Header Parameter "${e}" is missing`);if(o.get(e)&&void 0===n[e])throw new t(`Extension Header Parameter "${e}" MUST be integrity protected`)}return new Set(n.crit)}var We,qe=y({"../node_modules/jose/dist/browser/lib/validate_crit.js"(){it(),Be=He}}),Ve=y({"../node_modules/jose/dist/browser/lib/validate_algorithms.js"(){We=(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 Ge(t,e,r){var o;if(!jt(t))throw new V("Flattened JWE must be an object");if(void 0===t.protected&&void 0===t.header&&void 0===t.unprotected)throw new V("JOSE Header missing");if("string"!=typeof t.iv)throw new V("JWE Initialization Vector missing or incorrect type");if("string"!=typeof t.ciphertext)throw new V("JWE Ciphertext missing or incorrect type");if("string"!=typeof t.tag)throw new V("JWE Authentication Tag missing or incorrect type");if(void 0!==t.protected&&"string"!=typeof t.protected)throw new V("JWE Protected Header incorrect type");if(void 0!==t.encrypted_key&&"string"!=typeof t.encrypted_key)throw new V("JWE Encrypted Key incorrect type");if(void 0!==t.aad&&"string"!=typeof t.aad)throw new V("JWE AAD incorrect type");if(void 0!==t.header&&!jt(t.header))throw new V("JWE Shared Unprotected Header incorrect type");if(void 0!==t.unprotected&&!jt(t.unprotected))throw new V("JWE Per-Recipient Unprotected Header incorrect type");let s;if(t.protected)try{const e=N(t.protected);s=JSON.parse(i.decode(e))}catch(t){throw new V("JWE Protected Header is invalid")}if(!xt(s,t.header,t.unprotected))throw new V("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(V,new Map,null==r?void 0:r.crit,s,a),void 0!==a.zip){if(!s||!s.zip)throw new V('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:c,enc:h}=a;if("string"!=typeof c||!c)throw new V("missing JWE Algorithm (alg) in JWE Header");if("string"!=typeof h||!h)throw new V("missing JWE Encryption Algorithm (enc) in JWE Header");const u=r&&We("keyManagementAlgorithms",r.keyManagementAlgorithms),l=r&&We("contentEncryptionAlgorithms",r.contentEncryptionAlgorithms);if(u&&!u.has(c))throw new H('"alg" (Algorithm) Header Parameter not allowed');if(l&&!l.has(h))throw new H('"enc" (Encryption Algorithm) Header Parameter not allowed');let p;void 0!==t.encrypted_key&&(p=N(t.encrypted_key));let d,m=!1;"function"==typeof e&&(e=await e(s,t),m=!0);try{d=await Ie(c,e,p,a,r)}catch(t){if(t instanceof TypeError||t instanceof V||t instanceof W)throw t;d=ne(h)}const f=N(t.iv),g=N(t.tag),w=n.encode(null!==(o=t.protected)&&void 0!==o?o:"");let v;v=void 0!==t.aad?R(w,n.encode("."),n.encode(t.aad)):w;let y=await kt(h,d,N(t.ciphertext),f,g,v);"DEF"===a.zip&&(y=await((null==r?void 0:r.inflateRaw)||Ft)(y));const b={plaintext:y};return void 0!==t.protected&&(b.protectedHeader=s),void 0!==t.aad&&(b.additionalAuthenticatedData=N(t.aad)),void 0!==t.unprotected&&(b.sharedUnprotectedHeader=t.unprotected),void 0!==t.header&&(b.unprotectedHeader=t.header),m?{...b,key:e}:b}var Je=y({"../node_modules/jose/dist/browser/jwe/flattened/decrypt.js"(){tt(),It(),Mt(),it(),_t(),Ut(),Ue(),Z(),ve(),qe(),Ve()}});async function Ke(t,e,r){if(t instanceof Uint8Array&&(t=i.decode(t)),"string"!=typeof t)throw new V("Compact JWE must be a string or Uint8Array");const{0:n,1:o,2:s,3:a,4:c,length:h}=t.split(".");if(5!==h)throw new V("Invalid Compact JWE");const u=await Ge({ciphertext:a,iv:s||void 0,protected:n||void 0,tag:c||void 0,encrypted_key:o||void 0},e,r),l={plaintext:u.plaintext,protectedHeader:u.protectedHeader};return"function"==typeof e?{...l,key:u.key}:l}var ze=y({"../node_modules/jose/dist/browser/jwe/compact/decrypt.js"(){Je(),it(),Z()}});async function $e(t,e,r){if(!jt(t))throw new V("General JWE must be an object");if(!Array.isArray(t.recipients)||!t.recipients.every(jt))throw new V("JWE Recipients missing or incorrect type");if(!t.recipients.length)throw new V("JWE Recipients has no members");for(const n of t.recipients)try{return await Ge({aad:t.aad,ciphertext:t.ciphertext,encrypted_key:n.encrypted_key,header:n.header,iv:t.iv,protected:t.protected,tag:t.tag,unprotected:t.unprotected},e,r)}catch(t){}throw new q}var Xe,Qe=y({"../node_modules/jose/dist/browser/jwe/general/decrypt.js"(){Je(),it(),Ut()}}),Ye=y({"../node_modules/jose/dist/browser/runtime/key_to_jwk.js"(){k(),Ot(),tt(),Dt(),Xe=async r=>{if(r instanceof Uint8Array)return{kty:"oct",k:_(r)};if(!e(r))throw new TypeError(St(r,...Tt,"Uint8Array"));if(!r.extractable)throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK");const{ext:n,key_ops:i,alg:o,use:s,...a}=await t.subtle.exportKey("jwk",r);return a}}});async function Ze(t){return ue(t)}async function tr(t){return le(t)}async function er(t){return Xe(t)}var rr,nr=y({"../node_modules/jose/dist/browser/key/export.js"(){Ee(),Ee(),Ye()}});async function ir(r,n,i,o,s={}){let a,c,h;switch(Oe(r,i,"encrypt"),r){case"dir":h=i;break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{if(!Jt(i))throw new W("ECDH with the provided key is not allowed or not supported by your javascript runtime");const{apu:u,apv:l}=s;let{epk:p}=s;p||(p=(await async function(r){if(!e(r))throw new TypeError(St(r,...Tt));return t.subtle.generateKey(r.algorithm,!0,["deriveBits"])}(i)).privateKey);const{x:d,y:m,crv:f,kty:g}=await er(p),w=await Gt(i,p,"ECDH-ES"===r?n:r,"ECDH-ES"===r?ae(n):parseInt(r.slice(-5,-2),10),u,l);if(c={epk:{x:d,crv:f,kty:g}},"EC"===g&&(c.epk.y=m),u&&(c.apu=_(u)),l&&(c.apv=_(l)),"ECDH-ES"===r){h=w;break}h=o||ne(n);const v=r.slice(-6);a=await Lt(v,w,h);break}case"RSA1_5":case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":h=o||ne(n),a=await ee(r,i,h);break;case"PBES2-HS256+A128KW":case"PBES2-HS384+A192KW":case"PBES2-HS512+A256KW":{h=o||ne(n);const{p2c:t,p2s:e}=s;({encryptedKey:a,...c}=await Kt(r,i,h,t,e));break}case"A128KW":case"A192KW":case"A256KW":h=o||ne(n),a=await Lt(r,i,h);break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":{h=o||ne(n);const{iv:t}=s;({encryptedKey:a,...c}=await async function(t,e,r,n){const i=t.slice(0,7);n||(n=nt(i));const{ciphertext:o,tag:s}=await De(i,r,e,n,new Uint8Array(0));return{encryptedKey:o,iv:_(n),tag:_(s)}}(r,i,h,t));break}default:throw new W('Invalid or unsupported "alg" (JWE Algorithm) header value')}return{cek:h,encryptedKey:a,parameters:c}}var or,sr,ar,cr,hr=y({"../node_modules/jose/dist/browser/lib/encrypt_key_management.js"(){Vt(),$t(),Yt(),se(),tt(),ve(),it(),nr(),_e(),Ne(),rr=ir}}),ur=y({"../node_modules/jose/dist/browser/jwe/flattened/encrypt.js"(){tt(),je(),Mt(),ut(),hr(),it(),_t(),Z(),qe(),or=Symbol(),sr=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 V("either setProtectedHeader, setUnprotectedHeader, or sharedUnprotectedHeader must be called before #encrypt()");if(!xt(this._protectedHeader,this._unprotectedHeader,this._sharedUnprotectedHeader))throw new V("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(V,new Map,null==e?void 0:e.crit,this._protectedHeader,r),void 0!==r.zip){if(!this._protectedHeader||!this._protectedHeader.zip)throw new V('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:o,enc:s}=r;if("string"!=typeof o||!o)throw new V('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("string"!=typeof s||!s)throw new V('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');let a,c,h,u,l,p,d;if("dir"===o){if(this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Encryption")}else if("ECDH-ES"===o&&this._cek)throw new TypeError("setContentEncryptionKey cannot be called when using Direct Key Agreement");{let r;({cek:c,encryptedKey:a,parameters:r}=await rr(o,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=nt(s)),u=n.encode(this._protectedHeader?_(JSON.stringify(this._protectedHeader)):""),this._aad?(l=_(this._aad),h=R(u,n.encode("."),n.encode(l))):h=u,"DEF"===r.zip){const t=await((null==e?void 0:e.deflateRaw)||Rt)(this._plaintext);({ciphertext:p,tag:d}=await De(s,t,c,this._iv,h))}else({ciphertext:p,tag:d}=await De(s,this._plaintext,c,this._iv,h));const m={ciphertext:_(p),iv:_(this._iv),tag:_(d)};return a&&(m.encrypted_key=_(a)),l&&(m.aad=l),this._protectedHeader&&(m.protected=i.decode(u)),this._sharedUnprotectedHeader&&(m.unprotected=this._sharedUnprotectedHeader),this._unprotectedHeader&&(m.header=this._unprotectedHeader),m}}}}),lr=y({"../node_modules/jose/dist/browser/jwe/general/encrypt.js"(){ur(),it(),ve(),_t(),hr(),tt(),qe(),ar=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}},cr=class{constructor(t){this._recipients=[],this._plaintext=t}addRecipient(t,e){const r=new ar(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,n;if(!this._recipients.length)throw new V("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 sr(this._plaintext).setAdditionalAuthenticatedData(this._aad).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(e.unprotectedHeader).encrypt(e.key,{...e.options,...t});let n={ciphertext:r.ciphertext,iv:r.iv,recipients:[{}],tag:r.tag};return r.aad&&(n.aad=r.aad),r.protected&&(n.protected=r.protected),r.unprotected&&(n.unprotected=r.unprotected),r.encrypted_key&&(n.recipients[0].encrypted_key=r.encrypted_key),r.header&&(n.recipients[0].header=r.header),n}let i;for(let t=0;t<this._recipients.length;t++){const e=this._recipients[t];if(!xt(this._protectedHeader,this._unprotectedHeader,e.unprotectedHeader))throw new V("JWE Protected, JWE Shared Unprotected and JWE Per-Recipient Header Parameter names must be disjoint");const r={...this._protectedHeader,...this._unprotectedHeader,...e.unprotectedHeader},{alg:n}=r;if("string"!=typeof n||!n)throw new V('JWE "alg" (Algorithm) Header Parameter missing or invalid');if("dir"===n||"ECDH-ES"===n)throw new V('"dir" and "ECDH-ES" alg may only be used with a single recipient');if("string"!=typeof r.enc||!r.enc)throw new V('JWE "enc" (Encryption Algorithm) Header Parameter missing or invalid');if(i){if(i!==r.enc)throw new V('JWE "enc" (Encryption Algorithm) Header Parameter must be the same for all recipients')}else i=r.enc;if(Be(V,new Map,e.options.crit,this._protectedHeader,r),!(void 0===r.zip||this._protectedHeader&&this._protectedHeader.zip))throw new V('JWE "zip" (Compression Algorithm) Header MUST be integrity protected')}const o=ne(i);let s={ciphertext:"",iv:"",recipients:[],tag:""};for(let a=0;a<this._recipients.length;a++){const c=this._recipients[a],h={};s.recipients.push(h);const u={...this._protectedHeader,...this._unprotectedHeader,...c.unprotectedHeader}.alg.startsWith("PBES2")?2048+a:void 0;if(0===a){const e=await new sr(this._plaintext).setAdditionalAuthenticatedData(this._aad).setContentEncryptionKey(o).setProtectedHeader(this._protectedHeader).setSharedUnprotectedHeader(this._unprotectedHeader).setUnprotectedHeader(c.unprotectedHeader).setKeyManagementParameters({p2c:u}).encrypt(c.key,{...c.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),h.encrypted_key=e.encrypted_key,e.header&&(h.header=e.header);continue}const{encryptedKey:l,parameters:p}=await rr((null===(e=c.unprotectedHeader)||void 0===e?void 0:e.alg)||(null===(r=this._protectedHeader)||void 0===r?void 0:r.alg)||(null===(n=this._unprotectedHeader)||void 0===n?void 0:n.alg),i,c.key,o,{p2c:u});h.encrypted_key=_(l),(c.unprotectedHeader||p)&&(h.header={...c.unprotectedHeader,...p})}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 mt()&&"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 dr=y({"../node_modules/jose/dist/browser/runtime/subtle_dsa.js"(){ft(),it()}});function mr(r,n,i){if(e(n))return function(t,e,...r){switch(e){case"HS256":case"HS384":case"HS512":{if(!wt(t.algorithm,"HMAC"))throw gt("HMAC");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw gt(`SHA-${r}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!wt(t.algorithm,"RSASSA-PKCS1-v1_5"))throw gt("RSASSA-PKCS1-v1_5");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw gt(`SHA-${r}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!wt(t.algorithm,"RSA-PSS"))throw gt("RSA-PSS");const r=parseInt(e.slice(2),10);if(vt(t.algorithm.hash)!==r)throw gt(`SHA-${r}`,"algorithm.hash");break}case"EdDSA":if("Ed25519"!==t.algorithm.name&&"Ed448"!==t.algorithm.name){if(mt()){if(wt(t.algorithm,"NODE-ED25519"))break;throw gt("Ed25519, Ed448, or NODE-ED25519")}throw gt("Ed25519 or Ed448")}break;case"ES256":case"ES384":case"ES512":{if(!wt(t.algorithm,"ECDSA"))throw gt("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 gt(r,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}yt(t,r)}(n,r,i),n;if(n instanceof Uint8Array){if(!r.startsWith("HS"))throw new TypeError(St(n,...Tt));return t.subtle.importKey("raw",n,{hash:`SHA-${r.slice(-3)}`,name:"HMAC"},!1,[i])}throw new TypeError(St(n,...Tt,"Uint8Array"))}var fr,gr=y({"../node_modules/jose/dist/browser/runtime/get_sign_verify_key.js"(){k(),At(),Ot(),Dt()}}),wr=y({"../node_modules/jose/dist/browser/runtime/verify.js"(){dr(),k(),oe(),gr(),fr=async(e,r,n,i)=>{const o=await mr(e,r,"verify");te(e,o);const s=pr(e,o.algorithm);try{return await t.subtle.verify(s,o,n,i)}catch(t){return!1}}}});async function vr(t,e,r){var o;if(!jt(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&&!jt(t.header))throw new G("JWS Unprotected Header incorrect type");let s={};if(t.protected)try{const e=N(t.protected);s=JSON.parse(i.decode(e))}catch(t){throw new G("JWS Protected Header is invalid")}if(!xt(s,t.header))throw new G("JWS Protected and JWS Unprotected Header Parameter names must be disjoint");const a={...s,...t.header};let c=!0;if(Be(G,new Map([["b64",!0]]),null==r?void 0:r.crit,s,a).has("b64")&&(c=s.b64,"boolean"!=typeof c))throw new G('The "b64" (base64url-encode payload) Header Parameter must be a boolean');const{alg:h}=a;if("string"!=typeof h||!h)throw new G('JWS "alg" (Algorithm) Header Parameter missing or invalid');const u=r&&We("algorithms",r.algorithms);if(u&&!u.has(h))throw new H('"alg" (Algorithm) Header Parameter not allowed');if(c){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 l=!1;"function"==typeof e&&(e=await e(s,t),l=!0),Oe(h,e,"verify");const p=R(n.encode(null!==(o=t.protected)&&void 0!==o?o:""),n.encode("."),"string"==typeof t.payload?n.encode(t.payload):t.payload),d=N(t.signature);if(!await fr(h,e,d,p))throw new Y;let m;m=c?N(t.payload):"string"==typeof t.payload?n.encode(t.payload):t.payload;const f={payload:m};return void 0!==t.protected&&(f.protectedHeader=s),void 0!==t.header&&(f.unprotectedHeader=t.header),l?{...f,key:e}:f}var yr=y({"../node_modules/jose/dist/browser/jws/flattened/verify.js"(){tt(),wr(),it(),Z(),_t(),Ut(),_e(),qe(),Ve()}});async function br(t,e,r){if(t instanceof Uint8Array&&(t=i.decode(t)),"string"!=typeof t)throw new G("Compact JWS must be a string or Uint8Array");const{0:n,1:o,2:s,length:a}=t.split(".");if(3!==a)throw new G("Invalid Compact JWS");const c=await vr({payload:o,protected:n,signature:s},e,r),h={payload:c.payload,protectedHeader:c.protectedHeader};return"function"==typeof e?{...h,key:c.key}:h}var Sr=y({"../node_modules/jose/dist/browser/jws/compact/verify.js"(){yr(),it(),Z()}});async function Ar(t,e,r){if(!jt(t))throw new G("General JWS must be an object");if(!Array.isArray(t.signatures)||!t.signatures.every(jt))throw new G("JWS Signatures missing or incorrect type");for(const n of t.signatures)try{return await vr({header:n.header,payload:t.payload,protected:n.protected,signature:n.signature},e,r)}catch(t){}throw new Y}var Er,Cr,Pr,Tr,kr,Fr,Rr=y({"../node_modules/jose/dist/browser/jws/general/verify.js"(){yr(),it(),Ut()}}),xr=y({"../node_modules/jose/dist/browser/lib/epoch.js"(){Er=t=>Math.floor(t.getTime()/1e3)}}),Or=y({"../node_modules/jose/dist/browser/lib/secs.js"(){86400,Cr=/^(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)$/i,Pr=t=>{const e=Cr.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"(){it(),Z(),xr(),Or(),Ut(),Tr=t=>t.toLowerCase().replace(/^application\//,""),kr=(t,e)=>"string"==typeof t?e.includes(t):!!Array.isArray(t)&&e.some(Set.prototype.has.bind(new Set(t))),Fr=(t,e,r={})=>{const{typ:n}=r;if(n&&("string"!=typeof t.typ||Tr(t.typ)!==Tr(n)))throw new B('unexpected "typ" JWT header value',"typ","check_failed");let o;try{o=JSON.parse(i.decode(e))}catch(t){}if(!jt(o))throw new J("JWT Claims Set must be a top-level JSON object");const{issuer:s}=r;if(s&&!(Array.isArray(s)?s:[s]).includes(o.iss))throw new B('unexpected "iss" claim value',"iss","check_failed");const{subject:a}=r;if(a&&o.sub!==a)throw new B('unexpected "sub" claim value',"sub","check_failed");const{audience:c}=r;if(c&&!kr(o.aud,"string"==typeof c?[c]:c))throw new B('unexpected "aud" claim value',"aud","check_failed");let h;switch(typeof r.clockTolerance){case"string":h=Pr(r.clockTolerance);break;case"number":h=r.clockTolerance;break;case"undefined":h=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:u}=r,l=Er(u||new Date);if((void 0!==o.iat||r.maxTokenAge)&&"number"!=typeof o.iat)throw new B('"iat" claim must be a number',"iat","invalid");if(void 0!==o.nbf){if("number"!=typeof o.nbf)throw new B('"nbf" claim must be a number',"nbf","invalid");if(o.nbf>l+h)throw new B('"nbf" claim timestamp check failed',"nbf","check_failed")}if(void 0!==o.exp){if("number"!=typeof o.exp)throw new B('"exp" claim must be a number',"exp","invalid");if(o.exp<=l-h)throw new U('"exp" claim timestamp check failed',"exp","check_failed")}if(r.maxTokenAge){const t=l-o.iat;if(t-h>("number"==typeof r.maxTokenAge?r.maxTokenAge:Pr(r.maxTokenAge)))throw new U('"iat" claim timestamp check failed (too far in the past)',"iat","check_failed");if(t<0-h)throw new B('"iat" claim timestamp check failed (it should be in the past)',"iat","check_failed")}return o}}});async function Ir(t,e,r){var n;const i=await br(t,e,r);if((null===(n=i.protectedHeader.crit)||void 0===n?void 0:n.includes("b64"))&&!1===i.protectedHeader.b64)throw new J("JWTs MUST NOT use unencoded payload");const o={payload:Fr(i.protectedHeader,i.payload,r),protectedHeader:i.protectedHeader};return"function"==typeof e?{...o,key:i.key}:o}var Mr=y({"../node_modules/jose/dist/browser/jwt/verify.js"(){Sr(),Dr(),it()}});async function _r(t,e,r){const n=await Ke(t,e,r),i=Fr(n.protectedHeader,n.plaintext,r),{protectedHeader:o}=n;if(void 0!==o.iss&&o.iss!==i.iss)throw new B('replicated "iss" claim header parameter mismatch',"iss","mismatch");if(void 0!==o.sub&&o.sub!==i.sub)throw new B('replicated "sub" claim header parameter mismatch',"sub","mismatch");if(void 0!==o.aud&&JSON.stringify(o.aud)!==JSON.stringify(i.aud))throw new B('replicated "aud" claim header parameter mismatch',"aud","mismatch");const s={payload:i,protectedHeader:o};return"function"==typeof e?{...s,key:n.key}:s}var jr,Nr,Lr,Br,Ur,Hr,Wr,qr,Vr,Gr,Jr=y({"../node_modules/jose/dist/browser/jwt/decrypt.js"(){ze(),Dr(),it()}}),Kr=y({"../node_modules/jose/dist/browser/jwe/compact/encrypt.js"(){ur(),jr=class{constructor(t){this._flattened=new sr(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(".")}}}}),zr=y({"../node_modules/jose/dist/browser/runtime/sign.js"(){dr(),k(),oe(),gr(),Nr=async(e,r,n)=>{const i=await mr(e,r,"sign");te(e,i);const o=await t.subtle.sign(pr(e,i.algorithm),i,n);return new Uint8Array(o)}}}),$r=y({"../node_modules/jose/dist/browser/jws/flattened/sign.js"(){tt(),zr(),_t(),it(),Z(),_e(),qe(),Lr=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(!xt(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 o=!0;if(Be(G,new Map([["b64",!0]]),null==e?void 0:e.crit,this._protectedHeader,r).has("b64")&&(o=this._protectedHeader.b64,"boolean"!=typeof o))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,c=this._payload;o&&(c=n.encode(_(c))),a=n.encode(this._protectedHeader?_(JSON.stringify(this._protectedHeader)):"");const h=R(a,n.encode("."),c),u=await Nr(s,t,h),l={signature:_(u),payload:""};return o&&(l.payload=i.decode(c)),this._unprotectedHeader&&(l.header=this._unprotectedHeader),this._protectedHeader&&(l.protected=i.decode(a)),l}}}}),Xr=y({"../node_modules/jose/dist/browser/jws/compact/sign.js"(){$r(),Br=class{constructor(t){this._flattened=new Lr(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}`}}}}),Qr=y({"../node_modules/jose/dist/browser/jws/general/sign.js"(){$r(),it(),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}},Hr=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],n=new Lr(this._payload);n.setProtectedHeader(r.protectedHeader),n.setUnprotectedHeader(r.unprotectedHeader);const{payload:i,...o}=await n.sign(r.key,r.options);if(0===e)t.payload=i;else if(t.payload!==i)throw new G("inconsistent use of JWS Unencoded Payload Option (RFC7797)");t.signatures.push(o)}return t}}}}),Yr=y({"../node_modules/jose/dist/browser/jwt/produce.js"(){xr(),Ut(),Or(),Wr=class{constructor(t){if(!jt(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:Er(new Date)+Pr(t)},this}setExpirationTime(t){return this._payload="number"==typeof t?{...this._payload,exp:t}:{...this._payload,exp:Er(new Date)+Pr(t)},this}setIssuedAt(t){return this._payload=void 0===t?{...this._payload,iat:Er(new Date)}:{...this._payload,iat:t},this}}}}),Zr=y({"../node_modules/jose/dist/browser/jwt/sign.js"(){Xr(),it(),Z(),Yr(),qr=class extends Wr{setProtectedHeader(t){return this._protectedHeader=t,this}async sign(t,e){var r;const i=new Br(n.encode(JSON.stringify(this._payload)));if(i.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 J("JWTs MUST NOT use unencoded payload");return i.sign(t,e)}}}}),tn=y({"../node_modules/jose/dist/browser/jwt/encrypt.js"(){Kr(),Z(),Yr(),Vr=class extends Wr{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 jr(n.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 en(t,e){if(!jt(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 i;switch(t.kty){case"EC":Gr(t.crv,'"crv" (Curve) Parameter'),Gr(t.x,'"x" (X Coordinate) Parameter'),Gr(t.y,'"y" (Y Coordinate) Parameter'),i={crv:t.crv,kty:t.kty,x:t.x,y:t.y};break;case"OKP":Gr(t.crv,'"crv" (Subtype of Key Pair) Parameter'),Gr(t.x,'"x" (Public Key) Parameter'),i={crv:t.crv,kty:t.kty,x:t.x};break;case"RSA":Gr(t.e,'"e" (Exponent) Parameter'),Gr(t.n,'"n" (Modulus) Parameter'),i={e:t.e,kty:t.kty,n:t.n};break;case"oct":Gr(t.k,'"k" (Key Value) Parameter'),i={k:t.k,kty:t.kty};break;default:throw new W('"kty" (Key Type) Parameter missing or unsupported')}const o=n.encode(JSON.stringify(i));return _(await r(e,o))}async function rn(t,e){null!=e||(e="sha256");const r=await en(t,e);return`urn:ietf:params:oauth:jwk-thumbprint:sha-${e.slice(-3)}:${r}`}var nn=y({"../node_modules/jose/dist/browser/jwk/thumbprint.js"(){F(),tt(),it(),Z(),Ut(),Gr=(t,e)=>{if("string"!=typeof t||!t)throw new K(`${e} missing or invalid`)}}});async function on(t,e){const r={...t,...null==e?void 0:e.header};if(!jt(r.jwk))throw new G('"jwk" (JSON Web Key) Header Parameter must be a JSON object');const n=await Fe({...r.jwk,ext:!0},r.alg,!0);if(n instanceof Uint8Array||"public"!==n.type)throw new G('"jwk" (JSON Web Key) Header Parameter must be a public key');return n}var sn,an=y({"../node_modules/jose/dist/browser/jwk/embedded.js"(){Me(),Ut(),it()}});function cn(t){return t&&"object"==typeof t&&Array.isArray(t.keys)&&t.keys.every(hn)}function hn(t){return jt(t)}async function un(t,e,r){const n=t.get(e)||t.set(e,{}).get(e);if(void 0===n[r]){const t=await Fe({...e,ext:!0},r);if(t instanceof Uint8Array||"public"!==t.type)throw new z("JSON Web Key Set members must be public keys");n[r]=t}return n[r]}function ln(t){const e=new sn(t);return async function(t,r){return e.getKey(t,r)}}var pn,dn,mn=y({"../node_modules/jose/dist/browser/jwks/local.js"(){Me(),it(),Ut(),sn=class{constructor(t){if(this._cached=new WeakMap,!cn(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:n}={...t,...null==e?void 0:e.header},i=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),o=this._jwks.keys.filter((t=>{let e=i===t.kty;if(e&&"string"==typeof n&&(e=n===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}=o;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 o)try{yield await un(e,t,r)}catch(t){continue}},t}return un(this._cached,s,r)}}}}),fn=y({"../node_modules/jose/dist/browser/runtime/fetch_jwks.js"(){it(),pn=async(t,e,r)=>{let n,i,o=!1;"function"==typeof AbortController&&(n=new AbortController,i=setTimeout((()=>{o=!0,n.abort()}),e));const s=await fetch(t.href,{signal:n?n.signal:void 0,redirect:"manual",headers:r.headers}).catch((t=>{if(o)throw new Q;throw t}));if(void 0!==i&&clearTimeout(i),200!==s.status)throw new L("Expected 200 OK from the JSON Web Key Set HTTP response");try{return await s.json()}catch(t){throw new L("Failed to parse the JSON Web Key Set HTTP response as JSON")}}}});function gn(t,e){const r=new dn(t,e);return async function(t,e){return r.getKey(t,e)}}var wn,vn,yn,bn=y({"../node_modules/jose/dist/browser/jwks/remote.js"(){fn(),ft(),it(),mn(),dn=class extends sn{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(){this._pendingFetch&&mt()&&(this._pendingFetch=void 0),this._pendingFetch||(this._pendingFetch=pn(this._url,this._timeoutDuration,this._options).then((t=>{if(!cn(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}}}}),Sn=y({"../node_modules/jose/dist/browser/jwt/unsecured.js"(){tt(),Z(),it(),Dr(),Yr(),wn=class extends Wr{encode(){return`${_(JSON.stringify({alg:"none"}))}.${_(JSON.stringify(this._payload))}.`}static decode(t,e){if("string"!=typeof t)throw new J("Unsecured JWT must be a string");const{0:r,1:n,2:o,length:s}=t.split(".");if(3!==s||""!==o)throw new J("Invalid Unsecured JWT");let a;try{if(a=JSON.parse(i.decode(N(r))),"none"!==a.alg)throw new Error}catch(t){throw new J("Invalid Unsecured JWT")}return{payload:Fr(a,N(n),e),header:a}}}}}),An={};S(An,{decode:()=>yn,encode:()=>vn});var En=y({"../node_modules/jose/dist/browser/util/base64url.js"(){tt(),vn=_,yn=N}});function Cn(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(i.decode(yn(e)));if(!jt(t))throw new Error;return t}catch(t){throw new TypeError("Invalid Token or Protected Header formatting")}}var Pn=y({"../node_modules/jose/dist/browser/util/decode_protected_header.js"(){En(),Z(),Ut()}});function Tn(t){if("string"!=typeof t)throw new J("JWTs must use Compact JWS serialization, JWT must be a string");const{1:e,length:r}=t.split(".");if(5===r)throw new J("Only JWTs using Compact JWS serialization can be decoded");if(3!==r)throw new J("Invalid JWT");if(!e)throw new J("JWTs must contain a payload");let n,o;try{n=yn(e)}catch(t){throw new J("Failed to parse the base64url encoded payload")}try{o=JSON.parse(i.decode(n))}catch(t){throw new J("Failed to parse the decoded payload as JSON")}if(!jt(o))throw new J("Invalid JWT Claims Set");return o}var kn=y({"../node_modules/jose/dist/browser/util/decode_jwt.js"(){En(),Z(),Ut(),it()}});function Fn(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 Rn=y({"../node_modules/jose/dist/browser/runtime/generate.js"(){ft(),k(),it(),ot()}});async function xn(e,r){return async function(e,r){var n,i,o,s;let a,c;switch(e){case"PS256":case"PS384":case"PS512":a={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Fn(r)},c=["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:Fn(r)},c=["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:Fn(r)},c=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":a={name:"ECDSA",namedCurve:"P-256"},c=["sign","verify"];break;case"ES384":a={name:"ECDSA",namedCurve:"P-384"},c=["sign","verify"];break;case"ES512":a={name:"ECDSA",namedCurve:"P-521"},c=["sign","verify"];break;case"EdDSA":c=["sign","verify"];const t=null!==(n=null==r?void 0:r.crv)&&void 0!==n?n:"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":{c=["deriveKey","deriveBits"];const t=null!==(i=null==r?void 0:r.crv)&&void 0!==i?i:"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!==(o=null==r?void 0:r.extractable)&&void 0!==o&&o,c)}catch(e){if("Ed25519"===a.name&&"NotSupportedError"===(null==e?void 0:e.name)&&mt())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,c);throw e}}(e,r)}var On=y({"../node_modules/jose/dist/browser/key/generate_key_pair.js"(){Rn()}});async function Dn(e,r){return async function(e,r){var n;let i,o,s;switch(e){case"HS256":case"HS384":case"HS512":i=parseInt(e.slice(-3),10),o={name:"HMAC",hash:`SHA-${i}`,length:i},s=["sign","verify"];break;case"A128CBC-HS256":case"A192CBC-HS384":case"A256CBC-HS512":return i=parseInt(e.slice(-3),10),rt(new Uint8Array(i>>3));case"A128KW":case"A192KW":case"A256KW":i=parseInt(e.slice(1,4),10),o={name:"AES-KW",length:i},s=["wrapKey","unwrapKey"];break;case"A128GCMKW":case"A192GCMKW":case"A256GCMKW":case"A128GCM":case"A192GCM":case"A256GCM":i=parseInt(e.slice(1,4),10),o={name:"AES-GCM",length:i},s=["encrypt","decrypt"];break;default:throw new W('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return t.subtle.generateKey(o,null!==(n=null==r?void 0:r.extractable)&&void 0!==n&&n,s)}(e,r)}var In=y({"../node_modules/jose/dist/browser/key/generate_secret.js"(){Rn()}}),Mn={};S(Mn,{CompactEncrypt:()=>jr,CompactSign:()=>Br,EmbeddedJWK:()=>on,EncryptJWT:()=>Vr,FlattenedEncrypt:()=>sr,FlattenedSign:()=>Lr,GeneralEncrypt:()=>cr,GeneralSign:()=>Hr,SignJWT:()=>qr,UnsecuredJWT:()=>wn,base64url:()=>An,calculateJwkThumbprint:()=>en,calculateJwkThumbprintUri:()=>rn,compactDecrypt:()=>Ke,compactVerify:()=>br,createLocalJWKSet:()=>ln,createRemoteJWKSet:()=>gn,decodeJwt:()=>Tn,decodeProtectedHeader:()=>Cn,errors:()=>et,exportJWK:()=>er,exportPKCS8:()=>tr,exportSPKI:()=>Ze,flattenedDecrypt:()=>Ge,flattenedVerify:()=>vr,generalDecrypt:()=>$e,generalVerify:()=>Ar,generateKeyPair:()=>xn,generateSecret:()=>Dn,importJWK:()=>Fe,importPKCS8:()=>ke,importSPKI:()=>Pe,importX509:()=>Te,jwtDecrypt:()=>_r,jwtVerify:()=>Ir});var _n=y({"../node_modules/jose/dist/browser/index.js"(){ze(),Je(),Qe(),lr(),Sr(),yr(),Rr(),Mr(),Jr(),Kr(),ur(),Xr(),$r(),Qr(),Zr(),tn(),nn(),an(),mn(),bn(),Sn(),nr(),Me(),Pn(),kn(),it(),On(),In(),En()}}),jn=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)}}),Nn=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}}),Ln=b({"../node_modules/uuid/dist/commonjs-browser/validate.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=Nn())&&e.__esModule?e:{default:e};t.default=function(t){return"string"==typeof t&&r.default.test(t)}}}),Bn=b({"../node_modules/uuid/dist/commonjs-browser/stringify.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=i;var e,r=(e=Ln())&&e.__esModule?e:{default:e},n=[];for(let t=0;t<256;++t)n.push((t+256).toString(16).slice(1));function i(t,e=0){return(n[t[e+0]]+n[t[e+1]]+n[t[e+2]]+n[t[e+3]]+"-"+n[t[e+4]]+n[t[e+5]]+"-"+n[t[e+6]]+n[t[e+7]]+"-"+n[t[e+8]]+n[t[e+9]]+"-"+n[t[e+10]]+n[t[e+11]]+n[t[e+12]]+n[t[e+13]]+n[t[e+14]]+n[t[e+15]]).toLowerCase()}t.default=function(t,e=0){const n=i(t,e);if(!(0,r.default)(n))throw TypeError("Stringified UUID is invalid");return n}}}),Un=b({"../node_modules/uuid/dist/commonjs-browser/v1.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r,n,i=(e=jn())&&e.__esModule?e:{default:e},o=Bn(),s=0,a=0;t.default=function(t,e,c){let h=e&&c||0;const u=e||new Array(16);let l=(t=t||{}).node||r,p=void 0!==t.clockseq?t.clockseq:n;if(null==l||null==p){const e=t.random||(t.rng||i.default)();null==l&&(l=r=[1|e[0],e[1],e[2],e[3],e[4],e[5]]),null==p&&(p=n=16383&(e[6]<<8|e[7]))}let d=void 0!==t.msecs?t.msecs:Date.now(),m=void 0!==t.nsecs?t.nsecs:a+1;const f=d-s+(m-a)/1e4;if(f<0&&void 0===t.clockseq&&(p=p+1&16383),(f<0||d>s)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=d,a=m,n=p,d+=122192928e5;const g=(1e4*(268435455&d)+m)%4294967296;u[h++]=g>>>24&255,u[h++]=g>>>16&255,u[h++]=g>>>8&255,u[h++]=255&g;const w=d/4294967296*1e4&268435455;u[h++]=w>>>8&255,u[h++]=255&w,u[h++]=w>>>24&15|16,u[h++]=w>>>16&255,u[h++]=p>>>8|128,u[h++]=255&p;for(let t=0;t<6;++t)u[h+t]=l[t];return e||(0,o.unsafeStringify)(u)}}}),Hn=b({"../node_modules/uuid/dist/commonjs-browser/parse.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=Ln())&&e.__esModule?e:{default:e};t.default=function(t){if(!(0,r.default)(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}}}),Wn=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,i,o,a){var c;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 i&&(i=(0,n.default)(i)),16!==(null===(c=i)||void 0===c?void 0:c.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let h=new Uint8Array(16+t.length);if(h.set(i),h.set(t,i.length),h=s(h),h[6]=15&h[6]|e,h[8]=63&h[8]|128,o){a=a||0;for(let t=0;t<16;++t)o[a+t]=h[t];return o}return(0,r.unsafeStringify)(h)}try{a.name=t}catch(t){}return a.DNS=i,a.URL=o,a};var e,r=Bn(),n=(e=Hn())&&e.__esModule?e:{default:e},i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;var o="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=o}}),qn=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 n(t,e,n,i,o,s){return r((a=r(r(e,t),r(i,s)))<<(c=o)|a>>>32-c,n);var a,c}function i(t,e,r,i,o,s,a){return n(e&r|~e&i,t,e,o,s,a)}function o(t,e,r,i,o,s,a){return n(e&i|r&~i,t,e,o,s,a)}function s(t,e,r,i,o,s,a){return n(e^r^i,t,e,o,s,a)}function a(t,e,r,i,o,s,a){return n(r^(e|~i),t,e,o,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,n="0123456789abcdef";for(let i=0;i<r;i+=8){const r=t[i>>5]>>>i%32&255,o=parseInt(n.charAt(r>>>4&15)+n.charAt(15&r),16);e.push(o)}return e}(function(t,n){t[n>>5]|=128<<n%32,t[e(n)-1]=n;let c=1732584193,h=-271733879,u=-1732584194,l=271733878;for(let e=0;e<t.length;e+=16){const n=c,p=h,d=u,m=l;c=i(c,h,u,l,t[e],7,-680876936),l=i(l,c,h,u,t[e+1],12,-389564586),u=i(u,l,c,h,t[e+2],17,606105819),h=i(h,u,l,c,t[e+3],22,-1044525330),c=i(c,h,u,l,t[e+4],7,-176418897),l=i(l,c,h,u,t[e+5],12,1200080426),u=i(u,l,c,h,t[e+6],17,-1473231341),h=i(h,u,l,c,t[e+7],22,-45705983),c=i(c,h,u,l,t[e+8],7,1770035416),l=i(l,c,h,u,t[e+9],12,-1958414417),u=i(u,l,c,h,t[e+10],17,-42063),h=i(h,u,l,c,t[e+11],22,-1990404162),c=i(c,h,u,l,t[e+12],7,1804603682),l=i(l,c,h,u,t[e+13],12,-40341101),u=i(u,l,c,h,t[e+14],17,-1502002290),h=i(h,u,l,c,t[e+15],22,1236535329),c=o(c,h,u,l,t[e+1],5,-165796510),l=o(l,c,h,u,t[e+6],9,-1069501632),u=o(u,l,c,h,t[e+11],14,643717713),h=o(h,u,l,c,t[e],20,-373897302),c=o(c,h,u,l,t[e+5],5,-701558691),l=o(l,c,h,u,t[e+10],9,38016083),u=o(u,l,c,h,t[e+15],14,-660478335),h=o(h,u,l,c,t[e+4],20,-405537848),c=o(c,h,u,l,t[e+9],5,568446438),l=o(l,c,h,u,t[e+14],9,-1019803690),u=o(u,l,c,h,t[e+3],14,-187363961),h=o(h,u,l,c,t[e+8],20,1163531501),c=o(c,h,u,l,t[e+13],5,-1444681467),l=o(l,c,h,u,t[e+2],9,-51403784),u=o(u,l,c,h,t[e+7],14,1735328473),h=o(h,u,l,c,t[e+12],20,-1926607734),c=s(c,h,u,l,t[e+5],4,-378558),l=s(l,c,h,u,t[e+8],11,-2022574463),u=s(u,l,c,h,t[e+11],16,1839030562),h=s(h,u,l,c,t[e+14],23,-35309556),c=s(c,h,u,l,t[e+1],4,-1530992060),l=s(l,c,h,u,t[e+4],11,1272893353),u=s(u,l,c,h,t[e+7],16,-155497632),h=s(h,u,l,c,t[e+10],23,-1094730640),c=s(c,h,u,l,t[e+13],4,681279174),l=s(l,c,h,u,t[e],11,-358537222),u=s(u,l,c,h,t[e+3],16,-722521979),h=s(h,u,l,c,t[e+6],23,76029189),c=s(c,h,u,l,t[e+9],4,-640364487),l=s(l,c,h,u,t[e+12],11,-421815835),u=s(u,l,c,h,t[e+15],16,530742520),h=s(h,u,l,c,t[e+2],23,-995338651),c=a(c,h,u,l,t[e],6,-198630844),l=a(l,c,h,u,t[e+7],10,1126891415),u=a(u,l,c,h,t[e+14],15,-1416354905),h=a(h,u,l,c,t[e+5],21,-57434055),c=a(c,h,u,l,t[e+12],6,1700485571),l=a(l,c,h,u,t[e+3],10,-1894986606),u=a(u,l,c,h,t[e+10],15,-1051523),h=a(h,u,l,c,t[e+1],21,-2054922799),c=a(c,h,u,l,t[e+8],6,1873313359),l=a(l,c,h,u,t[e+15],10,-30611744),u=a(u,l,c,h,t[e+6],15,-1560198380),h=a(h,u,l,c,t[e+13],21,1309151649),c=a(c,h,u,l,t[e+4],6,-145523070),l=a(l,c,h,u,t[e+11],10,-1120210379),u=a(u,l,c,h,t[e+2],15,718787259),h=a(h,u,l,c,t[e+9],21,-343485551),c=r(c,n),h=r(h,p),u=r(u,d),l=r(l,m)}return[c,h,u,l]}(function(t){if(0===t.length)return[];const r=8*t.length,n=new Uint32Array(e(r));for(let e=0;e<r;e+=8)n[e>>5]|=(255&t[e/8])<<e%32;return n}(t),8*t.length))}}}),Vn=b({"../node_modules/uuid/dist/commonjs-browser/v3.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=n(Wn()),r=n(qn());function n(t){return t&&t.__esModule?t:{default:t}}var i=(0,e.default)("v3",48,r.default);t.default=i}}),Gn=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}}}),Jn=b({"../node_modules/uuid/dist/commonjs-browser/v4.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=i(Gn()),r=i(jn()),n=Bn();function i(t){return t&&t.__esModule?t:{default:t}}t.default=function(t,i,o){if(e.default.randomUUID&&!i&&!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,i){o=o||0;for(let t=0;t<16;++t)i[o+t]=s[t];return i}return(0,n.unsafeStringify)(s)}}}),Kn=b({"../node_modules/uuid/dist/commonjs-browser/sha1.js"(t){function e(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:case 3:return e^r^n;case 2:return e&r^e&n^r&n}}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 n=[1518500249,1859775393,2400959708,3395469782],i=[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 o=Math.ceil((t.length/4+2)/16),s=new Array(o);for(let e=0;e<o;++e){const r=new Uint32Array(16);for(let n=0;n<16;++n)r[n]=t[64*e+4*n]<<24|t[64*e+4*n+1]<<16|t[64*e+4*n+2]<<8|t[64*e+4*n+3];s[e]=r}s[o-1][14]=8*(t.length-1)/Math.pow(2,32),s[o-1][14]=Math.floor(s[o-1][14]),s[o-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<o;++t){const o=new Uint32Array(80);for(let e=0;e<16;++e)o[e]=s[t][e];for(let t=16;t<80;++t)o[t]=r(o[t-3]^o[t-8]^o[t-14]^o[t-16],1);let a=i[0],c=i[1],h=i[2],u=i[3],l=i[4];for(let t=0;t<80;++t){const i=Math.floor(t/20),s=r(a,5)+e(i,c,h,u)+l+n[i]+o[t]>>>0;l=u,u=h,h=r(c,30)>>>0,c=a,a=s}i[0]=i[0]+a>>>0,i[1]=i[1]+c>>>0,i[2]=i[2]+h>>>0,i[3]=i[3]+u>>>0,i[4]=i[4]+l>>>0}return[i[0]>>24&255,i[0]>>16&255,i[0]>>8&255,255&i[0],i[1]>>24&255,i[1]>>16&255,i[1]>>8&255,255&i[1],i[2]>>24&255,i[2]>>16&255,i[2]>>8&255,255&i[2],i[3]>>24&255,i[3]>>16&255,i[3]>>8&255,255&i[3],i[4]>>24&255,i[4]>>16&255,i[4]>>8&255,255&i[4]]}}}),zn=b({"../node_modules/uuid/dist/commonjs-browser/v5.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e=n(Wn()),r=n(Kn());function n(t){return t&&t.__esModule?t:{default:t}}var i=(0,e.default)("v5",80,r.default);t.default=i}}),$n=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"}}),Xn=b({"../node_modules/uuid/dist/commonjs-browser/version.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e,r=(e=Ln())&&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)}}}),Qn=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 o.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.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 n.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return i.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(Un()),r=u(Vn()),n=u(Jn()),i=u(zn()),o=u($n()),s=u(Xn()),a=u(Ln()),c=u(Bn()),h=u(Hn());function u(t){return t&&t.__esModule?t:{default:t}}}}),Yn=b({"../node_modules/@inrupt/solid-client-authn-core/dist/index.js"(t){var e,r=T(),n=(_n(),e=Mn,A(a({},"__esModule",{value:!0}),e)),i=Qn(),o=["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"},c=["openid","offline_access","webid"].join(" ");async function h(t,e){const n=await r.fetch(t);if(200!==n.status)throw new Error(`Could not fetch JWKS for [${e}] at [${t}]: ${n.status} ${n.statusText}`);let i;try{i=(await n.json()).keys[0]}catch(r){throw new Error(`Malformed JWKS for [${e}] at [${t}]: ${r.message}`)}return i}function u(t){try{return new URL(t),!0}catch(t){return!1}}var l=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(n){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 n=await this.getUserData(t,null==r?void 0:r.secure);let i;if(n&&n[e]||(i=void 0),i=n[e],void 0===i&&(null==r?void 0:r.errorIfNull))throw new Error(`Field [${e}] for user [${t}] is not stored`);return i||void 0}async setForUser(t,e,r){let n;try{n=await this.getUserData(t,null==r?void 0:r.secure)}catch(t){n={}}await this.setUserData(t,{...n,...e},null==r?void 0:r.secure)}async deleteForUser(t,e,r){const n=await this.getUserData(t,null==r?void 0:r.secure);delete n[e],await this.setUserData(t,n,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))}},p=class extends Error{constructor(t){super(t)}},d=class extends Error{constructor(t){super(`[${t}] is not implemented`)}},m=class extends Error{constructor(t){super(`Invalid response from OIDC provider: missing fields ${t}`),this.missingFields=t}},f=class extends Error{constructor(t,e,r){super(t),this.error=e,this.errorDescription=r}};function g(t){const e=new URL(t);return new URL(e.pathname,e.origin).toString()}async function w(t,e,r){return new n.SignJWT({htu:g(t),htm:e.toUpperCase(),jti:i.v4()}).setProtectedHeader({alg:o[0],jwk:r.publicKey,typ:"dpop+jwt"}).setIssuedAt().sign(r.privateKey,{})}async function v(t,e,n,i,o){return t(n,await async function(t,e,n,i){if(void 0!==n)return async function(t,e,n,i){var o;const s=new r.Headers(null==i?void 0:i.headers);return s.set("Authorization",`DPoP ${e}`),s.set("DPoP",await w(t,null!==(o=null==i?void 0:i.method)&&void 0!==o?o:"get",n)),{...i,headers:s}}(t,e,n,i);const o=new r.Headers(null==i?void 0:i.headers);return o.set("Authorization",`Bearer ${e}`),{...i,headers:o}}(n.toString(),e,o,i))}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=p,t.DEFAULT_SCOPES=c,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=m,t.NotImplementedError=d,t.OidcProviderError=f,t.PREFERRED_SIGNING_ALG=o,t.REFRESH_BEFORE_EXPIRATION_SECONDS=5,t.SOLID_CLIENT_AUTHN_KEY_PREFIX="solidClientAuthn:",t.StorageUtility=l,t.StorageUtilityGetResponse=b,t.StorageUtilityMock=S,t.USER_SESSION_PREFIX="solidClientAuthenticationUser",t.buildAuthenticatedFetch=async function(t,e,r){var n;let i,o=e;const a=null==r?void 0:r.refreshOptions;if(void 0!==a){const t=async()=>{var e,n,c,h;try{const{accessToken:n,refreshToken:c,expiresIn:h}=await async function(t,e,r){var n;const i=await t.tokenRefresher.refresh(t.sessionId,t.refreshToken,e);return null==r||r.emit(s.SESSION_EXTENDED,null!==(n=i.expiresIn)&&void 0!==n?n:600),"string"==typeof i.refreshToken&&(null==r||r.emit(s.NEW_REFRESH_TOKEN,i.refreshToken)),{accessToken:i.accessToken,refreshToken:i.refreshToken,expiresIn:i.expiresIn}}(a,r.dpopKey,r.eventEmitter);o=n,void 0!==c&&(a.refreshToken=c),clearTimeout(i),i=setTimeout(t,1e3*y(h)),null===(e=r.eventEmitter)||void 0===e||e.emit(s.TIMEOUT_SET,i)}catch(t){t instanceof f&&(null===(n=null==r?void 0:r.eventEmitter)||void 0===n||n.emit(s.ERROR,t.error,t.errorDescription),null===(c=null==r?void 0:r.eventEmitter)||void 0===c||c.emit(s.SESSION_EXPIRED)),t instanceof m&&t.missingFields.includes("access_token")&&(null===(h=null==r?void 0:r.eventEmitter)||void 0===h||h.emit(s.SESSION_EXPIRED))}};i=setTimeout(t,1e3*y(r.expiresIn)),null===(n=r.eventEmitter)||void 0===n||n.emit(s.TIMEOUT_SET,i)}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,n)=>{let i=await v(t,o,e,n,null==r?void 0:r.dpopKey);const s=!i.ok&&![401,403].includes(i.status);return i.ok||s||i.url!==e&&void 0!==(null==r?void 0:r.dpopKey)&&(i=await v(t,o,i.url,n,r.dpopKey)),i}},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=h,t.generateDpopKeyPair=async function(){const{privateKey:t,publicKey:e}=await n.generateKeyPair(o[0]),r={privateKey:t,publicKey:await n.exportJWK(e)};return[r.publicKey.alg]=o,r},t.getSessionIdFromOauthState=async function(t,e){return t.getForUser(e,"sessionId")},t.getWebidFromTokenPayload=async function(t,e,r,i){const o=await h(e,r);let s;try{const{payload:e}=await n.jwtVerify(t,await n.importJWK(o),{issuer:r,audience:i});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,n){const i=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"===i?n.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:i})},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[n,i,o,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:i,redirectUrl:o,issuerConfig:await r.fetchConfig(n),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 l(E(t),E({})):new l(E({}),E(t)),t.saveSessionInfoToStorage=async function(t,e,r,i,o,s,a){void 0!==o&&await t.setForUser(e,{refreshToken:o},{secure:s}),void 0!==r&&await t.setForUser(e,{webId:r},{secure:s}),void 0!==i&&await t.setForUser(e,{isLoggedIn:i},{secure:s}),void 0!==a&&await t.setForUser(e,{publicKey:JSON.stringify(a.publicKey),privateKey:JSON.stringify(await n.exportJWK(a.privateKey))},{secure:s})}}}),Zn=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/storage/StorageUtility.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn();t.default=class extends e.StorageUtility{constructor(t,e){super(t,e)}}}}),ti=b({"../node_modules/@inrupt/oidc-client/lib/oidc-client.min.js"(t,e){!function(r,n){if("object"==typeof t&&"object"==typeof e)e.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var i=n();for(var o in i)("object"==typeof t?t:r)[o]=i[o]}}(t,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},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 n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},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 n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),n={debug:function(){},info:function(){},warn:function(){},error:function(){}},i=void 0,o=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(){o=3,i=n},t.debug=function(){if(o>=4){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];i.debug.apply(i,Array.from(e))}},t.info=function(){if(o>=3){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];i.info.apply(i,Array.from(e))}},t.warn=function(){if(o>=2){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];i.warn.apply(i,Array.from(e))}},t.error=function(){if(o>=1){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];i.error.apply(i,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 o},set:function(t){if(!(0<=t&&t<=4))throw new Error("Invalid log level");o=t}},{key:"logger",get:function(){return i},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");i=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 n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),n={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)}))},i=!1,o=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(){i=!0},t.setXMLHttpRequest=function(t){o=t},r(t,null,[{key:"location",get:function(){if(!i)return location}},{key:"localStorage",get:function(){if(!i&&"undefined"!=typeof window)return localStorage}},{key:"sessionStorage",get:function(){if(!i&&"undefined"!=typeof window)return sessionStorage}},{key:"XMLHttpRequest",get:function(){if(!i&&"undefined"!=typeof window)return o||XMLHttpRequest}},{key:"timer",get:function(){if(!i)return n}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.MetadataService=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=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]:o.JsonService;if(s(this,t),!e)throw i.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?(i.Log.debug("MetadataService.getMetadata: Returning metadata from settings"),Promise.resolve(this._settings.metadata)):this.metadataUrl?(i.Log.debug("MetadataService.getMetadata: getting metadata from",this.metadataUrl),this._jsonService.getJson(this.metadataUrl).then((function(e){return i.Log.debug("MetadataService.getMetadata: json received"),t._settings.metadata=Object.assign({},t._settings.metadataSeed||{},e),t._settings.metadata}))):(i.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 i.Log.debug("MetadataService.getMetadataProperty for: "+t),this.getMetadata().then((function(r){if(i.Log.debug("MetadataService.getMetadataProperty: metadata recieved"),void 0===r[t]){if(!0===e)return void i.Log.warn("MetadataService.getMetadataProperty: Metadata does not contain optional property "+t);throw i.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?(i.Log.debug("MetadataService.getSigningKeys: Returning signingKeys from settings"),Promise.resolve(this._settings.signingKeys)):this._getMetadataProperty("jwks_uri").then((function(e){return i.Log.debug("MetadataService.getSigningKeys: jwks_uri received",e),t._jsonService.getJson(e).then((function(e){if(i.Log.debug("MetadataService.getSigningKeys: key set received",e),!e.keys)throw i.Log.error("MetadataService.getSigningKeys: Missing keys on keyset"),new Error("Missing keys on keyset");return t._settings.signingKeys=e.keys,t._settings.signingKeys}))}))},n(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 n=r(0),i=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]:i.Global;"string"!=typeof t&&(t=r.location.href);var o=t.lastIndexOf(e);o>=0&&(t=t.substr(o+1)),"?"===e&&(o=t.indexOf("#"))>=0&&(t=t.substr(0,o));for(var s,a={},c=/([^&=]+)=([^&]*)/g,h=0;s=c.exec(t);)if(a[decodeURIComponent(s[1])]=decodeURIComponent(s[2].replace(/\+/g," ")),h++>50)return n.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 n,i=r(26),o=(n=r(33))&&n.__esModule?n:{default:n};e.JoseUtil=(0,o.default)({jws:i.jws,KeyUtil:i.KeyUtil,X509:i.X509,crypto:i.crypto,hextob64u:i.hextob64u,b64tohex:i.b64tohex,AllowedSigningAlgs:i.AllowedSigningAlgs})},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.OidcClientSettings=void 0;var n="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},i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),s=r(23),a=r(6),c=r(24),h=r(2);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=".well-known/openid-configuration",p="id_token",d="openid",m="client_secret_post";e.OidcClientSettings=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.authority,i=e.metadataUrl,o=e.metadata,l=e.signingKeys,f=e.metadataSeed,g=e.client_id,w=e.client_secret,v=e.response_type,y=void 0===v?p:v,b=e.scope,S=void 0===b?d:b,A=e.redirect_uri,E=e.post_logout_redirect_uri,C=e.client_authentication,P=void 0===C?m:C,T=e.prompt,k=e.display,F=e.max_age,R=e.ui_locales,x=e.acr_values,O=e.resource,D=e.response_mode,I=e.filterProtocolClaims,M=void 0===I||I,_=e.loadUserInfo,j=void 0===_||_,N=e.staleStateAge,L=void 0===N?900:N,B=e.clockSkew,U=void 0===B?300:B,H=e.clockService,W=void 0===H?new s.ClockService:H,q=e.userInfoJwtIssuer,V=void 0===q?"OP":q,G=e.mergeClaims,J=void 0!==G&&G,K=e.stateStore,z=void 0===K?new a.WebStorageStateStore:K,$=e.ResponseValidatorCtor,X=void 0===$?c.ResponseValidator:$,Q=e.MetadataServiceCtor,Y=void 0===Q?h.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=i,this._metadata=o,this._metadataSeed=f,this._signingKeys=l,this._client_id=g,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=T,this._display=k,this._max_age=F,this._ui_locales=R,this._acr_values=x,this._resource=O,this._response_mode=D,this._filterProtocolClaims=!!M,this._loadUserInfo=!!j,this._staleStateAge=L,this._clockSkew=U,this._clockService=W,this._userInfoJwtIssuer=V,this._mergeClaims=!!J,this._stateStore=z,this._validator=new X(this),this._metadataService=new Y(this),this._extraQueryParams="object"===(void 0===tt?"undefined":n(tt))?tt:{},this._extraTokenParams="object"===(void 0===rt?"undefined":n(rt))?rt:{}}return t.prototype.getEpochTime=function(){return this._clockService.getEpochTime()},i(t,[{key:"client_id",get:function(){return this._client_id},set:function(t){if(this._client_id)throw o.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 o.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(l)<0&&("/"!==this._metadataUrl[this._metadataUrl.length-1]&&(this._metadataUrl+="/"),this._metadataUrl+=l)),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":n(t))?t:{}}},{key:"extraTokenParams",get:function(){return this._extraTokenParams},set:function(t){this._extraTokenParams="object"===(void 0===t?"undefined":n(t))?t:{}}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.WebStorageStateStore=void 0;var n=r(0),i=r(1);function o(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,n=void 0===r?"oidc.":r,s=e.store,a=void 0===s?i.Global.localStorage:s;o(this,t),this._store=a,this._prefix=n}return t.prototype.set=function(t,e){return n.Log.debug("WebStorageStateStore.set",t),this._store.setItem(t=this._prefix+t,e),Promise.resolve()},t.prototype.get=function(t){n.Log.debug("WebStorageStateStore.get",t);var e=this._store.getItem(t=this._prefix+t);return Promise.resolve(e)},t.prototype.remove=function(t){n.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(){n.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 n=r(0),i=r(1);function o(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]:i.Global.XMLHttpRequest,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;o(this,t),this._contentTypes=e&&Array.isArray(e)?e.slice():[],this._contentTypes.push("application/json"),n&&this._contentTypes.push("application/jwt"),this._XMLHttpRequest=r,this._jwtHandler=n}return t.prototype.getJson=function(t,e){var r=this;if(!t)throw n.Log.error("JsonService.getJson: No url passed"),new Error("url");return n.Log.debug("JsonService.getJson, url: ",t),new Promise((function(i,o){var s=new r._XMLHttpRequest;s.open("GET",t);var a=r._contentTypes,c=r._jwtHandler;s.onload=function(){if(n.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 c(s).then(i,o);if(r)try{return void i(JSON.parse(s.responseText))}catch(t){return n.Log.error("JsonService.getJson: Error parsing JSON response",t.message),void o(t)}}o(Error("Invalid response Content-Type: "+e+", from URL: "+t))}else o(Error(s.statusText+" ("+s.status+")"))},s.onerror=function(){n.Log.error("JsonService.getJson: network error"),o(Error("Network Error"))},e&&(n.Log.debug("JsonService.getJson: token passed, setting Authorization header"),s.setRequestHeader("Authorization","Bearer "+e)),s.send()}))},t.prototype.postForm=function(t,e,r){var i=this;if(!t)throw n.Log.error("JsonService.postForm: No url passed"),new Error("url");return n.Log.debug("JsonService.postForm, url: ",t),new Promise((function(o,s){var a=new i._XMLHttpRequest;a.open("POST",t);var c=i._contentTypes;a.onload=function(){if(n.Log.debug("JsonService.postForm: HTTP response received, status",a.status),200!==a.status){if(400===a.status&&(r=a.getResponseHeader("Content-Type"))&&c.find((function(t){if(r.startsWith(t))return!0})))try{var e=JSON.parse(a.responseText);if(e&&e.error)return n.Log.error("JsonService.postForm: Error from server: ",e.error),void s(new Error(e.error))}catch(t){return n.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"))&&c.find((function(t){if(r.startsWith(t))return!0})))try{return void o(JSON.parse(a.responseText))}catch(t){return n.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(){n.Log.error("JsonService.postForm: network error"),s(Error("Network Error"))};var h="";for(var u in e){var l=e[u];l&&(h.length>0&&(h+="&"),h+=encodeURIComponent(u),h+="=",h+=encodeURIComponent(l))}a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),void 0!==r&&a.setRequestHeader("Authorization","Basic "+btoa(r)),a.send(h)}))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SigninRequest=void 0;var n=r(0),i=r(3),o=r(13);e.SigninRequest=function(){function t(e){var r=e.url,s=e.client_id,a=e.redirect_uri,c=e.response_type,h=e.scope,u=e.authority,l=e.data,p=e.prompt,d=e.display,m=e.max_age,f=e.ui_locales,g=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,T=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 n.Log.error("SigninRequest.ctor: No url passed"),new Error("url");if(!s)throw n.Log.error("SigninRequest.ctor: No client_id passed"),new Error("client_id");if(!a)throw n.Log.error("SigninRequest.ctor: No redirect_uri passed"),new Error("redirect_uri");if(!c)throw n.Log.error("SigninRequest.ctor: No response_type passed"),new Error("response_type");if(!h)throw n.Log.error("SigninRequest.ctor: No scope passed"),new Error("scope");if(!u)throw n.Log.error("SigninRequest.ctor: No authority passed"),new Error("authority");var F=t.isOidc(c),R=t.isCode(c);b||(b=t.isCode(c)?"query":null),this.state=new o.SigninState({nonce:F,data:l,client_id:s,authority:u,redirect_uri:a,code_verifier:R,request_type:C,response_mode:b,client_secret:P,scope:h,extraTokenParams:T,skipUserInfo:k}),r=i.UrlUtility.addQueryParam(r,"client_id",s),r=i.UrlUtility.addQueryParam(r,"redirect_uri",a),r=i.UrlUtility.addQueryParam(r,"response_type",c),r=i.UrlUtility.addQueryParam(r,"scope",h),r=i.UrlUtility.addQueryParam(r,"state",this.state.id),F&&(r=i.UrlUtility.addQueryParam(r,"nonce",this.state.nonce)),R&&(r=i.UrlUtility.addQueryParam(r,"code_challenge",this.state.code_challenge),r=i.UrlUtility.addQueryParam(r,"code_challenge_method","S256"));var x={prompt:p,display:d,max_age:m,ui_locales:f,id_token_hint:g,login_hint:w,acr_values:v,resource:y,request:S,request_uri:A,response_mode:b};for(var O in x)x[O]&&(r=i.UrlUtility.addQueryParam(r,O,x[O]));for(var D in E)r=i.UrlUtility.addQueryParam(r,D,E[D]);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 n,i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),s=(n=r(14))&&n.__esModule?n:{default:n};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,n=e.data,i=e.created,o=e.request_type;a(this,t),this._id=r||(0,s.default)(),this._data=n,this._created="number"==typeof i&&i>0?i:parseInt(Date.now()/1e3),this._request_type=o}return t.prototype.toStorageString=function(){return o.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 o.Log.debug("State.fromStorageString"),new t(JSON.parse(e))},t.clearStaleState=function(e,r){var n=Date.now()/1e3-r;return e.getAllKeys().then((function(r){o.Log.debug("State.clearStaleState: got keys",r);for(var i=[],s=function(s){var a=r[s];c=e.get(a).then((function(r){var i=!1;if(r)try{var s=t.fromStorageString(r);o.Log.debug("State.clearStaleState: got item from key: ",a,s.created),s.created<=n&&(i=!0)}catch(t){o.Log.error("State.clearStaleState: Error parsing state for key",a,t.message),i=!0}else o.Log.debug("State.clearStaleState: no item in storage for key: ",a),i=!0;if(i)return o.Log.debug("State.clearStaleState: removed item for key: ",a),e.remove(a)})),i.push(c)},a=0;a<r.length;a++){var c;s(a)}return o.Log.debug("State.clearStaleState: waiting on promise count:",i.length),Promise.all(i)}))},i(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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(5),s=r(12),a=r(8),c=r(34),h=r(35),u=r(36),l=r(13),p=r(9);function d(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]:{};d(this,t),this._settings=e instanceof o.OidcClientSettings?e:new o.OidcClientSettings(e)}return t.prototype.createSigninRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.response_type,n=e.scope,o=e.redirect_uri,s=e.data,c=e.state,h=e.prompt,u=e.display,l=e.max_age,p=e.ui_locales,d=e.id_token_hint,m=e.login_hint,f=e.acr_values,g=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];i.Log.debug("OidcClient.createSigninRequest");var P=this._settings.client_id;n=n||this._settings.scope,o=o||this._settings.redirect_uri,h=h||this._settings.prompt,u=u||this._settings.display,l=l||this._settings.max_age,p=p||this._settings.ui_locales,f=f||this._settings.acr_values,g=g||this._settings.resource,y=y||this._settings.response_mode,b=b||this._settings.extraQueryParams,S=S||this._settings.extraTokenParams;var T=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){i.Log.debug("OidcClient.createSigninRequest: Received authorization endpoint",e);var k=new a.SigninRequest({url:e,client_id:P,redirect_uri:o,response_type:r,scope:n,data:s||c,authority:T,prompt:h,display:u,max_age:l,ui_locales:p,id_token_hint:d,login_hint:m,acr_values:f,resource:g,request:w,request_uri:v,extraQueryParams:b,extraTokenParams:S,request_type:A,response_mode:y,client_secret:t._settings.client_secret,skipUserInfo:E}),F=k.state;return(C=C||t._stateStore).set(F.id,F.toStorageString()).then((function(){return k}))}))},t.prototype.readSigninResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSigninResponseState");var n="query"===this._settings.response_mode||!this._settings.response_mode&&a.SigninRequest.isCode(this._settings.response_type),o=n?"?":"#",s=new c.SigninResponse(t,o);if(!s.state)return i.Log.error("OidcClient.readSigninResponseState: No state in response"),Promise.reject(new Error("No state in response"));e=e||this._stateStore;var h=r?e.remove.bind(e):e.get.bind(e);return h(s.state).then((function(t){if(!t)throw i.Log.error("OidcClient.readSigninResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:l.SigninState.fromStorageString(t),response:s}}))},t.prototype.processSigninResponse=function(t,e){var r=this;return i.Log.debug("OidcClient.processSigninResponse"),this.readSigninResponseState(t,e,!0).then((function(t){var e=t.state,n=t.response;return i.Log.debug("OidcClient.processSigninResponse: Received state from storage; validating response"),r._validator.validateSigninResponse(e,n)}))},t.prototype.createSignoutRequest=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id_token_hint,n=e.data,o=e.state,s=e.post_logout_redirect_uri,a=e.extraQueryParams,c=e.request_type,u=arguments[1];return i.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 i.Log.error("OidcClient.createSignoutRequest: No end session endpoint url returned"),new Error("no end session endpoint");i.Log.debug("OidcClient.createSignoutRequest: Received end session endpoint",e);var l=new h.SignoutRequest({url:e,id_token_hint:r,post_logout_redirect_uri:s,data:n||o,extraQueryParams:a,request_type:c}),p=l.state;return p&&(i.Log.debug("OidcClient.createSignoutRequest: Signout request has state to persist"),(u=u||t._stateStore).set(p.id,p.toStorageString())),l}))},t.prototype.readSignoutResponseState=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];i.Log.debug("OidcClient.readSignoutResponseState");var n=new u.SignoutResponse(t);if(!n.state)return i.Log.debug("OidcClient.readSignoutResponseState: No state in response"),n.error?(i.Log.warn("OidcClient.readSignoutResponseState: Response was error: ",n.error),Promise.reject(new s.ErrorResponse(n))):Promise.resolve({state:void 0,response:n});var o=n.state;e=e||this._stateStore;var a=r?e.remove.bind(e):e.get.bind(e);return a(o).then((function(t){if(!t)throw i.Log.error("OidcClient.readSignoutResponseState: No matching state found in storage"),new Error("No matching state found in storage");return{state:p.State.fromStorageString(t),response:n}}))},t.prototype.processSignoutResponse=function(t,e){var r=this;return i.Log.debug("OidcClient.processSignoutResponse"),this.readSignoutResponseState(t,e,!0).then((function(t){var e=t.state,n=t.response;return e?(i.Log.debug("OidcClient.processSignoutResponse: Received state from storage; validating response"),r._validator.validateSignoutResponse(e,n)):(i.Log.debug("OidcClient.processSignoutResponse: No state from storage; skipping validating response"),n)}))},t.prototype.clearStaleState=function(t){return i.Log.debug("OidcClient.clearStaleState"),p.State.clearStaleState(t=t||this._stateStore,this.settings.staleStateAge)},n(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 n=r(7),i=r(2),o=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]:n.JsonService,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw o.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,n=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"!=n?("client_secret_basic"==n&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeCode: Received token endpoint"),t._jsonService.postForm(n,e,r).then((function(t){return o.Log.debug("TokenClient.exchangeCode: response received"),t}))}))):(o.Log.error("TokenClient.exchangeCode: No client_secret passed"),Promise.reject(new Error("A client_secret is required"))):(o.Log.error("TokenClient.exchangeCode: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.Log.error("TokenClient.exchangeCode: No code_verifier passed"),Promise.reject(new Error("A code_verifier is required"))):(o.Log.error("TokenClient.exchangeCode: No redirect_uri passed"),Promise.reject(new Error("A redirect_uri is required"))):(o.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,n=e._client_authentication||this._settings._client_authentication;return delete e._client_authentication,e.refresh_token?e.client_id?("client_secret_basic"==n&&(r=e.client_id+":"+e.client_secret,delete e.client_id,delete e.client_secret),this._metadataService.getTokenEndpoint(!1).then((function(n){return o.Log.debug("TokenClient.exchangeRefreshToken: Received token endpoint"),t._jsonService.postForm(n,e,r).then((function(t){return o.Log.debug("TokenClient.exchangeRefreshToken: response received"),t}))}))):(o.Log.error("TokenClient.exchangeRefreshToken: No client_id passed"),Promise.reject(new Error("A client_id is required"))):(o.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 n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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,c=r.error_uri,h=r.state,u=r.session_state;if(i(this,e),!s)throw n.Log.error("No error passed to ErrorResponse"),new Error("error");var l=o(this,t.call(this,a||s));return l.name="ErrorResponse",l.error=s,l.error_description=a,l.error_uri=c,l.state=h,l.session_state=u,l}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 n,i=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),o=r(0),s=r(9),a=r(4),c=(n=r(14))&&n.__esModule?n:{default:n};function h(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]:{},n=r.nonce,i=r.authority,o=r.client_id,s=r.redirect_uri,l=r.code_verifier,p=r.response_mode,d=r.client_secret,m=r.scope,f=r.extraTokenParams,g=r.skipUserInfo;h(this,e);var w=u(this,t.call(this,arguments[0]));if(!0===n?w._nonce=(0,c.default)():n&&(w._nonce=n),!0===l?w._code_verifier=(0,c.default)()+(0,c.default)()+(0,c.default)():l&&(w._code_verifier=l),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=i,w._client_id=o,w._response_mode=p,w._client_secret=d,w._scope=m,w._extraTokenParams=f,w._skipUserInfo=g,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 o.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 o.Log.debug("SigninState.fromStorageString"),new e(JSON.parse(t))},i(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?n:i)().replace(/-/g,"")};var r="undefined"!=typeof window?window.crypto||window.msCrypto:null;function n(){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 i(){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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0);e.User=function(){function t(e){var r=e.id_token,n=e.session_state,i=e.access_token,o=e.refresh_token,s=e.token_type,a=e.scope,c=e.profile,h=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=n,this.access_token=i,this.refresh_token=o,this.token_type=s,this.scope=a,this.profile=c,this.expires_at=h,this.state=u}return t.prototype.toStorageString=function(){return i.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 i.Log.debug("User.fromStorageString"),new t(JSON.parse(e))},n(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 n=r(0),i=r(46);function o(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,n=void 0===r?60:r,s=e.accessTokenExpiringTimer,a=void 0===s?new i.Timer("Access token expiring"):s,c=e.accessTokenExpiredTimer,h=void 0===c?new i.Timer("Access token expired"):c;o(this,t),this._accessTokenExpiringNotificationTime=n,this._accessTokenExpiring=a,this._accessTokenExpired=h}return t.prototype.load=function(t){if(t.access_token&&void 0!==t.expires_in){var e=t.expires_in;if(n.Log.debug("AccessTokenEvents.load: access token present, remaining duration:",e),e>0){var r=e-this._accessTokenExpiringNotificationTime;r<=0&&(r=1),n.Log.debug("AccessTokenEvents.load: registering expiring timer in:",r),this._accessTokenExpiring.init(r)}else n.Log.debug("AccessTokenEvents.load: canceling existing expiring timer becase we're past expiration."),this._accessTokenExpiring.cancel();var i=e+1;n.Log.debug("AccessTokenEvents.load: registering expired timer in:",i),this._accessTokenExpired.init(i)}else this._accessTokenExpiring.cancel(),this._accessTokenExpired.cancel()},t.prototype.unload=function(){n.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 n=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(){n.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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=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,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.CheckSessionIFrame,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.Global.timer;if(a(this,t),!e)throw i.Log.error("SessionMonitor.ctor: No user manager passed to SessionMonitor"),new Error("userManager");this._userManager=e,this._CheckSessionIFrameCtor=n,this._timer=c,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){i.Log.error("SessionMonitor ctor: error from querySessionStatus:",t.message)}))})).catch((function(t){i.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,i.Log.debug("SessionMonitor._start: session_state:",r,", sub:",this._sub)):(this._sub=void 0,this._sid=void 0,i.Log.debug("SessionMonitor._start: session_state:",r,", anonymous user")),this._checkSessionIFrame?this._checkSessionIFrame.start(r):this._metadataService.getCheckSessionIframe().then((function(t){if(t){i.Log.debug("SessionMonitor._start: Initializing check session iframe");var n=e._client_id,o=e._checkSessionInterval,s=e._stopCheckSessionOnError;e._checkSessionIFrame=new e._CheckSessionIFrameCtor(e._callback.bind(e),n,t,o,s),e._checkSessionIFrame.load().then((function(){e._checkSessionIFrame.start(r)}))}else i.Log.warn("SessionMonitor._start: No check session iframe found in the metadata")})).catch((function(t){i.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&&(i.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){i.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?i.Log.debug("SessionMonitor._callback: Same sub still logged in at OP, restarting check session iframe; session_state:",e.session_state):(i.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())):i.Log.debug("SessionMonitor._callback: Different subject signed into OP:",e.sub):i.Log.debug("SessionMonitor._callback: Subject no longer signed into OP"),r&&(t._sub?(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed out event"),t._userManager.events._raiseUserSignedOut()):(i.Log.debug("SessionMonitor._callback: SessionMonitor._callback; raising signed in event"),t._userManager.events._raiseUserSignedIn()))})).catch((function(e){t._sub&&(i.Log.debug("SessionMonitor._callback: Error calling queryCurrentSigninSession; raising signed out event",e.message),t._userManager.events._raiseUserSignedOut())}))},n(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 n=r(0);function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.CheckSessionIFrame=function(){function t(e,r,n,o){var s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];i(this,t),this._callback=e,this._client_id=r,this._url=n,this._interval=o||2e3,this._stopOnError=s;var a=n.indexOf("/",n.indexOf("//")+2);this._frame_origin=n.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=n}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?(n.Log.error("CheckSessionIFrame: error message from check session op iframe"),this._stopOnError&&this.stop()):"changed"===t.data?(n.Log.debug("CheckSessionIFrame: changed message from check session op iframe"),this.stop(),this._callback()):n.Log.debug("CheckSessionIFrame: "+t.data+" message from check session op iframe"))},t.prototype.start=function(t){var e=this;if(this._session_state!==t){n.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&&(n.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 n=r(0),i=r(2),o=r(1);function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a="access_token",c="refresh_token";e.TokenRevocationClient=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.XMLHttpRequest,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService;if(s(this,t),!e)throw n.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,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"access_token";if(!t)throw n.Log.error("TokenRevocationClient.revoke: No token provided"),new Error("No token provided.");if(i!==a&&i!=c)throw n.Log.error("TokenRevocationClient.revoke: Invalid token type"),new Error("Invalid token type.");return this._metadataService.getRevocationEndpoint().then((function(o){if(o)return n.Log.debug("TokenRevocationClient.revoke: Revoking "+i),r._revoke(o,r._settings.client_id,r._settings.client_secret,t,i);if(e)throw n.Log.error("TokenRevocationClient.revoke: Revocation not supported"),new Error("Revocation not supported")}))},t.prototype._revoke=function(t,e,r,i,o){var s=this;return new Promise((function(a,c){var h=new s._XMLHttpRequestCtor;h.open("POST",t),h.onload=function(){n.Log.debug("TokenRevocationClient.revoke: HTTP response received, status",h.status),200===h.status?a():c(Error(h.statusText+" ("+h.status+")"))},h.onerror=function(){n.Log.debug("TokenRevocationClient.revoke: Network Error."),c("Network Error")};var u="client_id="+encodeURIComponent(e);r&&(u+="&client_secret="+encodeURIComponent(r)),u+="&token_type_hint="+encodeURIComponent(o),u+="&token="+encodeURIComponent(i),h.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),h.send(u)}))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaPopupWindow=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=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,i.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?(i.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(),i.Log.debug("CordovaPopupWindow: Successful response from cordova popup window"),this._resolve(t)},t.prototype._error=function(t){this._cleanup(),i.Log.error(t),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup()},t.prototype._cleanup=function(){this._popup&&(i.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},n(t,[{key:"promise",get:function(){return this._promise}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0});var n=r(0),i=r(10),o=r(5),s=r(6),a=r(37),c=r(38),h=r(16),u=r(2),l=r(48),p=r(49),d=r(19),m=r(20),f=r(18),g=r(1),w=r(15),v=r(50);e.default={Version:v.Version,Log:n.Log,OidcClient:i.OidcClient,OidcClientSettings:o.OidcClientSettings,WebStorageStateStore:s.WebStorageStateStore,InMemoryWebStorage:a.InMemoryWebStorage,UserManager:c.UserManager,AccessTokenEvents:h.AccessTokenEvents,MetadataService:u.MetadataService,CordovaPopupNavigator:l.CordovaPopupNavigator,CordovaIFrameNavigator:p.CordovaIFrameNavigator,CheckSessionIFrame:d.CheckSessionIFrame,TokenRevocationClient:m.TokenRevocationClient,SessionMonitor:f.SessionMonitor,Global:g.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 n="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},i=r(0),o=r(2),s=r(25),a=r(11),c=r(12),h=r(4);function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var l=["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]:o.MetadataService,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.UserInfoService,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h.JoseUtil,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:a.TokenClient;if(u(this,t),!e)throw i.Log.error("ResponseValidator.ctor: No settings passed to ResponseValidator"),new Error("settings");this._settings=e,this._metadataService=new r(this._settings),this._userInfoService=new n(this._settings),this._joseUtil=c,this._tokenClient=new l(this._settings)}return t.prototype.validateSigninResponse=function(t,e){var r=this;return i.Log.debug("ResponseValidator.validateSigninResponse"),this._processSigninParams(t,e).then((function(e){return i.Log.debug("ResponseValidator.validateSigninResponse: state processed"),r._validateTokens(t,e).then((function(e){return i.Log.debug("ResponseValidator.validateSigninResponse: tokens validated"),r._processClaims(t,e).then((function(t){return i.Log.debug("ResponseValidator.validateSigninResponse: claims processed"),t}))}))}))},t.prototype.validateSignoutResponse=function(t,e){return t.id!==e.state?(i.Log.error("ResponseValidator.validateSignoutResponse: State does not match"),Promise.reject(new Error("State does not match"))):(i.Log.debug("ResponseValidator.validateSignoutResponse: state validated"),e.state=t.data,e.error?(i.Log.warn("ResponseValidator.validateSignoutResponse: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):Promise.resolve(e))},t.prototype._processSigninParams=function(t,e){if(t.id!==e.state)return i.Log.error("ResponseValidator._processSigninParams: State does not match"),Promise.reject(new Error("State does not match"));if(!t.client_id)return i.Log.error("ResponseValidator._processSigninParams: No client_id on state"),Promise.reject(new Error("No client_id on state"));if(!t.authority)return i.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 i.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 i.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 i.Log.debug("ResponseValidator._processSigninParams: state validated"),e.state=t.data,e.error?(i.Log.warn("ResponseValidator._processSigninParams: Response was error",e.error),Promise.reject(new c.ErrorResponse(e))):t.nonce&&!e.id_token?(i.Log.error("ResponseValidator._processSigninParams: Expecting id_token in response"),Promise.reject(new Error("No id_token in response"))):!t.nonce&&e.id_token?(i.Log.error("ResponseValidator._processSigninParams: Not expecting id_token in response"),Promise.reject(new Error("Unexpected id_token in response"))):t.code_verifier&&!e.code?(i.Log.error("ResponseValidator._processSigninParams: Expecting code in response"),Promise.reject(new Error("No code in response"))):!t.code_verifier&&e.code?(i.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(i.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 i.Log.debug("ResponseValidator._processClaims: loading user info"),this._userInfoService.getClaims(e.access_token).then((function(t){return i.Log.debug("ResponseValidator._processClaims: user info claims received from user info endpoint"),t.sub!==e.profile.sub?(i.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),i.Log.debug("ResponseValidator._processClaims: user info claims received, updated profile:",e.profile),e)}));i.Log.debug("ResponseValidator._processClaims: not loading user info")}else i.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 i in e){var o=e[i];Array.isArray(o)||(o=[o]);for(var s=0;s<o.length;s++){var a=o[s];r[i]?Array.isArray(r[i])?r[i].indexOf(a)<0&&r[i].push(a):r[i]!==a&&(r[i]="object"===(void 0===a?"undefined":n(a))&&this._settings.mergeClaims?this._mergeClaims(r[i],a):[r[i],a]):r[i]=a}}return r},t.prototype._filterProtocolClaims=function(t){i.Log.debug("ResponseValidator._filterProtocolClaims, incoming claims:",t);var e=Object.assign({},t);return this._settings._filterProtocolClaims?(l.forEach((function(t){delete e[t]})),i.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims filtered",e)):i.Log.debug("ResponseValidator._filterProtocolClaims: protocol claims not filtered"),e},t.prototype._validateTokens=function(t,e){return e.code?(i.Log.debug("ResponseValidator._validateTokens: Validating code"),this._processCode(t,e)):e.id_token?e.access_token?(i.Log.debug("ResponseValidator._validateTokens: Validating id_token and access_token"),this._validateIdTokenAndAccessToken(t,e)):(i.Log.debug("ResponseValidator._validateTokens: Validating id_token"),this._validateIdToken(t,e)):(i.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,o={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"===n(t.extraTokenParams)&&Object.assign(o,t.extraTokenParams),this._tokenClient.exchangeCode(o).then((function(n){for(var o in n)e[o]=n[o];return e.id_token?(i.Log.debug("ResponseValidator._processCode: token response successful, processing id_token"),r._validateIdTokenAttributes(t,e)):(i.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(n){var o=t.client_id,s=r._settings.clockSkew;return i.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,n,o,s,a).then((function(r){return t.nonce&&t.nonce!==r.nonce?(i.Log.error("ResponseValidator._validateIdTokenAttributes: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):r.sub?(e.profile=r,e):(i.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 n=t.header.kid;if(!r)return i.Log.error("ResponseValidator._validateIdToken: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));i.Log.debug("ResponseValidator._validateIdToken: Received signing keys");var o=void 0;if(n)o=r.filter((function(t){return t.kid===n}))[0];else{if((r=e._filterByAlg(r,t.header.alg)).length>1)return i.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"));o=r[0]}return Promise.resolve(o)}))},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 i.Log.error("ResponseValidator._validateIdToken: No nonce on state"),Promise.reject(new Error("No nonce on state"));var n=this._joseUtil.parseJwt(e.id_token);return n&&n.header&&n.payload?t.nonce!==n.payload.nonce?(i.Log.error("ResponseValidator._validateIdToken: Invalid nonce in id_token"),Promise.reject(new Error("Invalid nonce in id_token"))):this._metadataService.getIssuer().then((function(o){return i.Log.debug("ResponseValidator._validateIdToken: Received issuer"),r._getSigningKeyForJwtWithSingleRetry(n).then((function(s){if(!s)return i.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,c=r._settings.clockSkew;return i.Log.debug("ResponseValidator._validateIdToken: Validaing JWT; using clock skew (in seconds) of: ",c),r._joseUtil.validateJwt(e.id_token,s,o,a,c).then((function(){return i.Log.debug("ResponseValidator._validateIdToken: JWT validation successful"),n.payload.sub?(e.profile=n.payload,e):(i.Log.error("ResponseValidator._validateIdToken: No sub present in id_token"),Promise.reject(new Error("No sub present in id_token")))}))}))})):(i.Log.error("ResponseValidator._validateIdToken: Failed to parse id_token",n),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 i.Log.debug("ResponseValidator._filterByAlg: alg not supported: ",e),[];r="EC"}return i.Log.debug("ResponseValidator._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),i.Log.debug("ResponseValidator._filterByAlg: Number of keys that match kty: ",r,t.length),t},t.prototype._validateAccessToken=function(t){if(!t.profile)return i.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 i.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 i.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 i.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 i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r),Promise.reject(new Error("Unsupported alg: "+r));var n=r.substr(2,3);if(!n)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,n),Promise.reject(new Error("Unsupported alg: "+r));if(256!==(n=parseInt(n))&&384!==n&&512!==n)return i.Log.error("ResponseValidator._validateAccessToken: Unsupported alg:",r,n),Promise.reject(new Error("Unsupported alg: "+r));var o="sha"+n,s=this._joseUtil.hashString(t.access_token,o);if(!s)return i.Log.error("ResponseValidator._validateAccessToken: access_token hash failed:",o),Promise.reject(new Error("Failed to validate at_hash"));var a=s.substr(0,s.length/2),c=this._joseUtil.hexToBase64Url(a);return c!==t.profile.at_hash?(i.Log.error("ResponseValidator._validateAccessToken: Failed to validate at_hash",c,t.profile.at_hash),Promise.reject(new Error("Failed to validate at_hash"))):(i.Log.debug("ResponseValidator._validateAccessToken: success"),Promise.resolve(t))},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserInfoService=void 0;var n=r(7),i=r(2),o=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]:n.JsonService,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.MetadataService,h=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.JoseUtil;if(a(this,t),!e)throw o.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 c(this._settings),this._joseUtil=h}return t.prototype.getClaims=function(t){var e=this;return t?this._metadataService.getUserInfoEndpoint().then((function(r){return o.Log.debug("UserInfoService.getClaims: received userinfo url",r),e._jsonService.getJson(r,t).then((function(t){return o.Log.debug("UserInfoService.getClaims: claims received",t),t}))})):(o.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 o.Log.error("UserInfoService._getClaimsFromJwt: Failed to parse JWT",r),Promise.reject(new Error("Failed to parse id_token"));var n=r.header.kid,i=void 0;switch(this._settings.userInfoJwtIssuer){case"OP":i=this._metadataService.getIssuer();break;case"ANY":i=Promise.resolve(r.payload.iss);break;default:i=Promise.resolve(this._settings.userInfoJwtIssuer)}return i.then((function(i){return o.Log.debug("UserInfoService._getClaimsFromJwt: Received issuer:"+i),e._metadataService.getSigningKeys().then((function(s){if(!s)return o.Log.error("UserInfoService._getClaimsFromJwt: No signing keys from metadata"),Promise.reject(new Error("No signing keys from metadata"));o.Log.debug("UserInfoService._getClaimsFromJwt: Received signing keys");var a=void 0;if(n)a=s.filter((function(t){return t.kid===n}))[0];else{if((s=e._filterByAlg(s,r.header.alg)).length>1)return o.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 o.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 c=e._settings.client_id,h=e._settings.clockSkew;return o.Log.debug("UserInfoService._getClaimsFromJwt: Validaing JWT; using clock skew (in seconds) of: ",h),e._joseUtil.validateJwt(t.responseText,a,i,c,h,void 0,!0).then((function(){return o.Log.debug("UserInfoService._getClaimsFromJwt: JWT validation successful"),r.payload}))}))}))}catch(t){return o.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 o.Log.debug("UserInfoService._filterByAlg: alg not supported: ",e),[];r="EC"}return o.Log.debug("UserInfoService._filterByAlg: Looking for keys that match kty: ",r),t=t.filter((function(t){return t.kty===r})),o.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 n=r(27);e.jws=n.jws,e.KeyUtil=n.KEYUTIL,e.X509=n.X509,e.crypto=n.crypto,e.hextob64u=n.hextob64u,e.b64tohex=n.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,n,i,o,s,a,c,h,u,l,p,d,m,f,g,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,i=(n={}).lib={},o=i.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=i.WordArray=o.extend({init:function(t,e){t=this.words=t||[],this.sigBytes=null!=e?e:4*t.length},toString:function(t){return(t||c).stringify(this)},concat:function(t){var e=this.words,r=t.words,n=this.sigBytes,i=t.sigBytes;if(this.clamp(),n%4)for(var o=0;o<i;o++)e[n+o>>>2]|=(r[o>>>2]>>>24-o%4*8&255)<<24-(n+o)%4*8;else for(o=0;o<i;o+=4)e[n+o>>>2]=r[o>>>2];return this.sigBytes+=i,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=o.clone.call(this);return t.words=this.words.slice(0),t},random:function(t){for(var e=[],n=0;n<t;n+=4)e.push(4294967296*r.random()|0);return new s.init(e,t)}}),a=n.enc={},c=a.Hex={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++){var o=e[i>>>2]>>>24-i%4*8&255;n.push((o>>>4).toString(16)),n.push((15&o).toString(16))}return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n+=2)r[n>>>3]|=parseInt(t.substr(n,2),16)<<24-n%8*4;return new s.init(r,e/2)}},h=a.Latin1={stringify:function(t){for(var e=t.words,r=t.sigBytes,n=[],i=0;i<r;i++)n.push(String.fromCharCode(e[i>>>2]>>>24-i%4*8&255));return n.join("")},parse:function(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n>>>2]|=(255&t.charCodeAt(n))<<24-n%4*8;return new s.init(r,e)}},u=a.Utf8={stringify:function(t){try{return decodeURIComponent(escape(h.stringify(t)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(t){return h.parse(unescape(encodeURIComponent(t)))}},l=i.BufferedBlockAlgorithm=o.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,n=e.words,i=e.sigBytes,o=this.blockSize,a=i/(4*o),c=(a=t?r.ceil(a):r.max((0|a)-this._minBufferSize,0))*o,h=r.min(4*c,i);if(c){for(var u=0;u<c;u+=o)this._doProcessBlock(n,u);var l=n.splice(0,c);e.sigBytes-=h}return new s.init(l,h)},clone:function(){var t=o.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),i.Hasher=l.extend({cfg:o.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){l.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 p.HMAC.init(t,r).finalize(e)}}}),p=n.algo={},n);m=(d=y).lib,f=m.Base,g=m.WordArray,(d=d.x64={}).Word=f.extend({init:function(t,e){this.high=t,this.low=e}}),d.WordArray=f.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=[],n=0;n<e;n++){var i=t[n];r.push(i.high),r.push(i.low)}return g.create(r,this.sigBytes)},clone:function(){for(var t=f.clone.call(this),e=t.words=this.words.slice(0),r=e.length,n=0;n<r;n++)e[n]=e[n].clone();return t}}),function(){var t=y.lib.WordArray;y.enc.Base64={stringify:function(t){var e=t.words,r=t.sigBytes,n=this._map;t.clamp(),t=[];for(var i=0;i<r;i+=3)for(var o=(e[i>>>2]>>>24-i%4*8&255)<<16|(e[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|e[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;4>s&&i+.75*s<r;s++)t.push(n.charAt(o>>>6*(3-s)&63));if(e=n.charAt(64))for(;t.length%4;)t.push(e);return t.join("")},parse:function(e){var r=e.length,n=this._map;(i=n.charAt(64))&&-1!=(i=e.indexOf(i))&&(r=i);for(var i=[],o=0,s=0;s<r;s++)if(s%4){var a=n.indexOf(e.charAt(s-1))<<s%4*2,c=n.indexOf(e.charAt(s))>>>6-s%4*2;i[o>>>2]|=(a|c)<<24-o%4*8,o++}return t.create(i,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}}(),function(t){for(var e=y,r=(i=e.lib).WordArray,n=i.Hasher,i=e.algo,o=[],s=[],a=function(t){return 4294967296*(t-(0|t))|0},c=2,h=0;64>h;){var u;t:{for(var l=t.sqrt(u=c),p=2;p<=l;p++)if(!(u%p)){u=!1;break t}u=!0}u&&(8>h&&(o[h]=a(t.pow(c,.5))),s[h]=a(t.pow(c,1/3)),h++),c++}var d=[];i=i.SHA256=n.extend({_doReset:function(){this._hash=new r.init(o.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],o=r[2],a=r[3],c=r[4],h=r[5],u=r[6],l=r[7],p=0;64>p;p++){if(16>p)d[p]=0|t[e+p];else{var m=d[p-15],f=d[p-2];d[p]=((m<<25|m>>>7)^(m<<14|m>>>18)^m>>>3)+d[p-7]+((f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10)+d[p-16]}m=l+((c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25))+(c&h^~c&u)+s[p]+d[p],f=((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+(n&i^n&o^i&o),l=u,u=h,h=c,c=a+m|0,a=o,o=i,i=n,n=m+f|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+o|0,r[3]=r[3]+a|0,r[4]=r[4]+c|0,r[5]=r[5]+h|0,r[6]=r[6]+u|0,r[7]=r[7]+l|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=n.clone.call(this);return t._hash=this._hash.clone(),t}}),e.SHA256=n._createHelper(i),e.HmacSHA256=n._createHmacHelper(i)}(Math),function(){function t(){return n.create.apply(n,arguments)}for(var e=y,r=e.lib.Hasher,n=(o=e.x64).Word,i=o.WordArray,o=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=[],c=0;80>c;c++)a[c]=t();o=o.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=(l=this._hash.words)[0],n=l[1],i=l[2],o=l[3],c=l[4],h=l[5],u=l[6],l=l[7],p=r.high,d=r.low,m=n.high,f=n.low,g=i.high,w=i.low,v=o.high,y=o.low,b=c.high,S=c.low,A=h.high,E=h.low,C=u.high,P=u.low,T=l.high,k=l.low,F=p,R=d,x=m,O=f,D=g,I=w,M=v,_=y,j=b,N=S,L=A,B=E,U=C,H=P,W=T,q=k,V=0;80>V;V++){var G=a[V];if(16>V)var J=G.high=0|t[e+2*V],K=G.low=0|t[e+2*V+1];else{J=((K=(J=a[V-15]).high)>>>1|(z=J.low)<<31)^(K>>>8|z<<24)^K>>>7;var z=(z>>>1|K<<31)^(z>>>8|K<<24)^(z>>>7|K<<25),$=((K=($=a[V-2]).high)>>>19|(X=$.low)<<13)^(K<<3|X>>>29)^K>>>6,X=(X>>>19|K<<13)^(X<<3|K>>>29)^(X>>>6|K<<26),Q=(K=a[V-7]).high,Y=(Z=a[V-16]).high,Z=Z.low;J=(J=(J=J+Q+((K=z+K.low)>>>0<z>>>0?1:0))+$+((K+=X)>>>0<X>>>0?1:0))+Y+((K+=Z)>>>0<Z>>>0?1:0),G.high=J,G.low=K}Q=j&L^~j&U,Z=N&B^~N&H,G=F&x^F&D^x&D;var tt=R&O^R&I^O&I,et=(z=(F>>>28|R<<4)^(F<<30|R>>>2)^(F<<25|R>>>7),$=(R>>>28|F<<4)^(R<<30|F>>>2)^(R<<25|F>>>7),(X=s[V]).high),rt=X.low;Y=W+((j>>>14|N<<18)^(j>>>18|N<<14)^(j<<23|N>>>9))+((X=q+((N>>>14|j<<18)^(N>>>18|j<<14)^(N<<23|j>>>9)))>>>0<q>>>0?1:0),W=U,q=H,U=L,H=B,L=j,B=N,j=M+(Y=(Y=(Y=Y+Q+((X+=Z)>>>0<Z>>>0?1:0))+et+((X+=rt)>>>0<rt>>>0?1:0))+J+((X+=K)>>>0<K>>>0?1:0))+((N=_+X|0)>>>0<_>>>0?1:0)|0,M=D,_=I,D=x,I=O,x=F,O=R,F=Y+(G=z+G+((K=$+tt)>>>0<$>>>0?1:0))+((R=X+K|0)>>>0<X>>>0?1:0)|0}d=r.low=d+R,r.high=p+F+(d>>>0<R>>>0?1:0),f=n.low=f+O,n.high=m+x+(f>>>0<O>>>0?1:0),w=i.low=w+I,i.high=g+D+(w>>>0<I>>>0?1:0),y=o.low=y+_,o.high=v+M+(y>>>0<_>>>0?1:0),S=c.low=S+N,c.high=b+j+(S>>>0<N>>>0?1:0),E=h.low=E+B,h.high=A+L+(E>>>0<B>>>0?1:0),P=u.low=P+H,u.high=C+U+(P>>>0<H>>>0?1:0),k=l.low=k+q,l.high=T+W+(k>>>0<q>>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+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(o),e.HmacSHA512=r._createHmacHelper(o)}(),function(){var t=y,e=(i=t.x64).Word,r=i.WordArray,n=(i=t.algo).SHA512,i=i.SHA384=n.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=n._doFinalize.call(this);return t.sigBytes-=16,t}});t.SHA384=n._createHelper(i),t.HmacSHA384=n._createHmacHelper(i)}();var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function S(t){var e,r,n="";for(e=0;e+3<=t.length;e+=3)r=parseInt(t.substring(e,e+3),16),n+=b.charAt(r>>6)+b.charAt(63&r);for(e+1==t.length?(r=parseInt(t.substring(e,e+1),16),n+=b.charAt(r<<2)):e+2==t.length&&(r=parseInt(t.substring(e,e+2),16),n+=b.charAt(r>>2)+b.charAt((3&r)<<4));(3&n.length)>0;)n+="=";return n}function A(t){var e,r,n,i="",o=0;for(e=0;e<t.length&&"="!=t.charAt(e);++e)(n=b.indexOf(t.charAt(e)))<0||(0==o?(i+=R(n>>2),r=3&n,o=1):1==o?(i+=R(r<<2|n>>4),r=15&n,o=2):2==o?(i+=R(r),i+=R(n>>2),r=3&n,o=3):(i+=R(r<<2|n>>4),i+=R(15&n),o=0));return 1==o&&(i+=R(r<<2)),i}function E(t){var e,r=A(t),n=new Array;for(e=0;2*e<r.length;++e)n[e]=parseInt(r.substring(2*e,2*e+2),16);return n}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,n,i,o){for(;--o>=0;){var s=e*this[t++]+r[n]+i;i=Math.floor(s/67108864),r[n++]=67108863&s}return i},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 T,k,F=new Array;for(T="0".charCodeAt(0),k=0;k<=9;++k)F[T++]=k;for(T="a".charCodeAt(0),k=10;k<36;++k)F[T++]=k;for(T="A".charCodeAt(0),k=10;k<36;++k)F[T++]=k;function R(t){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(t)}function x(t,e){var r=F[t.charCodeAt(e)];return null==r?-1:r}function O(t){var e=P();return e.fromInt(t),e}function D(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 M(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 j(t,e){return t|e}function N(t,e){return t^e}function L(t,e){return t&~e}function B(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 U(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function H(){}function W(t){return t}function q(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)},M.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},M.prototype.revert=function(t){var e=P();return t.copyTo(e),this.reduce(e),e},M.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],n=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,n,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)},M.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},M.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 n=t.length,i=!1,o=0;--n>=0;){var s=8==r?255&t[n]:x(t,n);s<0?"-"==t.charAt(n)&&(i=!0):(i=!1,0==o?this[this.t++]=s:o+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-o)-1)<<o,this[this.t++]=s>>this.DB-o):this[this.t-1]|=s<<o,(o+=r)>=this.DB&&(o-=this.DB))}8==r&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<<this.DB-o)-1<<o)),this.clamp(),i&&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,n=t%this.DB,i=this.DB-n,o=(1<<i)-1,s=Math.floor(t/this.DB),a=this.s<<n&this.DM;for(r=this.t-1;r>=0;--r)e[r+s+1]=this[r]>>i|a,a=(this[r]&o)<<n;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 n=t%this.DB,i=this.DB-n,o=(1<<n)-1;e[0]=this[r]>>n;for(var s=r+1;s<this.t;++s)e[s-r-1]|=(this[s]&o)<<i,e[s-r]=this[s]>>n;n>0&&(e[this.t-r-1]|=(this.s&o)<<i),e.t=this.t-r,e.clamp()}},C.prototype.subTo=function(t,e){for(var r=0,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]-t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n-=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n-=t[r],e[r++]=n&this.DM,n>>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},C.prototype.multiplyTo=function(t,e){var r=this.abs(),n=t.abs(),i=r.t;for(e.t=i+n.t;--i>=0;)e[i]=0;for(i=0;i<n.t;++i)e[i+r.t]=r.am(0,n[i],e,i,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 n=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,n,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 n=t.abs();if(!(n.t<=0)){var i=this.abs();if(i.t<n.t)return null!=e&&e.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=P());var o=P(),s=this.s,a=t.s,c=this.DB-D(n[n.t-1]);c>0?(n.lShiftTo(c,o),i.lShiftTo(c,r)):(n.copyTo(o),i.copyTo(r));var h=o.t,u=o[h-1];if(0!=u){var l=u*(1<<this.F1)+(h>1?o[h-2]>>this.F2:0),p=this.FV/l,d=(1<<this.F1)/l,m=1<<this.F2,f=r.t,g=f-h,w=null==e?P():e;for(o.dlShiftTo(g,w),r.compareTo(w)>=0&&(r[r.t++]=1,r.subTo(w,r)),C.ONE.dlShiftTo(h,w),w.subTo(o,o);o.t<h;)o[o.t++]=0;for(;--g>=0;){var v=r[--f]==u?this.DM:Math.floor(r[f]*p+(r[f-1]+m)*d);if((r[f]+=o.am(0,v,r,g,0,h))<v)for(o.dlShiftTo(g,w),r.subTo(w,r);r[f]<--v;)r.subTo(w,r)}null!=e&&(r.drShiftTo(h,e),s!=a&&C.ZERO.subTo(e,e)),r.t=h,r.clamp(),c>0&&r.rShiftTo(c,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(),n=P(),i=e.convert(this),o=D(t)-1;for(i.copyTo(r);--o>=0;)if(e.sqrTo(r,n),(t&1<<o)>0)e.mulTo(n,i,r);else{var s=r;r=n,n=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,n=(1<<e)-1,i=!1,o="",s=this.t,a=this.DB-s*this.DB%e;if(s-- >0)for(a<this.DB&&(r=this[s]>>a)>0&&(i=!0,o=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)&n,a<=0&&(a+=this.DB,--s)),r>0&&(i=!0),i&&(o+=R(r));return i?o:"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)+D(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 M(e),this.exp(t,r)},C.ZERO=O(0),C.ONE=O(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)},q.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},q.prototype.revert=function(t){return t},q.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)},q.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},q.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var V,G,J,K=[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)/K[K.length-1];function $(){this.i=0,this.j=0,this.S=new Array}function X(){!function(t){G[J++]^=255&t,G[J++]^=t>>8&255,G[J++]^=t>>16&255,G[J++]^=t>>24&255,J>=256&&(J-=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),n=O(r),i=P(),o=P(),s="";for(this.divRemTo(n,i,o);i.signum()>0;)s=(r+o.intValue()).toString(t).substr(1)+s,i.divRemTo(n,i,o);return o.intValue().toString(t)+s},C.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var r=this.chunkSize(e),n=Math.pow(e,r),i=!1,o=0,s=0,a=0;a<t.length;++a){var c=x(t,a);c<0?"-"==t.charAt(a)&&0==this.signum()&&(i=!0):(s=e*s+c,++o>=r&&(this.dMultiply(n),this.dAddOffset(s,0),o=0,s=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(s,0)),i&&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),j,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 n=new Array,i=7&t;n.length=1+(t>>3),e.nextBytes(n),i>0?n[0]&=(1<<i)-1:n[0]=0,this.fromString(n,256)}},C.prototype.bitwiseTo=function(t,e,r){var n,i,o=Math.min(t.t,this.t);for(n=0;n<o;++n)r[n]=e(this[n],t[n]);if(t.t<this.t){for(i=t.s&this.DM,n=o;n<this.t;++n)r[n]=e(this[n],i);r.t=this.t}else{for(i=this.s&this.DM,n=o;n<t.t;++n)r[n]=e(i,t[n]);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,n=0,i=Math.min(t.t,this.t);r<i;)n+=this[r]+t[r],e[r++]=n&this.DM,n>>=this.DB;if(t.t<this.t){for(n+=t.s;r<this.t;)n+=this[r],e[r++]=n&this.DM,n>>=this.DB;n+=this.s}else{for(n+=this.s;r<t.t;)n+=t[r],e[r++]=n&this.DM,n>>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[r++]=n:n<-1&&(e[r++]=this.DV+n),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 n,i=Math.min(this.t+t.t,e);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;i<n;++i)r[i+this.t]=this.am(0,t[i],r,i,0,this.t);for(n=Math.min(t.t,e);i<n;++i)this.am(0,t[i],r,i,0,e-i);r.clamp()},C.prototype.multiplyUpperTo=function(t,e,r){--e;var n=r.t=this.t+t.t-e;for(r.s=0;--n>=0;)r[n]=0;for(n=Math.max(e-this.t,0);n<t.t;++n)r[this.t+n-e]=this.am(e-n,t[n],r,0,0,this.t+n-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 n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},C.prototype.millerRabin=function(t){var e=this.subtract(C.ONE),r=e.getLowestSetBit();if(r<=0)return!1;var n=e.shiftRight(r);(t=t+1>>1)>K.length&&(t=K.length);for(var i=P(),o=0;o<t;++o){i.fromInt(K[Math.floor(Math.random()*K.length)]);var s=i.modPow(n,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,n=this.DB-t*this.DB%8,i=0;if(t-- >0)for(n<this.DB&&(r=this[t]>>n)!=(this.s&this.DM)>>n&&(e[i++]=r|this.s<<this.DB-n);t>=0;)n<8?(r=(this[t]&(1<<n)-1)<<8-n,r|=this[--t]>>(n+=this.DB-8)):(r=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(e[i++]=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,j,e),e},C.prototype.xor=function(t){var e=P();return this.bitwiseTo(t,N,e),e},C.prototype.andNot=function(t){var e=P();return this.bitwiseTo(t,L,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+B(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+=U(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,j)},C.prototype.clearBit=function(t){return this.changeBit(t,L)},C.prototype.flipBit=function(t){return this.changeBit(t,N)},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,n,i=t.bitLength(),o=O(1);if(i<=0)return o;r=i<18?1:i<48?3:i<144?4:i<768?5:6,n=i<8?new I(e):e.isEven()?new q(e):new M(e);var s=new Array,a=3,c=r-1,h=(1<<r)-1;if(s[1]=n.convert(this),r>1){var u=P();for(n.sqrTo(s[1],u);a<=h;)s[a]=P(),n.mulTo(u,s[a-2],s[a]),a+=2}var l,p,d=t.t-1,m=!0,f=P();for(i=D(t[d])-1;d>=0;){for(i>=c?l=t[d]>>i-c&h:(l=(t[d]&(1<<i+1)-1)<<c-i,d>0&&(l|=t[d-1]>>this.DB+i-c)),a=r;0==(1&l);)l>>=1,--a;if((i-=a)<0&&(i+=this.DB,--d),m)s[l].copyTo(o),m=!1;else{for(;a>1;)n.sqrTo(o,f),n.sqrTo(f,o),a-=2;a>0?n.sqrTo(o,f):(p=o,o=f,f=p),n.mulTo(f,s[l],o)}for(;d>=0&&0==(t[d]&1<<i);)n.sqrTo(o,f),p=o,o=f,f=p,--i<0&&(i=this.DB-1,--d)}return n.revert(o)},C.prototype.modInverse=function(t){var e=t.isEven();if(this.isEven()&&e||0==t.signum())return C.ZERO;for(var r=t.clone(),n=this.clone(),i=O(1),o=O(0),s=O(0),a=O(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),e?(i.isEven()&&o.isEven()||(i.addTo(this,i),o.subTo(t,o)),i.rShiftTo(1,i)):o.isEven()||o.subTo(t,o),o.rShiftTo(1,o);for(;n.isEven();)n.rShiftTo(1,n),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(n)>=0?(r.subTo(n,r),e&&i.subTo(s,i),o.subTo(a,o)):(n.subTo(r,n),e&&s.subTo(i,s),a.subTo(o,a))}return 0!=n.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 n=e;e=r,r=n}var i=e.getLowestSetBit(),o=r.getLowestSetBit();if(o<0)return e;for(i<o&&(o=i),o>0&&(e.rShiftTo(o,e),r.rShiftTo(o,r));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return o>0&&r.lShiftTo(o,r),r},C.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=K[K.length-1]){for(e=0;e<K.length;++e)if(r[0]==K[e])return!0;return!1}if(r.isEven())return!1;for(e=1;e<K.length;){for(var n=K[e],i=e+1;i<K.length&&n<z;)n*=K[i++];for(n=r.modInt(n);e<i;)if(n%K[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,n;for(e=0;e<256;++e)this.S[e]=e;for(r=0,e=0;e<256;++e)n=this.S[e],this.S[e]=this.S[r=r+this.S[e]+t[e%t.length]&255],this.S[r]=n;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,J=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[J++]=Z[Q]}}for(;J<256;)Q=Math.floor(65536*Math.random()),G[J++]=Q>>>8,G[J++]=255&Q;J=0,X()}function tt(){if(null==V){for(X(),(V=new $).init(G),J=0;J<G.length;++J)G[J]=0;J=0}return V.next()}function et(){}function rt(t,e){return new C(t,e)}function nt(t,e,r){for(var n="",i=0;n.length<e;)n+=r(String.fromCharCode.apply(String,t.concat([(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i]))),i+=1;return n}function it(){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 ot(t,e){this.x=e,this.q=t}function st(t,e,r,n){this.curve=t,this.x=e,this.y=r,this.z=null==n?C.ONE:n,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()},it.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},it.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)}},it.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,n=t.length-1;n>=0&&e>0;){var i=t.charCodeAt(n--);i<128?r[--e]=i:i>127&&i<2048?(r[--e]=63&i|128,r[--e]=i>>6|192):(r[--e]=63&i|128,r[--e]=i>>6&63|128,r[--e]=i>>12|224)}r[--e]=0;for(var o=new et,s=new Array;e>2;){for(s[0]=0;0==s[0];)o.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 n=r.toString(16);return 0==(1&n.length)?n:"0"+n},it.prototype.encryptOAEP=function(t,e,r){var n=function(t,e,r,n){var i=ht.crypto.MessageDigest,o=ht.crypto.Util,s=null;if(r||(r="sha1"),"string"==typeof r&&(s=i.getCanonicalAlgName(r),n=i.getHashLength(s),r=function(t){return Et(o.hashHex(Ct(t),s))}),t.length+2*n+2>e)throw"Message too long for RSA";var a,c="";for(a=0;a<e-t.length-2*n-2;a+=1)c+="\0";var h=r("")+c+""+t,u=new Array(n);(new et).nextBytes(u);var l=nt(u,h.length,r),p=[];for(a=0;a<h.length;a+=1)p[a]=h.charCodeAt(a)^l.charCodeAt(a);var d=nt(p,u.length,r),m=[0];for(a=0;a<u.length;a+=1)m[a+1]=u[a]^d.charCodeAt(a);return new C(m.concat(p))}(t,this.n.bitLength()+7>>3,e,r);if(null==n)return null;var i=this.doPublic(n);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},it.prototype.type="RSA",ot.prototype.equals=function(t){return t==this||this.q.equals(t.q)&&this.x.equals(t.x)},ot.prototype.toBigInteger=function(){return this.x},ot.prototype.negate=function(){return new ot(this.q,this.x.negate().mod(this.q))},ot.prototype.add=function(t){return new ot(this.q,this.x.add(t.toBigInteger()).mod(this.q))},ot.prototype.subtract=function(t){return new ot(this.q,this.x.subtract(t.toBigInteger()).mod(this.q))},ot.prototype.multiply=function(t){return new ot(this.q,this.x.multiply(t.toBigInteger()).mod(this.q))},ot.prototype.square=function(){return new ot(this.q,this.x.square().mod(this.q))},ot.prototype.divide=function(t){return new ot(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 n=new C("3"),i=this.x.toBigInteger(),o=this.y.toBigInteger(),s=(t.x.toBigInteger(),t.y.toBigInteger(),r.square()),a=s.multiply(r),c=i.multiply(s),h=e.square().multiply(this.z),u=h.subtract(c.shiftLeft(1)).multiply(t.z).subtract(a).multiply(r).mod(this.curve.q),l=c.multiply(n).multiply(e).subtract(o.multiply(a)).subtract(h.multiply(e)).multiply(t.z).add(e.multiply(a)).mod(this.curve.q),p=a.multiply(this.z).multiply(t.z).mod(this.curve.q);return new st(this.curve,this.curve.fromBigInteger(u),this.curve.fromBigInteger(l),p)},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(),n=r.multiply(this.z),i=n.multiply(r).mod(this.curve.q),o=this.curve.a.toBigInteger(),s=e.square().multiply(t);C.ZERO.equals(o)||(s=s.add(this.z.square().multiply(o)));var a=(s=s.mod(this.curve.q)).square().subtract(e.shiftLeft(3).multiply(i)).shiftLeft(1).multiply(n).mod(this.curve.q),c=s.multiply(t).multiply(e).subtract(i.shiftLeft(1)).shiftLeft(2).multiply(i).subtract(s.square().multiply(s)).mod(this.curve.q),h=n.square().multiply(n).shiftLeft(3).mod(this.curve.q);return new st(this.curve,this.curve.fromBigInteger(a),this.curve.fromBigInteger(c),h)},st.prototype.multiply=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,n=r.multiply(new C("3")),i=this.negate(),o=this,s=this.curve.q.subtract(t),a=s.multiply(new C("3")),c=new st(this.curve,this.x,this.y),h=c.negate();for(e=n.bitLength()-2;e>0;--e){o=o.twice();var u=n.testBit(e);u!=r.testBit(e)&&(o=o.add(u?this:i))}for(e=a.bitLength()-2;e>0;--e){c=c.twice();var l=a.testBit(e);l!=s.testBit(e)&&(c=c.add(l?c:h))}return o},st.prototype.multiplyTwo=function(t,e,r){var n;n=t.bitLength()>r.bitLength()?t.bitLength()-1:r.bitLength()-1;for(var i=this.curve.getInfinity(),o=this.add(e);n>=0;)i=i.twice(),t.testBit(n)?i=r.testBit(n)?i.add(o):i.add(this):r.testBit(n)&&(i=i.add(e)),--n;return i},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 ot(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),n=t.substr(e+2,e);return new st(this,this.fromBigInteger(new C(r,16)),this.fromBigInteger(new C(n,16)))}},
|
|
5
|
+
/*! (c) Stefan Thomas | https://github.com/bitcoinjs/bitcoinjs-lib
|
|
6
|
+
*/
|
|
7
|
+
ot.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(),n=this.getY().toBigInteger(),i=e(r,32);return t?n.isEven()?i.unshift(2):i.unshift(3):(i.unshift(4),i=i.concat(e(n,32))),i},st.decodeFrom=function(t,e){var r=e.length-1,n=e.slice(1,1+r/2),i=e.slice(1+r/2,1+r);n.unshift(0),i.unshift(0);var o=new C(n),s=new C(i);return new st(t,t.fromBigInteger(o),t.fromBigInteger(s))},st.decodeFromHex=function(t,e){e.substr(0,2);var r=e.length-2,n=e.substr(2,r/2),i=e.substr(2+r/2,r/2),o=new C(n,16),s=new C(i,16);return new st(t,t.fromBigInteger(o),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),n=r.square().subtract(this.x).subtract(t.x),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new st(this.curve,n,i)},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)),n=r.square().subtract(this.x.multiply(t)),i=r.multiply(this.x.subtract(n)).subtract(this.y);return new st(this.curve,n,i)},st.prototype.multiply2D=function(t){if(this.isInfinity())return this;if(0==t.signum())return this.curve.getInfinity();var e,r=t,n=r.multiply(new C("3")),i=this.negate(),o=this;for(e=n.bitLength()-2;e>0;--e){o=o.twice();var s=n.testBit(e);s!=r.testBit(e)&&(o=o.add2D(s?this:i))}return o},st.prototype.isOnCurve=function(){var t=this.getX().toBigInteger(),e=this.getY().toBigInteger(),r=this.curve.getA().toBigInteger(),n=this.curve.getB().toBigInteger(),i=this.curve.getQ(),o=e.multiply(e).mod(i),s=t.multiply(t).multiply(t).add(r.multiply(t)).add(n).mod(i);return o.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 ct=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 n(t,e,n){return e?r[e]:String.fromCharCode(parseInt(n,16))}var i=new String(""),o=Object.hasOwnProperty;return function(r,s){var a,c,h=r.match(t),u=h[0],l=!1;"{"===u?a={}:"["===u?a=[]:(a=[],l=!0);for(var p=[a],d=1-l,m=h.length;d<m;++d){var f;switch((u=h[d]).charCodeAt(0)){default:(f=p[0])[c||f.length]=+u,c=void 0;break;case 34:if(-1!==(u=u.substring(1,u.length-1)).indexOf("\\")&&(u=u.replace(e,n)),f=p[0],!c){if(!(f instanceof Array)){c=u||i;break}c=f.length}f[c]=u,c=void 0;break;case 91:p.unshift((f=p[0])[c||f.length]=[]),c=void 0;break;case 93:case 125:p.shift();break;case 102:(f=p[0])[c||f.length]=!1,c=void 0;break;case 110:(f=p[0])[c||f.length]=null,c=void 0;break;case 116:(f=p[0])[c||f.length]=!0,c=void 0;break;case 123:p.unshift((f=p[0])[c||f.length]={}),c=void 0}}if(l){if(1!==p.length)throw new Error;a=a[0]}else if(p.length)throw new Error;return s&&(a=function t(e,r){var n=e[r];if(n&&"object"===(void 0===n?"undefined":w(n))){var i=null;for(var a in n)if(o.call(n,a)&&n!==e){var c=t(n,a);void 0!==c?n[a]=c:(i||(i=[]),i.push(a))}if(i)for(var h=i.length;--h>=0;)delete n[i[h]]}return s.call(e,r,n)}({"":a},"")),a}}();void 0!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.asn1&&ht.asn1||(ht.asn1={}),ht.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 n="",i=0;i<r;i++)n+="f";e=new C(n,16).xor(t).add(C.ONE).toString(16).replace(/^-/,"")}return e},this.getPEMStringFromHex=function(t,e){return Ft(t,e)},this.newObject=function(t){var e=ht.asn1,r=e.ASN1Object,n=e.DERBoolean,i=e.DERInteger,o=e.DERBitString,s=e.DEROctetString,a=e.DERNull,c=e.DERObjectIdentifier,h=e.DEREnumerated,u=e.DERUTF8String,l=e.DERNumericString,p=e.DERPrintableString,d=e.DERTeletexString,m=e.DERIA5String,f=e.DERUTCTime,g=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 n(t[C]);if("int"==C)return new i(t[C]);if("bitstr"==C)return new o(t[C]);if("octstr"==C)return new s(t[C]);if("null"==C)return new a(t[C]);if("oid"==C)return new c(t[C]);if("enum"==C)return new h(t[C]);if("utf8str"==C)return new u(t[C]);if("numstr"==C)return new l(t[C]);if("prnstr"==C)return new p(t[C]);if("telstr"==C)return new d(t[C]);if("ia5str"==C)return new m(t[C]);if("utctime"==C)return new f(t[C]);if("gentime"==C)return new g(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],T=[],k=0;k<P.length;k++){var F=A(P[k]);T.push(F)}return new y({array:T})}if("set"==C){for(P=t[C],T=[],k=0;k<P.length;k++)F=A(P[k]),T.push(F);return new b({array:T})}if("tag"==C){var R=t[C];if("[object Array]"===Object.prototype.toString.call(R)&&3==R.length){var x=A(R[2]);return new S({tag:R[0],explicit:R[1],obj:x})}return new S(R)}},this.jsonToASN1HEX=function(t){return this.newObject(t).getEncodedHex()}},ht.asn1.ASN1Util.oidHexToInt=function(t){for(var e="",r=parseInt(t.substr(0,2),16),n=(e=Math.floor(r/40)+"."+r%40,""),i=2;i<t.length;i+=2){var o=("00000000"+parseInt(t.substr(i,2),16).toString(2)).slice(-8);n+=o.substr(1,7),"0"==o.substr(0,1)&&(e=e+"."+new C(n,2).toString(10),n="")}return e},ht.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="",n=new C(t,10).toString(2),i=7-n.length%7;7==i&&(i=0);for(var o="",s=0;s<i;s++)o+="0";for(n=o+n,s=0;s<n.length-1;s+=7){var a=n.substr(s,7);s!=n.length-7&&(a="1"+a),r+=e(parseInt(a,2))}return r};if(!t.match(/^[0-9.]+$/))throw"malformed oid string: "+t;var n="",i=t.split("."),o=40*parseInt(i[0])+parseInt(i[1]);n+=e(o),i.splice(0,2);for(var s=0;s<i.length;s++)n+=r(i[s]);return n},ht.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)},ht.asn1.DERAbstractString=function(t){ht.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(ht.asn1.DERAbstractString,ht.asn1.ASN1Object),ht.asn1.DERAbstractTime=function(){ht.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 n=this.zeroPadding,i=this.localDateToUTC(t),o=String(i.getFullYear());"utc"==e&&(o=o.substr(2,2));var s=o+n(String(i.getMonth()+1),2)+n(String(i.getDate()),2)+n(String(i.getHours()),2)+n(String(i.getMinutes()),2)+n(String(i.getSeconds()),2);if(!0===r){var a=i.getMilliseconds();if(0!=a){var c=n(String(a),3);s=s+"."+(c=c.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=gt(t)},this.setByDateValue=function(t,e,r,n,i,o){var s=new Date(Date.UTC(t,e-1,r,n,i,o,0));this.setByDate(s)},this.getFreshValueHex=function(){return this.hV}},Wt(ht.asn1.DERAbstractTime,ht.asn1.ASN1Object),ht.asn1.DERAbstractStructured=function(t){ht.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(ht.asn1.DERAbstractStructured,ht.asn1.ASN1Object),ht.asn1.DERBoolean=function(t){ht.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV=0==t?"010100":"0101ff"},Wt(ht.asn1.DERBoolean,ht.asn1.ASN1Object),ht.asn1.DERInteger=function(t){ht.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ht.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(ht.asn1.DERInteger,ht.asn1.ASN1Object),ht.asn1.DERBitString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ht.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}ht.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 n="";for(r=0;r<t.length-1;r+=8){var i=t.substr(r,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),n+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+e+n},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(ht.asn1.DERBitString,ht.asn1.ASN1Object),ht.asn1.DEROctetString=function(t){if(void 0!==t&&void 0!==t.obj){var e=ht.asn1.ASN1Util.newObject(t.obj);t.hex=e.getEncodedHex()}ht.asn1.DEROctetString.superclass.constructor.call(this,t),this.hT="04"},Wt(ht.asn1.DEROctetString,ht.asn1.DERAbstractString),ht.asn1.DERNull=function(){ht.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Wt(ht.asn1.DERNull,ht.asn1.ASN1Object),ht.asn1.DERObjectIdentifier=function(t){ht.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="",n=parseInt(t,10).toString(2),i=7-n.length%7;7==i&&(i=0);for(var o="",s=0;s<i;s++)o+="0";for(n=o+n,s=0;s<n.length-1;s+=7){var a=n.substr(s,7);s!=n.length-7&&(a="1"+a),r+=e(parseInt(a,2))}return r};try{if(!t.match(/^[0-9.]+$/))return null;var n="",i=t.split("."),o=40*parseInt(i[0],10)+parseInt(i[1],10);n+=e(o),i.splice(0,2);for(var s=0;s<i.length;s++)n+=r(i[s]);return n}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=ht.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(ht.asn1.DERObjectIdentifier,ht.asn1.ASN1Object),ht.asn1.DEREnumerated=function(t){ht.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=ht.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(ht.asn1.DEREnumerated,ht.asn1.ASN1Object),ht.asn1.DERUTF8String=function(t){ht.asn1.DERUTF8String.superclass.constructor.call(this,t),this.hT="0c"},Wt(ht.asn1.DERUTF8String,ht.asn1.DERAbstractString),ht.asn1.DERNumericString=function(t){ht.asn1.DERNumericString.superclass.constructor.call(this,t),this.hT="12"},Wt(ht.asn1.DERNumericString,ht.asn1.DERAbstractString),ht.asn1.DERPrintableString=function(t){ht.asn1.DERPrintableString.superclass.constructor.call(this,t),this.hT="13"},Wt(ht.asn1.DERPrintableString,ht.asn1.DERAbstractString),ht.asn1.DERTeletexString=function(t){ht.asn1.DERTeletexString.superclass.constructor.call(this,t),this.hT="14"},Wt(ht.asn1.DERTeletexString,ht.asn1.DERAbstractString),ht.asn1.DERIA5String=function(t){ht.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="16"},Wt(ht.asn1.DERIA5String,ht.asn1.DERAbstractString),ht.asn1.DERVisibleString=function(t){ht.asn1.DERIA5String.superclass.constructor.call(this,t),this.hT="1a"},Wt(ht.asn1.DERVisibleString,ht.asn1.DERAbstractString),ht.asn1.DERBMPString=function(t){ht.asn1.DERBMPString.superclass.constructor.call(this,t),this.hT="1e"},Wt(ht.asn1.DERBMPString,ht.asn1.DERAbstractString),ht.asn1.DERUTCTime=function(t){ht.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=gt(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=gt(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(ht.asn1.DERUTCTime,ht.asn1.DERAbstractTime),ht.asn1.DERGeneralizedTime=function(t){ht.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=gt(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=gt(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(ht.asn1.DERGeneralizedTime,ht.asn1.DERAbstractTime),ht.asn1.DERSequence=function(t){ht.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(ht.asn1.DERSequence,ht.asn1.DERAbstractStructured),ht.asn1.DERSet=function(t){ht.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(ht.asn1.DERSet,ht.asn1.DERAbstractStructured),ht.asn1.DERTaggedObject=function(t){ht.asn1.DERTaggedObject.superclass.constructor.call(this);var e=ht.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(ht.asn1.DERTaggedObject,ht.asn1.ASN1Object);var ht,ut,lt,pt=new function(){};function dt(t){for(var e=new Array,r=0;r<t.length;r++)e[r]=t.charCodeAt(r);return e}function mt(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}function ft(t){for(var e="",r=0;r<t.length;r++){var n=t[r].toString(16);1==n.length&&(n="0"+n),e+=n}return e}function gt(t){return ft(dt(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 Dt(Lt(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 Tt(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 Ft(t,e){return"-----BEGIN "+e+"-----\r\n"+Tt(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 xt(t){var e,r,n,i,o,s,a,c,h,u,l;if(l=t.match(/^(\d{2}|\d{4})(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(|\.\d+)Z$/))return c=l[1],e=parseInt(c),2===c.length&&(50<=e&&e<100?e=1900+e:0<=e&&e<50&&(e=2e3+e)),r=parseInt(l[2])-1,n=parseInt(l[3]),i=parseInt(l[4]),o=parseInt(l[5]),s=parseInt(l[6]),a=0,""!==(h=l[7])&&(u=(h.substr(1)+"00").substr(0,3),a=parseInt(u)),Date.UTC(e,r,n,i,o,s,a);throw"unsupported zulu format: "+t}function Ot(t){return~~(xt(t)/1e3)}function Dt(t){return t.replace(/%/g,"")}function It(t){return t.replace(/(..)/g,"%$1")}function Mt(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 n=":".repeat(7-r+2),i=(t=t.replace("::",n)).split(":");if(8!=i.length)throw e;for(var o=0;o<8;o++)i[o]=("0000"+i[o]).slice(-4);return i.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 n=(t=":"+e.join(":")+":").match(/:(0:){2,}/g);if(null===n)return t.slice(1,-1);var i="";for(r=0;r<n.length;r++)n[r].length>i.length&&(i=n[r]);return(t=t.replace(i,"::")).slice(1,-1)}function jt(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 Nt(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 n=128|63&r;return At((192|(7&e)<<3|(192&r)>>6).toString(16)+n.toString(16))}n=128|(15&e)<<2|(192&r)>>6;var i=128|63&r;return At((224|(240&e)>>4).toString(16)+n.toString(16)+i.toString(16))})).join("")}function Lt(t){for(var e=encodeURIComponent(t),r="",n=0;n<e.length;n++)"%"==e[n]?(r+=e.substr(n,3),n+=2):r=r+"%"+gt(e[n]);return r}function Bt(t){return!(t.length%2!=0||!t.match(/^[0-9a-f]+$/)&&!t.match(/^[0-9A-F]+$/))}function Ut(t){return t.length%2==1?"0"+t:t.substr(0,1)>"7"?"00"+t:t}pt.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},pt.getL=function(t,e){var r=pt.getLblen(t,e);return r<1?"":t.substr(e+2,2*r)},pt.getVblen=function(t,e){var r;return""==(r=pt.getL(t,e))?-1:("8"===r.substr(0,1)?new C(r.substr(2),16):new C(r,16)).intValue()},pt.getVidx=function(t,e){var r=pt.getLblen(t,e);return r<0?r:e+2*(r+1)},pt.getV=function(t,e){var r=pt.getVidx(t,e),n=pt.getVblen(t,e);return t.substr(r,2*n)},pt.getTLV=function(t,e){return t.substr(e,2)+pt.getL(t,e)+pt.getV(t,e)},pt.getTLVblen=function(t,e){return 2+2*pt.getLblen(t,e)+2*pt.getVblen(t,e)},pt.getNextSiblingIdx=function(t,e){return pt.getVidx(t,e)+2*pt.getVblen(t,e)},pt.getChildIdx=function(t,e){var r,n,i,o=pt,s=[];r=o.getVidx(t,e),n=2*o.getVblen(t,e),"03"==t.substr(e,2)&&(r+=2,n-=2),i=0;for(var a=r;i<=n;){var c=o.getTLVblen(t,a);if((i+=c)<=n&&s.push(a),a+=c,i>=n)break}return s},pt.getNthChildIdx=function(t,e,r){return pt.getChildIdx(t,e)[r]},pt.getIdxbyList=function(t,e,r,n){var i,o,s=pt;return 0==r.length?void 0!==n&&t.substr(e,2)!==n?-1:e:(i=r.shift())>=(o=s.getChildIdx(t,e)).length?-1:s.getIdxbyList(t,o[i],r,n)},pt.getIdxbyListEx=function(t,e,r,n){var i,o,s=pt;if(0==r.length)return void 0!==n&&t.substr(e,2)!==n?-1:e;i=r.shift(),o=s.getChildIdx(t,e);for(var a=0,c=0;c<o.length;c++){var h=t.substr(o[c],2);if("number"==typeof i&&!s.isContextTag(h)&&a==i||"string"==typeof i&&s.isContextTag(h,i))return s.getIdxbyListEx(t,o[c],r,n);s.isContextTag(h)||a++}return-1},pt.getTLVbyList=function(t,e,r,n){var i=pt,o=i.getIdxbyList(t,e,r,n);return-1==o||o>=t.length?null:i.getTLV(t,o)},pt.getTLVbyListEx=function(t,e,r,n){var i=pt,o=i.getIdxbyListEx(t,e,r,n);return-1==o?null:i.getTLV(t,o)},pt.getVbyList=function(t,e,r,n,i){var o,s,a=pt;return-1==(o=a.getIdxbyList(t,e,r,n))||o>=t.length?null:(s=a.getV(t,o),!0===i&&(s=s.substr(2)),s)},pt.getVbyListEx=function(t,e,r,n,i){var o,s,a=pt;return-1==(o=a.getIdxbyListEx(t,e,r,n))?null:(s=a.getV(t,o),"03"==t.substr(o,2)&&!1!==i&&(s=s.substr(2)),s)},pt.getInt=function(t,e,r){null==r&&(r=-1);try{var n=t.substr(e,2);if("02"!=n&&"03"!=n)return r;var i=pt.getV(t,e);return"02"==n?parseInt(i,16):function(t){try{var e=t.substr(0,2);if("00"==e)return parseInt(t.substr(2),16);var r=parseInt(e,16),n=t.substr(2),i=parseInt(n,16).toString(2);return"0"==i&&(i="00000000"),i=i.slice(0,0-r),parseInt(i,2)}catch(t){return-1}}(i)}catch(t){return r}},pt.getOID=function(t,e,r){null==r&&(r=null);try{return"06"!=t.substr(e,2)?r:function(t){if(!Bt(t))return null;try{var e=[],r=t.substr(0,2),n=parseInt(r,16);e[0]=new String(Math.floor(n/40)),e[1]=new String(n%40);for(var i=t.substr(2),o=[],s=0;s<i.length/2;s++)o.push(parseInt(i.substr(2*s,2),16));var a=[],c="";for(s=0;s<o.length;s++)128&o[s]?c+=Ht((127&o[s]).toString(2),7):(c+=Ht((127&o[s]).toString(2),7),a.push(new String(parseInt(c,2))),c="");var h=e.join(".");return a.length>0&&(h=h+"."+a.join(".")),h}catch(t){return null}}(pt.getV(t,e))}catch(t){return r}},pt.getOIDName=function(t,e,r){null==r&&(r=null);try{var n=pt.getOID(t,e,r);if(n==r)return r;var i=ht.asn1.x509.OID.oid2name(n);return""==i?n:i}catch(t){return r}},pt.getString=function(t,e,r){null==r&&(r=null);try{return Et(pt.getV(t,e))}catch(t){return r}},pt.hextooidstr=function(t){var e=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},r=[],n=t.substr(0,2),i=parseInt(n,16);r[0]=new String(Math.floor(i/40)),r[1]=new String(i%40);for(var o=t.substr(2),s=[],a=0;a<o.length/2;a++)s.push(parseInt(o.substr(2*a,2),16));var c=[],h="";for(a=0;a<s.length;a++)128&s[a]?h+=e((127&s[a]).toString(2),7):(h+=e((127&s[a]).toString(2),7),c.push(new String(parseInt(h,2))),h="");var u=r.join(".");return c.length>0&&(u=u+"."+c.join(".")),u},pt.dump=function(t,e,r,n){var i=pt,o=i.getV,s=i.dump,a=i.getChildIdx,c=t;t instanceof ht.asn1.ASN1Object&&(c=t.getEncodedHex());var h=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===n&&(n="");var u,l=e.ommit_long_octet;if("01"==(u=c.substr(r,2)))return"00"==(p=o(c,r))?n+"BOOLEAN FALSE\n":n+"BOOLEAN TRUE\n";if("02"==u)return n+"INTEGER "+h(p=o(c,r),l)+"\n";if("03"==u){var p=o(c,r);return i.isASN1HEX(p.substr(2))?(S=n+"BITSTRING, encapsulates\n")+s(p.substr(2),e,0,n+" "):n+"BITSTRING "+h(p,l)+"\n"}if("04"==u)return p=o(c,r),i.isASN1HEX(p)?(S=n+"OCTETSTRING, encapsulates\n")+s(p,e,0,n+" "):n+"OCTETSTRING "+h(p,l)+"\n";if("05"==u)return n+"NULL\n";if("06"==u){var d=o(c,r),m=ht.asn1.ASN1Util.oidHexToInt(d),f=ht.asn1.x509.OID.oid2name(m),g=m.replace(/\./g," ");return""!=f?n+"ObjectIdentifier "+f+" ("+g+")\n":n+"ObjectIdentifier ("+g+")\n"}if("0a"==u)return n+"ENUMERATED "+parseInt(o(c,r))+"\n";if("0c"==u)return n+"UTF8String '"+At(o(c,r))+"'\n";if("13"==u)return n+"PrintableString '"+At(o(c,r))+"'\n";if("14"==u)return n+"TeletexString '"+At(o(c,r))+"'\n";if("16"==u)return n+"IA5String '"+At(o(c,r))+"'\n";if("17"==u)return n+"UTCTime "+At(o(c,r))+"\n";if("18"==u)return n+"GeneralizedTime "+At(o(c,r))+"\n";if("1a"==u)return n+"VisualString '"+At(o(c,r))+"'\n";if("1e"==u)return n+"BMPString '"+Nt(o(c,r))+"'\n";if("30"==u){if("3000"==c.substr(r,4))return n+"SEQUENCE {}\n";S=n+"SEQUENCE\n";var w=e;if((2==(b=a(c,r)).length||3==b.length)&&"06"==c.substr(b[0],2)&&"04"==c.substr(b[b.length-1],2)){f=i.oidname(o(c,b[0]));var v=JSON.parse(JSON.stringify(e));v.x509ExtName=f,w=v}for(var y=0;y<b.length;y++)S+=s(c,w,b[y],n+" ");return S}if("31"==u){S=n+"SET\n";var b=a(c,r);for(y=0;y<b.length;y++)S+=s(c,e,b[y],n+" ");return S}if(0!=(128&(u=parseInt(u,16)))){var S,A=31&u;if(0!=(32&u)){for(S=n+"["+A+"]\n",b=a(c,r),y=0;y<b.length;y++)S+=s(c,e,b[y],n+" ");return S}return p=o(c,r),pt.isASN1HEX(p)?(S=n+"["+A+"]\n")+s(p,e,0,n+" "):(("68747470"==p.substr(0,8)||"subjectAltName"===e.x509ExtName&&2==A)&&(p=At(p)),n+"["+A+"] "+p+"\n")}return n+"UNKNOWN("+u+") "+o(c,r)+"\n"},pt.isContextTag=function(t,e){var r,n;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]+\]$/)&&!((n=parseInt(e.substr(1,e.length-1),10))>31)&&128==(192&r)&&(31&r)==n}catch(t){return!1}},pt.isASN1HEX=function(t){var e=pt;if(t.length%2==1)return!1;var r=e.getVblen(t,0),n=t.substr(0,2),i=e.getL(t,0);return t.length-n.length-i.length==2*r},pt.checkStrictDER=function(t,e,r,n,i){var o=pt;if(void 0===r){if("string"!=typeof t)throw new Error("not hex string");if(t=t.toLowerCase(),!ht.lang.String.isHex(t))throw new Error("not hex string");r=t.length,i=(n=t.length/2)<128?1:Math.ceil(n.toString(16))+1}if(o.getL(t,e).length>2*i)throw new Error("L of TLV too long: idx="+e);var s=o.getVblen(t,e);if(s>n)throw new Error("value of L too long than hex: idx="+e);var a=o.getTLV(t,e),c=a.length-2-o.getL(t,e).length;if(c!==2*s)throw new Error("V string length and L's value not the same:"+c+"/"+2*s);if(0===e&&t.length!=a.length)throw new Error("total length and TLV length unmatch:"+t.length+"!="+a.length);var h=t.substr(e,2);if("02"===h){var u=o.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(h,16)){for(var l=o.getVblen(t,e),p=0,d=o.getChildIdx(t,e),m=0;m<d.length;m++)p+=o.getTLV(t,d[m]).length,o.checkStrictDER(t,d[m],r,n,i);if(2*l!=p)throw new Error("sum of children's TLV length and L unmatch: "+2*l+"!="+p)}},pt.oidname=function(t){var e=ht.asn1;ht.lang.String.isHex(t)&&(t=e.ASN1Util.oidHexToInt(t));var r=e.x509.OID.oid2name(t);return""===r&&(r=t),r},void 0!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.lang&&ht.lang||(ht.lang={}),ht.lang.String=function(){},"function"==typeof t?(e.utf8tob64u=ut=function(e){return wt(t.from(e,"utf8").toString("base64"))},e.b64utoutf8=lt=function(e){return t.from(vt(e),"base64").toString("utf8")}):(e.utf8tob64u=ut=function(t){return yt(Dt(Lt(t)))},e.b64utoutf8=lt=function(t){return decodeURIComponent(It(bt(t)))}),ht.lang.String.isInteger=function(t){return!!t.match(/^[0-9]+$/)||!!t.match(/^-[0-9]+$/)},ht.lang.String.isHex=function(t){return Bt(t)},ht.lang.String.isBase64=function(t){return!(!(t=t.replace(/\s+/g,"")).match(/^[0-9A-Za-z+\/]+={0,3}$/)||t.length%4!=0)},ht.lang.String.isBase64URL=function(t){return!t.match(/[+/=]/)&&(t=vt(t),ht.lang.String.isBase64(t))},ht.lang.String.isIntegerArray=function(t){return!!(t=t.replace(/\s+/g,"")).match(/^\[[0-9,]+\]$/)},ht.lang.String.isPrintable=function(t){return null!==t.match(/^[0-9A-Za-z '()+,-./:=?]*$/)},ht.lang.String.isIA5=function(t){return null!==t.match(/^[\x20-\x21\x23-\x7f]*$/)},ht.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!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.crypto&&ht.crypto||(ht.crypto={}),ht.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 n=this.getDigestInfoHex(t,e),i=r/4;if(n.length+22>i)throw"key is too short for SigAlg: keylen="+r+","+e;for(var o="0001",s="00"+n,a="",c=i-o.length-s.length,h=0;h<c;h+=2)a+="ff";return o+a+s},this.hashString=function(t,e){return new ht.crypto.MessageDigest({alg:e}).digestString(t)},this.hashHex=function(t,e){return new ht.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 it||t instanceof ht.crypto.DSA||t instanceof ht.crypto.ECDSA}},ht.crypto.Util.md5=function(t){return new ht.crypto.MessageDigest({alg:"md5",prov:"cryptojs"}).digestString(t)},ht.crypto.Util.ripemd160=function(t){return new ht.crypto.MessageDigest({alg:"ripemd160",prov:"cryptojs"}).digestString(t)},ht.crypto.Util.SECURERANDOMGEN=new et,ht.crypto.Util.getRandomHexOfNbytes=function(t){var e=new Array(t);return ht.crypto.Util.SECURERANDOMGEN.nextBytes(e),ft(e)},ht.crypto.Util.getRandomBigIntegerOfNbytes=function(t){return new C(ht.crypto.Util.getRandomHexOfNbytes(t),16)},ht.crypto.Util.getRandomHexOfNbits=function(t){var e=t%8,r=new Array((t-e)/8+1);return ht.crypto.Util.SECURERANDOMGEN.nextBytes(r),r[0]=(255<<e&255^255)&r[0],ft(r)},ht.crypto.Util.getRandomBigIntegerOfNbits=function(t){return new C(ht.crypto.Util.getRandomHexOfNbits(t),16)},ht.crypto.Util.getRandomBigIntegerZeroToMax=function(t){for(var e=t.bitLength();;){var r=ht.crypto.Util.getRandomBigIntegerOfNbits(e);if(-1!=t.compareTo(r))return r}},ht.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 n=e.subtract(t);return ht.crypto.Util.getRandomBigIntegerZeroToMax(n).add(t)},ht.crypto.MessageDigest=function(t){this.setAlgAndProvider=function(t,e){if(null!==(t=ht.crypto.MessageDigest.getCanonicalAlgName(t))&&void 0===e&&(e=ht.crypto.Util.DEFAULTPROVIDER[t]),-1!=":md5:sha1:sha224:sha256:sha384:sha512:ripemd160:".indexOf(t)&&"cryptojs"==e){try{this.md=ht.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=ht.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName))},ht.crypto.MessageDigest.getCanonicalAlgName=function(t){return"string"==typeof t&&(t=(t=t.toLowerCase()).replace(/-/,"")),t},ht.crypto.MessageDigest.getHashLength=function(t){var e=ht.crypto.MessageDigest,r=e.getCanonicalAlgName(t);if(void 0===e.HASHLENGTH[r])throw"not supported algorithm: "+t;return e.HASHLENGTH[r]},ht.crypto.MessageDigest.HASHLENGTH={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,ripemd160:20},ht.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=ht.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(ht.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=ht.crypto.Util.DEFAULTPROVIDER[this.algName]),this.setAlgAndProvider(this.algName,this.provName)))},ht.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="",n=e/4-t.length,i=0;i<n;i++)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 ht.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?qt.getKey(t):qt.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!==ht.crypto.ECDSA&&(this.prvKey=new ht.crypto.ECDSA({curve:this.eccurvename,prv:this.ecprvhex})),this.prvKey instanceof it&&"rsaandmgf1"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHashPSS(this.sHashHex,this.mdAlgName,this.pssSaltLen);else if(this.prvKey instanceof it&&"rsa"===this.pubkeyAlgName)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex,this.mdAlgName);else if(this.prvKey instanceof ht.crypto.ECDSA)this.hSign=this.prvKey.signWithMessageHash(this.sHashHex);else{if(!(this.prvKey instanceof ht.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!==ht.crypto.ECDSA&&(this.pubKey=new ht.crypto.ECDSA({curve:this.eccurvename,pub:this.ecpubhex})),this.pubKey instanceof it&&"rsaandmgf1"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHashPSS(this.sHashHex,t,this.mdAlgName,this.pssSaltLen);if(this.pubKey instanceof it&&"rsa"===this.pubkeyAlgName)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==ht.crypto.ECDSA&&this.pubKey instanceof ht.crypto.ECDSA)return this.pubKey.verifyWithMessageHash(this.sHashHex,t);if(void 0!==ht.crypto.DSA&&this.pubKey instanceof ht.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?ht.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=qt.getKey(t.prvkeypem),this.init(e)}catch(t){throw"fatal error to load pem private key: "+t}}},ht.crypto.Cipher=function(){},ht.crypto.Cipher.encrypt=function(t,e,r){if(e instanceof it&&e.isPublic){var n=ht.crypto.Cipher.getAlgByKeyAndName(e,r);if("RSA"===n)return e.encrypt(t);if("RSAOAEP"===n)return e.encryptOAEP(t,"sha1");var i=n.match(/^RSAOAEP(\d+)$/);if(null!==i)return e.encryptOAEP(t,"sha"+i[1]);throw"Cipher.encrypt: unsupported algorithm for RSAKey: "+r}throw"Cipher.encrypt: unsupported key or algorithm"},ht.crypto.Cipher.decrypt=function(t,e,r){if(e instanceof it&&e.isPrivate){var n=ht.crypto.Cipher.getAlgByKeyAndName(e,r);if("RSA"===n)return e.decrypt(t);if("RSAOAEP"===n)return e.decryptOAEP(t,"sha1");var i=n.match(/^RSAOAEP(\d+)$/);if(null!==i)return e.decryptOAEP(t,"sha"+i[1]);throw"Cipher.decrypt: unsupported algorithm for RSAKey: "+r}throw"Cipher.decrypt: unsupported key or algorithm"},ht.crypto.Cipher.getAlgByKeyAndName=function(t,e){if(t instanceof it){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},ht.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!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.crypto&&ht.crypto||(ht.crypto={}),ht.crypto.ECDSA=function(t){var e=Error,r=C,n=st,i=ht.crypto.ECDSA,o=ht.crypto.ECParameterDB,s=i.getName,a=pt.getVbyListEx,c=pt.isASN1HEX,h=new et;this.type="EC",this.isPrivate=!1,this.isPublic=!1,this.getBigRandom=function(t){return new r(t.bitLength(),h).mod(t.subtract(r.ONE)).add(r.ONE)},this.setNamedCurve=function(t){this.ecparams=o.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(),n=e.getY().toBigInteger(),i=this.ecparams.keylen/4,o=("0000000000"+t.toString(16)).slice(-i),s="04"+("0000000000"+r.toString(16)).slice(-i)+("0000000000"+n.toString(16)).slice(-i);return this.setPrivateKeyHex(o),this.setPublicKeyHex(s),{ecprvhex:o,ecpubhex:s}},this.signWithMessageHash=function(t){return this.signHex(t,this.prvKeyHex)},this.signHex=function(t,e){var n=new r(e,16),o=this.ecparams.n,s=new r(t.substring(0,this.ecparams.keylen/4),16);do{var a=this.getBigRandom(o),c=this.ecparams.G.multiply(a).getX().toBigInteger().mod(o)}while(c.compareTo(r.ZERO)<=0);var h=a.modInverse(o).multiply(s.add(n.multiply(c))).mod(o);return i.biRSSigToASN1Sig(c,h)},this.sign=function(t,e){var n=e,i=this.ecparams.n,o=r.fromByteArrayUnsigned(t);do{var s=this.getBigRandom(i),a=this.ecparams.G.multiply(s).getX().toBigInteger().mod(i)}while(a.compareTo(C.ZERO)<=0);var c=s.modInverse(i).multiply(o.add(n.multiply(a))).mod(i);return this.serializeSig(a,c)},this.verifyWithMessageHash=function(t,e){return this.verifyHex(t,e,this.pubKeyHex)},this.verifyHex=function(t,e,o){try{var s,a,c=i.parseSigHex(e);s=c.r,a=c.s;var h=n.decodeFromHex(this.ecparams.curve,o),u=new r(t.substring(0,this.ecparams.keylen/4),16);return this.verifyRaw(u,s,a,h)}catch(t){return!1}},this.verify=function(t,e,i){var o,s,a;if(Bitcoin.Util.isArray(e)){var c=this.parseSig(e);o=c.r,s=c.s}else{if("object"!==(void 0===e?"undefined":w(e))||!e.r||!e.s)throw"Invalid value for signature";o=e.r,s=e.s}if(i instanceof st)a=i;else{if(!Bitcoin.Util.isArray(i))throw"Invalid format for pubkey value, must be byte array or ECPointFp";a=n.decodeFrom(this.ecparams.curve,i)}var h=r.fromByteArrayUnsigned(t);return this.verifyRaw(h,o,s,a)},this.verifyRaw=function(t,e,n,i){var o=this.ecparams.n,s=this.ecparams.G;if(e.compareTo(r.ONE)<0||e.compareTo(o)>=0)return!1;if(n.compareTo(r.ONE)<0||n.compareTo(o)>=0)return!1;var a=n.modInverse(o),c=t.multiply(a).mod(o),h=e.multiply(a).mod(o);return s.multiply(c).add(i.multiply(h)).getX().toBigInteger().mod(o).equals(e)},this.serializeSig=function(t,e){var r=t.toByteArraySigned(),n=e.toByteArraySigned(),i=[];return i.push(2),i.push(r.length),(i=i.concat(r)).push(2),i.push(n.length),(i=i.concat(n)).unshift(i.length),i.unshift(48),i},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 n=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 i=t.slice(e+2,e+2+t[e+1]);return e+=2+t[e+1],{r:r.fromByteArrayUnsigned(n),s:r.fromByteArrayUnsigned(i)}},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 n=this.ecparams.n;return{r:r.fromByteArrayUnsigned(t.slice(1,33)).mod(n),s:r.fromByteArrayUnsigned(t.slice(33,65)).mod(n),i:e}},this.readPKCS5PrvKeyHex=function(t){if(!1===c(t))throw new Error("not ASN.1 hex string");var e,r,n;try{e=a(t,0,["[0]",0],"06"),r=a(t,0,[1],"04");try{n=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(n),this.setPrivateKeyHex(r),this.isPublic=!1},this.readPKCS8PrvKeyHex=function(t){if(!1===c(t))throw new e("not ASN.1 hex string");var r,n,i;try{a(t,0,[1,0],"06"),r=a(t,0,[1,1],"06"),n=a(t,0,[2,0,1],"04");try{i=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(i),this.setPrivateKeyHex(n),this.isPublic=!1},this.readPKCS8PubKeyHex=function(t){if(!1===c(t))throw new e("not ASN.1 hex string");var r,n;try{a(t,0,[0,0],"06"),r=a(t,0,[0,1],"06"),n=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(n)},this.readCertPubKeyHex=function(t){if(!1===c(t))throw new e("not ASN.1 hex string");var r,n;try{r=a(t,0,[0,5,0,1],"06"),n=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(n)},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))},ht.crypto.ECDSA.parseSigHex=function(t){var e=ht.crypto.ECDSA.parseSigHexInHexRS(t);return{r:new C(e.r,16),s:new C(e.s,16)}},ht.crypto.ECDSA.parseSigHexInHexRS=function(t){var e=pt.getChildIdx,r=pt.getV;if(pt.checkStrictDER(t,0),"30"!=t.substr(0,2))throw new Error("signature is not a ASN.1 sequence");var n=e(t,0);if(2!=n.length)throw new Error("signature shall have two elements");var i=n[0],o=n[1];if("02"!=t.substr(i,2))throw new Error("1st item not ASN.1 integer");if("02"!=t.substr(o,2))throw new Error("2nd item not ASN.1 integer");return{r:r(t,i),s:r(t,o)}},ht.crypto.ECDSA.asn1SigToConcatSig=function(t){var e=ht.crypto.ECDSA.parseSigHexInHexRS(t),r=e.r,n=e.s;if("00"==r.substr(0,2)&&r.length%32==2&&(r=r.substr(2)),"00"==n.substr(0,2)&&n.length%32==2&&(n=n.substr(2)),r.length%32==30&&(r="00"+r),n.length%32==30&&(n="00"+n),r.length%32!=0)throw"unknown ECDSA sig r length error";if(n.length%32!=0)throw"unknown ECDSA sig s length error";return r+n},ht.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 ht.crypto.ECDSA.hexRSSigToASN1Sig(e,r)},ht.crypto.ECDSA.hexRSSigToASN1Sig=function(t,e){var r=new C(t,16),n=new C(e,16);return ht.crypto.ECDSA.biRSSigToASN1Sig(r,n)},ht.crypto.ECDSA.biRSSigToASN1Sig=function(t,e){var r=ht.asn1,n=new r.DERInteger({bigint:t}),i=new r.DERInteger({bigint:e});return new r.DERSequence({array:[n,i]}).getEncodedHex()},ht.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!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.crypto&&ht.crypto||(ht.crypto={}),ht.crypto.ECParameterDB=new function(){var t={},e={};function r(t){return new C(t,16)}this.getByName=function(r){var n=r;if(void 0!==e[n]&&(n=e[r]),void 0!==t[n])return t[n];throw"unregistered EC curve name: "+n},this.regist=function(n,i,o,s,a,c,h,u,l,p,d,m){t[n]={};var f=r(o),g=r(s),w=r(a),v=r(c),y=r(h),b=new at(f,g,w),S=b.decodePointHex("04"+u+l);t[n].name=n,t[n].keylen=i,t[n].curve=b,t[n].G=S,t[n].n=v,t[n].h=y,t[n].oid=d,t[n].info=m;for(var A=0;A<p.length;A++)e[p[A]]=n}},ht.crypto.ECParameterDB.regist("secp128r1",128,"FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC","E87579C11079F43DD824993C2CEE5ED3","FFFFFFFE0000000075A30D1B9038A115","1","161FF7528B899B2D0C28607CA52C5B86","CF5AC8395BAFEB13C02DA292DDED7A83",[],"","secp128r1 : SECG curve over a 128 bit prime field"),ht.crypto.ECParameterDB.regist("secp160k1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73","0","7","0100000000000000000001B8FA16DFAB9ACA16B6B3","1","3B4C382CE37AA192A4019E763036F4F5DD4D7EBB","938CF935318FDCED6BC28286531733C3F03C4FEE",[],"","secp160k1 : SECG curve over a 160 bit prime field"),ht.crypto.ECParameterDB.regist("secp160r1",160,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC","1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45","0100000000000000000001F4C8F927AED3CA752257","1","4A96B5688EF573284664698968C38BB913CBFC82","23A628553168947D59DCC912042351377AC5FB32",[],"","secp160r1 : SECG curve over a 160 bit prime field"),ht.crypto.ECParameterDB.regist("secp192k1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37","0","3","FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D","1","DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D","9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D",[]),ht.crypto.ECParameterDB.regist("secp192r1",192,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC","64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1","FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831","1","188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012","07192B95FFC8DA78631011ED6B24CDD573F977A11E794811",[]),ht.crypto.ECParameterDB.regist("secp224r1",224,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE","B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4","FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D","1","B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21","BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34",[]),ht.crypto.ECParameterDB.regist("secp256k1",256,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F","0","7","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141","1","79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798","483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8",[]),ht.crypto.ECParameterDB.regist("secp256r1",256,"FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC","5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B","FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551","1","6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296","4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5",["NIST P-256","P-256","prime256v1"]),ht.crypto.ECParameterDB.regist("secp384r1",384,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC","B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973","1","AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB7","3617de4a96262c6f5d9e98bf9292dc29f8f41dbd289a147ce9da3113b5f0b8c00a60b1ce1d7e819d7a431d7c90ea0e5f",["NIST P-384","P-384"]),ht.crypto.ECParameterDB.regist("secp521r1",521,"1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC","051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF109E156193951EC7E937B1652C0BD3BB1BF073573DF883D2C34F1EF451FD46B503F00","1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409","1","C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D3DBAA14B5E77EFE75928FE1DC127A2FFA8DE3348B3C1856A429BF97E7E31C2E5BD66","011839296a789a3bc0045c8a5fb42c7d1bd998f54449579b446817afbd17273e662c97ee72995ef42640c550b9013fad0761353c7086a272c24088be94769fd16650",["NIST P-521","P-521"]);var qt=function(){var t=function(t,r,n){return e(y.AES,t,r,n)},e=function(t,e,r,n){var i=y.enc.Hex.parse(e),o=y.enc.Hex.parse(r),s=y.enc.Hex.parse(n),a={};a.key=o,a.iv=s,a.ciphertext=i;var c=t.decrypt(a,o,{iv:s});return y.enc.Hex.stringify(c)},r=function(t,e,r){return n(y.AES,t,e,r)},n=function(t,e,r,n){var i=y.enc.Hex.parse(e),o=y.enc.Hex.parse(r),s=y.enc.Hex.parse(n),a=t.encrypt(i,o,{iv:s}),c=y.enc.Hex.parse(a.toString());return y.enc.Base64.stringify(c)},i={"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,n){return e(y.TripleDES,t,r,n)},eproc:function(t,e,r){return n(y.TripleDES,t,e,r)},keylen:24,ivlen:8},"DES-CBC":{proc:function(t,r,n){return e(y.DES,t,r,n)},eproc:function(t,e,r){return n(y.DES,t,e,r)},keylen:8,ivlen:8}},o=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 n=t.match(new RegExp("-----BEGIN ([A-Z]+) PRIVATE KEY-----"));n&&(e.type=n[1]);var i=-1,o=0;-1!=t.indexOf("\r\n\r\n")&&(i=t.indexOf("\r\n\r\n"),o=2),-1!=t.indexOf("\n\n")&&(i=t.indexOf("\n\n"),o=1);var s=t.indexOf("-----END");if(-1!=i&&-1!=s){var a=t.substring(i+2*o,s-o);a=a.replace(/\s+/g,""),e.data=a}return e},s=function(t,e,r){for(var n=r.substring(0,16),o=y.enc.Hex.parse(n),s=y.enc.Utf8.parse(e),a=i[t].keylen+i[t].ivlen,c="",h=null;;){var u=y.algo.MD5.create();if(null!=h&&u.update(h),u.update(s),u.update(o),h=u.finalize(),(c+=y.enc.Hex.stringify(h)).length>=2*a)break}var l={};return l.keyhex=c.substr(0,2*i[t].keylen),l.ivhex=c.substr(2*i[t].keylen,2*i[t].ivlen),l},a=function(t,e,r,n){var o=y.enc.Base64.parse(t),s=y.enc.Hex.stringify(o);return(0,i[e].proc)(s,r,n)};return{version:"1.0.0",parsePKCS5PEM:function(t){return o(t)},getKeyAndUnusedIvByPasscodeAndIvsalt:function(t,e,r){return s(t,e,r)},decryptKeyB64:function(t,e,r,n){return a(t,e,r,n)},getDecryptedKeyHex:function(t,e){var r=o(t),n=r.cipher,i=r.ivsalt,c=r.data,h=s(n,e,i).keyhex;return a(c,n,h,i)},getEncryptedPKCS5PEMFromPrvKeyHex:function(t,e,r,n,o){var a,c,h="";if(void 0!==n&&null!=n||(n="AES-256-CBC"),void 0===i[n])throw new Error("KEYUTIL unsupported algorithm: "+n);void 0!==o&&null!=o||(o=(a=i[n].ivlen,c=y.lib.WordArray.random(a),y.enc.Hex.stringify(c)).toUpperCase());var u=function(t,e,r,n){return(0,i[e].eproc)(t,r,n)}(e,n,s(n,r,o).keyhex,o);return h="-----BEGIN "+t+" PRIVATE KEY-----\r\n",h+="Proc-Type: 4,ENCRYPTED\r\n",h+="DEK-Info: "+n+","+o+"\r\n",h+="\r\n",(h+=u.replace(/(.{64})/g,"$1\r\n"))+"\r\n-----END "+t+" PRIVATE KEY-----\r\n"},parseHexOfEncryptedPKCS8:function(t){var e=pt.getChildIdx,r=pt.getV,n={},i=e(t,0);if(2!=i.length)throw new Error("malformed format: SEQUENCE(0).items != 2: "+i.length);n.ciphertext=r(t,i[1]);var o=e(t,i[0]);if(2!=o.length)throw new Error("malformed format: SEQUENCE(0.0).items != 2: "+o.length);if("2a864886f70d01050d"!=r(t,o[0]))throw new Error("this only supports pkcs5PBES2");var s=e(t,o[1]);if(2!=o.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";n.encryptionSchemeAlg="TripleDES",n.encryptionSchemeIV=r(t,a[1]);var c=e(t,s[0]);if(2!=c.length)throw new Error("malformed format: SEQUENCE(0.0.1.0).items != 2: "+c.length);if("2a864886f70d01050c"!=r(t,c[0]))throw new Error("this only supports pkcs5PBKDF2");var h=e(t,c[1]);if(h.length<2)throw new Error("malformed format: SEQUENCE(0.0.1.0.1).items < 2: "+h.length);n.pbkdf2Salt=r(t,h[0]);var u=r(t,h[1]);try{n.pbkdf2Iter=parseInt(u,16)}catch(t){throw new Error("malformed format pbkdf2Iter: "+u)}return n},getPBKDF2KeyHexFromParam:function(t,e){var r=y.enc.Hex.parse(t.pbkdf2Salt),n=y.PBKDF2(e,r,{keySize:6,iterations:t.pbkdf2Iter});return y.enc.Hex.stringify(n)},_getPlainPKCS8HexFromEncryptedPKCS8PEM:function(t,e){var r=Rt(t,"ENCRYPTED PRIVATE KEY"),n=this.parseHexOfEncryptedPKCS8(r),i=qt.getPBKDF2KeyHexFromParam(n,e),o={};o.ciphertext=y.enc.Hex.parse(n.ciphertext);var s=y.enc.Hex.parse(i),a=y.enc.Hex.parse(n.encryptionSchemeIV),c=y.TripleDES.decrypt(o,s,{iv:a});return y.enc.Hex.stringify(c)},getKeyFromEncryptedPKCS8PEM:function(t,e){var r=this._getPlainPKCS8HexFromEncryptedPKCS8PEM(t,e);return this.getKeyFromPlainPrivatePKCS8Hex(r)},parsePlainPrivatePKCS8Hex:function(t){var e=pt,r=e.getChildIdx,n=e.getV,i={algparam:null};if("30"!=t.substr(0,2))throw new Error("malformed plain PKCS8 private key(code:001)");var o=r(t,0);if(o.length<3)throw new Error("malformed plain PKCS8 private key(code:002)");if("30"!=t.substr(o[1],2))throw new Error("malformed PKCS8 private key(code:003)");var s=r(t,o[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(i.algoid=n(t,s[0]),"06"==t.substr(s[1],2)&&(i.algparam=n(t,s[1])),"04"!=t.substr(o[2],2))throw new Error("malformed PKCS8 private key(code:006)");return i.keyidx=e.getVidx(t,o[2]),i},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 it;else if("2a8648ce380401"==r.algoid)e=new ht.crypto.DSA;else{if("2a8648ce3d0201"!=r.algoid)throw new Error("unsupported private key algorithm");e=new ht.crypto.ECDSA}return e.readPKCS8PrvKeyHex(t),e},_getKeyFromPublicPKCS8Hex:function(t){var e,r=pt.getVbyList(t,0,[0,0],"06");if("2a864886f70d010101"===r)e=new it;else if("2a8648ce380401"===r)e=new ht.crypto.DSA;else{if("2a8648ce3d0201"!==r)throw new Error("unsupported PKCS#8 public key hex");e=new ht.crypto.ECDSA}return e.readPKCS8PubKeyHex(t),e},parsePublicRawRSAKeyHex:function(t){var e=pt.getChildIdx,r=pt.getV,n={};if("30"!=t.substr(0,2))throw new Error("malformed RSA key(code:001)");var i=e(t,0);if(2!=i.length)throw new Error("malformed RSA key(code:002)");if("02"!=t.substr(i[0],2))throw new Error("malformed RSA key(code:003)");if(n.n=r(t,i[0]),"02"!=t.substr(i[1],2))throw new Error("malformed RSA key(code:004)");return n.e=r(t,i[1]),n},parsePublicPKCS8Hex:function(t){var e=pt,r=e.getChildIdx,n=e.getV,i={algparam:null},o=r(t,0);if(2!=o.length)throw new Error("outer DERSequence shall have 2 elements: "+o.length);var s=o[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(i.algoid=n(t,a[0]),"06"==t.substr(a[1],2)?i.algparam=n(t,a[1]):"30"==t.substr(a[1],2)&&(i.algparam={},i.algparam.p=e.getVbyList(t,a[1],[0],"02"),i.algparam.q=e.getVbyList(t,a[1],[1],"02"),i.algparam.g=e.getVbyList(t,a[1],[2],"02")),"03"!=t.substr(o[1],2))throw new Error("malformed PKCS8 public key(code:004)");return i.key=n(t,o[1]).substr(2),i}}}();function Vt(t,e){for(var r="",n=e/4-t.length,i=0;i<n;i++)r+="0";return r+t}function Gt(t,e,r){for(var n="",i=0;n.length<e;)n+=Et(r(Ct(t+String.fromCharCode.apply(String,[(4278190080&i)>>24,(16711680&i)>>16,(65280&i)>>8,255&i])))),i+=1;return n}function Jt(t){for(var e in ht.crypto.Util.DIGESTINFOHEAD){var r=ht.crypto.Util.DIGESTINFOHEAD[e],n=r.length;if(t.substring(0,n)==r)return[e,t.substring(n)]}return[]}function Kt(t){var e,r=pt,n=r.getChildIdx,i=r.getV,o=r.getTLV,s=r.getVbyList,a=r.getVbyListEx,c=r.getTLVbyList,h=r.getTLVbyListEx,u=r.getIdxbyList,l=r.getIdxbyListEx,p=r.getVidx,d=r.getInt,m=r.oidname,f=r.hextooidstr,g=Rt;try{e=ht.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=c(this.hex,0,[0,0]);if("a0"==t.substr(0,2)){var e=c(t,0,[0]),r=d(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=h(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 m(a(t,0,[0],"06"))},this.getIssuer=function(){return this.getX500Name(this.getIssuerHex())},this.getIssuerHex=function(){return c(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 c(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 qt.getKey(this.getPublicKeyHex(),null,"pkcs8pub")},this.getSignatureAlgorithmName=function(){var t=c(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(),n=c(this.hex,0,[0],"30"),i=new ht.crypto.Signature({alg:e});return i.init(t),i.updateHex(n),i.verify(r)},this.parseExt=function(t){var e,o,a;if(void 0===t){if(3!==this.version)return-1;e=u(a=this.hex,0,[0,7,0],"30"),o=n(a,e)}else{a=Rt(t);var c=u(a,0,[0,3,0,0],"06");if("2a864886f70d01090e"!=i(a,c))return void(this.aExtInfo=new Array);e=u(a,0,[0,3,0,1,0],"30"),o=n(a,e),this.hex=a}this.aExtInfo=new Array;for(var h=0;h<o.length;h++){var l={critical:!1},d=0;3===n(a,o[h]).length&&(l.critical=!0,d=1),l.oid=r.hextooidstr(s(a,o[h],[0],"06"));var m=u(a,o[h],[1+d]);l.vidx=p(a,m),this.aExtInfo.push(l)}},this.getExtInfo=function(t){var e=this.aExtInfo,r=t;if(t.match(/^[0-9.]+$/)||(r=ht.asn1.x509.OID.name2oid(t)),""!==r)for(var n=0;n<e.length;n++)if(e[n].oid===r)return e[n]},this.getExtBasicConstraints=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("basicConstraints");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:"basicConstraints"};if(e&&(n.critical=!0),"3000"===t)return n;if("30030101ff"===t)return n.cA=!0,n;if("30060101ff02"===t.substr(0,12)){var s=i(t,10),a=parseInt(s,16);return n.cA=!0,n.pathLen=a,n}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=o(this.hex,r.vidx),e=r.critical}var n={extname:"keyUsage"};return e&&(n.critical=!0),n.names=this.getExtKeyUsageString(t).split(","),n},this.getExtKeyUsageBin=function(t){if(void 0===t){var e=this.getExtInfo("keyUsage");if(void 0===e)return"";t=o(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,n=0;n<e.length;n++)"1"==e.substr(n,1)&&r.push(Kt.KEYUSAGE_NAME[n]);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=o(this.hex,r.vidx),e=r.critical}var n={extname:"subjectKeyIdentifier"};e&&(n.critical=!0);var s=i(t,0);return n.kid={hex:s},n},this.getExtAuthorityKeyIdentifier=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("authorityKeyIdentifier");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var s={extname:"authorityKeyIdentifier"};e&&(s.critical=!0);for(var a=n(t,0),c=0;c<a.length;c++){var h=t.substr(a[c],2);if("80"===h&&(s.kid={hex:i(t,a[c])}),"a1"===h){var u=o(t,a[c]),l=this.getGeneralNames(u);s.issuer=l[0].dn}"82"===h&&(s.sn={hex:i(t,a[c])})}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=o(this.hex,r.vidx),e=r.critical}var s={extname:"extKeyUsage",array:[]};e&&(s.critical=!0);for(var a=n(t,0),c=0;c<a.length;c++)s.array.push(m(i(t,a[c])));return s},this.getExtExtKeyUsageName=function(){var t=this.getExtInfo("extKeyUsage");if(void 0===t)return t;var e=new Array,r=o(this.hex,t.vidx);if(""===r)return e;for(var s=n(r,0),a=0;a<s.length;a++)e.push(m(i(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=o(this.hex,r.vidx),e=r.critical}var n={extname:"subjectAltName",array:[]};return e&&(n.critical=!0),n.array=this.getGeneralNames(t),n},this.getExtIssuerAltName=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("issuerAltName");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var n={extname:"issuerAltName",array:[]};return e&&(n.critical=!0),n.array=this.getGeneralNames(t),n},this.getGeneralNames=function(t){for(var e=n(t,0),r=[],i=0;i<e.length;i++){var s=this.getGeneralName(o(t,e[i]));void 0!==s&&r.push(s)}return r},this.getGeneralName=function(t){var e=t.substr(0,2),r=i(t,0),n=Et(r);return"81"==e?{rfc822:n}:"82"==e?{dns:n}:"86"==e?{uri:n}:"87"==e?{ip:jt(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,c=o(this.hex,s.vidx),h=n(c,0),u=0;u<h.length;u++)r=c.substr(h[u],2),t=i(c,h[u]),"81"===r&&(e=At(t),a.push(["MAIL",e])),"82"===r&&(e=At(t),a.push(["DNS",e])),"84"===r&&(e=Kt.hex2dn(t,0),a.push(["DN",e])),"86"===r&&(e=At(t),a.push(["URI",e])),"87"===r&&(e=jt(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=o(this.hex,r.vidx),e=r.critical}var i={extname:"cRLDistributionPoints",array:[]};e&&(i.critical=!0);for(var s=n(t,0),a=0;a<s.length;a++){var c=o(t,s[a]);i.array.push(this.getDistributionPoint(c))}return i},this.getDistributionPoint=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=t.substr(r[i],2),a=o(t,r[i]);"a0"==s&&(e.dpname=this.getDistributionPointName(a))}return e},this.getDistributionPointName=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=t.substr(r[i],2),a=o(t,r[i]);"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=n(this.hex,t.vidx),i=0;i<r.length;i++)try{var o=At(s(this.hex,r[i],[0,0,0],"86"));e.push(o)}catch(t){}return e},this.getExtAIAInfo=function(){var t=this.getExtInfo("authorityInfoAccess");if(void 0===t)return t;for(var e={ocsp:[],caissuer:[]},r=n(this.hex,t.vidx),i=0;i<r.length;i++){var o=s(this.hex,r[i],[0],"06"),a=s(this.hex,r[i],[1],"86");"2b06010505073001"===o&&e.ocsp.push(At(a)),"2b06010505073002"===o&&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=o(this.hex,r.vidx),e=r.critical}var i={extname:"authorityInfoAccess",array:[]};e&&(i.critical=!0);for(var c=n(t,0),h=0;h<c.length;h++){var u=a(t,c[h],[0],"06"),l=At(s(t,c[h],[1],"86"));if("2b06010505073001"==u)i.array.push({ocsp:l});else{if("2b06010505073002"!=u)throw new Error("unknown method: "+u);i.array.push({caissuer:l})}}return i},this.getExtCertificatePolicies=function(t,e){if(void 0===t&&void 0===e){var r=this.getExtInfo("certificatePolicies");if(void 0===r)return;t=o(this.hex,r.vidx),e=r.critical}var i={extname:"certificatePolicies",array:[]};e&&(i.critical=!0);for(var s=n(t,0),a=0;a<s.length;a++){var c=o(t,s[a]),h=this.getPolicyInformation(c);i.array.push(h)}return i},this.getPolicyInformation=function(t){var e={},r=s(t,0,[0],"06");e.policyoid=m(r);var i=l(t,0,[1],"30");if(-1!=i){e.array=[];for(var a=n(t,i),c=0;c<a.length;c++){var h=o(t,a[c]),u=this.getPolicyQualifierInfo(h);e.array.push(u)}}return e},this.getPolicyQualifierInfo=function(t){var e={},r=s(t,0,[0],"06");if("2b06010505070201"===r){var n=a(t,0,[1],"16");e.cps=Et(n)}else if("2b06010505070202"===r){var i=c(t,0,[1],"30");e.unotice=this.getUserNotice(i)}return e},this.getUserNotice=function(t){for(var e={},r=n(t,0),i=0;i<r.length;i++){var s=o(t,r[i]);"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(i(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:i(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(i(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 n=i(t,0);return r.hex=n,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=o(this.hex,r.vidx),e=r.critical}var i={extname:"adobeTimeStamp"};e&&(i.critical=!0);var s=n(t,0);if(s.length>1){var a=o(t,s[1]),c=this.getGeneralName(a);null!=c.uri&&(i.uri=c.uri)}if(s.length>2){var h=o(t,s[2]);"0101ff"==h&&(i.reqauth=!0),"010100"==h&&(i.reqauth=!1)}return i},this.getX500NameRule=function(t){for(var e=null,r=[],n=0;n<t.length;n++)for(var i=t[n],o=0;o<i.length;o++)r.push(i[o]);for(n=0;n<r.length;n++){var s=r[n],a=s.ds,c=s.type;if("prn"!=a&&"utf8"!=a&&"ia5"!=a)return"mixed";if("ia5"==a){if("CN"!=c)return"mixed";if(ht.lang.String.isMail(s.value))continue;return"mixed"}if("C"==c){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=n(t,0),i=0;i<r.length;i++)e.push(this.getRDN(o(t,r[i])));return e},this.getRDN=function(t){for(var e=[],r=n(t,0),i=0;i<r.length;i++)e.push(this.getAttrTypeAndValue(o(t,r[i])));return e},this.getAttrTypeAndValue=function(t){var e={type:null,value:null,ds:null},r=n(t,0),i=s(t,r[0],[],"06"),o=s(t,r[1],[]),a=ht.asn1.ASN1Util.oidHexToInt(i);return e.type=ht.asn1.x509.OID.oid2atype(a),e.ds=this.HEX2STAG[t.substr(r[1],2)],e.value="bmp"!=e.ds?At(o):Nt(o),e},this.readCertPEM=function(t){this.readCertHex(g(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=Ft(this.getPublicKeyHex(),"PUBLIC KEY"),this.aExtInfo.length>0&&(t.ext=this.getExtParamArray()),t.sighex=this.getSignatureValueHex(),t},this.getExtParamArray=function(t){null==t&&-1!=l(this.hex,0,[0,"[3]"])&&(t=h(this.hex,0,[0,"[3]",0],"30"));for(var e=[],r=n(t,0),i=0;i<r.length;i++){var s=o(t,r[i]),a=this.getExtParam(s);null!=a&&e.push(a)}return e},this.getExtParam=function(t){var e=n(t,0).length;if(2!=e&&3!=e)throw new Error("wrong number elements in Extension: "+e+" "+t);var r=f(s(t,0,[0],"06")),i=!1;3==e&&"0101ff"==c(t,0,[1])&&(i=!0);var o=c(t,0,[e-1,0]),a=void 0;if("2.5.29.14"==r?a=this.getExtSubjectKeyIdentifier(o,i):"2.5.29.15"==r?a=this.getExtKeyUsage(o,i):"2.5.29.17"==r?a=this.getExtSubjectAltName(o,i):"2.5.29.18"==r?a=this.getExtIssuerAltName(o,i):"2.5.29.19"==r?a=this.getExtBasicConstraints(o,i):"2.5.29.31"==r?a=this.getExtCRLDistributionPoints(o,i):"2.5.29.32"==r?a=this.getExtCertificatePolicies(o,i):"2.5.29.35"==r?a=this.getExtAuthorityKeyIdentifier(o,i):"2.5.29.37"==r?a=this.getExtExtKeyUsage(o,i):"1.3.6.1.5.5.7.1.1"==r?a=this.getExtAuthorityInfoAccess(o,i):"2.5.29.20"==r?a=this.getExtCRLNumber(o,i):"2.5.29.21"==r?a=this.getExtCRLReason(o,i):"1.3.6.1.5.5.7.48.1.2"==r?a=this.getExtOcspNonce(o,i):"1.3.6.1.5.5.7.48.1.5"==r?a=this.getExtOcspNoCheck(o,i):"1.2.840.113583.1.1.9.1"==r&&(a=this.getExtAdobeTimeStamp(o,i)),null!=a)return a;var h={extname:r,extn:o};return i&&(h.critical=!0),h},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 n=r.array,i=0;i<n.length;i++)if(null!=n[i].dpname&&null!=n[i].dpname.full)for(var o=n[i].dpname.full,s=0;s<o.length;s++){var a=o[i];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 n=r.array,i=0;i<n.length;i++)null!=n[i].ocsp&&(n[i].ocsp=e)},this.updateExtAIACAIssuer=function(t,e){var r=this.findExt(t,"authorityInfoAccess");if(null!=r&&null!=r.array)for(var n=r.array,i=0;i<n.length;i++)null!=n[i].caissuer&&(n[i].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,n,i=function(t){for(var e="",r=t.array,n=0;n<r.length;n++){var i=r[n];if(e+=" policy oid: "+i.policyoid+"\n",void 0!==i.array)for(var o=0;o<i.array.length;o++){var s=i.array[o];void 0!==s.cps&&(e+=" cps: "+s.cps+"\n")}}return e},o=function(t){for(var e="",r=t.array,n=0;n<r.length;n++){var i=r[n];try{void 0!==i.dpname.full[0].uri&&(e+=" "+i.dpname.full[0].uri+"\n")}catch(t){}try{void 0!==i.dname.full[0].dn.hex&&(e+=" "+Kt.hex2dn(i.dpname.full[0].dn.hex)+"\n")}catch(t){}}return e},s=function(t){for(var e="",r=t.array,n=0;n<r.length;n++){var i=r[n];void 0!==i.caissuer&&(e+=" caissuer: "+i.caissuer+"\n"),void 0!==i.ocsp&&(e+=" ocsp: "+i.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="+Ut(e.n.toString(16)).substr(0,16)+"...\n",t+=" e="+Ut(e.e.toString(16))+"\n"),null!=(r=this.aExtInfo)){t+="X509v3 Extensions:\n";for(var a=0;a<r.length;a++){var c=r[a],h=ht.asn1.x509.OID.oid2name(c.oid);""===h&&(h=c.oid);var u="";if(!0===c.critical&&(u="CRITICAL"),t+=" "+h+" "+u+":\n","basicConstraints"===h){var l=this.getExtBasicConstraints();void 0===l.cA?t+=" {}\n":(t+=" cA=true",void 0!==l.pathLen&&(t+=", pathLen="+l.pathLen),t+="\n")}else if("keyUsage"===h)t+=" "+this.getExtKeyUsageString()+"\n";else if("subjectKeyIdentifier"===h)t+=" "+this.getExtSubjectKeyIdentifier().kid.hex+"\n";else if("authorityKeyIdentifier"===h){var p=this.getExtAuthorityKeyIdentifier();void 0!==p.kid&&(t+=" kid="+p.kid.hex+"\n")}else"extKeyUsage"===h?t+=" "+this.getExtExtKeyUsage().array.join(", ")+"\n":"subjectAltName"===h?t+=" "+(n=this.getExtSubjectAltName(),JSON.stringify(n.array).replace(/[\[\]\{\}\"]/g,"")+"\n"):"cRLDistributionPoints"===h?t+=o(this.getExtCRLDistributionPoints()):"authorityInfoAccess"===h?t+=s(this.getExtAuthorityInfoAccess()):"certificatePolicies"===h&&(t+=i(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):ht.lang.String.isHex(t)&&this.readCertHex(t))}qt.getKey=function(t,e,r){var n,i=(w=pt).getChildIdx,o=w.getVbyList,s=ht.crypto,a=s.ECDSA,c=s.DSA,h=it,u=Rt,l=qt;if(void 0!==h&&t instanceof h)return t;if(void 0!==a&&t instanceof a)return t;if(void 0!==c&&t instanceof c)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 h).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 h).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 h).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 c).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 c).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 h).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 h).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 h).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 p=(F=new a({curve:t.crv})).ecparams.keylen/4,d="04"+("0000000000"+bt(t.x)).slice(-p)+("0000000000"+bt(t.y)).slice(-p);return F.setPublicKeyHex(d),F}if("EC"===t.kty&&void 0!==t.crv&&void 0!==t.x&&void 0!==t.y&&void 0!==t.d){p=(F=new a({curve:t.crv})).ecparams.keylen/4,d="04"+("0000000000"+bt(t.x)).slice(-p)+("0000000000"+bt(t.y)).slice(-p);var m=("0000000000"+bt(t.d)).slice(-p);return F.setPublicKeyHex(d),F.setPrivateKeyHex(m),F}if("pkcs5prv"===r){var f,g=t,w=pt;if(9===(f=i(g,0)).length)(R=new h).readPKCS5PrvKeyHex(g);else if(6===f.length)(R=new c).readPKCS5PrvKeyHex(g);else{if(!(f.length>2&&"04"===g.substr(f[1],2)))throw new Error("unsupported PKCS#1/5 hexadecimal key");(R=new a).readPKCS5PrvKeyHex(g)}return R}if("pkcs8prv"===r)return l.getKeyFromPlainPrivatePKCS8Hex(t);if("pkcs8pub"===r)return l._getKeyFromPublicPKCS8Hex(t);if("x509pub"===r)return Kt.getPublicKeyFromCertHex(t);if(-1!=t.indexOf("-END CERTIFICATE-",0)||-1!=t.indexOf("-END X509 CERTIFICATE-",0)||-1!=t.indexOf("-END TRUSTED CERTIFICATE-",0))return Kt.getPublicKeyFromCertPEM(t);if(-1!=t.indexOf("-END PUBLIC KEY-")){var v=Rt(t,"PUBLIC KEY");return l._getKeyFromPublicPKCS8Hex(v)}if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var y=u(t,"RSA PRIVATE KEY");return l.getKey(y,null,"pkcs5prv")}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1==t.indexOf("4,ENCRYPTED")){var b=o(n=u(t,"DSA PRIVATE KEY"),0,[1],"02"),S=o(n,0,[2],"02"),A=o(n,0,[3],"02"),E=o(n,0,[4],"02"),P=o(n,0,[5],"02");return(R=new c).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"),l.getKey(y,null,"pkcs5prv");if(-1!=t.indexOf("-END PRIVATE KEY-"))return l.getKeyFromPlainPrivatePKCS8PEM(t);if(-1!=t.indexOf("-END RSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var T=l.getDecryptedKeyHex(t,e),k=new it;return k.readPKCS5PrvKeyHex(T),k}if(-1!=t.indexOf("-END EC PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED")){var F,R=o(n=l.getDecryptedKeyHex(t,e),0,[1],"04"),x=o(n,0,[2,0],"06"),O=o(n,0,[3,0],"03").substr(2);if(void 0===ht.crypto.OID.oidhex2name[x])throw new Error("undefined OID(hex) in KJUR.crypto.OID: "+x);return(F=new a({curve:ht.crypto.OID.oidhex2name[x]})).setPublicKeyHex(O),F.setPrivateKeyHex(R),F.isPublic=!1,F}if(-1!=t.indexOf("-END DSA PRIVATE KEY-")&&-1!=t.indexOf("4,ENCRYPTED"))return b=o(n=l.getDecryptedKeyHex(t,e),0,[1],"02"),S=o(n,0,[2],"02"),A=o(n,0,[3],"02"),E=o(n,0,[4],"02"),P=o(n,0,[5],"02"),(R=new c).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 l.getKeyFromEncryptedPKCS8PEM(t,e);throw new Error("not supported argument")},qt.generateKeypair=function(t,e){if("RSA"==t){var r=e;(s=new it).generate(r,"10001"),s.isPrivate=!0,s.isPublic=!0;var n=new it,i=s.n.toString(16),o=s.e.toString(16);return n.setPublic(i,o),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=n,a}if("EC"==t){var s,a,c=e,h=new ht.crypto.ECDSA({curve:c}).generateKeyPairHex();return(s=new ht.crypto.ECDSA({curve:c})).setPublicKeyHex(h.ecpubhex),s.setPrivateKeyHex(h.ecprvhex),s.isPrivate=!0,s.isPublic=!1,(n=new ht.crypto.ECDSA({curve:c})).setPublicKeyHex(h.ecpubhex),n.isPrivate=!1,n.isPublic=!0,(a={}).prvKeyObj=s,a.pubKeyObj=n,a}throw new Error("unknown algorithm: "+t)},qt.getPEM=function(t,e,r,n,i,o){var s=ht.asn1,a=s.DERObjectIdentifier,c=s.DERInteger,h=s.ASN1Util.newObject,u=ht.crypto,l=u.DSA,p=u.ECDSA,d=it;function m(t){return h({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 f(t){return h({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a0",!0,{oid:{name:t.curveName}}]},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]})}function g(t){return h({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!==d&&t instanceof d||void 0!==l&&t instanceof l||void 0!==p&&t instanceof p)&&1==t.isPublic&&(void 0===e||"PKCS8PUB"==e))return Ft(S=new(0,s.x509.SubjectPublicKeyInfo)(t).getEncodedHex(),"PUBLIC KEY");if("PKCS1PRV"==e&&void 0!==d&&t instanceof d&&(void 0===r||null==r)&&1==t.isPrivate)return Ft(S=m(t).getEncodedHex(),"RSA PRIVATE KEY");if("PKCS1PRV"==e&&void 0!==p&&t instanceof p&&(void 0===r||null==r)&&1==t.isPrivate){var w=new a({name:t.curveName}).getEncodedHex(),v=f(t).getEncodedHex(),b="";return(b+=Ft(w,"EC PARAMETERS"))+Ft(v,"EC PRIVATE KEY")}if("PKCS1PRV"==e&&void 0!==l&&t instanceof l&&(void 0===r||null==r)&&1==t.isPrivate)return Ft(S=g(t).getEncodedHex(),"DSA PRIVATE KEY");if("PKCS5PRV"==e&&void 0!==d&&t instanceof d&&void 0!==r&&null!=r&&1==t.isPrivate){var S=m(t).getEncodedHex();return void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("RSA",S,r,n,o)}if("PKCS5PRV"==e&&void 0!==p&&t instanceof p&&void 0!==r&&null!=r&&1==t.isPrivate)return S=f(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("EC",S,r,n,o);if("PKCS5PRV"==e&&void 0!==l&&t instanceof l&&void 0!==r&&null!=r&&1==t.isPrivate)return S=g(t).getEncodedHex(),void 0===n&&(n="DES-EDE3-CBC"),this.getEncryptedPKCS5PEMFromPrvKeyHex("DSA",S,r,n,o);var A=function(t,e){var r=E(t,e);return new h({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),n=y.lib.WordArray.random(8),i=y.PBKDF2(e,r,{keySize:6,iterations:100}),o=y.enc.Hex.parse(t),s=y.TripleDES.encrypt(o,i,{iv:n})+"",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(n),a};if("PKCS8PRV"==e&&null!=d&&t instanceof d&&1==t.isPrivate){var C=m(t).getEncodedHex();return S=h({seq:[{int:0},{seq:[{oid:{name:"rsaEncryption"}},{null:!0}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===r||null==r?Ft(S,"PRIVATE KEY"):Ft(v=A(S,r),"ENCRYPTED PRIVATE KEY")}if("PKCS8PRV"==e&&void 0!==p&&t instanceof p&&1==t.isPrivate)return C=new h({seq:[{int:1},{octstr:{hex:t.prvKeyHex}},{tag:["a1",!0,{bitstr:{hex:"00"+t.pubKeyHex}}]}]}).getEncodedHex(),S=h({seq:[{int:0},{seq:[{oid:{name:"ecPublicKey"}},{oid:{name:t.curveName}}]},{octstr:{hex:C}}]}).getEncodedHex(),void 0===r||null==r?Ft(S,"PRIVATE KEY"):Ft(v=A(S,r),"ENCRYPTED PRIVATE KEY");if("PKCS8PRV"==e&&void 0!==l&&t instanceof l&&1==t.isPrivate)return C=new c({bigint:t.x}).getEncodedHex(),S=h({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?Ft(S,"PRIVATE KEY"):Ft(v=A(S,r),"ENCRYPTED PRIVATE KEY");throw new Error("unsupported object nor format")},qt.getKeyFromCSRPEM=function(t){var e=Rt(t,"CERTIFICATE REQUEST");return qt.getKeyFromCSRHex(e)},qt.getKeyFromCSRHex=function(t){var e=qt.parseCSRHex(t);return qt.getKey(e.p8pubkeyhex,null,"pkcs8pub")},qt.parseCSRHex=function(t){var e=pt.getChildIdx,r=pt.getTLV,n={},i=t;if("30"!=i.substr(0,2))throw new Error("malformed CSR(code:001)");var o=e(i,0);if(o.length<1)throw new Error("malformed CSR(code:002)");if("30"!=i.substr(o[0],2))throw new Error("malformed CSR(code:003)");var s=e(i,o[0]);if(s.length<3)throw new Error("malformed CSR(code:004)");return n.p8pubkeyhex=r(i,s[2]),n},qt.getKeyID=function(t){var e=qt,r=pt;"string"==typeof t&&-1!=t.indexOf("BEGIN ")&&(t=e.getKey(t));var n=Rt(e.getPEM(t)),i=r.getIdxbyList(n,0,[1]),o=r.getV(n,i).substring(2);return ht.crypto.Util.hashHex(o,"sha1")},qt.getJWKFromKey=function(t){var e={};if(t instanceof it&&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 it&&t.isPublic)return e.kty="RSA",e.n=yt(t.n.toString(16)),e.e=yt(t.e.toString(16)),e;if(t instanceof ht.crypto.ECDSA&&t.isPrivate){if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw new Error("unsupported curve name for JWT: "+n);var r=t.getPublicKeyXYHex();return e.kty="EC",e.crv=n,e.x=yt(r.x),e.y=yt(r.y),e.d=yt(t.prvKeyHex),e}if(t instanceof ht.crypto.ECDSA&&t.isPublic){var n;if("P-256"!==(n=t.getShortNISTPCurveName())&&"P-384"!==n)throw new Error("unsupported curve name for JWT: "+n);return r=t.getPublicKeyXYHex(),e.kty="EC",e.crv=n,e.x=yt(r.x),e.y=yt(r.y),e}throw new Error("not supported key object")},it.getPosArrayOfChildrenFromHex=function(t){return pt.getChildIdx(t,0)},it.getHexValueArrayOfChildrenFromHex=function(t){var e,r=pt.getV,n=r(t,(e=it.getPosArrayOfChildrenFromHex(t))[0]),i=r(t,e[1]),o=r(t,e[2]),s=r(t,e[3]),a=r(t,e[4]),c=r(t,e[5]),h=r(t,e[6]),u=r(t,e[7]),l=r(t,e[8]);return(e=new Array).push(n,i,o,s,a,c,h,u,l),e},it.prototype.readPrivateKeyFromPEMString=function(t){var e=Rt(t),r=it.getHexValueArrayOfChildrenFromHex(e);this.setPrivateEx(r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8])},it.prototype.readPKCS5PrvKeyHex=function(t){var e=it.getHexValueArrayOfChildrenFromHex(t);this.setPrivateEx(e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8])},it.prototype.readPKCS8PrvKeyHex=function(t){var e,r,n,i,o,s,a,c,h=pt.getVbyListEx;if(!1===pt.isASN1HEX(t))throw new Error("not ASN.1 hex string");try{e=h(t,0,[2,0,1],"02"),r=h(t,0,[2,0,2],"02"),n=h(t,0,[2,0,3],"02"),i=h(t,0,[2,0,4],"02"),o=h(t,0,[2,0,5],"02"),s=h(t,0,[2,0,6],"02"),a=h(t,0,[2,0,7],"02"),c=h(t,0,[2,0,8],"02")}catch(t){throw new Error("malformed PKCS#8 plain RSA private key")}this.setPrivateEx(e,r,n,i,o,s,a,c)},it.prototype.readPKCS5PubKeyHex=function(t){var e=pt,r=e.getV;if(!1===e.isASN1HEX(t))throw new Error("keyHex is not ASN.1 hex string");var n=e.getChildIdx(t,0);if(2!==n.length||"02"!==t.substr(n[0],2)||"02"!==t.substr(n[1],2))throw new Error("wrong hex for PKCS#5 public key");var i=r(t,n[0]),o=r(t,n[1]);this.setPublic(i,o)},it.prototype.readPKCS8PubKeyHex=function(t){var e=pt;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)},it.prototype.readCertPubKeyHex=function(t){var e,r;(e=new Kt).readCertHex(t),r=e.getPublicKeyHex(),this.readPKCS8PubKeyHex(r)},it.prototype.sign=function(t,e){var r=ht.crypto.Util.hashString(t,e);return this.signWithMessageHash(r,e)},it.prototype.signWithMessageHash=function(t,e){var r=rt(ht.crypto.Util.getPaddedDigestInfoHex(t,e,this.n.bitLength()),16);return Vt(this.doPrivate(r).toString(16),this.n.bitLength())},it.prototype.signPSS=function(t,e,r){var n,i=(n=Ct(t),ht.crypto.Util.hashHex(n,e));return void 0===r&&(r=-1),this.signWithMessageHashPSS(i,e,r)},it.prototype.signWithMessageHashPSS=function(t,e,r){var n,i=Et(t),o=i.length,s=this.n.bitLength()-1,a=Math.ceil(s/8),c=function(t){return ht.crypto.Util.hashHex(t,e)};if(-1===r||void 0===r)r=o;else if(-2===r)r=a-o-2;else if(r<-2)throw new Error("invalid salt length");if(a<o+r+2)throw new Error("data too long");var h="";r>0&&(h=new Array(r),(new et).nextBytes(h),h=String.fromCharCode.apply(String,h));var u=Et(c(Ct("\0\0\0\0\0\0\0\0"+i+h))),l=[];for(n=0;n<a-r-o-2;n+=1)l[n]=0;var p=String.fromCharCode.apply(String,l)+""+h,d=Gt(u,p.length,c),m=[];for(n=0;n<p.length;n+=1)m[n]=p.charCodeAt(n)^d.charCodeAt(n);for(m[0]&=~(65280>>8*a-s&255),n=0;n<o;n++)m.push(u.charCodeAt(n));return m.push(188),Vt(this.doPrivate(new C(m)).toString(16),this.n.bitLength())},it.prototype.verify=function(t,e){if(null==(e=e.toLowerCase()).match(/^[0-9a-f]+$/))return!1;var r=rt(e,16),n=this.n.bitLength();if(r.bitLength()>n)return!1;var i=this.doPublic(r).toString(16);if(i.length+3!=n/4)return!1;var o=Jt(i.replace(/^1f+00/,""));return 0!=o.length&&o[1]==ht.crypto.Util.hashString(t,o[0])},it.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 n=Jt(this.doPublic(r).toString(16).replace(/^1f+00/,""));return 0!=n.length&&n[1]==t},it.prototype.verifyPSS=function(t,e,r,n){var i,o=(i=Ct(t),ht.crypto.Util.hashHex(i,r));return void 0===n&&(n=-1),this.verifyWithMessageHashPSS(o,e,r,n)},it.prototype.verifyWithMessageHashPSS=function(t,e,r,n){if(e.length!=Math.ceil(this.n.bitLength()/4))return!1;var i,o=new C(e,16),s=function(t){return ht.crypto.Util.hashHex(t,r)},a=Et(t),c=a.length,h=this.n.bitLength()-1,u=Math.ceil(h/8);if(-1===n||void 0===n)n=c;else if(-2===n)n=u-c-2;else if(n<-2)throw new Error("invalid salt length");if(u<c+n+2)throw new Error("data too long");var l=this.doPublic(o).toByteArray();for(i=0;i<l.length;i+=1)l[i]&=255;for(;l.length<u;)l.unshift(0);if(188!==l[u-1])throw new Error("encoded message does not end in 0xbc");var p=(l=String.fromCharCode.apply(String,l)).substr(0,u-c-1),d=l.substr(p.length,c),m=65280>>8*u-h&255;if(0!=(p.charCodeAt(0)&m))throw new Error("bits beyond keysize not zero");var f=Gt(d,p.length,s),g=[];for(i=0;i<p.length;i+=1)g[i]=p.charCodeAt(i)^f.charCodeAt(i);g[0]&=~m;var w=u-c-n-2;for(i=0;i<w;i+=1)if(0!==g[i])throw new Error("leftmost octets not zero");if(1!==g[w])throw new Error("0x01 marker not found");return d===Et(s(Ct("\0\0\0\0\0\0\0\0"+a+String.fromCharCode.apply(String,g.slice(-n)))))},it.SALT_LEN_HLEN=-1,it.SALT_LEN_MAX=-2,it.SALT_LEN_RECOVER=-2,Kt.hex2dn=function(t,e){void 0===e&&(e=0);var r=new Kt;return pt.getTLV(t,e),r.getX500Name(t).str},Kt.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,n=pt.getChildIdx(t,e),i=0;i<n.length;i++)r.push(Kt.hex2attrTypeValue(t,n[i]));return(r=r.map((function(t){return t.replace("+","\\+")}))).join("+")},Kt.hex2attrTypeValue=function(t,e){var r=pt,n=r.getV;if(void 0===e&&(e=0),"30"!==t.substr(e,2))throw new Error("malformed attribute type and value");var i=r.getChildIdx(t,e);2!==i.length||t.substr(i[0],2);var o=n(t,i[0]),s=ht.asn1.ASN1Util.oidHexToInt(o);return ht.asn1.x509.OID.oid2atype(s)+"="+Et(n(t,i[1]))},Kt.getPublicKeyFromCertHex=function(t){var e=new Kt;return e.readCertHex(t),e.getPublicKey()},Kt.getPublicKeyFromCertPEM=function(t){var e=new Kt;return e.readCertPEM(t),e.getPublicKey()},Kt.getPublicKeyInfoPropOfCertPEM=function(t){var e,r,n=pt.getVbyList,i={algparam:null};return(e=new Kt).readCertPEM(t),r=e.getPublicKeyHex(),i.keyhex=n(r,0,[1],"03").substr(2),i.algoid=n(r,0,[0,0],"06"),"2a8648ce3d0201"===i.algoid&&(i.algparam=n(r,0,[0,1],"06")),i},Kt.KEYUSAGE_NAME=["digitalSignature","nonRepudiation","keyEncipherment","dataEncipherment","keyAgreement","keyCertSign","cRLSign","encipherOnly","decipherOnly"],void 0!==ht&&ht||(e.KJUR=ht={}),void 0!==ht.jws&&ht.jws||(ht.jws={}),ht.jws.JWS=function(){var t=ht.jws.JWS.isSafeJSONString;this.parseJWS=function(e,r){if(void 0===this.parsedJWS||!r&&void 0===this.parsedJWS.sigvalH){var n=e.match(/^([^.]+)\.([^.]+)\.([^.]+)$/);if(null==n)throw"JWS signature is not a form of 'Head.Payload.SigValue'.";var i=n[1],o=n[2],s=n[3],a=i+"."+o;if(this.parsedJWS={},this.parsedJWS.headB64U=i,this.parsedJWS.payloadB64U=o,this.parsedJWS.sigvalB64U=s,this.parsedJWS.si=a,!r){var c=bt(s),h=rt(c,16);this.parsedJWS.sigvalH=c,this.parsedJWS.sigvalBI=h}var u=lt(i),l=lt(o);if(this.parsedJWS.headS=u,this.parsedJWS.payloadS=l,!t(u,this.parsedJWS,"headP"))throw"malformed JSON string for JWS Head: "+u}}},ht.jws.JWS.sign=function(t,e,r,n,i){var o,s,a,c=ht.jws.JWS,h=c.readSafeJSONString,u=c.isSafeJSONString,l=ht.crypto,p=l.Mac,d=l.Signature,m=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))&&(o=m.stringify(s=e)),"string"==typeof e){if(!u(o=e))throw"JWS Head is not safe JSON string: "+o;s=h(o)}if(a=r,"object"==(void 0===r?"undefined":w(r))&&(a=m.stringify(r)),""!=t&&null!=t||void 0===s.alg||(t=s.alg),""!=t&&null!=t&&void 0===s.alg&&(s.alg=t,o=m.stringify(s)),t!==s.alg)throw"alg and sHeader.alg doesn't match: "+t+"!="+s.alg;var f=null;if(void 0===c.jwsalg2sigalg[t])throw"unsupported alg name: "+t;f=c.jwsalg2sigalg[t];var g=ut(o)+"."+ut(a),v="";if("Hmac"==f.substr(0,4)){if(void 0===n)throw"mac key shall be specified for HS* alg";var y=new p({alg:f,prov:"cryptojs",pass:n});y.updateString(g),v=y.doFinal()}else if(-1!=f.indexOf("withECDSA")){(S=new d({alg:f})).init(n,i),S.updateString(g);var b=S.sign();v=ht.crypto.ECDSA.asn1SigToConcatSig(b)}else{var S;"none"!=f&&((S=new d({alg:f})).init(n,i),S.updateString(g),v=S.sign())}return g+"."+yt(v)},ht.jws.JWS.verify=function(t,e,r){var n,i=ht.jws.JWS,o=i.readSafeJSONString,s=ht.crypto,a=s.ECDSA,c=s.Mac,h=s.Signature;void 0!==w(it)&&(n=it);var u=t.split(".");if(3!==u.length)return!1;var l,p=u[0]+"."+u[1],d=bt(u[2]),m=o(lt(u[0])),f=null;if(void 0===m.alg)throw"algorithm not specified in header";if(l=(f=m.alg).substr(0,2),null!=r&&"[object Array]"===Object.prototype.toString.call(r)&&r.length>0&&-1==(":"+r.join(":")+":").indexOf(":"+f+":"))throw"algorithm '"+f+"' not accepted in the list";if("none"!=f&&null===e)throw"key shall be specified to verify.";if("string"==typeof e&&-1!=e.indexOf("-----BEGIN ")&&(e=qt.getKey(e)),!("RS"!=l&&"PS"!=l||e instanceof n))throw"key shall be a RSAKey obj for RS* and PS* algs";if("ES"==l&&!(e instanceof a))throw"key shall be a ECDSA obj for ES* algs";var g=null;if(void 0===i.jwsalg2sigalg[m.alg])throw"unsupported alg name: "+f;if("none"==(g=i.jwsalg2sigalg[f]))throw"not supported";if("Hmac"==g.substr(0,4)){if(void 0===e)throw"hexadecimal key shall be specified for HMAC";var v=new c({alg:g,pass:e});return v.updateString(p),d==v.doFinal()}if(-1!=g.indexOf("withECDSA")){var y,b=null;try{b=a.concatSigToASN1Sig(d)}catch(t){return!1}return(y=new h({alg:g})).init(e),y.updateString(p),y.verify(b)}return(y=new h({alg:g})).init(e),y.updateString(p),y.verify(d)},ht.jws.JWS.parse=function(t){var e,r,n=t.split("."),i={};if(2!=n.length&&3!=n.length)throw"malformed sJWS: wrong number of '.' splitted elements";return e=n[1],3==n.length&&(r=n[2]),i.headerObj=ht.jws.JWS.readSafeJSONString(lt(n[0])),i.payloadObj=ht.jws.JWS.readSafeJSONString(lt(e)),i.headerPP=JSON.stringify(i.headerObj,null," "),i.payloadPP=null==i.payloadObj?lt(e):JSON.stringify(i.payloadObj,null," "),void 0!==r&&(i.sigHex=bt(r)),i},ht.jws.JWS.verifyJWT=function(t,e,r){var n=ht.jws,i=n.JWS,o=i.readSafeJSONString,s=i.inArray,a=i.includedArray,c=t.split("."),h=c[0],u=c[1],l=(bt(c[2]),o(lt(h))),p=o(lt(u));if(void 0===l.alg)return!1;if(void 0===r.alg)throw"acceptField.alg shall be specified";if(!s(l.alg,r.alg))return!1;if(void 0!==p.iss&&"object"===w(r.iss)&&!s(p.iss,r.iss))return!1;if(void 0!==p.sub&&"object"===w(r.sub)&&!s(p.sub,r.sub))return!1;if(void 0!==p.aud&&"object"===w(r.aud))if("string"==typeof p.aud){if(!s(p.aud,r.aud))return!1}else if("object"==w(p.aud)&&!a(p.aud,r.aud))return!1;var d=n.IntDate.getNow();return void 0!==r.verifyAt&&"number"==typeof r.verifyAt&&(d=r.verifyAt),void 0!==r.gracePeriod&&"number"==typeof r.gracePeriod||(r.gracePeriod=0),!(void 0!==p.exp&&"number"==typeof p.exp&&p.exp+r.gracePeriod<d||void 0!==p.nbf&&"number"==typeof p.nbf&&d<p.nbf-r.gracePeriod||void 0!==p.iat&&"number"==typeof p.iat&&d<p.iat-r.gracePeriod||void 0!==p.jti&&void 0!==r.jti&&p.jti!==r.jti||!i.verify(t,e,r.alg))},ht.jws.JWS.includedArray=function(t,e){var r=ht.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 n=0;n<t.length;n++)if(!r(t[n],e))return!1;return!0},ht.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},ht.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"},ht.jws.JWS.isSafeJSONString=function(t,e,r){var n=null;try{return"object"!=(void 0===(n=ct(t))?"undefined":w(n))||n.constructor===Array?0:(e&&(e[r]=n),1)}catch(t){return 0}},ht.jws.JWS.readSafeJSONString=function(t){var e=null;try{return"object"!=(void 0===(e=ct(t))?"undefined":w(e))||e.constructor===Array?null:e}catch(t){return null}},ht.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]},ht.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(ht.crypto.Util.hashHex(r,"sha256"))},ht.jws.IntDate={},ht.jws.IntDate.get=function(t){var e=ht.jws.IntDate,r=e.getNow,n=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 n(t);if(t.match(/^[0-9]+$/))return parseInt(t);throw"unsupported format: "+t},ht.jws.IntDate.getZulu=function(t){return Ot(t)},ht.jws.IntDate.getNow=function(){return~~(new Date/1e3)},ht.jws.IntDate.intDate2UTCString=function(t){return new Date(1e3*t).toUTCString()},ht.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=it,e.EDSA=ht.crypto.EDSA,e.DSA=ht.crypto.DSA,e.Signature=ht.crypto.Signature,e.MessageDigest=ht.crypto.MessageDigest,e.Mac=ht.crypto.Mac,e.Cipher=ht.crypto.Cipher,e.KEYUTIL=qt,e.ASN1HEX=pt,e.X509=Kt,e.CryptoJS=y,e.b64tohex=A,e.b64toBA=E,e.stoBA=dt,e.BAtos=mt,e.BAtohex=ft,e.stohex=gt,e.stob64=function(t){return S(gt(t))},e.stob64u=function(t){return wt(S(gt(t)))},e.b64utos=function(t){return mt(E(vt(t)))},e.b64tob64u=wt,e.b64utob64=vt,e.hex2b64=S,e.hextob64u=yt,e.b64utohex=bt,e.utf8tob64u=ut,e.b64utoutf8=lt,e.utf8tob64=function(t){return S(Dt(Lt(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=Tt,e.b64nltohex=kt,e.hextopem=Ft,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),n=0;n<t.length/2;n++)r.setUint8(n,parseInt(t.substr(2*n,2),16));return e},e.ArrayBuffertohex=function(t){for(var e="",r=new DataView(t),n=0;n<t.byteLength;n++)e+=("00"+r.getUint8(n).toString(16)).slice(-2);return e},e.zulutomsec=xt,e.zulutosec=Ot,e.zulutodate=function(t){return new Date(xt(t))},e.datetozulu=function(t,e,r){var n,i=t.getUTCFullYear();if(e){if(i<1950||2049<i)throw"not proper year for UTCTime: "+i;n=(""+i).slice(-2)}else n=("000"+i).slice(-4);if(n+=("0"+(t.getUTCMonth()+1)).slice(-2),n+=("0"+t.getUTCDate()).slice(-2),n+=("0"+t.getUTCHours()).slice(-2),n+=("0"+t.getUTCMinutes()).slice(-2),n+=("0"+t.getUTCSeconds()).slice(-2),r){var o=t.getUTCMilliseconds();0!==o&&(n+="."+(o=(o=("00"+o).slice(-3)).replace(/0+$/g,"")))}return n+"Z"},e.uricmptohex=Dt,e.hextouricmp=It,e.ipv6tohex=Mt,e.hextoipv6=_t,e.hextoip=jt,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 Mt(t);throw e}var r=t.split(".");if(4!==r.length)throw e;var n="";try{for(var i=0;i<4;i++)n+=("0"+parseInt(r[i]).toString(16)).slice(-2);return n}catch(t){throw e}},e.encodeURIComponentAll=Lt,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=Ut,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 n=0;n<r;n++)if(t.charCodeAt(n)!=e.charCodeAt(n))return n;return t.length!=e.length?r:-1},e.KJUR=ht,e.crypto=ht.crypto,e.asn1=ht.asn1,e.jws=ht.jws,e.lang=ht.lang}).call(this,r(28).Buffer)},function(t,e,r){(function(t){var n=r(30),i=r(31),o=r(32);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(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 l(this,t)}return h(this,t,e,r)}function h(t,e,r,n){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,n){if(r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=p(t,e),t}(t,e,r,n):"string"==typeof e?function(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,r),i=(t=a(t,n)).write(e,r);return i!==n&&(t=t.slice(0,i)),t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(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||(n=e.length)!=n?a(t,0):p(t,e);if("Buffer"===e.type&&o(e.data))return p(t,e.data)}var n;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 l(t,e){if(u(e),t=a(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function p(t,e){var r=e.length<0?0:0|d(e.length);t=a(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function m(t,e){if(c.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 n=!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(n)return H(t).length;e=(""+e).toLowerCase(),n=!0}}function f(t,e,r){var n=!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 x(this,e,r);case"utf8":case"utf-8":return T(this,e,r);case"ascii":return F(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 O(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function w(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,i){var o,s=1,a=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,r/=2}function h(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=r;o<a;o++)if(h(t,o)===h(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(r+c>a&&(r=a-c),o=r;o>=0;o--){for(var l=!0,p=0;p<c;p++)if(h(t,o+p)!==h(e,p)){l=!1;break}if(l)return o}return-1}function y(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++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,n){return q(H(e,t.length-r),t,r,n)}function S(t,e,r,n){return q(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function A(t,e,r,n){return S(t,e,r,n)}function E(t,e,r,n){return q(W(e),t,r,n)}function C(t,e,r,n){return q(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,t.length-r),t,r,n)}function P(t,e,r){return n.fromByteArray(0===e&&r===t.length?t:t.slice(e,r))}function T(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,a,c,h=t[i],u=null,l=h>239?4:h>223?3:h>191?2:1;if(i+l<=r)switch(l){case 1:h<128&&(u=h);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&h)<<6|63&o)>127&&(u=c);break;case 3:s=t[i+2],128==(192&(o=t[i+1]))&&128==(192&s)&&(c=(15&h)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:s=t[i+2],a=t[i+3],128==(192&(o=t[i+1]))&&128==(192&s)&&128==(192&a)&&(c=(15&h)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,l=1):u>65535&&(n.push((u-=65536)>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=l}return function(t){var e=t.length;if(e<=k)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=k));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){return+t!=t&&(t=0),c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.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(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return h(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return n=null,o=e,s=r,u(i=t),i<=0?a(n,i):void 0!==o?"string"==typeof s?a(n,i).fill(o,s):a(n,i).fill(o):a(n,i);var n,i,o,s},c.allocUnsafe=function(t){return l(null,t)},c.allocUnsafeSlow=function(t){return l(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:n<r?1:0},c.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}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var s=t[r];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,i),i+=s.length}return n},c.byteLength=m,c.prototype._isBuffer=!0,c.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)g(this,e,e+1);return this},c.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)g(this,e,e+3),g(this,e+1,e+2);return this},c.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)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):f.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.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+">"},c.prototype.compare=function(t,e,r,n,i){if(!c.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===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(o,s),h=this.slice(n,i),u=t.slice(e,r),l=0;l<a;++l)if(h[l]!==u[l]){o=h[l],s=u[l];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return w(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return w(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=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===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-e;if((void 0===r||r>i)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){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(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var k=4096;function F(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}function R(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function x(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=U(t[o]);return i}function O(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function D(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,n,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function M(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-r,2);i<o;++i)t[r+i]=(e&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function _(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-r,4);i<o;++i)t[r+i]=e>>>8*(n?i:3-i)&255}function j(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,o){return o||j(t,0,r,4),i.write(t,e,r,n,23,4),r+4}function L(t,e,r,n,o){return o||j(t,0,r,8),i.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;r=new c(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},c.prototype.readUInt8=function(t,e){return e||D(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||D(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||D(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||D(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||D(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||D(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||D(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||D(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||D(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||D(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||D(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||D(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||D(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[e]=255&t;++o<r&&(i*=256);)this[e+o]=t/i&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||I(this,t,e,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),c.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},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,4294967295,0),c.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},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);I(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||I(this,t,e,4,2147483647,-2147483648),c.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},c.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),c.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},c.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return L(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return L(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===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(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i,o=n-r;if(this===t&&r<e&&e<n)for(i=o-1;i>=0;--i)t[i+e]=this[i+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}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 o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=c.isBuffer(t)?t:H(new c(t,n).toString()),a=s.length;for(o=0;o<r-e;++o)this[o+e]=s[o%a]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function U(t){return t<16?"0"+t.toString(16):t.toString(16)}function H(t,e){var r;e=e||1/0;for(var n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.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;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function W(t){return n.toByteArray(function(t){if((t=(e=t,e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(B,"")).length<2)return"";for(var e;t.length%4!=0;)t+="=";return t}(t))}function q(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}}).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=c(t),r=e[1];return 3*(e[0]+r)/4-r},e.toByteArray=function(t){var e,r,o,s=c(t),a=s[0],h=s[1],u=new i(3*(a+(o=h))/4-o),l=0,p=h>0?a-4:a;for(r=0;r<p;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[l++]=e>>16&255,u[l++]=e>>8&255,u[l++]=255&e;return 2===h&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[l++]=255&e),1===h&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[l++]=e>>8&255,u[l++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=16383,a=0,c=n-i;a<c;a+=s)o.push(h(t,a,a+s>c?c:a+s));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function c(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 h(t,e,n){for(var i,o=[],s=e;s<n;s+=3)o.push(r[(i=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]))>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,c=(1<<a)-1,h=c>>1,u=-7,l=r?i-1:0,p=r?-1:1,d=t[e+l];for(l+=p,o=d&(1<<-u)-1,d>>=-u,u+=a;u>0;o=256*o+t[e+l],l+=p,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+t[e+l],l+=p,u-=8);if(0===o)o=1-h;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),o-=h}return(d?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,c,h=8*o-i-1,u=(1<<h)-1,l=u>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,m=n?1:-1,f=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*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+l>=1?p/c:p*Math.pow(2,1-l))*c>=2&&(s++,c/=2),s+l>=u?(a=0,s=u):s+l>=1?(a=(e*c-1)*Math.pow(2,i),s+=l):(a=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+d]=255&a,d+=m,a/=256,i-=8);for(s=s<<i|a,h+=i;h>0;t[r+d]=255&s,d+=m,s/=256,h-=8);t[r+d-m]|=128*f}},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,i=t.X509,o=t.crypto,s=t.hextob64u,a=t.b64tohex,c=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){n.Log.debug("JoseUtil.parseJwt");try{var r=e.JWS.parse(t);return{header:r.headerObj,payload:r.payloadObj}}catch(t){n.Log.error(t)}},t.validateJwt=function(e,o,s,c,h,u,l){n.Log.debug("JoseUtil.validateJwt");try{if("RSA"===o.kty)if(o.e&&o.n)o=r.getKey(o);else{if(!o.x5c||!o.x5c.length)return n.Log.error("JoseUtil.validateJwt: RSA key missing key material",o),Promise.reject(new Error("RSA key missing key material"));var p=a(o.x5c[0]);o=i.getPublicKeyFromCertHex(p)}else{if("EC"!==o.kty)return n.Log.error("JoseUtil.validateJwt: Unsupported key type",o&&o.kty),Promise.reject(new Error(o.kty));if(!(o.crv&&o.x&&o.y))return n.Log.error("JoseUtil.validateJwt: EC key missing key material",o),Promise.reject(new Error("EC key missing key material"));o=r.getKey(o)}return t._validateJwt(e,o,s,c,h,u,l)}catch(t){return n.Log.error(t&&t.message||t),Promise.reject("JWT validation failed")}},t.validateJwtAttributes=function(e,r,i,o,s,a){o||(o=0),s||(s=parseInt(Date.now()/1e3));var c=t.parseJwt(e).payload;if(!c.iss)return n.Log.error("JoseUtil._validateJwt: issuer was not provided"),Promise.reject(new Error("issuer was not provided"));if(c.iss!==r)return n.Log.error("JoseUtil._validateJwt: Invalid issuer in token",c.iss),Promise.reject(new Error("Invalid issuer in token: "+c.iss));if(!c.aud)return n.Log.error("JoseUtil._validateJwt: aud was not provided"),Promise.reject(new Error("aud was not provided"));if(!(c.aud===i||Array.isArray(c.aud)&&c.aud.indexOf(i)>=0))return n.Log.error("JoseUtil._validateJwt: Invalid audience in token",c.aud),Promise.reject(new Error("Invalid audience in token: "+c.aud));if(c.azp&&c.azp!==i)return n.Log.error("JoseUtil._validateJwt: Invalid azp in token",c.azp),Promise.reject(new Error("Invalid azp in token: "+c.azp));if(!a){var h=s+o,u=s-o;if(!c.iat)return n.Log.error("JoseUtil._validateJwt: iat was not provided"),Promise.reject(new Error("iat was not provided"));if(h<c.iat)return n.Log.error("JoseUtil._validateJwt: iat is in the future",c.iat),Promise.reject(new Error("iat is in the future: "+c.iat));if(c.nbf&&h<c.nbf)return n.Log.error("JoseUtil._validateJwt: nbf is in the future",c.nbf),Promise.reject(new Error("nbf is in the future: "+c.nbf));if(!c.exp)return n.Log.error("JoseUtil._validateJwt: exp was not provided"),Promise.reject(new Error("exp was not provided"));if(c.exp<u)return n.Log.error("JoseUtil._validateJwt: exp is in the past",c.exp),Promise.reject(new Error("exp is in the past:"+c.exp))}return Promise.resolve(c)},t._validateJwt=function(r,i,o,s,a,h,u){return t.validateJwtAttributes(r,o,s,a,h,u).then((function(t){try{return e.JWS.verify(r,i,c)?t:(n.Log.error("JoseUtil._validateJwt: signature validation failed"),Promise.reject(new Error("signature validation failed")))}catch(t){return n.Log.error(t&&t.message||t),Promise.reject(new Error("signature validation failed"))}}))},t.hashString=function(t,e){try{return o.Util.hashString(t,e)}catch(t){n.Log.error(t)}},t.hexToBase64Url=function(t){try{return s(t)}catch(t){n.Log.error(t)}},t}()};var n=r(0);t.exports=e.default},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SigninResponse=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(3);function o(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]:"#";o(this,t);var n=i.UrlUtility.parseUrlFragment(e,r);this.error=n.error,this.error_description=n.error_description,this.error_uri=n.error_uri,this.code=n.code,this.state=n.state,this.id_token=n.id_token,this.session_state=n.session_state,this.access_token=n.access_token,this.token_type=n.token_type,this.scope=n.scope,this.profile=void 0,this.expires_in=n.expires_in}return n(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 n=r(0),i=r(3),o=r(9);e.SignoutRequest=function t(e){var r=e.url,s=e.id_token_hint,a=e.post_logout_redirect_uri,c=e.data,h=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 n.Log.error("SignoutRequest.ctor: No url passed"),new Error("url");for(var l in s&&(r=i.UrlUtility.addQueryParam(r,"id_token_hint",s)),a&&(r=i.UrlUtility.addQueryParam(r,"post_logout_redirect_uri",a),c&&(this.state=new o.State({data:c,request_type:u}),r=i.UrlUtility.addQueryParam(r,"state",this.state.id))),h)r=i.UrlUtility.addQueryParam(r,l,h[l]);this.url=r}},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.SignoutResponse=void 0;var n=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=n.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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=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 i.Log.debug("InMemoryWebStorage.getItem",t),this._data[t]},t.prototype.setItem=function(t,e){i.Log.debug("InMemoryWebStorage.setItem",t),this._data[t]=e},t.prototype.removeItem=function(t){i.Log.debug("InMemoryWebStorage.removeItem",t),delete this._data[t]},t.prototype.key=function(t){return Object.getOwnPropertyNames(this._data)[t]},n(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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(10),s=r(39),a=r(15),c=r(45),h=r(47),u=r(18),l=r(8),p=r(20),d=r(11),m=r(4);function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(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]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h.SilentRenewService,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u.SessionMonitor,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:p.TokenRevocationClient,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:d.TokenClient,w=arguments.length>5&&void 0!==arguments[5]?arguments[5]:m.JoseUtil;f(this,e),r instanceof s.UserManagerSettings||(r=new s.UserManagerSettings(r));var v=g(this,t.call(this,r));return v._events=new c.UserManagerEvents(r),v._silentRenewService=new n(v),v.settings.automaticSilentRenew&&(i.Log.debug("UserManager.ctor: automaticSilentRenew is configured, setting up silent renew"),v.startSilentRenew()),v.settings.monitorSession&&(i.Log.debug("UserManager.ctor: monitorSession is configured, setting up session monitor"),v._sessionMonitor=new o(v)),v._tokenRevocationClient=new a(v._settings),v._tokenClient=new l(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?(i.Log.info("UserManager.getUser: user loaded"),t._events.load(e,!1),e):(i.Log.info("UserManager.getUser: user not found in storage"),null)}))},e.prototype.removeUser=function(){var t=this;return this.storeUser(null).then((function(){i.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(){i.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?i.Log.info("UserManager.signinRedirectCallback: successful, signed in sub: ",t.profile.sub):i.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?i.Log.info("UserManager.signinPopup: signinPopup successful, signed in sub: ",t.profile.sub):i.Log.info("UserManager.signinPopup: no sub")),t}))):(i.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?i.Log.info("UserManager.signinPopupCallback: successful, signed in sub: ",t.profile.sub):i.Log.info("UserManager.signinPopupCallback: no sub")),t})).catch((function(t){i.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&&(i.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 n=Promise.resolve();return e.id_token&&(n=t._validateIdTokenFromTokenRefreshToken(r.profile,e.id_token)),n.then((function(){return i.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})):(i.Log.error("UserManager._useRefreshToken: No access token returned from token endpoint"),Promise.reject("No access token returned from token endpoint")):(i.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(n){return r.settings.getEpochTime().then((function(o){return r._joseUtil.validateJwtAttributes(e,n,r._settings.client_id,r._settings.clockSkew,o).then((function(e){return e?e.sub!==t.sub?(i.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?(i.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?(i.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?(i.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:(i.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?i.Log.info("UserManager.signinSilent: successful, signed in sub: ",t.profile.sub):i.Log.info("UserManager.signinSilent: no sub")),t}))):(i.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?i.Log.info("UserManager.signinSilentCallback: successful, signed in sub: ",t.profile.sub):i.Log.info("UserManager.signinSilentCallback: no sub")),t}))},e.prototype.signinCallback=function(t){var e=this;return this.readSigninResponseState(t).then((function(r){var n=r.state;return"si:r"===n.request_type?e.signinRedirectCallback(t):"si:p"===n.request_type?e.signinPopupCallback(t):"si:s"===n.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(n){var i=n.state,o=n.response;return i?"so:r"===i.request_type?r.signoutRedirectCallback(t):"so:p"===i.request_type?r.signoutPopupCallback(t,e):Promise.reject(new Error("invalid response_type in state")):o}))},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(i.Log.debug("UserManager.querySessionStatus: got signin response"),t.session_state&&t.profile.sub)return i.Log.info("UserManager.querySessionStatus: querySessionStatus success for sub: ",t.profile.sub),{session_state:t.session_state,sub:t.profile.sub,sid:t.profile.sid};i.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 i.Log.info("UserManager.querySessionStatus: querySessionStatus success for anonymous user"),{session_state:e.session_state};throw e}))}))):(i.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,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signinStart(t,e,n).then((function(e){return r._signinEnd(e.url,t)}))},e.prototype._signinStart=function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.prepare(n).then((function(e){return i.Log.debug("UserManager._signinStart: got navigator window handle"),r.createSigninRequest(t).then((function(t){return i.Log.debug("UserManager._signinStart: got signin request"),n.url=t.url,n.id=t.state.id,e.navigate(n)})).catch((function(t){throw e.close&&(i.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){i.Log.debug("UserManager._signinEnd: got signin response");var n=new a.User(t);if(r.current_sub){if(r.current_sub!==n.profile.sub)return i.Log.debug("UserManager._signinEnd: current user does not match user returned from signin. sub from signin: ",n.profile.sub),Promise.reject(new Error("login_required"));i.Log.debug("UserManager._signinEnd: current user matches user returned from signin")}return e.storeUser(n).then((function(){return i.Log.debug("UserManager._signinEnd: user stored"),e._events.load(n),n}))}))},e.prototype._signinCallback=function(t,e){i.Log.debug("UserManager._signinCallback");var r="query"===this._settings.response_mode||!this._settings.response_mode&&l.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(){i.Log.info("UserManager.signoutRedirect: successful")}))},e.prototype.signoutRedirectCallback=function(t){return this._signoutEnd(t||this._redirectNavigator.url).then((function(t){return i.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(){i.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(){i.Log.info("UserManager.signoutPopupCallback: successful")}))},e.prototype._signout=function(t,e){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this._signoutStart(t,e,n).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],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.prepare(n).then((function(r){return i.Log.debug("UserManager._signoutStart: got navigator window handle"),e._loadUser().then((function(o){return i.Log.debug("UserManager._signoutStart: loaded current user from storage"),(e._settings.revokeAccessTokenOnSignout?e._revokeInternal(o):Promise.resolve()).then((function(){var s=t.id_token_hint||o&&o.id_token;return s&&(i.Log.debug("UserManager._signoutStart: Setting id_token into signout request"),t.id_token_hint=s),e.removeUser().then((function(){return i.Log.debug("UserManager._signoutStart: user removed, creating signout request"),e.createSignoutRequest(t).then((function(t){return i.Log.debug("UserManager._signoutStart: got signout request"),n.url=t.url,t.state&&(n.id=t.state.id),r.navigate(n)}))}))}))})).catch((function(t){throw r.close&&(i.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 i.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 i.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(){i.Log.debug("UserManager.revokeAccessToken: user stored"),t._events.load(e)}))}))})).then((function(){i.Log.info("UserManager.revokeAccessToken: access token revoked successfully")}))},e.prototype._revokeInternal=function(t,e){var r=this;if(t){var n=t.refresh_token;return this._revokeAccessTokenInternal(t.access_token,e).then((function(t){return r._revokeRefreshTokenInternal(n,e).then((function(e){return t||e||i.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?(i.Log.debug("UserManager._loadUser: user storageString loaded"),a.User.fromStorageString(t)):(i.Log.debug("UserManager._loadUser: no user storageString"),null)}))},e.prototype.storeUser=function(t){if(t){i.Log.debug("UserManager.storeUser: storing user");var e=t.toStorageString();return this._userStore.set(this._userStoreKey,e)}return i.Log.debug("storeUser.storeUser: removing user"),this._userStore.remove(this._userStoreKey)},n(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}(o.OidcClient)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.UserManagerSettings=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=(r(0),r(5)),o=r(40),s=r(41),a=r(43),c=r(6),h=r(1),u=r(8);function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(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]:{},n=r.popup_redirect_uri,i=r.popup_post_logout_redirect_uri,d=r.popupWindowFeatures,m=r.popupWindowTarget,f=r.silent_redirect_uri,g=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,T=void 0!==P&&P,k=r.checkSessionInterval,F=void 0===k?2e3:k,R=r.stopCheckSessionOnError,x=void 0===R||R,O=r.query_status_response_type,D=r.revokeAccessTokenOnSignout,I=void 0!==D&&D,M=r.accessTokenExpiringNotificationTime,_=void 0===M?60:M,j=r.redirectNavigator,N=void 0===j?new o.RedirectNavigator:j,L=r.popupNavigator,B=void 0===L?new s.PopupNavigator:L,U=r.iframeNavigator,H=void 0===U?new a.IFrameNavigator:U,W=r.userStore,q=void 0===W?new c.WebStorageStateStore({store:h.Global.sessionStorage}):W;l(this,e);var V=p(this,t.call(this,arguments[0]));return V._popup_redirect_uri=n,V._popup_post_logout_redirect_uri=i,V._popupWindowFeatures=d,V._popupWindowTarget=m,V._silent_redirect_uri=f,V._silentRequestTimeout=g,V._automaticSilentRenew=v,V._validateSubOnSilentRenew=b,V._includeIdTokenInSilentRenew=A,V._accessTokenExpiringNotificationTime=_,V._monitorSession=C,V._monitorAnonymousSession=T,V._checkSessionInterval=F,V._stopCheckSessionOnError=x,V._query_status_response_type=O||(arguments[0]&&arguments[0].response_type?u.SigninRequest.isOidc(arguments[0].response_type)?"id_token":"code":"id_token"),V._revokeAccessTokenOnSignout=I,V._redirectNavigator=N,V._popupNavigator=B,V._iframeNavigator=H,V._userStore=q,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),n(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}(i.OidcClientSettings)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.RedirectNavigator=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=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()):(i.Log.error("RedirectNavigator.navigate: No url provided"),Promise.reject(new Error("No url provided")))},n(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 n=r(0),i=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 i.PopupWindow(t);return Promise.resolve(e)},t.prototype.callback=function(t,e,r){n.Log.debug("PopupNavigator.callback");try{return i.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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=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&&(i.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?(i.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){i.Log.debug("PopupWindow.callback: Successful response from popup window"),this._cleanup(),this._resolve(t)},t.prototype._error=function(t){i.Log.error("PopupWindow.error: ",t),this._cleanup(),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup(!1)},t.prototype._cleanup=function(t){i.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?(i.Log.debug("PopupWindow.callback success"),this._success({url:t})):(i.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 n=o.UrlUtility.parseUrlFragment(t,r);if(n.state){var s=window.opener["popupCallback_"+n.state];s?(i.Log.debug("PopupWindow.notifyOpener: passing url message to opener"),s(t,e)):i.Log.warn("PopupWindow.notifyOpener: no matching callback found on opener")}else i.Log.warn("PopupWindow.notifyOpener: no state found in response url")}}else i.Log.warn("PopupWindow.notifyOpener: no window.opener. Can't complete notification.")},n(t,[{key:"promise",get:function(){return this._promise}}]),t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.IFrameNavigator=void 0;var n=r(0),i=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 i.IFrameWindow(t);return Promise.resolve(e)},t.prototype.callback=function(t){n.Log.debug("IFrameNavigator.callback");try{return i.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 n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=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;i.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(),i.Log.debug("IFrameWindow: Successful response from frame window"),this._resolve(t)},t.prototype._error=function(t){this._cleanup(),i.Log.error(t),this._reject(new Error(t))},t.prototype.close=function(){this._cleanup()},t.prototype._cleanup=function(){this._frame&&(i.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(){i.Log.debug("IFrameWindow.timeout"),this._error("Frame window timed out")},t.prototype._message=function(t){if(i.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){i.Log.debug("IFrameWindow.notifyParent"),(t=t||window.location.href)&&(i.Log.debug("IFrameWindow.notifyParent: posting url message to parent"),window.parent.postMessage(t,location.protocol+"//"+location.host))},n(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 n=r(0),i=r(16),o=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 n=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 n._userLoaded=new o.Event("User loaded"),n._userUnloaded=new o.Event("User unloaded"),n._silentRenewError=new o.Event("Silent renew error"),n._userSignedIn=new o.Event("User signed in"),n._userSignedOut=new o.Event("User signed out"),n._userSessionChanged=new o.Event("User session changed"),n}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];n.Log.debug("UserManagerEvents.load"),t.prototype.load.call(this,e),r&&this._userLoaded.raise(e)},e.prototype.unload=function(){n.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){n.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(){n.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(){n.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(){n.Log.debug("UserManagerEvents._raiseUserSessionChanged"),this._userSessionChanged.raise()},e}(i.AccessTokenEvents)},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.Timer=void 0;var n=function(){function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),i=r(0),o=r(1),s=r(17);function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function c(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 n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Global.timer,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;a(this,e);var s=c(this,t.call(this,r));return s._timer=n,s._nowFunc=i||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)i.Log.debug("Timer.init timer "+this._name+" skipping initialization since already initialized for expiration:",this.expiration);else{this.cancel(),i.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&&(i.Log.debug("Timer.cancel: ",this._name),this._timer.clearInterval(this._timerHandle),this._timerHandle=null)},e.prototype._callback=function(){i.Log.debug("Timer.callback; "+this._name+" timer expires in:",this._expiration-this.now),this._expiration<=this.now&&(this.cancel(),t.prototype.raise.call(this))},n(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 n=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){n.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(){n.Log.debug("SilentRenewService._tokenExpiring: Silent token renewal successful")}),(function(e){n.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 n=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 n.CordovaPopupWindow(t);return Promise.resolve(e)},t}()},function(t,e,r){Object.defineProperty(e,"__esModule",{value:!0}),e.CordovaIFrameNavigator=void 0;var n=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 n.CordovaPopupWindow(t);return Promise.resolve(e)},t}()},function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Version="1.11.6"}])}))}}),ei=b({"../node_modules/@inrupt/oidc-client-ext/dist/index.js"(t){var e=ti(),r=Yn();function n(t){return void 0!==t.error_description&&"string"==typeof t.error_description}function i(t,e){if(void 0!==(i=t).error&&"string"==typeof i.error)throw new r.OidcProviderError(`Token endpoint returned error [${t.error}]${n(t)?`: ${t.error_description}`:""}${function(t){return void 0!==t.error_uri&&"string"==typeof t.error_uri}(t)?` (see ${t.error_uri})`:""}`,t.error,n(t)?t.error_description:void 0);var i;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,n=[];for(let t=0;t<=r.length;t+=1){const e=r.key(t);e&&(e.match(/^oidc\..+$/)||e.match(/^solidClientAuthenticationUser:.+$/))&&n.push(e)}n.forEach((t=>r.removeItem(t)))},t.getBearerToken=async function(t){let n;try{const i=new e.OidcClient({response_mode:"query",loadUserInfo:!1});if(n=await i.processSigninResponse(t),void 0===i.settings.metadata)throw new Error("Cannot retrieve issuer metadata from client information in storage.");if(void 0===i.settings.metadata.jwks_uri)throw new Error("Missing some issuer metadata from client information in storage: 'jwks_uri' is undefined");if(void 0===i.settings.metadata.issuer)throw new Error("Missing some issuer metadata from client information in storage: 'issuer' is undefined");if(void 0===i.settings.client_id)throw new Error("Missing some client information in storage: 'client_id' is undefined");const o=await r.getWebidFromTokenPayload(n.id_token,i.settings.metadata.jwks_uri,i.settings.metadata.issuer,i.settings.client_id);return{accessToken:n.access_token,idToken:n.id_token,webId:o,refreshToken:n.refresh_token}}catch(e){throw new Error(`Problem handling Auth Code Grant (Flow) redirect - URL [${t}]: ${e}`)}},t.getDpopToken=async function(t,e,n){return async function(t,e,n,o){!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,n);const s={"content-type":"application/x-www-form-urlencoded"};let a;o&&(a=await r.generateDpopKeyPair(),s.DPoP=await r.createDpopHeader(t.tokenEndpoint,"POST",a)),e.clientSecret&&(s.Authorization=`Basic ${btoa(`${e.clientId}:${e.clientSecret}`)}`);const c={method:"POST",headers:s,body:new URLSearchParams({grant_type:n.grantType,redirect_uri:n.redirectUrl,code:n.code,code_verifier:n.codeVerifier,client_id:e.clientId}).toString()},h=await await fetch(t.tokenEndpoint,c),u=i(await h.json(),o),l=await r.getWebidFromTokenPayload(u.id_token,t.jwksUri,t.issuer,e.clientId);return{accessToken:u.access_token,idToken:u.id_token,refreshToken:(p=u,void 0!==p.refresh_token&&"string"==typeof p.refresh_token?u.refresh_token:void 0),webId:l,dpopKey:a,expiresIn:u.expires_in};var p}(t,e,n,!0)},t.refresh=async function(t,e,n,o){if(void 0===n.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!==o&&(a={DPoP:await r.createDpopHeader(e.tokenEndpoint,"POST",o)});let c={};void 0!==n.clientSecret?c={Authorization:`Basic ${btoa(`${n.clientId}:${n.clientSecret}`)}`}:(t=>{try{return new URL(t),!0}catch(t){return!1}})(n.clientId)&&(s.client_id=n.clientId);const h=await fetch(e.tokenEndpoint,{method:"POST",body:new URLSearchParams(s).toString(),headers:{...a,...c,"Content-Type":"application/x-www-form-urlencoded"}});let u;try{u=await h.json()}catch(t){throw new Error(`The token endpoint of issuer ${e.issuer} returned a malformed response.`)}const l=i(u,void 0!==o),p=await r.getWebidFromTokenPayload(l.id_token,e.jwksUri,e.issuer,n.clientId);return{accessToken:l.access_token,idToken:l.id_token,refreshToken:"string"==typeof l.refresh_token?l.refresh_token:void 0,webId:p,dpopKey:o,expiresIn:l.expires_in}},t.registerClient=async function(t,e){var n;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 i=r.determineSigningAlg(e.idTokenSigningAlgValuesSupported,r.PREFERRED_SIGNING_ALG),o={client_name:t.clientName,application_type:"web",redirect_uris:[null===(n=t.redirectUrl)||void 0===n?void 0:n.toString()],subject_type:"public",token_endpoint_auth_method:"client_secret_basic",id_token_signed_response_alg:i,grant_types:["authorization_code","refresh_token"]},s=await fetch(e.registrationEndpoint.toString(),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)});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,n,i,o;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!==(n=t.error_description)&&void 0!==n?n:""}`);if("invalid_client_metadata"===t.error)throw new Error(`Dynamic client registration failed: the provided client metadata ${JSON.stringify(e)} is invalid - ${null!==(i=t.error_description)&&void 0!==i?i:""}`);throw new Error(`Dynamic client registration failed: ${t.error} - ${null!==(o=t.error_description)&&void 0!==o?o:""}`)}(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="",t.includes(`${e.origin}/`)?e.href:`${e.origin}${e.href.substring(e.origin.length+1)}`}}}),ri=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/ClientAuthentication.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn(),r=ei(),n=(t,e)=>window.fetch(t,e);t.default=class{constructor(t,i,o,s,a){this.loginHandler=t,this.redirectHandler=i,this.logoutHandler=o,this.sessionInfoManager=s,this.issuerConfigFetcher=a,this.login=async(t,n)=>{var i,o;await this.sessionInfoManager.clear(t.sessionId);const s=null!==(i=t.redirectUrl)&&void 0!==i?i:(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!==(o=t.clientName)&&void 0!==o?o:t.clientId,eventEmitter:n})},this.fetch=n,this.logout=async t=>{await this.logoutHandler.handle(t),this.fetch=n},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(n){return this.cleanUrlAfterRedirect(t),void r.emit(e.EVENTS.ERROR,"redirect",n)}}}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())}}}}),ni=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/OidcLoginHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn();function r(t){return"string"==typeof t.oidcIssuer}function n(t){return"string"==typeof t.redirectUrl}t.default=class{constructor(t,e,r,n){this.storageUtility=t,this.oidcHandler=e,this.issuerConfigFetcher=r,this.clientRegistrar=n}async canHandle(t){return r(t)&&n(t)}async handle(t){if(!r(t))throw new e.ConfigurationError(`OidcLoginHandler requires an OIDC issuer: missing property 'oidcIssuer' in ${JSON.stringify(t)}`);if(!n(t))throw new e.ConfigurationError(`OidcLoginHandler requires a redirect URL: missing property 'redirectUrl' in ${JSON.stringify(t)}`);const i=await this.issuerConfigFetcher.fetchConfig(t.oidcIssuer),o=await(0,e.handleRegistration)(t,i,this.storageUtility,this.clientRegistrar),s={issuer:i.issuer,dpop:"dpop"===t.tokenType.toLowerCase(),...t,issuerConfiguration:i,client:o};return this.oidcHandler.handle(s)}}}}),ii=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/oidcHandlers/AuthorizationCodeWithPkceOidcHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn(),r=ei();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 n;const i={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!==(n=t.prompt)&&void 0!==n?n:"consent"},o=new r.OidcClient(i),{redirector:s}=this,a=this.storageUtility;try{const e=await o.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)}}}}}),oi=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=Yn();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}},n=class{constructor(t){this.storageUtility=t}static getLocalStorageKey(t){return`issuerConfig:${t}`}async fetchConfig(i){let o;const s=new URL(t.WELL_KNOWN_OPENID_CONFIG,i.endsWith("/")?i:`${i}/`).href,a=await window.fetch(s);try{o=function(t){const e={};return Object.keys(t).forEach((n=>{r[n]&&(e[r[n].toKey]=t[n])})),Array.isArray(e.scopesSupported)||(e.scopesSupported=["openid"]),e}(await a.json())}catch(t){throw new e.ConfigurationError(`[${i.toString()}] has an invalid configuration: ${t.message}`)}return await this.storageUtility.set(n.getLocalStorageKey(i),JSON.stringify(o)),o}};t.default=n}}),si=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=Yn(),r=Qn(),n=ei();async function i(t,e){await Promise.all([e.deleteAllUserData(t,{secure:!1}),e.deleteAllUserData(t,{secure:!0}),e.delete("clientKey",{secure:!1})]),await(0,n.clearOidcPersistentStorage)()}t.getUnauthenticatedSession=function(){return{isLoggedIn:!1,sessionId:(0,r.v4)(),fetch}},t.clear=i,t.SessionInfoManager=class{constructor(t){this.storageUtility=t}update(t,e){throw new Error("Not Implemented")}async get(t){var r;const n=await this.storageUtility.getForUser(t,"isLoggedIn",{secure:!0}),i=await this.storageUtility.getForUser(t,"webId",{secure:!0}),o=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}),c=await this.storageUtility.getForUser(t,"refreshToken",{secure:!0}),h=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!==o||void 0!==n||void 0!==i||void 0!==c)return{sessionId:t,webId:i,isLoggedIn:"true"===n,redirectUrl:a,refreshToken:c,issuer:h,clientAppId:o,clientAppSecret:s,tokenType:u}}async getAll(){throw new Error("Not implemented")}async clear(t){return i(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")}}}}),ai=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=si();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)()}}}}),ci=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)}}}}),hi=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=Yn(),r=ei();t.AuthCodeRedirectHandler=class{constructor(t,e,r,n,i){this.storageUtility=t,this.sessionInfoManager=e,this.issuerConfigFetcher=r,this.clientRegistrar=n,this.tokerRefresher=i}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,n){if(!await this.canHandle(t))throw new Error(`AuthCodeRedirectHandler cannot handle [${t}]: it is missing one of [code, state].`);const i=new URL(t),o=i.searchParams.get("state"),s=await this.storageUtility.getForUser(o,"sessionId",{errorIfNull:!0}),{issuerConfig:a,codeVerifier:c,redirectUrl:h,dpop:u}=await(0,e.loadOidcContextFromStorage)(s,this.storageUtility,this.issuerConfigFetcher),l=i.searchParams.get("iss");if("string"==typeof l&&l!==a.issuer)throw new Error(`The value of the iss parameter (${l}) 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===c)throw new Error(`The code verifier for session ${s} is missing from storage.`);if(void 0===h)throw new Error(`The redirect URL for session ${s} is missing from storage.`);const p=await this.clientRegistrar.getClient({sessionId:s},a);let d;const m=Date.now();let f;u?(d=await(0,r.getDpopToken)(a,p,{grantType:"authorization_code",code:i.searchParams.get("code"),codeVerifier:c,redirectUrl:h}),window.localStorage.removeItem(`oidc.${o}`)):d=await(0,r.getBearerToken)(i.toString()),void 0!==d.refreshToken&&(f={sessionId:s,refreshToken:d.refreshToken,tokenRefresher:this.tokerRefresher});const g=await(0,e.buildAuthenticatedFetch)(fetch,d.accessToken,{dpopKey:d.dpopKey,refreshOptions:f,eventEmitter:n,expiresIn:d.expiresIn});await this.storageUtility.setForUser(s,{webId:d.webId,isLoggedIn:"true"},{secure:!0});const w=await this.sessionInfoManager.get(s);if(!w)throw new Error(`Could not retrieve session: [${s}].`);return Object.assign(w,{fetch:g,expirationDate:"number"==typeof d.expiresIn?m+1e3*d.expiresIn:null})}}}}),ui=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/AggregateRedirectHandler.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn();t.default=class extends e.AggregateHandler{constructor(t){super(t)}}}}),li=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)}}}}),pi=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}}}}),di=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/ClientRegistrar.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=ei();t.default=class{constructor(t){this.storageUtility=t}async getClient(t,r){const[n,i]=await Promise.all([this.storageUtility.getForUser(t.sessionId,"clientId",{secure:!1}),this.storageUtility.getForUser(t.sessionId,"clientSecret",{secure:!1})]);if(n)return{clientId:n,clientSecret:i,clientType:"dynamic"};try{const n=await(0,e.registerClient)(t,r),i={clientId:n.clientId};return n.clientSecret&&(i.clientSecret=n.clientSecret),n.idTokenSignedResponseAlg&&(i.idTokenSignedResponseAlg=n.idTokenSignedResponseAlg),await this.storageUtility.setForUser(t.sessionId,i,{secure:!1}),n}catch(t){throw new Error(`Client registration failed: [${t}]`)}}}}}),mi=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=Yn(),r=si();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,n){if(void 0!==n){const r=new URL(t),i=r.searchParams.get("error"),o=r.searchParams.get("error_description");n.emit(e.EVENTS.ERROR,i,o)}return(0,r.getUnauthenticatedSession)()}}}}),fi=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/login/oidc/refresh/TokenRefresher.js"(t){Object.defineProperty(t,"__esModule",{value:!0});var e=Yn(),r=ei();t.default=class{constructor(t,e,r){this.storageUtility=t,this.issuerConfigFetcher=e,this.clientRegistrar=r}async refresh(t,n,i,o){const s=await(0,e.loadOidcContextFromStorage)(t,this.storageUtility,this.issuerConfigFetcher),a=await this.clientRegistrar.getClient({sessionId:t},s.issuerConfig);if(void 0===n)throw new Error(`Session [${t}] has no refresh token to allow it to refresh its access token.`);if(s.dpop&&void 0===i)throw new Error(`For session [${t}], the key bound to the DPoP access token must be provided to refresh said access token.`);const c=await(0,r.refresh)(n,s.issuerConfig,a,i);return void 0!==c.refreshToken&&(null==o||o.emit(e.EVENTS.NEW_REFRESH_TOKEN,c.refreshToken),await this.storageUtility.setForUser(t,{refreshToken:c.refreshToken})),c}}}}),gi=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=Yn(),n=e(Zn()),i=e(ri()),o=e(ni()),s=e(ii()),a=e(oi()),c=ai(),h=e(ci()),u=si(),l=hi(),p=e(ui()),d=e(li()),m=e(pi()),f=e(di()),g=mi(),w=e(fi());t.getClientAuthenticationWithDependencies=function(t){const e=new r.InMemoryStorage,v=t.secureStorage||e,y=t.insecureStorage||new d.default,b=new n.default(v,y),S=new a.default(b),A=new f.default(b),E=new u.SessionInfoManager(b),C=new w.default(b,S,A),P=new o.default(b,new s.default(b,new m.default),S,A),T=new p.default([new g.ErrorOidcHandler,new l.AuthCodeRedirectHandler(b,E,S,A,C),new c.FallbackRedirectHandler]);return new i.default(P,T,new h.default(E),E,S)}}}),wi=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=Yn();t.KEY_CURRENT_SESSION=`${e.SOLID_CLIENT_AUTHN_KEY_PREFIX}currentSession`,t.KEY_CURRENT_URL=`${e.SOLID_CLIENT_AUTHN_KEY_PREFIX}currentUrl`}}),vi=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=Yn(),n=Qn(),i=gi(),o=wi();async function s(t,e,r){var n;const i=await e.validateCurrentSession(t);return null!==i&&(window.localStorage.setItem(o.KEY_CURRENT_URL,window.location.href),await e.login({sessionId:t,prompt:"none",oidcIssuer:i.issuer,redirectUrl:i.redirectUrl,clientId:i.clientAppId,clientSecret:i.clientAppSecret,tokenType:null!==(n=i.tokenType)&&void 0!==n?n:"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(o.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 n="string"==typeof t?{url:t}:t,i=null!==(e=n.url)&&void 0!==e?e:window.location.href;this.tokenRequestInProgress=!0;const a=await this.clientAuthentication.handleIncomingRedirect(i,this);if(function(t){return!!(null==t?void 0:t.isLoggedIn)}(a)){this.setSessionInfo(a);const t=window.localStorage.getItem(o.KEY_CURRENT_URL);null===t?this.emit(r.EVENTS.LOGIN):(window.localStorage.removeItem(o.KEY_CURRENT_URL),this.emit(r.EVENTS.SESSION_RESTORED,t))}else if(!0===n.restorePreviousSession){const t=window.localStorage.getItem(o.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,i.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,n.v4)(),isLoggedIn:!1},this.on(r.EVENTS.LOGIN,(()=>window.localStorage.setItem(o.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}))}}}}),yi=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=vi();function n(){return void 0===e&&(e=new r.Session),e}t.getDefaultSession=n,t.fetch=(...t)=>n().fetch(...t),t.login=(...t)=>n().login(...t),t.logout=(...t)=>n().logout(...t),t.handleIncomingRedirect=(...t)=>n().handleIncomingRedirect(...t),t.onLogin=(...t)=>n().onLogin(...t),t.onLogout=(...t)=>n().onLogout(...t),t.onSessionRestore=(...t)=>n().onSessionRestore(...t)}}),bi=b({"../node_modules/@inrupt/solid-client-authn-browser/dist/index.js"(t){var e=t&&t.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);i&&!("get"in i?!e.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),r=t&&t.__exportStar||function(t,r){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||e(r,t,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.InMemoryStorage=t.ConfigurationError=t.NotImplementedError=t.getClientAuthenticationWithDependencies=t.Session=void 0;var n=vi();Object.defineProperty(t,"Session",{enumerable:!0,get:function(){return n.Session}});var i=gi();Object.defineProperty(t,"getClientAuthenticationWithDependencies",{enumerable:!0,get:function(){return i.getClientAuthenticationWithDependencies}}),r(yi(),t);var o=Yn();Object.defineProperty(t,"NotImplementedError",{enumerable:!0,get:function(){return o.NotImplementedError}}),Object.defineProperty(t,"ConfigurationError",{enumerable:!0,get:function(){return o.ConfigurationError}}),Object.defineProperty(t,"InMemoryStorage",{enumerable:!0,get:function(){return o.InMemoryStorage}})}}),Si=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}}),Ai=b({"../node_modules/@babel/runtime/helpers/regeneratorRuntime.js"(t,e){var r=Si().default;function n(){e.exports=n=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},i=Object.prototype,o=i.hasOwnProperty,s=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",h=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var i=Object.create((e&&e.prototype instanceof f?e:f).prototype),o=new F(n||[]);return s(i,"_invoke",{value:C(t,r,o)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=p;var m={};function f(){}function g(){}function w(){}var v={};l(v,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(R([])));b&&b!==i&&o.call(b,c)&&(v=b);var S=w.prototype=f.prototype=Object.create(v);function A(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function n(i,s,a,c){var h=d(t[i],t,s);if("throw"!==h.type){var u=h.arg,l=u.value;return l&&"object"==r(l)&&o.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,c)}))}c(h.arg)}var i;s(this,"_invoke",{value:function(t,r){function o(){return new e((function(e,i){n(t,r,e,i)}))}return i=i?i.then(o,o):o()}})}function C(t,e,r){var n="suspendedStart";return function(i,o){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var s=r.delegate;if(s){var a=P(s,r);if(a){if(a===m)continue;return a}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var c=d(t,e,r);if("normal"===c.type){if(n=r.done?"completed":"suspendedYield",c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(n="completed",r.method="throw",r.arg=c.arg)}}}function P(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)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")),m;var i=d(n,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,m;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,m):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,m)}function T(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 F(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function R(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:x}}function x(){return{value:void 0,done:!0}}return g.prototype=w,s(S,"constructor",{value:w,configurable:!0}),s(w,"constructor",{value:g,configurable:!0}),g.displayName=l(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(S),t},t.awrap=function(t){return{__await:t}},A(E.prototype),l(E.prototype,h,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,i,o){void 0===o&&(o=Promise);var s=new E(p(e,r,n,i),o);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},A(S),l(S,u,"Generator"),l(S,c,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=R,F.prototype={constructor:F,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)&&o.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,n){return s.type="throw",s.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(a&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=t,s.arg=e,i?(this.method="next",this.next=i.finallyLoc,m):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),m},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),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;k(r)}return i}}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),m}},t}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}}),Ei=b({"../node_modules/@babel/runtime/regenerator/index.js"(t,e){var r=Ai()();e.exports=r;try{regeneratorRuntime=r}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}}),Ci=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"}),n=e({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(t){return t===n.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 n=0;n<t.length;n++)if(Object.prototype.hasOwnProperty.call(t,n)){var i=t[n];if(e.call(void 0,i,n,t))return i}},t.freeze=e,t.MIME_TYPE=r,t.NAMESPACE=n}}),Pi=b({"../node_modules/@xmldom/xmldom/lib/dom.js"(t){var e=Ci(),r=e.find,n=e.NAMESPACE;function i(t){return""!==t}function o(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(i):[]}(t);return Object.keys(e.reduce(o,{}))}function a(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function c(t,e){var r=t.prototype;if(!(r instanceof e)){let n=function(){};n.prototype=e.prototype,n=new n,a(r,n),t.prototype=r=n}r.constructor!=t&&("function"!=typeof t&&console.error("unknown Class:"+t),r.constructor=t)}var h={},u=h.ELEMENT_NODE=1,l=h.ATTRIBUTE_NODE=2,p=h.TEXT_NODE=3,d=h.CDATA_SECTION_NODE=4,m=h.ENTITY_REFERENCE_NODE=5,f=h.ENTITY_NODE=6,g=h.PROCESSING_INSTRUCTION_NODE=7,w=h.COMMENT_NODE=8,v=h.DOCUMENT_NODE=9,y=h.DOCUMENT_TYPE_NODE=10,b=h.DOCUMENT_FRAGMENT_NODE=11,S=h.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 T=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 F(){}function R(t,e){this._node=t,this._refresh=e,x(this)}function x(t){var e=t._node._inc||t._node.ownerDocument._inc;if(t._inc!=e){var r=t._refresh(t._node);gt(t,"length",r.length),a(r,t),t._inc=e}}function O(){}function D(t,e){for(var r=t.length;r--;)if(t[r]===e)return r}function I(t,e,r,i){if(i?e[D(e,i)]=r:e[e.length++]=r,t){r.ownerElement=t;var o=t.ownerDocument;o&&(i&&U(o,t,i),function(t,e,r){t&&t._inc++,r.namespaceURI===n.XMLNS&&(e._nsMap[r.prefix?r.localName:""]=r.value)}(o,t,r))}}function M(t,e,r){var n=D(e,r);if(!(n>=0))throw new k(P,new Error(t.tagName+"@"+r));for(var i=e.length-1;n<i;)e[n]=e[++n];if(e.length=i,t){var o=t.ownerDocument;o&&(U(o,t,r),r.ownerElement=null)}}function _(){}function j(){}function N(t){return("<"==t?"<":">"==t&&">")||"&"==t&&"&"||'"'==t&&"""||"&#"+t.charCodeAt()+";"}function L(t,e){if(e(t))return!0;if(t=t.firstChild)do{if(L(t,e))return!0}while(t=t.nextSibling)}function B(){this.ownerDocument=this}function U(t,e,r){t&&t._inc++,r.namespaceURI===n.XMLNS&&delete e._nsMap[r.prefix?r.localName:""]}function H(t,e,r){if(t&&t._inc){t._inc++;var n=e.childNodes;if(r)n[n.length++]=r;else{for(var i=e.firstChild,o=0;i;)n[o++]=i,i=i.nextSibling;n.length=o,delete n[n.length]}}}function W(t,e){var r=e.previousSibling,n=e.nextSibling;return r?r.nextSibling=n:t.firstChild=n,n?n.previousSibling=r:t.lastChild=r,e.parentNode=null,e.previousSibling=null,e.nextSibling=null,H(t.ownerDocument,t),e}function q(t){return t&&t.nodeType===j.DOCUMENT_TYPE_NODE}function V(t){return t&&t.nodeType===j.ELEMENT_NODE}function G(t){return t&&t.nodeType===j.TEXT_NODE}function J(t,e){var n=t.childNodes||[];if(r(n,V)||q(e))return!1;var i=r(n,q);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function K(t,e){var n=t.childNodes||[];if(r(n,(function(t){return V(t)&&t!==e})))return!1;var i=r(n,q);return!(e&&i&&n.indexOf(i)>n.indexOf(e))}function z(t,e,n){var i=t.childNodes||[],o=e.childNodes||[];if(e.nodeType===j.DOCUMENT_FRAGMENT_NODE){var s=o.filter(V);if(s.length>1||r(o,G))throw new k(C,"More than one element or text in fragment");if(1===s.length&&!J(t,n))throw new k(C,"Element in fragment can not be inserted before doctype")}if(V(e)&&!J(t,n))throw new k(C,"Only one element can be added and only after doctype");if(q(e)){if(r(i,q))throw new k(C,"Only one doctype is allowed");var a=r(i,V);if(n&&i.indexOf(a)<i.indexOf(n))throw new k(C,"Doctype can only be inserted before an element");if(!n&&a)throw new k(C,"Doctype can not be appended since element is present")}}function $(t,e,n){var i=t.childNodes||[],o=e.childNodes||[];if(e.nodeType===j.DOCUMENT_FRAGMENT_NODE){var s=o.filter(V);if(s.length>1||r(o,G))throw new k(C,"More than one element or text in fragment");if(1===s.length&&!K(t,n))throw new k(C,"Element in fragment can not be inserted before doctype")}if(V(e)&&!K(t,n))throw new k(C,"Only one element can be added and only after doctype");if(q(e)){if(r(i,(function(t){return q(t)&&t!==n})))throw new k(C,"Only one doctype is allowed");var a=r(i,V);if(n&&i.indexOf(a)<i.indexOf(n))throw new k(C,"Doctype can only be inserted before an element")}}function X(t,e,r,n){(function(t,e,r){if(!function(t){return t&&(t.nodeType===j.DOCUMENT_NODE||t.nodeType===j.DOCUMENT_FRAGMENT_NODE||t.nodeType===j.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&&(V(t)||G(t)||q(t)||t.nodeType===j.DOCUMENT_FRAGMENT_NODE||t.nodeType===j.COMMENT_NODE||t.nodeType===j.PROCESSING_INSTRUCTION_NODE)}(e)||q(e)&&t.nodeType!==j.DOCUMENT_NODE)throw new k(C,"Unexpected node type "+e.nodeType+" for parent node type "+t.nodeType)})(t,e,r),t.nodeType===j.DOCUMENT_NODE&&(n||z)(t,e,r);var i=e.parentNode;if(i&&i.removeChild(e),e.nodeType===b){var o=e.firstChild;if(null==o)return e;var s=e.lastChild}else o=s=e;var a=r?r.previousSibling:t.lastChild;o.previousSibling=a,s.nextSibling=r,a?a.nextSibling=o:t.firstChild=o,null==r?t.lastChild=s:r.previousSibling=s;do{o.parentNode=t}while(o!==s&&(o=o.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 nt(){}function it(){}function ot(){}function st(){}function at(){}function ct(){}function ht(){}function ut(t,e){var r=[],n=9==this.nodeType&&this.documentElement||this,i=n.prefix,o=n.namespaceURI;if(o&&null==i&&null==(i=n.lookupPrefix(o)))var s=[{namespace:o,prefix:null}];return dt(this,r,t,e,s),r.join("")}function lt(t,e,r){var i=t.prefix||"",o=t.namespaceURI;if(!o)return!1;if("xml"===i&&o===n.XML||o===n.XMLNS)return!1;for(var s=r.length;s--;){var a=r[s];if(a.prefix===i)return a.namespace!==o}return!0}function pt(t,e,r){t.push(" ",e,'="',r.replace(/[<>&"\t\n\r]/g,N),'"')}function dt(t,e,r,i,o){if(o||(o=[]),i){if(!(t=i(t)))return;if("string"==typeof t)return void e.push(t)}switch(t.nodeType){case u:var s=t.attributes,a=s.length,c=t.firstChild,h=t.tagName,f=h;if(!(r=n.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=o.length-1;E>=0;E--)if(""===(C=o[E]).prefix&&C.namespace===t.namespaceURI){S=C.namespace;break}if(S!==t.namespaceURI)for(E=o.length-1;E>=0;E--){var C;if((C=o[E]).namespace===t.namespaceURI){C.prefix&&(f=C.prefix+":"+h);break}}}e.push("<",f);for(var P=0;P<a;P++)"xmlns"==(T=s.item(P)).prefix?o.push({prefix:T.localName,namespace:T.value}):"xmlns"==T.nodeName&&o.push({prefix:"",namespace:T.value});for(P=0;P<a;P++){var T,k,F;lt(T=s.item(P),0,o)&&(pt(e,(k=T.prefix||"")?"xmlns:"+k:"xmlns",F=T.namespaceURI),o.push({prefix:k,namespace:F})),dt(T,e,r,i,o)}if(h===f&<(t,0,o)&&(pt(e,(k=t.prefix||"")?"xmlns:"+k:"xmlns",F=t.namespaceURI),o.push({prefix:k,namespace:F})),c||r&&!/^(?:meta|link|img|br|hr|input)$/i.test(h)){if(e.push(">"),r&&/^script$/i.test(h))for(;c;)c.data?e.push(c.data):dt(c,e,r,i,o.slice()),c=c.nextSibling;else for(;c;)dt(c,e,r,i,o.slice()),c=c.nextSibling;e.push("</",f,">")}else e.push("/>");return;case v:case b:for(c=t.firstChild;c;)dt(c,e,r,i,o.slice()),c=c.nextSibling;return;case l:return pt(e,t.name,t.value);case p:return e.push(t.data.replace(/[<&>]/g,N));case d:return e.push("<![CDATA[",t.data,"]]>");case w:return e.push("\x3c!--",t.data,"--\x3e");case y:var R=t.publicId,x=t.systemId;if(e.push("<!DOCTYPE ",t.name),R)e.push(" PUBLIC ",R),x&&"."!=x&&e.push(" ",x),e.push(">");else if(x&&"."!=x)e.push(" SYSTEM ",x,">");else{var O=t.internalSubset;O&&e.push(" [",O,"]"),e.push(">")}return;case g:return e.push("<?",t.target," ",t.data,"?>");case m:return e.push("&",t.nodeName,";");default:e.push("??",t.nodeName)}}function mt(t,e,r){var n;switch(e.nodeType){case u:(n=e.cloneNode(!1)).ownerDocument=t;case b:break;case l:r=!0}if(n||(n=e.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var i=e.firstChild;i;)n.appendChild(mt(t,i,r)),i=i.nextSibling;return n}function ft(t,e,r){var n=new e.constructor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=e[i];"object"!=typeof o&&o!=n[i]&&(n[i]=o)}switch(e.childNodes&&(n.childNodes=new F),n.ownerDocument=t,n.nodeType){case u:var s=e.attributes,a=n.attributes=new O,c=s.length;a._ownerElement=n;for(var h=0;h<c;h++)n.setAttributeNode(ft(t,s.item(h),!0));break;case l:r=!0}if(r)for(var p=e.firstChild;p;)n.appendChild(ft(t,p,r)),p=p.nextSibling;return n}function gt(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),F.prototype={length:0,item:function(t){return this[t]||null},toString:function(t,e){for(var r=[],n=0;n<this.length;n++)dt(this[n],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 x(this),this[t]},c(R,F),O.prototype={length:0,item:F.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(T);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(T);return e=this.getNamedItemNS(t.namespaceURI,t.localName),I(this._ownerElement,this,t,e),e},removeNamedItem:function(t){var e=this.getNamedItem(t);return M(this._ownerElement,this,e),e},removeNamedItemNS:function(t,e){var r=this.getNamedItemNS(t,e);return M(this._ownerElement,this,r),r},getNamedItemNS:function(t,e){for(var r=this.length;r--;){var n=this[r];if(n.localName==e&&n.namespaceURI==t)return n}return null}},_.prototype={hasFeature:function(){return!0},createDocument:function(t,e,r){var n=new B;if(n.implementation=this,n.childNodes=new F,n.doctype=r||null,r&&n.appendChild(r),e){var i=n.createElementNS(t,e);n.appendChild(i)}return n},createDocumentType:function(t,e,r){var n=new nt;return n.name=t,n.nodeName=t,n.publicId=e||"",n.systemId=r||"",n}},j.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 ft(this.ownerDocument||this,this,t)},normalize:function(){for(var t=this.firstChild;t;){var e=t.nextSibling;e&&e.nodeType==p&&t.nodeType==p?(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 n in r)if(Object.prototype.hasOwnProperty.call(r,n)&&r[n]===t)return n;e=e.nodeType==l?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==l?e.ownerDocument:e.parentNode}return null},isDefaultNamespace:function(t){return null==this.lookupPrefix(t)}},a(h,j),a(h,j.prototype),B.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 n=r.nextSibling;this.insertBefore(r,e),r=n}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),V(t)&&(this.documentElement=t)},importNode:function(t,e){return mt(this,t,e)},getElementById:function(t){var e=null;return L(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 n=[];return e.length>0&&L(r.documentElement,(function(i){if(i!==r&&i.nodeType===u){var o=i.getAttribute("class");if(o){var a=t===o;if(!a){var c=s(o);a=e.every((h=c,function(t){return h&&-1!==h.indexOf(t)}))}a&&n.push(i)}}var h})),n}))},createElement:function(t){var e=new Q;return e.ownerDocument=this,e.nodeName=t,e.tagName=t,e.localName=t,e.childNodes=new F,(e.attributes=new O)._ownerElement=e,e},createDocumentFragment:function(){var t=new at;return t.ownerDocument=this,t.childNodes=new F,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 ct;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,n=e.split(":"),i=r.attributes=new O;return r.childNodes=new F,r.ownerDocument=this,r.nodeName=e,r.tagName=e,r.namespaceURI=t,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,i._ownerElement=r,r},createAttributeNS:function(t,e){var r=new Y,n=e.split(":");return r.ownerDocument=this,r.nodeName=e,r.name=e,r.namespaceURI=t,r.specified=!0,2==n.length?(r.prefix=n[0],r.localName=n[1]):r.localName=e,r}},c(B,j),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 n=this.ownerDocument.createAttributeNS(t,e);n.value=n.nodeValue=""+r,this.setAttributeNode(n)},getAttributeNodeNS:function(t,e){return this.attributes.getNamedItemNS(t,e)},getElementsByTagName:function(t){return new R(this,(function(e){var r=[];return L(e,(function(n){n===e||n.nodeType!=u||"*"!==t&&n.tagName!=t||r.push(n)})),r}))},getElementsByTagNameNS:function(t,e){return new R(this,(function(r){var n=[];return L(r,(function(i){i===r||i.nodeType!==u||"*"!==t&&i.namespaceURI!==t||"*"!==e&&i.localName!=e||n.push(i)})),n}))}},B.prototype.getElementsByTagName=Q.prototype.getElementsByTagName,B.prototype.getElementsByTagNameNS=Q.prototype.getElementsByTagNameNS,c(Q,j),Y.prototype.nodeType=l,c(Y,j),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 n=this.data.substring(0,t),i=this.data.substring(t+e);this.nodeValue=this.data=r=n+r+i,this.length=r.length}},c(Z,j),tt.prototype={nodeName:"#text",nodeType:p,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 n=this.ownerDocument.createTextNode(r);return this.parentNode&&this.parentNode.insertBefore(n,this.nextSibling),n}},c(tt,Z),et.prototype={nodeName:"#comment",nodeType:w},c(et,Z),rt.prototype={nodeName:"#cdata-section",nodeType:d},c(rt,Z),nt.prototype.nodeType=y,c(nt,j),it.prototype.nodeType=S,c(it,j),ot.prototype.nodeType=f,c(ot,j),st.prototype.nodeType=m,c(st,j),at.prototype.nodeName="#document-fragment",at.prototype.nodeType=b,c(at,j),ct.prototype.nodeType=g,c(ct,j),ht.prototype.serializeToString=function(t,e,r){return ut.call(t,e,r)},j.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 x(this),this.$$length}}),Object.defineProperty(j.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}}}),gt=function(t,e,r){t["$$"+e]=r}}}catch(t){}t.DocumentType=nt,t.DOMException=k,t.DOMImplementation=_,t.Element=Q,t.Node=j,t.NodeList=F,t.XMLSerializer=ht}}),Ti=b({"../node_modules/@xmldom/xmldom/lib/entities.js"(t){var e=Ci().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}}),ki=b({"../node_modules/@xmldom/xmldom/lib/sax.js"(t){var e=Ci().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]/,n=new RegExp("[\\-\\.0-9"+r.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),i=new RegExp("^"+r.source+n.source+"*(?::"+r.source+n.source+"*)?$");function o(t,e){this.message=t,this.locator=e,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function s(){}function a(t,e){return e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber,e}function c(t,r,n,i,o,s){function a(t,e,r){n.attributeNames.hasOwnProperty(t)&&s.fatalError("Attribute "+t+" redefined"),n.addValue(t,e.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}for(var c,h=++r,u=0;;){var l=t.charAt(h);switch(l){case"=":if(1===u)c=t.slice(r,h),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 "="'),c=t.slice(r,h)),!((h=t.indexOf(l,r=h+1))>0))throw new Error("attribute value no end '"+l+"' match");a(c,p=t.slice(r,h),r-1),u=5}else{if(4!=u)throw new Error('attribute value must after "="');a(c,p=t.slice(r,h),r),s.warning('attribute "'+c+'" missed start quot('+l+")!!"),r=h+1,u=5}break;case"/":switch(u){case 0:n.setTagName(t.slice(r,h));case 5:case 6:case 7:u=7,n.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&&n.setTagName(t.slice(r,h)),h;case">":switch(u){case 0:n.setTagName(t.slice(r,h));case 5:case 6:case 7:break;case 4:case 1:"/"===(p=t.slice(r,h)).slice(-1)&&(n.closed=!0,p=p.slice(0,-1));case 2:2===u&&(p=c),4==u?(s.warning('attribute "'+p+'" missed quot(")!'),a(c,p,r)):(e.isHTML(i[""])&&p.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+p+'" missed value!! "'+p+'" instead!!'),a(p,p,r));break;case 3:throw new Error("attribute value missed!!")}return h;case"":l=" ";default:if(l<=" ")switch(u){case 0:n.setTagName(t.slice(r,h)),u=6;break;case 1:c=t.slice(r,h),u=2;break;case 4:var p=t.slice(r,h);s.warning('attribute "'+p+'" missed quot(")!!'),a(c,p,r);case 5:u=6}else switch(u){case 2:e.isHTML(i[""])&&c.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),a(c,c,r),r=h,u=1;break;case 5:s.warning('attribute space is required"'+c+'"!!');case 6:u=1,r=h;break;case 3:u=4,r=h;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}h++}}function h(t,r,n){for(var i=t.tagName,o=null,s=t.length;s--;){var a=t[s],c=a.qName,h=a.value;if((m=c.indexOf(":"))>0)var u=a.prefix=c.slice(0,m),l=c.slice(m+1),d="xmlns"===u&&l;else l=c,u=null,d="xmlns"===c&&"";a.localName=l,!1!==d&&(null==o&&(o={},p(n,n={})),n[d]=o[d]=h,a.uri=e.XMLNS,r.startPrefixMapping(d,h))}for(s=t.length;s--;)(u=(a=t[s]).prefix)&&("xml"===u&&(a.uri=e.XML),"xmlns"!==u&&(a.uri=n[u||""]));var m;(m=i.indexOf(":"))>0?(u=t.prefix=i.slice(0,m),l=t.localName=i.slice(m+1)):(u=null,l=t.localName=i);var f=t.uri=n[u||""];if(r.startElement(f,l,i,t),!t.closed)return t.currentNSMap=n,t.localNSMap=o,!0;if(r.endElement(f,l,i),o)for(u in o)Object.prototype.hasOwnProperty.call(o,u)&&r.endPrefixMapping(u)}function u(t,e,r,n,i){if(/^(?:script|textarea)$/i.test(r)){var o=t.indexOf("</"+r+">",e),s=t.substring(e+1,o);if(/[&<]/.test(s))return/^script$/i.test(r)?(i.characters(s,0,s.length),o):(s=s.replace(/&#?\w+;/g,n),i.characters(s,0,s.length),o)}return e+1}function l(t,e,r,n){var i=n[r];return null==i&&((i=t.lastIndexOf("</"+r+">"))<e&&(i=t.lastIndexOf("</"+r)),n[r]=i),i<e}function p(t,e){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}function d(t,e,r,n){if("-"===t.charAt(e+2))return"-"===t.charAt(e+3)?(i=t.indexOf("--\x3e",e+4))>e?(r.comment(t,e+4,i-e-4),i+3):(n.error("Unclosed comment"),-1):-1;if("CDATA["==t.substr(e+3,6)){var i=t.indexOf("]]>",e+9);return r.startCDATA(),r.characters(t,e+9,i-e-9),r.endCDATA(),i+3}var o=function(t,e){var r,n=[],i=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(i.lastIndex=e,i.exec(t);r=i.exec(t);)if(n.push(r),r[1])return n}(t,e),s=o.length;if(s>1&&/!doctype/i.test(o[0][0])){var a=o[1][0],c=!1,h=!1;s>3&&(/^public$/i.test(o[2][0])?(c=o[3][0],h=s>4&&o[4][0]):/^system$/i.test(o[2][0])&&(h=o[3][0]));var u=o[s-1];return r.startDTD(a,c,h),r.endDTD(),u.index+u[0].length}return-1}function m(t,e,r){var n=t.indexOf("?>",e);if(n){var i=t.substring(e,n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);return i?(r.processingInstruction(i[1],i[2]),n+2):-1}return-1}function f(){this.attributeNames={}}(o.prototype=new Error).name=o.name,s.prototype={parse:function(t,r,n){var i=this.domBuilder;i.startDocument(),p(r,r={}),function(t,r,n,i,s){function p(t){var e,r=t.slice(1,-1);return Object.hasOwnProperty.call(n,r)?n[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 g(e){if(e>C){var r=t.substring(C,e).replace(/&#?\w+;/g,p);S&&w(C),i.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=i.locator,A=[{currentNSMap:r}],E={},C=0;;){try{var P=t.indexOf("<",C);if(P<0){if(!t.substr(C).match(/^\s*$/)){var T=i.doc,k=T.createTextNode(t.substr(C));T.appendChild(k),i.currentElement=k}return}switch(P>C&&g(P),t.charAt(P+1)){case"/":var F=t.indexOf(">",P+3),R=t.substring(P+2,F).replace(/[ \t\n\r]+$/g,""),x=A.pop();F<0?(R=t.substring(P+2).replace(/[\s<].*/,""),s.error("end tag name: "+R+" is not complete:"+x.tagName),F=P+1+R.length):R.match(/\s</)&&(R=R.replace(/[\s<].*/,""),s.error("end tag name: "+R+" maybe not complete"),F=P+1+R.length);var O=x.localNSMap,D=x.tagName==R;if(D||x.tagName&&x.tagName.toLowerCase()==R.toLowerCase()){if(i.endElement(x.uri,x.localName,R),O)for(var I in O)Object.prototype.hasOwnProperty.call(O,I)&&i.endPrefixMapping(I);D||s.fatalError("end tag name: "+R+" is not match the current start tagName:"+x.tagName)}else A.push(x);F++;break;case"?":S&&w(P),F=m(t,P,i);break;case"!":S&&w(P),F=d(t,P,i,s);break;default:S&&w(P);var M=new f,_=A[A.length-1].currentNSMap,j=(F=c(t,P,M,_,p,s),M.length);if(!M.closed&&l(t,F,M.tagName,E)&&(M.closed=!0,n.nbsp||s.warning("unclosed xml attribute")),S&&j){for(var N=a(S,{}),L=0;L<j;L++){var B=M[L];w(B.offset),B.locator=a(S,{})}i.locator=N,h(M,i,_)&&A.push(M),i.locator=S}else h(M,i,_)&&A.push(M);e.isHTML(M.uri)&&!M.closed?F=u(t,F,M.tagName,p,i):F++}}catch(t){if(t instanceof o)throw t;s.error("element parse error: "+t),F=-1}F>C?C=F:g(Math.max(P,C)+1)}}(t,r,n,i,this.errorHandler),i.endDocument()}},f.prototype={setTagName:function(t){if(!i.test(t))throw new Error("invalid tagName:"+t);this.tagName=t},addValue:function(t,e,r){if(!i.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=o}}),Fi=b({"../node_modules/@xmldom/xmldom/lib/dom-parser.js"(t){var e=Ci(),r=Pi(),n=Ti(),i=ki(),o=r.DOMImplementation,s=e.NAMESPACE,a=i.ParseError,c=i.XMLReader;function h(t){return t.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function u(t){this.options=t||{locator:{}}}function l(){this.cdata=!1}function p(t,e){e.lineNumber=t.lineNumber,e.columnNumber=t.columnNumber}function d(t){if(t)return"\n@"+(t.systemId||"")+"#[line:"+t.lineNumber+",col:"+t.columnNumber+"]"}function m(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 f(t,e){t.currentElement?t.currentElement.appendChild(e):t.doc.appendChild(e)}u.prototype.parseFromString=function(t,e){var r=this.options,i=new c,o=r.domBuilder||new l,a=r.errorHandler,u=r.locator,p=r.xmlns||{},m=/\/x?html?$/.test(e),f=m?n.HTML_ENTITIES:n.XML_ENTITIES;return u&&o.setDocumentLocator(u),i.errorHandler=function(t,e,r){if(!t){if(e instanceof l)return e;t=e}var n={},i=t instanceof Function;function o(e){var o=t[e];!o&&i&&(o=2==t.length?function(r){t(e,r)}:t),n[e]=o&&function(t){o("[xmldom "+e+"]\t"+t+d(r))}||function(){}}return r=r||{},o("warning"),o("error"),o("fatalError"),n}(a,o,u),i.domBuilder=r.domBuilder||o,m&&(p[""]=s.HTML),p.xml=p.xml||s.XML,t&&"string"==typeof t?i.parse((r.normalizeLineEndings||h)(t),p,f):i.errorHandler.error("invalid doc source"),o.doc},l.prototype={startDocument:function(){this.doc=(new o).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(t,e,r,n){var i=this.doc,o=i.createElementNS(t,r||e),s=n.length;f(this,o),this.currentElement=o,this.locator&&p(this.locator,o);for(var a=0;a<s;a++){t=n.getURI(a);var c=n.getValue(a),h=(r=n.getQName(a),i.createAttributeNS(t,r));this.locator&&p(n.getLocator(a),h),h.value=h.nodeValue=c,o.setAttributeNode(h)}},endElement:function(){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(){},endPrefixMapping:function(){},processingInstruction:function(t,e){var r=this.doc.createProcessingInstruction(t,e);this.locator&&p(this.locator,r),f(this,r)},ignorableWhitespace:function(){},characters:function(t,e,r){if(t=m.apply(this,arguments)){if(this.cdata)var n=this.doc.createCDATASection(t);else n=this.doc.createTextNode(t);this.currentElement?this.currentElement.appendChild(n):/^\s*$/.test(t)&&this.doc.appendChild(n),this.locator&&p(this.locator,n)}},skippedEntity:function(){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(t){(this.locator=t)&&(t.lineNumber=0)},comment:function(t,e,r){t=m.apply(this,arguments);var n=this.doc.createComment(t);this.locator&&p(this.locator,n),f(this,n)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(t,e,r){var n=this.doc.implementation;if(n&&n.createDocumentType){var i=n.createDocumentType(t,e,r);this.locator&&p(this.locator,i),f(this,i),this.doc.doctype=i}},warning:function(t){console.warn("[xmldom warning]\t"+t,d(this.locator))},error:function(t){console.error("[xmldom error]\t"+t,d(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){l.prototype[t]=function(){return null}})),t.__DOMHandler=l,t.normalizeLineEndings=h,t.DOMParser=u}}),Ri=b({"../node_modules/@xmldom/xmldom/lib/index.js"(t){var e=Pi();t.DOMImplementation=e.DOMImplementation,t.XMLSerializer=e.XMLSerializer,t.DOMParser=Fi().DOMParser}}),xi=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 n in r){const i=r[n];e[n]=function(e=""){return t.namedNode(i+e)}}return e}}}),Oi=b({"../node_modules/url/node_modules/punycode/punycode.js"(t,e){!function(r){var n="object"==typeof t&&t&&!t.nodeType&&t,i="object"==typeof e&&e&&!e.nodeType&&e,o="object"==typeof global&&global;o.global!==o&&o.window!==o&&o.self!==o||(r=o);var s,a,c=2147483647,h=36,u=/^xn--/,l=/[^\x20-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,f=String.fromCharCode;function g(t){throw RangeError(d[t])}function w(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function v(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t=r[1]),n+w((t=t.replace(p,".")).split("."),e).join(".")}function y(t){for(var e,r,n=[],i=0,o=t.length;i<o;)(e=t.charCodeAt(i++))>=55296&&e<=56319&&i<o?56320==(64512&(r=t.charCodeAt(i++)))?n.push(((1023&e)<<10)+(1023&r)+65536):(n.push(e),i--):n.push(e);return n}function b(t){return w(t,(function(t){var e="";return t>65535&&(e+=f((t-=65536)>>>10&1023|55296),t=56320|1023&t),e+f(t)})).join("")}function S(t,e){return t+22+75*(t<26)-((0!=e)<<5)}function A(t,e,r){var n=0;for(t=r?m(t/700):t>>1,t+=m(t/e);t>455;n+=h)t=m(t/35);return m(n+36*t/(t+38))}function E(t){var e,r,n,i,o,s,a,u,l,p,d,f=[],w=t.length,v=0,y=128,S=72;for((r=t.lastIndexOf("-"))<0&&(r=0),n=0;n<r;++n)t.charCodeAt(n)>=128&&g("not-basic"),f.push(t.charCodeAt(n));for(i=r>0?r+1:0;i<w;){for(o=v,s=1,a=h;i>=w&&g("invalid-input"),((u=(d=t.charCodeAt(i++))-48<10?d-22:d-65<26?d-65:d-97<26?d-97:h)>=h||u>m((c-v)/s))&&g("overflow"),v+=u*s,!(u<(l=a<=S?1:a>=S+26?26:a-S));a+=h)s>m(c/(p=h-l))&&g("overflow"),s*=p;S=A(v-o,e=f.length+1,0==o),m(v/e)>c-y&&g("overflow"),y+=m(v/e),v%=e,f.splice(v++,0,y)}return b(f)}function C(t){var e,r,n,i,o,s,a,u,l,p,d,w,v,b,E,C=[];for(w=(t=y(t)).length,e=128,r=0,o=72,s=0;s<w;++s)(d=t[s])<128&&C.push(f(d));for(n=i=C.length,i&&C.push("-");n<w;){for(a=c,s=0;s<w;++s)(d=t[s])>=e&&d<a&&(a=d);for(a-e>m((c-r)/(v=n+1))&&g("overflow"),r+=(a-e)*v,e=a,s=0;s<w;++s)if((d=t[s])<e&&++r>c&&g("overflow"),d==e){for(u=r,l=h;!(u<(p=l<=o?1:l>=o+26?26:l-o));l+=h)C.push(f(S(p+(E=u-p)%(b=h-p),0))),u=m(E/b);C.push(f(S(u,0))),o=A(r,v,n==i),r=0,++n}++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 l.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(n&&i)if(e.exports==n)i.exports=s;else for(a in s)s.hasOwnProperty(a)&&(n[a]=s[a]);else r.punycode=s}(t)}}),Di=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}}}}),Ii=b({"../node_modules/querystring/decode.js"(t,e){function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.exports=function(t,e,n,i){n=n||"=";var o={};if("string"!=typeof t||0===t.length)return o;var s=/\+/g;t=t.split(e=e||"&");var a=1e3;i&&"number"==typeof i.maxKeys&&(a=i.maxKeys);var c=t.length;a>0&&c>a&&(c=a);for(var h=0;h<c;++h){var u,l,p,d,m=t[h].replace(s,"%20"),f=m.indexOf(n);f>=0?(u=m.substr(0,f),l=m.substr(f+1)):(u=m,l=""),p=decodeURIComponent(u),d=decodeURIComponent(l),r(o,p)?Array.isArray(o[p])?o[p].push(d):o[p]=[o[p],d]:o[p]=d}return o}}}),Mi=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,n,i){return e=e||"&",n=n||"=",null===t&&(t=void 0),"object"==typeof t?Object.keys(t).map((function(i){var o=encodeURIComponent(r(i))+n;return Array.isArray(t[i])?t[i].map((function(t){return o+encodeURIComponent(r(t))})).join(e):o+encodeURIComponent(r(t[i]))})).join(e):i?encodeURIComponent(r(i))+n+encodeURIComponent(r(t)):""}}}),_i=b({"../node_modules/querystring/index.js"(t){t.decode=t.parse=Ii(),t.encode=t.stringify=Mi()}}),ji=b({"../node_modules/url/url.js"(t){var e=Oi(),r=Di();function n(){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 n?t.format():n.prototype.format.call(t)},t.Url=n;var i=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,a=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(a),h=["%","/","?",";","#"].concat(c),u=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,p=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,d={javascript:!0,"javascript:":!0},m={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},g=_i();function w(t,e,i){if(t&&r.isObject(t)&&t instanceof n)return t;var o=new n;return o.parse(t,e,i),o}n.prototype.parse=function(t,n,o){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(),!o&&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=n?g.parse(this.search.substr(1)):this.search.substr(1)):n&&(this.search="",this.query={}),this}var S=i.exec(y);if(S){var A=(S=S[0]).toLowerCase();this.protocol=A,y=y.substr(S.length)}if(o||S||y.match(/^\/\/[^@\/]+@[^@\/]+/)){var E="//"===y.substr(0,2);!E||S&&m[S]||(y=y.substr(2),this.slashes=!0)}if(!m[S]&&(E||S&&!f[S])){for(var C,P,T=-1,k=0;k<u.length;k++)-1!==(F=y.indexOf(u[k]))&&(-1===T||F<T)&&(T=F);for(-1!==(P=-1===T?y.lastIndexOf("@"):y.lastIndexOf("@",T))&&(C=y.slice(0,P),y=y.slice(P+1),this.auth=decodeURIComponent(C)),T=-1,k=0;k<h.length;k++){var F;-1!==(F=y.indexOf(h[k]))&&(-1===T||F<T)&&(T=F)}-1===T&&(T=y.length),this.host=y.slice(0,T),y=y.slice(T),this.parseHost(),this.hostname=this.hostname||"";var R="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!R)for(var x=this.hostname.split(/\./),O=(k=0,x.length);k<O;k++){var D=x[k];if(D&&!D.match(l)){for(var I="",M=0,_=D.length;M<_;M++)D.charCodeAt(M)>127?I+="x":I+=D[M];if(!I.match(l)){var j=x.slice(0,k),N=x.slice(k+1),L=D.match(p);L&&(j.push(L[1]),N.unshift(L[2])),N.length&&(y="/"+N.join(".")+y),this.hostname=j.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(!d[A])for(k=0,O=c.length;k<O;k++){var B=c[k];if(-1!==y.indexOf(B)){var U=encodeURIComponent(B);U===B&&(U=escape(B)),y=y.split(B).join(U)}}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),n&&(this.query=g.parse(this.query)),y=y.slice(0,W)):n&&(this.search="",this.query={}),y&&(this.pathname=y),f[A]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},n.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",n=this.pathname||"",i=this.hash||"",o=!1,s="";this.host?o=t+this.host:this.hostname&&(o=t+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&r.isObject(this.query)&&Object.keys(this.query).length&&(s=g.stringify(this.query));var a=this.search||s&&"?"+s||"";return e&&":"!==e.substr(-1)&&(e+=":"),this.slashes||(!e||f[e])&&!1!==o?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),i&&"#"!==i.charAt(0)&&(i="#"+i),a&&"?"!==a.charAt(0)&&(a="?"+a),e+o+(n=n.replace(/[?#]/g,(function(t){return encodeURIComponent(t)})))+(a=a.replace("#","%23"))+i},n.prototype.resolve=function(t){return this.resolveObject(w(t,!1,!0)).format()},n.prototype.resolveObject=function(t){if(r.isString(t)){var e=new n;e.parse(t,!1,!0),t=e}for(var i=new n,o=Object.keys(this),s=0;s<o.length;s++){var a=o[s];i[a]=this[a]}if(i.hash=t.hash,""===t.href)return i.href=i.format(),i;if(t.slashes&&!t.protocol){for(var c=Object.keys(t),h=0;h<c.length;h++){var u=c[h];"protocol"!==u&&(i[u]=t[u])}return f[i.protocol]&&i.hostname&&!i.pathname&&(i.path=i.pathname="/"),i.href=i.format(),i}if(t.protocol&&t.protocol!==i.protocol){if(!f[t.protocol]){for(var l=Object.keys(t),p=0;p<l.length;p++){var d=l[p];i[d]=t[d]}return i.href=i.format(),i}if(i.protocol=t.protocol,t.host||m[t.protocol])i.pathname=t.pathname;else{for(var g=(t.pathname||"").split("/");g.length&&!(t.host=g.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),""!==g[0]&&g.unshift(""),g.length<2&&g.unshift(""),i.pathname=g.join("/")}return i.search=t.search,i.query=t.query,i.host=t.host||"",i.auth=t.auth,i.hostname=t.hostname||t.host,i.port=t.port,(i.pathname||i.search)&&(i.path=(i.pathname||"")+(i.search||"")),i.slashes=i.slashes||t.slashes,i.href=i.format(),i}var w=i.pathname&&"/"===i.pathname.charAt(0),v=t.host||t.pathname&&"/"===t.pathname.charAt(0),y=v||w||i.host&&t.pathname,b=y,S=i.pathname&&i.pathname.split("/")||[],A=(g=t.pathname&&t.pathname.split("/")||[],i.protocol&&!f[i.protocol]);if(A&&(i.hostname="",i.port=null,i.host&&(""===S[0]?S[0]=i.host:S.unshift(i.host)),i.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(""===g[0]?g[0]=t.host:g.unshift(t.host)),t.host=null),y=y&&(""===g[0]||""===S[0])),v)i.host=t.host||""===t.host?t.host:i.host,i.hostname=t.hostname||""===t.hostname?t.hostname:i.hostname,i.search=t.search,i.query=t.query,S=g;else if(g.length)S||(S=[]),S.pop(),S=S.concat(g),i.search=t.search,i.query=t.query;else if(!r.isNullOrUndefined(t.search))return A&&(i.hostname=i.host=S.shift(),(k=!!(i.host&&i.host.indexOf("@")>0)&&i.host.split("@"))&&(i.auth=k.shift(),i.host=i.hostname=k.shift())),i.search=t.search,i.query=t.query,r.isNull(i.pathname)&&r.isNull(i.search)||(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.href=i.format(),i;if(!S.length)return i.pathname=null,i.path=i.search?"/"+i.search:null,i.href=i.format(),i;for(var E=S.slice(-1)[0],C=(i.host||t.host||S.length>1)&&("."===E||".."===E)||""===E,P=0,T=S.length;T>=0;T--)"."===(E=S[T])?S.splice(T,1):".."===E?(S.splice(T,1),P++):P&&(S.splice(T,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,F=""===S[0]||S[0]&&"/"===S[0].charAt(0);return A&&(i.hostname=i.host=F?"":S.length?S.shift():"",(k=!!(i.host&&i.host.indexOf("@")>0)&&i.host.split("@"))&&(i.auth=k.shift(),i.host=i.hostname=k.shift())),(y=y||i.host&&S.length)&&!F&&S.unshift(""),S.length?i.pathname=S.join("/"):(i.pathname=null,i.path=null),r.isNull(i.pathname)&&r.isNull(i.search)||(i.path=(i.pathname?i.pathname:"")+(i.search?i.search:"")),i.auth=t.auth||i.auth,i.slashes=i.slashes||t.slashes,i.href=i.format(),i},n.prototype.parseHost=function(){var t=this.host,e=o.exec(t);e&&(":"!==(e=e[0])&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)}}}),Ni=b({"../node_modules/@frogcat/ttl2jsonld/ttl2jsonld.js"(t,e){var r,n;r=t,n=function(){function t(e,r,n,i){this.message=e,this.expected=r,this.found=n,this.location=i,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,n={literal:function(t){return'"'+o(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 i(t){return t.charCodeAt(0).toString(16).toUpperCase()}function o(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"+i(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+i(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"+i(t)})).replace(/[\x10-\x1F\x7F-\x9F]/g,(function(t){return"\\x"+i(t)}))}return"Expected "+function(t){var e,r,i,o=new Array(t.length);for(e=0;e<t.length;e++)o[e]=n[(i=t[e]).type](i);if(o.sort(),o.length>0){for(e=1,r=1;e<o.length;e++)o[e-1]!==o[e]&&(o[r]=o[e],r++);o.length=r}switch(o.length){case 1:return o[0];case 2:return o[0]+" or "+o[1];default:return o.slice(0,-1).join(", ")+", or "+o[o.length-1]}}(t)+" but "+((r=e)?'"'+o(r)+'"':"end of input")+" found."},{SyntaxError:t,parse:function(e,r){r=void 0!==r?r:{};var n,i={},o={turtleDoc:De},s=De,a=".",c=ke(".",!1),h=ke("#",!1),u=/^[^\n]/,l=Fe(["\n"],!0,!1),p=ke("\n",!1),d=function(t){return t.join("")},m="@prefix",f=ke("@prefix",!1),g=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=Fe(["B","b"],!1,!1),A=/^[Aa]/,E=Fe(["A","a"],!1,!1),C=/^[Ss]/,P=Fe(["S","s"],!1,!1),T=/^[Ee]/,k=Fe(["E","e"],!1,!1),F=/^[Pp]/,R=Fe(["P","p"],!1,!1),x=/^[Rr]/,O=Fe(["R","r"],!1,!1),D=/^[Ff]/,I=Fe(["F","f"],!1,!1),M=/^[Ii]/,_=Fe(["I","i"],!1,!1),j=/^[Xx]/,N=Fe(["X","x"],!1,!1),L=ke(";",!1),B=function(t,e,r,n){var i={};return i[r]=n,i},U=function(t,e,r){return r},H=ke(",",!1),W=function(t,e){return e},q=ke("a",!1),V=ke("[",!1),G=ke("]",!1),J=ke("(",!1),K=ke(")",!1),z=ke("^^",!1),$="true",X=ke("true",!1),Q="false",Y=ke("false",!1),Z=ke("<",!1),tt=/^[^\0- <>"{}|\^`\\]/,et=Fe([["\0"," "],"<",">",'"',"{","}","|","^","`","\\"],!0,!1),rt=ke(">",!1),nt=":",it=ke(":",!1),ot=ke("_:",!1),st=/^[0-9]/,at=Fe([["0","9"]],!1,!1),ct=ke("@",!1),ht=/^[a-zA-Z]/,ut=Fe([["a","z"],["A","Z"]],!1,!1),lt=ke("-",!1),pt=/^[a-zA-Z0-9]/,dt=Fe([["a","z"],["A","Z"],["0","9"]],!1,!1),mt=function(t,e){return"-"+e.join("")},ft=/^[+\-]/,gt=Fe(["+","-"],!1,!1),wt=/^[eE]/,vt=Fe(["e","E"],!1,!1),yt='"',bt=ke('"',!1),St=/^[^"\\\n\r]/,At=Fe(['"',"\\","\n","\r"],!0,!1),Et="'",Ct=ke("'",!1),Pt=/^[^'\\\n\r]/,Tt=Fe(["'","\\","\n","\r"],!0,!1),kt="'''",Ft=ke("'''",!1),Rt=/^[^'\\]/,xt=Fe(["'","\\"],!0,!1),Ot="''",Dt=ke("''",!1),It=function(t,e){return"''"+e.join("")},Mt=function(t,e){return"'"+e.join("")},_t=function(t,e){return t.join("")+e.join("")},jt='"""',Nt=ke('"""',!1),Lt=/^[^"\\]/,Bt=Fe(['"',"\\"],!0,!1),Ut='""',Ht=ke('""',!1),Wt=function(t,e){return'""'+e.join("")},qt=function(t,e){return'"'+e.join("")},Vt=ke("\\U",!1),Gt=ke("\\u",!1),Jt=ke("\\t",!1),Kt=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=Fe([" ","\t","\r","\n"],!1,!1),re=/^[\uD800-\uDBFF]/,ne=Fe([["\ud800","\udbff"]],!1,!1),ie=/^[\uDC00-\uDFFF]/,oe=Fe([["\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=Fe([["A","Z"],["a","z"],["À","Ö"],["Ø","ö"],["ø","˿"],["Ͱ","ͽ"],["Ϳ",""],["",""],["⁰",""],["Ⰰ",""],["、",""],["豈","﷏"],["ﷰ","�"]],!1,!1),ce=ke("_",!1),he=ke("·",!1),ue=/^[\u0300-\u036F]/,le=Fe([["̀","ͯ"]],!1,!1),pe=/^[\u203F-\u2040]/,de=Fe([["‿","⁀"]],!1,!1),me=function(t,e,r,n){return r.join("")+n.join("")},fe=ke("%",!1),ge=/^[0-9A-Fa-f]/,we=Fe([["0","9"],["A","F"],["a","f"]],!1,!1),ve=ke("\\",!1),ye=/^[_~.!$&'()*+,;=\/?#@%\-]/,be=Fe(["_","~",".","!","$","&","'","(",")","*","+",",",";","=","/","?","#","@","%","-"],!1,!1),Se=0,Ae=0,Ee=[{line:1,column:1}],Ce=0,Pe=[];if("startRule"in r){if(!(r.startRule in o))throw new Error("Can't start parsing from rule \""+r.startRule+'".');s=o[r.startRule]}function Te(e,r){throw function(e,r){return new t(e,null,null,r)}(e,r=void 0!==r?r:xe(Ae,Se))}function ke(t,e){return{type:"literal",text:t,ignoreCase:e}}function Fe(t,e,r){return{type:"class",parts:t,inverted:e,ignoreCase:r}}function Re(t){var r,n=Ee[t];if(n)return n;for(r=t-1;!Ee[r];)r--;for(n={line:(n=Ee[r]).line,column:n.column};r<t;)10===e.charCodeAt(r)?(n.line++,n.column=1):n.column++,r++;return Ee[t]=n,n}function xe(t,e){var r=Re(t),n=Re(e);return{start:{offset:t,line:r.line,column:r.column},end:{offset:e,line:n.line,column:n.column}}}function Oe(t){Se<Ce||(Se>Ce&&(Ce=Se,Pe=[]),Pe.push(t))}function De(){var t,e,r,n,o,s;for(t=Se,e=[],r=Ie();r!==i;)e.push(r),r=Ie();if(e!==i){for(r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i?(Ae=t,o=e,(s=ar.toJSON())["@graph"]=[],o.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=i)}else Se=t,t=i;return t}function Ie(){var t,r,n,o;if(t=function(){var t;return t=function(){var t,r,n,o,s,h,u,l,p;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(e.substr(Se,7)===m?(n=m,Se+=7):(n=i,Oe(f)),n!==i){for(o=[],s=Me();s!==i;)o.push(s),s=Me();if(o!==i)if((s=Je())!==i){for(h=[],u=Me();u!==i;)h.push(u),u=Me();if(h!==i)if((u=Ve())!==i){for(l=[],p=Me();p!==i;)l.push(p),p=Me();l!==i?(46===e.charCodeAt(Se)?(p=a,Se++):(p=i,Oe(c)),p!==i?(Ae=t,t=r=g(s,u)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i}else Se=t,t=i;else Se=t,t=i}else Se=t,t=i;else Se=t,t=i;return t}(),t===i&&(t=function(){var t,r,n,o,s,h,u;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(e.substr(Se,5)===w?(n=w,Se+=5):(n=i,Oe(v)),n!==i){for(o=[],s=Me();s!==i;)o.push(s),s=Me();if(o!==i)if((s=Ve())!==i){for(h=[],u=Me();u!==i;)h.push(u),u=Me();h!==i?(46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c)),u!==i?(Ae=t,t=r=y(s)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i}else Se=t,t=i;else Se=t,t=i;return t}(),t===i&&(t=function(){var t,r,n,o,s,a,c,h,u,l,p,d;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(F.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,Oe(R)),n!==i)if(x.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(O)),o!==i)if(T.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,Oe(k)),s!==i)if(D.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(I)),a!==i)if(M.test(e.charAt(Se))?(c=e.charAt(Se),Se++):(c=i,Oe(_)),c!==i)if(j.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(N)),h!==i){for(u=[],l=Me();l!==i;)u.push(l),l=Me();if(u!==i)if((l=Je())!==i){for(p=[],d=Me();d!==i;)p.push(d),d=Me();p!==i&&(d=Ve())!==i?(Ae=t,t=r=g(l,d)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i}else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;return t}(),t===i&&(t=function(){var t,r,n,o,s,a,c,h;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(b.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,Oe(S)),n!==i)if(A.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(E)),o!==i)if(C.test(e.charAt(Se))?(s=e.charAt(Se),Se++):(s=i,Oe(P)),s!==i)if(T.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(k)),a!==i){for(c=[],h=Me();h!==i;)c.push(h),h=Me();c!==i&&(h=Ve())!==i?(Ae=t,t=r=y(h)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;return t}()))),t}(),t===i)if(t=Se,r=function(){var t,e,r,n,o,s;return t=Se,e=function(){var t,e;return t=Se,(e=Ue())!==i&&(Ae=t,e=cr(e,!0)),(t=e)===i&&(t=qe())===i&&(t=We()),t}(),e!==i&&(r=_e())!==i?(Ae=t,o=r,s={},"string"==typeof(n=e)&&"[]"!==n?s["@id"]=n:"object"==typeof n&&Object.assign(s,n),o&&Object.assign(s,o),t=e=[s]):(Se=t,t=i),t===i&&(t=Se,(e=Be())!==i?((r=_e())===i&&(r=null),r!==i?(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=i)):(Se=t,t=i)),t}(),r!==i){for(n=[],o=Me();o!==i;)n.push(o),o=Me();n!==i?(46===e.charCodeAt(Se)?(o=a,Se++):(o=i,Oe(c)),o!==i?(Ae=t,t=r):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}function Me(){var t;return(t=function(){var t;return te.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(ee)),t}())===i&&(t=function(){var t,r,n,o;if(t=Se,35===e.charCodeAt(Se)?(r="#",Se++):(r=i,Oe(h)),r!==i){for(n=[],u.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(l));o!==i;)n.push(o),u.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(l));n!==i?(10===e.charCodeAt(Se)?(o="\n",Se++):(o=i,Oe(p)),o!==i?(Ae=t,t=r=d(n)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}()),t}function _e(){var t,r,n,o,s,a,c,h,u,l,p,d,m;if(t=Se,(r=Ne())!==i)if((n=je())!==i){for(o=[],s=Se,a=[],c=Me();c!==i;)a.push(c),c=Me();for(a!==i?(59===e.charCodeAt(Se)?(c=";",Se++):(c=i,Oe(L)),c!==i?(h=Se,(u=Ne())!==i&&(l=je())!==i?(Ae=h,h=u=B(0,0,u,l)):(Se=h,h=i),h===i&&(h=null),h!==i?(Ae=s,s=a=U(0,0,h)):(Se=s,s=i)):(Se=s,s=i)):(Se=s,s=i);s!==i;){for(o.push(s),s=Se,a=[],c=Me();c!==i;)a.push(c),c=Me();a!==i?(59===e.charCodeAt(Se)?(c=";",Se++):(c=i,Oe(L)),c!==i?(h=Se,(u=Ne())!==i&&(l=je())!==i?(Ae=h,h=u=B(0,0,u,l)):(Se=h,h=i),h===i&&(h=null),h!==i?(Ae=s,s=a=U(0,0,h)):(Se=s,s=i)):(Se=s,s=i)):(Se=s,s=i)}o!==i?(Ae=t,d={},(p=o).unshift(((m={})[r]=n,m)),p.forEach((t=>{t&&Object.keys(t).forEach((e=>{t[e].forEach((t=>{"@type"===e&&void 0!==t["@id"]&&(t=t["@id"]),void 0===d[e]?d[e]=t:Array.isArray(d[e])?d[e].push(t):d[e]=[d[e],t]}))}))})),t=r=d):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i;return t}function je(){var t,r,n,o,s,a,c,h;if(t=Se,(r=Le())!==i){for(n=[],o=Se,s=[],a=Me();a!==i;)s.push(a),a=Me();for(s!==i?(44===e.charCodeAt(Se)?(a=",",Se++):(a=i,Oe(H)),a!==i&&(c=Le())!==i?(Ae=o,o=s=W(0,c)):(Se=o,o=i)):(Se=o,o=i);o!==i;){for(n.push(o),o=Se,s=[],a=Me();a!==i;)s.push(a),a=Me();s!==i?(44===e.charCodeAt(Se)?(a=",",Se++):(a=i,Oe(H)),a!==i&&(c=Le())!==i?(Ae=o,o=s=W(0,c)):(Se=o,o=i)):(Se=o,o=i)}n!==i?(Ae=t,(h=n).unshift(r),t=r=h):(Se=t,t=i)}else Se=t,t=i;return t}function Ne(){var t,r,n;if(t=Se,r=function(){var t,e,r;for(t=Se,e=[],r=Me();r!==i;)e.push(r),r=Me();return e!==i&&(r=We())!==i?(Ae=t,t=e=r):(Se=t,t=i),t}(),r!==i&&(Ae=t),(t=r)===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i?(97===e.charCodeAt(Se)?(n="a",Se++):(n=i,Oe(q)),n!==i?(Ae=t,t=r="@type"):(Se=t,t=i)):(Se=t,t=i)}return t}function Le(){var t,r,n;return t=function(){var t;return t=function(){var t,r,n,o,s,a,c;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if((n=He())!==i){for(o=[],s=Me();s!==i;)o.push(s),s=Me();o!==i?(s=function(){var t,r,n,o,s,a,c,h,u;if(t=Se,64===e.charCodeAt(Se)?(r="@",Se++):(r=i,Oe(ct)),r!==i){if(n=[],ht.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(ut)),o!==i)for(;o!==i;)n.push(o),ht.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(ut));else n=i;if(n!==i){if(o=[],s=Se,45===e.charCodeAt(Se)?(a="-",Se++):(a=i,Oe(lt)),a!==i){if(c=[],pt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(dt)),h!==i)for(;h!==i;)c.push(h),pt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(dt));else c=i;c!==i?(Ae=s,s=a=mt(0,c)):(Se=s,s=i)}else Se=s,s=i;for(;s!==i;)if(o.push(s),s=Se,45===e.charCodeAt(Se)?(a="-",Se++):(a=i,Oe(lt)),a!==i){if(c=[],pt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(dt)),h!==i)for(;h!==i;)c.push(h),pt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(dt));else c=i;c!==i?(Ae=s,s=a=mt(0,c)):(Se=s,s=i)}else Se=s,s=i;o!==i?(Ae=t,u=o,t=r=n.join("")+u.join("")):(Se=t,t=i)}else Se=t,t=i}else Se=t,t=i;return t}(),s!==i?(Ae=t,t=r={"@value":n,"@language":s}):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i;if(t===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if((n=He())!==i){for(o=[],s=Me();s!==i;)o.push(s),s=Me();if(o!==i)if("^^"===e.substr(Se,2)?(s="^^",Se+=2):(s=i,Oe(z)),s!==i){for(a=[],c=Me();c!==i;)a.push(c),c=Me();a!==i&&(c=We())!==i?(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 n=e.split(":")[0];if("http://www.w3.org/2001/XMLSchema#boolean"===r&&"true"===t)return ar.decrement(n),!0;if("http://www.w3.org/2001/XMLSchema#boolean"===r&&"false"===t)return ar.decrement(n),!1;if("http://www.w3.org/2001/XMLSchema#integer"===r)return ar.decrement(n),parseInt(t);if("http://www.w3.org/2001/XMLSchema#double"===r)return ar.decrement(n),parseFloat(t)}return{"@value":t,"@type":e}}(n,c)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i}else Se=t,t=i;else Se=t,t=i;if(t===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i&&(n=He())!==i?(Ae=t,t=r=n):(Se=t,t=i)}}return t}(),t===i&&(t=function(){var t,r,n;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();return r!==i?(n=function(){var t,r,n,o,s,h,u,l,p;if(t=Se,r=Se,n=Se,ft.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(gt)),o===i&&(o=null),o!==i){if(s=Se,h=[],st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=i,Oe(at)),u!==i)for(;u!==i;)h.push(u),st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=i,Oe(at));else h=i;if(h!==i)if(46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c)),u!==i){for(l=[],st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=i,Oe(at));p!==i;)l.push(p),st.test(e.charAt(Se))?(p=e.charAt(Se),Se++):(p=i,Oe(at));l!==i&&(p=Ke())!==i?s=h=[h,u,l,p]:(Se=s,s=i)}else Se=s,s=i;else Se=s,s=i;if(s===i){if(s=Se,46===e.charCodeAt(Se)?(h=a,Se++):(h=i,Oe(c)),h!==i){if(u=[],st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=i,Oe(at)),l!==i)for(;l!==i;)u.push(l),st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=i,Oe(at));else u=i;u!==i&&(l=Ke())!==i?s=h=[h,u,l]:(Se=s,s=i)}else Se=s,s=i;if(s===i){if(s=Se,h=[],st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=i,Oe(at)),u!==i)for(;u!==i;)h.push(u),st.test(e.charAt(Se))?(u=e.charAt(Se),Se++):(u=i,Oe(at));else h=i;h!==i&&(u=Ke())!==i?s=h=[h,u]:(Se=s,s=i)}}s!==i?n=o=[o,s]:(Se=n,n=i)}else Se=n,n=i;return(r=n!==i?e.substring(r,Se):n)!==i&&(Ae=t,r={"@value":r,"@type":"http://www.w3.org/2001/XMLSchema#double"}),r}(),n===i&&(n=function(){var t,r,n,o,s,h,u,l;if(t=Se,r=Se,n=Se,ft.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(gt)),o===i&&(o=null),o!==i){for(s=[],st.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(at));h!==i;)s.push(h),st.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(at));if(s!==i)if(46===e.charCodeAt(Se)?(h=a,Se++):(h=i,Oe(c)),h!==i){if(u=[],st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=i,Oe(at)),l!==i)for(;l!==i;)u.push(l),st.test(e.charAt(Se))?(l=e.charAt(Se),Se++):(l=i,Oe(at));else u=i;u!==i?n=o=[o,s,h,u]:(Se=n,n=i)}else Se=n,n=i;else Se=n,n=i}else Se=n,n=i;return(r=n!==i?e.substring(r,Se):n)!==i&&(Ae=t,r={"@value":r,"@type":"http://www.w3.org/2001/XMLSchema#decimal"}),r}(),n===i&&(n=function(){var t,r,n,o,s,a,c;if(t=Se,r=Se,n=Se,ft.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(gt)),o===i&&(o=null),o!==i){if(s=[],st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(at)),a!==i)for(;a!==i;)s.push(a),st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(at));else s=i;s!==i?n=o=[o,s]:(Se=n,n=i)}else Se=n,n=i;return(r=n!==i?e.substring(r,Se):n)!==i&&(Ae=t,r=(c=r).match(/^[0+][0-9]+$/)?{"@value":c,"@type":"http://www.w3.org/2001/XMLSchema#integer"}:parseInt(c)),r}())),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i),t}(),t===i&&(t=function(){var t,r,n;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i?(e.substr(Se,4)===$?(n=$,Se+=4):(n=i,Oe(X)),n!==i?(Ae=t,t=r=!0):(Se=t,t=i)):(Se=t,t=i),t===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i?(e.substr(Se,5)===Q?(n=Q,Se+=5):(n=i,Oe(Y)),n!==i?(Ae=t,t=r=!1):(Se=t,t=i)):(Se=t,t=i)}return t}())),t}(),t===i&&(t=Se,(r=Ue())!==i&&(Ae=t,r=cr(r,!1)),(t=r)===i&&(t=Se,(r=qe())!==i&&(Ae=t,r="[]"===(n=r)?{}:{"@id":n}),(t=r)===i&&(t=Se,(r=Be())!==i&&(Ae=t),(t=r)===i&&(t=Se,(r=We())!==i&&(Ae=t,r=function(t){return{"@id":t}}(r)),t=r)))),t}function Be(){var t,r,n,o,s,a;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(91===e.charCodeAt(Se)?(n="[",Se++):(n=i,Oe(V)),n!==i)if((o=_e())!==i){for(s=[],a=Me();a!==i;)s.push(a),a=Me();s!==i?(93===e.charCodeAt(Se)?(a="]",Se++):(a=i,Oe(G)),a!==i?(Ae=t,t=r=o):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;else Se=t,t=i;else Se=t,t=i;return t}function Ue(){var t,r,n,o,s,a;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i)if(40===e.charCodeAt(Se)?(n="(",Se++):(n=i,Oe(J)),n!==i){for(o=[],s=Le();s!==i;)o.push(s),s=Le();if(o!==i){for(s=[],a=Me();a!==i;)s.push(a),a=Me();s!==i?(41===e.charCodeAt(Se)?(a=")",Se++):(a=i,Oe(K)),a!==i?(Ae=t,t=r={"@list":o}):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i}else Se=t,t=i;else Se=t,t=i;return t}function He(){var t,r,n;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();return r!==i?(n=function(){var t,r,n,o,s,a,c,h;if(t=Se,e.substr(Se,3)===kt?(r=kt,Se+=3):(r=i,Oe(Ft)),r!==i){for(n=[],Rt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(xt)),o===i&&(o=$e())===i&&(o=ze());o!==i;)n.push(o),Rt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(xt)),o===i&&(o=$e())===i&&(o=ze());if(n!==i){if(o=[],s=Se,e.substr(Se,2)===Ot?(a=Ot,Se+=2):(a=i,Oe(Dt)),a!==i){if(c=[],Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=It(0,c)):(Se=s,s=i)}else Se=s,s=i;if(s===i)if(s=Se,39===e.charCodeAt(Se)?(a=Et,Se++):(a=i,Oe(Ct)),a!==i){if(c=[],Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=Mt(0,c)):(Se=s,s=i)}else Se=s,s=i;for(;s!==i;){if(o.push(s),s=Se,e.substr(Se,2)===Ot?(a=Ot,Se+=2):(a=i,Oe(Dt)),a!==i){if(c=[],Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=It(0,c)):(Se=s,s=i)}else Se=s,s=i;if(s===i)if(s=Se,39===e.charCodeAt(Se)?(a=Et,Se++):(a=i,Oe(Ct)),a!==i){if(c=[],Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Rt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(xt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=Mt(0,c)):(Se=s,s=i)}else Se=s,s=i}o!==i?(e.substr(Se,3)===kt?(s=kt,Se+=3):(s=i,Oe(Ft)),s!==i?(Ae=t,t=r=_t(n,o)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i}else Se=t,t=i;return t}(),n===i&&(n=function(){var t,r,n,o,s,a,c,h;if(t=Se,e.substr(Se,3)===jt?(r=jt,Se+=3):(r=i,Oe(Nt)),r!==i){for(n=[],Lt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(Bt)),o===i&&(o=$e())===i&&(o=ze());o!==i;)n.push(o),Lt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(Bt)),o===i&&(o=$e())===i&&(o=ze());if(n!==i){if(o=[],s=Se,e.substr(Se,2)===Ut?(a=Ut,Se+=2):(a=i,Oe(Ht)),a!==i){if(c=[],Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=Wt(0,c)):(Se=s,s=i)}else Se=s,s=i;if(s===i)if(s=Se,34===e.charCodeAt(Se)?(a=yt,Se++):(a=i,Oe(bt)),a!==i){if(c=[],Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=qt(0,c)):(Se=s,s=i)}else Se=s,s=i;for(;s!==i;){if(o.push(s),s=Se,e.substr(Se,2)===Ut?(a=Ut,Se+=2):(a=i,Oe(Ht)),a!==i){if(c=[],Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=Wt(0,c)):(Se=s,s=i)}else Se=s,s=i;if(s===i)if(s=Se,34===e.charCodeAt(Se)?(a=yt,Se++):(a=i,Oe(bt)),a!==i){if(c=[],Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze()),h!==i)for(;h!==i;)c.push(h),Lt.test(e.charAt(Se))?(h=e.charAt(Se),Se++):(h=i,Oe(Bt)),h===i&&(h=$e())===i&&(h=ze());else c=i;c!==i?(Ae=s,s=a=qt(0,c)):(Se=s,s=i)}else Se=s,s=i}o!==i?(e.substr(Se,3)===jt?(s=jt,Se+=3):(s=i,Oe(Nt)),s!==i?(Ae=t,t=r=_t(n,o)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i}else Se=t,t=i;return t}(),n===i&&(n=function(){var t,r,n,o;if(t=Se,39===e.charCodeAt(Se)?(r=Et,Se++):(r=i,Oe(Ct)),r!==i){for(n=[],Pt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(Tt)),o===i&&(o=$e())===i&&(o=ze());o!==i;)n.push(o),Pt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(Tt)),o===i&&(o=$e())===i&&(o=ze());n!==i?(39===e.charCodeAt(Se)?(o=Et,Se++):(o=i,Oe(Ct)),o!==i?(Ae=t,t=r=d(n)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}(),n===i&&(n=function(){var t,r,n,o;if(t=Se,34===e.charCodeAt(Se)?(r=yt,Se++):(r=i,Oe(bt)),r!==i){for(n=[],St.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(At)),o===i&&(o=$e())===i&&(o=ze());o!==i;)n.push(o),St.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(At)),o===i&&(o=$e())===i&&(o=ze());n!==i?(34===e.charCodeAt(Se)?(o=yt,Se++):(o=i,Oe(bt)),o!==i?(Ae=t,t=r=d(n)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}()))),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i),t}function We(){var t,r,n;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i&&(n=Ve())!==i?(Ae=t,t=r=n):(Se=t,t=i),t===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i?(n=function(){var t,r;return t=function(){var t,r,n,o,s;return t=Se,(r=Ge())!==i?(n=function(){var t,r,n,o,s,h,u,l,p;if(t=Se,(r=Qe())===i&&(58===e.charCodeAt(Se)?(r=nt,Se++):(r=i,Oe(it)),r===i&&(st.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=i,Oe(at)),r===i&&(r=tr()))),r!==i){for(n=[],(o=Ye())===i&&(58===e.charCodeAt(Se)?(o=nt,Se++):(o=i,Oe(it)),o===i&&(o=tr()));o!==i;)n.push(o),(o=Ye())===i&&(58===e.charCodeAt(Se)?(o=nt,Se++):(o=i,Oe(it)),o===i&&(o=tr()));if(n!==i){if(o=[],s=Se,h=[],46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c)),u!==i)for(;u!==i;)h.push(u),46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c));else h=i;if(h!==i){if(u=[],(l=Ye())===i&&(58===e.charCodeAt(Se)?(l=nt,Se++):(l=i,Oe(it)),l===i&&(l=tr())),l!==i)for(;l!==i;)u.push(l),(l=Ye())===i&&(58===e.charCodeAt(Se)?(l=nt,Se++):(l=i,Oe(it)),l===i&&(l=tr()));else u=i;u!==i?(Ae=s,s=h=me(0,0,h,u)):(Se=s,s=i)}else Se=s,s=i;for(;s!==i;){if(o.push(s),s=Se,h=[],46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c)),u!==i)for(;u!==i;)h.push(u),46===e.charCodeAt(Se)?(u=a,Se++):(u=i,Oe(c));else h=i;if(h!==i){if(u=[],(l=Ye())===i&&(58===e.charCodeAt(Se)?(l=nt,Se++):(l=i,Oe(it)),l===i&&(l=tr())),l!==i)for(;l!==i;)u.push(l),(l=Ye())===i&&(58===e.charCodeAt(Se)?(l=nt,Se++):(l=i,Oe(it)),l===i&&(l=tr()));else u=i;u!==i?(Ae=s,s=h=me(0,0,h,u)):(Se=s,s=i)}else Se=s,s=i}o!==i?(Ae=t,p=o,t=r=r+n.join("")+p.join("")):(Se=t,t=i)}else Se=t,t=i}else Se=t,t=i;return t}(),n!==i?(Ae=t,s=n,ar.increment(o=r),t=r=ar.resolve(o+":"+s)):(Se=t,t=i)):(Se=t,t=i),t}(),t===i&&(t=Se,(r=Ge())!==i&&(Ae=t,r+=":"),t=r),t}(),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i)}return t}function qe(){var t,r,n;for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();if(r!==i?(n=function(){var t,r,n,o,s,h,u,l,p,d;if(t=Se,r=Se,"_:"===e.substr(Se,2)?(n="_:",Se+=2):(n=i,Oe(ot)),n!==i)if((o=Qe())===i&&(st.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(at))),o!==i){for(s=[],h=Ye();h!==i;)s.push(h),h=Ye();if(s!==i){if(h=[],u=Se,l=[],46===e.charCodeAt(Se)?(p=a,Se++):(p=i,Oe(c)),p!==i)for(;p!==i;)l.push(p),46===e.charCodeAt(Se)?(p=a,Se++):(p=i,Oe(c));else l=i;if(l!==i){if(p=[],(d=Ye())!==i)for(;d!==i;)p.push(d),d=Ye();else p=i;p!==i?u=l=[l,p]:(Se=u,u=i)}else Se=u,u=i;for(;u!==i;){if(h.push(u),u=Se,l=[],46===e.charCodeAt(Se)?(p=a,Se++):(p=i,Oe(c)),p!==i)for(;p!==i;)l.push(p),46===e.charCodeAt(Se)?(p=a,Se++):(p=i,Oe(c));else l=i;if(l!==i){if(p=[],(d=Ye())!==i)for(;d!==i;)p.push(d),d=Ye();else p=i;p!==i?u=l=[l,p]:(Se=u,u=i)}else Se=u,u=i}h!==i?r=n=[n,o,s,h]:(Se=r,r=i)}else Se=r,r=i}else Se=r,r=i;else Se=r,r=i;return r!==i?e.substring(t,Se):r}(),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i),t===i){for(t=Se,r=[],n=Me();n!==i;)r.push(n),n=Me();r!==i?(n=function(){var t,r,n,o;if(t=Se,91===e.charCodeAt(Se)?(r="[",Se++):(r=i,Oe(V)),r!==i){for(n=[],o=Me();o!==i;)n.push(o),o=Me();n!==i?(93===e.charCodeAt(Se)?(o="]",Se++):(o=i,Oe(G)),o!==i?(Ae=t,t=r="[]"):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}(),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i)}return t}function Ve(){var t,r,n,o;if(t=Se,60===e.charCodeAt(Se)?(r="<",Se++):(r=i,Oe(Z)),r!==i){for(n=[],tt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(et)),o===i&&(o=ze());o!==i;)n.push(o),tt.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(et)),o===i&&(o=ze());n!==i?(62===e.charCodeAt(Se)?(o=">",Se++):(o=i,Oe(rt)),o!==i?(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){Te("Invalid IRIREF "+r)}}else Te("Invalid IRIREF "+t.join("")+" / "+e)}(n)):(Se=t,t=i)):(Se=t,t=i)}else Se=t,t=i;return t}function Ge(){var t,r,n,o;return t=Se,(r=Ze())===i&&(r=null),r!==i?(58===e.charCodeAt(Se)?(n=nt,Se++):(n=i,Oe(it)),n!==i?(Ae=t,!1===ar.hasPrefix(o=(o=r)||"0")&&Te("undefined prefix "+o),t=r=o):(Se=t,t=i)):(Se=t,t=i),t}function Je(){var t,r,n;return t=Se,(r=Ze())===i&&(r=null),r!==i?(58===e.charCodeAt(Se)?(n=nt,Se++):(n=i,Oe(it)),n!==i?(Ae=t,t=r=r||""):(Se=t,t=i)):(Se=t,t=i),t}function Ke(){var t,r,n,o,s,a;if(t=Se,r=Se,wt.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,Oe(vt)),n!==i)if(ft.test(e.charAt(Se))?(o=e.charAt(Se),Se++):(o=i,Oe(gt)),o===i&&(o=null),o!==i){if(s=[],st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(at)),a!==i)for(;a!==i;)s.push(a),st.test(e.charAt(Se))?(a=e.charAt(Se),Se++):(a=i,Oe(at));else s=i;s!==i?r=n=[n,o,s]:(Se=r,r=i)}else Se=r,r=i;else Se=r,r=i;return r!==i?e.substring(t,Se):r}function ze(){var t,r,n,o,s,a,c,h,u,l,p;return t=Se,"\\U"===e.substr(Se,2)?(r="\\U",Se+=2):(r=i,Oe(Vt)),r!==i?(n=Se,(o=er())!==i&&(s=er())!==i&&(a=er())!==i&&(c=er())!==i&&(h=er())!==i&&(u=er())!==i&&(l=er())!==i&&(p=er())!==i?n=o=[o,s,a,c,h,u,l,p]:(Se=n,n=i),n!==i?(Ae=t,t=r=String.fromCodePoint(parseInt(n.join(""),16))):(Se=t,t=i)):(Se=t,t=i),t===i&&(t=Se,"\\u"===e.substr(Se,2)?(r="\\u",Se+=2):(r=i,Oe(Gt)),r!==i?(n=Se,(o=er())!==i&&(s=er())!==i&&(a=er())!==i&&(c=er())!==i?n=o=[o,s,a,c]:(Se=n,n=i),n!==i?(Ae=t,t=r=String.fromCharCode(parseInt(n.join(""),16))):(Se=t,t=i)):(Se=t,t=i)),t}function $e(){var t,r;return t=Se,"\\t"===e.substr(Se,2)?(r="\\t",Se+=2):(r=i,Oe(Jt)),r!==i&&(Ae=t,r="\t"),(t=r)===i&&(t=Se,"\\b"===e.substr(Se,2)?(r="\\b",Se+=2):(r=i,Oe(Kt)),r!==i&&(Ae=t,r="\b"),(t=r)===i&&(t=Se,"\\n"===e.substr(Se,2)?(r="\\n",Se+=2):(r=i,Oe(zt)),r!==i&&(Ae=t,r="\n"),(t=r)===i&&(t=Se,"\\r"===e.substr(Se,2)?(r="\\r",Se+=2):(r=i,Oe($t)),r!==i&&(Ae=t,r="\r"),(t=r)===i&&(t=Se,"\\f"===e.substr(Se,2)?(r="\\f",Se+=2):(r=i,Oe(Xt)),r!==i&&(Ae=t,r="\f"),(t=r)===i&&(t=Se,'\\"'===e.substr(Se,2)?(r='\\"',Se+=2):(r=i,Oe(Qt)),r!==i&&(Ae=t,r='"'),(t=r)===i&&(t=Se,"\\'"===e.substr(Se,2)?(r="\\'",Se+=2):(r=i,Oe(Yt)),r!==i&&(Ae=t,r="'"),(t=r)===i&&(t=Se,"\\\\"===e.substr(Se,2)?(r="\\\\",Se+=2):(r=i,Oe(Zt)),r!==i&&(Ae=t,r="\\"),t=r))))))),t}function Xe(){var t,r,n;return t=Se,re.test(e.charAt(Se))?(r=e.charAt(Se),Se++):(r=i,Oe(ne)),r!==i?(ie.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,Oe(oe)),n!==i?(Ae=t,t=r+=n):(Se=t,t=i)):(Se=t,t=i),t===i&&(se.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(ae))),t}function Qe(){var t;return(t=Xe())===i&&(95===e.charCodeAt(Se)?(t="_",Se++):(t=i,Oe(ce))),t}function Ye(){var t;return(t=Qe())===i&&(45===e.charCodeAt(Se)?(t="-",Se++):(t=i,Oe(lt)),t===i&&(st.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(at)),t===i&&(183===e.charCodeAt(Se)?(t="·",Se++):(t=i,Oe(he)),t===i&&(ue.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(le)),t===i&&(pe.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(de))))))),t}function Ze(){var t,r,n,o,s,h,u,l,p;if(t=Se,r=Se,(n=Xe())!==i){for(o=[],s=Ye();s!==i;)o.push(s),s=Ye();if(o!==i){if(s=[],h=Se,u=[],46===e.charCodeAt(Se)?(l=a,Se++):(l=i,Oe(c)),l!==i)for(;l!==i;)u.push(l),46===e.charCodeAt(Se)?(l=a,Se++):(l=i,Oe(c));else u=i;if(u!==i){if(l=[],(p=Ye())!==i)for(;p!==i;)l.push(p),p=Ye();else l=i;l!==i?h=u=[u,l]:(Se=h,h=i)}else Se=h,h=i;for(;h!==i;){if(s.push(h),h=Se,u=[],46===e.charCodeAt(Se)?(l=a,Se++):(l=i,Oe(c)),l!==i)for(;l!==i;)u.push(l),46===e.charCodeAt(Se)?(l=a,Se++):(l=i,Oe(c));else u=i;if(u!==i){if(l=[],(p=Ye())!==i)for(;p!==i;)l.push(p),p=Ye();else l=i;l!==i?h=u=[u,l]:(Se=h,h=i)}else Se=h,h=i}s!==i?r=n=[n,o,s]:(Se=r,r=i)}else Se=r,r=i}else Se=r,r=i;return r!==i?e.substring(t,Se):r}function tr(){var t;return(t=function(){var t,r,n,o,s;return t=Se,r=Se,37===e.charCodeAt(Se)?(n="%",Se++):(n=i,Oe(fe)),n!==i&&(o=er())!==i&&(s=er())!==i?r=n=[n,o,s]:(Se=r,r=i),r!==i?e.substring(t,Se):r}())===i&&(t=function(){var t,r,n;return t=Se,92===e.charCodeAt(Se)?(r="\\",Se++):(r=i,Oe(ve)),r!==i?(ye.test(e.charAt(Se))?(n=e.charAt(Se),Se++):(n=i,Oe(be)),n!==i?(Ae=t,t=r=n):(Se=t,t=i)):(Se=t,t=i),t}()),t}function er(){var t;return ge.test(e.charAt(Se))?(t=e.charAt(Se),Se++):(t=i,Oe(we)),t}var rr,nr,ir,or=new Function("try {return this===window;}catch(e){ return false;}")()?window.URL:ji().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 or(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 n=Object.keys(ar.data).find((e=>0===t.indexOf(e+":")));if(void 0!==n){const r=ar.data[n];return 1===r.length&&!0!==e&&sr(r[0].uri)?t:t.replace(n+":",r[r.length-1].uri)}var i=0===ar.base.length?r.baseIRI:ar.base[ar.base.length-1];return!i||t.match(/^(http:|https:|urn:|file:)/)?t:0===t.indexOf("//")&&i?i.split("//")[0]+t:new or(t,i).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 cr(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={},n=null;return t["@list"].forEach((t=>{null===n?n=r:(n["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]={},n=n["http://www.w3.org/1999/02/22-rdf-syntax-ns#rest"]),n["http://www.w3.org/1999/02/22-rdf-syntax-ns#first"]=cr(t,!0),n["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((n=s())!==i&&Se===e.length)return n;throw n!==i&&Se<e.length&&Oe({type:"end"}),rr=Pe,nr=Ce<e.length?e.charAt(Ce):null,ir=xe(Ce,Ce<e.length?Ce+1:Ce),new t(t.buildMessage(rr,nr),rr,nr,ir)}}},"function"==typeof define&&define.amd?define([],n):"object"==typeof e&&e.exports?e.exports=n():r.ttl2jsonld=n()}}),Li=b({"../node_modules/rdf-canonize/lib/IdentifierIssuer.js"(t,e){e.exports=class t{constructor(t,e=new Map,r=0){this.prefix=t,this._existing=e,this.counter=r}clone(){const{prefix:e,_existing:r,counter:n}=this;return new t(e,new Map(r),n)}getId(t){const e=t&&this._existing.get(t);if(e)return e;const r=this.prefix+this.counter;return this.counter++,t&&this._existing.set(t,r),r}hasId(t){return this._existing.has(t)}getOldIds(){return[...this._existing.keys()]}}}}),Bi=b({"../node_modules/setimmediate/setImmediate.js"(t){!function(t){if(!t.setImmediate){var e,r,n,i,o,s=1,a={},c=!1,h=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?e=function(t){process.nextTick((function(){p(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(i="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(i)&&p(+e.data.slice(i.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),e=function(e){t.postMessage(i+e,"*")}):t.MessageChannel?((n=new MessageChannel).port1.onmessage=function(t){p(t.data)},e=function(t){n.port2.postMessage(t)}):h&&"onreadystatechange"in h.createElement("script")?(r=h.documentElement,e=function(t){var e=h.createElement("script");e.onreadystatechange=function(){p(t),e.onreadystatechange=null,r.removeChild(e),e=null},r.appendChild(e)}):e=function(t){setTimeout(p,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var r=new Array(arguments.length-1),n=0;n<r.length;n++)r[n]=arguments[n+1];var i={callback:t,args:r};return a[s]=i,e(s),s++},u.clearImmediate=l}function l(t){delete a[t]}function p(t){if(c)setTimeout(p,0,t);else{var e=a[t];if(e){c=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{l(t),c=!1}}}}}("undefined"==typeof self?"undefined"==typeof global?t:global:self)}}),Ui=b({"../node_modules/rdf-canonize/lib/MessageDigest-browser.js"(t,e){Bi();var r=self.crypto||self.msCrypto;e.exports=class{constructor(t){if(!r||!r.subtle)throw new Error("crypto.subtle not found.");if("sha256"===t)this.algorithm={name:"SHA-256"};else{if("sha1"!==t)throw new Error(`Unsupported algorithm "${t}".`);this.algorithm={name:"SHA-1"}}this._content=""}update(t){this._content+=t}async digest(){const t=(new TextEncoder).encode(this._content),e=new Uint8Array(await r.subtle.digest(this.algorithm,t));let n="";for(let t=0;t<e.length;++t)n+=e[t].toString(16).padStart(2,"0");return n}}}}),Hi=b({"../node_modules/rdf-canonize/lib/Permuter.js"(t,e){e.exports=class{constructor(t){this.current=t.sort(),this.done=!1,this.dir=new Map;for(let e=0;e<t.length;++e)this.dir.set(t[e],!0)}hasNext(){return!this.done}next(){const{current:t,dir:e}=this,r=t.slice();let n=null,i=0;const o=t.length;for(let r=0;r<o;++r){const s=t[r],a=e.get(s);(null===n||s>n)&&(a&&r>0&&s>t[r-1]||!a&&r<o-1&&s>t[r+1])&&(n=s,i=r)}if(null===n)this.done=!0;else{const r=e.get(n)?i-1:i+1;t[i]=t[r],t[r]=n;for(const r of t)r>n&&e.set(r,!e.get(r))}return r}}}}),Wi=b({"../node_modules/rdf-canonize/lib/NQuads.js"(t,e){var r="http://www.w3.org/1999/02/22-rdf-syntax-ns#langString",n="http://www.w3.org/2001/XMLSchema#string",i="NamedNode",o="BlankNode",s="Literal",a="DefaultGraph",c={};(()=>{const t="(?:<([^:]+:[^>]*)>)",e="A-Za-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�_",r=e+"0-9-·̀-ͯ‿-⁀",n="(_:(?:["+e+"0-9])(?:(?:["+r+".])*(?:["+r+"]))?)",i="[ \\t]+",o="[ \\t]*",s="(?:"+t+"|"+n+")"+i,a=t+i,h="(?:"+t+"|"+n+'|(?:"([^"\\\\]*(?:\\\\.[^"\\\\]*)*)"(?:(?:\\^\\^'+t+")|(?:@([a-zA-Z]+(?:-[a-zA-Z0-9]+)*)))?))"+o,u="(?:\\.|(?:(?:"+t+"|"+n+")"+o+"\\.))";c.eoln=/(?:\r\n)|(?:\n)|(?:\r)/g,c.empty=new RegExp("^"+o+"$"),c.quad=new RegExp("^"+o+s+a+h+u+o+"$")})(),e.exports=class t{static parse(t){const e=[],h={},l=t.split(c.eoln);let p=0;for(const t of l){if(p++,c.empty.test(t))continue;const l=t.match(c.quad);if(null===l)throw new Error("N-Quads parse error on line "+p+".");const f={subject:null,predicate:null,object:null,graph:null};if(f.subject=void 0!==l[1]?{termType:i,value:l[1]}:{termType:o,value:l[2]},f.predicate={termType:i,value:l[3]},void 0!==l[4]?f.object={termType:i,value:l[4]}:void 0!==l[5]?f.object={termType:o,value:l[5]}:(f.object={termType:s,value:void 0,datatype:{termType:i}},void 0!==l[7]?f.object.datatype.value=l[7]:void 0!==l[8]?(f.object.datatype.value=r,f.object.language=l[8]):f.object.datatype.value=n,f.object.value=l[6].replace(u,(function(t,e,r,n){if(e)switch(e){case"t":return"\t";case"b":return"\b";case"n":return"\n";case"r":return"\r";case"f":return"\f";case'"':return'"';case"'":return"'";case"\\":return"\\"}if(r)return String.fromCharCode(parseInt(r,16));if(n)throw new Error("Unsupported U escape")}))),f.graph=void 0!==l[9]?{termType:i,value:l[9]}:void 0!==l[10]?{termType:o,value:l[10]}:{termType:a,value:""},f.graph.value in h){let t=!0;const r=h[f.graph.value];for(const e of r)if((d=e).subject.termType===(m=f).subject.termType&&d.object.termType===m.object.termType&&d.subject.value===m.subject.value&&d.predicate.value===m.predicate.value&&d.object.value===m.object.value&&(d.object.termType!==s||d.object.datatype.termType===m.object.datatype.termType&&d.object.language===m.object.language&&d.object.datatype.value===m.object.datatype.value)){t=!1;break}t&&(r.push(f),e.push(f))}else h[f.graph.value]=[f],e.push(f)}var d,m;return e}static serialize(e){Array.isArray(e)||(e=t.legacyDatasetToQuads(e));const r=[];for(const n of e)r.push(t.serializeQuad(n));return r.sort().join("")}static serializeQuadComponents(t,e,s,a){let c="";return c+=t.termType===i?`<${t.value}>`:`${t.value}`,c+=` <${e.value}> `,s.termType===i?c+=`<${s.value}>`:s.termType===o?c+=s.value:(c+=`"${function(t){return t.replace(h,(function(t){switch(t){case'"':return'\\"';case"\\":return"\\\\";case"\n":return"\\n";case"\r":return"\\r"}}))}(s.value)}"`,s.datatype.value===r?s.language&&(c+=`@${s.language}`):s.datatype.value!==n&&(c+=`^^<${s.datatype.value}>`)),a.termType===i?c+=` <${a.value}>`:a.termType===o&&(c+=` ${a.value}`),c+=" .\n",c}static serializeQuad(e){return t.serializeQuadComponents(e.subject,e.predicate,e.object,e.graph)}static legacyDatasetToQuads(t){const e=[],c={"blank node":o,IRI:i,literal:s};for(const h in t)t[h].forEach((t=>{const u={};for(const e in t){const o=t[e],a={termType:c[o.type],value:o.value};a.termType===s&&(a.datatype={termType:i},"datatype"in o&&(a.datatype.value=o.datatype),"language"in o?("datatype"in o||(a.datatype.value=r),a.language=o.language):"datatype"in o||(a.datatype.value=n)),u[e]=a}u.graph="@default"===h?{termType:a,value:""}:{termType:h.startsWith("_:")?o:i,value:h},e.push(u)}));return e}};var h=/["\\\n\r]/g,u=/(?:\\([tbnrf"'\\]))|(?:\\u([0-9A-Fa-f]{4}))|(?:\\U([0-9A-Fa-f]{8}))/g}}),qi=b({"../node_modules/rdf-canonize/lib/URDNA2015.js"(t,e){var r=Li(),n=Ui(),i=Hi(),o=Wi();function s(t,e){return t.hash<e.hash?-1:t.hash>e.hash?1:0}e.exports=class{constructor({createMessageDigest:t=(()=>new n("sha256")),maxDeepIterations:e=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new r("_:c14n"),this.createMessageDigest=t,this.maxDeepIterations=e,this.quads=null,this.deepIterations=null}async main(t){this.deepIterations=new Map,this.quads=t;for(const e of t)this._addBlankNodeQuadInfo({quad:e,component:e.subject}),this._addBlankNodeQuadInfo({quad:e,component:e.object}),this._addBlankNodeQuadInfo({quad:e,component:e.graph});const e=new Map,n=[...this.blankNodeInfo.keys()];let i=0;for(const t of n)++i%100==0&&await this._yield(),await this._hashAndTrackBlankNode({id:t,hashToBlankNodes:e});const a=[...e.keys()].sort(),c=[];for(const t of a){const r=e.get(t);r.length>1?c.push(r):this.canonicalIssuer.getId(r[0])}for(const t of c){const e=[];for(const n of t){if(this.canonicalIssuer.hasId(n))continue;const t=new r("_:b");t.getId(n);const i=await this.hashNDegreeQuads(n,t);e.push(i)}e.sort(s);for(const t of e){const e=t.issuer.getOldIds();for(const t of e)this.canonicalIssuer.getId(t)}}const h=[];for(const t of this.quads){const e=o.serializeQuadComponents(this._componentWithCanonicalId(t.subject),t.predicate,this._componentWithCanonicalId(t.object),this._componentWithCanonicalId(t.graph));h.push(e)}return h.sort(),h.join("")}async hashFirstDegreeQuads(t){const e=[],r=this.blankNodeInfo.get(t),n=r.quads;for(const r of n){const n={subject:null,predicate:r.predicate,object:null,graph:null};n.subject=this.modifyFirstDegreeComponent(t,r.subject,"subject"),n.object=this.modifyFirstDegreeComponent(t,r.object,"object"),n.graph=this.modifyFirstDegreeComponent(t,r.graph,"graph"),e.push(o.serializeQuad(n))}e.sort();const i=this.createMessageDigest();for(const t of e)i.update(t);return r.hash=await i.digest(),r.hash}async hashRelatedBlankNode(t,e,r,n){let i;i=this.canonicalIssuer.hasId(t)?this.canonicalIssuer.getId(t):r.hasId(t)?r.getId(t):this.blankNodeInfo.get(t).hash;const o=this.createMessageDigest();return o.update(n),"g"!==n&&o.update(this.getRelatedPredicate(e)),o.update(i),o.digest()}async hashNDegreeQuads(t,e){const r=this.deepIterations.get(t)||0;if(r>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(t,r+1);const n=this.createMessageDigest(),o=await this.createHashToRelated(t,e),s=[...o.keys()].sort();for(const t of s){n.update(t);let r,s="";const a=new i(o.get(t));let c=0;for(;a.hasNext();){const t=a.next();++c%3==0&&await this._yield();let n=e.clone(),i="";const o=[];let h=!1;for(const e of t)if(this.canonicalIssuer.hasId(e)?i+=this.canonicalIssuer.getId(e):(n.hasId(e)||o.push(e),i+=n.getId(e)),0!==s.length&&i>s){h=!0;break}if(!h){for(const t of o){const e=await this.hashNDegreeQuads(t,n);if(i+=n.getId(t),i+=`<${e.hash}>`,n=e.issuer,0!==s.length&&i>s){h=!0;break}}h||(0===s.length||i<s)&&(s=i,r=n)}}n.update(s),e=r}return{hash:await n.digest(),issuer:e}}modifyFirstDegreeComponent(t,e){return"BlankNode"!==e.termType?e:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return`<${t.predicate.value}>`}async createHashToRelated(t,e){const r=new Map,n=this.blankNodeInfo.get(t).quads;let i=0;for(const o of n)++i%100==0&&await this._yield(),await Promise.all([this._addRelatedBlankNodeHash({quad:o,component:o.subject,position:"s",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:o,component:o.object,position:"o",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:o,component:o.graph,position:"g",id:t,issuer:e,hashToRelated:r})]);return r}async _hashAndTrackBlankNode({id:t,hashToBlankNodes:e}){const r=await this.hashFirstDegreeQuads(t),n=e.get(r);n?n.push(t):e.set(r,[t])}_addBlankNodeQuadInfo({quad:t,component:e}){if("BlankNode"!==e.termType)return;const r=e.value,n=this.blankNodeInfo.get(r);n?n.quads.add(t):this.blankNodeInfo.set(r,{quads:new Set([t]),hash:null})}async _addRelatedBlankNodeHash({quad:t,component:e,position:r,id:n,issuer:i,hashToRelated:o}){if("BlankNode"!==e.termType||e.value===n)return;const s=e.value,a=await this.hashRelatedBlankNode(s,t,i,r),c=o.get(a);c?c.push(s):o.set(a,[s])}_componentWithCanonicalId(t){return"BlankNode"!==t.termType||t.value.startsWith(this.canonicalIssuer.prefix)?t:{termType:"BlankNode",value:this.canonicalIssuer.getId(t.value)}}async _yield(){return new Promise((t=>setImmediate(t)))}}}}),Vi=b({"../node_modules/rdf-canonize/lib/URGNA2012.js"(t,e){var r=Ui(),n=qi();e.exports=class extends n{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new r("sha1")}modifyFirstDegreeComponent(t,e,r){return"BlankNode"!==e.termType?e:"graph"===r?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return t.predicate.value}async createHashToRelated(t,e){const r=new Map,n=this.blankNodeInfo.get(t).quads;let i=0;for(const o of n){let n,s;if("BlankNode"===o.subject.termType&&o.subject.value!==t)s=o.subject.value,n="p";else{if("BlankNode"!==o.object.termType||o.object.value===t)continue;s=o.object.value,n="r"}++i%100==0&&await this._yield();const a=await this.hashRelatedBlankNode(s,o,e,n),c=r.get(a);c?c.push(s):r.set(a,[s])}return r}}}}),Gi=b({"../node_modules/rdf-canonize/lib/URDNA2015Sync.js"(t,e){var r=Li(),n=Ui(),i=Hi(),o=Wi();function s(t,e){return t.hash<e.hash?-1:t.hash>e.hash?1:0}e.exports=class{constructor({createMessageDigest:t=(()=>new n("sha256")),maxDeepIterations:e=1/0}={}){this.name="URDNA2015",this.blankNodeInfo=new Map,this.canonicalIssuer=new r("_:c14n"),this.createMessageDigest=t,this.maxDeepIterations=e,this.quads=null,this.deepIterations=null}main(t){this.deepIterations=new Map,this.quads=t;for(const e of t)this._addBlankNodeQuadInfo({quad:e,component:e.subject}),this._addBlankNodeQuadInfo({quad:e,component:e.object}),this._addBlankNodeQuadInfo({quad:e,component:e.graph});const e=new Map,n=[...this.blankNodeInfo.keys()];for(const t of n)this._hashAndTrackBlankNode({id:t,hashToBlankNodes:e});const i=[...e.keys()].sort(),a=[];for(const t of i){const r=e.get(t);r.length>1?a.push(r):this.canonicalIssuer.getId(r[0])}for(const t of a){const e=[];for(const n of t){if(this.canonicalIssuer.hasId(n))continue;const t=new r("_:b");t.getId(n);const i=this.hashNDegreeQuads(n,t);e.push(i)}e.sort(s);for(const t of e){const e=t.issuer.getOldIds();for(const t of e)this.canonicalIssuer.getId(t)}}const c=[];for(const t of this.quads){const e=o.serializeQuadComponents(this._componentWithCanonicalId({component:t.subject}),t.predicate,this._componentWithCanonicalId({component:t.object}),this._componentWithCanonicalId({component:t.graph}));c.push(e)}return c.sort(),c.join("")}hashFirstDegreeQuads(t){const e=[],r=this.blankNodeInfo.get(t),n=r.quads;for(const r of n){const n={subject:null,predicate:r.predicate,object:null,graph:null};n.subject=this.modifyFirstDegreeComponent(t,r.subject,"subject"),n.object=this.modifyFirstDegreeComponent(t,r.object,"object"),n.graph=this.modifyFirstDegreeComponent(t,r.graph,"graph"),e.push(o.serializeQuad(n))}e.sort();const i=this.createMessageDigest();for(const t of e)i.update(t);return r.hash=i.digest(),r.hash}hashRelatedBlankNode(t,e,r,n){let i;i=this.canonicalIssuer.hasId(t)?this.canonicalIssuer.getId(t):r.hasId(t)?r.getId(t):this.blankNodeInfo.get(t).hash;const o=this.createMessageDigest();return o.update(n),"g"!==n&&o.update(this.getRelatedPredicate(e)),o.update(i),o.digest()}hashNDegreeQuads(t,e){const r=this.deepIterations.get(t)||0;if(r>this.maxDeepIterations)throw new Error(`Maximum deep iterations (${this.maxDeepIterations}) exceeded.`);this.deepIterations.set(t,r+1);const n=this.createMessageDigest(),o=this.createHashToRelated(t,e),s=[...o.keys()].sort();for(const t of s){n.update(t);let r,s="";const a=new i(o.get(t));for(;a.hasNext();){const t=a.next();let n=e.clone(),i="";const o=[];let c=!1;for(const e of t)if(this.canonicalIssuer.hasId(e)?i+=this.canonicalIssuer.getId(e):(n.hasId(e)||o.push(e),i+=n.getId(e)),0!==s.length&&i>s){c=!0;break}if(!c){for(const t of o){const e=this.hashNDegreeQuads(t,n);if(i+=n.getId(t),i+=`<${e.hash}>`,n=e.issuer,0!==s.length&&i>s){c=!0;break}}c||(0===s.length||i<s)&&(s=i,r=n)}}n.update(s),e=r}return{hash:n.digest(),issuer:e}}modifyFirstDegreeComponent(t,e){return"BlankNode"!==e.termType?e:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return`<${t.predicate.value}>`}createHashToRelated(t,e){const r=new Map,n=this.blankNodeInfo.get(t).quads;for(const i of n)this._addRelatedBlankNodeHash({quad:i,component:i.subject,position:"s",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:i,component:i.object,position:"o",id:t,issuer:e,hashToRelated:r}),this._addRelatedBlankNodeHash({quad:i,component:i.graph,position:"g",id:t,issuer:e,hashToRelated:r});return r}_hashAndTrackBlankNode({id:t,hashToBlankNodes:e}){const r=this.hashFirstDegreeQuads(t),n=e.get(r);n?n.push(t):e.set(r,[t])}_addBlankNodeQuadInfo({quad:t,component:e}){if("BlankNode"!==e.termType)return;const r=e.value,n=this.blankNodeInfo.get(r);n?n.quads.add(t):this.blankNodeInfo.set(r,{quads:new Set([t]),hash:null})}_addRelatedBlankNodeHash({quad:t,component:e,position:r,id:n,issuer:i,hashToRelated:o}){if("BlankNode"!==e.termType||e.value===n)return;const s=e.value,a=this.hashRelatedBlankNode(s,t,i,r),c=o.get(a);c?c.push(s):o.set(a,[s])}_componentWithCanonicalId({component:t}){return"BlankNode"!==t.termType||t.value.startsWith(this.canonicalIssuer.prefix)?t:{termType:"BlankNode",value:this.canonicalIssuer.getId(t.value)}}}}}),Ji=b({"../node_modules/rdf-canonize/lib/URGNA2012Sync.js"(t,e){var r=Ui(),n=Gi();e.exports=class extends n{constructor(){super(),this.name="URGNA2012",this.createMessageDigest=()=>new r("sha1")}modifyFirstDegreeComponent(t,e,r){return"BlankNode"!==e.termType?e:"graph"===r?{termType:"BlankNode",value:"_:g"}:{termType:"BlankNode",value:e.value===t?"_:a":"_:z"}}getRelatedPredicate(t){return t.predicate.value}createHashToRelated(t,e){const r=new Map,n=this.blankNodeInfo.get(t).quads;for(const i of n){let n,o;if("BlankNode"===i.subject.termType&&i.subject.value!==t)o=i.subject.value,n="p";else{if("BlankNode"!==i.object.termType||i.object.value===t)continue;o=i.object.value,n="r"}const s=this.hashRelatedBlankNode(o,i,e,n),a=r.get(s);a?a.push(o):r.set(s,[o])}return r}}}}),Ki=b({"(disabled):rdf-canonize-native"(){}}),zi=b({"../node_modules/rdf-canonize/lib/index.js"(t){var e,r=qi(),n=Vi(),i=Gi(),o=Ji();try{e=Ki()}catch(t){}t.NQuads=Wi(),t.IdentifierIssuer=Li(),t._rdfCanonizeNative=function(t){return t&&(e=t),e},t.canonize=async function(i,o){if(Array.isArray(i)||(i=t.NQuads.legacyDatasetToQuads(i)),o.useNative){if(!e)throw new Error("rdf-canonize-native not available");if(o.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return new Promise(((t,r)=>e.canonize(i,o,((e,n)=>e?r(e):t(n)))))}if("URDNA2015"===o.algorithm)return new r(o).main(i);if("URGNA2012"===o.algorithm){if(o.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new n(o).main(i)}if(!("algorithm"in o))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+o.algorithm)},t._canonizeSync=function(r,n){if(Array.isArray(r)||(r=t.NQuads.legacyDatasetToQuads(r)),n.useNative){if(!e)throw new Error("rdf-canonize-native not available");if(n.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "useNative".');return e.canonizeSync(r,n)}if("URDNA2015"===n.algorithm)return new i(n).main(r);if("URGNA2012"===n.algorithm){if(n.createMessageDigest)throw new Error('"createMessageDigest" cannot be used with "URGNA2012".');return new o(n).main(r)}if(!("algorithm"in n))throw new Error("No RDF Dataset Canonicalization algorithm specified.");throw new Error("Invalid RDF Dataset Canonicalization algorithm: "+n.algorithm)}}}),$i=b({"../node_modules/rdf-canonize/index.js"(t,e){e.exports=zi()}}),Xi=b({"../node_modules/jsonld/lib/types.js"(t,e){var r={};e.exports=r,r.isArray=Array.isArray,r.isBoolean=t=>"boolean"==typeof t||"[object Boolean]"===Object.prototype.toString.call(t),r.isDouble=t=>r.isNumber(t)&&(-1!==String(t).indexOf(".")||Math.abs(t)>=1e21),r.isEmptyObject=t=>r.isObject(t)&&0===Object.keys(t).length,r.isNumber=t=>"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t),r.isNumeric=t=>!isNaN(parseFloat(t))&&isFinite(t),r.isObject=t=>"[object Object]"===Object.prototype.toString.call(t),r.isString=t=>"string"==typeof t||"[object String]"===Object.prototype.toString.call(t),r.isUndefined=t=>void 0===t}}),Qi=b({"../node_modules/jsonld/lib/graphTypes.js"(t,e){var r=Xi(),n={};e.exports=n,n.isSubject=t=>!(!r.isObject(t)||"@value"in t||"@set"in t||"@list"in t)&&(Object.keys(t).length>1||!("@id"in t)),n.isSubjectReference=t=>r.isObject(t)&&1===Object.keys(t).length&&"@id"in t,n.isValue=t=>r.isObject(t)&&"@value"in t,n.isList=t=>r.isObject(t)&&"@list"in t,n.isGraph=t=>r.isObject(t)&&"@graph"in t&&1===Object.keys(t).filter((t=>"@id"!==t&&"@index"!==t)).length,n.isSimpleGraph=t=>n.isGraph(t)&&!("@id"in t),n.isBlankNode=t=>!!r.isObject(t)&&("@id"in t?0===t["@id"].indexOf("_:"):0===Object.keys(t).length||!("@value"in t||"@set"in t||"@list"in t))}}),Yi=b({"../node_modules/jsonld/lib/JsonLdError.js"(t,e){e.exports=class extends Error{constructor(t="An unspecified JSON-LD error occurred.",e="jsonld.Error",r={}){super(t),this.name=e,this.message=t,this.details=r}}}}),Zi=b({"../node_modules/jsonld/lib/util.js"(t,e){var r=Qi(),n=Xi(),i=$i().IdentifierIssuer,o=Yi(),s=/(?:<[^>]*?>|"[^"]*?"|[^,])+/g,a=/\s*<([^>]*?)>\s*(?:;\s*(.*))?/,c=/(.*?)=(?:(?:"([^"]*?)")|([^"]*?))\s*(?:(?:;\s*)|$)/g,h="application/ld+json, application/json",u={};function l(t,e){if(n.isArray(e))for(let r=0;r<e.length;++r)e[r]=l(t,e[r]);else if(r.isList(e))e["@list"]=l(t,e["@list"]);else if(n.isObject(e)){r.isBlankNode(e)&&(e["@id"]=t.getId(e["@id"]));const n=Object.keys(e).sort();for(let r=0;r<n.length;++r){const i=n[r];"@id"!==i&&(e[i]=l(t,e[i]))}}return e}e.exports=u,u.IdentifierIssuer=i,u.clone=function(t){if(t&&"object"==typeof t){let e;if(n.isArray(t)){e=[];for(let r=0;r<t.length;++r)e[r]=u.clone(t[r])}else if(t instanceof Map){e=new Map;for(const[r,n]of t)e.set(r,u.clone(n))}else if(t instanceof Set){e=new Set;for(const r of t)e.add(u.clone(r))}else if(n.isObject(t)){e={};for(const r in t)e[r]=u.clone(t[r])}else e=t.toString();return e}return t},u.asArray=function(t){return Array.isArray(t)?t:[t]},u.buildHeaders=(t={})=>{if(Object.keys(t).some((t=>"accept"===t.toLowerCase())))throw new RangeError('Accept header may not be specified; only "'+h+'" is supported.');return Object.assign({Accept:h},t)},u.parseLinkHeader=t=>{const e={},r=t.match(s);for(let t=0;t<r.length;++t){let n=r[t].match(a);if(!n)continue;const i={target:n[1]},o=n[2];for(;n=c.exec(o);)i[n[1]]=void 0===n[2]?n[3]:n[2];const s=i.rel||"";Array.isArray(e[s])?e[s].push(i):e[s]=e.hasOwnProperty(s)?[e[s],i]:i}return e},u.validateTypeValue=(t,e)=>{if(!(n.isString(t)||n.isArray(t)&&t.every((t=>n.isString(t))))){if(e&&n.isObject(t))switch(Object.keys(t).length){case 0:return;case 1:if("@default"in t&&u.asArray(t["@default"]).every((t=>n.isString(t))))return}throw new o('Invalid JSON-LD syntax; "@type" value must a string, an array of strings, an empty object, or a default object.',"jsonld.SyntaxError",{code:"invalid type value",value:t})}},u.hasProperty=(t,e)=>{if(t.hasOwnProperty(e)){const r=t[e];return!n.isArray(r)||r.length>0}return!1},u.hasValue=(t,e,i)=>{if(u.hasProperty(t,e)){let o=t[e];const s=r.isList(o);if(n.isArray(o)||s){s&&(o=o["@list"]);for(let t=0;t<o.length;++t)if(u.compareValues(i,o[t]))return!0}else if(!n.isArray(i))return u.compareValues(i,o)}return!1},u.addValue=(t,e,r,i)=>{if("propertyIsArray"in(i=i||{})||(i.propertyIsArray=!1),"valueIsArray"in i||(i.valueIsArray=!1),"allowDuplicate"in i||(i.allowDuplicate=!0),"prependValue"in i||(i.prependValue=!1),i.valueIsArray)t[e]=r;else if(n.isArray(r)){0===r.length&&i.propertyIsArray&&!t.hasOwnProperty(e)&&(t[e]=[]),i.prependValue&&(r=r.concat(t[e]),t[e]=[]);for(let n=0;n<r.length;++n)u.addValue(t,e,r[n],i)}else if(t.hasOwnProperty(e)){const o=!i.allowDuplicate&&u.hasValue(t,e,r);n.isArray(t[e])||o&&!i.propertyIsArray||(t[e]=[t[e]]),o||(i.prependValue?t[e].unshift(r):t[e].push(r))}else t[e]=i.propertyIsArray?[r]:r},u.getValues=(t,e)=>[].concat(t[e]||[]),u.removeProperty=(t,e)=>{delete t[e]},u.removeValue=(t,e,r,n)=>{"propertyIsArray"in(n=n||{})||(n.propertyIsArray=!1);const i=u.getValues(t,e).filter((t=>!u.compareValues(t,r)));0===i.length?u.removeProperty(t,e):t[e]=1!==i.length||n.propertyIsArray?i:i[0]},u.relabelBlankNodes=(t,e)=>l((e=e||{}).issuer||new i("_:b"),t),u.compareValues=(t,e)=>t===e||!(!r.isValue(t)||!r.isValue(e)||t["@value"]!==e["@value"]||t["@type"]!==e["@type"]||t["@language"]!==e["@language"]||t["@index"]!==e["@index"])||!!(n.isObject(t)&&"@id"in t&&n.isObject(e)&&"@id"in e)&&t["@id"]===e["@id"],u.compareShortestLeast=(t,e)=>t.length<e.length?-1:e.length<t.length?1:t===e?0:t<e?-1:1}}),to=b({"../node_modules/jsonld/lib/constants.js"(t,e){var r="http://www.w3.org/1999/02/22-rdf-syntax-ns#",n="http://www.w3.org/2001/XMLSchema#";e.exports={LINK_HEADER_REL:"http://www.w3.org/ns/json-ld#context",LINK_HEADER_CONTEXT:"http://www.w3.org/ns/json-ld#context",RDF:r,RDF_LIST:r+"List",RDF_FIRST:r+"first",RDF_REST:r+"rest",RDF_NIL:r+"nil",RDF_TYPE:r+"type",RDF_PLAIN_LITERAL:r+"PlainLiteral",RDF_XML_LITERAL:r+"XMLLiteral",RDF_JSON_LITERAL:r+"JSON",RDF_OBJECT:r+"object",RDF_LANGSTRING:r+"langString",XSD:n,XSD_BOOLEAN:n+"boolean",XSD_DOUBLE:n+"double",XSD_INTEGER:n+"integer",XSD_STRING:n+"string"}}}),eo=b({"../node_modules/jsonld/lib/RequestQueue.js"(t,e){e.exports=class{constructor(){this._requests={}}wrapLoader(t){const e=this;return e._loader=t,function(){return e.add.apply(e,arguments)}}async add(t){let e=this._requests[t];if(e)return Promise.resolve(e);e=this._requests[t]=this._loader(t);try{return await e}finally{delete this._requests[t]}}}}}),ro=b({"../node_modules/jsonld/lib/url.js"(t,e){var r=Xi(),n={};e.exports=n,n.parsers={simple:{keys:["href","scheme","authority","path","query","fragment"],regex:/^(?:([^:\/?#]+):)?(?:\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/},full:{keys:["href","protocol","scheme","authority","auth","user","password","hostname","port","path","directory","file","query","fragment"],regex:/^(([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?(?:(((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/}},n.parse=(t,e)=>{const r={},i=n.parsers[e||"full"],o=i.regex.exec(t);let s=i.keys.length;for(;s--;)r[i.keys[s]]=void 0===o[s]?null:o[s];return("https"===r.scheme&&"443"===r.port||"http"===r.scheme&&"80"===r.port)&&(r.href=r.href.replace(":"+r.port,""),r.authority=r.authority.replace(":"+r.port,""),r.port=null),r.normalizedPath=n.removeDotSegments(r.path),r},n.prependBase=(t,e)=>{if(null===t)return e;if(n.isAbsolute(e))return e;t&&!r.isString(t)||(t=n.parse(t||""));const i=n.parse(e),o={protocol:t.protocol||""};if(null!==i.authority)o.authority=i.authority,o.path=i.path,o.query=i.query;else if(o.authority=t.authority,""===i.path)o.path=t.path,o.query=null!==i.query?i.query:t.query;else{if(0===i.path.indexOf("/"))o.path=i.path;else{let e=t.path;e=e.substr(0,e.lastIndexOf("/")+1),(e.length>0||t.authority)&&"/"!==e.substr(-1)&&(e+="/"),e+=i.path,o.path=e}o.query=i.query}""!==i.path&&(o.path=n.removeDotSegments(o.path));let s=o.protocol;return null!==o.authority&&(s+="//"+o.authority),s+=o.path,null!==o.query&&(s+="?"+o.query),null!==i.fragment&&(s+="#"+i.fragment),""===s&&(s="./"),s},n.removeBase=(t,e)=>{if(null===t)return e;t&&!r.isString(t)||(t=n.parse(t||""));let i="";if(""!==t.href?i+=(t.protocol||"")+"//"+(t.authority||""):e.indexOf("//")&&(i+="//"),0!==e.indexOf(i))return e;const o=n.parse(e.substr(i.length)),s=t.normalizedPath.split("/"),a=o.normalizedPath.split("/"),c=o.fragment||o.query?0:1;for(;s.length>0&&a.length>c&&s[0]===a[0];)s.shift(),a.shift();let h="";if(s.length>0){s.pop();for(let t=0;t<s.length;++t)h+="../"}return h+=a.join("/"),null!==o.query&&(h+="?"+o.query),null!==o.fragment&&(h+="#"+o.fragment),""===h&&(h="./"),h},n.removeDotSegments=t=>{if(0===t.length)return"";const e=t.split("/"),r=[];for(;e.length>0;){const t=e.shift(),n=0===e.length;"."!==t?".."!==t?r.push(t):(r.pop(),n&&r.push("")):n&&r.push("")}return"/"===t[0]&&r.length>0&&""!==r[0]&&r.unshift(""),1===r.length&&""===r[0]?"/":r.join("/")};var i=/^([A-Za-z][A-Za-z0-9+-.]*|_):[^\s]*$/;n.isAbsolute=t=>r.isString(t)&&i.test(t),n.isRelative=t=>r.isString(t)}}),no=b({"../node_modules/jsonld/lib/documentLoaders/xhr.js"(t,e){var{parseLinkHeader:r,buildHeaders:n}=Zi(),{LINK_HEADER_CONTEXT:i}=to(),o=Yi(),s=eo(),{prependBase:a}=ro(),c=/(^|(\r\n))link:/i;e.exports=({secure:t,headers:e={},xhr:h}={headers:{}})=>(e=n(e),(new s).wrapLoader((async function n(s){if(0!==s.indexOf("http:")&&0!==s.indexOf("https:"))throw new o('URL could not be dereferenced; only "http" and "https" URLs are supported.',"jsonld.InvalidUrl",{code:"loading document failed",url:s});if(t&&0!==s.indexOf("https"))throw new o('URL could not be dereferenced; secure mode is enabled and the URL\'s scheme is not "https".',"jsonld.InvalidUrl",{code:"loading document failed",url:s});let u;try{u=await function(t,e,r){const n=new(t=t||XMLHttpRequest);return new Promise(((t,i)=>{n.onload=()=>t(n),n.onerror=t=>i(t),n.open("GET",e,!0);for(const t in r)n.setRequestHeader(t,r[t]);n.send()}))}(h,s,e)}catch(t){throw new o("URL could not be dereferenced, an error occurred.","jsonld.LoadDocumentError",{code:"loading document failed",url:s,cause:t})}if(u.status>=400)throw new o("URL could not be dereferenced: "+u.statusText,"jsonld.LoadDocumentError",{code:"loading document failed",url:s,httpStatusCode:u.status});let l={contextUrl:null,documentUrl:s,document:u.response},p=null;const d=u.getResponseHeader("Content-Type");let m;if(c.test(u.getAllResponseHeaders())&&(m=u.getResponseHeader("Link")),m&&"application/ld+json"!==d){const t=r(m),e=t[i];if(Array.isArray(e))throw new o("URL could not be dereferenced, it has more than one associated HTTP Link Header.","jsonld.InvalidUrl",{code:"multiple context link headers",url:s});e&&(l.contextUrl=e.target),p=t.alternate,p&&"application/ld+json"==p.type&&!(d||"").match(/^application\/(\w*\+)?json$/)&&(l=await n(a(s,p.target)))}return l})))}}),io=b({"../node_modules/jsonld/lib/platform-browser.js"(t,e){var r=no(),n={};e.exports=n,n.setupDocumentLoaders=function(t){"undefined"!=typeof XMLHttpRequest&&(t.documentLoaders.xhr=r,t.useDocumentLoader("xhr"))},n.setupGlobals=function(t){void 0===globalThis.JsonLdProcessor&&Object.defineProperty(globalThis,"JsonLdProcessor",{writable:!0,enumerable:!1,configurable:!0,value:t.JsonLdProcessor})}}}),oo=b({"../node_modules/jsonld/node_modules/yallist/iterator.js"(t,e){e.exports=function(t){t.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}}}),so=b({"../node_modules/jsonld/node_modules/yallist/yallist.js"(t,e){function r(t){var e=this;if(e instanceof r||(e=new r),e.tail=null,e.head=null,e.length=0,t&&"function"==typeof t.forEach)t.forEach((function(t){e.push(t)}));else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)e.push(arguments[n]);return e}function n(t,e){t.tail=new o(e,t.tail,null,t),t.head||(t.head=t.tail),t.length++}function i(t,e){t.head=new o(e,null,t.head,t),t.tail||(t.tail=t.head),t.length++}function o(t,e,r,n){if(!(this instanceof o))return new o(t,e,r,n);this.list=n,this.value=t,e?(e.next=this,this.prev=e):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=r,r.Node=o,r.create=r,r.prototype.removeNode=function(t){if(t.list!==this)throw new Error("removing node which does not belong to this list");var e=t.next,r=t.prev;return e&&(e.prev=r),r&&(r.next=e),t===this.head&&(this.head=e),t===this.tail&&(this.tail=r),t.list.length--,t.next=null,t.prev=null,t.list=null,e},r.prototype.unshiftNode=function(t){if(t!==this.head){t.list&&t.list.removeNode(t);var e=this.head;t.list=this,t.next=e,e&&(e.prev=t),this.head=t,this.tail||(this.tail=t),this.length++}},r.prototype.pushNode=function(t){if(t!==this.tail){t.list&&t.list.removeNode(t);var e=this.tail;t.list=this,t.prev=e,e&&(e.next=t),this.tail=t,this.head||(this.head=t),this.length++}},r.prototype.push=function(){for(var t=0,e=arguments.length;t<e;t++)n(this,arguments[t]);return this.length},r.prototype.unshift=function(){for(var t=0,e=arguments.length;t<e;t++)i(this,arguments[t]);return this.length},r.prototype.pop=function(){if(this.tail){var t=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,t}},r.prototype.shift=function(){if(this.head){var t=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,t}},r.prototype.forEach=function(t,e){e=e||this;for(var r=this.head,n=0;null!==r;n++)t.call(e,r.value,n,this),r=r.next},r.prototype.forEachReverse=function(t,e){e=e||this;for(var r=this.tail,n=this.length-1;null!==r;n--)t.call(e,r.value,n,this),r=r.prev},r.prototype.get=function(t){for(var e=0,r=this.head;null!==r&&e<t;e++)r=r.next;if(e===t&&null!==r)return r.value},r.prototype.getReverse=function(t){for(var e=0,r=this.tail;null!==r&&e<t;e++)r=r.prev;if(e===t&&null!==r)return r.value},r.prototype.map=function(t,e){e=e||this;for(var n=new r,i=this.head;null!==i;)n.push(t.call(e,i.value,this)),i=i.next;return n},r.prototype.mapReverse=function(t,e){e=e||this;for(var n=new r,i=this.tail;null!==i;)n.push(t.call(e,i.value,this)),i=i.prev;return n},r.prototype.reduce=function(t,e){var r,n=this.head;if(arguments.length>1)r=e;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");n=this.head.next,r=this.head.value}for(var i=0;null!==n;i++)r=t(r,n.value,i),n=n.next;return r},r.prototype.reduceReverse=function(t,e){var r,n=this.tail;if(arguments.length>1)r=e;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");n=this.tail.prev,r=this.tail.value}for(var i=this.length-1;null!==n;i--)r=t(r,n.value,i),n=n.prev;return r},r.prototype.toArray=function(){for(var t=new Array(this.length),e=0,r=this.head;null!==r;e++)t[e]=r.value,r=r.next;return t},r.prototype.toArrayReverse=function(){for(var t=new Array(this.length),e=0,r=this.tail;null!==r;e++)t[e]=r.value,r=r.prev;return t},r.prototype.slice=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var n=new r;if(e<t||e<0)return n;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=0,o=this.head;null!==o&&i<t;i++)o=o.next;for(;null!==o&&i<e;i++,o=o.next)n.push(o.value);return n},r.prototype.sliceReverse=function(t,e){(e=e||this.length)<0&&(e+=this.length),(t=t||0)<0&&(t+=this.length);var n=new r;if(e<t||e<0)return n;t<0&&(t=0),e>this.length&&(e=this.length);for(var i=this.length,o=this.tail;null!==o&&i>e;i--)o=o.prev;for(;null!==o&&i>t;i--,o=o.prev)n.push(o.value);return n},r.prototype.splice=function(t,e,...r){t>this.length&&(t=this.length-1),t<0&&(t=this.length+t);for(var n=0,i=this.head;null!==i&&n<t;n++)i=i.next;var s,a,c,h,u=[];for(n=0;i&&n<e;n++)u.push(i.value),i=this.removeNode(i);for(null===i&&(i=this.tail),i!==this.head&&i!==this.tail&&(i=i.prev),n=0;n<r.length;n++)c=r[n],h=void 0,null===(h=(a=i)===(s=this).head?new o(c,null,a,s):new o(c,a,a.next,s)).next&&(s.tail=h),null===h.prev&&(s.head=h),s.length++,i=h;return u},r.prototype.reverse=function(){for(var t=this.head,e=this.tail,r=t;null!==r;r=r.prev){var n=r.prev;r.prev=r.next,r.next=n}return this.head=e,this.tail=t,this};try{oo()(r)}catch(t){}}}),ao=b({"../node_modules/jsonld/node_modules/lru-cache/index.js"(t,e){var r=so(),n=Symbol("max"),i=Symbol("length"),o=Symbol("lengthCalculator"),s=Symbol("allowStale"),a=Symbol("maxAge"),c=Symbol("dispose"),h=Symbol("noDisposeOnSet"),u=Symbol("lruList"),l=Symbol("cache"),p=Symbol("updateAgeOnGet"),d=()=>1,m=(t,e,r)=>{const n=t[l].get(e);if(n){const e=n.value;if(f(t,e)){if(w(t,n),!t[s])return}else r&&(t[p]&&(n.value.now=Date.now()),t[u].unshiftNode(n));return e.value}},f=(t,e)=>{if(!e||!e.maxAge&&!t[a])return!1;const r=Date.now()-e.now;return e.maxAge?r>e.maxAge:t[a]&&r>t[a]},g=t=>{if(t[i]>t[n])for(let e=t[u].tail;t[i]>t[n]&&null!==e;){const r=e.prev;w(t,e),e=r}},w=(t,e)=>{if(e){const r=e.value;t[c]&&t[c](r.key,r.value),t[i]-=r.length,t[l].delete(r.key),t[u].removeNode(e)}},v=(t,e,r,n)=>{let i=r.value;f(t,i)&&(w(t,r),t[s]||(i=void 0)),i&&e.call(n,i.value,i.key,t)};e.exports=class{constructor(t){if("number"==typeof t&&(t={max:t}),t||(t={}),t.max&&("number"!=typeof t.max||t.max<0))throw new TypeError("max must be a non-negative number");this[n]=t.max||1/0;const e=t.length||d;if(this[o]="function"!=typeof e?d:e,this[s]=t.stale||!1,t.maxAge&&"number"!=typeof t.maxAge)throw new TypeError("maxAge must be a number");this[a]=t.maxAge||0,this[c]=t.dispose,this[h]=t.noDisposeOnSet||!1,this[p]=t.updateAgeOnGet||!1,this.reset()}set max(t){if("number"!=typeof t||t<0)throw new TypeError("max must be a non-negative number");this[n]=t||1/0,g(this)}get max(){return this[n]}set allowStale(t){this[s]=!!t}get allowStale(){return this[s]}set maxAge(t){if("number"!=typeof t)throw new TypeError("maxAge must be a non-negative number");this[a]=t,g(this)}get maxAge(){return this[a]}set lengthCalculator(t){"function"!=typeof t&&(t=d),t!==this[o]&&(this[o]=t,this[i]=0,this[u].forEach((t=>{t.length=this[o](t.value,t.key),this[i]+=t.length}))),g(this)}get lengthCalculator(){return this[o]}get length(){return this[i]}get itemCount(){return this[u].length}rforEach(t,e){e=e||this;for(let r=this[u].tail;null!==r;){const n=r.prev;v(this,t,r,e),r=n}}forEach(t,e){e=e||this;for(let r=this[u].head;null!==r;){const n=r.next;v(this,t,r,e),r=n}}keys(){return this[u].toArray().map((t=>t.key))}values(){return this[u].toArray().map((t=>t.value))}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach((t=>this[c](t.key,t.value))),this[l]=new Map,this[u]=new r,this[i]=0}dump(){return this[u].map((t=>!f(this,t)&&{k:t.key,v:t.value,e:t.now+(t.maxAge||0)})).toArray().filter((t=>t))}dumpLru(){return this[u]}set(t,e,r){if((r=r||this[a])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const s=r?Date.now():0,p=this[o](e,t);if(this[l].has(t)){if(p>this[n])return w(this,this[l].get(t)),!1;const o=this[l].get(t).value;return this[c]&&(this[h]||this[c](t,o.value)),o.now=s,o.maxAge=r,o.value=e,this[i]+=p-o.length,o.length=p,this.get(t),g(this),!0}const d=new class{constructor(t,e,r,n,i){this.key=t,this.value=e,this.length=r,this.now=n,this.maxAge=i||0}}(t,e,p,s,r);return d.length>this[n]?(this[c]&&this[c](t,e),!1):(this[i]+=d.length,this[u].unshift(d),this[l].set(t,this[u].head),g(this),!0)}has(t){if(!this[l].has(t))return!1;const e=this[l].get(t).value;return!f(this,e)}get(t){return m(this,t,!0)}peek(t){return m(this,t,!1)}pop(){const t=this[u].tail;return t?(w(this,t),t.value):null}del(t){w(this,this[l].get(t))}load(t){this.reset();const e=Date.now();for(let r=t.length-1;r>=0;r--){const n=t[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{const t=i-e;t>0&&this.set(n.k,n.v,t)}}}prune(){this[l].forEach(((t,e)=>m(this,e,!1)))}}}}),co=b({"../node_modules/jsonld/lib/ResolvedContext.js"(t,e){var r=ao();e.exports=class{constructor({document:t}){this.document=t,this.cache=new r({max:10})}getProcessed(t){return this.cache.get(t)}setProcessed(t,e){this.cache.set(t,e)}}}}),ho=b({"../node_modules/jsonld/lib/ContextResolver.js"(t,e){var{isArray:r,isObject:n,isString:i}=Xi(),{asArray:o}=Zi(),{prependBase:s}=ro(),a=Yi(),c=co();function h(t){throw new a("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:t})}function u({context:t,base:e}){if(!t)return;const o=t["@context"];if(i(o))t["@context"]=s(e,o);else if(r(o))for(let t=0;t<o.length;++t){const r=o[t];i(r)?o[t]=s(e,r):n(r)&&u({context:{"@context":r},base:e})}else if(n(o))for(const t in o)u({context:o[t],base:e})}e.exports=class{constructor({sharedCache:t}){this.perOpCache=new Map,this.sharedCache=t}async resolve({activeCtx:t,context:e,documentLoader:s,base:a,cycles:u=new Set}){e&&n(e)&&e["@context"]&&(e=e["@context"]),e=o(e);const l=[];for(const o of e){if(i(o)){let e=this._get(o);e||(e=await this._resolveRemoteContext({activeCtx:t,url:o,documentLoader:s,base:a,cycles:u})),r(e)?l.push(...e):l.push(e);continue}if(null===o){l.push(new c({document:null}));continue}n(o)||h(e);const p=JSON.stringify(o);let d=this._get(p);d||(d=new c({document:o}),this._cacheResolvedContext({key:p,resolved:d,tag:"static"})),l.push(d)}return l}_get(t){let e=this.perOpCache.get(t);if(!e){const r=this.sharedCache.get(t);r&&(e=r.get("static"),e&&this.perOpCache.set(t,e))}return e}_cacheResolvedContext({key:t,resolved:e,tag:r}){if(this.perOpCache.set(t,e),void 0!==r){let n=this.sharedCache.get(t);n||(n=new Map,this.sharedCache.set(t,n)),n.set(r,e)}return e}async _resolveRemoteContext({activeCtx:t,url:e,documentLoader:r,base:n,cycles:i}){e=s(n,e);const{context:o,remoteDoc:a}=await this._fetchContext({activeCtx:t,url:e,documentLoader:r,cycles:i});u({context:o,base:n=a.documentUrl||e});const c=await this.resolve({activeCtx:t,context:o,documentLoader:r,base:n,cycles:i});return this._cacheResolvedContext({key:e,resolved:c,tag:a.tag}),c}async _fetchContext({activeCtx:t,url:e,documentLoader:o,cycles:s}){if(s.size>10)throw new a("Maximum number of @context URLs exceeded.","jsonld.ContextUrlError",{code:"json-ld-1.0"===t.processingMode?"loading remote context failed":"context overflow",max:10});if(s.has(e))throw new a("Cyclical @context URLs detected.","jsonld.ContextUrlError",{code:"json-ld-1.0"===t.processingMode?"recursive context inclusion":"context overflow",url:e});let c,h;s.add(e);try{h=await o(e),c=h.document||null,i(c)&&(c=JSON.parse(c))}catch(t){throw new a("Dereferencing a URL did not result in a valid JSON-LD object. Possible causes are an inaccessible URL perhaps due to a same-origin policy (ensure the server uses CORS if you are using client-side JavaScript), too many redirects, a non-JSON response, or more than one HTTP Link Header was provided for a remote context.","jsonld.InvalidUrl",{code:"loading remote context failed",url:e,cause:t})}if(!n(c))throw new a("Dereferencing a URL did not result in a JSON object. The response was valid JSON, but it was not a JSON object.","jsonld.InvalidUrl",{code:"invalid remote context",url:e});return c="@context"in c?{"@context":c["@context"]}:{"@context":{}},h.contextUrl&&(r(c["@context"])||(c["@context"]=[c["@context"]]),c["@context"].push(h.contextUrl)),{context:c,remoteDoc:h}}}}}),uo=b({"../node_modules/jsonld/lib/NQuads.js"(t,e){e.exports=$i().NQuads}}),lo=b({"../node_modules/jsonld/lib/context.js"(t,e){var r=Zi(),n=Yi(),{isArray:i,isObject:o,isString:s,isUndefined:a}=Xi(),{isAbsolute:c,isRelative:h,prependBase:u}=ro(),{asArray:l,compareShortestLeast:p}=Zi(),d=new Map,m=/^@[a-zA-Z]+$/,f={};function g(t,e,r,n,i,a){if(null===e||!s(e)||f.isKeyword(e))return e;if(e.match(m))return null;if(n&&n.hasOwnProperty(e)&&!0!==i.get(e)&&f.createTermDefinition({activeCtx:t,localCtx:n,term:e,defined:i,options:a}),(r=r||{}).vocab){const r=t.mappings.get(e);if(null===r)return null;if(o(r)&&"@id"in r)return r["@id"]}const h=e.indexOf(":");if(h>0){const r=e.substr(0,h),o=e.substr(h+1);if("_"===r||0===o.indexOf("//"))return e;n&&n.hasOwnProperty(r)&&f.createTermDefinition({activeCtx:t,localCtx:n,term:r,defined:i,options:a});const s=t.mappings.get(r);if(s&&s._prefix)return s["@id"]+o;if(c(e))return e}if(r.vocab&&"@vocab"in t)return t["@vocab"]+e;if(r.base&&"@base"in t){if(t["@base"])return u(u(a.base,t["@base"]),e)}else if(r.base)return u(a.base,e);return e}function w(t,e){if(!t||"object"!=typeof t||!e||"object"!=typeof e)return t===e;const r=Array.isArray(t);if(r!==Array.isArray(e))return!1;if(r){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(!w(t[r],e[r]))return!1;return!0}const n=Object.keys(t),i=Object.keys(e);if(n.length!==i.length)return!1;for(const r in t){let n=t[r],i=e[r];if("@container"===r&&Array.isArray(n)&&Array.isArray(i)&&(n=n.slice().sort(),i=i.slice().sort()),!w(n,i))return!1}return!0}e.exports=f,f.process=async({activeCtx:t,localCtx:e,options:a,propagate:p=!0,overrideProtected:d=!1,cycles:m=new Set})=>{if(o(e)&&"@context"in e&&i(e["@context"])&&(e=e["@context"]),0===l(e).length)return t;const w=await a.contextResolver.resolve({activeCtx:t,context:e,documentLoader:a.documentLoader,base:a.base});o(w[0].document)&&"boolean"==typeof w[0].document["@propagate"]&&(p=w[0].document["@propagate"]);let v=t;p||v.previousContext||(v=v.clone(),v.previousContext=t);for(const i of w){let{document:l}=i;if(t=v,null===l){if(!d&&0!==Object.keys(t.protected).length){const o=a&&a.protectedMode||"error";if("error"===o)throw new n("Tried to nullify a context with protected terms outside of a term definition.","jsonld.SyntaxError",{code:"invalid context nullification"});if("warn"===o){console.warn("WARNING: invalid context nullification");const e=i.getProcessed(t);if(e){v=t=e;continue}const n=t;v=t=f.getInitialContext(a).clone();for(const[e,i]of Object.entries(n.protected))i&&(t.mappings[e]=r.clone(n.mappings[e]));t.protected=r.clone(n.protected),i.setProcessed(n,v);continue}throw new n("Invalid protectedMode.","jsonld.SyntaxError",{code:"invalid protected mode",context:e,protectedMode:o})}v=t=f.getInitialContext(a).clone();continue}const p=i.getProcessed(t);if(p){v=t=p;continue}if(o(l)&&"@context"in l&&(l=l["@context"]),!o(l))throw new n("Invalid JSON-LD syntax; @context must be an object.","jsonld.SyntaxError",{code:"invalid local context",context:l});v=v.clone();const w=new Map;if("@version"in l){if(1.1!==l["@version"])throw new n("Unsupported JSON-LD version: "+l["@version"],"jsonld.UnsupportedVersion",{code:"invalid @version value",context:l});if(t.processingMode&&"json-ld-1.0"===t.processingMode)throw new n("@version: "+l["@version"]+" not compatible with "+t.processingMode,"jsonld.ProcessingModeConflict",{code:"processing mode conflict",context:l});v.processingMode="json-ld-1.1",v["@version"]=l["@version"],w.set("@version",!0)}if(v.processingMode=v.processingMode||t.processingMode,"@base"in l){let t=l["@base"];if(null===t||c(t));else{if(!h(t))throw new n('Invalid JSON-LD syntax; the value of "@base" in a @context must be an absolute IRI, a relative IRI, or null.',"jsonld.SyntaxError",{code:"invalid base IRI",context:l});t=u(v["@base"],t)}v["@base"]=t,w.set("@base",!0)}if("@vocab"in l){const t=l["@vocab"];if(null===t)delete v["@vocab"];else{if(!s(t))throw new n('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:l});if(!c(t)&&f.processingMode(v,1))throw new n('Invalid JSON-LD syntax; the value of "@vocab" in a @context must be an absolute IRI.',"jsonld.SyntaxError",{code:"invalid vocab mapping",context:l});v["@vocab"]=g(v,t,{vocab:!0,base:!0},void 0,void 0,a)}w.set("@vocab",!0)}if("@language"in l){const t=l["@language"];if(null===t)delete v["@language"];else{if(!s(t))throw new n('Invalid JSON-LD syntax; the value of "@language" in a @context must be a string or null.',"jsonld.SyntaxError",{code:"invalid default language",context:l});v["@language"]=t.toLowerCase()}w.set("@language",!0)}if("@direction"in l){const e=l["@direction"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @direction not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context member",context:l});if(null===e)delete v["@direction"];else{if("ltr"!==e&&"rtl"!==e)throw new n('Invalid JSON-LD syntax; the value of "@direction" in a @context must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:l});v["@direction"]=e}w.set("@direction",!0)}if("@propagate"in l){const r=l["@propagate"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @propagate not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:l});if("boolean"!=typeof r)throw new n("Invalid JSON-LD syntax; @propagate value must be a boolean.","jsonld.SyntaxError",{code:"invalid @propagate value",context:e});w.set("@propagate",!0)}if("@import"in l){const r=l["@import"];if("json-ld-1.0"===t.processingMode)throw new n("Invalid JSON-LD syntax; @import not compatible with "+t.processingMode,"jsonld.SyntaxError",{code:"invalid context entry",context:l});if(!s(r))throw new n("Invalid JSON-LD syntax; @import must be a string.","jsonld.SyntaxError",{code:"invalid @import value",context:e});const i=await a.contextResolver.resolve({activeCtx:t,context:r,documentLoader:a.documentLoader,base:a.base});if(1!==i.length)throw new n("Invalid JSON-LD syntax; @import must reference a single context.","jsonld.SyntaxError",{code:"invalid remote context",context:e});const o=i[0].getProcessed(t);if(o)l=o;else{const r=i[0].document;if("@import"in r)throw new n("Invalid JSON-LD syntax: imported context must not include @import.","jsonld.SyntaxError",{code:"invalid context entry",context:e});for(const t in r)l.hasOwnProperty(t)||(l[t]=r[t]);i[0].setProcessed(t,l)}w.set("@import",!0)}w.set("@protected",l["@protected"]||!1);for(const t in l)if(f.createTermDefinition({activeCtx:v,localCtx:l,term:t,defined:w,options:a,overrideProtected:d}),o(l[t])&&"@context"in l[t]){const e=l[t]["@context"];let r=!0;if(s(e)){const t=u(a.base,e);m.has(t)?r=!1:m.add(t)}if(r)try{await f.process({activeCtx:v.clone(),localCtx:l[t]["@context"],overrideProtected:!0,options:a,cycles:m})}catch(e){throw new n("Invalid JSON-LD syntax; invalid scoped context.","jsonld.SyntaxError",{code:"invalid scoped context",context:l[t]["@context"],term:t})}}i.setProcessed(t,v)}return v},f.createTermDefinition=({activeCtx:t,localCtx:e,term:r,defined:a,options:h,overrideProtected:u=!1})=>{if(a.has(r)){if(a.get(r))return;throw new n("Cyclical context definition detected.","jsonld.CyclicalContext",{code:"cyclic IRI mapping",context:e,term:r})}let l;if(a.set(r,!1),e.hasOwnProperty(r)&&(l=e[r]),"@type"===r&&o(l)&&"@set"===(l["@container"]||"@set")&&f.processingMode(t,1.1)){const t=["@container","@id","@protected"],i=Object.keys(l);if(0===i.length||i.some((e=>!t.includes(e))))throw new n("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:e,term:r})}else{if(f.isKeyword(r))throw new n("Invalid JSON-LD syntax; keywords cannot be overridden.","jsonld.SyntaxError",{code:"keyword redefinition",context:e,term:r});if(r.match(m))return void console.warn('WARNING: terms beginning with "@" are reserved for future use and ignored',{term:r});if(""===r)throw new n("Invalid JSON-LD syntax; a term cannot be an empty string.","jsonld.SyntaxError",{code:"invalid term definition",context:e})}const p=t.mappings.get(r);t.mappings.has(r)&&t.mappings.delete(r);let d=!1;if((s(l)||null===l)&&(d=!0,l={"@id":l}),!o(l))throw new n("Invalid JSON-LD syntax; @context term values must be strings or objects.","jsonld.SyntaxError",{code:"invalid term definition",context:e});const v={};t.mappings.set(r,v),v.reverse=!1;const y=["@container","@id","@language","@reverse","@type"];f.processingMode(t,1.1)&&y.push("@context","@direction","@index","@nest","@prefix","@protected");for(const t in l)if(!y.includes(t))throw new n("Invalid JSON-LD syntax; a term definition must not contain "+t,"jsonld.SyntaxError",{code:"invalid term definition",context:e});const b=r.indexOf(":");if(v._termHasColon=b>0,"@reverse"in l){if("@id"in l)throw new n("Invalid JSON-LD syntax; a @reverse term definition must not contain @id.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});if("@nest"in l)throw new n("Invalid JSON-LD syntax; a @reverse term definition must not contain @nest.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});const i=l["@reverse"];if(!s(i))throw new n("Invalid JSON-LD syntax; a @context @reverse value must be a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(!f.isKeyword(i)&&i.match(m))return console.warn('WARNING: values beginning with "@" are reserved for future use and ignored',{reverse:i}),void(p?t.mappings.set(r,p):t.mappings.delete(r));const o=g(t,i,{vocab:!0,base:!1},e,a,h);if(!c(o))throw new n("Invalid JSON-LD syntax; a @context @reverse value must be an absolute IRI or a blank node identifier.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});v["@id"]=o,v.reverse=!0}else if("@id"in l){let i=l["@id"];if(i&&!s(i))throw new n("Invalid JSON-LD syntax; a @context @id value must be an array of strings or a string.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(null===i)v["@id"]=null;else{if(!f.isKeyword(i)&&i.match(m))return console.warn('WARNING: values beginning with "@" are reserved for future use and ignored',{id:i}),void(p?t.mappings.set(r,p):t.mappings.delete(r));if(i!==r){if(i=g(t,i,{vocab:!0,base:!1},e,a,h),!c(i)&&!f.isKeyword(i))throw new n("Invalid JSON-LD syntax; a @context @id value must be an absolute IRI, a blank node identifier, or a keyword.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});if(r.match(/(?::[^:])|\//)&&g(t,r,{vocab:!0,base:!1},e,new Map(a).set(r,!0),h)!==i)throw new n("Invalid JSON-LD syntax; term in form of IRI must expand to definition.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e});v["@id"]=i,v._prefix=d&&!v._termHasColon&&i.match(/[:\/\?#\[\]@]$/)}}}if(!("@id"in v))if(v._termHasColon){const n=r.substr(0,b);if(e.hasOwnProperty(n)&&f.createTermDefinition({activeCtx:t,localCtx:e,term:n,defined:a,options:h}),t.mappings.has(n)){const e=r.substr(b+1);v["@id"]=t.mappings.get(n)["@id"]+e}else v["@id"]=r}else if("@type"===r)v["@id"]=r;else{if(!("@vocab"in t))throw new n("Invalid JSON-LD syntax; @context terms must define an @id.","jsonld.SyntaxError",{code:"invalid IRI mapping",context:e,term:r});v["@id"]=t["@vocab"]+r}if((!0===l["@protected"]||!0===a.get("@protected")&&!1!==l["@protected"])&&(t.protected[r]=!0,v.protected=!0),a.set(r,!0),"@type"in l){let r=l["@type"];if(!s(r))throw new n("Invalid JSON-LD syntax; an @context @type value must be a string.","jsonld.SyntaxError",{code:"invalid type mapping",context:e});if("@json"===r||"@none"===r){if(f.processingMode(t,1))throw new n(`Invalid JSON-LD syntax; an @context @type value must not be "${r}" in JSON-LD 1.0 mode.`,"jsonld.SyntaxError",{code:"invalid type mapping",context:e})}else if("@id"!==r&&"@vocab"!==r){if(r=g(t,r,{vocab:!0,base:!1},e,a,h),!c(r))throw new n("Invalid JSON-LD syntax; an @context @type value must be an absolute IRI.","jsonld.SyntaxError",{code:"invalid type mapping",context:e});if(0===r.indexOf("_:"))throw new n("Invalid JSON-LD syntax; an @context @type value must be an IRI, not a blank node identifier.","jsonld.SyntaxError",{code:"invalid type mapping",context:e})}v["@type"]=r}if("@container"in l){const r=s(l["@container"])?[l["@container"]]:l["@container"]||[],o=["@list","@set","@index","@language"];let a=!0;const c=r.includes("@set");if(f.processingMode(t,1.1)){if(o.push("@graph","@id","@type"),r.includes("@list")){if(1!==r.length)throw new n("Invalid JSON-LD syntax; @context @container with @list must have no other values","jsonld.SyntaxError",{code:"invalid container mapping",context:e})}else if(r.includes("@graph")){if(r.some((t=>"@graph"!==t&&"@id"!==t&&"@index"!==t&&"@set"!==t)))throw new n("Invalid JSON-LD syntax; @context @container with @graph must have no other values other than @id, @index, and @set","jsonld.SyntaxError",{code:"invalid container mapping",context:e})}else a&=r.length<=(c?2:1);if(r.includes("@type")&&(v["@type"]=v["@type"]||"@id",!["@id","@vocab"].includes(v["@type"])))throw new n("Invalid JSON-LD syntax; container: @type requires @type to be @id or @vocab.","jsonld.SyntaxError",{code:"invalid type mapping",context:e})}else a&=!i(l["@container"]),a&=r.length<=1;if(a&=r.every((t=>o.includes(t))),a&=!(c&&r.includes("@list")),!a)throw new n("Invalid JSON-LD syntax; @context @container value must be one of the following: "+o.join(", "),"jsonld.SyntaxError",{code:"invalid container mapping",context:e});if(v.reverse&&!r.every((t=>["@index","@set"].includes(t))))throw new n("Invalid JSON-LD syntax; @context @container value for a @reverse type definition must be @index or @set.","jsonld.SyntaxError",{code:"invalid reverse property",context:e});v["@container"]=r}if("@index"in l){if(!("@container"in l)||!v["@container"].includes("@index"))throw new n(`Invalid JSON-LD syntax; @index without @index in @container: "${l["@index"]}" on term "${r}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:e});if(!s(l["@index"])||0===l["@index"].indexOf("@"))throw new n(`Invalid JSON-LD syntax; @index must expand to an IRI: "${l["@index"]}" on term "${r}".`,"jsonld.SyntaxError",{code:"invalid term definition",context:e});v["@index"]=l["@index"]}if("@context"in l&&(v["@context"]=l["@context"]),"@language"in l&&!("@type"in l)){let t=l["@language"];if(null!==t&&!s(t))throw new n("Invalid JSON-LD syntax; @context @language value must be a string or null.","jsonld.SyntaxError",{code:"invalid language mapping",context:e});null!==t&&(t=t.toLowerCase()),v["@language"]=t}if("@prefix"in l){if(r.match(/:|\//))throw new n("Invalid JSON-LD syntax; @context @prefix used on a compact IRI term","jsonld.SyntaxError",{code:"invalid term definition",context:e});if(f.isKeyword(v["@id"]))throw new n("Invalid JSON-LD syntax; keywords may not be used as prefixes","jsonld.SyntaxError",{code:"invalid term definition",context:e});if("boolean"!=typeof l["@prefix"])throw new n("Invalid JSON-LD syntax; @context value for @prefix must be boolean","jsonld.SyntaxError",{code:"invalid @prefix value",context:e});v._prefix=!0===l["@prefix"]}if("@direction"in l){const t=l["@direction"];if(null!==t&&"ltr"!==t&&"rtl"!==t)throw new n('Invalid JSON-LD syntax; @direction value must be null, "ltr", or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",context:e});v["@direction"]=t}if("@nest"in l){const t=l["@nest"];if(!s(t)||"@nest"!==t&&0===t.indexOf("@"))throw new n("Invalid JSON-LD syntax; @context @nest value must be a string which is not a keyword other than @nest.","jsonld.SyntaxError",{code:"invalid @nest value",context:e});v["@nest"]=t}const S=v["@id"];if("@context"===S||"@preserve"===S)throw new n("Invalid JSON-LD syntax; @context and @preserve cannot be aliased.","jsonld.SyntaxError",{code:"invalid keyword alias",context:e});if(p&&p.protected&&!u&&(t.protected[r]=!0,v.protected=!0,!w(p,v))){const t=h&&h.protectedMode||"error";if("error"===t)throw new n(`Invalid JSON-LD syntax; tried to redefine "${r}" which is a protected term.`,"jsonld.SyntaxError",{code:"protected term redefinition",context:e,term:r});if("warn"===t)return void console.warn("WARNING: protected term redefinition",{term:r});throw new n("Invalid protectedMode.","jsonld.SyntaxError",{code:"invalid protected mode",context:e,term:r,protectedMode:t})}},f.expandIri=(t,e,r,n)=>g(t,e,r,void 0,void 0,n),f.getInitialContext=t=>{const e=JSON.stringify({processingMode:t.processingMode}),n=d.get(e);if(n)return n;const i={processingMode:t.processingMode,mappings:new Map,inverse:null,getInverse:function(){const t=this;if(t.inverse)return t.inverse;const e=t.inverse={},r=t.fastCurieMap={},n={},i=(t["@language"]||"@none").toLowerCase(),a=t["@direction"],c=t.mappings,h=[...c.keys()].sort(p);for(const t of h){const o=c.get(t);if(null===o)continue;let h=o["@container"]||"@none";if(h=[].concat(h).sort().join(""),null===o["@id"])continue;const u=l(o["@id"]);for(const c of u){let u=e[c];const l=f.isKeyword(c);if(u)l||o._termHasColon||n[c].push(t);else if(e[c]=u={},!l&&!o._termHasColon){n[c]=[t];const e={iri:c,terms:n[c]};c[0]in r?r[c[0]].push(e):r[c[0]]=[e]}if(u[h]||(u[h]={"@language":{},"@type":{},"@any":{}}),u=u[h],s(t,u["@any"],"@none"),o.reverse)s(t,u["@type"],"@reverse");else if("@none"===o["@type"])s(t,u["@any"],"@none"),s(t,u["@language"],"@none"),s(t,u["@type"],"@none");else if("@type"in o)s(t,u["@type"],o["@type"]);else if("@language"in o&&"@direction"in o){const e=o["@language"],r=o["@direction"];s(t,u["@language"],e&&r?`${e}_${r}`.toLowerCase():e?e.toLowerCase():r?`_${r}`:"@null")}else"@language"in o?s(t,u["@language"],(o["@language"]||"@null").toLowerCase()):"@direction"in o?s(t,u["@language"],o["@direction"]?`_${o["@direction"]}`:"@none"):a?(s(t,u["@language"],`_${a}`),s(t,u["@language"],"@none"),s(t,u["@type"],"@none")):(s(t,u["@language"],i),s(t,u["@language"],"@none"),s(t,u["@type"],"@none"))}}for(const t in r)o(r,t,1);return e},clone:function(){const t={};return t.mappings=r.clone(this.mappings),t.clone=this.clone,t.inverse=null,t.getInverse=this.getInverse,t.protected=r.clone(this.protected),this.previousContext&&(t.previousContext=this.previousContext.clone()),t.revertToPreviousContext=this.revertToPreviousContext,"@base"in this&&(t["@base"]=this["@base"]),"@language"in this&&(t["@language"]=this["@language"]),"@vocab"in this&&(t["@vocab"]=this["@vocab"]),t},revertToPreviousContext:function(){return this.previousContext?this.previousContext.clone():this},protected:{}};return 1e4===d.size&&d.clear(),d.set(e,i),i;function o(t,e,r){const n=t[e],i=t[e]={};let s,a;for(const t of n)s=t.iri,a=r>=s.length?"":s[r],a in i?i[a].push(t):i[a]=[t];for(const t in i)""!==t&&o(i,t,r+1)}function s(t,e,r){e.hasOwnProperty(r)||(e[r]=t)}},f.getContextValue=(t,e,r)=>{if(null===e){if("@context"===r)return;return null}if(t.mappings.has(e)){const n=t.mappings.get(e);if(a(r))return n;if(n.hasOwnProperty(r))return n[r]}return"@language"===r&&r in t||"@direction"===r&&r in t?t[r]:"@context"!==r?null:void 0},f.processingMode=(t,e)=>e.toString()>="1.1"?!t.processingMode||t.processingMode>="json-ld-"+e.toString():"json-ld-1.0"===t.processingMode,f.isKeyword=t=>{if(!s(t)||"@"!==t[0])return!1;switch(t){case"@base":case"@container":case"@context":case"@default":case"@direction":case"@embed":case"@explicit":case"@graph":case"@id":case"@included":case"@index":case"@json":case"@language":case"@list":case"@nest":case"@none":case"@omitDefault":case"@prefix":case"@preserve":case"@protected":case"@requireAll":case"@reverse":case"@set":case"@type":case"@value":case"@version":case"@vocab":return!0}return!1}}}),po=b({"../node_modules/jsonld/lib/expand.js"(t,e){var r=Yi(),{isArray:n,isObject:i,isEmptyObject:o,isString:s,isUndefined:a}=Xi(),{isList:c,isValue:h,isGraph:u,isSubject:l}=Qi(),{expandIri:p,getContextValue:d,isKeyword:m,process:f,processingMode:g}=lo(),{isAbsolute:w}=ro(),{addValue:v,asArray:y,getValues:b,validateTypeValue:S}=Zi(),A={};e.exports=A;var E=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/;async function C({activeCtx:t,activeProperty:e,expandedActiveProperty:u,element:b,expandedParent:P,options:F={},insideList:R,typeKey:x,typeScopedContext:O,expansionMap:D}){const I=Object.keys(b).sort(),M=[];let _;const j=b[x]&&"@json"===p(t,n(b[x])?b[x][0]:b[x],{vocab:!0},F);for(const C of I){let x,I=b[C];if("@context"===C)continue;let N=p(t,C,{vocab:!0},F);if((null===N||!w(N)&&!m(N))&&(N=D({unmappedProperty:C,activeCtx:t,activeProperty:e,parent:b,options:F,insideList:R,value:I,expandedParent:P}),void 0===N))continue;if(m(N)){if("@reverse"===u)throw new r("Invalid JSON-LD syntax; a keyword cannot be used as a @reverse property.","jsonld.SyntaxError",{code:"invalid reverse property map",value:I});if(N in P&&"@included"!==N&&"@type"!==N)throw new r("Invalid JSON-LD syntax; colliding keywords detected.","jsonld.SyntaxError",{code:"colliding keywords",keyword:N})}if("@id"===N){if(!s(I)){if(!F.isFrame)throw new r('Invalid JSON-LD syntax; "@id" value must a string.',"jsonld.SyntaxError",{code:"invalid @id value",value:I});if(i(I)){if(!o(I))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:I})}else{if(!n(I))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:I});if(!I.every((t=>s(t))))throw new r('Invalid JSON-LD syntax; "@id" value an empty object or array of strings, if framing',"jsonld.SyntaxError",{code:"invalid @id value",value:I})}}v(P,"@id",y(I).map((e=>s(e)?p(t,e,{base:!0},F):e)),{propertyIsArray:F.isFrame});continue}if("@type"===N){i(I)&&(I=Object.fromEntries(Object.entries(I).map((([t,e])=>[p(O,t,{vocab:!0}),y(e).map((t=>p(O,t,{base:!0,vocab:!0})))])))),S(I,F.isFrame),v(P,"@type",y(I).map((t=>s(t)?p(O,t,{base:!0,vocab:!0},F):t)),{propertyIsArray:F.isFrame});continue}if("@included"===N&&g(t,1.1)){const n=y(await A.expand({activeCtx:t,activeProperty:e,element:I,options:F,expansionMap:D}));if(!n.every((t=>l(t))))throw new r("Invalid JSON-LD syntax; values of @included must expand to node objects.","jsonld.SyntaxError",{code:"invalid @included value",value:I});v(P,"@included",n,{propertyIsArray:!0});continue}if("@graph"===N&&!i(I)&&!n(I))throw new r('Invalid JSON-LD syntax; "@graph" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid @graph value",value:I});if("@value"===N){_=I,j&&g(t,1.1)?P["@value"]=I:v(P,"@value",I,{propertyIsArray:F.isFrame});continue}if("@language"===N){if(null===I)continue;if(!s(I)&&!F.isFrame)throw new r('Invalid JSON-LD syntax; "@language" value must be a string.',"jsonld.SyntaxError",{code:"invalid language-tagged string",value:I});I=y(I).map((t=>s(t)?t.toLowerCase():t));for(const t of I)s(t)&&!t.match(E)&&console.warn(`@language must be valid BCP47: ${t}`);v(P,"@language",I,{propertyIsArray:F.isFrame});continue}if("@direction"===N){if(!s(I)&&!F.isFrame)throw new r('Invalid JSON-LD syntax; "@direction" value must be a string.',"jsonld.SyntaxError",{code:"invalid base direction",value:I});I=y(I);for(const t of I)if(s(t)&&"ltr"!==t&&"rtl"!==t)throw new r('Invalid JSON-LD syntax; "@direction" must be "ltr" or "rtl".',"jsonld.SyntaxError",{code:"invalid base direction",value:I});v(P,"@direction",I,{propertyIsArray:F.isFrame});continue}if("@index"===N){if(!s(I))throw new r('Invalid JSON-LD syntax; "@index" value must be a string.',"jsonld.SyntaxError",{code:"invalid @index value",value:I});v(P,"@index",I);continue}if("@reverse"===N){if(!i(I))throw new r('Invalid JSON-LD syntax; "@reverse" value must be an object.',"jsonld.SyntaxError",{code:"invalid @reverse value",value:I});if(x=await A.expand({activeCtx:t,activeProperty:"@reverse",element:I,options:F,expansionMap:D}),"@reverse"in x)for(const t in x["@reverse"])v(P,t,x["@reverse"][t],{propertyIsArray:!0});let e=P["@reverse"]||null;for(const t in x){if("@reverse"===t)continue;null===e&&(e=P["@reverse"]={}),v(e,t,[],{propertyIsArray:!0});const n=x[t];for(let i=0;i<n.length;++i){const o=n[i];if(h(o)||c(o))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:x});v(e,t,o,{propertyIsArray:!0})}}continue}if("@nest"===N){M.push(C);continue}let L=t;const B=d(t,C,"@context");a(B)||(L=await f({activeCtx:t,localCtx:B,propagate:!0,overrideProtected:!0,options:F}));const U=d(L,C,"@container")||[];if(U.includes("@language")&&i(I))x=T(L,I,d(L,C,"@direction"),F);else if(U.includes("@index")&&i(I)){const e=U.includes("@graph"),r=d(L,C,"@index")||"@index",n="@index"!==r&&p(t,r,{vocab:!0},F);x=await k({activeCtx:L,options:F,activeProperty:C,value:I,expansionMap:D,asGraph:e,indexKey:r,propertyIndex:n})}else if(U.includes("@id")&&i(I)){const t=U.includes("@graph");x=await k({activeCtx:L,options:F,activeProperty:C,value:I,expansionMap:D,asGraph:t,indexKey:"@id"})}else if(U.includes("@type")&&i(I))x=await k({activeCtx:L.revertToPreviousContext(),options:F,activeProperty:C,value:I,expansionMap:D,asGraph:!1,indexKey:"@type"});else{const r="@list"===N;if(r||"@set"===N){let t=e;r&&"@graph"===u&&(t=null),x=await A.expand({activeCtx:L,activeProperty:t,element:I,options:F,insideList:r,expansionMap:D})}else x="@json"===d(t,C,"@type")?{"@type":"@json","@value":I}:await A.expand({activeCtx:L,activeProperty:C,element:I,options:F,insideList:!1,expansionMap:D})}if(null!==x||"@value"===N||(x=D({unmappedValue:I,expandedProperty:N,activeCtx:L,activeProperty:e,parent:b,options:F,insideList:R,key:C,expandedParent:P}),void 0!==x))if("@list"!==N&&!c(x)&&U.includes("@list")&&(x={"@list":y(x)}),U.includes("@graph")&&!U.some((t=>"@id"===t||"@index"===t))&&(x=y(x).map((t=>({"@graph":y(t)})))),L.mappings.has(C)&&L.mappings.get(C).reverse){const t=P["@reverse"]=P["@reverse"]||{};x=y(x);for(let e=0;e<x.length;++e){const n=x[e];if(h(n)||c(n))throw new r('Invalid JSON-LD syntax; "@reverse" value must not be a @value or an @list.',"jsonld.SyntaxError",{code:"invalid reverse property value",value:x});v(t,N,n,{propertyIsArray:!0})}}else v(P,N,x,{propertyIsArray:!0})}if("@value"in P)if("@json"===P["@type"]&&g(t,1.1));else if((i(_)||n(_))&&!F.isFrame)throw new r('Invalid JSON-LD syntax; "@value" value must not be an object or an array.',"jsonld.SyntaxError",{code:"invalid value object value",value:_});for(const o of M){const s=n(b[o])?b[o]:[b[o]];for(const n of s){if(!i(n)||Object.keys(n).some((e=>"@value"===p(t,e,{vocab:!0},F))))throw new r("Invalid JSON-LD syntax; nested value must be a node object.","jsonld.SyntaxError",{code:"invalid @nest value",value:n});await C({activeCtx:t,activeProperty:e,expandedActiveProperty:u,element:n,expandedParent:P,options:F,insideList:R,typeScopedContext:O,typeKey:x,expansionMap:D})}}}function P({activeCtx:t,activeProperty:e,value:r,options:n}){if(null==r)return null;const i=p(t,e,{vocab:!0},n);if("@id"===i)return p(t,r,{base:!0},n);if("@type"===i)return p(t,r,{vocab:!0,base:!0},n);const o=d(t,e,"@type");if(("@id"===o||"@graph"===i)&&s(r))return{"@id":p(t,r,{base:!0},n)};if("@vocab"===o&&s(r))return{"@id":p(t,r,{vocab:!0,base:!0},n)};if(m(i))return r;const a={};if(o&&!["@id","@vocab","@none"].includes(o))a["@type"]=o;else if(s(r)){const r=d(t,e,"@language");null!==r&&(a["@language"]=r);const n=d(t,e,"@direction");null!==n&&(a["@direction"]=n)}return["boolean","number","string"].includes(typeof r)||(r=r.toString()),a["@value"]=r,a}function T(t,e,i,o){const a=[],c=Object.keys(e).sort();for(const h of c){const c=p(t,h,{vocab:!0},o);let u=e[h];n(u)||(u=[u]);for(const t of u){if(null===t)continue;if(!s(t))throw new r("Invalid JSON-LD syntax; language map values must be strings.","jsonld.SyntaxError",{code:"invalid language map value",languageMap:e});const n={"@value":t};"@none"!==c&&(n["@language"]=h.toLowerCase()),i&&(n["@direction"]=i),a.push(n)}}return a}async function k({activeCtx:t,options:e,activeProperty:i,value:o,expansionMap:s,asGraph:c,indexKey:l,propertyIndex:m}){const g=[],w=Object.keys(o).sort(),y="@type"===l;for(let b of w){if(y){const r=d(t,b,"@context");a(r)||(t=await f({activeCtx:t,localCtx:r,propagate:!1,options:e}))}let w,S=o[b];n(S)||(S=[S]),S=await A.expand({activeCtx:t,activeProperty:i,element:S,options:e,insideList:!1,insideIndex:!0,expansionMap:s}),w=m?"@none"===b?"@none":P({activeCtx:t,activeProperty:l,value:b,options:e}):p(t,b,{vocab:!0},e),"@id"===l?b=p(t,b,{base:!0},e):y&&(b=w);for(let t of S){if(c&&!u(t)&&(t={"@graph":[t]}),"@type"===l)"@none"===w||(t["@type"]=t["@type"]?[b].concat(t["@type"]):[b]);else{if(h(t)&&!["@language","@type","@index"].includes(l))throw new r(`Invalid JSON-LD syntax; Attempt to add illegal key to value object: "${l}".`,"jsonld.SyntaxError",{code:"invalid value object",value:t});m?"@none"!==w&&v(t,m,w,{propertyIsArray:!0,prependValue:!0}):"@none"===w||l in t||(t[l]=b)}g.push(t)}}return g}A.expand=async({activeCtx:t,activeProperty:e=null,element:c,options:h={},insideList:u=!1,insideIndex:l=!1,typeScopedContext:m=null,expansionMap:v=(()=>{})})=>{if(null==c)return null;if("@default"===e&&(h=Object.assign({},h,{isFrame:!1})),!n(c)&&!i(c)){if(!u&&(null===e||"@graph"===p(t,e,{vocab:!0},h))){const r=await v({unmappedValue:c,activeCtx:t,activeProperty:e,options:h,insideList:u});return void 0===r?null:r}return P({activeCtx:t,activeProperty:e,value:c,options:h})}if(n(c)){let r=[];const i=d(t,e,"@container")||[];u=u||i.includes("@list");for(let i=0;i<c.length;++i){let o=await A.expand({activeCtx:t,activeProperty:e,element:c[i],options:h,expansionMap:v,insideIndex:l,typeScopedContext:m});u&&n(o)&&(o={"@list":o}),null===o&&(o=await v({unmappedValue:c[i],activeCtx:t,activeProperty:e,parent:c,index:i,options:h,expandedParent:r,insideList:u}),void 0===o)||(n(o)?r=r.concat(o):r.push(o))}return r}const S=p(t,e,{vocab:!0},h),E=d(t,e,"@context");m=m||(t.previousContext?t:null);let T=Object.keys(c).sort(),k=!l;if(k&&m&&T.length<=2&&!T.includes("@context"))for(const e of T){const r=p(m,e,{vocab:!0},h);if("@value"===r){k=!1,t=m;break}if("@id"===r&&1===T.length){k=!1;break}}k&&(t=t.revertToPreviousContext()),a(E)||(t=await f({activeCtx:t,localCtx:E,propagate:!0,overrideProtected:!0,options:h})),"@context"in c&&(t=await f({activeCtx:t,localCtx:c["@context"],options:h})),m=t;let F=null;for(const e of T)if("@type"===p(t,e,{vocab:!0},h)){F=F||e;const r=c[e],n=Array.isArray(r)?r.length>1?r.slice().sort():r:[r];for(const e of n){const r=d(m,e,"@context");a(r)||(t=await f({activeCtx:t,localCtx:r,options:h,propagate:!1}))}}let R={};await C({activeCtx:t,activeProperty:e,expandedActiveProperty:S,element:c,expandedParent:R,options:h,insideList:u,typeKey:F,typeScopedContext:m,expansionMap:v}),T=Object.keys(R);let x=T.length;if("@value"in R){if("@type"in R&&("@language"in R||"@direction"in R))throw new r('Invalid JSON-LD syntax; an element containing "@value" may not contain both "@type" and either "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:R});let n=x-1;if("@type"in R&&(n-=1),"@index"in R&&(n-=1),"@language"in R&&(n-=1),"@direction"in R&&(n-=1),0!==n)throw new r('Invalid JSON-LD syntax; an element containing "@value" may only have an "@index" property and either "@type" or either or both "@language" or "@direction".',"jsonld.SyntaxError",{code:"invalid value object",element:R});const i=null===R["@value"]?[]:y(R["@value"]),a=b(R,"@type");if(g(t,1.1)&&a.includes("@json")&&1===a.length);else if(0===i.length){const r=await v({unmappedValue:R,activeCtx:t,activeProperty:e,element:c,options:h,insideList:u});R=void 0!==r?r:null}else{if(!i.every((t=>s(t)||o(t)))&&"@language"in R)throw new r("Invalid JSON-LD syntax; only strings may be language-tagged.","jsonld.SyntaxError",{code:"invalid language-tagged value",element:R});if(!a.every((t=>w(t)&&!(s(t)&&0===t.indexOf("_:"))||o(t))))throw new r('Invalid JSON-LD syntax; an element containing "@value" and "@type" must have an absolute IRI for the value of "@type".',"jsonld.SyntaxError",{code:"invalid typed value",element:R})}}else if("@type"in R&&!n(R["@type"]))R["@type"]=[R["@type"]];else if("@set"in R||"@list"in R){if(x>1&&(2!==x||!("@index"in R)))throw new r('Invalid JSON-LD syntax; if an element has the property "@set" or "@list", then it can have at most one other property that is "@index".',"jsonld.SyntaxError",{code:"invalid set or list object",element:R});"@set"in R&&(R=R["@set"],T=Object.keys(R),x=T.length)}else if(1===x&&"@language"in R){const r=await v(R,{unmappedValue:R,activeCtx:t,activeProperty:e,element:c,options:h,insideList:u});R=void 0!==r?r:null}if(i(R)&&!h.keepFreeFloatingNodes&&!u&&(null===e||"@graph"===S)&&(0===x||"@value"in R||"@list"in R||1===x&&"@id"in R)){const r=await v({unmappedValue:R,activeCtx:t,activeProperty:e,element:c,options:h,insideList:u});R=void 0!==r?r:null}return R}}}),mo=b({"../node_modules/jsonld/lib/nodeMap.js"(t,e){var{isKeyword:r}=lo(),n=Qi(),i=Xi(),o=Zi(),s=Yi(),a={};e.exports=a,a.createMergedNodeMap=(t,e)=>{const r=(e=e||{}).issuer||new o.IdentifierIssuer("_:b"),n={"@default":{}};return a.createNodeMap(t,n,"@default",r),a.mergeNodeMaps(n)},a.createNodeMap=(t,e,c,h,u,l)=>{if(i.isArray(t)){for(const r of t)a.createNodeMap(r,e,c,h,void 0,l);return}if(!i.isObject(t))return void(l&&l.push(t));if(n.isValue(t)){if("@type"in t){let e=t["@type"];0===e.indexOf("_:")&&(t["@type"]=e=h.getId(e))}return void(l&&l.push(t))}if(l&&n.isList(t)){const r=[];return a.createNodeMap(t["@list"],e,c,h,u,r),void l.push({"@list":r})}if("@type"in t){const e=t["@type"];for(const t of e)0===t.indexOf("_:")&&h.getId(t)}i.isUndefined(u)&&(u=n.isBlankNode(t)?h.getId(t["@id"]):t["@id"]),l&&l.push({"@id":u});const p=e[c],d=p[u]=p[u]||{};d["@id"]=u;const m=Object.keys(t).sort();for(let i of m){if("@id"===i)continue;if("@reverse"===i){const r={"@id":u},i=t["@reverse"];for(const t in i){const s=i[t];for(const i of s){let s=i["@id"];n.isBlankNode(i)&&(s=h.getId(s)),a.createNodeMap(i,e,c,h,s),o.addValue(p[s],t,r,{propertyIsArray:!0,allowDuplicate:!1})}}continue}if("@graph"===i){u in e||(e[u]={}),a.createNodeMap(t[i],e,u,h);continue}if("@included"===i){a.createNodeMap(t[i],e,c,h);continue}if("@type"!==i&&r(i)){if("@index"===i&&i in d&&(t[i]!==d[i]||t[i]["@id"]!==d[i]["@id"]))throw new s("Invalid JSON-LD syntax; conflicting @index property detected.","jsonld.SyntaxError",{code:"conflicting indexes",subject:d});d[i]=t[i];continue}const l=t[i];if(0===i.indexOf("_:")&&(i=h.getId(i)),0!==l.length)for(let t of l)if("@type"===i&&(t=0===t.indexOf("_:")?h.getId(t):t),n.isSubject(t)||n.isSubjectReference(t)){if("@id"in t&&!t["@id"])continue;const r=n.isBlankNode(t)?h.getId(t["@id"]):t["@id"];o.addValue(d,i,{"@id":r},{propertyIsArray:!0,allowDuplicate:!1}),a.createNodeMap(t,e,c,h,r)}else if(n.isValue(t))o.addValue(d,i,t,{propertyIsArray:!0,allowDuplicate:!1});else if(n.isList(t)){const r=[];a.createNodeMap(t["@list"],e,c,h,u,r),t={"@list":r},o.addValue(d,i,t,{propertyIsArray:!0,allowDuplicate:!1})}else a.createNodeMap(t,e,c,h,u),o.addValue(d,i,t,{propertyIsArray:!0,allowDuplicate:!1});else o.addValue(d,i,[],{propertyIsArray:!0})}},a.mergeNodeMapGraphs=t=>{const e={};for(const n of Object.keys(t).sort())for(const i of Object.keys(t[n]).sort()){const s=t[n][i];i in e||(e[i]={"@id":i});const a=e[i];for(const t of Object.keys(s).sort())if(r(t)&&"@type"!==t)a[t]=o.clone(s[t]);else for(const e of s[t])o.addValue(a,t,o.clone(e),{propertyIsArray:!0,allowDuplicate:!1})}return e},a.mergeNodeMaps=t=>{const e=t["@default"],r=Object.keys(t).sort();for(const i of r){if("@default"===i)continue;const r=t[i];let o=e[i];o?"@graph"in o||(o["@graph"]=[]):e[i]=o={"@id":i,"@graph":[]};const s=o["@graph"];for(const t of Object.keys(r).sort()){const e=r[t];n.isSubjectReference(e)||s.push(e)}}return e}}}),fo=b({"../node_modules/jsonld/lib/flatten.js"(t,e){var{isSubjectReference:r}=Qi(),{createMergedNodeMap:n}=mo(),i={};e.exports=i,i.flatten=t=>{const e=n(t),i=[],o=Object.keys(e).sort();for(let t=0;t<o.length;++t){const n=e[o[t]];r(n)||i.push(n)}return i}}}),go=b({"../node_modules/jsonld/lib/fromRdf.js"(t,e){var r=Yi(),n=Qi(),i=Xi(),o=Zi(),{RDF_LIST:s,RDF_FIRST:a,RDF_REST:c,RDF_NIL:h,RDF_TYPE:u,RDF_JSON_LITERAL:l,XSD_BOOLEAN:p,XSD_DOUBLE:d,XSD_INTEGER:m,XSD_STRING:f}=to(),g=/^[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$/,w={};function v(t,e,n){if(t.termType.endsWith("Node"))return{"@id":t.value};const o={"@value":t.value};if(t.language)o["@language"]=t.language;else{let s=t.datatype.value;if(s||(s=f),s===l){s="@json";try{o["@value"]=JSON.parse(o["@value"])}catch(t){throw new r("JSON literal could not be parsed.","jsonld.InvalidJsonLiteral",{code:"invalid JSON literal",value:o["@value"],cause:t})}}if(e){if(s===p)"true"===o["@value"]?o["@value"]=!0:"false"===o["@value"]&&(o["@value"]=!1);else if(i.isNumeric(o["@value"]))if(s===m){const t=parseInt(o["@value"],10);t.toFixed(0)===o["@value"]&&(o["@value"]=t)}else s===d&&(o["@value"]=parseFloat(o["@value"]));[p,m,d,f].includes(s)||(o["@type"]=s)}else if("i18n-datatype"===n&&s.startsWith("https://www.w3.org/ns/i18n#")){const[,t,e]=s.split(/[#_]/);t.length>0&&(o["@language"]=t,t.match(g)||console.warn(`@language must be valid BCP47: ${t}`)),o["@direction"]=e}else s!==f&&(o["@type"]=s)}return o}e.exports=w,w.fromRDF=async(t,{useRdfType:e=!1,useNativeTypes:r=!1,rdfDirection:l=null})=>{const p={},d={"@default":p},m={};for(const n of t){const t="DefaultGraph"===n.graph.termType?"@default":n.graph.value;t in d||(d[t]={}),"@default"===t||t in p||(p[t]={"@id":t});const i=d[t],s=n.subject.value,a=n.predicate.value,c=n.object;s in i||(i[s]={"@id":s});const f=i[s],g=c.termType.endsWith("Node");if(g&&!(c.value in i)&&(i[c.value]={"@id":c.value}),a===u&&!e&&g){o.addValue(f,"@type",c.value,{propertyIsArray:!0});continue}const w=v(c,r,l);if(o.addValue(f,a,w,{propertyIsArray:!0}),g)if(c.value===h){const t=i[c.value];"usages"in t||(t.usages=[]),t.usages.push({node:f,property:a,value:w})}else m[c.value]=!(c.value in m)&&{node:f,property:a,value:w}}for(const t in d){const e=d[t];if(!(h in e))continue;const r=e[h];if(r.usages){for(let t of r.usages){let r=t.node,o=t.property,h=t.value;const u=[],l=[];let p=Object.keys(r).length;for(;o===c&&i.isObject(m[r["@id"]])&&i.isArray(r[a])&&1===r[a].length&&i.isArray(r[c])&&1===r[c].length&&(3===p||4===p&&i.isArray(r["@type"])&&1===r["@type"].length&&r["@type"][0]===s)&&(u.push(r[a][0]),l.push(r["@id"]),t=m[r["@id"]],r=t.node,o=t.property,h=t.value,p=Object.keys(r).length,n.isBlankNode(r)););delete h["@id"],h["@list"]=u.reverse();for(const t of l)delete e[t]}delete r.usages}}const f=[],g=Object.keys(p).sort();for(const t of g){const e=p[t];if(t in d){const r=e["@graph"]=[],i=d[t],o=Object.keys(i).sort();for(const t of o){const e=i[t];n.isSubjectReference(e)||r.push(e)}}n.isSubjectReference(e)||f.push(e)}return f}}}),wo=b({"../node_modules/canonicalize/lib/canonicalize.js"(t,e){e.exports=function t(e){return null===e||"object"!=typeof e||null!=e.toJSON?JSON.stringify(e):Array.isArray(e)?"["+e.reduce(((e,r,n)=>e+(0===n?"":",")+t(void 0===r||"symbol"==typeof r?null:r)),"")+"]":"{"+Object.keys(e).sort().reduce(((r,n)=>void 0===e[n]||"symbol"==typeof e[n]?r:r+(0===r.length?"":",")+t(n)+":"+t(e[n])),"")+"}"}}}),vo=b({"../node_modules/jsonld/lib/toRdf.js"(t,e){var{createNodeMap:r}=mo(),{isKeyword:n}=lo(),i=Qi(),o=wo(),s=Xi(),a=Zi(),{RDF_FIRST:c,RDF_REST:h,RDF_NIL:u,RDF_TYPE:l,RDF_JSON_LITERAL:p,RDF_LANGSTRING:d,XSD_BOOLEAN:m,XSD_DOUBLE:f,XSD_INTEGER:g,XSD_STRING:w}=to(),{isAbsolute:v}=ro(),y={};function b(t,e,r,i,o){const s=Object.keys(e).sort();for(const a of s){const s=e[a],c=Object.keys(s).sort();for(let e of c){const c=s[e];if("@type"===e)e=l;else if(n(e))continue;for(const n of c){const s={termType:a.startsWith("_:")?"BlankNode":"NamedNode",value:a};if(!v(a))continue;const c={termType:e.startsWith("_:")?"BlankNode":"NamedNode",value:e};if(!v(e))continue;if("BlankNode"===c.termType&&!o.produceGeneralizedRdf)continue;const h=S(n,i,t,r,o.rdfDirection);h&&t.push({subject:s,predicate:c,object:h,graph:r})}}}}function S(t,e,r,n,a){const l={};if(i.isValue(t)){l.termType="Literal",l.value=void 0,l.datatype={termType:"NamedNode"};let e=t["@value"];const r=t["@type"]||null;"@json"===r?(l.value=o(e),l.datatype.value=p):s.isBoolean(e)?(l.value=e.toString(),l.datatype.value=r||m):s.isDouble(e)||r===f?(s.isDouble(e)||(e=parseFloat(e)),l.value=e.toExponential(15).replace(/(\d)0*e\+?/,"$1E"),l.datatype.value=r||f):s.isNumber(e)?(l.value=e.toFixed(0),l.datatype.value=r||g):"i18n-datatype"===a&&"@direction"in t?(l.datatype.value="https://www.w3.org/ns/i18n#"+(t["@language"]||"")+`_${t["@direction"]}`,l.value=e):"@language"in t?(l.value=e,l.datatype.value=r||d,l.language=t["@language"]):(l.value=e,l.datatype.value=r||w)}else if(i.isList(t)){const i=function(t,e,r,n,i){const o={termType:"NamedNode",value:c},s={termType:"NamedNode",value:h},a={termType:"NamedNode",value:u},l=t.pop(),p=l?{termType:"BlankNode",value:e.getId()}:a;let d=p;for(const a of t){const t=S(a,e,r,n,i),c={termType:"BlankNode",value:e.getId()};r.push({subject:d,predicate:o,object:t,graph:n}),r.push({subject:d,predicate:s,object:c,graph:n}),d=c}if(l){const t=S(l,e,r,n,i);r.push({subject:d,predicate:o,object:t,graph:n}),r.push({subject:d,predicate:s,object:a,graph:n})}return p}(t["@list"],e,r,n,a);l.termType=i.termType,l.value=i.value}else{const e=s.isObject(t)?t["@id"]:t;l.termType=e.startsWith("_:")?"BlankNode":"NamedNode",l.value=e}return"NamedNode"!==l.termType||v(l.value)?l:null}e.exports=y,y.toRDF=(t,e)=>{const n=new a.IdentifierIssuer("_:b"),i={"@default":{}};r(t,i,"@default",n);const o=[],s=Object.keys(i).sort();for(const t of s){let r;if("@default"===t)r={termType:"DefaultGraph",value:""};else{if(!v(t))continue;r=t.startsWith("_:")?{termType:"BlankNode"}:{termType:"NamedNode"},r.value=t}b(o,i[t],r,n,e)}return o}}}),yo=b({"../node_modules/jsonld/lib/frame.js"(t,e){var{isKeyword:r}=lo(),n=Qi(),i=Xi(),o=Zi(),s=ro(),a=Yi(),{createNodeMap:c,mergeNodeMapGraphs:h}=mo(),u={};function l(t){const e={};for(const r in t)void 0!==t[r]&&(e["@"+r]=[t[r]]);return[e]}function p(t,e,r){for(let n=r.length-1;n>=0;--n){const i=r[n];if(i.graph===e&&i.subject["@id"]===t["@id"])return!0}return!1}function d(t,e,r){const n="@"+r;let i=n in t?t[n][0]:e[r];if("embed"===r)if(!0===i)i="@once";else if(!1===i)i="@never";else if("@always"!==i&&"@never"!==i&&"@link"!==i&&"@first"!==i&&"@last"!==i&&"@once"!==i)throw new a("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:t});return i}function m(t){if(!i.isArray(t)||1!==t.length||!i.isObject(t[0]))throw new a("Invalid JSON-LD syntax; a JSON-LD frame must be a single object.","jsonld.SyntaxError",{frame:t});if("@id"in t[0])for(const e of o.asArray(t[0]["@id"]))if(!i.isObject(e)&&!s.isAbsolute(e)||i.isString(e)&&0===e.indexOf("_:"))throw new a("Invalid JSON-LD syntax; invalid @id in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:t});if("@type"in t[0])for(const e of o.asArray(t[0]["@type"]))if(!i.isObject(e)&&!s.isAbsolute(e)||i.isString(e)&&0===e.indexOf("_:"))throw new a("Invalid JSON-LD syntax; invalid @type in frame.","jsonld.SyntaxError",{code:"invalid frame",frame:t})}function f(t,e,s,a){let c=!0,h=!1;for(const u in s){let l=!1;const p=o.getValues(e,u),d=0===o.getValues(s,u).length;if("@id"===u){if(i.isEmptyObject(s["@id"][0]||{})?l=!0:s["@id"].length>=0&&(l=s["@id"].includes(p[0])),!a.requireAll)return l}else if("@type"===u){if(c=!1,d){if(p.length>0)return!1;l=!0}else if(1===s["@type"].length&&i.isEmptyObject(s["@type"][0]))l=p.length>0;else for(const t of s["@type"])l=!(!i.isObject(t)||!("@default"in t))||l||p.some((e=>e===t));if(!a.requireAll)return l}else{if(r(u))continue;{const e=o.getValues(s,u)[0];let r=!1;if(e&&(m([e]),r="@default"in e),c=!1,0===p.length&&r)continue;if(p.length>0&&d)return!1;if(void 0===e){if(p.length>0)return!1;l=!0}else if(n.isList(e)){const r=e["@list"][0];if(n.isList(p[0])){const e=p[0]["@list"];n.isValue(r)?l=e.some((t=>b(r,t))):(n.isSubject(r)||n.isSubjectReference(r))&&(l=e.some((e=>y(t,r,e,a))))}}else l=n.isValue(e)?p.some((t=>b(e,t))):n.isSubjectReference(e)?p.some((r=>y(t,e,r,a))):!!i.isObject(e)&&p.length>0}}if(!l&&a.requireAll)return!1;h=h||l}return c||h}function g(t,e){const r=t.uniqueEmbeds[t.graph],n=r[e],s=n.parent,a=n.property,c={"@id":e};if(i.isArray(s)){for(let t=0;t<s.length;++t)if(o.compareValues(s[t],c)){s[t]=c;break}}else{const t=i.isArray(s[a]);o.removeValue(s,a,c,{propertyIsArray:t}),o.addValue(s,a,c,{propertyIsArray:t})}const h=t=>{const e=Object.keys(r);for(const n of e)n in r&&i.isObject(r[n].parent)&&r[n].parent["@id"]===t&&(delete r[n],h(n))};h(e)}function w(t,e){if(i.isArray(t))return t.map((t=>w(t,e)));if(i.isObject(t)){if("@preserve"in t)return t["@preserve"][0];if(n.isValue(t))return t;if(n.isList(t))return t["@list"]=w(t["@list"],e),t;if("@id"in t){const r=t["@id"];if(e.link.hasOwnProperty(r)){const n=e.link[r].indexOf(t);if(-1!==n)return e.link[r][n];e.link[r].push(t)}else e.link[r]=[t]}for(const r in t)"@id"===r&&e.bnodesToClear.includes(t[r])?delete t["@id"]:t[r]=w(t[r],e)}return t}function v(t,e,r){i.isObject(t)?o.addValue(t,e,r,{propertyIsArray:!0}):t.push(r)}function y(t,e,r,n){if(!("@id"in r))return!1;const i=t.subjects[r["@id"]];return i&&f(t,i,e,n)}function b(t,e){const r=e["@value"],n=e["@type"],o=e["@language"],s=t["@value"]?i.isArray(t["@value"])?t["@value"]:[t["@value"]]:[],a=t["@type"]?i.isArray(t["@type"])?t["@type"]:[t["@type"]]:[],c=t["@language"]?i.isArray(t["@language"])?t["@language"]:[t["@language"]]:[];return 0===s.length&&0===a.length&&0===c.length||!(!s.includes(r)&&!i.isEmptyObject(s[0]))&&!!(!n&&0===a.length||a.includes(n)||n&&i.isEmptyObject(a[0]))&&!!(!o&&0===c.length||c.includes(o)||o&&i.isEmptyObject(c[0]))}e.exports=u,u.frameMergedOrDefault=(t,e,r)=>{const n={options:r,embedded:!1,graph:"@default",graphMap:{"@default":{}},subjectStack:[],link:{},bnodeMap:{}},i=new o.IdentifierIssuer("_:b");c(t,n.graphMap,"@default",i),r.merged&&(n.graphMap["@merged"]=h(n.graphMap),n.graph="@merged"),n.subjects=n.graphMap[n.graph];const s=[];return u.frame(n,Object.keys(n.subjects).sort(),e,s),r.pruneBlankNodeIdentifiers&&(r.bnodesToClear=Object.keys(n.bnodeMap).filter((t=>1===n.bnodeMap[t].length))),r.link={},w(s,r)},u.frame=(t,e,s,c,h=null)=>{m(s);const w=t.options,y={embed:d(s=s[0],w,"embed"),explicit:d(s,w,"explicit"),requireAll:d(s,w,"requireAll")};t.link.hasOwnProperty(t.graph)||(t.link[t.graph]={});const S=t.link[t.graph],A=function(t,e,r,n){const i={};for(const o of e){const e=t.graphMap[t.graph][o];f(t,e,r,n)&&(i[o]=e)}return i}(t,e,s,y),E=Object.keys(A).sort();for(const m of E){const f=A[m];if(null===h?t.uniqueEmbeds={[t.graph]:{}}:t.uniqueEmbeds[t.graph]=t.uniqueEmbeds[t.graph]||{},"@link"===y.embed&&m in S){v(c,h,S[m]);continue}const E={"@id":m};if(0===m.indexOf("_:")&&o.addValue(t.bnodeMap,m,E,{propertyIsArray:!0}),S[m]=E,("@first"===y.embed||"@last"===y.embed)&&t.is11)throw new a("Invalid JSON-LD syntax; invalid value of @embed.","jsonld.SyntaxError",{code:"invalid @embed value",frame:s});if(t.embedded||!t.uniqueEmbeds[t.graph].hasOwnProperty(m))if(!t.embedded||"@never"!==y.embed&&!p(f,t.graph,t.subjectStack))if(!t.embedded||"@first"!=y.embed&&"@once"!=y.embed||!t.uniqueEmbeds[t.graph].hasOwnProperty(m)){if("@last"===y.embed&&m in t.uniqueEmbeds[t.graph]&&g(t,m),t.uniqueEmbeds[t.graph][m]={parent:c,property:h},t.subjectStack.push({subject:f,graph:t.graph}),m in t.graphMap){let e=!1,r=null;"@graph"in s?(r=s["@graph"][0],e=!("@merged"===m||"@default"===m),i.isObject(r)||(r={})):(e="@merged"!==t.graph,r={}),e&&u.frame({...t,graph:m,embedded:!1},Object.keys(t.graphMap[m]).sort(),[r],E,"@graph")}"@included"in s&&u.frame({...t,embedded:!1},e,s["@included"],E,"@included");for(const e of Object.keys(f).sort())if(r(e)){if(E[e]=o.clone(f[e]),"@type"===e)for(const e of f["@type"])0===e.indexOf("_:")&&o.addValue(t.bnodeMap,e,E,{propertyIsArray:!0})}else if(!y.explicit||e in s)for(const r of f[e]){const i=e in s?s[e]:l(y);if(n.isList(r)){const i=s[e]&&s[e][0]&&s[e][0]["@list"]?s[e][0]["@list"]:l(y),a={"@list":[]};v(E,e,a);const c=r["@list"];for(const e of c)n.isSubjectReference(e)?u.frame({...t,embedded:!0},[e["@id"]],i,a,"@list"):v(a,"@list",o.clone(e))}else n.isSubjectReference(r)?u.frame({...t,embedded:!0},[r["@id"]],i,E,e):b(i[0],r)&&v(E,e,o.clone(r))}for(const t of Object.keys(s).sort()){if("@type"===t){if(!i.isObject(s[t][0])||!("@default"in s[t][0]))continue}else if(r(t))continue;const e=s[t][0]||{};if(!d(e,w,"omitDefault")&&!(t in E)){let r="@null";"@default"in e&&(r=o.clone(e["@default"])),i.isArray(r)||(r=[r]),E[t]=[{"@preserve":r}]}}for(const e of Object.keys(s["@reverse"]||{}).sort()){const r=s["@reverse"][e];for(const n of Object.keys(t.subjects))o.getValues(t.subjects[n],e).some((t=>t["@id"]===m))&&(E["@reverse"]=E["@reverse"]||{},o.addValue(E["@reverse"],e,[],{propertyIsArray:!0}),u.frame({...t,embedded:!0},[n],r,E["@reverse"][e],h))}v(c,h,E),t.subjectStack.pop()}else v(c,h,E);else v(c,h,E)}},u.cleanupNull=(t,e)=>{if(i.isArray(t))return t.map((t=>u.cleanupNull(t,e))).filter((t=>t));if("@null"===t)return null;if(i.isObject(t)){if("@id"in t){const r=t["@id"];if(e.link.hasOwnProperty(r)){const n=e.link[r].indexOf(t);if(-1!==n)return e.link[r][n];e.link[r].push(t)}else e.link[r]=[t]}for(const r in t)t[r]=u.cleanupNull(t[r],e)}return t}}}),bo=b({"../node_modules/jsonld/lib/compact.js"(t,e){var r=Yi(),{isArray:n,isObject:i,isString:o,isUndefined:s}=Xi(),{isList:a,isValue:c,isGraph:h,isSimpleGraph:u,isSubjectReference:l}=Qi(),{expandIri:p,getContextValue:d,isKeyword:m,process:f,processingMode:g}=lo(),{removeBase:w,prependBase:v}=ro(),{addValue:y,asArray:b,compareShortestLeast:S}=Zi(),A={};function E(t,e,n){if("@nest"!==p(t,e,{vocab:!0},n))throw new r("JSON-LD compact error; nested property must have an @nest value resolving to @nest.","jsonld.SyntaxError",{code:"invalid @nest value"})}e.exports=A,A.compact=async({activeCtx:t,activeProperty:e=null,element:p,options:w={},compactionMap:v=(()=>{})})=>{if(n(p)){let r=[];for(let n=0;n<p.length;++n){let i=await A.compact({activeCtx:t,activeProperty:e,element:p[n],options:w,compactionMap:v});null===i&&(i=await v({unmappedValue:p[n],activeCtx:t,activeProperty:e,parent:p,index:n,options:w}),void 0===i)||r.push(i)}return w.compactArrays&&1===r.length&&0===(d(t,e,"@container")||[]).length&&(r=r[0]),r}const S=d(t,e,"@context");if(s(S)||(t=await f({activeCtx:t,localCtx:S,propagate:!0,overrideProtected:!0,options:w})),i(p)){if(w.link&&"@id"in p&&w.link.hasOwnProperty(p["@id"])){const t=w.link[p["@id"]];for(let e=0;e<t.length;++e)if(t[e].expanded===p)return t[e].compacted}if(c(p)||l(p)){const r=A.compactValue({activeCtx:t,activeProperty:e,value:p,options:w});return w.link&&l(p)&&(w.link.hasOwnProperty(p["@id"])||(w.link[p["@id"]]=[]),w.link[p["@id"]].push({expanded:p,compacted:r})),r}if(a(p)&&(d(t,e,"@container")||[]).includes("@list"))return A.compact({activeCtx:t,activeProperty:e,element:p["@list"],options:w,compactionMap:v});const S="@reverse"===e,C={},P=t;c(p)||l(p)||(t=t.revertToPreviousContext());const T=d(P,e,"@context");s(T)||(t=await f({activeCtx:t,localCtx:T,propagate:!0,overrideProtected:!0,options:w})),w.link&&"@id"in p&&(w.link.hasOwnProperty(p["@id"])||(w.link[p["@id"]]=[]),w.link[p["@id"]].push({expanded:p,compacted:C}));let k=p["@type"]||[];k.length>1&&(k=Array.from(k).sort());const F=t;for(const e of k){const r=A.compactIri({activeCtx:F,iri:e,relativeTo:{vocab:!0}}),n=d(P,r,"@context");s(n)||(t=await f({activeCtx:t,localCtx:n,options:w,propagate:!1}))}const R=Object.keys(p).sort();for(const s of R){const l=p[s];if("@id"!==s)if("@type"!==s)if("@reverse"!==s)if("@preserve"!==s)if("@index"!==s)if("@graph"!==s&&"@list"!==s&&"@included"!==s&&m(s)){const e=A.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});y(C,e,l)}else{if(!n(l))throw new r("JSON-LD expansion error; expanded value must be an array.","jsonld.SyntaxError");if(0===l.length){const e=A.compactIri({activeCtx:t,iri:s,value:l,relativeTo:{vocab:!0},reverse:S}),r=t.mappings.has(e)?t.mappings.get(e)["@nest"]:null;let n=C;r&&(E(t,r,w),i(C[r])||(C[r]={}),n=C[r]),y(n,e,l,{propertyIsArray:!0})}for(const e of l){const r=A.compactIri({activeCtx:t,iri:s,value:e,relativeTo:{vocab:!0},reverse:S}),l=t.mappings.has(r)?t.mappings.get(r)["@nest"]:null;let p=C;l&&(E(t,l,w),i(C[l])||(C[l]={}),p=C[l]);const m=d(t,r,"@container")||[],f=h(e),g=a(e);let P;g?P=e["@list"]:f&&(P=e["@graph"]);let T=await A.compact({activeCtx:t,activeProperty:r,element:g||f?P:e,options:w,compactionMap:v});if(g){if(n(T)||(T=[T]),m.includes("@list")){y(p,r,T,{valueIsArray:!0,allowDuplicate:!0});continue}T={[A.compactIri({activeCtx:t,iri:"@list",relativeTo:{vocab:!0}})]:T},"@index"in e&&(T[A.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=e["@index"])}if(f)if(m.includes("@graph")&&(m.includes("@id")||m.includes("@index")&&u(e))){let n;p.hasOwnProperty(r)?n=p[r]:p[r]=n={};const i=(m.includes("@id")?e["@id"]:e["@index"])||A.compactIri({activeCtx:t,iri:"@none",relativeTo:{vocab:!0}});y(n,i,T,{propertyIsArray:!w.compactArrays||m.includes("@set")})}else m.includes("@graph")&&u(e)?(n(T)&&T.length>1&&(T={"@included":T}),y(p,r,T,{propertyIsArray:!w.compactArrays||m.includes("@set")})):(n(T)&&1===T.length&&w.compactArrays&&(T=T[0]),T={[A.compactIri({activeCtx:t,iri:"@graph",relativeTo:{vocab:!0}})]:T},"@id"in e&&(T[A.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]=e["@id"]),"@index"in e&&(T[A.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=e["@index"]),y(p,r,T,{propertyIsArray:!w.compactArrays||m.includes("@set")}));else if(m.includes("@language")||m.includes("@index")||m.includes("@id")||m.includes("@type")){let n,i;if(p.hasOwnProperty(r)?n=p[r]:p[r]=n={},m.includes("@language"))c(T)&&(T=T["@value"]),i=e["@language"];else if(m.includes("@index")){const n=d(t,r,"@index")||"@index",s=A.compactIri({activeCtx:t,iri:n,relativeTo:{vocab:!0}});if("@index"===n)i=e["@index"],delete T[s];else{let t;if([i,...t]=b(T[n]||[]),o(i))switch(t.length){case 0:delete T[n];break;case 1:T[n]=t[0];break;default:T[n]=t}else i=null}}else if(m.includes("@id")){const e=A.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}});i=T[e],delete T[e]}else if(m.includes("@type")){const n=A.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}});let o;switch([i,...o]=b(T[n]||[]),o.length){case 0:delete T[n];break;case 1:T[n]=o[0];break;default:T[n]=o}1===Object.keys(T).length&&"@id"in e&&(T=await A.compact({activeCtx:t,activeProperty:r,element:{"@id":e["@id"]},options:w,compactionMap:v}))}i||(i=A.compactIri({activeCtx:t,iri:"@none",relativeTo:{vocab:!0}})),y(n,i,T,{propertyIsArray:m.includes("@set")})}else{const t=!w.compactArrays||m.includes("@set")||m.includes("@list")||n(T)&&0===T.length||"@list"===s||"@graph"===s;y(p,r,T,{propertyIsArray:t})}}}else{if((d(t,e,"@container")||[]).includes("@index"))continue;const r=A.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});y(C,r,l)}else{const r=await A.compact({activeCtx:t,activeProperty:e,element:l,options:w,compactionMap:v});n(r)&&0===r.length||y(C,s,r)}else{const e=await A.compact({activeCtx:t,activeProperty:"@reverse",element:l,options:w,compactionMap:v});for(const r in e)if(t.mappings.has(r)&&t.mappings.get(r).reverse){const n=e[r],i=(d(t,r,"@container")||[]).includes("@set")||!w.compactArrays;y(C,r,n,{propertyIsArray:i}),delete e[r]}if(Object.keys(e).length>0){const r=A.compactIri({activeCtx:t,iri:s,relativeTo:{vocab:!0}});y(C,r,e)}}else{let e=b(l).map((t=>A.compactIri({activeCtx:P,iri:t,relativeTo:{vocab:!0}})));1===e.length&&(e=e[0]);const r=A.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}}),i=(d(t,r,"@container")||[]).includes("@set")&&g(t,1.1)||n(e)&&0===l.length;y(C,r,e,{propertyIsArray:i})}else{let e=b(l).map((e=>A.compactIri({activeCtx:t,iri:e,relativeTo:{vocab:!1},base:w.base})));1===e.length&&(e=e[0]),C[A.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]=e}}return C}return p},A.compactIri=({activeCtx:t,iri:e,value:n=null,relativeTo:o={vocab:!1},reverse:s=!1,base:u=null})=>{if(null===e)return e;t.isPropertyTermScoped&&t.previousContext&&(t=t.previousContext);const l=t.getInverse();if(m(e)&&e in l&&"@none"in l[e]&&"@type"in l[e]["@none"]&&"@none"in l[e]["@none"]["@type"])return l[e]["@none"]["@type"]["@none"];if(o.vocab&&e in l){const r=t["@language"]||"@none",o=[];i(n)&&"@index"in n&&!("@graph"in n)&&o.push("@index","@index@set"),i(n)&&"@preserve"in n&&(n=n["@preserve"][0]),h(n)?("@index"in n&&o.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n&&o.push("@graph@id","@graph@id@set"),o.push("@graph","@graph@set","@set"),"@index"in n||o.push("@graph@index","@graph@index@set","@index","@index@set"),"@id"in n||o.push("@graph@id","@graph@id@set")):i(n)&&!c(n)&&o.push("@id","@id@set","@type","@set@type");let u="@language",l="@null";if(s)u="@type",l="@reverse",o.push("@set");else if(a(n)){"@index"in n||o.push("@list");const t=n["@list"];if(0===t.length)u="@any",l="@none";else{let e=0===t.length?r:null,n=null;for(let r=0;r<t.length;++r){const i=t[r];let o="@none",s="@none";if(c(i)?"@direction"in i?o=`${(i["@language"]||"").toLowerCase()}_${i["@direction"]}`:"@language"in i?o=i["@language"].toLowerCase():"@type"in i?s=i["@type"]:o="@null":s="@id",null===e?e=o:o!==e&&c(i)&&(e="@none"),null===n?n=s:s!==n&&(n="@none"),"@none"===e&&"@none"===n)break}e=e||"@none",n=n||"@none","@none"!==n?(u="@type",l=n):l=e}}else{if(c(n))if("@language"in n&&!("@index"in n)){o.push("@language","@language@set"),l=n["@language"];const t=n["@direction"];t&&(l=`${l}_${t}`)}else"@direction"in n&&!("@index"in n)?l=`_${n["@direction"]}`:"@type"in n&&(u="@type",l=n["@type"]);else u="@type",l="@id";o.push("@set")}o.push("@none"),i(n)&&!("@index"in n)&&o.push("@index","@index@set"),c(n)&&1===Object.keys(n).length&&o.push("@language","@language@set");const p=function(t,e,r,n,o,s){null===s&&(s="@null");const a=[];if(("@id"===s||"@reverse"===s)&&i(r)&&"@id"in r){"@reverse"===s&&a.push("@reverse");const e=A.compactIri({activeCtx:t,iri:r["@id"],relativeTo:{vocab:!0}});t.mappings.has(e)&&t.mappings.get(e)&&t.mappings.get(e)["@id"]===r["@id"]?a.push.apply(a,["@vocab","@id"]):a.push.apply(a,["@id","@vocab"])}else{a.push(s);const t=a.find((t=>t.includes("_")));t&&a.push(t.replace(/^[^_]+_/,"_"))}a.push("@none");const c=t.inverse[e];for(const t of n){if(!(t in c))continue;const e=c[t][o];for(const t of a)if(t in e)return e[t]}return null}(t,e,n,o,u,l);if(null!==p)return p}if(o.vocab&&"@vocab"in t){const r=t["@vocab"];if(0===e.indexOf(r)&&e!==r){const n=e.substr(r.length);if(!t.mappings.has(n))return n}}let p=null;const d=[];let f=t.fastCurieMap;const g=e.length-1;for(let t=0;t<g&&e[t]in f;++t)f=f[e[t]],""in f&&d.push(f[""][0]);for(let r=d.length-1;r>=0;--r){const i=d[r],o=i.terms;for(const r of o){const o=r+":"+e.substr(i.iri.length);t.mappings.get(r)._prefix&&(!t.mappings.has(o)||null===n&&t.mappings.get(o)["@id"]===e)&&(null===p||S(o,p)<0)&&(p=o)}}if(null!==p)return p;for(const[n,i]of t.mappings)if(i&&i._prefix&&e.startsWith(n+":"))throw new r(`Absolute IRI "${e}" confused with prefix "${n}".`,"jsonld.SyntaxError",{code:"IRI confused with prefix",context:t});return o.vocab?e:"@base"in t?t["@base"]?w(v(u,t["@base"]),e):e:w(u,e)},A.compactValue=({activeCtx:t,activeProperty:e,value:r,options:n})=>{if(c(r)){const n=d(t,e,"@type"),i=d(t,e,"@language"),s=d(t,e,"@direction"),a=d(t,e,"@container")||[],c="@index"in r&&!a.includes("@index");if(!c&&"@none"!==n){if(r["@type"]===n)return r["@value"];if("@language"in r&&r["@language"]===i&&"@direction"in r&&r["@direction"]===s)return r["@value"];if("@language"in r&&r["@language"]===i)return r["@value"];if("@direction"in r&&r["@direction"]===s)return r["@value"]}const h=Object.keys(r).length,u=1===h||2===h&&"@index"in r&&!c,l="@language"in t,p=o(r["@value"]),m=t.mappings.has(e)&&null===t.mappings.get(e)["@language"];if(u&&"@none"!==n&&(!l||!p||m))return r["@value"];const f={};return c&&(f[A.compactIri({activeCtx:t,iri:"@index",relativeTo:{vocab:!0}})]=r["@index"]),"@type"in r?f[A.compactIri({activeCtx:t,iri:"@type",relativeTo:{vocab:!0}})]=A.compactIri({activeCtx:t,iri:r["@type"],relativeTo:{vocab:!0}}):"@language"in r&&(f[A.compactIri({activeCtx:t,iri:"@language",relativeTo:{vocab:!0}})]=r["@language"]),"@direction"in r&&(f[A.compactIri({activeCtx:t,iri:"@direction",relativeTo:{vocab:!0}})]=r["@direction"]),f[A.compactIri({activeCtx:t,iri:"@value",relativeTo:{vocab:!0}})]=r["@value"],f}const i=p(t,e,{vocab:!0},n),s=d(t,e,"@type"),a=A.compactIri({activeCtx:t,iri:r["@id"],relativeTo:{vocab:"@vocab"===s},base:n.base});return"@id"===s||"@vocab"===s||"@graph"===i?a:{[A.compactIri({activeCtx:t,iri:"@id",relativeTo:{vocab:!0}})]:a}}}}),So=b({"../node_modules/jsonld/lib/JsonLdProcessor.js"(t,e){e.exports=t=>{class e{toString(){return"[object JsonLdProcessor]"}}return Object.defineProperty(e,"prototype",{writable:!1,enumerable:!1}),Object.defineProperty(e.prototype,"constructor",{writable:!0,enumerable:!1,configurable:!0,value:e}),e.compact=function(e,r){return arguments.length<2?Promise.reject(new TypeError("Could not compact, too few arguments.")):t.compact(e,r)},e.expand=function(e){return arguments.length<1?Promise.reject(new TypeError("Could not expand, too few arguments.")):t.expand(e)},e.flatten=function(e){return arguments.length<1?Promise.reject(new TypeError("Could not flatten, too few arguments.")):t.flatten(e)},e}}}),Ao=b({"../node_modules/jsonld/lib/jsonld.js"(t,e){var r=$i(),n=io(),i=Zi(),o=ho(),s=i.IdentifierIssuer,a=Yi(),c=ao(),h=uo(),{expand:u}=po(),{flatten:l}=fo(),{fromRDF:p}=go(),{toRDF:d}=vo(),{frameMergedOrDefault:m,cleanupNull:f}=yo(),{isArray:g,isObject:w,isString:v}=Xi(),{isSubjectReference:y}=Qi(),{expandIri:b,getInitialContext:S,process:A,processingMode:E}=lo(),{compact:C,compactIri:P}=bo(),{createNodeMap:T,createMergedNodeMap:k,mergeNodeMaps:F}=mo(),R=function(t){const e={},R=new c({max:100});function x(e,{documentLoader:r=t.documentLoader,...n}){return Object.assign({},{documentLoader:r},n,e)}return t.compact=async function(e,r,n){if(arguments.length<2)throw new TypeError("Could not compact, too few arguments.");if(null===r)throw new a("The compaction context must not be null.","jsonld.CompactError",{code:"invalid local context"});if(null===e)return null;let c;(n=x(n,{base:v(e)?e:"",compactArrays:!0,compactToRelative:!0,graph:!1,skipExpansion:!1,link:!1,issuer:new s("_:b"),contextResolver:new o({sharedCache:R})})).link&&(n.skipExpansion=!0),n.compactToRelative||delete n.base,c=n.skipExpansion?e:await t.expand(e,n);const h=await t.processContext(S(n),r,n);let u=await C({activeCtx:h,element:c,options:n,compactionMap:n.compactionMap});n.compactArrays&&!n.graph&&g(u)?1===u.length?u=u[0]:0===u.length&&(u={}):n.graph&&w(u)&&(u=[u]),w(r)&&"@context"in r&&(r=r["@context"]),r=i.clone(r),g(r)||(r=[r]);const l=r;r=[];for(let t=0;t<l.length;++t)(!w(l[t])||Object.keys(l[t]).length>0)&&r.push(l[t]);const p=r.length>0;if(1===r.length&&(r=r[0]),g(u)){const t=P({activeCtx:h,iri:"@graph",relativeTo:{vocab:!0}}),e=u;u={},p&&(u["@context"]=r),u[t]=e}else if(w(u)&&p){const t=u;u={"@context":r};for(const e in t)u[e]=t[e]}return u},t.expand=async function(e,r){if(arguments.length<1)throw new TypeError("Could not expand, too few arguments.");!1===(r=x(r,{keepFreeFloatingNodes:!1,contextResolver:new o({sharedCache:R})})).expansionMap&&(r.expansionMap=void 0);const n={},s=[];if("expandContext"in r){const t=i.clone(r.expandContext);n.expandContext=w(t)&&"@context"in t?t:{"@context":t},s.push(n.expandContext)}let a;if(v(e)){const i=await t.get(e,r);a=i.documentUrl,n.input=i.document,i.contextUrl&&(n.remoteContext={"@context":i.contextUrl},s.push(n.remoteContext))}else n.input=i.clone(e);"base"in r||(r.base=a||"");let c=S(r);for(const t of s)c=await A({activeCtx:c,localCtx:t,options:r});let h=await u({activeCtx:c,element:n.input,options:r,expansionMap:r.expansionMap});return w(h)&&"@graph"in h&&1===Object.keys(h).length?h=h["@graph"]:null===h&&(h=[]),g(h)||(h=[h]),h},t.flatten=async function(e,r,n){if(arguments.length<1)return new TypeError("Could not flatten, too few arguments.");r="function"==typeof r?null:r||null,n=x(n,{base:v(e)?e:"",contextResolver:new o({sharedCache:R})});const i=await t.expand(e,n),s=l(i);if(null===r)return s;n.graph=!0,n.skipExpansion=!0;const a=await t.compact(s,r,n);return a},t.frame=async function(e,r,n){if(arguments.length<2)throw new TypeError("Could not frame, too few arguments.");if(n=x(n,{base:v(e)?e:"",embed:"@once",explicit:!1,requireAll:!1,omitDefault:!1,bnodesToClear:[],contextResolver:new o({sharedCache:R})}),v(r)){const e=await t.get(r,n);if(r=e.document,e.contextUrl){let t=r["@context"];t?g(t)?t.push(e.contextUrl):t=[t,e.contextUrl]:t=e.contextUrl,r["@context"]=t}}const i=r&&r["@context"]||{},s=await t.processContext(S(n),i,n);n.hasOwnProperty("omitGraph")||(n.omitGraph=E(s,1.1)),n.hasOwnProperty("pruneBlankNodeIdentifiers")||(n.pruneBlankNodeIdentifiers=E(s,1.1));const a=await t.expand(e,n),c={...n};c.isFrame=!0,c.keepFreeFloatingNodes=!0;const h=await t.expand(r,c),u=Object.keys(r).map((t=>b(s,t,{vocab:!0})));c.merged=!u.includes("@graph"),c.is11=E(s,1.1);const l=m(a,h,c);c.graph=!n.omitGraph,c.skipExpansion=!0,c.link={},c.framing=!0;let p=await t.compact(l,i,c);return c.link={},p=f(p,c),p},t.link=async function(e,r,n){const i={};return r&&(i["@context"]=r),i["@embed"]="@link",t.frame(e,i,n)},t.normalize=t.canonize=async function(e,n){if(arguments.length<1)throw new TypeError("Could not canonize, too few arguments.");if("inputFormat"in(n=x(n,{base:v(e)?e:"",algorithm:"URDNA2015",skipExpansion:!1,contextResolver:new o({sharedCache:R})}))){if("application/n-quads"!==n.inputFormat&&"application/nquads"!==n.inputFormat)throw new a("Unknown canonicalization input format.","jsonld.CanonizeError");const t=h.parse(e);return r.canonize(t,n)}const i={...n};delete i.format,i.produceGeneralizedRdf=!1;const s=await t.toRDF(e,i);return r.canonize(s,n)},t.fromRDF=async function(t,r){if(arguments.length<1)throw new TypeError("Could not convert from RDF, too few arguments.");r=x(r,{format:v(t)?"application/n-quads":void 0});const{format:n}=r;let{rdfParser:i}=r;if(n){if(i=i||e[n],!i)throw new a("Unknown input format.","jsonld.UnknownFormat",{format:n})}else i=()=>t;const o=await i(t);return p(o,r)},t.toRDF=async function(e,r){if(arguments.length<1)throw new TypeError("Could not convert to RDF, too few arguments.");let n;n=(r=x(r,{base:v(e)?e:"",skipExpansion:!1,contextResolver:new o({sharedCache:R})})).skipExpansion?e:await t.expand(e,r);const i=d(n,r);if(r.format){if("application/n-quads"===r.format||"application/nquads"===r.format)return h.serialize(i);throw new a("Unknown output format.","jsonld.UnknownFormat",{format:r.format})}return i},t.createNodeMap=async function(e,r){if(arguments.length<1)throw new TypeError("Could not create node map, too few arguments.");r=x(r,{base:v(e)?e:"",contextResolver:new o({sharedCache:R})});const n=await t.expand(e,r);return k(n,r)},t.merge=async function(e,r,n){if(arguments.length<1)throw new TypeError("Could not merge, too few arguments.");if(!g(e))throw new TypeError('Could not merge, "docs" must be an array.');r="function"==typeof r?null:r||null,n=x(n,{contextResolver:new o({sharedCache:R})});const a=await Promise.all(e.map((e=>{const r={...n};return t.expand(e,r)})));let c=!0;"mergeNodes"in n&&(c=n.mergeNodes);const h=n.issuer||new s("_:b"),u={"@default":{}};for(let t=0;t<a.length;++t){const e=i.relabelBlankNodes(a[t],{issuer:new s("_:b"+t+"-")}),r=c||0===t?u:{"@default":{}};if(T(e,r,"@default",h),r!==u)for(const t in r){const e=r[t];if(!(t in u)){u[t]=e;continue}const n=u[t];for(const t in e)t in n||(n[t]=e[t])}}const l=F(u),p=[],d=Object.keys(l).sort();for(let t=0;t<d.length;++t){const e=l[d[t]];y(e)||p.push(e)}if(null===r)return p;n.graph=!0,n.skipExpansion=!0;const m=await t.compact(p,r,n);return m},Object.defineProperty(t,"documentLoader",{get:()=>t._documentLoader,set:e=>t._documentLoader=e}),t.documentLoader=async t=>{throw new a("Could not retrieve a JSON-LD document from the URL. URL dereferencing not implemented.","jsonld.LoadDocumentError",{code:"loading document failed",url:t})},t.get=async function(e,r){let n;n="function"==typeof r.documentLoader?r.documentLoader:t.documentLoader;const i=await n(e);try{if(!i.document)throw new a("No remote document found at the given URL.","jsonld.NullRemoteDocument");v(i.document)&&(i.document=JSON.parse(i.document))}catch(t){throw new a("Could not retrieve a JSON-LD document from the URL.","jsonld.LoadDocumentError",{code:"loading document failed",cause:t,remoteDoc:i})}return i},t.processContext=async function(t,e,r){return r=x(r,{base:"",contextResolver:new o({sharedCache:R})}),null===e?S(r):(e=i.clone(e),w(e)&&"@context"in e||(e={"@context":e}),A({activeCtx:t,localCtx:e,options:r}))},t.getContextValue=lo().getContextValue,t.documentLoaders={},t.useDocumentLoader=function(e){if(!(e in t.documentLoaders))throw new a('Unknown document loader type: "'+e+'"',"jsonld.UnknownDocumentLoader",{type:e});t.documentLoader=t.documentLoaders[e].apply(t,Array.prototype.slice.call(arguments,1))},t.registerRDFParser=function(t,r){e[t]=r},t.unregisterRDFParser=function(t){delete e[t]},t.registerRDFParser("application/n-quads",h.parse),t.registerRDFParser("application/nquads",h.parse),t.url=ro(),t.util=i,Object.assign(t,i),t.promises=t,t.RequestQueue=eo(),t.JsonLdProcessor=So()(t),n.setupGlobals(t),n.setupDocumentLoaders(t),t},x=function(){return R((function(){return x()}))};R(x),e.exports=x}}),Eo=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)))}}),Co=E(bi());function Po(t){return(Po="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 To(t){var e=function(t){if("object"!==Po(t)||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var r=e.call(t,"string");if("object"!==Po(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===Po(e)?e:String(e)}function ko(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,To(n.key),n)}}function Fo(t,e,r){return e&&ko(t.prototype,e),r&&ko(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ro(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xo(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Oo(t,e){return(Oo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function Do(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&&Oo(t,e)}function Io(t,e){if(e&&("object"===Po(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return xo(t)}function Mo(t){return(Mo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _o(t,e,r){return(e=To(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var jo={Literal:1,Collection:3,Graph:4,NamedNode:5,BlankNode:6,Variable:7},No=function(){function t(e){Ro(this,t),_o(this,"termType",void 0),_o(this,"classOrder",void 0),_o(this,"value",void 0),this.value=e}return Fo(t,[{key:"substitute",value:function(){return 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(No,"fromValue",void 0),_o(No,"toJS",void 0);var Lo="NamedNode",Bo="BlankNode",Uo="Literal",Ho="Variable",Wo="DefaultGraph",qo="Collection",Vo="Empty",Go="Graph",Jo="text/html",Ko="application/ld+json",zo="text/n3",$o="application/nquads",Xo="application/n-quads",Qo="application/rdf+xml",Yo="application/sparql-update",Zo="application/sparql-update-single-match",ts="text/turtle",es="application/xhtml+xml";var rs=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(t){var e;return Ro(this,n),_o(xo(e=r.call(this,n.getId(t))),"termType",Bo),_o(xo(e),"classOrder",jo.BlankNode),_o(xo(e),"isBlank",1),_o(xo(e),"isVar",1),e}return Fo(n,[{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 n;return t.copyTo(this,e),e}},{key:"toCanonical",value:function(){return n.NTAnonymousNodePrefix+this.value}},{key:"toString",value:function(){return n.NTAnonymousNodePrefix+this.id}}],[{key:"getId",value:function(t){if(t){if("string"!=typeof t)throw 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"+n.nextId++}}]),n}();function ns(t){return"string"==typeof t?t:t.value}function is(t){return"object"===Po(t)&&null!==t&&"subject"in t}function os(t){return"object"===Po(t)&&null!==t&&"statements"in t}function ss(t){return us(t)&&t.termType===qo}function as(t){return t&&Object.prototype.hasOwnProperty.call(t,"termType")&&(t.termType===Lo||t.termType===Ho||t.termType===Bo||t.termType===qo||t.termType===Uo||t.termType===Go)}function cs(t){return t&&Object.prototype.hasOwnProperty.call(t,"termType")&&(t.termType===Lo||t.termType===Ho||t.termType===Bo||t.termType===qo||t.termType===Uo||t.termType===Go)}function hs(t){return us(t)&&(t.termType===Lo||t.termType===Bo||t.termType===Ho)}function us(t){return"object"===Po(t)&&null!==t&&"termType"in t}function ls(t){return t.termType===Uo}function ps(t){return"object"===Po(t)&&null!==t&&"subject"in t&&"predicate"in t&&"object"in t}function ds(t){return us(t)&&"NamedNode"===t.termType}function ms(t){return us(t)&&"termType"in t&&"BlankNode"===t.termType}function fs(t){return us(t)&&(t.termType===Lo||t.termType===Ho||t.termType===Bo||t.termType===Wo)}_o(rs,"nextId",0),_o(rs,"NTAnonymousNodePrefix","_:");var gs=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(t){var e;if(Ro(this,n),_o(xo(e=r.call(this,ns(t))),"termType",Lo),_o(xo(e),"classOrder",jo.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 Fo(n,[{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 n(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 n(r<0?t.slice(0)+"/":t.slice(0,r+1))}},{key:"doc",value:function(){return this.value.indexOf("#")<0?this:new n(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||us(t)?t:new n(t)}}]),n}(),ws={boolean:new gs("http://www.w3.org/2001/XMLSchema#boolean"),dateTime:new gs("http://www.w3.org/2001/XMLSchema#dateTime"),decimal:new gs("http://www.w3.org/2001/XMLSchema#decimal"),double:new gs("http://www.w3.org/2001/XMLSchema#double"),integer:new gs("http://www.w3.org/2001/XMLSchema#integer"),langString:new gs("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),string:new gs("http://www.w3.org/2001/XMLSchema#string")};var vs=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(t,e,i){var o;return Ro(this,n),_o(xo(o=r.call(this,t)),"termType",Uo),_o(xo(o),"classOrder",jo.Literal),_o(xo(o),"datatype",ws.string),_o(xo(o),"isVar",0),_o(xo(o),"language",""),e?(o.language=e,o.datatype=ws.langString):o.datatype=i?gs.fromValue(i):ws.string,o}return Fo(n,[{key:"copy",value:function(){return new n(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 n.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(ws.string)||(e+="^^"+t.datatype.toCanonical()),e}},{key:"fromBoolean",value:function(t){return new n(t?"1":"0",null,ws.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 n(t.getUTCFullYear()+"-"+e(t.getUTCMonth()+1)+"-"+e(t.getUTCDate())+"T"+e(t.getUTCHours())+":"+e(t.getUTCMinutes())+":"+e(t.getUTCSeconds())+"Z",null,ws.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)?ws.integer:ws.decimal:ws.double,new n(r,null,e)}},{key:"fromValue",value:function(t){if(ls(t))return t;switch(Po(t)){case"object":if(t instanceof Date)return n.fromDate(t);case"boolean":return n.fromBoolean(t);case"number":return n.fromNumber(t);case"string":return new n(t)}throw new Error("Can't make literal from "+t+" of type "+Po(t))}}]),n}();function ys(t){return null==t||us(t)?t:Array.isArray(t)?new bs(t):vs.fromValue(t)}var bs=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(t){var e;return Ro(this,n),_o(xo(e=r.call(this,(rs.nextId++).toString())),"termType",qo),_o(xo(e),"classOrder",jo.Collection),_o(xo(e),"closed",!1),_o(xo(e),"compareTerm",rs.prototype.compareTerm),_o(xo(e),"elements",[]),_o(xo(e),"isVar",0),t&&t.length>0&&t.forEach((function(t){e.elements.push(ys(t))})),e}return Fo(n,[{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){return new n(this.elements.map((function(e){return e.substitute(t)})))}},{key:"toNT",value:function(){return n.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 rs.NTAnonymousNodePrefix+t.id}}]),n}();function Ss(t,e,r,n,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void r(t)}a.done?e(c):Promise.resolve(c).then(n,i)}function As(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function s(t){Ss(o,n,i,s,a,"next",t)}function a(t){Ss(o,n,i,s,a,"throw",t)}s(void 0)}))}}_o(bs,"termType",qo);var Es=E(Ei()),Cs="chrome:theSession";new gs(Cs);var Ps=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(){var t;return Ro(this,n),_o(xo(t=r.call(this,"")),"value",""),_o(xo(t),"termType",Wo),_o(xo(t),"uri",Cs),t}return Fo(n,[{key:"toCanonical",value:function(){return this.value}},{key:"toString",value:function(){return"DefaultGraph"}}]),n}();function Ts(t){return!!t&&t.termType===Wo}var ks=new Ps,Fs=function(){function t(e,r,n,i){Ro(this,t),_o(this,"subject",void 0),_o(this,"predicate",void 0),_o(this,"object",void 0),_o(this,"graph",void 0),this.subject=No.fromValue(e),this.predicate=No.fromValue(r),this.object=No.fromValue(n),this.graph=null==i?ks:No.fromValue(i)}return Fo(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){return new t(this.subject.substitute(e),this.predicate.substitute(e),this.object.substitute(e),Ts(this.graph)?this.graph:this.graph.substitute(e))}},{key:"toCanonical",value:function(){var t=[this.subject.toCanonical(),this.predicate.toCanonical(),this.object.toCanonical()];return this.graph&&this.graph.termType!==Wo&&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(),Ts(this.graph)?"":this.graph.toNT()].join(" ")+" ."}},{key:"toString",value:function(){return this.toNT()}}]),t}(),Rs={};S(Rs,{docpart:()=>Os,document:()=>Ds,hostpart:()=>Is,join:()=>Ms,protocol:()=>_s,refTo:()=>js});var xs=xs||console.log;function Os(t){var e;return(e=t.indexOf("#"))<0?t:t.slice(0,e)}function Ds(t){return new gs(Os(t))}function Is(t){var e=/[^\/]*\/\/([^\/]*)\//.exec(t);return e?e[1]:""}function Ms(t,e){var r,n,i,o,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 xs("Invalid base: "+e+" in join with given: "+t),t;if(n=e.slice(0,+r+1||9e9),0===t.indexOf("//"))return n+t;if(e.indexOf("//",r)===r+1){if((i=e.indexOf("/",r+3))<0)return e.length-r-3>0?e+"/"+t:n+t}else if((i=e.indexOf("/",r+1))<0)return e.length-r-1>0?e+"/"+t:n+t;if(0===t.indexOf("/"))return e.slice(0,i)+t;if((o=(s=e.slice(i)).lastIndexOf("/"))<0)return n+t;for(o>=0&&o<s.length-1&&(s=s.slice(0,+o+1||9e9)),s+=t;s.match(/[^\/]*\/\.\.\//);)s=s.replace(/[^\/]*\/\.\.\//,"");return s=(s=s.replace(/\.\//g,"")).replace(/\/\.$/,"/"),e.slice(0,i)+s}function _s(t){var e=t.indexOf(":");return e<0?null:t.slice(0,e)}function js(t,e){var r,n,i,o,s,a,c,h,u,l,p,d,m=new RegExp("^[-_a-zA-Z0-9.]+:(//[^/]*)?/[^/]*$");if(!t)return e;if(t===e)return"";for(r=c=0,o=e.length;c<o&&e[r]===t[r];r=++c);if(t.slice(0,r).match(m)&&((n=e.indexOf("//"))<0&&(n=-2),i=e.indexOf("/",n+2),"/"!==e[i+1]&&"/"!==t[i+1]&&e.slice(0,i)===t.slice(0,i)))return e.slice(i);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,h=0,s=(l=t.slice(r)).length;h<s;h++)"/"===l[h]&&a++;if(0===a&&r<e.length&&"#"===e[r])return"./"+e.slice(r);if(0===a&&r===e.length)return"./";if(d="",a>0)for(u=1,p=a;p>=1?u<=p:u>=p;p>=1?++u:--u)d+="../";return d+e.slice(r)}var Ns,Ls,Bs,Us=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Ro(this,n),_o(xo(t=r.call(this,e)),"termType",Ho),_o(xo(t),"base","varid:"),_o(xo(t),"classOrder",jo.Variable),_o(xo(t),"isVar",1),_o(xo(t),"uri",void 0),t.base="varid:",t.uri=Ms(e,t.base),t}return Fo(n,[{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 n.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)}}]),n}();(Ls=Ns||(Ns={})).collections="COLLECTIONS",Ls.defaultGraphType="DEFAULT_GRAPH_TYPE",Ls.equalsMethod="EQUALS_METHOD",Ls.id="ID",Ls.identity="IDENTITY",Ls.reversibleId="REVERSIBLE_ID",Ls.variableType="VARIABLE_TYPE";var Hs=new Ps,Ws={supports:(Bs={},_o(Bs,Ns.collections,!1),_o(Bs,Ns.defaultGraphType,!1),_o(Bs,Ns.equalsMethod,!0),_o(Bs,Ns.identity,!1),_o(Bs,Ns.id,!0),_o(Bs,Ns.reversibleId,!1),_o(Bs,Ns.variableType,!0),Bs),blankNode:function(t){return new rs(t)},defaultGraph:function(){return Hs},equals:function(t,e){return t===e||!t||!e||(ps(t)||ps(e)?!(!ps(t)||!ps(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):!(!us(t)||!us(e))&&this.id(t)===this.id(e))},id:function(t){if(!t)return"undefined";if(ps(t))return this.quadToNQ(t);switch(t.termType){case Wo:return"defaultGraph";case Ho:return Us.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 Fs},literal:function(t,e){if("string"!=typeof t&&!e)return vs.fromValue(t);var r="string"==typeof t?t:""+t;return"string"==typeof e?-1===e.indexOf(":")?new vs(r,e):new vs(r,null,this.namedNode(e)):new vs(r,null,e)},namedNode:function(t){return new gs(t)},quad:function(t,e,r,n){return new Fs(t,e,r,n||Hs)},triple:function(t,e,r,n){return this.quad(t,e,r,n)},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 Bo:return"_:"+t.value;case Wo:return"";case Vo:return"<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil>";case Uo:return vs.toNT(t);case Go:case Lo:return"<"+t.value+">";case qo: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 Us(t)}},qs=Ws,Vs=function(){},Gs=function(){},Js=function(){},Ks=function(){};function zs(t,e){var r=e||{namedNode:function(t){return new gs(t)}};return function(e){return r.namedNode(t+(e||""))}}var $s=E(Ri());function Xs(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 n=0;n<t.callbacks[e].length;n++)if(t.callbacks[e][n].name===r)return t.callbacks[e].splice(n,1),!0;return!1},t.insertCallback=function(e,r){t.callbacks[e].unshift(r)},t.fireCallbacks=function(e,r){var n,i,o=[],s=[],a=t.callbacks[e].length;for(n=a-1;n>=0;n--)(i=t.callbacks[e][n])&&i.apply(t,r)&&o.push(i);for(n=o.length-1;n>=0;n--)s.push(o[n]);for(n=a;n<t.callbacks[e].length;n++)s.push(t.callbacks[e][n]);t.callbacks[e]=s}}function Qs(t,e){var r=[];(e=e||{})&&e.selfClosing&&e.selfClosing.split(" ").forEach((function(t){r[t]=!0}));var n=[];return e&&e.skipAttributes&&e.skipAttributes.split(" ").forEach((function(t){n[t]=!0})),Ys(t,e,r,n)}function Ys(t,e,r,n){var i,o="",s=[!1];if(void 0===t.nodeType)return o;if(1===t.nodeType){if(t.hasAttribute("class")&&e&&e.classWithChildText&&t.matches(e.classWithChildText.class))o+=t.querySelector(e.classWithChildText.element).textContent;else if(!(e&&e.skipNodeWithClass&&t.matches("."+e.skipNodeWithClass))){var a=t.nodeName.toLowerCase();o+="<"+a;var c=[];for(i=t.attributes.length-1;i>=0;i--){var h=t.attributes[i];if(!(n&&n.length>0&&n[h.name]||/^\d+$/.test(h.name))){if("class"===h.name&&e&&e.replaceClassItemWith&&h.value.split(" ").indexOf(e.replaceClassItemWith.source)>-1){var u=new RegExp(e.replaceClassItemWith.source,"g");h.value=h.value.replace(u,e.replaceClassItemWith.target).trim()}"class"===h.name&&e&&e.skipClassWithValue&&e.skipClassWithValue===h.value||c.push(h.name+"='"+h.value.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,""")+"'")}}if(c.length>0&&(e&&e.sortAttributes&&c.sort((function(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())})),o+=" "+c.join(" ")),r&&r.ename)o+=" />";else{for(o+=">",o+="html"===a?"\n ":"",s.push("style"===a||"script"===a),i=0;i<t.childNodes.length;i++)o+=Ys(t.childNodes[i]);s.pop(),o+="body"===a?"</"+a+">\n":"</"+a+">"}}}else if(8===t.nodeType)o+="\x3c!--"+t.nodeValue+"--\x3e";else if(3===t.nodeType||4===t.nodeType){var l=t.nodeValue.replace(/\n+$/,"");o+=s[s.length-1]?l:l.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")}else console.log("Warning; Cannot handle serialising nodes of type: "+t.nodeType),console.log(t);return o}function Zs(t,e,r,n){var i=function(t){return"BlankNode"===t.termType?null:t},o=function(t){var e=r.statementsMatching(t).map((function(t){return i(t.subject)+" "+i(t.predicate)+" "+i(t.object)})).concat(r.statementsMatching(void 0,void 0,t).map((function(t){return i(t.subject)+" "+i(t.predicate)+" "+i(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:o(t)>o(e)?1:o(t)<o(e)?-1:s:n&&t.uri&&e.uri?(n[t.uri]||t.uri).localeCompare(n[e.uri]||e.uri):s}function ta(t,e){return e=e||{},"undefined"!=typeof module&&module&&module.exports?(new $s.DOMParser).parseFromString(t,e.contentType||"application/xhtml+xml"):("undefined"!=typeof window&&window.DOMParser?new window.DOMParser:new $s.DOMParser).parseFromString(t,"application/xml")}function ea(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 ra(t){var e=t+"\n";if(!t.stack)return e+"No stack available.\n";for(var r=t.stack.toString().split("\n"),n=[],i=0;i<r.length;i++){var o=r[i];if(o.indexOf("ecmaunit.js")>-1)break;"("==o.charAt(0)&&(o="function"+o);var s=o.split("@");n.push(s)}for(i=0;i<n.length;i++)e+=" "+n[i][1]+"\n "+n[i][0];return e}function na(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:qs;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")}}na(qs);var ia=E(xi()),oa=E(Ni());function sa(t){return new aa(t)}var aa=function(){function t(e){Ro(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,ia.default)());for(var n in r){var i=(0,ia.default)()[r[n]](""),o=r[n];this.prefixes[i]=o,this.namespaces[o]=i}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||qs,this.xsd=na(this.rdfFactory)}return Fo(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 n=e.lastIndexOf("/");n>=0&&(e=e.slice(n+1));for(var i=0;i<e.length&&this.prefixchars.indexOf(e[i]);)i++;if((e=e.slice(0,i)).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 o=0;;o++)if(r(e.slice(0,3)+o))return e.slice(0,3)+o}},{key:"rootSubjects",value:function(t){for(var e={},r={},n={},i=0;i<t.length;i++){var o=t[i],s=function(t){e.hasOwnProperty(t)||(e[t]=[]),e[t].push(o.subject)};[o.subject,o.predicate,o.object].map((function(t){"BlankNode"===t.termType?n[t.toNT()]=!0:"Collection"===t.termType&&t.elements.forEach((function(t){s(t)}))})),s(t[i].object);var a=r[this.toStr(o.subject)];a||(a=[]),a.push(o),r[this.toStr(o.subject)]=a}var c=[];for(var h in r)if(r.hasOwnProperty(h)){var u=this.fromStr(h);"BlankNode"===u.termType&&e[u]&&1===e[u].length||c.push(u)}this.incoming=e;for(var l={},p=0;p<c.length;p++)l[c[p].toNT()]=!0;return{roots:c,subjects:r,rootsHash:l,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?js(this.base,t):this.flags.indexOf("u")>=0?function(t){for(var e,r="",n=0;n<t.length;n++)r+=(e=t.charCodeAt(n))>65535?"\\U"+("00000000"+e.toString(16)).slice(-8):e>126?"\\u"+("0000"+e.toString(16)).slice(-4):t[n];return r}(t):encodeURI(t))+">"}},{key:"statementsToNTriples",value:function(t){var e=t.slice();e.sort();for(var r="",n="http://www.w3.org/1999/02/22-rdf-syntax-ns#",i=this,o=this.store,s=this.rdfFactory,a=function t(e){if("Collection"!==e.termType)return i.atomicTermToN3(e);for(var a=e.elements,c=o.sym(n+"nill"),h=a.length-1;h>=0;h--){var u=s.blankNode();r+=t(u)+" "+t(o.sym(n+"first"))+" "+t(a[h])+".\n",r+=t(u)+" "+t(o.sym(n+"rest"))+" "+t(c)+".\n",c=u}return i.atomicTermToN3(c)},c=0;c<e.length;c++){var h=e[c],u="";u+=a(h.subject)+" ",u+=a(h.predicate)+" ",u+=a(h.object)+" ",this.flags.indexOf("q")>=0&&(u+=a(h.why)+" "),r+=u+=".\n"}return r}},{key:"statementsToN3",value:function(e){var r=this.store,n={"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":"aaa:00"};e.sort((function(t,e){return function(t,e,r,n){return Zs(t.subject,e.subject,r,n)||Zs(t.predicate,e.predicate,r,n)||Zs(t.object,e.object,r,n)}(t,e,r,n)})),this.base&&!this.defaultNamespace&&(this.defaultNamespace=this.base+"#");var i={};this.flags.indexOf("s")<0&&(i["http://www.w3.org/2002/07/owl#sameAs"]="="),this.flags.indexOf("t")<0&&(i["http://www.w3.org/1999/02/22-rdf-syntax-ns#type"]="a"),this.flags.indexOf("i")<0&&(i["http://www.w3.org/2000/10/swap/log#implies"]="=>");var o=function(t){for(var e="",r=0;r<t;r++)e+=" ";return e},s=function t(e){for(var r="",n=0;n<e.length;n++){var i=e[n],o="string"==typeof i?i:t(i);if(0!==n){var s=r.slice(-1)||" ";","===o||";"===o||("."!==o||"0123456789.:".includes(s))&&(r+=" ")}r+=o}return r},a=function(t){for(var e=this.rootSubjects(t),r=e.roots,n=[],i=0;i<r.length;i++)n.push(c(r[i],e));return n}.bind(this);function c(t,e){return"BlankNode"!==t.termType||e.incoming[t]?[l(t,e)].concat([h(t,e)]).concat(["."]):u(t,e,!0).concat(["."])}var h=function(t,e){var r=[],n=null,o=e.subjects[this.toStr(t)]||[];if(void 0===o)throw new Error("Cant find statements for "+t);for(var s=[],a=0;a<o.length;a++){var c=o[a];c.predicate.uri===n?s.push(","):(n&&(r=r.concat([s]).concat([";"]),s=[]),r.push(i[c.predicate.uri]?i[c.predicate.uri]:l(c.predicate,e))),n=c.predicate.uri,s.push(u(c.object,e))}return r.concat([s])}.bind(this),u=function(t,e,r){return"BlankNode"!==t.termType||!r&&void 0!==e.rootsHash[t.toNT()]?l(t,e):e.subjects[this.toStr(t)]?["[",h(t,e),"]"]:"[]"}.bind(this);t.prototype.termToN3=l;var l=function(t,e){var r,n;switch(t.termType){case"Graph":return(n=(n=["{"]).concat(a(t.statements))).concat(["}"]);case"Collection":for(n=["("],r=0;r<t.elements.length;r++)n.push([u(t.elements[r],e)]);return n.push(")"),n;default:return this.atomicTermToN3(t)}}.bind(this),p=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),d=a(e);return p()+function t(e,r){var n="",i=1e5;void 0===r&&(r=-1);for(var a=0;a<e.length;a++){var c=e[a];if("string"!=typeof c){var h=t(c,r+1);if(h.length<10*(80-4*r)&&h.indexOf('"""')<0){var u=s(c);u.length<80-4*r&&(c=u,h="")}h&&(i=1e4),n+=h}if("string"==typeof c){if(1===c.length&&"\n"===n.slice(-1)&&",.;".indexOf(c)>=0){n=n.slice(0,-1),"."==c&&"0123456789.:".includes(n.charAt(n.length-1))&&(n+=" ",i+=1),n+=c+"\n",i+=1;continue}if(i<4*r+4||i+c.length+1<80&&";.".indexOf(n[n.length-2])<0)n=n.slice(0,-1)+" "+c+"\n",i+=c.length+1;else{var l=o(4*r)+c;n+=l+"\n",i=l.length,r<0&&(n+="\n",i=1e5)}}}return n}(d)}},{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 n=r.toLowerCase().indexOf("e")>0;return r.indexOf(".")<0&&!n&&(r+=".0"),n||(r+="e0"),r;case"http://www.w3.org/2001/XMLSchema#boolean":return"1"===t.value?"true":"false"}var i=this.stringToN3(t.value);return t.language?i+="@"+t.language:t.datatype.equals(this.xsd.string)||(i+="^^"+this.atomicTermToN3(t.datatype,e)),i;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,n,i,o,s,a="";for(t.length>20&&'"'!==t.slice(-1)&&e.indexOf("n")<0&&(t.indexOf("\n")>0||t.indexOf('"')>0)?(o='"""',s=this.forbidden3):(o='"',s=this.forbidden1),r=0;r<t.length&&(s.lastIndex=0,null!=s.exec(t.slice(r)));){a+=t.slice(r,n=r+s.lastIndex-1);var c=t[n];'"'===c&&'"""'===o&&'"""'!==t.slice(n,n+3)?a+=c:(i='\b\f\r\t\v\n\\"'.indexOf(c))>=0?a+="\\"+'bfrtvn\\"'[i]:e.indexOf("e")>=0?a+="\\u"+("000"+c.charCodeAt(0).toString(16).toLowerCase()).slice(-4):a+=c,r=n+1}return o+a+t.slice(r)+o}},{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 n=!0,i=r+1;i<e.length;i++)if(this._notNameChars.indexOf(e[i])>=0){n=!1;break}if(n){var o=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(o)<0?o:":"+o;var a=this.prefixes[s];if(a||(a=this.makeUpPrefix(s)),a)return this.namespacesUsed[s]=!0,a+":"+o}}return this.explicitURI(e)}},{key:"writeStore",value:function(t){var e=this.store,r=e.fetcher,n=r&&r.appNode,i=this.store.index[3];for(var o in i){var s=e.fromNT(o);n&&s.equals(n)||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 n=e.statementsMatching(void 0,void 0,void 0,r.subject);t(this.statementsToN3(this.statementsToN3(n))),t("}.\n")}));var a=[];n&&a.push(n);var c=[];a.map((function(t){c=c.concat(e.statementsMatching(void 0,void 0,void 0,t))})),t(this.statementsToN3(c))}},{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#_",n=function(t){for(var e="",r=0;r<t;r++)e+=" ";return e},i=function t(e){for(var r="",n=0;n<e.length;n++){var i=e[n];r+="string"==typeof i?i:t(i)}return r},o=function(t){this.suggestPrefix("rdf","http://www.w3.org/1999/02/22-rdf-syntax-ns#");for(var e=this.rootSubjects(t),r=e.roots,n=[],i=0;i<r.length;i++)n.push(c(r[i],e));return n}.bind(this);function s(t){return void 0===t?"@@@undefined@@@@":t.replace(/[&<"]/g,(function(t){switch(t[0]){case"&":return"&";case"<":return"<";case'"':return"""}}))}var a=function(t){return s(this.base?Rs.refTo(this.base,t.uri):t.uri)}.bind(this),c=function(t,e){var n,i,o,p,d=[],m=e.subjects[this.toStr(t)];if(void 0===m)return u(t,e);m.sort((function(t,e){var n=t.predicate.uri,i=e.predicate.uri;if(n.substring(0,r.length)===r||i.substring(0,r.length)===r)return n.localeCompare(i);var o=n.substring(r.length),s=i.substring(r.length),a=parseInt(o,10),c=parseInt(s,10);return isNaN(a)||isNaN(c)||a!==o||c!==s?n.localeCompare(i):a-c}));for(var f=0;f<m.length;f++)if("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"!==(o=m[f]).predicate.uri||n||"NamedNode"!==o.object.termType){if((p=o.predicate).uri.substr(0,r.length)===r){var g=p.uri.substr(r.length);g===parseInt(g,10).toString()&&(p=this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#li"))}switch(i=l(p),o.object.termType){case"BlankNode":d=d.concat(1===e.incoming[o.object].length?["<"+i+' rdf:parseType="Resource">',c(o.object,e),"</"+i+">"]:["<"+i+' rdf:nodeID="'+o.object.toNT().slice(2)+'"/>']);break;case"NamedNode":d=d.concat(["<"+i+' rdf:resource="'+a(o.object)+'"/>']);break;case"Literal":d=d.concat(["<"+i+(o.object.datatype.equals(this.xsd.string)?"":' rdf:datatype="'+s(o.object.datatype.uri)+'"')+(o.object.language?' xml:lang="'+o.object.language+'"':"")+">"+s(o.object.value)+"</"+i+">"]);break;case"Collection":d=d.concat(["<"+i+' rdf:parseType="Collection">',h(o.object,e),"</"+i+">"]);break;default:throw new Error("Can't serialize object of type "+o.object.termType+" into XML")}}else n=o.object;var w=n?l(n):"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([d]).concat(["</"+w+">"])}.bind(this);function h(t,e){for(var r=[],n=0;n<t.elements.length;n++)r.push(c(t.elements[n],e));return r}var u=function(t,e){var r=[],n=e.subjects[this.toStr(t)];if(!n)return r;n.sort();for(var i=0;i<n.length;i++){var o=n[i];switch(o.object.termType){case"BlankNode":r=e.rootsHash[o.object.toNT()]?r.concat(["<"+l(o.predicate)+' rdf:nodeID="'+o.object.toNT().slice(2)+'">',"</"+l(o.predicate)+">"]):r.concat(["<"+l(o.predicate)+' rdf:parseType="Resource">',u(o.object,e),"</"+l(o.predicate)+">"]);break;case"NamedNode":r=r.concat(["<"+l(o.predicate)+' rdf:resource="'+a(o.object)+'"/>']);break;case"Literal":r=r.concat(["<"+l(o.predicate)+(o.object.datatype.equals(this.xsd.string)?"":' rdf:datatype="'+s(o.object.datatype.value)+'"')+(o.object.language?' xml:lang="'+o.object.language+'"':"")+">"+s(o.object.value)+"</"+l(o.predicate)+">"]);break;case"Collection":r=r.concat(["<"+l(o.predicate)+' rdf:parseType="Collection">',h(o.object,e),"</"+l(o.predicate)+">"]);break;default:throw new Error("Can't serialize object of type "+o.object.termType+" into XML")}}return r}.bind(this),l=function(t){var r=t.uri,n=r.indexOf("#");if(n<0&&this.flags.indexOf("/")<0&&(n=r.lastIndexOf("/")),n<0)throw new Error("Cannot make qname out of <"+r+">");for(var i=n+1;i<r.length;i++)if(this._notNameChars.indexOf(r[i])>=0)throw new Error('Invalid character "'+r[i]+'" cannot be in XML qname for URI: '+r);var o=r.slice(n+1),s=r.slice(0,n+1);if(this.defaultNamespace&&this.defaultNamespace===s&&this.flags.indexOf("d")<0)return o;var a=this.prefixes[s];return a||(a=this.makeUpPrefix(s)),e[s]=!0,a+":"+o}.bind(this),p=o(t),d="<rdf:RDF";for(var m in this.defaultNamespace&&(d+=' xmlns="'+s(this.defaultNamespace)+'"'),e)if(e.hasOwnProperty(m)){var f=this.base&&this.flags.includes("z")?Rs.refTo(this.base,m):m;d+="\n xmlns:"+this.prefixes[m]+'="'+s(f)+'"'}return function t(e,r){var o,s="",a=1e5;r||(r=0);for(var c=0;c<e.length;c++){var h=e[c];if("string"!=typeof h){var u=t(h,r+1);u.length<10*(80-4*r)&&u.indexOf('"""')<0&&(o=i(h)).length<80-4*r&&(h=" "+o,u=""),u&&(a=1e4),s+=u}"string"==typeof h&&(a<4*r+4?(s=s.slice(0,-1)+" "+h+"\n",a+=h.length+1):(s+=(o=n(4*r)+h)+"\n",a=o.length))}return s}([d+=">",p,"</rdf:RDF>"],-1)}},{key:"statementsToJsonld",value:function(t){var e=this.statementsToN3(t),r=oa.parse(e);return JSON.stringify(r,null,2)}}]),t}();function ca(t,e,r,n,i,o){r=r||(null==t?void 0:t.value);var s=o||{};n=n||ts;try{var a=sa(e);s.flags&&a.setFlags(s.flags);var c=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),n){case Qo:return h(null,a.statementsToXML(c));case zo:case"application/n3":return h(null,a.statementsToN3(c));case ts:case"application/x-turtle":return a.setFlags("si"),h(null,a.statementsToN3(c));case"application/n-triples":return a.setFlags("deinprstux"),h(null,a.statementsToNTriples(c));case Ko:return a.setFlags("si dr"),h(null,a.statementsToJsonld(c));case Xo:case $o:return a.setFlags("deinprstux q"),h(null,a.statementsToNTriples(c));default:throw new Error("Serialize: Content-type "+n+" not supported for data write.")}}catch(t){if(i)return i(t,void 0);throw t}function h(t,e){return i?void i(t,e):e}}var ha=["blankNode","defaultGraph","literal","namedNode","quad","variable","supports"],ua="http://www.w3.org/1999/02/22-rdf-syntax-ns#rest";function la(t,e,r){var n=[];return r.reduce((function(e,r,i,o){var s;return n.push(t.quad(e,t.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#first"),o[i])),i<o.length-1?(s=t.blankNode(),n.push(t.quad(e,t.namedNode(ua),s))):n.push(t.quad(e,t.namedNode(ua),t.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"))),s}),e),n}function pa(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=t.length;for(r<0&&(r=n+r);r<n;r++)if(t[r]===e)return r;return-1}function da(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 ma(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)?ma(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}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 o,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,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function ma(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var fa=function(){Do(n,No);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=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]:{};Ro(this,n),(t=r.call(this,"")).statements=e,t.constraints=i,t.initBindings=o,t.optional=s,_o(xo(t),"termType",Go),_o(xo(t),"classOrder",jo.Graph),_o(xo(t),"fetcher",void 0),_o(xo(t),"isVar",0),_o(xo(t),"ns",zs),_o(xo(t),"rdfFactory",void 0),t.rdfFactory=a&&a.rdfFactory||qs;var c,h=da(ha);try{var u=function(){var e=c.value;t[e]=function(){var r;return(r=t.rdfFactory)[e].apply(r,arguments)}};for(h.s();!(c=h.n()).done;)u()}catch(t){h.e(t)}finally{h.f()}return t}return Fo(n,[{key:"add",value:function(t,e,r,n){var i=this;return 1===arguments.length&&t.forEach((function(t){return i.add(t.subject,t.predicate,t.object,t.graph)})),this.statements.push(this.rdfFactory.quad(t,e,r,n))}},{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,n){var i=this.anyStatementMatching(t,e,r,n);return null==i?null:null==t?i.subject:null==e?i.predicate:null==r?i.object:null}},{key:"anyValue",value:function(t,e,r,n){var i=this.any(t,e,r,n);return i?i.value:void 0}},{key:"anyJS",value:function(t,e,r,n){var i=this.any(t,e,r,n);return i?No.toJS(i):void 0}},{key:"anyStatementMatching",value:function(t,e,r,n){var i=this.statementsMatching(t,e,r,n,!0);if(i&&0!==i.length)return i[0]}},{key:"id",value:function(t){return this.rdfFactory.id(t)}},{key:"statementsMatching",value:function(t,e,r,n,i){var o=this.statements.filter((function(i){return(!t||t.equals(i.subject))&&(!e||e.equals(i.predicate))&&(!r||r.equals(i.object))&&(!n||n.equals(i.graph))}));return i?0===o.length?[]:[o[0]]:o}},{key:"bottomTypeURIs",value:function(t){var e,r,n,i,o,s;for(var a in e=[],t)if(t.hasOwnProperty(a)){for(s=t[a],r=!0,n=0,i=(o=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),this.rdfFactory.namedNode(a))).length;n<i;n++)if(o[n].uri in t){r=!1;break}r&&(e[a]=s)}return e}},{key:"collection",value:function(){return new bs}},{key:"each",value:function(t,e,r,n){var i=[],o=this.statementsMatching(t,e,r,n,!1);if(null==t)for(var s=0,a=o.length;s<a;s++)i.push(o[s].subject);else if(null==e)for(var c=0,h=o.length;c<h;c++)i.push(o[c].predicate);else if(null==r)for(var u=0,l=o.length;u<l;u++)i.push(o[u].object);else if(null==n)for(var p=0,d=o.length;p<d;p++)i.push(new gs(o[p].graph.value));return i}},{key:"equals",value:function(t){return!!t&&this.hashString()===t.hashString()}},{key:"findMembersNT",value:function(t){var e,r,n,i,o,s,a,c,h,u,l,p,d;for(var m in(l={})[t.toNT()]=!0,i={},o=this.transitiveClosure(l,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"),!0))if(o.hasOwnProperty(m)){for(var f=0,g=(s=this.statementsMatching(void 0,this.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),this.fromNT(m))).length;f<g;f++)i[(p=s[f]).subject.toNT()]=p;for(var w=0,v=(a=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#domain"),this.fromNT(m))).length;w<v;w++)for(n=0,e=(c=this.statementsMatching(void 0,a[w])).length;n<e;n++)i[(p=c[n]).subject.toNT()]=p;for(var y=0,b=(h=this.each(void 0,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#range"),this.fromNT(m))).length;y<b;y++)for(d=0,r=(u=this.statementsMatching(void 0,h[y])).length;d<r;d++)i[(p=u[d]).object.toNT()]=p}return i}},{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,n,i,o,s;s=[];for(var a=0,c=(e=this.statementsMatching(t,void 0,void 0)).length;a<c;a++)if("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"===(o=e[a]).predicate.uri)s[o.object.toNT()]=o;else for(var h=0,u=(r=this.each(o.predicate,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#domain"))).length;h<u;h++)s[r[h].toNT()]=o;for(var l=0,p=(n=this.statementsMatching(void 0,void 0,t)).length;l<p;l++)for(var d=0,m=(i=this.each((o=n[l]).predicate,this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#range"))).length;d<m;d++)s[i[d].toNT()]=o;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 n=[t],i={},o={},s=[],a=this,c=function(t){var c=function(t){"BlankNode"!==t.termType||i[t.value]||(i[t.value]=!0,n.push(t))},h=a.statementsMatching(null,null,t,e).concat(a.statementsMatching(t,null,null,e));(h=h.filter((function(t){if(r[t.predicate.value])return!1;var e=t.toNT();return!o[e]&&(o[e]=!0,!0)}))).forEach((function(t){c(t.subject),c(t.object)})),s=s.concat(h)};n.length;)c(n.shift());return s}},{key:"formula",value:function(){return new n}},{key:"fromNT",value:function(t){var e,r,n;switch(t[0]){case"<":return this.sym(t.slice(1,-1));case'"':if(n=void 0,e=void 0,(r=t.lastIndexOf('"'))<t.length-1)if("@"===t[r+1])n=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,n||e);case"_":return this.rdfFactory.blankNode(t.slice(2));case"?":return new Us(t.slice(1))}throw new Error("Can't convert from NT: "+t)}},{key:"holds",value:function(t,e,r,n){var i;if(1===arguments.length){if(!t)return!0;if(t instanceof Array){for(i=0;i<t.length;i++)if(!this.holds(t[i]))return!1;return!0}if(is(t))return this.holds(t.subject,t.predicate,t.object,t.graph);if(t.statements)return this.holds(t.statements)}var o=this.anyStatementMatching(t,e,r,n);return null!=o}},{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 n=e.rdfFactory.blankNode(),i=la(e.rdfFactory,n,t);return e.addAll(i),n}},{key:"NTtoURI",value:function(t){var e,r,n={};for(e in t)t.hasOwnProperty(e)&&(r=t[e],"<"===e[0]&&(n[e.slice(1,-1)]=r));return n}},{key:"serialize",value:function(t,e,r,n){return ca(r,this,t,e,void 0,n)}},{key:"substitute",value:function(t){var e=this.statements.map((function(e){return e.substitute(t)})),r=new n;return r.addAll(e),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,n){var i=this.any(t,e,r,n);return null==i&&Ks("No value found for the() {"+t+" "+e+" "+r+"}."),i}},{key:"transitiveClosure",value:function(t,e,r){var n,i,o,s,a,c={};Object.assign(c,t);for(var h={};;){if(null==(a=function(){for(var t in c)if(c.hasOwnProperty(t))return t}()))return h;for(n=0,i=(s=r?this.each(void 0,e,this.fromNT(a)):this.each(this.fromNT(a),e)).length;n<i;n++)(o=s[n].toNT())in h||o in c||(c[o]=c[a]);h[a]=c[a],delete c[a]}}},{key:"topTypeURIs",value:function(t){var e,r,n,i,o,s,a;for(r in s=[],t)if(t.hasOwnProperty(r)){for(a=t[r],i=0,e=0,n=(o=this.each(this.rdfFactory.namedNode(r),this.rdfFactory.namedNode("http://www.w3.org/2000/01/rdf-schema#subClassOf"))).length;e<n;e++)if("http://www.w3.org/2000/01/rdf-schema#Resource"!==o[e].uri){i++;break}i||(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 Us(t)}},{key:"whether",value:function(t,e,r,n){return this.statementsMatching(t,e,r,n,!1).length}}]),n}();No.fromValue=ys;var ga=No,wa={xsd:zs("http://www.w3.org/2001/XMLSchema#")};No.toJS=function(t){return ss(t)?t.elements.map(No.toJS):ls(t)?t.datatype.equals(wa.xsd("boolean"))?"1"===t.value||"true"===t.value:t.datatype.equals(wa.xsd("dateTime"))||t.datatype.equals(wa.xsd("date"))?new Date(t.value):t.datatype.equals(wa.xsd("integer"))||t.datatype.equals(wa.xsd("float"))||t.datatype.equals(wa.xsd("decimal"))?Number(t.value):t.value:t};var va=Fo((function t(e,r){Ro(this,t),this.pat=new Fa,this.vars=[],this.name=e,this.id=r}));function ya(t,e,r,n){function i(t){var e,r="";for(e in t)t.hasOwnProperty(e)&&(r+=" "+e+" -> "+t[e]);return r}function o(t){var e,r="Bindings: ",n=t.length;for(e=0;e<n;e++)r+=i(t[e][0])+";\n\t";return r}function s(t,e,r,n){var i;if(t.length!==e.length)return[];if(!t.length)return[[[],null]];var o=function(t,e,r,n){var i=r[t];if(void 0===i){if(t.isVar){var o=[];return o[t]=e,[[o,null]]}i=t}if(!i.complexType)return n.redirections[i]&&(i=n.redirections[i]),n.redirections[e]&&(e=n.redirections[e]),i.equals(e)||i.uri&&i.uri===Cs?[[[],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,n);if(0===o.length)return o;var a,c,h,u,l,p,d,m=[],f=o.length;for(a=0;a<f;a++){for(l in d=[],c=o[a][0])c.hasOwnProperty(l)&&(d[l]=c[l]);for(l in r)r.hasOwnProperty(l)&&(d[l]=r[l]);for(u=(i=s(t.slice(1),e.slice(1),d,n)).length,h=0;h<u;h++){for(l in p=i[h][0],c)c.hasOwnProperty(l)&&(p[l]=c[l]);m.push([p,null])}}return m}function a(t,e){var r,n={};for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);for(r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);return n}function c(t,e){return this.trunkBindings=e,this.originalCallback=t,this.branches=[],this}function h(t,e){return this.count=0,this.success=!1,this.done=!1,this.callback=t,this.onDone=e,this}c.prototype.checkAllDone=function(){var t;for(t=0;t<this.branches.length;t++)if(!this.branches[t].done)return;Vs("OPTIONAL BIDNINGS ALL DONE:"),this.doCallBacks(this.branches.length-1,this.trunkBindings)},c.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]))},h.prototype.reportMatch=function(t){this.callback(t),this.success=!0},h.prototype.reportDone=function(){this.done=!0,Js("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 l(t,e,r){var n,i,o,s,a,c;for(e.nvars=0,e.index=null,n=[e.subject,e.predicate,e.object,e.why],s=[t.subjectIndex,t.predicateIndex,t.objectIndex,t.whyIndex],o=0;o<4;o++){var h=n[o];if(h.uri&&h.uri===Cs);else if(h.isVar&&void 0===r[h])e.nvars++;else{if(void 0,t.redirections[t.id(h=void 0===(c=r[a=n[o]])?a:c)]&&(h=t.redirections[t.id(h)]),!(i=s[o][t.id(h)]))return e.index=[],!1;(null===e.index||e.index.length>i.length)&&(e.index=i)}}return null===e.index&&(e.index=t.statements),!0}function p(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(){Vs("Optional branch finished - results.length = "+this.results.length),0===this.results.length&&(this.results.push({}),Vs("Optional branch FAILED - that's OK.")),this.done=!0,this.junction.checkAllDone()};var d=function t(r,n,o,s,a,h,l){Vs("Match begins, Branch count now: "+l.count+" for "+l.pattern_debug);var p,d,m=n.statements;if(0===m.length){if(Vs("FOUND MATCH WITH BINDINGS:"+i(o)),0===n.optional.length)l.reportMatch(o);else{Vs("OPTIONAL: "+n.optional);var g,w=new c(e,o),v=[];for(g=0;g<n.optional.length;g++)v[g]=new u(w),v[g].pattern_debug=n.optional[g];for(g=0;g<n.optional.length;g++)v[g].count=v[g].count+1,t(r,n.optional[g],o,"",a,e,v[g])}return l.count--,void Vs("Match ends -- success , Branch count now: "+l.count+" for "+l.pattern_debug)}var y=m.length;if(a){var b=function(e){var i=e.uri.split("#")[0];a.nowOrWhenFetched(i,void 0,(function(i,c){i||console.log("Error following link to <"+e.uri+"> in query: "+c),t(r,n,o,s,a,h,l)}))};for(d=0;d<y;d++){if(void 0!==o[(p=m[d]).subject]&&o[p.subject].uri&&a&&"unrequested"===a.getState(Os(o[p.subject].uri)))return void b(o[p.subject]);if(void 0!==o[p.object]&&o[p.object].uri&&a&&"unrequested"===a.getState(Os(o[p.object].uri)))return void b(o[p.object])}}f(r,n,o,s,a,h,l)},m=function(t,e){var r,n,i=!0;for(r in t)t.hasOwnProperty(r)&&e[r]&&(n=e[r].test)&&!n(t[r])&&(i=!1);return i},f=function(t,e,r,n,a,c,h){var u,f,g,w,v,y,b,S=e.statements,A=S.length;for(u=0;u<A;u++)l(t,b=S[u],r);S.sort(p),b=S[0];var E,C=t.formula();C.optional=e.optional,C.constraints=e.constraints,C.statements=S.slice(1),Vs(n+"match2 searching "+b.index.length+" for "+b+"; bindings so far="+i(r));var P,T,k=b.index.length,F=0;for(E=0;E<k;E++)for(P=s([b.subject,b.predicate,b.object,b.why],[(T=b.index[E]).subject,T.predicate,T.object,T.why],r,t),Js(n+" From first: "+P.length+": "+o(P)),g=P.length,f=0;f<g;f++)if(v=[],m(y=P[f][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]);h.count++,F++,d(t,C,v,n+" ",a,c,h)}else Vs("Branch count CS: "+h.count);h.count--,0===F&&Vs("Match2 fails completely on "+b),Vs("Match2 ends, Branch count: "+h.count+" for "+h.pattern_debug),0===h.count&&(Vs("Branch finished."),h.reportDone())},g=this;Vs("Query on "+this.statements.length);var w=new h(e,n);w.count++,t.sync?d(g,t.pat,t.pat.initBindings,"",r,e,w):setTimeout((function(){d(g,t.pat,t.pat.initBindings,"",r,e,w)}),0)}function ba(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Sa(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ba(Object(r),!0).forEach((function(e){_o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ba(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Aa(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 Ea(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)?Ea(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}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 o,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,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function Ea(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ca="http://www.w3.org/2002/07/owl#";function Pa(t,e,r,n){var i=t.any(e,r,void 0);return!!i&&(t.equate(i,n),!0)}function Ta(t,e,r,n){var i=t.any(void 0,r,n);return!!i&&(t.equate(i,e),!0)}function ka(t,e,r,n,i){t.typeCallback&&t.typeCallback(t,n,i);var o=t.classActions[t.id(n)],s=!1;if(o)for(var a=0;a<o.length;a++)s=s||o[a](t,e,r,n,i);return s}var Fa=function(){Do(n,fa);var t,e,r=(t=n,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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)});function n(t){var e,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Ro(this,n),_o(xo(e=r.call(this,void 0,void 0,void 0,void 0,i)),"updater",void 0),_o(xo(e),"namespaces",void 0),_o(xo(e),"classActions",void 0),_o(xo(e),"propertyActions",void 0),_o(xo(e),"redirections",void 0),_o(xo(e),"aliases",void 0),_o(xo(e),"HTTPRedirects",void 0),_o(xo(e),"subjectIndex",void 0),_o(xo(e),"predicateIndex",void 0),_o(xo(e),"objectIndex",void 0),_o(xo(e),"whyIndex",void 0),_o(xo(e),"index",void 0),_o(xo(e),"features",void 0),_o(xo(e),"_universalVariables",void 0),_o(xo(e),"_existentialVariables",void 0),_o(xo(e),"rdfArrayRemove",void 0),_o(xo(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=i.rdfArrayRemove||ea,i.dataCallback&&(e.dataCallbacks=[i.dataCallback]),e.initPropertyActions(e.features),e}return Fo(n,[{key:"substitute",value:function(t){var e=this.statements.map((function(e){return e.substitute(t)})),r=new n;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 n,i=this,o=null;function s(s){if(t.delete){n=t.delete,o&&(n=n.substitute(o));var a=[],c=(n=n.statements).map((function(t){var r=i.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 "));c.map((function(t){i.remove(t)}))}t.insert&&(n=t.insert,o&&(n=n.substitute(o)),(n=n.statements).map((function(t){t.graph=e,i.add(t.subject,t.predicate,t.object,t.graph)}))),s()}if(t.where){var a=new va("patch");a.pat=t.where,a.pat.statements.map((function(t){t.graph=Sh(e.value)})),a.sync=!0;var c=[];i.query(a,(function(t){c.push(t)}),i.fetcher,(function(){return 0===c.length?r("No match found to be patched:"+t.where):c.length>1?r("Patch ambiguous. No patch done."):(o=c[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"))]=[ka],pa(t,"sameAs")>=0&&(this.propertyActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Ca,"sameAs")))]=[function(t,e,r,n){return t.equate(e,n),!0}]),pa(t,"InverseFunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Ca,"InverseFunctionalProperty")))]=[function(t,e){return t.newPropertyAction(e,Ta)}]),pa(t,"FunctionalProperty")>=0&&(this.classActions[this.rdfFactory.id(this.rdfFactory.namedNode("".concat(Ca,"FunctionalProperty")))]=[function(t,e){return t.newPropertyAction(e,Pa)}])}},{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,n){var i,o,s;if(1===arguments.length){if(t instanceof Array)for(i=0;i<t.length;i++)this.add(t[i]);else ps(t)?this.add(t.subject,t.predicate,t.object,t.graph):os(t)&&this.add(t.statements);return this}n||(n=this.fetcher?this.fetcher.appNode:this.rdfFactory.defaultGraph()),"string"==typeof t&&(t=this.rdfFactory.namedNode(t)),e=ga.fromValue(e);var a=ga.fromValue(r);if(n=ga.fromValue(n),!cs(t))throw new Error("Subject is not a subject type");if(!hs(e))throw new Error("Predicate ".concat(e," is not a predicate type"));if(!as(a))throw new Error("Object ".concat(a," is not an object type"));if(!fs(n))throw new Error("Why is not a graph type");this.predicateCallback&&this.predicateCallback(this,e,n);var c=this.id(this.canon(e)),h=!1;if(o=this.propertyActions[c])for(i=0;i<o.length;i++)h=h||o[i](this,t,e,a,n);if(this.holds(t,e,a,n))return null;var u=[this.id(this.canon(t)),c,this.id(this.canon(a)),this.id(this.canon(n))];for(s=this.rdfFactory.quad(t,e,a,n),i=0;i<4;i++){var l=this.index[i],p=u[i];l[p]||(l[p]=[]),l[p].push(s)}if(this.statements.push(s),this.dataCallbacks){var d,m=Aa(this.dataCallbacks);try{for(m.s();!(d=m.n()).done;){var f=d.value;f(s)}}catch(t){m.e(t)}finally{m.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 Bo:return new rs(t.value);case qo:return t;case Wo:return new Ps;case Vo:case Go:return t;case Uo:return new vs(t.value,t.language,t.datatype);case Lo:return new gs(t.value);case Ho:return new Us(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,n=" found in "+["subject","predicate","object","why"][e]+" index.",i=0;i<t.length;i++){for(var o=[(r=t[i]).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 c=this.canon(o[a]),h=this.id(c);this.index[a][h]&&s(this.index[a][h],r)}if(!s(this.statements,r))throw new Error("Statement list does not statement "+r+"@"+r.graph+n)}}},{key:"close",value:function(){return this}},{key:"compareTerms",value:function(t,e){return Object.prototype.hasOwnProperty.call(t,"compareTerm")?t.compareTerm(e):jo[t.termType]<jo[e.termType]?-1:jo[t.termType]>jo[e.termType]?1:t.value<e.value?-1:t.value>e.value?1:0}},{key:"copyTo",value:function(t,e,r){r||(r=[]);var n=this.statementsMatching(t);-1!==pa(r,"two-direction")&&n.concat(this.statementsMatching(void 0,void 0,t));for(var i=0;i<n.length;i++){var o=n[i];switch(o.object.termType){case"NamedNode":this.add(e,o.predicate,o.object);break;case"Literal":case"BlankNode":case"Collection":this.add(e,o.predicate,o.object.copy(this))}-1!==pa(r,"delete")&&this.remove(o)}}},{key:"equate",value:function(t,e){var r=this.canon(t),n=this.canon(e),i=this.compareTerms(r,n);return!i||(i<0?this.replaceWith(n,r):this.replaceWith(r,n))}},{key:"formula",value:function(t){return new n(t)}},{key:"length",get:function(){return this.statements.length}},{key:"match",value:function(t,e,r,n){return this.statementsMatching(ga.fromValue(t),ga.fromValue(e),ga.fromValue(r),ga.fromValue(n))}},{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 n=this.statementsMatching(void 0,t,void 0),i=!1,o=0;o<n.length;o++)i=i||e(this,n[o].subject,t,n[o].object);return i}},{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 Us(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,n){return ya.call(this,t,e,r,n)}},{key:"querySync",value:function(t){var e=[],r=!1;if(t.sync=!0,ya.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(os(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,n,i){for(var o=this.statementsMatching(t,e,r,n,!1),s=[],a=0;a<o.length;a++)s.push(o[a]);for(i&&(s=s.slice(0,i)),a=0;a<s.length;a++)this.remove(s[a])}},{key:"removeMatches",value:function(t,e,r,n){return this.removeMany(t,e,r,n),this}},{key:"removeStatement",value:function(t){for(var e=[t.subject,t.predicate,t.object,t.graph],r=0;r<4;r++){var n=this.canon(e[r]),i=this.id(n);this.index[r][i]&&this.rdfArrayRemove(this.index[r][i],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),n=this.id(e),i=function(t){var e=t[r];if(e){var i=t[n];t[n]=i?e.concat(i):e,delete t[r]}},o=0;o<4;o++)i(this.index[o]);if(this.redirections[r]=e,t.value){if(this.aliases[n]||(this.aliases[n]=[]),this.aliases[n].push(t),this.aliases[r])for(o=0;o<this.aliases[r].length;o++)this.redirections[this.id(this.aliases[r][o])]=e,this.aliases[n].push(this.aliases[r][o]);this.add(e,this.sym("http://www.w3.org/2007/ont/link#uri"),t),this.fetcher&&this.fetcher.nowKnownAs(t,e)}return i(this.classActions),i(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 n=this.canon(e);return!!n&&r.value===n.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,n,i){var o,s,a=[t,e,r,n],c=[],h=[],u=[];for(o=0;o<4;o++)c[o]=this.canon(ga.fromValue(a[o])),c[o]&&(u.push(o),h[o]=this.id(c[o]));if(0===u.length)return this.statements;if(1===u.length)return(s=this.index[o=u[0]][h[o]])&&i&&s.length>1&&(s=s.slice(0,1)),s||[];var l,p,d=1e10;for(p=0;p<u.length;p++){if(!(s=this.index[o=u[p]][h[o]]))return[];s.length<d&&(d=s.length,l=p)}for(var m=u[l],f=this.index[m][h[m]],g=u.slice(0,l).concat(u.slice(l+1)),w=[],v=["subject","predicate","object","why"],y=0;y<f.length;y++){var b=f[y];for(p=0;p<g.length;p++)if(!this.canon(b[v[o=g[p]]]).equals(c[o])){b=null;break}if(null!=b&&(w.push(b),i))break}return w}},{key:"uris",value:function(t){var e=this.canon(t),r=this.aliases[this.id(e)];if(!e.value)return[];var n=[e.value];if(r)for(var i=0;i<r.length;i++)n.push(r[i].uri);return n}},{key:"serialize",value:function(t,e,r,n){var i,o=null!==(i=n)&&void 0!==i&&i.namespaces?Sa(Sa({},this.namespaces),n.namespaces):Sa({},this.namespaces);return ca(r,this,t,e,void 0,n=Sa(Sa({},n||{}),{},{namespaces:o}))}}],[{key:"defaultGraphURI",get:function(){return Cs}}]),n}();function Ra(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 xa(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)?xa(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}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 o,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,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function xa(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}_o(Fa,"handleRDFType",void 0),Fa.handleRDFType=ka;var Oa=zs("http://www.w3.org/1999/02/22-rdf-syntax-ns#");function Da(t,e){function r(n,i,o){var s=t.statementsMatching(n,Oa("rest"),null,e);if(1!==s.length)throw new Error("Bad list structure: no rest at ".concat(n));var a=t.statementsMatching(n,Oa("first"),null,e);if(1!==a.length)throw new Error("Bad list structure: rest but ".concat(a.length," firsts at ").concat(n));var c=[a[0].object].concat(i),h=o.concat(s).concat(a),u=t.statementsMatching(null,Oa("rest"),n,e);if(0===u.length){var l=new bs(c);return t.remove(h),void function(t,e,r,n){var i,o=Ra(t.statementsMatching(r,null,null,n));try{for(o.s();!(i=o.n()).done;){var s=i.value,a=new Fs(e,s.predicate,s.object,n);t.remove(s),t.add(a)}}catch(t){o.e(t)}finally{o.f()}var c,h=Ra(t.statementsMatching(null,r,null,n));try{for(h.s();!(c=h.n()).done;){var u=c.value;t.remove(u),t.add(new Fs(u.subject,e,u.object,n))}}catch(t){h.e(t)}finally{h.f()}var l,p=Ra(t.statementsMatching(null,null,r,n));try{for(p.s();!(l=p.n()).done;){var d=l.value;t.remove(d),t.add(new Fs(d.subject,d.predicate,e,n))}}catch(t){p.e(t)}finally{p.f()}}(t,l,n,e)}if(1!==u.length)throw new Error("Bad list structure: ".concat(u.length," pres at ").concat(n));var p=u[0].subject;if("BlankNode"!==p.termType)throw new Error("Bad list element node ".concat(p," type: ").concat(p.termType," "));r(p,c,h)}!function(t,e){var r,n=Oa("nil"),i=Ra(t.statementsMatching(n,null,null,e));try{for(i.s();!(r=i.n()).done;){var o=r.value;t.remove(o);var s=new bs;t.add(new Fs(s,o.predicate,o.object,e))}}catch(t){i.e(t)}finally{i.f()}var a,c=Ra(t.statementsMatching(null,null,n,e));try{for(c.s();!(a=c.n()).done;){var h=a.value;if(!h.predicate.sameTerm(Oa("rest"))){t.remove(h);var u=new bs;t.add(new Fs(h.subject,h.predicate,u,e))}}}catch(t){c.e(t)}finally{c.f()}}(t,e),t.statementsMatching(null,Oa("rest"),Oa("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 Ia="http://www.w3.org/2000/10/swap/log#",Ma=function(t){return t},_a=function(t){return t},ja=function(t){if(t.length>0)throw"missing.js: oops nnonempty dict not imp";return[]},Na=function(t){return t.length},La=function(t,e,r){if(void 0===t.slice)throw"@@ mising.js: No .slice function for "+t+" of type "+Po(t);return void 0===r||null==r?t.slice(e):t.slice(e,r)},Ba=Error("dummy error stop iteration"),Ua=function(t){return this.last=0,this.li=t,this.next=function(){if(this.last==this.li.length)throw Ba;return this.li[this.last++]},this},Ha=function(t,e){return t.indexOf(e)},Wa=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 n=t.charCodeAt(r);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e}(this)},String.prototype.decode=function(t){if("utf-8"!=t)throw"UTF8_converter: can only do utf-8";return this};var qa,Va=function(t,e){return Ms(e,t)},Ga="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil",Ja="http://www.w3.org/2002/07/owl#sameAs",Ka="\t\r\n !\"#$%&'()*.,+/;<=>?@[\\]^`{|}~",za=Ka+":",$a=new RegExp("^([-+]?[0-9]+)(\\.[0-9]+)?(e[-+]?[0-9]+)?","g"),Xa=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?"),Qa=new RegExp('[\\\\\\r\\n\\"]',"g"),Ya=new RegExp("^[a-zA-Z0-9]+(-[a-zA-Z0-9]+)*","g"),Za=function(t,e,r,n,i,o,s,a){return new tc(t,e,r,n,i,o,s,a)},tc=function(){function t(e,r,n,i,o,s,a,c){Ro(this,t),void 0===r&&(r=null),void 0===n&&(n=""),void 0===i&&(i=null),void 0===o&&(o=""),void 0===a&&(a=""),void 0===c&&(c=null),this._bindings=new ja([]),this._flags=a,""!=n&&(Wa(n.indexOf(":")>=0,"Document URI not absolute: "+n),this._bindings[""]=n+"#"),this._store=e,o&&e.setGenPrefix(o),this._thisDoc=n,this.source=e.sym(n),this.lines=0,this.statementCount=0,this.hasNil=!1,this.startOfLine=0,this.previousLine=0,this._genPrefix=o,this.keywords=new _a(["a","this","bind","has","is","of","true","false"]),this.keywordsSet=0,this._anonymousNodes=new ja([]),this._variables=new ja([]),this._parentVariables=new ja([]),this._reason=c,this._reason2=null,this._baseURI=i||n||null,Wa(!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(n+"#_formula"):e.formula():r,this._context=this._formula,this._parentContext=null}return Fo(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 n=this.skipSpace(e,r);if(n<0)return;if((r=this.directiveOrStatement(e,n))<0)throw ec(this._thisDoc,this.lines,e,n,"expected directive or statement")}}},{key:"directiveOrStatement",value:function(t,e){var r,n=this.skipSpace(t,e);return n<0?n:(r=this.directive(t,n))>=0||(r=this.statement(t,n))>=0?this.checkDot(t,r):r}},{key:"tok",value:function(t,e,r){if("@"==e.slice(r,r+1))r+=1;else if(pa(this.keywords,t)<0)return-1;var n=r+Na(t);return e.slice(r,n)==t&&Ka.indexOf(e.charAt(n))>=0?n:-1}},{key:"directive",value:function(t,e){if((o=this.skipSpace(t,e))<0)return o;var r=new _a([]);if((o=this.tok("bind",t,e))>0)throw ec(this._thisDoc,this.lines,t,e,"keyword bind is obsolete: use @prefix");if((o=this.tok("keywords",t,e))>0){if((e=this.commaSeparatedList(t,o,r,!1))<0)throw ec(this._thisDoc,this.lines,t,e,"'@keywords' needs comma separated list of words");return this.setKeywords(La(r,null,null)),e}if((o=this.tok("forAll",t,e))>0){if((e=this.commaSeparatedList(t,o,r,!0))<0)throw ec(this._thisDoc,this.lines,t,e,"Bad variable list after @forAll");var n=new Ua(r);try{for(;;){var i=n.next();(pa(this._variables,i)<0||pa(this._parentVariables,i)>=0)&&(this._variables[i]=this._context.newUniversal(i))}}catch(t){if(t!=Ba)throw t}return e}if((o=this.tok("forSome",t,e))>0){if((e=this.commaSeparatedList(t,o,r,this.uri_ref2))<0)throw ec(this._thisDoc,this.lines,t,e,"Bad variable list after @forSome");n=new Ua(r);try{for(;;)i=n.next(),this._context.declareExistential(i)}catch(t){if(t!=Ba)throw t}return e}if((o=this.tok("prefix",t,e))>=0){var o,s=new _a([]);if((e=this.qname(t,o,s))<0)throw ec(this._thisDoc,this.lines,t,o,"expected qname after @prefix");if((o=this.uri_ref2(t,e,s))<0)throw ec(this._thisDoc,this.lines,t,e,"expected <uriref> after @prefix _qname_");var a=s[1].uri;return this._baseURI?a=Va(this._baseURI,a):Wa(a.indexOf(":")>=0,"With no base URI, cannot handle relative URI for NS"),Wa(a.indexOf(":")>=0),this._bindings[s[0][0]]=a,this.bind(s[0][0],function(t){return encodeURI(t)}(a)),o}if((o=this.tok("base",t,e))>=0){if(s=new _a([]),(e=this.uri_ref2(t,o,s))<0)throw ec(this._thisDoc,this.lines,t,o,"expected <uri> after @base ");if(a=s[0].uri,!this._baseURI)throw ec(this._thisDoc,this.lines,t,o,"With no previous base URI, cannot use relative URI in @base <"+a+">");return a=Va(this._baseURI,a),Wa(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&&Da(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===Ga||t[3].uri&&t[3].uri===Ga)&&(this.hasNil=!0),this.statementCount+=1}},{key:"statement",value:function(t,e){var r=new _a([]);if((e=this.object(t,e,r))<0)return e;var n=this.property_list(t,e,r[0]);if(n<0)throw ec(this._thisDoc,this.lines,t,e,"expected propertylist");return n}},{key:"subject",value:function(t,e,r){return this.item(t,e,r)}},{key:"verb",value:function(t,e,r){if((i=this.skipSpace(t,e))<0)return i;var n=new _a([]);if((i=this.tok("has",t,e))>=0){if((e=this.prop(t,i,n))<0)throw ec(this._thisDoc,this.lines,t,i,"expected property after 'has'");return r.push(new Ma(["->",n[0]])),e}if((i=this.tok("is",t,e))>=0){var i;if((e=this.prop(t,i,n))<0)throw ec(this._thisDoc,this.lines,t,i,"expected <property> after 'is'");if((i=this.skipSpace(t,e))<0)throw ec(this._thisDoc,this.lines,t,e,"End of file found, expected property after 'is'");if((i=this.tok("of",t,e=i))<0)throw ec(this._thisDoc,this.lines,t,e,"expected 'of' after 'is' <prop>");return r.push(new Ma(["<-",n[0]])),i}if((i=this.tok("a",t,e))>=0)return r.push(new Ma(["->",this._store.sym("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")])),i;if("<="==t.slice(e,e+2))return r.push(new Ma(["<-",this._store.sym(Ia+"implies")])),e+2;if("="==t.slice(e,e+1))return">"==t.slice(e+1,e+2)?(r.push(new Ma(["->",this._store.sym(Ia+"implies")])),e+2):(r.push(new Ma(["->",this._store.sym(Ja)])),e+1);if(":="==t.slice(e,e+2))return r.push(new Ma(["->",Ia+"becomes"])),e+2;if((i=this.prop(t,e,n))>=0)return r.push(new Ma(["->",n[0]])),i;if(">-"==t.slice(e,e+2)||"<-"==t.slice(e,e+2))throw ec(this._thisDoc,this.lines,t,i,">- ... -> 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((o=this.nodeOrLiteral(t,e,r))<0)return o;for(;"!^.".indexOf(t.slice(o,o+1))>=0;){var n=t.slice(o,o+1);if("."==n){var i=t.slice(o+1,o+2);if(!i||za.indexOf(i)>=0&&":?<[{(".indexOf(i)<0)break}var o,s=r.pop(),a=this.blankNode(this.here(o));if((o=this.node(t,o+1,r))<0)throw ec(this._thisDoc,this.lines,t,o,"EOF found in middle of path syntax");var c=r.pop();this.makeStatement(new Ma("^"==n?[this._context,c,a,s]:[this._context,c,s,a])),r.push(a)}return o}},{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,n){void 0===n&&(n=null);var i=n;if((u=this.skipSpace(t,e))<0)return u;var o=t.slice(e=u,e+1);if("["==o){var s=this.here(e);if((u=this.skipSpace(t,e+1))<0)throw ec(this._thisDoc,this.lines,t,e,"EOF after '['");if("="==t.slice(u,u+1)){e=u+1;var a=new _a([]);if(!((u=this.objectList(t,e,a))>=0))throw ec(this._thisDoc,this.lines,t,e,"objectList expected after [= ");if(i=a[0],Na(a)>1){var c=new Ua(a);try{for(;;){var h=c.next();this.makeStatement(new Ma([this._context,this._store.sym(Ja),i,h]))}}catch(t){if(t!=Ba)throw t}}if((u=this.skipSpace(t,u))<0)throw ec(this._thisDoc,this.lines,t,e,"EOF when objectList expected after [ = ");if(";"==t.slice(u,u+1))var u=u+1}if(null==i&&(i=this.blankNode(s)),(e=this.property_list(t,u,i))<0)throw ec(this._thisDoc,this.lines,t,u,"property_list expected");if((u=this.skipSpace(t,e))<0)throw ec(this._thisDoc,this.lines,t,e,"EOF when ']' expected after [ <propertyList>");if("]"!=t.slice(u,u+1))throw ec(this._thisDoc,this.lines,t,u,"']' expected");return r.push(i),u+1}if("{"==o){if("$"==t.slice(e+1,e+2)){u=(e+=1)+1;for(var l=new _a([]),p=!0;;){if((e=this.skipSpace(t,u))<0)throw ec(this._thisDoc,this.lines,t,e,"needed '$}', found end.");if("$}"==t.slice(e,e+2)){u=e+2;break}if(p)p=!1;else{if(","!=t.slice(e,e+1))throw ec(this._thisDoc,this.lines,t,e,"expected: ','");e+=1}var d=new _a([]);if((u=this.item(t,e,d))<0)throw ec(this._thisDoc,this.lines,t,e,"expected item in set or '$}'");l.push(d[0])}return r.push(this._store.newSet(l,this._context)),u}u=e+1;var m=this._parentContext;this._parentContext=this._context;var f=this._anonymousNodes,g=this._parentVariables;this._parentVariables=this._variables,this._anonymousNodes=new ja([]),this._variables=this._variables.slice();var w=this._reason2;for(this._reason2=null,null==i&&(i=this._store.formula()),this._context=i;;){if((e=this.skipSpace(t,u))<0)throw ec(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 ec(this._thisDoc,this.lines,t,e,"expected statement or '}'")}return this._anonymousNodes=f,this._variables=this._parentVariables,this._parentVariables=g,this._context=this._parentContext,this._reason2=w,this._parentContext=m,r.push(i.close()),u}if("("==o){var v=this._store.list;for("$"==t.slice(e+1,e+2)&&(v=this._store.newSet,e+=1),u=e+1,l=new _a([]);;){if((e=this.skipSpace(t,u))<0)throw ec(this._thisDoc,this.lines,t,e,"needed ')', found end.");if(")"==t.slice(e,e+1)){u=e+1;break}if(d=new _a([]),(u=this.item(t,e,d))<0)throw ec(this._thisDoc,this.lines,t,e,"expected item in list or ')'");l.push(d[0])}return r.push(v(l,this._context)),u}if((u=this.tok("this",t,e))>=0)throw ec(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==i&&(u=this.uri_ref2(t,e,r))>=0?u:-1}},{key:"property_list",value:function(t,e,r){for(;;){if((h=this.skipSpace(t,e))<0)throw ec(this._thisDoc,this.lines,t,e,"EOF found when expected verb in property list");if(":-"!=t.slice(h,h+2)){e=h;var n=new _a([]);if((h=this.verb(t,e,n))<=0)return e;var i=new _a([]);if((e=this.objectList(t,h,i))<0)throw ec(this._thisDoc,this.lines,t,h,"objectList expected");var o=new Ua(i);try{for(;;){var s=o.next(),a=n[0],c=a[1];this.makeStatement(new Ma("->"==a[0]?[this._context,c,r,s]:[this._context,c,s,r]))}}catch(t){if(t!=Ba)throw t}if((h=this.skipSpace(t,e))<0)throw ec(this._thisDoc,this.lines,t,h,"EOF found in list of objects");if(";"!=t.slice(e,e+1))return e;e+=1}else{e=h+2;var h,u=new _a([]);if((h=this.node(t,e,u,r))<0)throw ec(this._thisDoc,this.lines,t,e,"bad {} or () or [] node after :- ");e=h}}}},{key:"commaSeparatedList",value:function(t,e,r,n){if((i=this.skipSpace(t,e))<0)throw ec(this._thisDoc,this.lines,t,i,"EOF found expecting comma sep list");if("."==t.charAt(i))return e;if(n)var i=this.uri_ref2(t,i,r);else i=this.bareWord(t,i,r);if(i<0)return-1;for(;;){if((e=this.skipSpace(t,i))<0)return e;var o=t.slice(e,e+1);if(","!=o)return"."!=o?-1:e;if((i=n?this.uri_ref2(t,e+1,r):this.bareWord(t,e+1,r))<0)throw ec(this._thisDoc,this.lines,t,i,"bad list content")}}},{key:"objectList",value:function(t,e,r){if((e=this.object(t,e,r))<0)return-1;for(;;){var n=this.skipSpace(t,e);if(n<0)throw ec(this._thisDoc,this.lines,t,n,"EOF found after object");if(","!=t.slice(n,n+1))return n;if((e=this.object(t,n+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 ec(this._thisDoc,this.lines,t,r,"expected '.' or '}' or ']' at end of statement")}},{key:"uri_ref2",value:function(t,e,r){var n=new _a([]);if((p=this.qname(t,e,n))>=0){var i=n[0],o=i[0],s=i[1];if(null==o){Wa(0,"not used?");var a=this._baseURI+"#"}else if(!(a=this._bindings[o])){if("_"==o)return r.push(this.anonymousNode(s)),p;throw ec(this._thisDoc,this.lines,t,e,"Prefix "+o+" not bound.")}var c=this._store.sym(a+s);return pa(this._variables,c)>=0?r.push(this._variables[c]):r.push(c),p}if((e=this.skipSpace(t,e))<0)return-1;if("?"==t.charAt(e)){var h=new _a([]);return(p=this.variable(t,e,h))>0?(r.push(h[0]),p):-1}if("<"==t.charAt(e)){for(var u=e+=1;e<Na(t);){if(">"==t.charAt(e)){var l=t.slice(u,e);return this._baseURI?l=Va(this._baseURI,l):Wa(l.indexOf(":")>=0,"With no base URI, cannot deal with relative URIs"),"#"==t.slice(e-1,e)&&"#"!=La(l,-1,null)&&(l+="#"),c=this._store.sym(l),pa(this._variables,c)>=0?r.push(this._variables[c]):r.push(c),e+1}e+=1}throw ec(this._thisDoc,this.lines,t,p,"unterminated URI reference")}if(this.keywordsSet){var p;if(h=new _a([]),(p=this.bareWord(t,e,h))<0)return-1;if(pa(this.keywords,h[0])>=0)throw ec(this._thisDoc,this.lines,t,e,'Keyword "'+h[0]+'" not allowed here.');return r.push(this._store.sym(this._bindings[""]+h[0])),p}return-1}},{key:"skipSpace",value:function(t,e){for(var r=e||0;r<t.length;r++){var n=t.charAt(r);if(" \n\r\t\f\v \u2028\u2029 ".indexOf(n)<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((n=this.skipSpace(t,e))<0)return-1;if("?"!=t.slice(n,n+1))return-1;var n;if(e=n+=1,"0123456789-".indexOf(t.charAt(n))>=0)throw ec(this._thisDoc,this.lines,t,n,"Varible name can't start with '"+t.charAt(n)+"s'");for(;e<Na(t)&&za.indexOf(t.charAt(e))<0;)e+=1;if(null==this._parentContext)throw ec(this._thisDoc,this.lines,t,n,"Can't use ?xxx syntax for variable in outermost level: "+t.slice(n-1,e));return r.push(this._store.variable(t.slice(n,e))),e}},{key:"bareWord",value:function(t,e,r){var n=this.skipSpace(t,e);if(n<0)return-1;var i=t.charAt(n);if("0123456789-".indexOf(i)>=0)return-1;if(za.indexOf(i)>=0)return-1;for(e=n;e<Na(t)&&za.indexOf(t.charAt(e))<0;)e+=1;return r.push(t.slice(n,e)),e}},{key:"qname",value:function(t,e,r){if((e=this.skipSpace(t,e))<0)return-1;var n=t.charAt(e);if("0123456789-+".indexOf(n)>=0)return-1;if(za.indexOf(n)<0){var i=n;for(e+=1;e<Na(t)&&(n=t.charAt(e),za.indexOf(n)<0);)i+=n,e+=1}else i="";if(e<Na(t)&&":"==t.charAt(e)){var o=i;for(e+=1,i="";e<Na(t)&&(n=t.charAt(e),za.indexOf(n)<0);)i+=n,e+=1;return r.push(new Ma([o,i])),e}return i&&this.keywordsSet&&pa(this.keywords,i)<0?(r.push(new Ma(["",i])),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 n=null,i=t.charAt(e=s);if('"'==i||"'"==i){n=t.slice(e,e+3==i+i)?i+i+i:i,e+=Na(n);var o=this.strconst(t,e,n),s=o[0];return r.push(this._store.literal(o[1])),s}return-1}},{key:"nodeOrLiteral",value:function(t,e,r){if((l=this.node(t,e,r))>=0)return l;if((l=this.skipSpace(t,e))<0)return-1;var n=t.charAt(e=l);if("-+0987654321".indexOf(n)>=0){if(Xa.lastIndex=0,null!=(u=Xa.exec(t.slice(e))))l=e+(i=u[0]).length,i.indexOf("T")>=0?r.push(this._store.literal(i,this._store.sym("http://www.w3.org/2001/XMLSchema#dateTime"))):r.push(this._store.literal(i,this._store.sym("http://www.w3.org/2001/XMLSchema#date")));else{var i;if($a.lastIndex=0,null==(u=$a.exec(t.slice(e))))throw ec(this._thisDoc,this.lines,t,e,"Bad number or date syntax");(i=t.slice(e,l=e+$a.lastIndex)).indexOf("e")>=0?r.push(this._store.literal(parseFloat(i),this._store.sym("http://www.w3.org/2001/XMLSchema#double"))):t.slice(e,l).indexOf(".")>=0?r.push(this._store.literal(parseFloat(i),this._store.sym("http://www.w3.org/2001/XMLSchema#decimal"))):r.push(this._store.literal(parseInt(i),this._store.sym("http://www.w3.org/2001/XMLSchema#integer")))}return l}if('"'==t.charAt(e)){if('"""'==t.slice(e,e+3))var o='"""';else o='"';e+=Na(o);var s=null,a=this.strconst(t,e,o),c=a[1],h=null;if("@"==t.slice(l=a[0],l+1)){var u;if(Ya.lastIndex=0,null==(u=Ya.exec(t.slice(l+1))))throw ec(this._thisDoc,startline,t,e,"Bad language code syntax on string literal, after @");h=t.slice(l+1,e=Ya.lastIndex+l+1);var l=e}if("^^"==t.slice(l,l+2)){var p=new _a([]);l=this.uri_ref2(t,l+2,p),s=p[0]}return r.push(this._store.literal(c,h||s)),l}return-1}},{key:"strconst",value:function(t,e,r){for(var n=e,i="",o=this.lines;n<Na(t);){if(e=n+Na(r),t.slice(n,e)==r)return new Ma([e,i]);if('"'!=t.charAt(n)){if(Qa.lastIndex=0,!Qa.exec(t.slice(n)))throw ec(this._thisDoc,o,t,n,"Closing quote missing in string at ^ in "+t.slice(n-20,n)+"^"+t.slice(n,n+20));if(i+=t.slice(n,e=n+Qa.lastIndex-1),'"'!=(c=t.charAt(e)))if("\r"!=c){if("\n"==c){if('"'==r)throw ec(this._thisDoc,o,t,e,"newline found in string literal");this.lines=this.lines+1,i+=c,n=e+1,this.previousLine=this.startOfLine,this.startOfLine=n}else if("\\"==c){if(!(c=t.slice(n=e+1,n+1)))throw ec(this._thisDoc,o,t,e,"unterminated string literal (2)");var s=Ha('abfrtvn\\"',c);if(s>=0)i+='a\b\f\r\t\v\n\\"'.charAt(s),n+=1;else if("u"==c)n=(a=this.uEscape(t,n+1,o))[0],i+=c=a[1];else{if("U"!=c)throw ec(this._thisDoc,this.lines,t,e,"bad escape");var a,c;n=(a=this.UEscape(t,n+1,o))[0],i+=c=a[1]}}}else n=e+1;else n=e}else i=i+'"',n=n+1}throw ec(this._thisDoc,this.lines,t,e,"unterminated string literal")}},{key:"uEscape",value:function(t,e,r){for(var n=e,i=0,o=0;i<4;){var s=t.slice(n,n+1).toLowerCase();if(n+=1,""==s)throw ec(this._thisDoc,r,t,e,"unterminated string literal(3)");var a=Ha("0123456789abcdef",s);if(a<0)throw ec(this._thisDoc,r,t,e,"bad string literal hex escape");o=16*o+a,i+=1}var c=String.fromCharCode(o);return new Ma([n,c])}},{key:"UEscape",value:function(t,e,r){for(var n=e,i=0,o="\\U";i<8;){var s=t.slice(n,n+1).toLowerCase();if(n+=1,""==s)throw ec(this._thisDoc,r,t,e,"unterminated string literal(3)");if(Ha("0123456789abcdef",s)<0)throw ec(this._thisDoc,r,t,e,"bad string literal hex escape");o+=s,i+=1}var a,c=(a="0x"+La(o,2,10)-0,String.fromCharCode(a));return new Ma([n,c])}}]),t}();function ec(t,e,r,n,i){var o=e+1,s="Line "+o+" of <"+t+">: Bad syntax: "+i+'\nat: "'+r.slice(n,n+30)+'"',a=new SyntaxError(s,t,o);return a.lineNo=o,a.characterInFile=n,a.syntaxProblem=i,a}function rc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rc(Object(r),!0).forEach((function(e){_o(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var ic=nc(nc({},qs),{},{supports:(qa={},_o(qa,Ns.collections,!0),_o(qa,Ns.defaultGraphType,!1),_o(qa,Ns.equalsMethod,!0),_o(qa,Ns.identity,!1),_o(qa,Ns.id,!0),_o(qa,Ns.reversibleId,!1),_o(qa,Ns.variableType,!0),qa),collection:function(t){return new bs(t)},id:function(t){var e,r=this;return ss(t)?"( ".concat(t.elements.map((function(t){return r.id(t)})).join(", ")," )"):us(e=t)&&e.termType===Ho?Us.toString(t):qs.id(t)},termToNQ:function(t){return t.termType===qo?bs.toNT(t):qs.termToNQ(t)}}),oc=E(Ao());function sc(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 sc(t,e)})))}(t,e["@list"]):function(t,e){var r=e["@id"]?cc(t,e):t.rdfFactory.blankNode(),n=e["@list"].map((function(e){return sc(t,e)})),i=la(t.rdfFactory,r,n);return t.addAll(i),r}(t,e):Object.prototype.hasOwnProperty.call(e,"@id")?cc(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 ac(t,e,r,n){var i=r&&Object.prototype.hasOwnProperty.call(r,"termType")?r.value:r;return oc.default.flatten(JSON.parse(t),null,{base:i}).then((function(t){return t.reduce((function(t,n){return e=hc(e,r,n)}),e)})).then(n).catch(n)}function cc(t,e){return e["@id"].startsWith("_:")?t.rdfFactory.blankNode(e["@id"].substring(2)):t.rdfFactory.namedNode(e["@id"])}function hc(t,e,r){for(var n=r["@id"]?cc(t,r):t.rdfFactory.blankNode(),i=0,o=Object.keys(r);i<o.length;i++){var s=o[i];if("@id"!==s){if("@graph"==s)for(var a=n,c=r[s],h=0;h<c.length;h++)t=hc(t,a,c[h]);var u=r[s];if(Array.isArray(u))for(var l=0;l<u.length;l++)t.addStatement(uc(t,n,s,u[l],e));else t.addStatement(uc(t,n,s,u,e))}}return t}function uc(t,e,r,n,i){var o,s;return"@type"===r?(o=t.rdfFactory.namedNode("http://www.w3.org/1999/02/22-rdf-syntax-ns#type"),s=t.rdfFactory.namedNode(n)):(o=t.rdfFactory.namedNode(r),s=sc(t,n)),t.rdfFactory.quad(e,o,s,t.rdfFactory.namedNode(i))}var lc,pc="http://www.w3.org/1999/02/22-rdf-syntax-ns#",dc="http://www.w3.org/2001/XMLSchema#",mc="http://www.w3.org/2000/10/swap/",fc={xsd:{decimal:`${dc}decimal`,boolean:`${dc}boolean`,double:`${dc}double`,integer:`${dc}integer`,string:`${dc}string`},rdf:{type:`${pc}type`,nil:`${pc}nil`,first:`${pc}first`,rest:`${pc}rest`,langString:`${pc}langString`},owl:{sameAs:"http://www.w3.org/2002/07/owl#sameAs"},r:{forSome:`${mc}reify#forSome`,forAll:`${mc}reify#forAll`},log:{implies:`${mc}log#implies`}},gc=E(Eo()),{xsd:wc}=fc,vc=/\\u([a-fA-F0-9]{4})|\\U([a-fA-F0-9]{8})|\\([^])/g,yc={"\\":"\\","'":"'",'"':'"',n:"\n",r:"\r",t:"\t",f:"\f",b:"\b",_:"_","~":"~",".":".","-":"-","!":"!",$:"$","&":"&","(":"(",")":")","*":"*","+":"+",",":",",";":";","=":"=","/":"/","?":"?","#":"#","@":"@","%":"%"},bc=/[\x00-\x20<>\\"\{\}\|\^\`]/,Sc={_iri:!0,_unescapedIri:!0,_simpleQuotedString:!0,_langcode:!0,_blank:!0,_newline:!0,_comment:!0,_whitespace:!0,_endOfFile:!0},Ac=/$0^/,{rdf:Ec,xsd:Cc}=fc,Pc=0,Tc={namedNode:function(t){return new Rc(t)},blankNode:function(t){return new Oc(t||"n3-"+Pc++)},variable:function(t){return new Dc(t)},literal:function(t,e){if("string"==typeof e)return new xc(`"${t}"@${e.toLowerCase()}`);let r=e?e.value:"";return""===r&&("boolean"==typeof t?r=Cc.boolean:"number"==typeof t&&(Number.isFinite(t)?r=Number.isInteger(t)?Cc.integer:Cc.double:(r=Cc.double,Number.isNaN(t)||(t=t>0?"INF":"-INF")))),new xc(""===r||r===Cc.string?`"${t}"`:`"${t}"^^${r}`)},defaultGraph:function(){return lc},quad:Mc,triple:Mc},kc=Tc,Fc=class{constructor(t){this.id=t}get value(){return this.id}equals(t){return t instanceof Fc?this.id===t.id:!!t&&this.termType===t.termType&&this.value===t.value}hashCode(){return 0}toJSON(){return{termType:this.termType,value:this.value}}},Rc=class extends Fc{get termType(){return"NamedNode"}},xc=class extends Fc{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 Rc(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?Cc.string:Ec.langString}equals(t){return t instanceof xc?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}}}},Oc=class extends Fc{constructor(t){super(`_:${t}`)}get termType(){return"BlankNode"}get value(){return this.id.substr(2)}},Dc=class extends Fc{constructor(t){super(`?${t}`)}get termType(){return"Variable"}get value(){return this.id.substr(1)}};lc=new class extends Fc{constructor(){return super(""),lc||this}get termType(){return"DefaultGraph"}equals(t){return this===t||!!t&&this.termType===t.termType}};var Ic=class extends Fc{constructor(t,e,r,n){super(""),this._subject=t,this._predicate=e,this._object=r,this._graph=n||lc}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 Mc(t,e,r,n){return new Ic(t,e,r,n)}var _c,jc=0,Nc=class{constructor(t){this._contextStack=[],this._graph=null,this._setBase((t=t||{}).baseIRI),t.factory&&Bc(this,t.factory);const e="string"==typeof t.format?t.format.match(/\w*$/)[0].toLowerCase():"",r=/turtle/.test(e),n=/trig/.test(e),i=/triple/.test(e),o=/quad/.test(e),s=this._n3Mode=/n3/.test(e),a=i||o;(this._supportsNamedGraphs=!(r||s))||(this._readPredicateOrNamedGraph=this._readPredicate),this._supportsQuads=!(r||n||i||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 Sc)&&this[t]instanceof RegExp&&(this[t]=Ac)}else this._n3Mode=!1!==t.n3;this._comments=!!t.comments,this._literalClosingPos=0}_tokenizeToEnd(t,e){let r=this._input,n=r.length;for(;;){let t,s;for(;t=this._newline.exec(r);)this._comments&&(s=this._comment.exec(t[0]))&&i("comment",s[1],"",this._line,t[0].length),r=r.substr(t[0].length,r.length),n=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))&&i("comment",s[1],"",this._line,r.length),r=null,i("eof","","",this._line,0)),this._input=r;const a=this._line,c=r[0];let h="",u="",l="",p=null,d=0,m=!1;switch(c){case"^":if(r.length<3)break;if("^"!==r[1]){this._n3Mode&&(d=1,h="^");break}if(this._previousMarker="^^",r=r.substr(2),"<"!==r[0]){m=!0;break}case"<":if(p=this._unescapedIri.exec(r))h="IRI",u=p[1];else if(p=this._iri.exec(r)){if(u=this._unescape(p[1]),null===u||bc.test(u))return o(this);h="IRI"}else r.length>1&&"<"===r[1]?(h="<<",d=2):this._n3Mode&&r.length>1&&"="===r[1]&&(h="inverse",d=2,u=">");break;case">":r.length>1&&">"===r[1]&&(h=">>",d=2);break;case"_":((p=this._blank.exec(r))||e&&(p=this._blank.exec(`${r} `)))&&(h="blank",l="_",u=p[1]);break;case'"':if(p=this._simpleQuotedString.exec(r))u=p[1];else if(({value:u,matchLength:d}=this._parseLiteral(r)),null===u)return o(this);null===p&&0===d||(h="literal",this._literalClosingPos=0);break;case"'":if(!this._lineMode){if(p=this._simpleApostropheString.exec(r))u=p[1];else if(({value:u,matchLength:d}=this._parseLiteral(r)),null===u)return o(this);null===p&&0===d||(h="literal",this._literalClosingPos=0)}break;case"?":this._n3Mode&&(p=this._variable.exec(r))&&(h="var",u=p[0]);break;case"@":"literal"===this._previousMarker&&(p=this._langcode.exec(r))?(h="langcode",u=p[1]):(p=this._keyword.exec(r))&&(h=p[0]);break;case".":if(1===r.length?e:r[1]<"0"||r[1]>"9"){h=".",d=1;break}case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case"+":case"-":(p=this._number.exec(r)||e&&(p=this._number.exec(`${r} `)))&&(h="literal",u=p[0],l="string"==typeof p[1]?wc.double:"string"==typeof p[2]?wc.decimal:wc.integer);break;case"B":case"b":case"p":case"P":case"G":case"g":(p=this._sparqlKeyword.exec(r))?h=p[0].toUpperCase():m=!0;break;case"f":case"t":(p=this._boolean.exec(r))?(h="literal",u=p[0],l=wc.boolean):m=!0;break;case"a":(p=this._shortPredicates.exec(r))?(h="abbreviation",u="a"):m=!0;break;case"=":this._n3Mode&&r.length>1&&(h="abbreviation",">"!==r[1]?(d=1,u="="):(d=2,u=">"));break;case"!":if(!this._n3Mode)break;case",":case";":case"[":case"]":case"(":case")":case"{":case"}":this._lineMode||(d=1,h=c);break;default:m=!0}if(m&&("@prefix"!==this._previousMarker&&"PREFIX"!==this._previousMarker||!(p=this._prefix.exec(r))?((p=this._prefixed.exec(r))||e&&(p=this._prefixed.exec(`${r} `)))&&(h="prefixed",l=p[1]||"",u=this._unescape(p[2])):(h="prefix",u=p[1]||"")),"^^"===this._previousMarker)switch(h){case"prefixed":h="type";break;case"IRI":h="typeIRI";break;default:h=""}if(!h)return e||!/^'''|^"""/.test(r)&&/\n|\r/.test(r)?o(this):this._input=r;const f=d||p[0].length,g=i(h,u,l,a,f);this.previousToken=g,this._previousMarker=h,r=r.substr(f,r.length)}function i(e,i,o,s,a){const c=r?n-r.length:n,h={type:e,value:i,prefix:o,line:s,start:c,end:c+a};return t(null,h),h}function o(e){t(e._syntaxError(/^\S*/.exec(r)[0]))}}_unescape(t){let e=!1;const r=t.replace(vc,((t,r,n,i)=>{if("string"==typeof r)return String.fromCharCode(Number.parseInt(r,16));if("string"==typeof n){let t=Number.parseInt(n,16);return t<=65535?String.fromCharCode(Number.parseInt(n,16)):String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t))}return i in yc?yc[i]:(e=!0,"")}));return e?null:r}_parseLiteral(t){if(t.length>=3){const e=t.match(/^(?:"""|"|'''|'|)/)[0],r=e.length;let n=Math.max(this._literalClosingPos,r);for(;(n=t.indexOf(e,n))>0;){let e=0;for(;"\\"===t[n-e-1];)e++;if(e%2==0){const e=t.substring(r,n),i=e.split(/\r\n|\r|\n/).length-1,o=n+r;if(1===r&&0!==i||3===r&&this._lineMode)break;return this._line+=i,{value:this._unescape(e),matchLength:o}}n++}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,n)=>r?e=r:t.push(n)),!0),e)throw e;return t}(0,gc.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(){jc=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,n,i){const o=this._n3Mode;this._contextStack.push({type:t,subject:r,predicate:n,object:i,graph:e,inverse:!!o&&this._inversePredicate,blankPrefix:o?this._prefixes._:"",quantified:o?this._quantified:null}),o&&(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 n=this._prefixes[t.prefix];if(void 0===n)return this._error(`Undefined prefix "${t.prefix}:"`,t);r=this._namedNode(n+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,n=this._readListItem;const i=this._subject,o=this._contextStack,s=o[o.length-1];switch(t.type){case"[":this._saveContext("blank",this._graph,r=this._blankNode(),this.RDF_FIRST,this._subject=e=this._blankNode()),n=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!==o.length&&"list"===o[o.length-1].type&&this._emit(this._subject,this._predicate,this._object,this._graph),null===this._predicate){if(n=this._readPredicate,this._subject===this.RDF_NIL)return n}else if(n=this._getContextEndReader(),this._object===this.RDF_NIL)return n;r=this.RDF_NIL;break;case"literal":0===t.prefix.length?(this._literalValue=t.value,n=this._readListItemDataTypeOrLang):(e=this._literal(t.value,this._namedNode(t.prefix)),n=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===i?null===s.predicate?s.subject=r:s.object=r:this._emit(i,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 n}_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 n=this._subject,i=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,i&&(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!==n){const t=this._predicate,e=this._object;i?this._emit(e,t,n,r):this._emit(n,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 n=this._blankNode();if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(e=this._subject,this._subject=n):(e=this._object,this._object=n),this._emit(e,r,n,this._graph),this._readPath}_readBackwardPath(t){const e=this._blankNode();let r,n;if(void 0!==(r=this._readEntity(t)))return null===this._predicate?(n=this._subject,this._subject=e):(n=this._object,this._object=e),this._emit(e,r,n,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,n){this._callback(null,this._quad(t,e,r,n||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=Lc}_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="",n=-1,i=-1,o=0,s="/";for(;n<e;){switch(s){case":":if(i<0&&"/"===t[++n]&&"/"===t[++n])for(;(i=n+1)<e&&"/"!==t[i];)n=i;break;case"?":case"#":n=e;break;case"/":if("."===t[n+1])switch(s=t[1+ ++n],s){case"/":r+=t.substring(o,n-1),o=n+1;break;case void 0:case"?":case"#":return r+t.substring(o,n)+t.substr(n+1);case".":if(s=t[1+ ++n],void 0===s||"/"===s||"?"===s||"#"===s){if(r+=t.substring(o,n-2),(o=r.lastIndexOf("/"))>=i&&(r=r.substr(0,o)),"/"!==s)return`${r}/${t.substr(n+1)}`;o=n+1}}}s=t[++n]}return r+t.substring(o)}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${jc++}_`,this._prefixCallback=r||Lc,this._inversePredicate=!1,this._quantified=Object.create(null),!e){const e=[];let r;if(this._callback=(t,n)=>{t?r=t:n&&e.push(n)},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=Lc):this._readCallback&&(this._readCallback=this._readCallback(e))}))}};function Lc(){}function Bc(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(fc.rdf.first),t.RDF_REST=r(fc.rdf.rest),t.RDF_NIL=r(fc.rdf.nil),t.N3_FORALL=r(fc.r.forAll),t.N3_FORSOME=r(fc.r.forSome),t.ABBREVIATIONS={a:r(fc.rdf.type),"=":r(fc.owl.sameAs),">":r(fc.log.implies)},t.QUANTIFIERS_GRAPH=r("urn:n3:quantifiers")}Bc(Nc.prototype,kc),void 0===_c&&(_c={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 Uc=function(){function t(e,r){Ro(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 Fo(t,[{key:"addTriple",value:function(t,e,r,n){var i,o,s,a;i=void 0===e?qs.namedNode(this.options.base):this.toRDFNodeObject(e),s=this.toRDFNodeObject(r),o=this.toRDFNodeObject(n),a=qs.namedNode(this.options.base),this.kb.add(i,s,o,a)}},{key:"ancestorPath",value:function(t){for(var e="";t&&t.nodeType!==_c.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 n=t.dateTimeTypes[r].pattern.exec(e);if(n&&n[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 n,i=e.indexOf(":");if(i>=0){var o=e.substring(0,i);if(""===o)return(n=r[""])?n+e.substring(i+1):null;if("_"===o)return"_:"+e.substring(i+1);if(t.NCNAME.test(o)&&(n=r[o]))return n+e.substring(i+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,n,i,o){if(""===t)return null;var s=this.parseTermOrCURIEOrAbsURI(t,e,o?null:r,n,i);return s&&0===s.indexOf("_:")?null:s}},{key:"parsePrefixMappings",value:function(t,e){for(var r=this.tokenize(t),n=null,i=0;i<r.length;i++)":"===r[i][r[i].length-1]?n=r[i].substring(0,r[i].length-1):n&&(e[n]=this.options.base?Ms(r[i],this.options.base):r[i],n=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,n,i){t=this.trim(t);var o=this.parseCURIE(t,n,i);if(o)return o;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(i,t):null}},{key:"parseTermOrCURIEOrURI",value:function(t,e,r,n,i){t=this.trim(t);var o=this.parseCURIE(t,n,i);if(o)return o;var s=r[t];return s||((s=r[t.toLowerCase()])?s:e&&!this.absURIRE.exec(t)?e+t:this.resolveAndNormalize(i,t))}},{key:"parseURI",value:function(t){return t}},{key:"process",value:function(e,r){var n;r=r||{},e.nodeType===_c.DOCUMENT_NODE?(e.baseURI&&!r.baseURI&&(r.baseURI=e.baseURI),n=e.baseURI,(e=e.documentElement).baseURI||(e.baseURI=n),this.setContext(e)):e.parentNode.nodeType===_c.DOCUMENT_NODE&&this.setContext(e);var i=[],o=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(i.push({current:e,context:this.push(null,o(e.baseURI))});i.length>0;){var s=i.shift();if(s.parent){if(s.context.parent&&s.context.parent.listMapping===s.listMapping)continue;for(var a in s.listMapping){var c=s.listMapping[a];if(0!==c.length){for(var h=[],u=0;u<c.length;u++)h.push(this.newBlankNode());for(var l=0;l<h.length;l++)this.addTriple(s.parent,h[l],"http://www.w3.org/1999/02/22-rdf-syntax-ns#first",c[l]),this.addTriple(s.parent,h[l],"http://www.w3.org/1999/02/22-rdf-syntax-ns#rest",{type:t.objectURI,value:l+1<h.length?h[l+1]:"http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"});this.addTriple(s.parent,s.subject,a,{type:t.objectURI,value:h[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 p=s.current,d=s.context,m=!1,f=null,g=null,w=null,v=d.prefixes,y=!1,b=[],S=d.listMapping,A=!d.parent,E=d.language,C=d.vocabulary;n=this.parseURI(o(p.baseURI)),p.item=null;var P=p.getAttributeNode("vocab");if(P){var T=this.trim(P.value);T.length>0?this.addTriple(p,n.spec,"http://www.w3.org/ns/rdfa#usesVocabulary",{type:t.objectURI,value:C=T}):C=this.vocabulary}for(var k=0;k<p.attributes.length;k++){var F=p.attributes[k];if("x"===F.nodeName.charAt(0)&&0===F.nodeName.indexOf("xmlns:")){y||(v=this.copyMappings(v),y=!0);var R=F.nodeName.substring(6),x=t.trim(F.value);v[R]=this.options.base?Ms(x,this.options.base):x}}var O=p.getAttributeNode("prefix");O&&(y||(v=this.copyMappings(v),y=!0),this.parsePrefixMappings(O.value,v));for(var D=null,I=0;!D&&I<this.langAttributes.length;I++)D=p.getAttributeNodeNS(this.langAttributes[I].namespaceURI,this.langAttributes[I].localName);if(D){var M=t.trim(D.value);E=M.length>0?M:null}var _,j,N=p.getAttributeNode("rel"),L=p.getAttributeNode("rev"),B=p.getAttributeNode("typeof"),U=p.getAttributeNode("property"),H=p.getAttributeNode("datatype"),W=this.inHTMLMode?p.getAttributeNode("datetime"):null,q=p.getAttributeNode("content"),V=p.getAttributeNode("about"),G=p.getAttributeNode("src"),J=p.getAttributeNode("resource"),K=p.getAttributeNode("href"),z=p.getAttributeNode("inlist"),$=[];if(N){j=this.tokenize(N.value);for(var X=0;X<j.length;X++)(_=this.parsePredicate(j[X],C,d.terms,v,n,this.inHTMLMode&&null!==U))&&$.push(_)}var Q=[];if(L){j=this.tokenize(L.value);for(var Y=0;Y<j.length;Y++)(_=this.parsePredicate(j[Y],C,d.terms,v,n,this.inHTMLMode&&U))&&Q.push(_)}if(this.inHTMLMode&&(N||L)&&U&&(0===$.length&&(N=null),0===Q.length&&(L=null)),N||L?(V&&(f=this.parseSafeCURIEOrCURIEOrURI(V.value,v,n)),B&&(w=f),f||(p.parentNode.nodeType===_c.DOCUMENT_NODE?f=o(p.baseURI):d.parentObject&&(f=o(p.parentNode.baseURI)===d.parentObject?o(p.baseURI):d.parentObject)),J&&(g=this.parseSafeCURIEOrCURIEOrURI(J.value,v,n)),g||(K?g=this.resolveAndNormalize(n,encodeURI(K.value)):G?g=this.resolveAndNormalize(n,encodeURI(G.value)):!B||V||this.inXHTMLMode&&("head"===p.localName||"body"===p.localName)||(g=this.newBlankNode())),!B||V||!this.inXHTMLMode||"head"!==p.localName&&"body"!==p.localName?B&&!V&&(w=g):w=f):!U||q||H?(V&&(f=this.parseSafeCURIEOrCURIEOrURI(V.value,v,n)),!f&&J&&(f=this.parseSafeCURIEOrCURIEOrURI(J.value,v,n)),!f&&K&&(f=this.resolveAndNormalize(n,encodeURI(K.value))),!f&&G&&(f=this.resolveAndNormalize(n,encodeURI(G.value))),f||(p.parentNode.nodeType===_c.DOCUMENT_NODE?f=o(p.baseURI):!this.inXHTMLMode&&!this.inHTMLMode||"head"!==p.localName&&"body"!==p.localName?B?f=this.newBlankNode():d.parentObject&&(f=o(p.parentNode.baseURI)===d.parentObject?o(p.baseURI):d.parentObject,U||(m=!0)):f=o(p.parentNode.baseURI)===d.parentObject?o(p.baseURI):d.parentObject),B&&(w=f)):(V&&(f=this.parseSafeCURIEOrCURIEOrURI(V.value,v,n),B&&(w=f)),f||p.parentNode.nodeType!==_c.DOCUMENT_NODE?!f&&d.parentObject&&(f=o(p.parentNode.baseURI)===d.parentObject?o(p.baseURI):d.parentObject):(f=o(p.baseURI),B&&(w=f)),B&&!w&&(J&&(w=this.parseSafeCURIEOrCURIEOrURI(J.value,v,n)),!w&&K&&(w=this.resolveAndNormalize(n,encodeURI(K.value))),!w&&G&&(w=this.resolveAndNormalize(n,encodeURI(G.value))),w||!this.inXHTMLMode&&!this.inHTMLMode||"head"!==p.localName&&"body"!==p.localName||(w=f),w||(w=this.newBlankNode()),g=w)),f&&(V||J||w)){var Z=f;B&&!V&&!J&&g&&(Z=g),this.newSubjectOrigin(p,Z)}if(w){j=this.tokenize(B.value);for(var tt=0;tt<j.length;tt++){var et=this.parseTermOrCURIEOrAbsURI(j[tt],C,d.terms,v,n);et&&this.addTriple(p,w,t.typeURI,{type:t.objectURI,value:et})}}if(f&&f!==d.parentObject&&(S={},A=!0),g){if(N&&z)for(var rt=0;rt<$.length;rt++){var nt=S[$[rt]];nt||(S[$[rt]]=nt=[]),nt.push({type:t.objectURI,value:g})}else if(N)for(var it=0;it<$.length;it++)this.addTriple(p,f,$[it],{type:t.objectURI,value:g});if(L)for(var ot=0;ot<Q.length;ot++)this.addTriple(p,g,Q[ot],{type:t.objectURI,value:f})}else{if(f&&!g&&(N||L)&&(g=this.newBlankNode()),N&&z)for(var st=0;st<$.length;st++){var at=S[$[st]];at||(S[_]=at=[]),b.push({predicate:$[st],list:at})}else if(N)for(var ct=0;ct<$.length;ct++)b.push({predicate:$[ct],forward:!0});if(L)for(var ht=0;ht<Q.length;ht++)b.push({predicate:Q[ht],forward:!1})}if(U){var ut=null,lt=null;H?(ut=""===H.value?t.PlainLiteralURI:this.parseTermOrCURIEOrAbsURI(H.value,C,d.terms,v,n),lt=W&&!q?W.value:ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?null:q?q.value:p.textContent):q?(ut=t.PlainLiteralURI,lt=q.value):W?(ut=t.deriveDateTimeType(lt=W.value))||(ut=t.PlainLiteralURI):N||L||(J&&(lt=this.parseSafeCURIEOrCURIEOrURI(J.value,v,n)),!lt&&K?lt=this.resolveAndNormalize(n,encodeURI(K.value)):!lt&&G&&(lt=this.resolveAndNormalize(n,encodeURI(G.value))),lt&&(ut=t.objectURI)),ut||(B&&!V?(ut=t.objectURI,lt=w):(lt=p.textContent,this.inHTMLMode&&"time"===p.localName&&(ut=t.deriveDateTimeType(lt)),ut||(ut=t.PlainLiteralURI))),j=this.tokenize(U.value);for(var pt=0;pt<j.length;pt++){var dt=this.parsePredicate(j[pt],C,d.terms,v,n);if(dt)if(z){var mt=S[dt];mt||(S[dt]=mt=[]),mt.push(ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?{type:ut,value:p.childNodes}:{type:ut||t.PlainLiteralURI,value:lt,language:E})}else this.addTriple(p,f,dt,ut===t.XMLLiteralURI||ut===t.HTMLLiteralURI?{type:ut,value:p.childNodes}:{type:ut||t.PlainLiteralURI,value:lt,language:E})}}if(f&&!m)for(var ft=0;ft<d.incomplete.length;ft++)d.incomplete[ft].list?d.incomplete[ft].list.push({type:t.objectURI,value:f}):d.incomplete[ft].forward?this.addTriple(p,d.subject,d.incomplete[ft].predicate,{type:t.objectURI,value:f}):this.addTriple(p,f,d.incomplete[ft].predicate,{type:t.objectURI,value:d.subject});var gt=null,wt=f;m?((gt=this.push(d,d.subject)).parentObject=o(p.parentNode.baseURI)===d.parentObject?o(p.baseURI):d.parentObject,gt.incomplete=d.incomplete,gt.language=E,gt.prefixes=v,gt.vocabulary=C):((gt=this.push(d,f)).parentObject=g||f||d.subject,gt.prefixes=v,gt.incomplete=b,g&&(wt=g,S={},A=!0),gt.listMapping=S,gt.language=E,gt.vocabulary=C),A&&i.unshift({parent:p,context:d,subject:wt,listMapping:S});for(var vt=p.lastChild;vt;vt=vt.previousSibling)vt.nodeType===_c.ELEMENT_NODE&&i.unshift({current:vt,context:gt})}}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 Ms(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 rs(e.substring(2))),this.blankNodes[e.substring(2)]):qs.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 rs(e.value.substring(2))),this.blankNodes[e.value.substring(2)]):qs.namedNode(e.value);case t.PlainLiteralURI:return new vs(e.value,e.language||"");case t.XMLLiteralURI:case t.HTMLLiteralURI:var n="";return Object.keys(e.value).forEach((function(t){n+=Qs(e.value[t],r.htmlOptions)})),new vs(n,"",new gs(e.type));default:return new vs(e.value,"",new gs(e.type))}}}},{key:"trim",value:function(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}}],[{key:"parseRDFaDOM",value:function(e,r,n){var i=new t(r,{base:n});e.baseURI||(e.baseURI=n),i.process(e,{baseURI:n})}},{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}();Uc.XMLLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral",Uc.HTMLLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML",Uc.PlainLiteralURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#PlainLiteral",Uc.objectURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#object",Uc.typeURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#type",Uc.nameChar="[-A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-�က0-F.0-9·̀-ͯ‿-⁀]",Uc.nameStartChar="[A-Za-zÀ-ÖØ-öø-ÿĀ-ıĴ-ľŁ-ňŊ-žƀ-ǃǍ-ǰǴ-ǵǺ-ȗɐ-ʨʻ-ˁΆΈ-ΊΌΎ-ΡΣ-ώϐ-ϖϚϜϞϠϢ-ϳЁ-ЌЎ-яё-ќў-ҁҐ-ӄӇ-ӈӋ-ӌӐ-ӫӮ-ӵӸ-ӹԱ-Ֆՙա-ֆא-תװ-ײء-غف-يٱ-ڷں-ھۀ-ێې-ۓەۥ-ۦअ-हऽक़-ॡঅ-ঌএ-ঐও-নপ-রলশ-হড়-ঢ়য়-ৡৰ-ৱਅ-ਊਏ-ਐਓ-ਨਪ-ਰਲ-ਲ਼ਵ-ਸ਼ਸ-ਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઋઍએ-ઑઓ-નપ-રલ-ળવ-હઽૠଅ-ଌଏ-ଐଓ-ନପ-ରଲ-ଳଶ-ହଽଡ଼-ଢ଼ୟ-ୡஅ-ஊஎ-ஐஒ-கங-சஜஞ-டண-தந-பம-வஷ-ஹఅ-ఌఎ-ఐఒ-నప-ళవ-హౠ-ౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹೞೠ-ೡഅ-ഌഎ-ഐഒ-നപ-ഹൠ-ൡก-ฮะา-ำเ-ๅກ-ຂຄງ-ຈຊຍດ-ທນ-ຟມ-ຣລວສ-ຫອ-ຮະາ-ຳຽເ-ໄཀ-ཇཉ-ཀྵႠ-Ⴥა-ჶᄀᄂ-ᄃᄅ-ᄇᄉᄋ-ᄌᄎ-ᄒᄼᄾᅀᅌᅎᅐᅔ-ᅕᅙᅟ-ᅡᅣᅥᅧᅩᅭ-ᅮᅲ-ᅳᅵᆞᆨᆫᆮ-ᆯᆷ-ᆸᆺᆼ-ᇂᇫᇰᇹḀ-ẛẠ-ỹἀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼΩK-Å℮ↀ-ↂぁ-ゔァ-ヺㄅ-ㄬ가-힣一-龥〇〡-〩_]",Uc.NCNAME=new RegExp("^"+Uc.nameStartChar+Uc.nameChar+"*$"),Uc.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 Hc=Uc.parseRDFaDOM,Wc=function(){function t(e){Ro(this,t),this.store=e,this.bnodes={},this.why=null,this.reify=!1}return Fo(t,[{key:"frameFactory",value:function(e,r,n){return{NODE:1,ARC:2,parent:r,parser:e,store:e.store,element:n,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=Ms(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(Ms("#"+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 n=null;if(t.getAttributeNodeNS)n=t.getAttributeNodeNS(e,r);else for(var i,o=t.attributes,s=0;s<o.length;++s)if((i=o[s]).namespaceURI===e&&(i.prefix?i.prefix+":"+r:r)===i.nodeName){n=i;break}return n}},{key:"parse",value:function(e,r,n){var i,o=e.childNodes;if(this.cleanParser(),e.nodeType===t.nodeType.DOCUMENT){for(var s=0;s<o.length;s++)if(o[s].nodeType===t.nodeType.ELEMENT){i=o[s];break}}else{if(e.nodeType!==t.nodeType.ELEMENT)throw new Error("RDFParser: can't find root in "+r+". Halting. ");i=e}this.why=n;var a=this.frameFactory(this);return this.base=r,a.base=r,a.lang=null,this.parseDOM(this.buildFrame(a,i)),!0}},{key:"parseDOM",value:function(e){for(var r,n=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),i=!0;e.parent;){var o=e.element,s=o.attributes;if(o.nodeType===t.nodeType.TEXT||o.nodeType===t.nodeType.CDATA_SECTION)e.parent.nodeType===e.NODE&&(e.addArc(t.ns.RDF+"value"),e=this.buildFrame(e)),e.addLiteral(o.nodeValue);else if(n(o)!==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(n(o)),this.reify&&(r=this.getAttributeNodeNS(o,t.ns.RDF,"ID"))&&(e.rdfid=r.nodeValue,o.removeAttributeNode(r));var a=this.getAttributeNodeNS(o,t.ns.RDF,"parseType"),c=this.getAttributeNodeNS(o,t.ns.RDF,"datatype");if(c&&(e.datatype=c.nodeValue,o.removeAttributeNode(c)),a){var h=a.nodeValue;"Literal"===h?(e.datatype=t.ns.RDF+"XMLLiteral",(e=this.buildFrame(e)).addLiteral(o.childNodes),i=!1):"Resource"===h?((e=this.buildFrame(e,e.element)).parent.element=null,e.addBNode()):"Collection"===h&&((e=this.buildFrame(e,e.element)).parent.element=null,e.addCollection()),o.removeAttributeNode(a)}if(0!==s.length){var u=this.getAttributeNodeNS(o,t.ns.RDF,"resource"),l=this.getAttributeNodeNS(o,t.ns.RDF,"nodeID");e=this.buildFrame(e),u?(e.addNode(u.nodeValue),o.removeAttributeNode(u)):l?(e.addBNode(l.nodeValue),o.removeAttributeNode(l)):e.addBNode();for(var p=s.length-1;p>=0;p--){var d=this.buildFrame(e);d.addArc(n(s[p])),n(s[p])===t.ns.RDF+"type"?this.buildFrame(d).addNode(s[p].nodeValue):this.buildFrame(d).addLiteral(s[p].nodeValue)}}else 0===o.childNodes.length&&this.buildFrame(e).addLiteral("")}else{var m=this.getAttributeNodeNS(o,t.ns.RDF,"about");if(r=this.getAttributeNodeNS(o,t.ns.RDF,"ID"),m&&r)throw new Error("RDFParser: "+o.nodeName+" has both rdf:id and rdf:about. Halting. Only one of these properties may be specified on a node.");if(!m&&r)e.addNode("#"+r.nodeValue),o.removeAttributeNode(r);else if(null==m&&null==r){var f=this.getAttributeNodeNS(o,t.ns.RDF,"nodeID");f?(e.addBNode(f.nodeValue),o.removeAttributeNode(f)):e.addBNode()}else e.addNode(m.nodeValue),o.removeAttributeNode(m);var g=this.getAttributeNodeNS(o,t.ns.RDF,"type");t.ns.RDF+"Description"!==n(o)&&(g={nodeValue:n(o)}),null!=g&&(this.store.add(e.node,this.store.sym(t.ns.RDF+"type"),this.store.sym(Ms(g.nodeValue,e.base)),this.why),g.nodeName&&o.removeAttributeNode(g));for(var w=s.length-1;w>=0;w--)this.store.add(e.node,this.store.sym(n(s[w])),this.store.literal(s[w].nodeValue,e.lang),this.why)}for(o=e.element;e.parent;){for(var v=e;null==o;)o=(e=e.parent).element;var y=o.childNodes&&o.childNodes[e.lastChild];if(y&&i){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===o.childNodes.length)){e.lastChild++,e=this.buildFrame(v,o.childNodes[e.lastChild-1]);break}e.lastChild++}else{if(e.terminateFrame(),!(e=e.parent))break;o=e.element,i=!0}}}}},{key:"cleanParser",value:function(){this.bnodes={},this.why=null}},{key:"buildFrame",value:function(e,r){var n=this.frameFactory(this,e,r);if(e&&(n.base=e.base,n.lang=e.lang),!r||r.nodeType===t.nodeType.TEXT||r.nodeType===t.nodeType.CDATA_SECTION)return n;var i=r.attributes,o=r.getAttributeNode("xml:base");null!=o&&(n.base=o.nodeValue,r.removeAttribute("xml:base"));var s=r.getAttributeNode("xml:lang");null!=s&&(n.lang=s.nodeValue,r.removeAttribute("xml:lang"));for(var a=i.length-1;a>=0;a--)if("xml"===i[a].nodeName.substr(0,3)){if("xmlns:"===i[a].name.slice(0,6)){var c=i[a].nodeValue;this.base&&(c=Ms(c,this.base)),this.store.setPrefixForURI(i[a].name.slice(6),c)}r.removeAttributeNode(i[a])}return n}}]),t}();function qc(t,e,r){var n,i,o,s=["INSERT","DELETE","WHERE"],a=zs("http://www.w3.org/ns/pim/patch#"),c=Za(e,e,r,r,null,null,"",null),h={},u=function(t,e,r,n,i){return"Line "+(e+1)+" of <"+t+">: Bad syntax:\n "+i+'\n at: "'+r.slice(n,n+30)+'"'};n=0;var l=e.sym(r+"#query");for(h.query=l;;){if((i=c.skipSpace(t,n))<0)return h;if(";"===t[i]){if((n=c.skipSpace(t,i+1))<0)return h;i=n}var p=!1;for(o=0;o<s.length;o++){var d=s[o];if(t.slice(i,i+d.length)===d){if((n=c.skipSpace(t,i+d.length))<0)throw u(c._thisDoc,c.lines,t,i+d.length,"found EOF, needed {...} after "+d);if(("INSERT"===d||"DELETE"===d)&&"DATA"===t.slice(n,n+4)){if((i=c.skipSpace(t,n+4))<0)throw u(c._thisDoc,c.lines,t,n+4,"needed {...} after INSERT DATA "+d);n=i}var m=[];if((i=c.node(t,n,m))<0)throw u(c._thisDoc,c.lines,t,n,"bad syntax or EOF in {...} after "+d);h[d.toLowerCase()]=m[0],e.add(l,a(d.toLowerCase()),m[0]),p=!0,n=i}}if(!p&&"@prefix"===t.slice(i,i+7)){if((n=c.directive(t,i))<0)throw u(c._thisDoc,c.lines,t,n,"bad syntax or EOF after @prefix ");n=c.checkDot(t,n),p=!0}if(!p)throw u(c._thisDoc,c.lines,t,i,"Unknown syntax at start of statememt: '"+t.slice(i).slice(0,20)+"'")}}function Vc(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"text/turtle",i=arguments.length>4?arguments[4]:void 0;n=(n=n||ts).split(";")[0];try{if(n===zo||n===ts){var o=Za(e,e,r,r,null,null,"",null);o.loadBuf(t),c()}else if(n===Qo){var s=new Wc(e);s.parse(ta(t),r,e.sym(r)),c()}else if(n===es)Hc(ta(t,{contentType:es}),e,r),c();else if(n===Jo)Hc(ta(t,{contentType:Jo}),e,r),c();else if(n===Yo||n===Zo)qc(t,e,r),c();else if(n===Ko)ac(t,e,r,c);else{if(n!==Xo&&n!==$o)throw void 0===n?new Error("contentType is undefined"):new Error("Don't know how to parse "+n+" yet");var a=new Nc({factory:ic});u(null,t)}}catch(t){h(t)}function c(){i&&i(null,e)}function h(t){if(n!==Ko||n!==Xo||n!==$o){if(!i){var o=new Error(t+" while trying to parse <"+r+"> as "+n);throw o.cause=t,o}i(t,e)}}function u(t,r){t&&i(t,e);try{a.parse(r,l)}catch(t){i(t,e)}}function l(t,r){r?e.add(r.subject,r.predicate,r.object,r.graph):i(t,e)}Vc.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(Wc,"ns",{RDF:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",RDFS:"http://www.w3.org/2000/01/rdf-schema#"}),_o(Wc,"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 Gc=E(T());function Jc(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,n=Mo(t);if(e){var i=Mo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Io(this,r)}}var Kc={"text/n3":!0,"text/turtle":!0,"application/rdf+xml":!0,"application/xhtml+xml":!0,"text/html":!0,"application/ld+json":!0},zc={rdf:Qo,owl:Qo,n3:"text/n3",ttl:"text/turtle",nt:"text/n3",acl:"text/n3",html:"text/html",xml:"text/xml"},$c=function(t){return{link:zs("http://www.w3.org/2007/ont/link#",t),http:zs("http://www.w3.org/2007/ont/http#",t),httph:zs("http://www.w3.org/2007/ont/httph#",t),rdf:zs("http://www.w3.org/1999/02/22-rdf-syntax-ns#",t),rdfs:zs("http://www.w3.org/2000/01/rdf-schema#",t),dc:zs("http://purl.org/dc/elements/1.1/",t),ldp:zs("http://www.w3.org/ns/ldp#",t)}},Xc=$c(),Qc=Fo((function t(e,r){Ro(this,t),_o(this,"response",void 0),_o(this,"dom",void 0),this.response=e,this.dom=r}));_o(Qc,"pattern",void 0);var Yc=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r){var n=t.store;if(this.dom||(this.dom=ta(e)),"parsererror"===this.dom.documentElement.nodeName)return t.failFetch(r,"Badly formed XML in "+r.resource.value,"parse_error");var i=new Wc(n);try{i.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||n.add(r.original,Xc.rdf("type"),Xc.link("RDFDocument"),t.appNode),t.doneFetch(r,this.response)}}],[{key:"toString",value:function(){return"RDFXMLHandler"}},{key:"register",value:function(t){t.mediatypes[Qo]={q:.9}}}]),e}();Yc.pattern=new RegExp("application/rdf\\+xml");var Zc=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r){var n,i;this.dom||(this.dom=ta(e));var o=t.store,s=this.dom.getElementsByTagName("title");s.length>0&&o.add(r.resource,Xc.dc("title"),o.rdfFactory.literal(s[0].textContent),r.resource);for(var a=this.dom.getElementsByTagName("link"),c=a.length-1;c>=0;c--)i=!1,(n=a[c].getAttribute("rel"))||(n=a[c].getAttribute("rev"),i=!0),n&&t.linkData(r.original,n,a[c].getAttribute("href"),r.resource,i);for(var h=this.dom.getElementsByTagName("script"),u=0;u<h.length;u++){var l=h[u].getAttribute("type");Kc[l]&&(Vc(h[u].textContent,o,r.original.value,l),Vc(h[u].textContent,o,r.original.value,l))}if(r.noMeta||o.add(r.resource,Xc.rdf("type"),Xc.link("WebPage"),t.appNode),!r.noRDFa&&Hc)try{Hc(this.dom,o,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[es]={}}}]),e}();Zc.pattern=new RegExp("application/xhtml");var th=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,r,n){for(var i=ta(r),o=0;o<i.childNodes.length;o++){var s=i.childNodes[o];if(e.isElement(s)){var a=s.namespaceURI;if(a&&a===a.rdf)return t.addStatus(n.req,"Has XML root element in the RDF namespace, so assume RDF/XML."),new Yc(this.response,i).parse(t,r,n);break}}if(i.doctype&&"html"===i.doctype.name&&i.doctype.publicId.match(/^-\/\/W3C\/\/DTD XHTML/)&&i.doctype.systemId.match(/http:\/\/www.w3.org\/TR\/xhtml/))return t.addStatus(n.req,"Has XHTML DOCTYPE. Switching to XHTML Handler.\n"),new Zc(this.response,i).parse(t,r,n);var c=i.getElementsByTagName("html")[0];if(c){var h=c.getAttribute("xmlns");if(h&&h.match(/^http:\/\/www.w3.org\/1999\/xhtml/))return t.addStatus(n.req,"Has a default namespace for XHTML. Switching to XHTMLHandler.\n"),new Zc(this.response,i).parse(t,r,n)}return t.failFetch(n,"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}();th.pattern=new RegExp("(text|application)/(.*)xml");var eh=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r){var n=t.store;if(sh(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 Zc(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 Zc(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 Zc(this.response).parse(t,e,r);var i=new RegExp("<title>([\\s\\S]+?)</title>","im").exec(e);return i&&n.add(r.resource,Xc.dc("title"),n.rdfFactory.literal(i[1]),r.resource),n.add(r.resource,Xc.rdf("type"),Xc.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}();eh.pattern=new RegExp("text/html");var rh=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r,n){var i=t.store;return new Promise((function(o){try{ac(e,i,r.original.value,(function(){o(t.doneFetch(r,n))}))}catch(e){o(t.failFetch(r,"Error trying to parse "+r.resource+" as JSON-LD:\n"+e,"parse_error",n))}}))}}],[{key:"toString",value:function(){return"JsonLdHandler"}},{key:"register",value:function(t){t.mediatypes["application/ld+json"]={q:.9}}}]),e}();rh.pattern=/application\/ld\+json/;var nh=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r){return sh(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 th(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 th(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}();nh.pattern=new RegExp("text/plain");var ih=function(){Do(e,Qc);var t=Jc(e);function e(){return Ro(this,e),t.apply(this,arguments)}return Fo(e,[{key:"parse",value:function(t,e,r,n){var i=t.store,o=Za(i,i,r.original.value,r.original.value,null,null,"",null);try{o.loadBuf(e)}catch(e){return t.failFetch(r,"Error trying to parse "+r.resource+" as Notation3:\n"+e,"parse_error",n)}return t.addStatus(r.req,"N3 parsed: "+o.statementCount+" triples in "+o.lines+" lines."),t.store.add(r.original,Xc.rdf("type"),Xc.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}();ih.pattern=new RegExp("(application|text)/(x-)?(rdf\\+)?(n3|turtle)");var oh={RDFXMLHandler:Yc,XHTMLHandler:Zc,XMLHandler:th,HTMLHandler:eh,TextHandler:nh,N3Handler:ih,JsonLdHandler:rh};function sh(t){return!!t.match(/\s*<\?xml\s+version\s*=[^<>]+\?>/)}var ah=function(){function t(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Ro(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 Fa,this.ns=$c(this.store.rdfFactory),this.timeout=n.timeout||3e4,this._fetch=n.fetch||"undefined"!=typeof global&&(global.solidFetcher||global.solidFetch)||"undefined"!=typeof window&&(window.solidFetcher||window.solidFetch)||Gc.default,!this._fetch)throw new Error("No _fetch function available for Fetcher");this.appNode=this.store.sym("chrome://TheCurrentSession"),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}},Xs(this,["request","fail","refresh","retract","done"]),Object.keys(n.handlers||oh).map((function(t){return r.addHandler(oh[t])}))}var e,r;return Fo(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 n=t,i=ns(n);i=i.split("#")[0],r=this.initFetchOptions(i,r);var o=this.initFetchOptions(i,r);return this.pendingFetchPromise(i,o.baseURI,o)}},{key:"pendingFetchPromise",value:(r=As(Es.default.mark((function t(e,r,n){var i,o=this;return Es.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=!n.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}i=this.fetchQueue[r],t.next=12;break;case 9:i=Promise.race([this.setRequestTimeout(e,n),this.fetchUri(e,n)]),this.fetchQueue[r]=i,this.cleanupFetchRequest(r,void 0,this.timeout);case 12:return t.abrupt("return",i.then((function(t){return e in o.timeouts&&(o.timeouts[e].forEach(clearTimeout),delete o.timeouts[e]),t})));case 13:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})},{key:"cleanupFetchRequest",value:function(t,e,r){var n=this;void 0!==e&&console.warn("_options is deprecated"),this.timeouts[t]=(this.timeouts[t]||[]).concat(setTimeout((function(){n.isPending(t)||delete n.fetchQueue[t]}),r))}},{key:"initFetchOptions",value:function(e,r){var n=this.store;!r.method||"GET"===r.method.toUpperCase()||(r.force=!0),r.resource=n.rdfFactory.namedNode(e),r.baseURI=r.baseURI||e,r.original=n.rdfFactory.namedNode(r.baseURI),r.req=n.bnode(),r.headers=r.headers||new Gc.Headers,r.contentType&&(r.headers["content-type"]=r.contentType),r.force&&(r.cache="no-cache");var i=this.acceptString();r.headers.accept=i;var o=t.offlineOverride(e);r.requestedURI=o,t.setCredentials(o,r);var s=t.proxyIfNecessary(o);return o!==s&&(r.proxyUsed=!0),r.actualProxyURI=s,r}},{key:"fetchUri",value:function(e,r){var n=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 i=this.getState(e);if(r.force)delete this.nonexistent[e];else{if("fetched"===i)return Promise.resolve(this.doneFetch(r,{status:200,ok:!0,statusText:"Already loaded into quadstore."}));if("failed"===i&&404===this.requested[e]){var o="Previously failed: "+this.requested[e],s={url:e,status:this.requested[e],statusText:o,responseText:o,headers:new Gc.Headers,ok:!1,body:null,bodyUsed:!1,size:0,timeout:0};return this.failFetch(r,o,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 n.handleResponse(t,e,r)}),(function(t){var i={url:a,status:999,statusText:(t.name||"network failure")+": "+(t.errno||t.code||t.type),responseText:t.message,headers:new Gc.Headers,ok:!1,body:null,bodyUsed:!1,size:0,timeout:0};return n.handleError(i,e,r)}))}},{key:"nowOrWhenFetched",value:function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=ns(t);"function"==typeof e?r=e:void 0===e||(ds(e)?n.referringTerm=e:n=e),this.load(i,n).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),r(!1,e,t)}else r(!1,"@@ nowOrWhenFetched: no response object!")}),(function(t){var e=t.message||t.statusText;e="Failed to load <"+i+"> "+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 n=this.store,i=n.the(t,this.ns.link("status"));ss(i)?i.append(n.rdfFactory.literal(e)):Gs("web.js: No list to add to: "+i+","+e)}},{key:"failFetch",value:function(t,e,r,n){this.addStatus(t.req,e),t.noMeta||this.store.add(t.original,this.ns.link("error"),this.store.rdfFactory.literal(e));var i=(t.method||"GET").toUpperCase();("GET"===i||"HEAD"===i)&&(t.resource.equals(t.original),this.requested[Os(t.original.value)]=r,this.fireCallbacks("fail",[t.original.value,e]));var o=new Error("Fetcher: "+e);return o.status=r,o.statusText=e,o.response=n,Promise.reject(o)}},{key:"linkData",value:function(t,e,r,n,i){if(r){var o,s=this.store,a=s.rdfFactory.namedNode(Ms(r,t.value));if("alternate"===e||"seeAlso"===e||"meta"===e||"describedby"===e){if(a.value===t.value)return;o=this.ns.rdfs("seeAlso")}else o=s.rdfFactory.namedNode("type"===e?"http://www.w3.org/1999/02/22-rdf-syntax-ns#type":Ms(encodeURIComponent(e),"http://www.iana.org/assignments/link-relations/"));i?s.add(a,o,t,n):s.add(t,o,a,n)}}},{key:"parseLinkHeader",value:function(t,e,r){if(t){var n=/[^\(\)<>@,;:"\/\[\]\?={} \t]+=(([^\(\)<>@,;:"\/\[\]\?={} \t]+)|("[^"]*"))/g,i=t.match(/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^\(\)<>@,;:"\/\[\]\?={} \t]+)|("[^"]*")))*(,|$)/g);if(null!=i)for(var o=0;o<i.length;o++){var s=i[o].split(">"),a=s[0].substring(1),c=s[1].match(n);if(null==c)return;for(var h=0;h<c.length;h++){var u=c[h].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]:{},n=ns(t),i=new gs(n).doc();return r.contentType=r["content-type"]||r["Content-Type"]||r.contentType||ts,"application/ld+json"===r.contentType?new Promise((function(n,o){ca(i,e.store,i.uri,r.contentType,(function(i,s){i?o(i):(r.data=s,e.webOperation("PUT",t,r).then((function(t){return n(t)})).catch((function(t){return o(t)})))}))})):(r.data=ca(i,this.store,i.value,r.contentType),this.webOperation("PUT",n,r))}},{key:"webCopy",value:function(t,e,r){var n=this;return this.webOperation("GET",t).then((function(t){return n.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=As(Es.default.mark((function t(e){var r,n,i,o,s=arguments;return Es.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:ts,n=s.length>2&&void 0!==s[2]?s[2]:"",i=this,t.prev=3,t.next=6,i.load(e);case 6:o=t.sent,t.next=26;break;case 9:if(t.prev=9,t.t0=t.catch(3),404!==t.t0.response.status){t.next=25;break}return t.prev=12,t.next=15,i.webOperation("PUT",e.value,{data:n,contentType:r});case 15:o=t.sent,t.next=21;break;case 18:throw t.prev=18,t.t1=t.catch(12),t.t1;case 21:return delete i.requested[e.value],t.abrupt("return",o);case 25:throw t.t0;case 26:return t.abrupt("return",o);case 27:case"end":return t.stop()}}),t,this,[[3,9],[12,18]])}))),function(t){return e.apply(this,arguments)})},{key:"createContainer",value:function(t,e,r){var n={"content-type":ts,link:this.ns.ldp("BasicContainer")+'; rel="type"'};e&&(n.slug=e);var i={headers:n};return r&&(i.body=r),this.webOperation("POST",t,i)}},{key:"invalidateCache",value:function(t){var e=ns(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 n="Rdflib: fetcher: Destructive operation on <".concat(r.requested[e],"> file being fetched! ")+e;console.error(n)}else delete r.requested[e],delete r.nonexistent[e]}},{key:"webOperation",value:function(e,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=ns(r);n.method=e,n.body=n.data||n.body,n.force=!0;var o=this;if(n.body&&!n.contentType)throw new Error("Web operation sending data must have a defined contentType.");return n.contentType&&(n.headers=n.headers||{},n.headers["content-type"]=n.contentType),t.setCredentials(i,n),new Promise((function(t,r){o._fetch(i,n).then((function(n){if(n.ok)"PUT"!==e&&"PATCH"!==e&&"POST"!==e&&"DELETE"!==e||o.invalidateCache(i),n.text?n.text().then((function(e){n.responseText=e,t(n)})):t(n);else{var s="Web error: "+n.status;n.statusText&&(s+=" ("+n.statusText+")"),s+=" on "+e+" of <"+i+">",n.responseText&&(s+=": "+n.responseText);var a=new Error(s);a.response=n,r(a)}}),(function(t){r(new Error("Fetch error for "+e+" of <"+i+">:"+t))}))}))}},{key:"lookUpThing",value:function(t,e){var r=this,n=this.store.uris(t);return(n=n.map((function(t){return Os(t)}))).forEach((function(t){r.lookedUp[t]=!0})),this.load(n,{referringTerm:e})}},{key:"getHeader",value:function(t,e){for(var r=this.store,n=t.value,i=r.each(void 0,this.ns.link("requestedURI"),r.rdfFactory.literal(n)),o=0;o<i.length;o++){var s=i[o];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 c=r.each(a,this.ns.httph(e.toLowerCase()));return c.length?c.map((function(t){return t.value})):[]}}}}},{key:"saveRequestMetadata",value:function(t,e){var r=e.req,n=this.store,i=e.referringTerm;this.addStatus(e.req,"Accept: "+e.headers.accept),ds(i)&&n.add(n.rdfFactory.namedNode(t),this.ns.link("requestedBy"),i,this.appNode),e.original&&e.original.value!==t&&n.add(r,this.ns.link("orginalURI"),n.rdfFactory.literal(e.original.value),this.appNode);var o=new Date,s="["+o.getHours()+":"+o.getMinutes()+":"+o.getSeconds()+"] ";n.add(r,this.ns.rdfs("label"),n.rdfFactory.literal(s+" Request for "+t),this.appNode),n.add(r,this.ns.link("requestedURI"),n.rdfFactory.literal(t),this.appNode),n.add(r,this.ns.link("status"),n.collection(),this.appNode)}},{key:"saveResponseMetadata",value:function(t,e){var r=this,n=this.store,i=n.bnode();return n.add(e.req,this.ns.link("response"),i,this.appNode),n.add(i,this.ns.http("status"),n.rdfFactory.literal(t.status),this.appNode),n.add(i,this.ns.http("statusText"),n.rdfFactory.literal(t.statusText),this.appNode),t.headers.forEach((function(t,o){var s;n.add(i,r.ns.httph(o),r.store.rdfFactory.literal(t),r.appNode),"content-type"===o&&n.add(e.resource,r.ns.rdf("type"),n.rdfFactory.namedNode((s=t,s=s.split(";")[0].trim(),new gs("http://www.w3.org/ns/iana/media-types/"+s+"#Resource")).value),r.appNode)})),i}},{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(Os(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[Os(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){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=Is,r=""+document.location;return(e(r)&&e(t)&&e(r))!==e(t)}},{key:"handleError",value:function(e,r,n){if(this.isCrossSite(r)){if(n.credentials&&"include"===n.credentials&&!n.retriedWithNoCredentials)return this.retryNoCredentials(r,n);var i=t.crossSiteProxy(r);if(i&&!n.proxyUsed)return this.redirectToProxy(i,n)}var o;return e instanceof Error?o="Fetch error: "+e.message:(o=e.statusText,e.responseText&&(o+=" ".concat(e.responseText))),this.failFetch(n,o,e.status||998,e)}},{key:"addType",value:function(t,e,r,n){var i=e;if(n){var o=r.any(i,this.ns.link("requestedURI"));o&&o.value!==n&&r.add(r.rdfFactory.namedNode(n),this.ns.rdf("type"),t,this.appNode)}for(;;){var s=r.any(i,this.ns.link("requestedURI"));if(s&&s.value&&r.add(r.rdfFactory.namedNode(s.value),this.ns.rdf("type"),t,this.appNode),!(i=r.any(void 0,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#redirectedRequest"),i)))break;var a=r.any(i,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/link#response"));if(!a)break;var c=r.any(a,r.rdfFactory.namedNode("http://www.w3.org/2007/ont/http#status"));if(!c)break;if("301"!==c&&"302"!==c)break}}},{key:"handleResponse",value:function(t,e,r){var n=this,i=this.store,o=t.headers,s=r.req,a=this.saveResponseMetadata(t,r),c=this.normalizedContentType(r,o)||"",h=o.get("content-location");if(0===t.status)return 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 n.failFetch(r,r.resource+" "+t.statusText,t.status,t)}));var u=null,l=null;if(h&&(l=Ms(h,e))!==e&&(u=l),200===t.status){this.addType(this.ns.link("Document"),s,i,e),u&&this.addType(this.ns.link("Document"),s,i,u),r.clearPreviousData&&i.removeDocument(r.resource);var p=c.includes("image/")||c.includes("application/pdf");c&&p&&(this.addType(i.rdfFactory.namedNode("http://purl.org/dc/terms/Image"),s,i,e),u&&this.addType(i.rdfFactory.namedNode("http://purl.org/dc/terms/Image"),s,i,u))}if(h){if(!r.force&&u&&"done"===this.requested[l])return this.doneFetch(r,t);this.requested[l]=!0}this.parseLinkHeader(o.get("link"),r.original,s);var d=this.handlerForContentType(c,t);return d?t.text().then((function(e){return t.responseText=e,d.parse(n,e,r,t)})):(this.addStatus(s,"Fetch over. No data handled."),this.doneFetch(r,t))}},{key:"saveErrorResponse",value:function(t,e){var r=this,n=this.store;return t.text().then((function(t){t.length>10&&n.add(e,r.ns.http("content"),n.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 zc[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 n=this.guessContentType(t.resource.value);if(n)return n}var i=_s(t.resource.value);return!r&&["file","chrome"].includes(i)?"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 n=this.store,i=e.req;e.noMeta||(n.add(i,this.ns.link("redirectedTo"),n.rdfFactory.namedNode(t),i),this.addStatus(i,"redirected to new request")),this.requested[e.resource.value]="redirected",this.redirectedTo[e.resource.value]=t;var o=Object.assign({},e);return o.baseURI=e.resource.value,this.fetchUri(t,o).then((function(t){return o.noMeta||n.add(i,r.ns.link("redirectedRequest"),o.req,r.appNode),t}))}},{key:"setRequestTimeout",value:function(t,e){var r=this;return new Promise((function(n){r.timeouts[t]=(r.timeouts[t]||[]).concat(setTimeout((function(){!r.isPending(t)||e.retriedWithNoCredentials||e.proxyUsed||n(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),Gs("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 n=function t(e,r){var n=r[e.shift()];return n?"string"==typeof n?n+e.join("/"):e?t(e,n):null:null}(e.split("/").slice(2),$SolidTestEnvironment.localSiteMap);if(n)return n}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=_s(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}();_o(ah,"HANDLERS",void 0),_o(ah,"CONTENT_TYPE_BY_EXT",void 0),_o(ah,"crossSiteProxyTemplate",void 0),ah.HANDLERS=oh,ah.CONTENT_TYPE_BY_EXT=zc;var ch=E(Ei());function hh(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 uh(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)?uh(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,i=function(){};return{s:i,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:i}}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 o,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,o=t},f:function(){try{s||null==r.return||r.return()}finally{if(a)throw o}}}}function uh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var lh=function(){function t(e){if(Ro(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 Fa).updater)throw new Error("You can't have two UpdateManagers for the same store");e.fetcher||(e.fetcher=new ah(e)),this.store=e,e.updater=this,this.ifps={},this.fps={},this.ns={},this.ns.link=zs("http://www.w3.org/2007/ont/link#"),this.ns.http=zs("http://www.w3.org/2007/ont/http#"),this.ns.httph=zs("http://www.w3.org/2007/ont/httph#"),this.ns.ldp=zs("http://www.w3.org/ns/ldp#"),this.ns.rdf=zs("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),this.ns.rdfs=zs("http://www.w3.org/2000/01/rdf-schema#"),this.ns.rdf=zs("http://www.w3.org/1999/02/22-rdf-syntax-ns#"),this.ns.owl=zs("http://www.w3.org/2002/07/owl#"),this.patchControl=[]}var e;return Fo(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:"flagAuthorizationMetadata",value:function(){var t,e=this.store,r=e.fetcher.appNode,n=hh(e.statementsMatching(void 0,this.ns.link("requestedURI"),void 0,r).map((function(t){return t.subject})));try{for(n.s();!(t=n.n()).done;){var i=e.any(t.value,this.ns.link("response"),null,r);void 0!==i&&this.store.add(i,this.ns.link("outOfDate"),!0,r)}}catch(t){n.e(t)}finally{n.f()}}},{key:"checkEditable",value:(e=As(ch.default.mark((function t(e,r){var n,i;return ch.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===(n=this.editable(e,r))){t.next=3;break}return t.abrupt("return",n);case 3:return t.next=5,this.store.fetcher.load(e);case 5:return i=this.editable(e,r),t.abrupt("return",i);case 7:case"end":return t.stop()}}),t,this)}))),function(t,r){return e.apply(this,arguments)})},{key:"editable",value:function(t,e){if(!t)return!1;if(e||(e=this.store),t=ns(t),!this.isHttpUri(t)&&this.store.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,n,i=!1,o=this.store.fetcher.appNode,s=e.each(void 0,this.ns.link("requestedURI"),Os(t),o),a=0;a<s.length;a++)if(void 0!==(r=s[a])){var c=e.any(r,this.ns.link("response"),null,o);if(void 0!==c){if(e.anyJS(c,this.ns.link("outOfDate"),null,o))continue;var h=e.anyValue(c,this.ns.httph("wac-allow"));if(h){var u,l=hh(h.split(","));try{for(l.s();!(u=l.n()).done;){var p=u.value.split("=");if(p[0].includes("user")&&!p[1].includes("write")&&!p[1].includes("append"))return!1}}catch(t){l.e(t)}finally{l.f()}}var d=e.each(c,this.ns.httph("accept-patch"));if(d.length)for(var m=0;m<d.length;m++){if((n=d[m].value.trim()).indexOf("application/sparql-update")>=0)return"SPARQL";if(n.indexOf("application/sparql-update-single-match")>=0)return"SPARQL"}var f=e.each(c,this.ns.httph("ms-author-via"));if(f.length)for(var g=0;g<f.length;g++){if((n=f[g].value.trim()).indexOf("SPARQL")>=0)return"SPARQL";if(n.indexOf("DAV")>=0)return"DAV"}if(!this.isHttpUri(t))return!!h&&"LOCALFILE";var w=e.each(c,this.ns.http("status"));if(w.length)for(var v=0;v<w.length;v++)200!==w[v]&&404!==w[v]||(i=!0)}}if(0===s.length);else if(i)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 ms(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 n=[],i=0;i<e.length;i++)0!==i&&e[i].equals(e[i-1])||n.push(e[i]);return n}},{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 n,i,o=this.store.statementsMatching(void 0,void 0,t,e),s=0;s<o.length;s++)if(this.fps[o[s].predicate.value]){if(!(n=o[s].subject).isBlank)return[o[s]];if(r&&(i=this.bnodeContext2(n,e,r-1)))return i.concat([o[s]])}o=this.store.statementsMatching(t,void 0,void 0,e);for(var a=0;a<o.length;a++)if(this.ifps[o[a].predicate.value]){if(!(n=o[a].object).isBlank)return[o[a]];if(r&&(i=this.bnodeContext2(n,e,r-1)))return i.concat([o[a]])}return null}},{key:"bnodeContext1",value:function(t,e){for(var r=0;r<3;r++){var n=this.bnodeContext2(t,e,r);if(null!==n)return n}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 n=0;n<t.length;n++){var i=t[n];this.mentioned(i)&&(r=r.concat(this.bnodeContext1(i,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 n=this,i=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 i.noMeta=!0,i.contentType="application/sparql-update",i.body=e,n.store.fetcher.webOperation("PATCH",t,i)})).then((function(n){if(!n.ok)throw new Error("UpdateManager: update failed for <"+t+"> status="+n.status+", "+n.statusText+"\n for query: "+e);r(t,n.ok,n.responseText,n)})).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 n=this.where;n+="DELETE DATA { "+this.statementNT+" } ;\n",n+="INSERT DATA { "+this.anonymize(this.statement[0])+" "+this.anonymize(this.statement[1])+" "+this.anonymize(t)+" . }\n",e.fire(this.statement[3].value,n,r)}}}}},{key:"insert_statement",value:function(t,e){var r=t instanceof Array?t[0]:t,n=this.contextWhere(this.statementContext(r));if(t instanceof Array){for(var i="",o=0;o<t.length;o++)i+=t[o]+"\n";n+="INSERT DATA { "+i+" }\n"}else n+="INSERT DATA { "+this.anonymize(t.subject)+" "+this.anonymize(t.predicate)+" "+this.anonymize(t.object)+" . }\n";this.fire(r.graph.value,n,e)}},{key:"delete_statement",value:function(t,e){var r=t instanceof Array?t[0]:t,n=this.contextWhere(this.statementContext(r));if(t instanceof Array){for(var i="",o=0;o<t.length;o++)i+=t[o]+"\n";n+="DELETE DATA { "+i+" }\n"}else n+="DELETE DATA { "+this.anonymize(t.subject)+" "+this.anonymize(t.predicate)+" "+this.anonymize(t.object)+" . }\n";this.fire(r.graph.value,n,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,n=this.patchControlFor(t);n.downstreamChangeListeners||(n.downstreamChangeListeners=[]),n.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 n=1e3;!function i(){r.reload(r.store,t,(function(t,r,o){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,i())}else e.reloading=!1,0===o.status&&(e.reloading=!0,setTimeout(i,n*=2))}))}()}}},{key:"setRefreshHandler",value:function(t,e){var r=this.getUpdatesVia(t),n=e,i=this,o=this,s=1500,a=0;if(!r)return!1;var c=(r=Ms(r,t.value)).replace(/^http:/,"ws:").replace(/^https:/,"wss:");return function e(){var r;if("undefined"!=typeof WebSocket)r=new WebSocket(c);else{if("undefined"==typeof window||!window.WebSocket)return;r=window.WebSocket(c)}r.onopen=function(){s=1500,this.send("sub "+t.value),a&&o.requestDownstreamAction(t,n)};var h=i.patchControlFor(t);h.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 h&&(h.upstreamCount-=1,h.upstreamCount>=0))return;h.upstreamCount=0,i.requestDownstreamAction(t,n)}}}(),!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})),n=this,i=[];r.forEach((function(t){i.find((function(e){return e.equals(t)}))||i.push(t)}));var o=i.map((function(r){return n.update(t.filter((function(t){return t.why.equals(r)})),e.filter((function(t){return t.why.equals(r)})))}));return Promise.all(o)}},{key:"update",value:function(t,e,r,n){var i=this,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};if(!r){var s=this;return new Promise((function(r,i){s.update(t,e,(function(t,e,n){e?r():i(new Error(n))}),n,o)}))}try{var a=this.store,c=t?os(t)?t.statements:t instanceof Array?t:[t]:[],h=e?os(e)?e.statements:e instanceof Array?e:[e]:[];if(!(c instanceof Array))throw new Error("Type Error "+Po(c)+": "+c);if(!(h instanceof Array))throw new Error("Type Error "+Po(h)+": "+h);if(0===c.length&&0===h.length)return r(null,!0);var u=c.length?c[0].graph:h[0].graph;if(!u){var l="Error patching: statement does not specify which document to patch:"+c[0]+", "+h[0];throw new Error(l)}if("NamedNode"!==u.termType){var p="Error patching: document not a NamedNode:"+c[0]+", "+h[0];throw new Error(p)}var d=this.patchControlFor(u),m=Date.now(),f=["subject","predicate","object","why"],g=["insert","delete"],w={delete:c,insert:h};g.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);f.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(n)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(){i.update(t,e,r,!0,o)}),(function(n){if(404!==n.response.status)throw new Error("Update: Can't get updatability status ".concat(u," before patching: ").concat(n));i.update(t,e,r,!0,o)}))}if(v.indexOf("SPARQL")>=0){var y=[];c.length&&(y=this.statementArrayBnodes(c)),h.length&&(y=y.concat(this.statementArrayBnodes(h)));var b=this.bnodeContext(y,u),S=this.contextWhere(b),A="";if(S.length){if(c.length){A+="DELETE { ";for(var E=0;E<c.length;E++)A+=this.anonymizeNT(c[E])+"\n";A+=" }\n"}if(h.length){A+="INSERT { ";for(var C=0;C<h.length;C++)A+=this.anonymizeNT(h[C])+"\n";A+=" }\n"}A+=S}else{if(c.length){A+="DELETE DATA { ";for(var P=0;P<c.length;P++)A+=this.anonymizeNT(c[P])+"\n";A+=" } \n"}if(h.length){c.length&&(A+=" ; "),A+="INSERT DATA { ";for(var T=0;T<h.length;T++)A+=this.nTriples(h[T])+"\n";A+=" }\n"}}d.pendingUpstream=d.pendingUpstream?d.pendingUpstream+1:1,"upstreamCount"in d&&(d.upstreamCount+=1),this.fire(u.value,A,(function(t,e,n,i){if(i.elapsedTimeMs=Date.now()-m,e){try{a.remove(c)}catch(t){e=!1,n="Remote Ok BUT error deleting "+c.length+" from store!!! "+t}for(var o=0;o<h.length;o++)a.add(h[o].subject,h[o].predicate,h[o].object,u)}if(r(t,e,n,i),d.pendingUpstream-=1,0===d.pendingUpstream&&d.downstreamAction){var s=d.downstreamAction;delete d.downstreamAction,s(u)}}),o)}else if(v.indexOf("DAV")>=0)this.updateDav(u,c,h,r,o);else{if(!(v.indexOf("LOCALFILE")>=0))throw new Error("Unhandled edit method: '"+v+"' for "+u);try{this.updateLocalFile(u,c,h,r,o)}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"+ra(t))}}},{key:"updateDav",value:function(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=this.store,s=o.any(t,this.ns.link("request"));if(!s)throw new Error("No record of our HTTP GET request for document: "+t);var a=o.any(s,this.ns.link("response"));if(!a)return null;for(var c=o.the(a,this.ns.httph("content-type")).value,h=o.statementsMatching(void 0,void 0,void 0,t).slice(),u=0;u<e.length;u++)ea(h,e[u]);for(var l=0;l<r.length;l++)h.push(r[l]);var p,d=this.serialize(t.value,h,c),m=o.the(a,this.ns.httph("content-location"));return m&&(p=Ms(m.value,p)),i.contentType=c,i.noMeta=!0,i.body=d,o.fetcher.webOperation("PUT",p,i).then((function(i){if(!i.ok)throw new Error(i.error);for(var s=0;s<e.length;s++)o.remove(e[s]);for(var a=0;a<r.length;a++)o.add(r[a].subject,r[a].predicate,r[a].object,t);n(t.value,i.ok,i.responseText,i)})).catch((function(e){n(t.value,!1,e.message,e)}))}},{key:"updateLocalFile",value:function(t,e,r,n){for(var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=this.store,s=o.statementsMatching(void 0,void 0,void 0,t).slice(),a=0;a<e.length;a++)ea(s,e[a]);for(var c=0;c<r.length;c++)s.push(r[c]);var h=t.value.lastIndexOf(".");if(h<1)throw new Error("Rewriting file: No filename extension: "+t.value);var u=t.value.slice(h+1),l=ah.CONTENT_TYPE_BY_EXT[u];if(!l)throw new Error("File extension ."+u+" not supported for data write");i.body=this.serialize(t.value,s,l),i.contentType=l,o.fetcher.webOperation("PUT",t.value,i).then((function(i){if(!i.ok)return n(t.value,!1,i.error);for(var s=0;s<e.length;s++)o.remove(e[s]);for(var a=0;a<r.length;a++)o.add(r[a].subject,r[a].predicate,r[a].object,t);n(t.value,!0,"")}))}},{key:"serialize",value:function(t,e,r){var n,i=this.store;if("string"==typeof e)return e;var o=sa(i);switch(o.suggestNamespaces(i.namespaces),o.setBase(t),r){case"text/xml":case"application/rdf+xml":n=o.statementsToXML(e);break;case"text/n3":case"text/turtle":case"application/x-turtle":case"application/n3":n=o.statementsToN3(e);break;default:throw new Error("Content-type "+r+" not supported for data serialization")}return n}},{key:"put",value:function(t,e,r,n){var i,o=this,s=this.store;return Promise.resolve().then((function(){return i=o.serialize(t.value,e,r),s.fetcher.webOperation("PUT",t.value,{contentType:r,body:i})})).then((function(r){if(!r.ok)return n(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)})),n(t.value,r.ok,"",r)})).catch((function(e){n(t.value,!1,e.message)}))}},{key:"reload",value:function(t,e,r){var n=Date.now();t.fetcher.nowOrWhenFetched(e.value,{force:!0,noMeta:!0,clearPreviousData:!0},(function(t,i,o){if(t)if(o.onErrorWasCalled||200!==o.status)r(!1,"Non-HTTP error reloading data: "+i,o);else{var s=Date.now()-n;e.reloadTimeTotal||(e.reloadTimeTotal=0),e.reloadTimeCount||(e.reloadTimeCount=0),e.reloadTimeTotal+=s,e.reloadTimeCount+=1,r(!0)}else r(!1,"Error reloading data: "+i,o)}))}}]),t}();function ph(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function dh(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 mh,fh=dh(dh({},ic),{},{fetcher:function(t,e){return new ah(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 Fa(t,e||{rdfFactory:ic})},lit:function(t,e,r){return this.literal(""+t,e||r)},st:function(t,e,r,n){return this.quad(t,e,r,n)}}),gh={};for(mh in fh)"function"==typeof fh[mh]&&(gh[mh]=fh[mh].bind(fh));var wh=gh.fetcher,vh=gh.graph,yh=gh.lit,bh=gh.st,Sh=gh.namedNode;new fa;var Ah=(t,e)=>{const r=t[e.predicate.uri];return v(w({},t),{[e.predicate.uri]:r?[...r,e.subject.value]:[e.subject.value]})},Eh=(t,e)=>{const r=t[e.predicate.uri];return v(w({},t),{[e.predicate.uri]:r?[...r,e.object.value]:[e.object.value]})},Ch=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(Sh(this.uri)).filter((t=>ls(t.object))).reduce(Eh,{});return Object.keys(t).map((e=>({predicate:e,values:t[e]})))}relations(){const t=this.store.statementsMatching(Sh(this.uri)).filter((t=>ds(t.object)&&!t.predicate.sameTerm(Sh("http://www.w3.org/1999/02/22-rdf-syntax-ns#type")))).reduce(Eh,{});return Object.keys(t).map((e=>({predicate:e,uris:t[e]})))}reverseRelations(){const t=this.store.statementsMatching(void 0,void 0,Sh(this.uri)).reduce(Ah,{});return Object.keys(t).map((e=>({predicate:e,uris:t[e]})))}anyValue(...t){let e;return t.some((t=>(e=this.store.anyValue(Sh(this.uri),Sh(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(Sh(this.uri),Sh("https://www.w3.org/ns/activitystreams#image"))||this.store.any(Sh(this.uri),Sh("https://www.w3.org/ns/activitystreams#icon"));if(!t||!ms(t)&&!ds(t))return null;const e=this.store.anyValue(t,Sh("https://www.w3.org/ns/activitystreams#url"));return e?{url:e}:null}types(){const t=this.store.findTypeURIs(Sh(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)}},Ph={};S(Ph,{acl:()=>Th,arg:()=>kh,as:()=>Fh,cal:()=>Rh,contact:()=>xh,dc:()=>Oh,dct:()=>Dh,foaf:()=>Ih,http:()=>Mh,hydra:()=>_h,ldp:()=>jh,link:()=>Nh,log:()=>Lh,meeting:()=>Bh,owl:()=>Uh,qu:()=>Hh,rdf:()=>qh,rdfs:()=>Vh,sched:()=>Gh,schema:()=>Jh,schema_https:()=>Kh,sioc:()=>zh,skos:()=>$h,solid:()=>Xh,space:()=>Qh,tab:()=>Yh,tabont:()=>Zh,trip:()=>Wh,vcard:()=>tu,wf:()=>eu});var Th=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"}),kh=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"}),Fh=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"}),Rh=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"}),xh=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"}),Oh=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"}),Dh=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"}),Ih=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"}),Mh=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"}),_h=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"}),jh=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"}),Nh=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"}),Lh=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"}),Bh=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"}),Uh=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"}),Hh=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"}),Wh=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"}),qh=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"}),Vh=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"}),Gh=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"}),Jh=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"}),Kh=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"}),zh=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"}),$h=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"}),Xh=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"}),Qh=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"}),Yh=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"}),Zh=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"}),tu=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"}),eu=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 ru=class extends Ch{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,Sh(this.uri)).filter((t=>ds(t.subject))).map((t=>t.subject.value)),e=new Set(t);return e.delete(this.uri),[...e].map((t=>({uri:t})))}},nu=class extends Ch{constructor(t,e,r=!1){super(t,e,r),this.uri=t,this.store=e,this.editable=r}contains(){return this.store.statementsMatching(Sh(this.uri),Sh("http://www.w3.org/ns/ldp#contains"),null,Sh(this.uri)).map((t=>({uri:t.object.value,name:t.object.value.replace(new RegExp(`${this.uri}([^/]*)/?`),"$1")})))}},iu=class{constructor(){this.session=new class{get authenticatedFetch(){return this._authenticatedFetch}constructor(){this.session=new Co.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=vh(),this.fetcher=wh(this.graph,{fetch:t.authenticatedFetch}),this.updater=new lh(this.graph)}fetch(t){return this.fetcher.load(Sh(t),{force:!0})}get(t){const e=!!this.updater.editable(t);return new Ch(t,this.graph,e)}addPropertyValue(t,e,r){return this.updater.update([],[bh(Sh(t.uri),Sh(e),yh(r),Sh(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){return this.store.addPropertyValue(t,e,r)}listKnownTerms(){return t=Ph,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
|
+
rdf-canonize/lib/MessageDigest-browser.js:
|
|
30
|
+
(*!
|
|
31
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
32
|
+
*)
|
|
33
|
+
|
|
34
|
+
rdf-canonize/lib/Permuter.js:
|
|
35
|
+
(*!
|
|
36
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
37
|
+
*)
|
|
38
|
+
|
|
39
|
+
rdf-canonize/lib/NQuads.js:
|
|
40
|
+
(*!
|
|
41
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
42
|
+
*)
|
|
43
|
+
|
|
44
|
+
rdf-canonize/lib/URDNA2015.js:
|
|
45
|
+
(*!
|
|
46
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
47
|
+
*)
|
|
48
|
+
|
|
49
|
+
rdf-canonize/lib/URGNA2012.js:
|
|
50
|
+
(*!
|
|
51
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
52
|
+
*)
|
|
53
|
+
|
|
54
|
+
rdf-canonize/lib/URDNA2015Sync.js:
|
|
55
|
+
(*!
|
|
56
|
+
* Copyright (c) 2016-2022 Digital Bazaar, Inc. All rights reserved.
|
|
57
|
+
*)
|
|
58
|
+
|
|
59
|
+
rdf-canonize/lib/URGNA2012Sync.js:
|
|
60
|
+
(*!
|
|
61
|
+
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
|
|
62
|
+
*)
|
|
63
|
+
|
|
64
|
+
jsonld/lib/context.js:
|
|
65
|
+
(* disallow aliasing @context and @preserve *)
|
|
66
|
+
|
|
67
|
+
jsonld/lib/frame.js:
|
|
68
|
+
(* remove @preserve from results *)
|
|
69
|
+
(**
|
|
70
|
+
* Removes the @preserve keywords from expanded result of framing.
|
|
71
|
+
*
|
|
72
|
+
* @param input the framed, framed output.
|
|
73
|
+
* @param options the framing options used.
|
|
74
|
+
*
|
|
75
|
+
* @return the resulting output.
|
|
76
|
+
*)
|
|
77
|
+
(* remove @preserve *)
|
|
78
|
+
|
|
79
|
+
jsonld/lib/jsonld.js:
|
|
80
|
+
(**
|
|
81
|
+
* A JavaScript implementation of the JSON-LD API.
|
|
82
|
+
*
|
|
83
|
+
* @author Dave Longley
|
|
84
|
+
*
|
|
85
|
+
* @license BSD 3-Clause License
|
|
86
|
+
* Copyright (c) 2011-2019 Digital Bazaar, Inc.
|
|
87
|
+
* All rights reserved.
|
|
88
|
+
*
|
|
89
|
+
* Redistribution and use in source and binary forms, with or without
|
|
90
|
+
* modification, are permitted provided that the following conditions are met:
|
|
91
|
+
*
|
|
92
|
+
* Redistributions of source code must retain the above copyright notice,
|
|
93
|
+
* this list of conditions and the following disclaimer.
|
|
94
|
+
*
|
|
95
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
96
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
97
|
+
* documentation and/or other materials provided with the distribution.
|
|
98
|
+
*
|
|
99
|
+
* Neither the name of the Digital Bazaar, Inc. nor the names of its
|
|
100
|
+
* contributors may be used to endorse or promote products derived from
|
|
101
|
+
* this software without specific prior written permission.
|
|
102
|
+
*
|
|
103
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
104
|
+
* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
|
105
|
+
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
106
|
+
* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
107
|
+
* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
108
|
+
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
109
|
+
* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
110
|
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
111
|
+
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
112
|
+
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
113
|
+
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
114
|
+
*)
|
|
115
|
+
|
|
116
|
+
queue-microtask/index.js:
|
|
117
|
+
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
118
|
+
*/
|
|
119
|
+
export{nu as L,iu as P,ru as R}
|