@oiz/stzh-components 4.10.0-beta2 → 4.10.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/{index-CLYMFtQm.js → index-Br_Y6IzY.js} +3 -3
- package/dist/cjs/{index-CLYMFtQm.js.map → index-Br_Y6IzY.js.map} +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +4 -2
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +7 -7
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +32 -42
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +7 -7
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +5 -3
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +4 -4
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-DE0KJWgB.js → stzh-input-description-BszhfY9d.js} +3 -3
- package/dist/cjs/{stzh-input-description-DE0KJWgB.js.map → stzh-input-description-BszhfY9d.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +3 -3
- package/dist/cjs/stzh-popover.cjs.entry.js +5 -2
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js +2 -2
- package/dist/collection/components/CMS/PKZH/stzh-pkzh-qr/stzh-pkzh-qr.js.map +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js.map +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.stories.js +5 -12
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js.map +1 -1
- package/dist/collection/components/stzh-banner/stzh-banner.css +3 -1
- package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +6 -6
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +12 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +29 -39
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +60 -0
- package/dist/collection/components/stzh-details/stzh-details.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +5 -5
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +4 -2
- package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -1
- package/dist/collection/components/stzh-header/stzh-header.stories.js +184 -94
- package/dist/collection/components/stzh-popover/stzh-popover.css +4 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-m6rlXYCx.js → p-19VfXOay.js} +3 -3
- package/dist/components/{p-m6rlXYCx.js.map → p-19VfXOay.js.map} +1 -1
- package/dist/components/{p-D36sFB-f.js → p-5BslSTpf.js} +8 -5
- package/dist/components/p-5BslSTpf.js.map +1 -0
- package/dist/components/{p-_oPvxDjS.js → p-6nWAZpXe.js} +4 -4
- package/dist/components/{p-_oPvxDjS.js.map → p-6nWAZpXe.js.map} +1 -1
- package/dist/components/{p-CHsDsF4j.js → p-8FqKNq0v.js} +3 -3
- package/dist/components/{p-CHsDsF4j.js.map → p-8FqKNq0v.js.map} +1 -1
- package/dist/components/{p-CxXO_cqj.js → p-B1bydx3d.js} +4 -4
- package/dist/components/{p-CxXO_cqj.js.map → p-B1bydx3d.js.map} +1 -1
- package/dist/components/{p-Br9iq5v0.js → p-BALx46q6.js} +3 -3
- package/dist/components/{p-Br9iq5v0.js.map → p-BALx46q6.js.map} +1 -1
- package/dist/components/{p-Bl9tD7uq.js → p-BCaGFZC8.js} +6 -6
- package/dist/components/{p-Bl9tD7uq.js.map → p-BCaGFZC8.js.map} +1 -1
- package/dist/components/{p-DZmJJLfK.js → p-BGEGvpL5.js} +43 -53
- package/dist/components/p-BGEGvpL5.js.map +1 -0
- package/dist/components/{p-BqD-6Uyq.js → p-BGS_EDCX.js} +3 -3
- package/dist/components/{p-BqD-6Uyq.js.map → p-BGS_EDCX.js.map} +1 -1
- package/dist/components/{p-YpVuLovc.js → p-BKaUJsFB.js} +10 -10
- package/dist/components/{p-YpVuLovc.js.map → p-BKaUJsFB.js.map} +1 -1
- package/dist/components/{p-D_w8j389.js → p-BPs3afuZ.js} +3 -3
- package/dist/components/{p-D_w8j389.js.map → p-BPs3afuZ.js.map} +1 -1
- package/dist/components/{p-Cl93LJda.js → p-BZD4OY2C.js} +7 -7
- package/dist/components/{p-Cl93LJda.js.map → p-BZD4OY2C.js.map} +1 -1
- package/dist/components/{p-C9SxUKMo.js → p-Bck1KAhE.js} +7 -7
- package/dist/components/{p-C9SxUKMo.js.map → p-Bck1KAhE.js.map} +1 -1
- package/dist/components/{p-Ba2Bva0s.js → p-BpEa7mua.js} +4 -4
- package/dist/components/{p-Ba2Bva0s.js.map → p-BpEa7mua.js.map} +1 -1
- package/dist/components/{p-Bj7oUjXe.js → p-BrqF6tbl.js} +7 -7
- package/dist/components/{p-Bj7oUjXe.js.map → p-BrqF6tbl.js.map} +1 -1
- package/dist/components/{p-BCWurktL.js → p-BsssrLnt.js} +3 -3
- package/dist/components/{p-BCWurktL.js.map → p-BsssrLnt.js.map} +1 -1
- package/dist/components/{p-CvKT-Mki.js → p-BuxRPGuq.js} +3 -3
- package/dist/components/{p-CvKT-Mki.js.map → p-BuxRPGuq.js.map} +1 -1
- package/dist/components/{p-B_fJQ6tu.js → p-C1G4-fBK.js} +9 -9
- package/dist/components/p-C1G4-fBK.js.map +1 -0
- package/dist/components/{p-CBm5dUcI.js → p-CG9ycBNk.js} +10 -10
- package/dist/components/{p-CBm5dUcI.js.map → p-CG9ycBNk.js.map} +1 -1
- package/dist/components/{p-Q-f34pkU.js → p-CI-BeKbw.js} +3 -3
- package/dist/components/{p-Q-f34pkU.js.map → p-CI-BeKbw.js.map} +1 -1
- package/dist/components/{p-C2fkwuiL.js → p-CIVShc7i.js} +6 -6
- package/dist/components/{p-C2fkwuiL.js.map → p-CIVShc7i.js.map} +1 -1
- package/dist/components/{p-hyzEZfgL.js → p-CPibi_C6.js} +3 -3
- package/dist/components/{p-hyzEZfgL.js.map → p-CPibi_C6.js.map} +1 -1
- package/dist/components/{p-9r8p9BUI.js → p-CRnP18MI.js} +3 -3
- package/dist/components/{p-9r8p9BUI.js.map → p-CRnP18MI.js.map} +1 -1
- package/dist/components/{p-GLNS1q2a.js → p-CWKzk5Dy.js} +5 -5
- package/dist/components/{p-GLNS1q2a.js.map → p-CWKzk5Dy.js.map} +1 -1
- package/dist/components/{p-D5mdbZ1m.js → p-CYQEBKQj.js} +3 -3
- package/dist/components/{p-D5mdbZ1m.js.map → p-CYQEBKQj.js.map} +1 -1
- package/dist/components/{p-CU207ROz.js → p-CaLhvLbO.js} +3 -3
- package/dist/components/{p-CU207ROz.js.map → p-CaLhvLbO.js.map} +1 -1
- package/dist/components/{p-D_o61BZJ.js → p-Cg3Ak7yk.js} +7 -7
- package/dist/components/{p-D_o61BZJ.js.map → p-Cg3Ak7yk.js.map} +1 -1
- package/dist/components/{p-iayhrwy5.js → p-ChkFy7hA.js} +4 -4
- package/dist/components/{p-iayhrwy5.js.map → p-ChkFy7hA.js.map} +1 -1
- package/dist/components/{p-LRN3e03F.js → p-CiEcvFWc.js} +5 -5
- package/dist/components/{p-LRN3e03F.js.map → p-CiEcvFWc.js.map} +1 -1
- package/dist/components/{p-BPf3Q0zD.js → p-Covl24Oh.js} +7 -7
- package/dist/components/{p-BPf3Q0zD.js.map → p-Covl24Oh.js.map} +1 -1
- package/dist/components/{p-DXFYCyWz.js → p-CtNit8M7.js} +4 -4
- package/dist/components/p-CtNit8M7.js.map +1 -0
- package/dist/components/{p-Ds3Xf7HO.js → p-CunX3wR8.js} +6 -6
- package/dist/components/{p-Ds3Xf7HO.js.map → p-CunX3wR8.js.map} +1 -1
- package/dist/components/{p-B4ov3VSW.js → p-Czf9tl8J.js} +3 -3
- package/dist/components/{p-B4ov3VSW.js.map → p-Czf9tl8J.js.map} +1 -1
- package/dist/components/{p-B-TtPvY1.js → p-D5fsVLBd.js} +7 -7
- package/dist/components/p-D5fsVLBd.js.map +1 -0
- package/dist/components/{p-NkWiianJ.js → p-D6yVsUPX.js} +3 -3
- package/dist/components/{p-NkWiianJ.js.map → p-D6yVsUPX.js.map} +1 -1
- package/dist/components/{p-RKHdQGuh.js → p-D7BPM8cN.js} +3 -3
- package/dist/components/{p-RKHdQGuh.js.map → p-D7BPM8cN.js.map} +1 -1
- package/dist/components/{p-YckM1D_L.js → p-D9Oa_RMc.js} +3 -3
- package/dist/components/{p-YckM1D_L.js.map → p-D9Oa_RMc.js.map} +1 -1
- package/dist/components/{p-SfncvvQt.js → p-DAmGIV8s.js} +4 -4
- package/dist/components/{p-SfncvvQt.js.map → p-DAmGIV8s.js.map} +1 -1
- package/dist/components/{p-CPhenplF.js → p-DDFSjhu_.js} +12 -12
- package/dist/components/{p-CPhenplF.js.map → p-DDFSjhu_.js.map} +1 -1
- package/dist/components/{p-xQukwkcn.js → p-DDrQ-GDv.js} +3 -3
- package/dist/components/{p-xQukwkcn.js.map → p-DDrQ-GDv.js.map} +1 -1
- package/dist/components/{p-oJrSY_Eh.js → p-DF4gVlfp.js} +12 -12
- package/dist/components/{p-oJrSY_Eh.js.map → p-DF4gVlfp.js.map} +1 -1
- package/dist/components/{p-DPBLkGIO.js → p-DJk-2ioO.js} +3 -3
- package/dist/components/{p-DPBLkGIO.js.map → p-DJk-2ioO.js.map} +1 -1
- package/dist/components/{p-0236I21-.js → p-DRx_UYls.js} +7 -7
- package/dist/components/{p-0236I21-.js.map → p-DRx_UYls.js.map} +1 -1
- package/dist/components/{p-DLlZq7iU.js → p-DT-jsCLe.js} +3 -3
- package/dist/components/{p-DLlZq7iU.js.map → p-DT-jsCLe.js.map} +1 -1
- package/dist/components/{p-ogdE0ZRA.js → p-DUQ-gRxd.js} +6 -6
- package/dist/components/{p-ogdE0ZRA.js.map → p-DUQ-gRxd.js.map} +1 -1
- package/dist/components/{p-D-wjggPy.js → p-DUhK-jhY.js} +11 -11
- package/dist/components/p-DUhK-jhY.js.map +1 -0
- package/dist/components/{p-CX2dz2Bb.js → p-DZwaDoTV.js} +11 -11
- package/dist/components/{p-CX2dz2Bb.js.map → p-DZwaDoTV.js.map} +1 -1
- package/dist/components/{p-Dxt_KaZJ.js → p-Da6Pvdri.js} +3 -3
- package/dist/components/{p-Dxt_KaZJ.js.map → p-Da6Pvdri.js.map} +1 -1
- package/dist/components/{p-BXZUgr03.js → p-DaY6mRgd.js} +3 -3
- package/dist/components/{p-BXZUgr03.js.map → p-DaY6mRgd.js.map} +1 -1
- package/dist/components/{p-DoEOS1rz.js → p-DcitYu_B.js} +6 -6
- package/dist/components/{p-DoEOS1rz.js.map → p-DcitYu_B.js.map} +1 -1
- package/dist/components/{p-bCUQRc-d.js → p-DeIgrcHw.js} +6 -6
- package/dist/components/{p-bCUQRc-d.js.map → p-DeIgrcHw.js.map} +1 -1
- package/dist/components/{p-Cla6GVJl.js → p-DjUfFf-R.js} +3 -3
- package/dist/components/p-DjUfFf-R.js.map +1 -0
- package/dist/components/{p-C0eoM6jL.js → p-DnZfjilC.js} +7 -7
- package/dist/components/{p-C0eoM6jL.js.map → p-DnZfjilC.js.map} +1 -1
- package/dist/components/{p-s4RWk35S.js → p-DpeJpDc8.js} +3 -3
- package/dist/components/{p-s4RWk35S.js.map → p-DpeJpDc8.js.map} +1 -1
- package/dist/components/{p-yyUgGCAC.js → p-DwP4TJHm.js} +8 -8
- package/dist/components/{p-yyUgGCAC.js.map → p-DwP4TJHm.js.map} +1 -1
- package/dist/components/{p-Ol_RRMGB.js → p-DxnT0K8v.js} +5 -5
- package/dist/components/{p-Ol_RRMGB.js.map → p-DxnT0K8v.js.map} +1 -1
- package/dist/components/{p-CUujfXGZ.js → p-JOhIAgHk.js} +3 -3
- package/dist/components/{p-CUujfXGZ.js.map → p-JOhIAgHk.js.map} +1 -1
- package/dist/components/{p-EFtIYe07.js → p-K2FhSkA6.js} +5 -5
- package/dist/components/{p-EFtIYe07.js.map → p-K2FhSkA6.js.map} +1 -1
- package/dist/components/{p-BEnCw0ZO.js → p-KXfvITXr.js} +3 -3
- package/dist/components/{p-BEnCw0ZO.js.map → p-KXfvITXr.js.map} +1 -1
- package/dist/components/{p-tUZeJBio.js → p-NmZZNRMg.js} +9 -9
- package/dist/components/{p-tUZeJBio.js.map → p-NmZZNRMg.js.map} +1 -1
- package/dist/components/{p-D8Xk8iM1.js → p-PFaTABew.js} +11 -11
- package/dist/components/{p-D8Xk8iM1.js.map → p-PFaTABew.js.map} +1 -1
- package/dist/components/{p-CdjHLYTf.js → p-S3RSvRX7.js} +5 -5
- package/dist/components/{p-CdjHLYTf.js.map → p-S3RSvRX7.js.map} +1 -1
- package/dist/components/{p-mWRI28It.js → p-SbO4yTDL.js} +3 -3
- package/dist/components/{p-mWRI28It.js.map → p-SbO4yTDL.js.map} +1 -1
- package/dist/components/{p-Bi42veQe.js → p-_URfdwj0.js} +9 -9
- package/dist/components/{p-Bi42veQe.js.map → p-_URfdwj0.js.map} +1 -1
- package/dist/components/{p-BnEnros_.js → p-a6yYbN7G.js} +3 -3
- package/dist/components/{p-BnEnros_.js.map → p-a6yYbN7G.js.map} +1 -1
- package/dist/components/{p-b61bpkSU.js → p-blZtYtHM.js} +3 -3
- package/dist/components/{p-b61bpkSU.js.map → p-blZtYtHM.js.map} +1 -1
- package/dist/components/{p-DZGcrLIr.js → p-cNTFnDJ9.js} +3 -3
- package/dist/components/{p-DZGcrLIr.js.map → p-cNTFnDJ9.js.map} +1 -1
- package/dist/components/{p-C-cWMWjK.js → p-d0uOMlu3.js} +4 -4
- package/dist/components/{p-C-cWMWjK.js.map → p-d0uOMlu3.js.map} +1 -1
- package/dist/components/{p-wFg7jTyH.js → p-oafMGboU.js} +9 -9
- package/dist/components/{p-wFg7jTyH.js.map → p-oafMGboU.js.map} +1 -1
- package/dist/components/{p-AbGm5dW0.js → p-qHThZaqH.js} +8 -8
- package/dist/components/{p-AbGm5dW0.js.map → p-qHThZaqH.js.map} +1 -1
- package/dist/components/p-uD4ilJut.js.map +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +5 -5
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +7 -5
- package/dist/components/stzh-banner.js.map +1 -1
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +14 -14
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +5 -5
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +4 -4
- package/dist/components/stzh-contact.js +10 -10
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +17 -17
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +12 -10
- package/dist/components/stzh-gallery.js.map +1 -1
- package/dist/components/stzh-geo-ref-data.js +27 -27
- package/dist/components/stzh-geo-ref-data.js.map +1 -1
- package/dist/components/stzh-ghettobox.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +6 -6
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +10 -10
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +20 -20
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +11 -11
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +2 -2
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +22 -22
- package/dist/components/stzh-pkzh-qr.js.map +1 -1
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +5 -5
- package/dist/components/stzh-rating.js.map +1 -1
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +4 -4
- package/dist/components/stzh-richtext.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +16 -16
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +3 -3
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +5 -5
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +13 -13
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +5 -5
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +7 -7
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{index-WVDCFmOb.js → index-Boyybvcm.js} +3 -3
- package/dist/esm/{index-WVDCFmOb.js.map → index-Boyybvcm.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion_3.entry.js +1 -1
- package/dist/esm/stzh-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +2 -2
- package/dist/esm/stzh-app-nav.entry.js.map +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +4 -2
- package/dist/esm/stzh-banner.entry.js.map +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +7 -7
- package/dist/esm/stzh-buttongroup.entry.js.map +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card_2.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip_2.entry.js +32 -42
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +1 -1
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +1 -1
- package/dist/esm/stzh-container_2.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js.map +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +7 -7
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +5 -3
- package/dist/esm/stzh-gallery.entry.js.map +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +4 -4
- package/dist/esm/stzh-geo-ref-data.entry.js.map +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +1 -1
- package/dist/esm/stzh-header_3.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/{stzh-input-description-Cl6JJQPg.js → stzh-input-description-D7avZ-wq.js} +3 -3
- package/dist/esm/{stzh-input-description-Cl6JJQPg.js.map → stzh-input-description-D7avZ-wq.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +2 -2
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +3 -3
- package/dist/esm/stzh-pkzh-qr.entry.js.map +1 -1
- package/dist/esm/stzh-popover.entry.js +5 -2
- package/dist/esm/stzh-popover.entry.js.map +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +2 -2
- package/dist/esm/stzh-rating.entry.js.map +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js.map +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +2 -2
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-1e6be6d0.entry.js → p-02c6c25f.entry.js} +2 -2
- package/dist/stzh-components/{p-31778486.entry.js → p-0326f9e5.entry.js} +2 -2
- package/dist/stzh-components/{p-c41dee66.entry.js → p-04b91cbe.entry.js} +2 -2
- package/dist/stzh-components/{p-a0718284.entry.js → p-06a85017.entry.js} +2 -2
- package/dist/stzh-components/p-09c5b4f4.entry.js +2 -0
- package/dist/stzh-components/{p-314926bf.entry.js.map → p-09c5b4f4.entry.js.map} +1 -1
- package/dist/stzh-components/{p-69139874.entry.js → p-0c6f2548.entry.js} +2 -2
- package/dist/stzh-components/{p-9df3128f.entry.js → p-0dad8cce.entry.js} +2 -2
- package/dist/stzh-components/{p-106166bb.entry.js → p-0dbdd066.entry.js} +2 -2
- package/dist/stzh-components/{p-fdc1490c.entry.js → p-0e124317.entry.js} +2 -2
- package/dist/stzh-components/{p-20e1a372.entry.js → p-0e7b9556.entry.js} +2 -2
- package/dist/stzh-components/p-0e7b9556.entry.js.map +1 -0
- package/dist/stzh-components/{p-be2a47c8.entry.js → p-112e5a75.entry.js} +2 -2
- package/dist/stzh-components/{p-a8171280.entry.js → p-1268e055.entry.js} +2 -2
- package/dist/stzh-components/{p-f6ad50e0.entry.js → p-1278339e.entry.js} +2 -2
- package/dist/stzh-components/{p-1ef74860.entry.js → p-13aceed6.entry.js} +2 -2
- package/dist/stzh-components/{p-b08fc8cf.entry.js → p-162ea47b.entry.js} +2 -2
- package/dist/stzh-components/{p-4f0eb507.entry.js → p-18e9eaff.entry.js} +2 -2
- package/dist/stzh-components/{p-e07c9fb1.entry.js → p-1948c6be.entry.js} +2 -2
- package/dist/stzh-components/{p-730fb5c2.entry.js → p-1f36d924.entry.js} +2 -2
- package/dist/stzh-components/{p-c26c847d.entry.js → p-20381eb6.entry.js} +2 -2
- package/dist/stzh-components/{p-4ef46628.entry.js → p-2096b5e5.entry.js} +2 -2
- package/dist/stzh-components/{p-96b8de3e.entry.js → p-21864dc6.entry.js} +2 -2
- package/dist/stzh-components/{p-8de9da26.entry.js → p-22728170.entry.js} +2 -2
- package/dist/stzh-components/{p-2c1e5e8b.entry.js → p-228836b8.entry.js} +2 -2
- package/dist/stzh-components/{p-5351b862.entry.js → p-23399476.entry.js} +2 -2
- package/dist/stzh-components/{p-a104e707.entry.js → p-24a4865a.entry.js} +2 -2
- package/dist/stzh-components/{p-2d967d43.entry.js → p-2c27df73.entry.js} +2 -2
- package/dist/stzh-components/{p-625f8711.entry.js → p-2f5f9451.entry.js} +2 -2
- package/dist/stzh-components/{p-fc1c1b2f.entry.js → p-30a29924.entry.js} +2 -2
- package/dist/stzh-components/{p-09dacbbb.entry.js → p-3290c743.entry.js} +2 -2
- package/dist/stzh-components/{p-e6032117.entry.js → p-337a614c.entry.js} +2 -2
- package/dist/stzh-components/{p-f5562b5d.entry.js → p-3589f0fe.entry.js} +2 -2
- package/dist/stzh-components/{p-6f165f23.entry.js → p-370cec66.entry.js} +2 -2
- package/dist/stzh-components/{p-43b8cfde.entry.js → p-375e9039.entry.js} +2 -2
- package/dist/stzh-components/{p-1ba93bb7.entry.js → p-3f32f5b8.entry.js} +2 -2
- package/dist/stzh-components/{p-bd6065e7.entry.js → p-3f6c5da7.entry.js} +2 -2
- package/dist/stzh-components/{p-f9a6e354.entry.js → p-3fc6b229.entry.js} +2 -2
- package/dist/stzh-components/{p-5a82f73f.entry.js → p-43d22663.entry.js} +2 -2
- package/dist/stzh-components/{p-9f695971.entry.js → p-4409b388.entry.js} +2 -2
- package/dist/stzh-components/{p-d3793844.entry.js → p-496db660.entry.js} +2 -2
- package/dist/stzh-components/{p-519286e2.entry.js → p-4980cac6.entry.js} +4 -4
- package/dist/stzh-components/{p-50e739d8.entry.js → p-4b70f6d5.entry.js} +2 -2
- package/dist/stzh-components/{p-5fceb96e.entry.js → p-4c6a88dd.entry.js} +3 -3
- package/dist/stzh-components/{p-5fceb96e.entry.js.map → p-4c6a88dd.entry.js.map} +1 -1
- package/dist/stzh-components/{p-52594c33.entry.js → p-4e5ead8e.entry.js} +2 -2
- package/dist/stzh-components/{p-c86d6269.entry.js → p-51c08340.entry.js} +2 -2
- package/dist/stzh-components/{p-21c5f5b1.entry.js → p-52680e35.entry.js} +2 -2
- package/dist/stzh-components/{p-b99109a6.entry.js → p-54f536d9.entry.js} +2 -2
- package/dist/stzh-components/{p-43284068.entry.js → p-5525834e.entry.js} +2 -2
- package/dist/stzh-components/{p-be7e85d0.entry.js → p-573017fb.entry.js} +2 -2
- package/dist/stzh-components/{p-2df734f4.entry.js → p-57d3f5c6.entry.js} +3 -3
- package/dist/stzh-components/{p-0ecdbcb2.entry.js → p-58bc8ad5.entry.js} +2 -2
- package/dist/stzh-components/{p-ca9f7ff3.entry.js → p-59263627.entry.js} +2 -2
- package/dist/stzh-components/{p-9ff014f1.entry.js → p-59b64110.entry.js} +2 -2
- package/dist/stzh-components/{p-b9587fe9.entry.js → p-5ef55c3a.entry.js} +2 -2
- package/dist/stzh-components/{p-d4bb18c3.entry.js → p-614801db.entry.js} +2 -2
- package/dist/stzh-components/{p-8f76f465.entry.js → p-67134205.entry.js} +3 -3
- package/dist/stzh-components/{p-4cfef42a.entry.js → p-673449d3.entry.js} +2 -2
- package/dist/stzh-components/{p-3aade6ab.entry.js → p-683bdcfc.entry.js} +2 -2
- package/dist/stzh-components/{p-014c4efb.entry.js → p-6a51235e.entry.js} +2 -2
- package/dist/stzh-components/{p-fd5c190d.entry.js → p-6c2f5f67.entry.js} +2 -2
- package/dist/stzh-components/{p-1244a4ad.entry.js → p-722c343d.entry.js} +2 -2
- package/dist/stzh-components/{p-017820c0.entry.js → p-7c9f2c2f.entry.js} +2 -2
- package/dist/stzh-components/{p-4851302c.entry.js → p-7ff56bd0.entry.js} +2 -2
- package/dist/stzh-components/{p-fe4dd322.entry.js → p-8494bb21.entry.js} +2 -2
- package/dist/stzh-components/{p-32370a7e.entry.js → p-85329854.entry.js} +2 -2
- package/dist/stzh-components/{p-2152b3e7.entry.js → p-8547dd85.entry.js} +2 -2
- package/dist/stzh-components/{p-2152b3e7.entry.js.map → p-8547dd85.entry.js.map} +1 -1
- package/dist/stzh-components/{p-dead446b.entry.js → p-86c62790.entry.js} +2 -2
- package/dist/stzh-components/{p-ead4866b.entry.js → p-8a2c72fc.entry.js} +2 -2
- package/dist/stzh-components/{p-480fcf35.entry.js → p-8b53f9f5.entry.js} +2 -2
- package/dist/stzh-components/{p-0a0076e0.entry.js → p-8cd52c56.entry.js} +2 -2
- package/dist/stzh-components/{p-a0b6d562.entry.js → p-8d475272.entry.js} +2 -2
- package/dist/stzh-components/{p-db0494ee.entry.js → p-8f4d7f52.entry.js} +2 -2
- package/dist/stzh-components/{p-0cb8ded0.entry.js → p-8f4fd7e8.entry.js} +2 -2
- package/dist/stzh-components/{p-eccc3a52.entry.js → p-92718c89.entry.js} +2 -2
- package/dist/stzh-components/{p-4917b35e.entry.js → p-92d44643.entry.js} +2 -2
- package/dist/stzh-components/{p-4bf3b5f3.entry.js → p-937ecec3.entry.js} +2 -2
- package/dist/stzh-components/{p-fd447ae1.entry.js → p-95f80efd.entry.js} +2 -2
- package/dist/stzh-components/{p-307aca14.entry.js → p-99e09fed.entry.js} +2 -2
- package/dist/stzh-components/{p-3f8bf92a.entry.js → p-9a42bf5a.entry.js} +2 -2
- package/dist/stzh-components/{p-e21c9013.entry.js → p-9ac7c945.entry.js} +7 -7
- package/dist/stzh-components/{p-336a013f.entry.js → p-9d3d5478.entry.js} +2 -2
- package/dist/stzh-components/{p-00a89ed9.entry.js → p-9daed123.entry.js} +2 -2
- package/dist/stzh-components/{p-9179335b.entry.js → p-9f35f6d1.entry.js} +2 -2
- package/dist/stzh-components/p-Boyybvcm.js +3 -0
- package/dist/stzh-components/{p-WVDCFmOb.js.map → p-Boyybvcm.js.map} +1 -1
- package/dist/stzh-components/{p-QItfqfyu.js → p-DS4xgN66.js} +2 -2
- package/dist/stzh-components/{p-QItfqfyu.js.map → p-DS4xgN66.js.map} +1 -1
- package/dist/stzh-components/{p-0bd31c3f.entry.js → p-a1a810cc.entry.js} +2 -2
- package/dist/stzh-components/{p-5db52fa5.entry.js → p-a5d5cf67.entry.js} +2 -2
- package/dist/stzh-components/{p-7d08eaa9.entry.js → p-a66dd9ac.entry.js} +2 -2
- package/dist/stzh-components/{p-c9fa28c4.entry.js → p-a6bb650c.entry.js} +2 -2
- package/dist/stzh-components/{p-0f7a068e.entry.js → p-a78cf7a9.entry.js} +2 -2
- package/dist/stzh-components/{p-fbc8e5fb.entry.js → p-a8edfd35.entry.js} +2 -2
- package/dist/stzh-components/{p-780cc1a5.entry.js → p-aa915d5b.entry.js} +2 -2
- package/dist/stzh-components/{p-26db7280.entry.js → p-ab37318f.entry.js} +2 -2
- package/dist/stzh-components/{p-ab868670.entry.js → p-ab655ced.entry.js} +2 -2
- package/dist/stzh-components/{p-d9417daf.entry.js → p-ac23e33d.entry.js} +2 -2
- package/dist/stzh-components/{p-a421e8a0.entry.js → p-aee3740b.entry.js} +2 -2
- package/dist/stzh-components/{p-204a03f9.entry.js → p-b139f88e.entry.js} +2 -2
- package/dist/stzh-components/{p-25be19b2.entry.js → p-b1c1f676.entry.js} +2 -2
- package/dist/stzh-components/{p-e347a06b.entry.js → p-b24ad8a1.entry.js} +2 -2
- package/dist/stzh-components/{p-b7428699.entry.js → p-b5186a60.entry.js} +2 -2
- package/dist/stzh-components/{p-b4e3e52a.entry.js → p-b672e1ac.entry.js} +2 -2
- package/dist/stzh-components/{p-9e3a8711.entry.js → p-b914d9d8.entry.js} +2 -2
- package/dist/stzh-components/{p-a278877a.entry.js → p-ba0f9d98.entry.js} +2 -2
- package/dist/stzh-components/{p-fd9a5ab6.entry.js → p-baf12327.entry.js} +2 -2
- package/dist/stzh-components/{p-8fb80103.entry.js → p-bc041233.entry.js} +2 -2
- package/dist/stzh-components/{p-967b7a54.entry.js → p-bce8c218.entry.js} +2 -2
- package/dist/stzh-components/{p-5d7a4338.entry.js → p-bdabc422.entry.js} +2 -2
- package/dist/stzh-components/{p-82d5f5ad.entry.js → p-bf422149.entry.js} +2 -2
- package/dist/stzh-components/{p-e976ab4c.entry.js → p-c062dbd8.entry.js} +2 -2
- package/dist/stzh-components/{p-bef76a75.entry.js → p-c33308b1.entry.js} +2 -2
- package/dist/stzh-components/{p-568981a4.entry.js → p-c6237f22.entry.js} +2 -2
- package/dist/stzh-components/{p-a94ba33f.entry.js → p-c73057b5.entry.js} +2 -2
- package/dist/stzh-components/{p-fea524e1.entry.js → p-cb74e537.entry.js} +2 -2
- package/dist/stzh-components/{p-26be1f66.entry.js → p-cf998c9e.entry.js} +2 -2
- package/dist/stzh-components/{p-d7d9cd05.entry.js → p-d2cdcc47.entry.js} +2 -2
- package/dist/stzh-components/{p-3c23588a.entry.js → p-d2f17cf4.entry.js} +2 -2
- package/dist/stzh-components/{p-8fcee79e.entry.js → p-d7ee95d1.entry.js} +2 -2
- package/dist/stzh-components/{p-8b35cda8.entry.js → p-dbdf2dda.entry.js} +2 -2
- package/dist/stzh-components/{p-bf8ea30f.entry.js → p-dd60db54.entry.js} +2 -2
- package/dist/stzh-components/{p-32d53bf2.entry.js → p-defcf957.entry.js} +2 -2
- package/dist/stzh-components/{p-12821225.entry.js → p-df16dc97.entry.js} +2 -2
- package/dist/stzh-components/{p-ed58d60f.entry.js → p-e7943c14.entry.js} +2 -2
- package/dist/stzh-components/{p-46abd0ee.entry.js → p-ec23c3e0.entry.js} +2 -2
- package/dist/stzh-components/{p-06825cd6.entry.js → p-ef78a7e8.entry.js} +2 -2
- package/dist/stzh-components/{p-f7cde1f8.entry.js → p-f278ac2e.entry.js} +2 -2
- package/dist/stzh-components/{p-f7cde1f8.entry.js.map → p-f278ac2e.entry.js.map} +1 -1
- package/dist/stzh-components/{p-b988ea63.entry.js → p-f34cb4d3.entry.js} +2 -2
- package/dist/stzh-components/{p-4e259e7f.entry.js → p-f3ca18ab.entry.js} +2 -2
- package/dist/stzh-components/{p-ca28db90.entry.js → p-f5b4cb97.entry.js} +2 -2
- package/dist/stzh-components/{p-ef2af4d0.entry.js → p-f6193b21.entry.js} +3 -3
- package/dist/stzh-components/{p-9c61cba8.entry.js → p-f7095605.entry.js} +2 -2
- package/dist/stzh-components/{p-4ecbba07.entry.js → p-fe5cfbfd.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/components/stzh-buttongroup/stzh-buttongroup.d.ts +1 -1
- package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +7 -20
- package/dist/types/index.d.ts +17 -0
- package/package.json +5 -6
- package/dist/components/p-B-TtPvY1.js.map +0 -1
- package/dist/components/p-B_fJQ6tu.js.map +0 -1
- package/dist/components/p-Cla6GVJl.js.map +0 -1
- package/dist/components/p-D-wjggPy.js.map +0 -1
- package/dist/components/p-D36sFB-f.js.map +0 -1
- package/dist/components/p-DXFYCyWz.js.map +0 -1
- package/dist/components/p-DZmJJLfK.js.map +0 -1
- package/dist/stzh-components/p-20e1a372.entry.js.map +0 -1
- package/dist/stzh-components/p-314926bf.entry.js +0 -2
- package/dist/stzh-components/p-WVDCFmOb.js +0 -3
- /package/dist/stzh-components/{p-1e6be6d0.entry.js.map → p-02c6c25f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-31778486.entry.js.map → p-0326f9e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c41dee66.entry.js.map → p-04b91cbe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a0718284.entry.js.map → p-06a85017.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-69139874.entry.js.map → p-0c6f2548.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9df3128f.entry.js.map → p-0dad8cce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-106166bb.entry.js.map → p-0dbdd066.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fdc1490c.entry.js.map → p-0e124317.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-be2a47c8.entry.js.map → p-112e5a75.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8171280.entry.js.map → p-1268e055.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f6ad50e0.entry.js.map → p-1278339e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ef74860.entry.js.map → p-13aceed6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b08fc8cf.entry.js.map → p-162ea47b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4f0eb507.entry.js.map → p-18e9eaff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e07c9fb1.entry.js.map → p-1948c6be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-730fb5c2.entry.js.map → p-1f36d924.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c26c847d.entry.js.map → p-20381eb6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4ef46628.entry.js.map → p-2096b5e5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-96b8de3e.entry.js.map → p-21864dc6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8de9da26.entry.js.map → p-22728170.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2c1e5e8b.entry.js.map → p-228836b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5351b862.entry.js.map → p-23399476.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a104e707.entry.js.map → p-24a4865a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2d967d43.entry.js.map → p-2c27df73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-625f8711.entry.js.map → p-2f5f9451.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fc1c1b2f.entry.js.map → p-30a29924.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09dacbbb.entry.js.map → p-3290c743.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e6032117.entry.js.map → p-337a614c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f5562b5d.entry.js.map → p-3589f0fe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6f165f23.entry.js.map → p-370cec66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-43b8cfde.entry.js.map → p-375e9039.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ba93bb7.entry.js.map → p-3f32f5b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bd6065e7.entry.js.map → p-3f6c5da7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f9a6e354.entry.js.map → p-3fc6b229.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5a82f73f.entry.js.map → p-43d22663.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9f695971.entry.js.map → p-4409b388.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d3793844.entry.js.map → p-496db660.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-519286e2.entry.js.map → p-4980cac6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-50e739d8.entry.js.map → p-4b70f6d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52594c33.entry.js.map → p-4e5ead8e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c86d6269.entry.js.map → p-51c08340.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21c5f5b1.entry.js.map → p-52680e35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b99109a6.entry.js.map → p-54f536d9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-43284068.entry.js.map → p-5525834e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-be7e85d0.entry.js.map → p-573017fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2df734f4.entry.js.map → p-57d3f5c6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0ecdbcb2.entry.js.map → p-58bc8ad5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ca9f7ff3.entry.js.map → p-59263627.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9ff014f1.entry.js.map → p-59b64110.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b9587fe9.entry.js.map → p-5ef55c3a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d4bb18c3.entry.js.map → p-614801db.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f76f465.entry.js.map → p-67134205.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4cfef42a.entry.js.map → p-673449d3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3aade6ab.entry.js.map → p-683bdcfc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-014c4efb.entry.js.map → p-6a51235e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd5c190d.entry.js.map → p-6c2f5f67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1244a4ad.entry.js.map → p-722c343d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-017820c0.entry.js.map → p-7c9f2c2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4851302c.entry.js.map → p-7ff56bd0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fe4dd322.entry.js.map → p-8494bb21.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32370a7e.entry.js.map → p-85329854.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dead446b.entry.js.map → p-86c62790.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ead4866b.entry.js.map → p-8a2c72fc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-480fcf35.entry.js.map → p-8b53f9f5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0a0076e0.entry.js.map → p-8cd52c56.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a0b6d562.entry.js.map → p-8d475272.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-db0494ee.entry.js.map → p-8f4d7f52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cb8ded0.entry.js.map → p-8f4fd7e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eccc3a52.entry.js.map → p-92718c89.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4917b35e.entry.js.map → p-92d44643.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4bf3b5f3.entry.js.map → p-937ecec3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd447ae1.entry.js.map → p-95f80efd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-307aca14.entry.js.map → p-99e09fed.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3f8bf92a.entry.js.map → p-9a42bf5a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e21c9013.entry.js.map → p-9ac7c945.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-336a013f.entry.js.map → p-9d3d5478.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-00a89ed9.entry.js.map → p-9daed123.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9179335b.entry.js.map → p-9f35f6d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0bd31c3f.entry.js.map → p-a1a810cc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5db52fa5.entry.js.map → p-a5d5cf67.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7d08eaa9.entry.js.map → p-a66dd9ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9fa28c4.entry.js.map → p-a6bb650c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0f7a068e.entry.js.map → p-a78cf7a9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fbc8e5fb.entry.js.map → p-a8edfd35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-780cc1a5.entry.js.map → p-aa915d5b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-26db7280.entry.js.map → p-ab37318f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ab868670.entry.js.map → p-ab655ced.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d9417daf.entry.js.map → p-ac23e33d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a421e8a0.entry.js.map → p-aee3740b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-204a03f9.entry.js.map → p-b139f88e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-25be19b2.entry.js.map → p-b1c1f676.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e347a06b.entry.js.map → p-b24ad8a1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b7428699.entry.js.map → p-b5186a60.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4e3e52a.entry.js.map → p-b672e1ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9e3a8711.entry.js.map → p-b914d9d8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a278877a.entry.js.map → p-ba0f9d98.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd9a5ab6.entry.js.map → p-baf12327.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8fb80103.entry.js.map → p-bc041233.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-967b7a54.entry.js.map → p-bce8c218.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5d7a4338.entry.js.map → p-bdabc422.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-82d5f5ad.entry.js.map → p-bf422149.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e976ab4c.entry.js.map → p-c062dbd8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bef76a75.entry.js.map → p-c33308b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-568981a4.entry.js.map → p-c6237f22.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a94ba33f.entry.js.map → p-c73057b5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fea524e1.entry.js.map → p-cb74e537.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-26be1f66.entry.js.map → p-cf998c9e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7d9cd05.entry.js.map → p-d2cdcc47.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3c23588a.entry.js.map → p-d2f17cf4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8fcee79e.entry.js.map → p-d7ee95d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b35cda8.entry.js.map → p-dbdf2dda.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bf8ea30f.entry.js.map → p-dd60db54.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32d53bf2.entry.js.map → p-defcf957.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-12821225.entry.js.map → p-df16dc97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ed58d60f.entry.js.map → p-e7943c14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46abd0ee.entry.js.map → p-ec23c3e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-06825cd6.entry.js.map → p-ef78a7e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b988ea63.entry.js.map → p-f34cb4d3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e259e7f.entry.js.map → p-f3ca18ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ca28db90.entry.js.map → p-f5b4cb97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ef2af4d0.entry.js.map → p-f6193b21.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9c61cba8.entry.js.map → p-f7095605.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4ecbba07.entry.js.map → p-fe5cfbfd.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,c as e,h as o,F as n,a,d as i}from"./p-WVDCFmOb.js";window.libpannellum=function(t,e,o){function n(n){function c(t,e){return 1==t.level&&1!=e.level?-1:1==e.level&&1!=t.level?1:e.timestamp-t.timestamp}function u(t,e){return t.level!=e.level?t.level-e.level:t.diff-e.diff}function f(t,e,o,n,a,i){this.vertices=t;this.side=e;this.level=o;this.x=n;this.y=a;this.path=i.replace("%s",e).replace("%l",o).replace("%x",n).replace("%y",a)}function p(t,e,o,n,a){var i;var r=e.vertices;i=g(t,r.slice(0,3));var s=g(t,r.slice(3,6)),l=g(t,r.slice(6,9)),r=g(t,r.slice(9,12)),h=i[0]+s[0]+l[0]+r[0];-4==h||4==h?i=false:(h=i[1]+s[1]+l[1]+r[1],i=-4==h||4==h?false:4!=i[2]+s[2]+l[2]+r[2]);if(i){i=e.vertices;s=i[0]+i[3]+i[6]+i[9];l=i[1]+i[4]+i[7]+i[10];r=i[2]+i[5]+i[8]+i[11];h=Math.sqrt(s*s+l*l+r*r);r=Math.asin(r/h);s=Math.atan2(l,s)-n;s+=s>Math.PI?-2*Math.PI:s<-Math.PI?2*Math.PI:0;s=Math.abs(s);e.diff=Math.acos(Math.sin(o)*Math.sin(r)+Math.cos(o)*Math.cos(r)*Math.cos(s));s=false;for(l=0;l<M.nodeCache.length;l++)if(M.nodeCache[l].path==e.path){s=true;M.nodeCache[l].timestamp=M.nodeCacheTimestamp++;M.nodeCache[l].diff=e.diff;M.currentNodes.push(M.nodeCache[l]);break}s||(e.timestamp=M.nodeCacheTimestamp++,M.currentNodes.push(e),M.nodeCache.push(e));if(e.level<M.level){var r=A.cubeResolution*Math.pow(2,e.level-A.maxLevel),s=Math.ceil(r*A.invTileResolution)-1,l=r%A.tileResolution*2,c=2*r%A.tileResolution;0===c&&(c=A.tileResolution);0===l&&(l=2*A.tileResolution);h=.5;if(e.x==s||e.y==s)h=1-A.tileResolution/(A.tileResolution+c);var u=1-h,r=[],m=h,d=h,v=h,b=u,x=u,w=u;if(c<A.tileResolution)if(e.x==s&&e.y!=s){if(x=d=.5,"d"==e.side||"u"==e.side)w=v=.5}else e.x!=s&&e.y==s&&(b=m=.5,"l"==e.side||"r"==e.side)&&(w=v=.5);l<=A.tileResolution&&(e.x==s&&(m=0,b=1,"l"==e.side||"r"==e.side)&&(v=0,w=1),e.y==s&&(d=0,x=1,"d"==e.side||"u"==e.side)&&(v=0,w=1));c=[i[0],i[1],i[2],i[0]*m+i[3]*b,i[1]*h+i[4]*u,i[2]*v+i[5]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[0]*h+i[9]*u,i[1]*d+i[10]*x,i[2]*v+i[11]*w];c=new f(c,e.side,e.level+1,2*e.x,2*e.y,A.fullpath);r.push(c);e.x==s&&l<=A.tileResolution||(c=[i[0]*m+i[3]*b,i[1]*h+i[4]*u,i[2]*v+i[5]*w,i[3],i[4],i[5],i[3]*h+i[6]*u,i[4]*d+i[7]*x,i[5]*v+i[8]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w],c=new f(c,e.side,e.level+1,2*e.x+1,2*e.y,A.fullpath),r.push(c));e.x==s&&l<=A.tileResolution||e.y==s&&l<=A.tileResolution||(c=[i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[3]*h+i[6]*u,i[4]*d+i[7]*x,i[5]*v+i[8]*w,i[6],i[7],i[8],i[9]*m+i[6]*b,i[10]*h+i[7]*u,i[11]*v+i[8]*w],c=new f(c,e.side,e.level+1,2*e.x+1,2*e.y+1,A.fullpath),r.push(c));e.y==s&&l<=A.tileResolution||(c=[i[0]*h+i[9]*u,i[1]*d+i[10]*x,i[2]*v+i[11]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[9]*m+i[6]*b,i[10]*h+i[7]*u,i[11]*v+i[8]*w,i[9],i[10],i[11]],c=new f(c,e.side,e.level+1,2*e.x,2*e.y+1,A.fullpath),r.push(c));for(e=0;e<r.length;e++)p(t,r[e],o,n)}}}function m(){return[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1]}function d(t,e,o){var n=Math.sin(e);e=Math.cos(e);if("x"==o)return[t[0],e*t[1]+n*t[2],e*t[2]-n*t[1],t[3],e*t[4]+n*t[5],e*t[5]-n*t[4],t[6],e*t[7]+n*t[8],e*t[8]-n*t[7]];if("y"==o)return[e*t[0]-n*t[2],t[1],e*t[2]+n*t[0],e*t[3]-n*t[5],t[4],e*t[5]+n*t[3],e*t[6]-n*t[8],t[7],e*t[8]+n*t[6]];if("z"==o)return[e*t[0]+n*t[1],e*t[1]-n*t[0],t[2],e*t[3]+n*t[4],e*t[4]-n*t[3],t[5],e*t[6]+n*t[7],e*t[7]-n*t[6],t[8]]}function v(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]}function b(t){R(t,t.path+"."+A.extension,(function(e,o){t.texture=e;t.textureLoaded=o?2:1}),T.crossOrigin)}function g(t,e){var o=[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[4]*e[0]+t[5]*e[1]+t[6]*e[2],t[11]+t[8]*e[0]+t[9]*e[1]+t[10]*e[2],1/(t[12]*e[0]+t[13]*e[1]+t[14]*e[2])],n=o[0]*o[3],a=o[1]*o[3],o=o[2]*o[3],i=[0,0,0];-1>n&&(i[0]=-1);1<n&&(i[0]=1);-1>a&&(i[1]=-1);1<a&&(i[1]=1);if(-1>o||1<o)i[2]=1;return i}function x(){console.log("Reducing canvas size due to error 1286!");w.width=Math.round(w.width/2);w.height=Math.round(w.height/2)}var w=e.createElement("canvas");w.style.width=w.style.height="100%";n.appendChild(w);var M,z,y,k,_,D,C,F,A,E,O,P,I,L,S,T;this.init=function(t,c,u,f,p,d,v,b){function g(t){if(R){var e=t*t*4,o=new Uint8ClampedArray(e),n=b.backgroundColor?b.backgroundColor:[0,0,0];n[0]*=255;n[1]*=255;n[2]*=255;for(var a=0;a<e;a++)o[a++]=n[0],o[a++]=n[1],o[a++]=n[2];t=new ImageData(o,t,t);for(W=0;6>W;W++)0==A[W].width&&(A[W]=t)}}c===o&&(c="equirectangular");if("equirectangular"!=c&&"cubemap"!=c&&"multires"!=c)throw console.log("Error: invalid image type specified!"),{type:"config error"};E=c;A=t;O=u;T=b||{};if(M){y&&(z.detachShader(M,y),z.deleteShader(y));k&&(z.detachShader(M,k),z.deleteShader(k));z.bindBuffer(z.ARRAY_BUFFER,null);z.bindBuffer(z.ELEMENT_ARRAY_BUFFER,null);M.texture&&z.deleteTexture(M.texture);if(M.nodeCache)for(t=0;t<M.nodeCache.length;t++)z.deleteTexture(M.nodeCache[t].texture);z.deleteProgram(M);M=o}F=o;var W,R=false,G;if("cubemap"==E)for(W=0;6>W;W++)0<A[W].width?(G===o&&(G=A[W].width),G!=A[W].width&&console.log("Cube faces have inconsistent widths: "+G+" vs. "+A[W].width)):R=true;"cubemap"==E&&0!==(G&G-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(z||(z=w.getContext("experimental-webgl",{alpha:false,depth:false})),z&&1286==z.getError()&&x());if(!z&&("multires"==E&&A.hasOwnProperty("fallbackPath")||"cubemap"==E)&&("WebkitAppearance"in e.documentElement.style||navigator.userAgent.match(/Trident.*rv[ :]*11\./)||-1!==navigator.appVersion.indexOf("MSIE 10"))){D&&n.removeChild(D);D=e.createElement("div");D.className="pnlm-world";f=A.basePath?A.basePath+A.fallbackPath:A.fallbackPath;var N="frblud".split(""),j=0;p=function(){var t=e.createElement("canvas");t.className="pnlm-face pnlm-"+N[this.side]+"face";D.appendChild(t);var o=t.getContext("2d");t.style.width=this.width+4+"px";t.style.height=this.height+4+"px";t.width=this.width+4;t.height=this.height+4;o.drawImage(this,2,2);var n=o.getImageData(0,0,t.width,t.height),a=n.data,i,r;for(i=2;i<t.width-2;i++)for(r=0;4>r;r++)a[4*(i+t.width)+r]=a[4*(i+2*t.width)+r],a[4*(i+t.width*(t.height-2))+r]=a[4*(i+t.width*(t.height-3))+r];for(i=2;i<t.height-2;i++)for(r=0;4>r;r++)a[4*(i*t.width+1)+r]=a[4*(i*t.width+2)+r],a[4*((i+1)*t.width-2)+r]=a[4*((i+1)*t.width-3)+r];for(r=0;4>r;r++)a[4*(t.width+1)+r]=a[4*(2*t.width+2)+r],a[4*(2*t.width-2)+r]=a[4*(3*t.width-3)+r],a[4*(t.width*(t.height-2)+1)+r]=a[4*(t.width*(t.height-3)+2)+r],a[4*(t.width*(t.height-1)-2)+r]=a[4*(t.width*(t.height-2)-3)+r];for(i=1;i<t.width-1;i++)for(r=0;4>r;r++)a[4*i+r]=a[4*(i+t.width)+r],a[4*(i+t.width*(t.height-1))+r]=a[4*(i+t.width*(t.height-2))+r];for(i=1;i<t.height-1;i++)for(r=0;4>r;r++)a[i*t.width*4+r]=a[4*(i*t.width+1)+r],a[4*((i+1)*t.width-1)+r]=a[4*((i+1)*t.width-2)+r];for(r=0;4>r;r++)a[r]=a[4*(t.width+1)+r],a[4*(t.width-1)+r]=a[4*(2*t.width-2)+r],a[t.width*(t.height-1)*4+r]=a[4*(t.width*(t.height-2)+1)+r],a[4*(t.width*t.height-1)+r]=a[4*(t.width*(t.height-1)-2)+r];o.putImageData(n,0,0);q.call(this)};var q=function(){0<this.width?(_===o&&(_=this.width),_!=this.width&&console.log("Fallback faces have inconsistent widths: "+_+" vs. "+this.width)):R=true;j++;6==j&&(_=this.width,n.appendChild(D),v())},R=false;for(W=0;6>W;W++)d=new Image,d.crossOrigin=T.crossOrigin?T.crossOrigin:"anonymous",d.side=W,d.onload=p,d.onerror=q,d.src="multires"==E?f.replace("%s",N[W])+"."+A.extension:A[W].src;g(_)}else{if(!z)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};"cubemap"==E&&g(G);A.fullpath=A.basePath?A.basePath+A.path:A.path;A.invTileResolution=1/A.tileResolution;t=m();C=[];for(W=0;6>W;W++)C[W]=t.slice(12*W,12*W+12),t=m();t=0;if("equirectangular"==E){if(t=z.getParameter(z.MAX_TEXTURE_SIZE),Math.max(A.width/2,A.height)>t)throw console.log("Error: The image is too big; it's "+A.width+"px wide, but this device's maximum supported size is "+2*t+"px."),{type:"webgl size error",width:A.width,maxWidth:2*t}}else if("cubemap"==E&&G>z.getParameter(z.MAX_CUBE_MAP_TEXTURE_SIZE))throw console.log("Error: The image is too big; it's "+G+"px wide, but this device's maximum supported size is "+t+"px."),{type:"webgl size error",width:G,maxWidth:t};b===o||b.horizonPitch===o&&b.horizonRoll===o||(F=[b.horizonPitch==o?0:b.horizonPitch,b.horizonRoll==o?0:b.horizonRoll]);G=z.TEXTURE_2D;z.viewport(0,0,z.drawingBufferWidth,z.drawingBufferHeight);z.getShaderPrecisionFormat&&(c=z.getShaderPrecisionFormat(z.FRAGMENT_SHADER,z.HIGH_FLOAT))&&1>c.precision&&(r=r.replace("highp","mediump"));y=z.createShader(z.VERTEX_SHADER);c=a;"multires"==E&&(c=i);z.shaderSource(y,c);z.compileShader(y);k=z.createShader(z.FRAGMENT_SHADER);c=l;"cubemap"==E?(G=z.TEXTURE_CUBE_MAP,c=s):"multires"==E&&(c=h);z.shaderSource(k,c);z.compileShader(k);M=z.createProgram();z.attachShader(M,y);z.attachShader(M,k);z.linkProgram(M);z.getShaderParameter(y,z.COMPILE_STATUS)||console.log(z.getShaderInfoLog(y));z.getShaderParameter(k,z.COMPILE_STATUS)||console.log(z.getShaderInfoLog(k));z.getProgramParameter(M,z.LINK_STATUS)||console.log(z.getProgramInfoLog(M));z.useProgram(M);M.drawInProgress=false;c=b.backgroundColor?b.backgroundColor:[0,0,0];z.clearColor(c[0],c[1],c[2],1);z.clear(z.COLOR_BUFFER_BIT);M.texCoordLocation=z.getAttribLocation(M,"a_texCoord");z.enableVertexAttribArray(M.texCoordLocation);"multires"!=E?(P||(P=z.createBuffer()),z.bindBuffer(z.ARRAY_BUFFER,P),z.bufferData(z.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),z.STATIC_DRAW),z.vertexAttribPointer(M.texCoordLocation,2,z.FLOAT,false,0,0),M.aspectRatio=z.getUniformLocation(M,"u_aspectRatio"),z.uniform1f(M.aspectRatio,z.drawingBufferWidth/z.drawingBufferHeight),M.psi=z.getUniformLocation(M,"u_psi"),M.theta=z.getUniformLocation(M,"u_theta"),M.f=z.getUniformLocation(M,"u_f"),M.h=z.getUniformLocation(M,"u_h"),M.v=z.getUniformLocation(M,"u_v"),M.vo=z.getUniformLocation(M,"u_vo"),M.rot=z.getUniformLocation(M,"u_rot"),z.uniform1f(M.h,f/(2*Math.PI)),z.uniform1f(M.v,p/Math.PI),z.uniform1f(M.vo,d/Math.PI*2),"equirectangular"==E&&(M.backgroundColor=z.getUniformLocation(M,"u_backgroundColor"),z.uniform4fv(M.backgroundColor,c.concat([1]))),M.texture=z.createTexture(),z.bindTexture(G,M.texture),"cubemap"==E?(z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_X,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[1]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_X,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[3]),z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_Y,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[4]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[5]),z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_Z,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[0]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[2])):A.width<=t?(z.uniform1i(z.getUniformLocation(M,"u_splitImage"),0),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A)):(z.uniform1i(z.getUniformLocation(M,"u_splitImage"),1),f=e.createElement("canvas"),f.width=A.width/2,f.height=A.height,f=f.getContext("2d"),f.drawImage(A,0,0),p=f.getImageData(0,0,A.width/2,A.height),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,p),M.texture2=z.createTexture(),z.activeTexture(z.TEXTURE1),z.bindTexture(G,M.texture2),z.uniform1i(z.getUniformLocation(M,"u_image1"),1),f.drawImage(A,-A.width/2,0),p=f.getImageData(0,0,A.width/2,A.height),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,p),z.texParameteri(G,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_MIN_FILTER,z.LINEAR),z.texParameteri(G,z.TEXTURE_MAG_FILTER,z.LINEAR),z.activeTexture(z.TEXTURE0)),z.texParameteri(G,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_MIN_FILTER,z.LINEAR),z.texParameteri(G,z.TEXTURE_MAG_FILTER,z.LINEAR)):(M.vertPosLocation=z.getAttribLocation(M,"a_vertCoord"),z.enableVertexAttribArray(M.vertPosLocation),I||(I=z.createBuffer()),L||(L=z.createBuffer()),S||(S=z.createBuffer()),z.bindBuffer(z.ARRAY_BUFFER,L),z.bufferData(z.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),z.STATIC_DRAW),z.bindBuffer(z.ELEMENT_ARRAY_BUFFER,S),z.bufferData(z.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),z.STATIC_DRAW),M.perspUniform=z.getUniformLocation(M,"u_perspMatrix"),M.cubeUniform=z.getUniformLocation(M,"u_cubeMatrix"),M.level=-1,M.currentNodes=[],M.nodeCache=[],M.nodeCacheTimestamp=0);f=z.getError();if(0!==f)throw console.log("Error: Something went wrong with WebGL!",f),{type:"webgl error"};v()}};this.destroy=function(){n!==o&&(w!==o&&n.contains(w)&&n.removeChild(w),D!==o&&n.contains(D)&&n.removeChild(D));if(z){var t=z.getExtension("WEBGL_lose_context");t&&t.loseContext()}};this.resize=function(){var e=t.devicePixelRatio||1;w.width=w.clientWidth*e;w.height=w.clientHeight*e;z&&(1286==z.getError()&&x(),z.viewport(0,0,z.drawingBufferWidth,z.drawingBufferHeight),"multires"!=E&&z.uniform1f(M.aspectRatio,w.clientWidth/w.clientHeight))};this.resize();this.setPose=function(t,e){F=[t,e]};this.render=function(t,e,n,a){var i,r=0;a===o&&(a={});a.roll&&(r=a.roll);if(F!==o){i=F[0];var s=F[1],l=t,h=e,m=Math.cos(s)*Math.sin(t)*Math.sin(i)+Math.cos(t)*(Math.cos(i)*Math.cos(e)+Math.sin(s)*Math.sin(i)*Math.sin(e)),g=-Math.sin(t)*Math.sin(s)+Math.cos(t)*Math.cos(s)*Math.sin(e);t=Math.cos(s)*Math.cos(i)*Math.sin(t)+Math.cos(t)*(-Math.cos(e)*Math.sin(i)+Math.cos(i)*Math.sin(s)*Math.sin(e));t=Math.asin(Math.max(Math.min(t,1),-1));e=Math.atan2(g,m);i=[Math.cos(l)*(Math.sin(s)*Math.sin(i)*Math.cos(h)-Math.cos(i)*Math.sin(h)),Math.cos(l)*Math.cos(s)*Math.cos(h),Math.cos(l)*(Math.cos(i)*Math.sin(s)*Math.cos(h)+Math.sin(h)*Math.sin(i))];s=[-Math.cos(t)*Math.sin(e),Math.cos(t)*Math.cos(e)];s=Math.acos(Math.max(Math.min((i[0]*s[0]+i[1]*s[1])/(Math.sqrt(i[0]*i[0]+i[1]*i[1]+i[2]*i[2])*Math.sqrt(s[0]*s[0]+s[1]*s[1])),1),-1));0>i[2]&&(s=2*Math.PI-s);r+=s}if(z||"multires"!=E&&"cubemap"!=E){if("multires"!=E)n=2*Math.atan(Math.tan(.5*n)/(z.drawingBufferWidth/z.drawingBufferHeight)),n=1/Math.tan(.5*n),z.uniform1f(M.psi,e),z.uniform1f(M.theta,t),z.uniform1f(M.rot,r),z.uniform1f(M.f,n),true===O&&"equirectangular"==E&&(z.bindTexture(z.TEXTURE_2D,M.texture),z.texImage2D(z.TEXTURE_2D,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A)),z.drawArrays(z.TRIANGLES,0,6);else{i=z.drawingBufferWidth/z.drawingBufferHeight;s=2*Math.atan(Math.tan(n/2)*z.drawingBufferHeight/z.drawingBufferWidth);s=1/Math.tan(s/2);i=[s/i,0,0,0,0,s,0,0,0,0,100.1/-99.9,20/-99.9,0,0,-1,0];for(s=1;s<A.maxLevel&&z.drawingBufferWidth>A.tileResolution*Math.pow(2,s-1)*Math.tan(n/2)*.707;)s++;M.level=s;s=[1,0,0,0,1,0,0,0,1];s=d(s,-r,"z");s=d(s,-t,"x");s=d(s,e,"y");s=[s[0],s[1],s[2],0,s[3],s[4],s[5],0,s[6],s[7],s[8],0,0,0,0,1];z.uniformMatrix4fv(M.perspUniform,false,new Float32Array(v(i)));z.uniformMatrix4fv(M.cubeUniform,false,new Float32Array(v(s)));r=[i[0]*s[0],i[0]*s[1],i[0]*s[2],0,i[5]*s[4],i[5]*s[5],i[5]*s[6],0,i[10]*s[8],i[10]*s[9],i[10]*s[10],i[11],-s[8],-s[9],-s[10],0];M.nodeCache.sort(c);if(200<M.nodeCache.length&&M.nodeCache.length>M.currentNodes.length+50)for(i=M.nodeCache.splice(200,M.nodeCache.length-200),s=0;s<i.length;s++)z.deleteTexture(i[s].texture);M.currentNodes=[];s="fbudlr".split("");for(i=0;6>i;i++)l=new f(C[i],s[i],1,0,0,A.fullpath),p(r,l,t,e);M.currentNodes.sort(u);for(t=W.length-1;0<=t;t--)-1===M.currentNodes.indexOf(W[t].node)&&(W[t].node.textureLoad=false,W.splice(t,1));if(0===W.length)for(t=0;t<M.currentNodes.length;t++)if(e=M.currentNodes[t],!e.texture&&!e.textureLoad){e.textureLoad=true;setTimeout(b,0,e);break}if(!M.drawInProgress){M.drawInProgress=true;z.clear(z.COLOR_BUFFER_BIT);for(t=0;t<M.currentNodes.length;t++)1<M.currentNodes[t].textureLoaded&&(z.bindBuffer(z.ARRAY_BUFFER,I),z.bufferData(z.ARRAY_BUFFER,new Float32Array(M.currentNodes[t].vertices),z.STATIC_DRAW),z.vertexAttribPointer(M.vertPosLocation,3,z.FLOAT,false,0,0),z.bindBuffer(z.ARRAY_BUFFER,L),z.vertexAttribPointer(M.texCoordLocation,2,z.FLOAT,false,0,0),z.bindTexture(z.TEXTURE_2D,M.currentNodes[t].texture),z.drawElements(z.TRIANGLES,6,z.UNSIGNED_SHORT,0));M.drawInProgress=false}}if(a.returnImage!==o)return w.toDataURL("image/png")}else for(i=_/2,a={f:"translate3d(-"+(i+2)+"px, -"+(i+2)+"px, -"+i+"px)",b:"translate3d("+(i+2)+"px, -"+(i+2)+"px, "+i+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(i+2)+"px, -"+i+"px, "+(i+2)+"px) rotateX(270deg)",d:"translate3d(-"+(i+2)+"px, "+i+"px, -"+(i+2)+"px) rotateX(90deg)",l:"translate3d(-"+i+"px, -"+(i+2)+"px, "+(i+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+i+"px, -"+(i+2)+"px, -"+(i+2)+"px) rotateY(270deg)"},n=1/Math.tan(n/2),n=n*w.clientWidth/2+"px",e="perspective("+n+") translateZ("+n+") rotateX("+t+"rad) rotateY("+e+"rad) ",n=Object.keys(a),t=0;6>t;t++)if(r=D.querySelector(".pnlm-"+n[t]+"face"))r.style.webkitTransform=e+a[n[t]],r.style.transform=e+a[n[t]]};this.isLoading=function(){if(z&&"multires"==E)for(var t=0;t<M.currentNodes.length;t++)if(!M.currentNodes[t].textureLoaded)return true;return false};this.getCanvas=function(){return w};var W=[],R=function(){function t(){var t=this;this.texture=this.callback=null;this.image=new Image;this.image.crossOrigin=a?a:"anonymous";var e=function(){if(0<t.image.width&&0<t.image.height){var e=t.image;z.bindTexture(z.TEXTURE_2D,t.texture);z.texImage2D(z.TEXTURE_2D,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,e);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_MAG_FILTER,z.LINEAR);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_MIN_FILTER,z.LINEAR);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE);z.bindTexture(z.TEXTURE_2D,null);t.callback(t.texture,true)}else t.callback(t.texture,false);W.length?(e=W.shift(),t.loadTexture(e.src,e.texture,e.callback)):n[o++]=t};this.image.addEventListener("load",e);this.image.addEventListener("error",e)}function e(t,e,o,n){this.node=t;this.src=e;this.texture=o;this.callback=n}var o=4,n={},a;t.prototype.loadTexture=function(t,e,o){this.texture=e;this.callback=o;this.image.src=t};for(var i=0;i<o;i++)n[i]=new t;return function(t,i,r,s){a=s;s=z.createTexture();o?n[--o].loadTexture(i,s,r):W.push(new e(t,i,s,r));return s}}()}var a="attribute vec2 a_texCoord;varying vec2 v_texCoord;void main() {gl_Position = vec4(a_texCoord, 0.0, 1.0);v_texCoord = a_texCoord;}",i="attribute vec3 a_vertCoord;attribute vec2 a_texCoord;uniform mat4 u_cubeMatrix;uniform mat4 u_perspMatrix;varying mediump vec2 v_texCoord;void main(void) {gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);v_texCoord = a_texCoord;}",r="precision highp float;\nuniform float u_aspectRatio;\nuniform float u_psi;\nuniform float u_theta;\nuniform float u_f;\nuniform float u_h;\nuniform float u_v;\nuniform float u_vo;\nuniform float u_rot;\nconst float PI = 3.14159265358979323846264;\nuniform sampler2D u_image0;\nuniform sampler2D u_image1;\nuniform bool u_splitImage;\nuniform samplerCube u_imageCube;\nvarying vec2 v_texCoord;\nuniform vec4 u_backgroundColor;\nvoid main() {\nfloat x = v_texCoord.x * u_aspectRatio;\nfloat y = v_texCoord.y;\nfloat sinrot = sin(u_rot);\nfloat cosrot = cos(u_rot);\nfloat rot_x = x * cosrot - y * sinrot;\nfloat rot_y = x * sinrot + y * cosrot;\nfloat sintheta = sin(u_theta);\nfloat costheta = cos(u_theta);\nfloat a = u_f * costheta - rot_y * sintheta;\nfloat root = sqrt(rot_x * rot_x + a * a);\nfloat lambda = atan(rot_x / root, a / root) + u_psi;\nfloat phi = atan((rot_y * costheta + u_f * sintheta) / root);",s=r+"float cosphi = cos(phi);\ngl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));\n}",l=r+"lambda = mod(lambda + PI, PI * 2.0) - PI;\nvec2 coord = vec2(lambda / PI, phi / (PI / 2.0));\nif(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)\ngl_FragColor = u_backgroundColor;\nelse {\nif(u_splitImage) {\nif(coord.x < 0.0)\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / u_h, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\nelse\ngl_FragColor = texture2D(u_image1, vec2((coord.x + u_h) / u_h - 1.0, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n} else {\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n}\n}\n}",h="varying mediump vec2 v_texCoord;uniform sampler2D u_sampler;void main(void) {gl_FragColor = texture2D(u_sampler, v_texCoord);}";return{renderer:function(t,e,o,a){return new n(t)}}}(window,document);window.pannellum=function(t,e,o){function n(n,a){function i(){var n=e.createElement("div");n.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e";if(1==n.getElementsByTagName("i").length)h();else{Ct=at.hfov;Ft=at.pitch;var a;if("cubemap"==at.type){xt=[];for(n=0;6>n;n++)xt.push(new Image),xt[n].crossOrigin=at.crossOrigin;Nt.load.lbox.style.display="block";Nt.load.lbar.style.display="none"}else if("multires"==at.type)n=JSON.parse(JSON.stringify(at.multiRes)),at.basePath&&at.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(at.multiRes.basePath)?n.basePath=at.basePath+at.multiRes.basePath:at.multiRes.basePath?n.basePath=at.multiRes.basePath:at.basePath&&(n.basePath=at.basePath),xt=n;else if(true===at.dynamic)xt=at.panorama;else{if(at.panorama===o){h(at.strings.noPanoramaError);return}xt=new Image}if("cubemap"==at.type)for(var i=6,c=function(){i--;0===i&&s()},u=function(t){var o=e.createElement("a");o.href=t.target.src;o.textContent=o.href;h(at.strings.fileAccessError.replace("%s",o.outerHTML))},n=0;n<xt.length;n++)a=at.cubeMap[n],"null"==a?(console.log("Will use background instead of missing cubemap face "+n),c()):(at.basePath&&!r(a)&&(a=at.basePath+a),xt[n].onload=c,xt[n].onerror=u,xt[n].src=tt(a));else if("multires"==at.type)s();else if(a="",at.basePath&&(a=at.basePath),true!==at.dynamic){a=r(at.panorama)?at.panorama:a+at.panorama;xt.onload=function(){t.URL.revokeObjectURL(this.src);s()};var f=new XMLHttpRequest;f.onloadend=function(){if(200!=f.status){var t=e.createElement("a");t.href=a;t.textContent=t.href;h(at.strings.fileAccessError.replace("%s",t.outerHTML))}l(this.response);Nt.load.msg.innerHTML=""};f.onprogress=function(t){if(t.lengthComputable){Nt.load.lbarFill.style.width=t.loaded/t.total*100+"%";var e,o;1e6<t.total?(e="MB",o=(t.loaded/1e6).toFixed(2),t=(t.total/1e6).toFixed(2)):1e3<t.total?(e="kB",o=(t.loaded/1e3).toFixed(1),t=(t.total/1e3).toFixed(1)):(e="B",o=t.loaded,t=t.total);Nt.load.msg.innerHTML=o+" / "+t+" "+e}else Nt.load.lbox.style.display="block",Nt.load.lbar.style.display="none"};try{f.open("GET",a,true)}catch(t){h(at.strings.malformedURLError)}f.responseType="blob";f.setRequestHeader("Accept","image/*,*/*;q=0.9");f.withCredentials="use-credentials"===at.crossOrigin;f.send()}at.draggable&&Tt.classList.add("pnlm-grab");Tt.classList.remove("pnlm-grabbing");Pt=true===at.dynamicUpdate;at.dynamic&&Pt&&(xt=at.panorama,s())}}function r(t){return/^(?:[a-z]+:)?\/\//i.test(t)||"/"==t[0]||"blob:"==t.slice(0,5)}function s(){it||(it=new libpannellum.renderer(Wt));gt||(gt=true,Rt.addEventListener("mousedown",f,false),e.addEventListener("mousemove",d,false),e.addEventListener("mouseup",v,false),at.mouseZoom&&(Tt.addEventListener("mousewheel",y,false),Tt.addEventListener("DOMMouseScroll",y,false)),at.doubleClickZoom&&Rt.addEventListener("dblclick",p,false),n.addEventListener("mozfullscreenchange",Z,false),n.addEventListener("webkitfullscreenchange",Z,false),n.addEventListener("msfullscreenchange",Z,false),n.addEventListener("fullscreenchange",Z,false),t.addEventListener("resize",E,false),t.addEventListener("orientationchange",E,false),at.disableKeyboardCtrl||(n.addEventListener("keydown",k,false),n.addEventListener("keyup",D,false),n.addEventListener("blur",_,false)),e.addEventListener("mouseleave",v,false),""===e.documentElement.style.pointerAction&&""===e.documentElement.style.touchAction?(Rt.addEventListener("pointerdown",w,false),Rt.addEventListener("pointermove",M,false),Rt.addEventListener("pointerup",z,false),Rt.addEventListener("pointerleave",z,false)):(Rt.addEventListener("touchstart",b,false),Rt.addEventListener("touchmove",g,false),Rt.addEventListener("touchend",x,false)),t.navigator.pointerEnabled&&(n.style.touchAction="none"));T();Y(at.hfov);setTimeout((function(){}),500)}function l(e){var n=new FileReader;n.addEventListener("loadend",(function(){var a=n.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var i=a.indexOf("ÿÂ");(0>i||65536<i)&&h(at.strings.iOS8WebGLError)}i=a.indexOf("<x:xmpmeta");if(-1<i&&true!==at.ignoreGPanoXMP){var r=a.substring(i,a.indexOf("</x:xmpmeta>")+12),s=function(t){var e;0<=r.indexOf(t+'="')?(e=r.substring(r.indexOf(t+'="')+t.length+2),e=e.substring(0,e.indexOf('"'))):0<=r.indexOf(t+">")&&(e=r.substring(r.indexOf(t+">")+t.length+1),e=e.substring(0,e.indexOf("<")));return e!==o?Number(e):null},a=s("GPano:FullPanoWidthPixels"),i=s("GPano:CroppedAreaImageWidthPixels"),l=s("GPano:FullPanoHeightPixels"),c=s("GPano:CroppedAreaImageHeightPixels"),u=s("GPano:CroppedAreaTopPixels"),f=s("GPano:PoseHeadingDegrees"),p=s("GPano:PosePitchDegrees"),s=s("GPano:PoseRollDegrees");null!==a&&null!==i&&null!==l&&null!==c&&null!==u&&(0>Ot.indexOf("haov")&&(at.haov=i/a*360),0>Ot.indexOf("vaov")&&(at.vaov=c/l*180),0>Ot.indexOf("vOffset")&&(at.vOffset=-180*((u+c/2)/l-.5)),null!==f&&0>Ot.indexOf("northOffset")&&(at.northOffset=f,false!==at.compass&&(at.compass=true)),null!==p&&null!==s&&(0>Ot.indexOf("horizonPitch")&&(at.horizonPitch=p),0>Ot.indexOf("horizonRoll")&&(at.horizonRoll=s)))}xt.src=t.URL.createObjectURL(e)}));n.readAsBinaryString!==o?n.readAsBinaryString(e):n.readAsText(e)}function h(t){t===o&&(t=at.strings.genericWebGLError);Nt.errorMsg.innerHTML="<p>"+t+"</p>";qt.load.style.display="none";Nt.load.box.style.display="none";Nt.errorMsg.style.display="table";bt=true;vt=o;Wt.style.display="none";ot("error",t)}function c(t){var e=u(t);Gt.style.left=e.x+"px";Gt.style.top=e.y+"px";clearTimeout(c.t1);clearTimeout(c.t2);Gt.style.display="block";Gt.style.opacity=1;c.t1=setTimeout((function(){Gt.style.opacity=0}),2e3);c.t2=setTimeout((function(){Gt.style.display="none"}),2500);t.preventDefault()}function u(t){var e=n.getBoundingClientRect(),o={};o.x=(t.clientX||t.pageX)-e.left;o.y=(t.clientY||t.pageY)-e.top;return o}function f(t){t.preventDefault();n.focus();if(vt&&at.draggable){var e=u(t);if(at.hotSpotDebug){var o=m(t);console.log("Pitch: "+o[0]+", Yaw: "+o[1]+", Center Pitch: "+at.pitch+", Center Yaw: "+at.yaw+", HFOV: "+at.hfov)}X();K();at.roll=0;Mt.hfov=0;st=true;lt=Date.now();ht=e.x;ct=e.y;ft=at.yaw;pt=at.pitch;Tt.classList.add("pnlm-grabbing");Tt.classList.remove("pnlm-grab");ot("mousedown",t);O()}}function p(t){at.minHfov===at.hfov?nt.setHfov(Ct,1e3):(t=m(t),nt.lookAt(t[0],t[1],at.minHfov,1e3))}function m(t){var e=u(t);t=it.getCanvas();var o=t.clientWidth,n=t.clientHeight;t=e.x/o*2-1;var n=(1-e.y/n*2)*n/o,a=1/Math.tan(at.hfov*Math.PI/360),i=Math.sin(at.pitch*Math.PI/180),r=Math.cos(at.pitch*Math.PI/180),e=a*r-n*i,o=Math.sqrt(t*t+e*e),n=180*Math.atan((n*r+a*i)/o)/Math.PI;t=180*Math.atan2(t/o,e/o)/Math.PI+at.yaw;-180>t&&(t+=360);180<t&&(t-=360);return[n,t]}function d(t){if(st&&vt){lt=Date.now();var e=it.getCanvas(),o=e.clientWidth,e=e.clientHeight;t=u(t);var n=180*(Math.atan(ht/o*2-1)-Math.atan(t.x/o*2-1))/Math.PI*at.hfov/90+ft;Mt.yaw=(n-at.yaw)%360*.2;at.yaw=n;o=360*Math.atan(Math.tan(at.hfov/360*Math.PI)*e/o)/Math.PI;o=180*(Math.atan(t.y/e*2-1)-Math.atan(ct/e*2-1))/Math.PI*o/90+pt;Mt.pitch=.2*(o-at.pitch);at.pitch=o}}function v(t){st&&(st=false,15<Date.now()-lt&&(Mt.pitch=Mt.yaw=0),Tt.classList.add("pnlm-grab"),Tt.classList.remove("pnlm-grabbing"),lt=Date.now(),ot("mouseup",t))}function b(t){if(vt&&at.draggable){X();K();at.roll=0;Mt.hfov=0;var e=u(t.targetTouches[0]);ht=e.x;ct=e.y;if(2==t.targetTouches.length){var o=u(t.targetTouches[1]);ht+=.5*(o.x-e.x);ct+=.5*(o.y-e.y);ut=Math.sqrt((e.x-o.x)*(e.x-o.x)+(e.y-o.y)*(e.y-o.y))}st=true;lt=Date.now();ft=at.yaw;pt=at.pitch;ot("touchstart",t);O()}}function g(t){if(at.draggable&&(t.preventDefault(),vt&&(lt=Date.now()),st&&vt)){var e=u(t.targetTouches[0]),o=e.x,n=e.y;2==t.targetTouches.length&&-1!=ut&&(t=u(t.targetTouches[1]),o+=.5*(t.x-e.x),n+=.5*(t.y-e.y),e=Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y)),Y(at.hfov+.1*(ut-e)),ut=e);e=at.hfov/360*at.touchPanSpeedCoeffFactor;o=(ht-o)*e+ft;Mt.yaw=(o-at.yaw)%360*.2;at.yaw=o;n=(n-ct)*e+pt;Mt.pitch=.2*(n-at.pitch);at.pitch=n}}function x(){st=false;150<Date.now()-lt&&(Mt.pitch=Mt.yaw=0);ut=-1;lt=Date.now();ot("touchend",event)}function w(t){"touch"==t.pointerType&&vt&&at.draggable&&(Zt.push(t.pointerId),Ht.push({clientX:t.clientX,clientY:t.clientY}),t.targetTouches=Ht,b(t),t.preventDefault())}function M(t){if("touch"==t.pointerType&&at.draggable)for(var e=0;e<Zt.length;e++)if(t.pointerId==Zt[e]){Ht[e].clientX=t.clientX;Ht[e].clientY=t.clientY;t.targetTouches=Ht;g(t);t.preventDefault();break}}function z(t){if("touch"==t.pointerType){for(var e=false,n=0;n<Zt.length;n++)t.pointerId==Zt[n]&&(Zt[n]=o),Zt[n]&&(e=true);e||(Zt=[],Ht=[],x());t.preventDefault()}}function y(t){vt&&("fullscreenonly"!=at.mouseZoom||dt)&&(t.preventDefault(),X(),lt=Date.now(),t.wheelDeltaY?(Y(at.hfov-.05*t.wheelDeltaY),Mt.hfov=0>t.wheelDelta?1:-1):t.wheelDelta?(Y(at.hfov-.05*t.wheelDelta),Mt.hfov=0>t.wheelDelta?1:-1):t.detail&&(Y(at.hfov+1.5*t.detail),Mt.hfov=0<t.detail?1:-1),O())}function k(t){X();lt=Date.now();K();at.roll=0;var e=t.which||t.keycode;0>at.capturedKeyNumbers.indexOf(e)||(t.preventDefault(),27==e?dt&&U():C(e,true))}function _(){for(var t=0;10>t;t++)mt[t]=false}function D(t){var e=t.which||t.keycode;0>at.capturedKeyNumbers.indexOf(e)||(t.preventDefault(),C(e,false))}function C(t,e){var o=false;switch(t){case 109:case 189:case 17:case 173:mt[0]!=e&&(o=true);mt[0]=e;break;case 107:case 187:case 16:case 61:mt[1]!=e&&(o=true);mt[1]=e;break;case 38:mt[2]!=e&&(o=true);mt[2]=e;break;case 87:mt[6]!=e&&(o=true);mt[6]=e;break;case 40:mt[3]!=e&&(o=true);mt[3]=e;break;case 83:mt[7]!=e&&(o=true);mt[7]=e;break;case 37:mt[4]!=e&&(o=true);mt[4]=e;break;case 65:mt[8]!=e&&(o=true);mt[8]=e;break;case 39:mt[5]!=e&&(o=true);mt[5]=e;break;case 68:mt[9]!=e&&(o=true),mt[9]=e}o&&e&&(wt="undefined"!==typeof performance&&performance.now()?performance.now():Date.now(),O())}function F(){if(vt){var t=false,e=at.pitch,n=at.yaw,a=at.hfov,i;i="undefined"!==typeof performance&&performance.now()?performance.now():Date.now();wt===o&&(wt=i);var r=(i-wt)*at.hfov/1700,r=Math.min(r,1);mt[0]&&true===at.keyboardZoom&&(Y(at.hfov+(.8*Mt.hfov+.5)*r),t=true);mt[1]&&true===at.keyboardZoom&&(Y(at.hfov+(.8*Mt.hfov-.2)*r),t=true);if(mt[2]||mt[6])at.pitch+=(.8*Mt.pitch+.2)*r,t=true;if(mt[3]||mt[7])at.pitch+=(.8*Mt.pitch-.2)*r,t=true;if(mt[4]||mt[8])at.yaw+=(.8*Mt.yaw-.2)*r,t=true;if(mt[5]||mt[9])at.yaw+=(.8*Mt.yaw+.2)*r,t=true;t&&(lt=Date.now());if(at.autoRotate){if(.001<i-wt){var t=(i-wt)/1e3,s=(Mt.yaw/t*r-.2*at.autoRotate)*t,s=(0<-at.autoRotate?1:-1)*Math.min(Math.abs(at.autoRotate*t),Math.abs(s));at.yaw+=s}at.autoRotateStopDelay&&(at.autoRotateStopDelay-=i-wt,0>=at.autoRotateStopDelay&&(at.autoRotateStopDelay=false,Dt=at.autoRotate,at.autoRotate=0))}At.pitch&&(A("pitch"),e=at.pitch);At.yaw&&(A("yaw"),n=at.yaw);At.hfov&&(A("hfov"),a=at.hfov);0<r&&!at.autoRotate&&(t=1-at.friction,mt[4]||mt[5]||mt[8]||mt[9]||At.yaw||(at.yaw+=Mt.yaw*r*t),mt[2]||mt[3]||mt[6]||mt[7]||At.pitch||(at.pitch+=Mt.pitch*r*t),mt[0]||mt[1]||At.hfov||Y(at.hfov+Mt.hfov*r*t));wt=i;0<r&&(Mt.yaw=.8*Mt.yaw+(at.yaw-n)/r*.2,Mt.pitch=.8*Mt.pitch+(at.pitch-e)/r*.2,Mt.hfov=.8*Mt.hfov+(at.hfov-a)/r*.2,e=at.autoRotate?Math.abs(at.autoRotate):5,Mt.yaw=Math.min(e,Math.max(Mt.yaw,-e)),Mt.pitch=Math.min(e,Math.max(Mt.pitch,-e)),Mt.hfov=Math.min(e,Math.max(Mt.hfov,-e)));mt[0]&&mt[1]&&(Mt.hfov=0);(mt[2]||mt[6])&&(mt[3]||mt[7])&&(Mt.pitch=0);(mt[4]||mt[8])&&(mt[5]||mt[9])&&(Mt.yaw=0)}}function A(t){var e=At[t],o=Math.min(1,Math.max((Date.now()-e.startTime)/1e3/(e.duration/1e3),0)),o=e.startPosition+at.animationTimingFunction(o)*(e.endPosition-e.startPosition);if(e.endPosition>e.startPosition&&o>=e.endPosition||e.endPosition<e.startPosition&&o<=e.endPosition||e.endPosition===e.startPosition)o=e.endPosition,Mt[t]=0,delete At[t];at[t]=o}function E(){Z("resize")}function O(){zt||(zt=true,P())}function P(){if(!Lt)if(I(),_t&&clearTimeout(_t),st||true===yt)requestAnimationFrame(P);else if(mt[0]||mt[1]||mt[2]||mt[3]||mt[4]||mt[5]||mt[6]||mt[7]||mt[8]||mt[9]||at.autoRotate||At.pitch||At.yaw||At.hfov||.01<Math.abs(Mt.yaw)||.01<Math.abs(Mt.pitch)||.01<Math.abs(Mt.hfov))F(),0<=at.autoRotateInactivityDelay&&Dt&&Date.now()-lt>at.autoRotateInactivityDelay&&!at.autoRotate&&(at.autoRotate=Dt,nt.lookAt(Ft,o,Ct,3e3)),requestAnimationFrame(P);else if(it&&(it.isLoading()||true===at.dynamic&&Pt))requestAnimationFrame(P);else{ot("animatefinished",{pitch:nt.getPitch(),yaw:nt.getYaw(),hfov:nt.getHfov()});zt=false;wt=o;var t=at.autoRotateInactivityDelay-(Date.now()-lt);0<t?_t=setTimeout((function(){at.autoRotate=Dt;nt.lookAt(Ft,o,Ct,3e3);O()}),t):0<=at.autoRotateInactivityDelay&&Dt&&(at.autoRotate=Dt,nt.lookAt(Ft,o,Ct,3e3),O())}}function I(){var t;if(vt){var e=it.getCanvas();false!==at.autoRotate&&(360<at.yaw?at.yaw-=360:-360>at.yaw&&(at.yaw+=360));t=at.yaw;var n=0;if(at.avoidShowingBackground){var a=at.hfov/2,i=180*Math.atan2(Math.tan(a/180*Math.PI),e.width/e.height)/Math.PI;at.vaov>at.haov?Math.min(Math.cos((at.pitch-a)/180*Math.PI),Math.cos((at.pitch+a)/180*Math.PI)):n=a*(1-Math.min(Math.cos((at.pitch-i)/180*Math.PI),Math.cos((at.pitch+i)/180*Math.PI)))}var a=at.maxYaw-at.minYaw,i=-180,r=180;360>a&&(i=at.minYaw+at.hfov/2+n,r=at.maxYaw-at.hfov/2-n,a<at.hfov&&(i=r=(i+r)/2),at.yaw=Math.max(i,Math.min(r,at.yaw)));false===at.autoRotate&&(360<at.yaw?at.yaw-=360:-360>at.yaw&&(at.yaw+=360));false!==at.autoRotate&&t!=at.yaw&&wt!==o&&(at.autoRotate*=-1);t=2*Math.atan(Math.tan(at.hfov/180*Math.PI*.5)/(e.width/e.height))/Math.PI*180;e=at.minPitch+t/2;n=at.maxPitch-t/2;at.maxPitch-at.minPitch<t&&(e=n=(e+n)/2);isNaN(e)&&(e=-90);isNaN(n)&&(n=90);at.pitch=Math.max(e,Math.min(n,at.pitch));it.render(at.pitch*Math.PI/180,at.yaw*Math.PI/180,at.hfov*Math.PI/180,{roll:at.roll*Math.PI/180});at.hotSpots.forEach(j);at.compass&&(Ut.style.transform="rotate("+(-at.yaw-at.northOffset)+"deg)",Ut.style.webkitTransform="rotate("+(-at.yaw-at.northOffset)+"deg)")}}function L(t,e,o,n){this.w=t;this.x=e;this.y=o;this.z=n}function S(e){var o;o=e.alpha;var n=e.beta;e=e.gamma;n=[n?n*Math.PI/180/2:0,e?e*Math.PI/180/2:0,o?o*Math.PI/180/2:0];o=[Math.cos(n[0]),Math.cos(n[1]),Math.cos(n[2])];n=[Math.sin(n[0]),Math.sin(n[1]),Math.sin(n[2])];o=new L(o[0]*o[1]*o[2]-n[0]*n[1]*n[2],n[0]*o[1]*o[2]-o[0]*n[1]*n[2],o[0]*n[1]*o[2]+n[0]*o[1]*n[2],o[0]*o[1]*n[2]+n[0]*n[1]*o[2]);o=o.multiply(new L(Math.sqrt(.5),-Math.sqrt(.5),0,0));n=t.orientation?-t.orientation*Math.PI/180/2:0;o=o.multiply(new L(Math.cos(n),0,-Math.sin(n),0)).toEulerAngles();"number"==typeof yt&&10>yt?yt+=1:10===yt?(kt=o[2]/Math.PI*180+at.yaw,yt=true,requestAnimationFrame(P)):(at.pitch=o[0]/Math.PI*180,at.roll=-o[1]/Math.PI*180,at.yaw=-o[2]/Math.PI*180+kt)}function T(){try{var t={};at.horizonPitch!==o&&(t.horizonPitch=at.horizonPitch*Math.PI/180);at.horizonRoll!==o&&(t.horizonRoll=at.horizonRoll*Math.PI/180);at.backgroundColor!==o&&(t.backgroundColor=at.backgroundColor);it.init(xt,at.type,at.dynamic,at.haov*Math.PI/180,at.vaov*Math.PI/180,at.vOffset*Math.PI/180,W,t);true!==at.dynamic&&(xt=o)}catch(t){if("webgl error"==t.type||"no webgl"==t.type)h();else if("webgl size error"==t.type)h(at.strings.textureSizeError.replace("%s",t.width).replace("%s",t.maxWidth));else throw h(at.strings.unknownError),t}}function W(){if(at.sceneFadeDuration&&it.fadeImg!==o){it.fadeImg.style.opacity=0;var t=it.fadeImg;delete it.fadeImg;setTimeout((function(){Wt.removeChild(t);ot("scenechangefadedone")}),at.sceneFadeDuration)}Ut.style.display=at.compass?"inline":"none";G();Nt.load.box.style.display="none";rt!==o&&(Wt.removeChild(rt),rt=o);vt=true;ot("load");O()}function R(t){t.pitch=Number(t.pitch)||0;t.yaw=Number(t.yaw)||0;var o=e.createElement("div");o.className="pnlm-hotspot-base";o.className=t.cssClass?o.className+(" "+t.cssClass):o.className+(" pnlm-hotspot pnlm-sprite pnlm-"+$(t.type));var n=e.createElement("span");t.text&&(n.innerHTML=$(t.text));var a;if(t.video){a=e.createElement("video");var i=t.video;at.basePath&&!r(i)&&(i=at.basePath+i);a.src=tt(i);a.controls=true;a.style.width=t.width+"px";Wt.appendChild(o);n.appendChild(a)}else if(t.image){i=t.image;at.basePath&&!r(i)&&(i=at.basePath+i);a=e.createElement("a");a.href=tt(t.URL?t.URL:i,true);a.target="_blank";n.appendChild(a);var s=e.createElement("img");s.src=tt(i);s.style.width=t.width+"px";s.style.paddingTop="5px";Wt.appendChild(o);a.appendChild(s);n.style.maxWidth="initial"}else if(t.URL){a=e.createElement("a");a.href=tt(t.URL,true);if(t.attributes)for(i in t.attributes)a.setAttribute(i,t.attributes[i]);else a.target="_blank";Wt.appendChild(a);o.className+=" pnlm-pointer";n.className+=" pnlm-pointer";a.appendChild(o)}else t.sceneId&&(o.onclick=o.ontouchend=function(){o.clicked||(o.clicked=true,J(t.sceneId,t.targetPitch,t.targetYaw,t.targetHfov));return false},o.className+=" pnlm-pointer",n.className+=" pnlm-pointer"),Wt.appendChild(o);if(t.createTooltipFunc)t.createTooltipFunc(o,t.createTooltipArgs);else if(t.text||t.video||t.image)o.classList.add("pnlm-tooltip"),o.appendChild(n),n.style.width=n.scrollWidth-20+"px",n.style.marginLeft=-(n.scrollWidth-o.offsetWidth)/2+"px",n.style.marginTop=-n.scrollHeight-12+"px";t.clickHandlerFunc&&(o.addEventListener("click",(function(e){t.clickHandlerFunc(e,t.clickHandlerArgs)}),"false"),o.className+=" pnlm-pointer",n.className+=" pnlm-pointer");t.div=o}function G(){It||(at.hotSpots?(at.hotSpots=at.hotSpots.sort((function(t,e){return t.pitch<e.pitch})),at.hotSpots.forEach(R)):at.hotSpots=[],It=true,at.hotSpots.forEach(j))}function N(){var t=at.hotSpots;It=false;delete at.hotSpots;if(t)for(var e=0;e<t.length;e++){var o=t[e].div;if(o){for(;o.parentNode&&o.parentNode!=Wt;)o=o.parentNode;Wt.removeChild(o)}delete t[e].div}}function j(t){var e=Math.sin(t.pitch*Math.PI/180),o=Math.cos(t.pitch*Math.PI/180),n=Math.sin(at.pitch*Math.PI/180),a=Math.cos(at.pitch*Math.PI/180),i=Math.cos((-t.yaw+at.yaw)*Math.PI/180),r=e*n+o*i*a;if(90>=t.yaw&&-90<t.yaw&&0>=r||(90<t.yaw||-90>=t.yaw)&&0>=r)t.div.style.visibility="hidden";else{var s=Math.sin((-t.yaw+at.yaw)*Math.PI/180),l=Math.tan(at.hfov*Math.PI/360);t.div.style.visibility="visible";var h=it.getCanvas(),c=h.clientWidth,h=h.clientHeight,e=[-c/l*s*o/r/2,-c/l*(e*a-o*i*n)/r/2],o=Math.sin(at.roll*Math.PI/180),n=Math.cos(at.roll*Math.PI/180),e=[e[0]*n-e[1]*o,e[0]*o+e[1]*n];e[0]+=(c-t.div.offsetWidth)/2;e[1]+=(h-t.div.offsetHeight)/2;c="translate("+e[0]+"px, "+e[1]+"px) translateZ(9999px) rotate("+at.roll+"deg)";t.scale&&(c+=" scale("+Ct/at.hfov/r+")");t.div.style.webkitTransform=c;t.div.style.MozTransform=c;t.div.style.transform=c}}function q(t){at={};var e,o,n="haov vaov vOffset northOffset horizonPitch horizonRoll".split(" ");Ot=[];for(e in St)St.hasOwnProperty(e)&&(at[e]=St[e]);for(e in a.default)if(a.default.hasOwnProperty(e))if("strings"==e)for(o in a.default.strings)a.default.strings.hasOwnProperty(o)&&(at.strings[o]=$(a.default.strings[o]));else at[e]=a.default[e],0<=n.indexOf(e)&&Ot.push(e);if(null!==t&&""!==t&&a.scenes&&a.scenes[t]){var i=a.scenes[t];for(e in i)if(i.hasOwnProperty(e))if("strings"==e)for(o in i.strings)i.strings.hasOwnProperty(o)&&(at.strings[o]=$(i.strings[o]));else at[e]=i[e],0<=n.indexOf(e)&&Ot.push(e);at.scene=t}for(e in a)if(a.hasOwnProperty(e))if("strings"==e)for(o in a.strings)a.strings.hasOwnProperty(o)&&(at.strings[o]=$(a.strings[o]));else at[e]=a[e],0<=n.indexOf(e)&&Ot.push(e)}function B(t){if((t=t?t:false)&&"preview"in at){var n=at.preview;at.basePath&&!r(n)&&(n=at.basePath+n);rt=e.createElement("div");rt.className="pnlm-preview-img";rt.style.backgroundImage="url('"+tt(n).replace(/"/g,"%22").replace(/'/g,"%27")+"')";Wt.appendChild(rt)}var n=at.title,a=at.author;t&&("previewTitle"in at&&(at.title=at.previewTitle),"previewAuthor"in at&&(at.author=at.previewAuthor));at.hasOwnProperty("title")||(Nt.title.innerHTML="");at.hasOwnProperty("author")||(Nt.author.innerHTML="");at.hasOwnProperty("title")||at.hasOwnProperty("author")||(Nt.container.style.display="none");qt.load.innerHTML="<p>"+at.strings.loadButtonLabel+"</p>";Nt.load.boxp.innerHTML=at.strings.loadingLabel;for(var s in at)if(at.hasOwnProperty(s))switch(s){case"title":Nt.title.innerHTML=$(at[s]);Nt.container.style.display="inline";break;case"author":var l=$(at[s]);at.authorURL&&(l=e.createElement("a"),l.href=tt(at.authorURL,true),l.target="_blank",l.innerHTML=$(at[s]),l=l.outerHTML);Nt.author.innerHTML=at.strings.bylineLabel.replace("%s",l);Nt.container.style.display="inline";break;case"fallback":l=e.createElement("a");l.href=tt(at[s],true);l.target="_blank";l.textContent="Click here to view this panorama in an alternative viewer.";var h=e.createElement("p");h.textContent="Your browser does not support WebGL.";h.appendChild(e.createElement("br"));h.appendChild(l);Nt.errorMsg.innerHTML="";Nt.errorMsg.appendChild(h);break;case"hfov":Y(Number(at[s]));break;case"autoLoad":true===at[s]&&it===o&&(Nt.load.box.style.display="inline",qt.load.style.display="none",i());break;case"showZoomCtrl":qt.zoom.style.display=at[s]&&false!=at.showControls?"block":"none";break;case"showFullscreenCtrl":qt.fullscreen.style.display=at[s]&&false!=at.showControls&&("fullscreen"in e||"mozFullScreen"in e||"webkitIsFullScreen"in e||"msFullscreenElement"in e)?"block":"none";break;case"hotSpotDebug":jt.style.display=at[s]?"block":"none";break;case"showControls":at[s]||(qt.orientation.style.display="none",qt.zoom.style.display="none",qt.fullscreen.style.display="none");break;case"orientationOnByDefault":at[s]&&Q()}t&&(n?at.title=n:delete at.title,a?at.author=a:delete at.author)}function U(){if(vt&&!bt)if(dt)e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitCancelFullScreen?e.webkitCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen();else try{n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen?n.msRequestFullscreen():n.webkitRequestFullScreen()}catch(t){}}function Z(t){e.fullscreenElement||e.fullscreen||e.mozFullScreen||e.webkitIsFullScreen||e.msFullscreenElement?(qt.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),dt=true):(qt.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),dt=false);"resize"!==t&&ot("fullscreenchange",dt);it.resize();Y(at.hfov);O()}function H(t){var e=at.minHfov;"multires"==at.type&&it&&!at.multiResMinHfov&&(e=Math.min(e,it.getCanvas().width/(at.multiRes.cubeResolution/90*.9)));if(e>at.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),at.hfov;var o=at.hfov,o=t<e?e:t>at.maxHfov?at.maxHfov:t;at.avoidShowingBackground&&it&&(t=it.getCanvas(),o=Math.min(o,360*Math.atan(Math.tan((at.maxPitch-at.minPitch)/360*Math.PI)/t.height*t.width)/Math.PI));return o}function Y(t){at.hfov=H(t);ot("zoomchange",at.hfov)}function X(){At={};Dt=at.autoRotate?at.autoRotate:Dt;at.autoRotate=false}function V(){bt&&(Nt.load.box.style.display="none",Nt.errorMsg.style.display="none",bt=false,Wt.style.display="block",ot("errorcleared"));vt=false;qt.load.style.display="none";Nt.load.box.style.display="inline";i()}function J(t,e,n,i,r){vt||(r=true);vt=false;At={};var s,l;if(at.sceneFadeDuration&&!r&&(s=it.render(at.pitch*Math.PI/180,at.yaw*Math.PI/180,at.hfov*Math.PI/180,{returnImage:true}),s!==o)){r=new Image;r.className="pnlm-fade-img";r.style.transition="opacity "+at.sceneFadeDuration/1e3+"s";r.style.width="100%";r.style.height="100%";r.onload=function(){J(t,e,n,i,true)};r.src=s;Wt.appendChild(r);it.fadeImg=r;return}r="same"===e?at.pitch:e;s="same"===n?at.yaw:"sameAzimuth"===n?at.yaw+(at.northOffset||0)-(a.scenes[t].northOffset||0):n;l="same"===i?at.hfov:i;N();q(t);Mt.yaw=Mt.pitch=Mt.hfov=0;B();r!==o&&(at.pitch=r);s!==o&&(at.yaw=s);l!==o&&(at.hfov=l);ot("scenechange",t);V()}function K(){t.removeEventListener("deviceorientation",S);qt.orientation.classList.remove("pnlm-orientation-button-active");yt=false}function Q(){"function"===typeof DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then((function(e){"granted"==e&&(yt=1,t.addEventListener("deviceorientation",S),qt.orientation.classList.add("pnlm-orientation-button-active"))})):(yt=1,t.addEventListener("deviceorientation",S),qt.orientation.classList.add("pnlm-orientation-button-active"))}function $(t){return a.escapeHTML?String(t).split(/&/g).join("&").split('"').join(""").split("'").join("'").split("<").join("<").split(">").join(">").split("/").join("/").split("\n").join("<br>"):String(t).split("\n").join("<br>")}function tt(t,e){try{var o=decodeURIComponent(et(t)).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return"about:blank"}return 0===o.indexOf("javascript:")||0===o.indexOf("vbscript:")?(console.log("Script URL removed."),"about:blank"):e&&0===o.indexOf("data:")?(console.log("Data URI removed from link."),"about:blank"):t}function et(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(t,e){e=e.toLowerCase();return"colon"===e?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}function ot(t){if(t in Et)for(var e=Et[t].length;0<e;e--)Et[t][Et[t].length-e].apply(null,[].slice.call(arguments,1))}var nt=this,at,it,rt,st=false,lt=Date.now(),ht=0,ct=0,ut=-1,ft=0,pt=0,mt=Array(10),dt=false,vt,bt=false,gt=false,xt,wt,Mt={yaw:0,pitch:0,hfov:0},zt=false,yt=false,kt=0,_t,Dt=0,Ct,Ft,At={},Et={},Ot=[],Pt=false,It=false,Lt=false,St={hfov:100,minHfov:50,multiResMinHfov:false,maxHfov:120,pitch:0,minPitch:o,maxPitch:o,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:false,autoRotateInactivityDelay:-1,autoRotateStopDelay:o,type:"equirectangular",northOffset:0,showFullscreenCtrl:true,dynamic:false,dynamicUpdate:false,doubleClickZoom:true,keyboardZoom:true,mouseZoom:true,showZoomCtrl:true,autoLoad:false,showControls:true,orientationOnByDefault:false,hotSpotDebug:false,backgroundColor:[0,0,0],avoidShowingBackground:false,animationTimingFunction:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},draggable:true,disableKeyboardCtrl:false,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};n="string"===typeof n?e.getElementById(n):n;n.classList.add("pnlm-container");n.tabIndex=0;var Tt=e.createElement("div");Tt.className="pnlm-ui";n.appendChild(Tt);var Wt=e.createElement("div");Wt.className="pnlm-render-container";n.appendChild(Wt);var Rt=e.createElement("div");Rt.className="pnlm-dragfix";Tt.appendChild(Rt);var Gt=e.createElement("span");Gt.className="pnlm-about-msg";Gt.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 2.5.6';Tt.appendChild(Gt);Rt.addEventListener("contextmenu",c);var Nt={},jt=e.createElement("div");jt.className="pnlm-sprite pnlm-hot-spot-debug-indicator";Tt.appendChild(jt);Nt.container=e.createElement("div");Nt.container.className="pnlm-panorama-info";Nt.title=e.createElement("div");Nt.title.className="pnlm-title-box";Nt.container.appendChild(Nt.title);Nt.author=e.createElement("div");Nt.author.className="pnlm-author-box";Nt.container.appendChild(Nt.author);Tt.appendChild(Nt.container);Nt.load={};Nt.load.box=e.createElement("div");Nt.load.box.className="pnlm-load-box";Nt.load.boxp=e.createElement("p");Nt.load.box.appendChild(Nt.load.boxp);Nt.load.lbox=e.createElement("div");Nt.load.lbox.className="pnlm-lbox";Nt.load.lbox.innerHTML='<div class="pnlm-loading"></div>';Nt.load.box.appendChild(Nt.load.lbox);Nt.load.lbar=e.createElement("div");Nt.load.lbar.className="pnlm-lbar";Nt.load.lbarFill=e.createElement("div");Nt.load.lbarFill.className="pnlm-lbar-fill";Nt.load.lbar.appendChild(Nt.load.lbarFill);Nt.load.box.appendChild(Nt.load.lbar);Nt.load.msg=e.createElement("p");Nt.load.msg.className="pnlm-lmsg";Nt.load.box.appendChild(Nt.load.msg);Tt.appendChild(Nt.load.box);Nt.errorMsg=e.createElement("div");Nt.errorMsg.className="pnlm-error-msg pnlm-info-box";Tt.appendChild(Nt.errorMsg);var qt={};qt.container=e.createElement("div");qt.container.className="pnlm-controls-container";Tt.appendChild(qt.container);qt.load=e.createElement("div");qt.load.className="pnlm-load-button";qt.load.addEventListener("click",(function(){B();V()}));Tt.appendChild(qt.load);qt.zoom=e.createElement("div");qt.zoom.className="pnlm-zoom-controls pnlm-controls";qt.zoomIn=e.createElement("div");qt.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control";qt.zoomIn.addEventListener("click",(function(){vt&&(Y(at.hfov-5),O())}));qt.zoom.appendChild(qt.zoomIn);qt.zoomOut=e.createElement("div");qt.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control";qt.zoomOut.addEventListener("click",(function(){vt&&(Y(at.hfov+5),O())}));qt.zoom.appendChild(qt.zoomOut);qt.container.appendChild(qt.zoom);qt.fullscreen=e.createElement("div");qt.fullscreen.addEventListener("click",U);qt.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control";(e.fullscreenEnabled||e.mozFullScreenEnabled||e.webkitFullscreenEnabled||e.msFullscreenEnabled)&&qt.container.appendChild(qt.fullscreen);qt.orientation=e.createElement("div");qt.orientation.addEventListener("click",(function(t){yt?K():Q()}));qt.orientation.addEventListener("mousedown",(function(t){t.stopPropagation()}));qt.orientation.addEventListener("touchstart",(function(t){t.stopPropagation()}));qt.orientation.addEventListener("pointerdown",(function(t){t.stopPropagation()}));qt.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var Bt=false;t.DeviceOrientationEvent&&"https:"==location.protocol&&0<=navigator.userAgent.toLowerCase().indexOf("mobi")&&(qt.container.appendChild(qt.orientation),Bt=true);var Ut=e.createElement("div");Ut.className="pnlm-compass pnlm-controls pnlm-control";Tt.appendChild(Ut);a.firstScene?q(a.firstScene):a.default&&a.default.firstScene?q(a.default.firstScene):q(null);B(true);var Zt=[],Ht=[];L.prototype.multiply=function(t){return new L(this.w*t.w-this.x*t.x-this.y*t.y-this.z*t.z,this.x*t.w+this.w*t.x+this.y*t.z-this.z*t.y,this.y*t.w+this.w*t.y+this.z*t.x-this.x*t.z,this.z*t.w+this.w*t.z+this.x*t.y-this.y*t.x)};L.prototype.toEulerAngles=function(){var t=Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),e=Math.asin(2*(this.w*this.y-this.z*this.x)),o=Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z));return[t,e,o]};this.isLoaded=function(){return Boolean(vt)};this.getPitch=function(){return at.pitch};this.setPitch=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.pitch))return"function"==typeof n&&n(a),this;(e=e==o?1e3:Number(e))?(At.pitch={startTime:Date.now(),startPosition:at.pitch,endPosition:t,duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):at.pitch=t;O();return this};this.getPitchBounds=function(){return[at.minPitch,at.maxPitch]};this.setPitchBounds=function(t){at.minPitch=Math.max(-90,Math.min(t[0],90));at.maxPitch=Math.max(-90,Math.min(t[1],90));return this};this.getYaw=function(){return(at.yaw+540)%360-180};this.setYaw=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.yaw))return"function"==typeof n&&n(a),this;e=e==o?1e3:Number(e);t=(t+180)%360-180;e?(180<at.yaw-t?t+=360:180<t-at.yaw&&(t-=360),At.yaw={startTime:Date.now(),startPosition:at.yaw,endPosition:t,duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):at.yaw=t;O();return this};this.getYawBounds=function(){return[at.minYaw,at.maxYaw]};this.setYawBounds=function(t){at.minYaw=Math.max(-360,Math.min(t[0],360));at.maxYaw=Math.max(-360,Math.min(t[1],360));return this};this.getHfov=function(){return at.hfov};this.setHfov=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.hfov))return"function"==typeof n&&n(a),this;(e=e==o?1e3:Number(e))?(At.hfov={startTime:Date.now(),startPosition:at.hfov,endPosition:H(t),duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):Y(t);O();return this};this.getHfovBounds=function(){return[at.minHfov,at.maxHfov]};this.setHfovBounds=function(t){at.minHfov=Math.max(0,t[0]);at.maxHfov=Math.max(0,t[1]);return this};this.lookAt=function(t,e,n,a,i,r){a=a==o?1e3:Number(a);t!==o&&1e-6<Math.abs(t-at.pitch)&&(this.setPitch(t,a,i,r),i=o);e!==o&&1e-6<Math.abs(e-at.yaw)&&(this.setYaw(e,a,i,r),i=o);n!==o&&1e-6<Math.abs(n-at.hfov)&&(this.setHfov(n,a,i,r),i=o);"function"==typeof i&&i(r);return this};this.getNorthOffset=function(){return at.northOffset};this.setNorthOffset=function(t){at.northOffset=Math.min(360,Math.max(0,t));O();return this};this.getHorizonRoll=function(){return at.horizonRoll};this.setHorizonRoll=function(t){at.horizonRoll=Math.min(90,Math.max(-90,t));it.setPose(at.horizonPitch*Math.PI/180,at.horizonRoll*Math.PI/180);O();return this};this.getHorizonPitch=function(){return at.horizonPitch};this.setHorizonPitch=function(t){at.horizonPitch=Math.min(90,Math.max(-90,t));it.setPose(at.horizonPitch*Math.PI/180,at.horizonRoll*Math.PI/180);O();return this};this.startAutoRotate=function(t,e){t=t||Dt||1;e=e===o?Ft:e;at.autoRotate=t;nt.lookAt(e,o,Ct,3e3);O();return this};this.stopAutoRotate=function(){Dt=at.autoRotate?at.autoRotate:Dt;at.autoRotate=false;at.autoRotateInactivityDelay=-1;return this};this.stopMovement=function(){X();Mt={yaw:0,pitch:0,hfov:0}};this.getRenderer=function(){return it};this.setUpdate=function(t){Pt=true===t;it===o?s():O();return this};this.mouseEventToCoords=function(t){return m(t)};this.loadScene=function(t,e,o,n){false!==vt&&J(t,e,o,n);return this};this.getScene=function(){return at.scene};this.addScene=function(t,e){a.scenes[t]=e;return this};this.removeScene=function(t){if(at.scene===t||!a.scenes.hasOwnProperty(t))return false;delete a.scenes[t];return true};this.toggleFullscreen=function(){U();return this};this.getConfig=function(){return at};this.getContainer=function(){return n};this.addHotSpot=function(t,e){if(e===o&&at.scene===o)at.hotSpots.push(t);else{var n=e!==o?e:at.scene;if(a.scenes.hasOwnProperty(n))a.scenes[n].hasOwnProperty("hotSpots")||(a.scenes[n].hotSpots=[],n==at.scene&&(at.hotSpots=a.scenes[n].hotSpots)),a.scenes[n].hotSpots.push(t);else throw"Invalid scene ID!"}if(e===o||at.scene==e)R(t),vt&&j(t);return this};this.removeHotSpot=function(t,e){if(e===o||at.scene==e){if(!at.hotSpots)return false;for(var n=0;n<at.hotSpots.length;n++)if(at.hotSpots[n].hasOwnProperty("id")&&at.hotSpots[n].id===t){for(var i=at.hotSpots[n].div;i.parentNode!=Wt;)i=i.parentNode;Wt.removeChild(i);delete at.hotSpots[n].div;at.hotSpots.splice(n,1);return true}}else if(a.scenes.hasOwnProperty(e)){if(!a.scenes[e].hasOwnProperty("hotSpots"))return false;for(n=0;n<a.scenes[e].hotSpots.length;n++)if(a.scenes[e].hotSpots[n].hasOwnProperty("id")&&a.scenes[e].hotSpots[n].id===t)return a.scenes[e].hotSpots.splice(n,1),true}else return false};this.resize=function(){it&&E()};this.isLoaded=function(){return vt};this.isOrientationSupported=function(){return Bt||false};this.stopOrientation=function(){K()};this.startOrientation=function(){Bt&&Q()};this.isOrientationActive=function(){return Boolean(yt)};this.on=function(t,e){Et[t]=Et[t]||[];Et[t].push(e);return this};this.off=function(t,e){if(!t)return Et={},this;if(e){var o=Et[t].indexOf(e);0<=o&&Et[t].splice(o,1);0==Et[t].length&&delete Et[t]}else delete Et[t];return this};this.destroy=function(){Lt=true;clearTimeout(_t);it&&it.destroy();gt&&(e.removeEventListener("mousemove",d,false),e.removeEventListener("mouseup",v,false),n.removeEventListener("mozfullscreenchange",Z,false),n.removeEventListener("webkitfullscreenchange",Z,false),n.removeEventListener("msfullscreenchange",Z,false),n.removeEventListener("fullscreenchange",Z,false),t.removeEventListener("resize",E,false),t.removeEventListener("orientationchange",E,false),n.removeEventListener("keydown",k,false),n.removeEventListener("keyup",D,false),n.removeEventListener("blur",_,false),e.removeEventListener("mouseleave",v,false));n.innerHTML="";n.classList.remove("pnlm-container")}}return{viewer:function(t,e){return new n(t,e)}}}(window,document);const r=()=>`.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,"Nimbus Sans L","Liberation Sans",Arial,sans-serif;background:#f4f4f4 url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2267%22%20height%3D%22100%22%20viewBox%3D%220%200%2067%20100%22%3E%0A%3Cpath%20stroke%3D%22%23ccc%22%20fill%3D%22none%22%20d%3D%22M33.5%2C50%2C0%2C63%2C33.5%2C75%2C67%2C63%2C33.5%2C50m-33.5-50%2C67%2C25m-0.5%2C0%2C0%2C75m-66.5-75%2C67-25m-33.5%2C75%2C0%2C25m0-100%2C0%2C50%22%2F%3E%0A%3C%2Fsvg%3E%0A') repeat;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A') 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A') 12 8,default}.pnlm-sprite{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%22208%22%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22117%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22143%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20cy%3D%22169%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cy%3D%22195%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cx%3D%2213%22%20cy%3D%22195%22%20r%3D%222.5%22%2F%3E%0A%3Cpath%20d%3D%22m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z%22%2F%3E%0A%3Cpath%20d%3D%22m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m17%2038v2h-8v-2z%22%2F%3E%0A%3Cpath%20d%3D%22m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z%22%2F%3E%0A%3Cpath%20d%3D%22m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z%22%2F%3E%0A%3C%2Fsvg%3E%0A')}.pnlm-container:-moz-full-screen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:-webkit-full-screen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:-ms-fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:rgba(0,0,0,0.4);border-radius:3px;cursor:pointer;z-index:2;-webkit-transform:translateZ(9999px);transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:rgba(0,0,0,0.10);border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:rgba(255,255,255,0.5);border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:rgba(0,0,0,0.7);border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;-webkit-transform:translateZ(9999px);transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:rgba(0,0,0,0.7);border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{from{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}@-webkit-keyframes pnlm-mv{from{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:rgba(0,0,0,.7);border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:rgba(0,0,0,.8)}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a,.pnlm-author-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px 0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px 5px 8px;background:rgba(0,0,0,0.7);border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;-moz-transition:opacity .3s ease-in-out;-webkit-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;-ms-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:rgba(255,255,255,0.2)}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:rgba(0,0,0,0.7);color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:'';position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,0.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250%22%20width%3D%2250%22%3E%0A%3Cpath%20d%3D%22m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z%22%2F%3E%0A%3C%2Fsvg%3E%0A');cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;-webkit-transform-origin:0 0;transform-origin:0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-panorama{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}stzh-panorama[hidden],stzh-panorama[stzh-hidden]{display:none}stzh-panorama::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-panorama *,stzh-panorama *::before,stzh-panorama *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}stzh-panorama{}stzh-panorama .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-panorama .stzh-fylingfocus-focused{outline-style:none !important}stzh-panorama .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-panorama__hotspot{width:2.5rem;height:2.5rem}.stzh-panorama stzh-button.stzh-panorama__hotspot-button,.stzh-panorama stzh-button.stzh-panorama__control{--box-shadow:var(--stzh-box-shadow-popover);--border-width:0px}.stzh-panorama stzh-button.stzh-panorama__hotspot-button.is-info{--cursor:default}.stzh-panorama__hotspot-tooltip{white-space:nowrap}.stzh-panorama__sceneselector{bottom:var(--stzh-space-xsmall);left:var(--stzh-space-xsmall);z-index:2;position:absolute;display:flex;gap:var(--stzh-space-xsmall)}@media print{.stzh-panorama__sceneselector{display:none}}@media screen and (min-width: 900px){.stzh-panorama__sceneselector{bottom:var(--stzh-space-large);left:var(--stzh-space-large)}}.stzh-panorama__sceneselector-dropdown{--color:var(--stzh-color-grey80);--hover-color:var(--stzh-color-grey90);--icon-angle-color:var(--stzh-color-grey80);--hover-icon-angle-color:var(--stzh-color-grey80);--border-color:var(--stzh-color-white);--hover-border-color:var(--stzh-color-white);--focus-border-color:var(--stzh-color-white);--focus-background-color:var(--stzh-color-white)}.stzh-panorama__sceneselector-dropdown *{box-sizing:border-box}.stzh-panorama__copyright{background-color:var(--stzh-color-black50op);color:var(--stzh-color-white80op);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall);white-space:nowrap;display:flex;justify-content:center;align-items:center}.stzh-panorama__controls{bottom:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall);z-index:2;pointer-events:none;position:absolute;display:flex;flex-direction:row;gap:var(--stzh-space-xxsmall)}@media print{.stzh-panorama__controls{display:none}}@media screen and (min-width: 900px){.stzh-panorama__controls{bottom:var(--stzh-space-large);right:var(--stzh-space-large)}}.stzh-panorama__control{pointer-events:all}.stzh-panorama__control--show-medium{display:none}@media screen and (min-width: 900px){.stzh-panorama__control--show-medium{display:inline-flex}}`;var s=undefined&&undefined.__rest||function(t,e){var o={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0)o[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a<n.length;a++){if(e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a]))o[n[a]]=t[n[a]]}return o};const l="stzh-panorama__hotspot";const h="stzh-panorama__hotspot-tooltip";const c="stzh-panorama__hotspot-button";const u="is-scene";const f="is-info";const p="is-link";const m="arrow-up";const d="info-help";const v=class{constructor(o){t(this,o);this.stzhLoad=e(this,"stzhLoad");this.stzhChange=e(this,"stzhChange");this.stzhFullscreenChange=e(this,"stzhFullscreenChange");this.stzhSceneChange=e(this,"stzhSceneChange");this.stzhZoomChange=e(this,"stzhZoomChange");this.caption="";this.heading="";this.copyright="";this.sceneFadeDuration=500;this.autoload=true;this.orientationOnByDefault=false;this.showControls=true;this.showHotspots=true;this.isOrientationSupported=false;this.isOrientationActive=false;this.isFullscreen=false;this.actionRunning={};this.controlAnimationTime=500;this.createTooltip=(t,e)=>{const o=document.createElement("stzh-button");o.classList.add(c);if(e.type==="scene"){o.classList.add(u)}else if(e.url&&!e.text){o.classList.add(p);o.setAttribute("href",e.url);o.setAttribute("target","_blank")}else{o.classList.add(f)}o.icon=e.type==="scene"?m:d;o.iconOnly=true;o.rounded=true;o.size="small";o.variant="secondary";if(e.text){const n=document.createElement("stzh-tooltip");n.label=this.localization.hotspotLabel;n.placement="top";n.type="button";n.className=h;if(e.url){const t=document.createElement("div");t.slot="content";const o=document.createElement("p");if(e.text.length>=40){o.style["textWrapMode"]="wrap";o.style["textWrap"]="wrap";o.style.minWidth="200px"}o.style.marginTop="0";o.style.marginBottom="4px";o.textContent=e.text;t.appendChild(o);const a=document.createElement("stzh-link");a.label=this.localization.moreInformation;a.href=e.url;a.target="_blank";a.icon="arrow-right";a.iconPosition="right";a.size="small";t.appendChild(a);n.appendChild(t)}else{const t=document.createElement("div");t.slot="content";const o=document.createElement("p");if(e.text.length>=40){o.style["textWrapMode"]="wrap";o.style["textWrap"]="wrap";o.style.minWidth="200px"}o.style.margin="0";o.textContent=e.text;t.appendChild(o);n.appendChild(t)}n.appendChild(o);t.appendChild(n)}else{t.appendChild(o)}o.addEventListener("keydown",(t=>{t.stopPropagation()}))};this.handleSceneDropdownChange=async t=>{const e=t.target;const o=await e.getValue();this.scene=o};this.handleControlsKeydown=t=>{t.stopPropagation()};this.action=t=>{if(!["startOrientation","fullscreen"].includes(t)){this.stopOrientation()}if(t==="zoomIn"){this.executeAction("zoomIn",this.viewer.getHfov,this.viewer.setHfov,-10)}else if(t==="zoomOut"){this.executeAction("zoomOut",this.viewer.getHfov,this.viewer.setHfov,10)}else if(t==="fullscreen"){this.viewer.toggleFullscreen()}else if(t==="startOrientation"){this.startOrientation()}else if(t==="panUp"){this.executeAction("panUp",this.viewer.getPitch,this.viewer.setPitch,10)}else if(t==="panDown"){this.executeAction("panDown",this.viewer.getPitch,this.viewer.setPitch,-10)}else if(t==="panLeft"){this.executeAction("panLeft",this.viewer.getYaw,this.viewer.setYaw,-10)}else if(t==="panRight"){this.executeAction("panRight",this.viewer.getYaw,this.viewer.setYaw,10)}}}async getViewer(){return this.viewer}scenesWatcher(t){if(!this.localization){return}if(typeof t==="string"){this._scenes=JSON.parse(t)}else if(t){this._scenes=t}else{throw new Error('"scenes" is empty')}const e={};this._scenes.forEach((t=>{const{sceneId:o,imageSrc:n,imageType:a,hotspots:i}=t,r=s(t,["sceneId","imageTitle","imageSrc","imageAuthor","imageType","hotspots"]);e[o]=Object.assign(Object.assign({},r),{type:a,panorama:n,hotSpots:this.showHotspots?i.map((t=>Object.assign(Object.assign({},t),{URL:"",cssClass:l,createTooltipFunc:this.createTooltip,createTooltipArgs:Object.assign(Object.assign({},t),{url:t.url})}))):undefined})}));this._scenesLibrary=e}sceneWatcher(t){this.viewer.loadScene(t)}updateWatcher(){if(this.viewer){this.viewer.destroy();this.viewer=null}}stopOrientation(){if(this.viewer.isOrientationActive()){this.viewer.stopOrientation();var t=new window.Event("touchstart");this.element.querySelector(".pnlm-dragfix").dispatchEvent(t);this.updateOrientationState()}}startOrientation(){if(this.viewer.isOrientationSupported()){this.viewer.startOrientation();this.updateOrientationState()}}updateOrientationState(){this.isOrientationSupported=this.viewer.isOrientationSupported();this.isOrientationActive=this.isOrientationSupported&&this.viewer.isOrientationActive()}executeAction(t,e,o,n){this.actionRunning[t]=typeof this.actionRunning[t]!=="undefined"&&this.actionRunning[t]!==0?this.actionRunning[t]+n:e()+n;o(this.actionRunning[t],this.controlAnimationTime,(()=>{this.actionRunning={[t]:0}}))}initViewer(){this.viewer=window.pannellum.viewer(this.containerElement,{scenes:this._scenesLibrary,default:{firstScene:this.scene,showControls:false,sceneFadeDuration:this.sceneFadeDuration,autoLoad:this.autoload,compass:false,orientationOnByDefault:this.orientationOnByDefault,strings:{loadButtonLabel:this.localization.loadButtonLabel,loadingLabel:this.localization.loadingLabel,bylineLabel:this.localization.bylineLabel,noPanoramaError:this.localization.noPanoramaError,fileAccessError:this.localization.fileAccessError,malformedURLError:this.localization.malformedURLError,iOS8WebGLError:this.localization.iOS8WebGLError,genericWebGLError:this.localization.genericWebGLError,textureSizeError:this.localization.textureSizeError,unknownError:this.localization.unknownError}}});this.viewer.on("load",(()=>{if(this.viewer){this.updateOrientationState();this.scene=this.viewer.getScene();this.stzhLoad.emit({component:"stzh-panorama"})}}));this.viewer.on("touchstart",(()=>{this.updateOrientationState()}));this.viewer.on("fullscreenchange",(t=>{this.isFullscreen=t;this.stzhFullscreenChange.emit({component:"stzh-panorama",value:this.isFullscreen})}));this.viewer.on("scenechange",(t=>{this.containerElement.focus();this.stzhSceneChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("zoomchange",(t=>{this.stzhZoomChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("animatefinished",(t=>{this.stzhChange.emit({component:"stzh-panorama",value:t})}))}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"panorama")}this.scenesWatcher(this.scenes)}async componentDidRender(){if(this.viewer){return}this.initViewer()}disconnectedCallback(){if(this.viewer){this.viewer.destroy();this.viewer=null}}render(){const t={"stzh-panorama":true,"stzh-panorama--is-motion":this.isOrientationActive,"stzh-panorama--is-fullscreen":this.isFullscreen};const e=this._scenes.map((({sceneId:t,imageTitle:e})=>({value:t,text:e})));const i=this._scenes.find((({sceneId:t})=>t===this.scene));return o(a,{key:"943dbc062f2ae8091effe3f76ac2d840dc49e1f4"},o("div",{key:"af464072b534b1ff7a6b0c9ec648c7131aac334d",class:t},o("stzh-figure",{key:"b051a32b17c7564cbd9513de339f7e697c728551",class:"stzh-panorama__figure",heading:this.heading,caption:i.caption||this.caption,copyright:i.copyright||this.copyright},o("stzh-ratio",{key:"1cfc3ff676f2a2264730b2aa0f2b06dff9e1cece"},o("div",{key:"806a2299cdea237cbb5513720e18b532129746c8",ref:t=>this.containerElement=t,class:"stzh-panorama__container",tabindex:"0"},o("div",{key:"ffdae55385a97234c85685c42ee5762b01a7155e",class:"stzh-panorama__sceneselector"},e.length>1&&o("stzh-dropdown",{key:"da5a9ba6dc4367878a16868a46d50d27c8a3ea76",class:"stzh-panorama__sceneselector-dropdown",size:"small",popoverPlacement:"top",label:this.localization.sceneLabel,labelHidden:true,noSearch:true,items:[this.scene],options:e,onStzhChange:this.handleSceneDropdownChange}),(i.imageAuthor||i.copyright||this.copyright)&&o("div",{key:"c8d1bd9997ad88253132c42e32c1eeeb4a06698a",class:"stzh-panorama__copyright"},i.imageAuthor||i.copyright||this.copyright)),o("div",{key:"1f4eed65181cc4c705dec3e06903ebee30615e33",class:"stzh-panorama__controls",onKeyDown:this.handleControlsKeydown},this.showControls&&o(n,{key:"13908438469dc43c68b85936c5b5d141d1e42425"},o("stzh-button",{key:"effac478ab74e2cfc39f2847a73b8244e8949201",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panLeft,variant:"secondary",icon:"arrow-left",size:"small",onClick:()=>this.action("panLeft")}),o("stzh-button",{key:"98b61f3acdaecaf4dc794c46e2243749622596d2",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panRight,variant:"secondary",icon:"arrow-right",size:"small",onClick:()=>this.action("panRight")}),o("stzh-button",{key:"94bebb5cd95f74e122399e8b6b9cfce431b028c4",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panUp,variant:"secondary",icon:"arrow-up",size:"small",onClick:()=>this.action("panUp")}),o("stzh-button",{key:"0645ceefa60aadb82af96e8f8d80a2ada96d61ca",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panDown,variant:"secondary",icon:"arrow-down",size:"small",onClick:()=>this.action("panDown")}),o("stzh-button",{key:"6609a6856528b0f147666a7c0049dbc77acc33d6",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.zoomIn,variant:"secondary",icon:"plus",size:"small",onClick:()=>this.action("zoomIn")}),o("stzh-button",{key:"24fcda93f9c2d3ffbbac3730261f5890da04ed29",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.zoomOut,variant:"secondary",icon:"minus",size:"small",onClick:()=>this.action("zoomOut")})),this.isOrientationSupported&&o("stzh-button",{key:"5b14c43b155e8097b0ba5f4e1d62d2cacd5d1416",class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",iconOnly:true,size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),o("stzh-button",{key:"6e60344e8459d6b56e8cfadfc0a6a57cbcdb3180",class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,icon:this.isFullscreen?"shrink":"expand",iconOnly:true,size:"small",onClick:()=>this.action("fullscreen")})))))))}get element(){return i(this)}static get watchers(){return{scenes:["scenesWatcher","updateWatcher"],scene:["sceneWatcher"],autoload:["updateWatcher"],type:["updateWatcher"],localization:["updateWatcher"],orientationOnByDefault:["updateWatcher"],sceneFadeDuration:["updateWatcher"]}}};v.style=r();export{v as stzh_panorama};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,c as e,h as o,F as n,a,d as i}from"./p-Boyybvcm.js";window.libpannellum=function(t,e,o){function n(n){function c(t,e){return 1==t.level&&1!=e.level?-1:1==e.level&&1!=t.level?1:e.timestamp-t.timestamp}function u(t,e){return t.level!=e.level?t.level-e.level:t.diff-e.diff}function f(t,e,o,n,a,i){this.vertices=t;this.side=e;this.level=o;this.x=n;this.y=a;this.path=i.replace("%s",e).replace("%l",o).replace("%x",n).replace("%y",a)}function p(t,e,o,n,a){var i;var r=e.vertices;i=g(t,r.slice(0,3));var s=g(t,r.slice(3,6)),l=g(t,r.slice(6,9)),r=g(t,r.slice(9,12)),h=i[0]+s[0]+l[0]+r[0];-4==h||4==h?i=false:(h=i[1]+s[1]+l[1]+r[1],i=-4==h||4==h?false:4!=i[2]+s[2]+l[2]+r[2]);if(i){i=e.vertices;s=i[0]+i[3]+i[6]+i[9];l=i[1]+i[4]+i[7]+i[10];r=i[2]+i[5]+i[8]+i[11];h=Math.sqrt(s*s+l*l+r*r);r=Math.asin(r/h);s=Math.atan2(l,s)-n;s+=s>Math.PI?-2*Math.PI:s<-Math.PI?2*Math.PI:0;s=Math.abs(s);e.diff=Math.acos(Math.sin(o)*Math.sin(r)+Math.cos(o)*Math.cos(r)*Math.cos(s));s=false;for(l=0;l<M.nodeCache.length;l++)if(M.nodeCache[l].path==e.path){s=true;M.nodeCache[l].timestamp=M.nodeCacheTimestamp++;M.nodeCache[l].diff=e.diff;M.currentNodes.push(M.nodeCache[l]);break}s||(e.timestamp=M.nodeCacheTimestamp++,M.currentNodes.push(e),M.nodeCache.push(e));if(e.level<M.level){var r=A.cubeResolution*Math.pow(2,e.level-A.maxLevel),s=Math.ceil(r*A.invTileResolution)-1,l=r%A.tileResolution*2,c=2*r%A.tileResolution;0===c&&(c=A.tileResolution);0===l&&(l=2*A.tileResolution);h=.5;if(e.x==s||e.y==s)h=1-A.tileResolution/(A.tileResolution+c);var u=1-h,r=[],m=h,d=h,v=h,b=u,x=u,w=u;if(c<A.tileResolution)if(e.x==s&&e.y!=s){if(x=d=.5,"d"==e.side||"u"==e.side)w=v=.5}else e.x!=s&&e.y==s&&(b=m=.5,"l"==e.side||"r"==e.side)&&(w=v=.5);l<=A.tileResolution&&(e.x==s&&(m=0,b=1,"l"==e.side||"r"==e.side)&&(v=0,w=1),e.y==s&&(d=0,x=1,"d"==e.side||"u"==e.side)&&(v=0,w=1));c=[i[0],i[1],i[2],i[0]*m+i[3]*b,i[1]*h+i[4]*u,i[2]*v+i[5]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[0]*h+i[9]*u,i[1]*d+i[10]*x,i[2]*v+i[11]*w];c=new f(c,e.side,e.level+1,2*e.x,2*e.y,A.fullpath);r.push(c);e.x==s&&l<=A.tileResolution||(c=[i[0]*m+i[3]*b,i[1]*h+i[4]*u,i[2]*v+i[5]*w,i[3],i[4],i[5],i[3]*h+i[6]*u,i[4]*d+i[7]*x,i[5]*v+i[8]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w],c=new f(c,e.side,e.level+1,2*e.x+1,2*e.y,A.fullpath),r.push(c));e.x==s&&l<=A.tileResolution||e.y==s&&l<=A.tileResolution||(c=[i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[3]*h+i[6]*u,i[4]*d+i[7]*x,i[5]*v+i[8]*w,i[6],i[7],i[8],i[9]*m+i[6]*b,i[10]*h+i[7]*u,i[11]*v+i[8]*w],c=new f(c,e.side,e.level+1,2*e.x+1,2*e.y+1,A.fullpath),r.push(c));e.y==s&&l<=A.tileResolution||(c=[i[0]*h+i[9]*u,i[1]*d+i[10]*x,i[2]*v+i[11]*w,i[0]*m+i[6]*b,i[1]*d+i[7]*x,i[2]*v+i[8]*w,i[9]*m+i[6]*b,i[10]*h+i[7]*u,i[11]*v+i[8]*w,i[9],i[10],i[11]],c=new f(c,e.side,e.level+1,2*e.x,2*e.y+1,A.fullpath),r.push(c));for(e=0;e<r.length;e++)p(t,r[e],o,n)}}}function m(){return[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1]}function d(t,e,o){var n=Math.sin(e);e=Math.cos(e);if("x"==o)return[t[0],e*t[1]+n*t[2],e*t[2]-n*t[1],t[3],e*t[4]+n*t[5],e*t[5]-n*t[4],t[6],e*t[7]+n*t[8],e*t[8]-n*t[7]];if("y"==o)return[e*t[0]-n*t[2],t[1],e*t[2]+n*t[0],e*t[3]-n*t[5],t[4],e*t[5]+n*t[3],e*t[6]-n*t[8],t[7],e*t[8]+n*t[6]];if("z"==o)return[e*t[0]+n*t[1],e*t[1]-n*t[0],t[2],e*t[3]+n*t[4],e*t[4]-n*t[3],t[5],e*t[6]+n*t[7],e*t[7]-n*t[6],t[8]]}function v(t){return[t[0],t[4],t[8],t[12],t[1],t[5],t[9],t[13],t[2],t[6],t[10],t[14],t[3],t[7],t[11],t[15]]}function b(t){R(t,t.path+"."+A.extension,(function(e,o){t.texture=e;t.textureLoaded=o?2:1}),T.crossOrigin)}function g(t,e){var o=[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[4]*e[0]+t[5]*e[1]+t[6]*e[2],t[11]+t[8]*e[0]+t[9]*e[1]+t[10]*e[2],1/(t[12]*e[0]+t[13]*e[1]+t[14]*e[2])],n=o[0]*o[3],a=o[1]*o[3],o=o[2]*o[3],i=[0,0,0];-1>n&&(i[0]=-1);1<n&&(i[0]=1);-1>a&&(i[1]=-1);1<a&&(i[1]=1);if(-1>o||1<o)i[2]=1;return i}function x(){console.log("Reducing canvas size due to error 1286!");w.width=Math.round(w.width/2);w.height=Math.round(w.height/2)}var w=e.createElement("canvas");w.style.width=w.style.height="100%";n.appendChild(w);var M,z,y,k,_,D,C,F,A,E,O,P,I,L,S,T;this.init=function(t,c,u,f,p,d,v,b){function g(t){if(R){var e=t*t*4,o=new Uint8ClampedArray(e),n=b.backgroundColor?b.backgroundColor:[0,0,0];n[0]*=255;n[1]*=255;n[2]*=255;for(var a=0;a<e;a++)o[a++]=n[0],o[a++]=n[1],o[a++]=n[2];t=new ImageData(o,t,t);for(W=0;6>W;W++)0==A[W].width&&(A[W]=t)}}c===o&&(c="equirectangular");if("equirectangular"!=c&&"cubemap"!=c&&"multires"!=c)throw console.log("Error: invalid image type specified!"),{type:"config error"};E=c;A=t;O=u;T=b||{};if(M){y&&(z.detachShader(M,y),z.deleteShader(y));k&&(z.detachShader(M,k),z.deleteShader(k));z.bindBuffer(z.ARRAY_BUFFER,null);z.bindBuffer(z.ELEMENT_ARRAY_BUFFER,null);M.texture&&z.deleteTexture(M.texture);if(M.nodeCache)for(t=0;t<M.nodeCache.length;t++)z.deleteTexture(M.nodeCache[t].texture);z.deleteProgram(M);M=o}F=o;var W,R=false,G;if("cubemap"==E)for(W=0;6>W;W++)0<A[W].width?(G===o&&(G=A[W].width),G!=A[W].width&&console.log("Cube faces have inconsistent widths: "+G+" vs. "+A[W].width)):R=true;"cubemap"==E&&0!==(G&G-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(z||(z=w.getContext("experimental-webgl",{alpha:false,depth:false})),z&&1286==z.getError()&&x());if(!z&&("multires"==E&&A.hasOwnProperty("fallbackPath")||"cubemap"==E)&&("WebkitAppearance"in e.documentElement.style||navigator.userAgent.match(/Trident.*rv[ :]*11\./)||-1!==navigator.appVersion.indexOf("MSIE 10"))){D&&n.removeChild(D);D=e.createElement("div");D.className="pnlm-world";f=A.basePath?A.basePath+A.fallbackPath:A.fallbackPath;var N="frblud".split(""),B=0;p=function(){var t=e.createElement("canvas");t.className="pnlm-face pnlm-"+N[this.side]+"face";D.appendChild(t);var o=t.getContext("2d");t.style.width=this.width+4+"px";t.style.height=this.height+4+"px";t.width=this.width+4;t.height=this.height+4;o.drawImage(this,2,2);var n=o.getImageData(0,0,t.width,t.height),a=n.data,i,r;for(i=2;i<t.width-2;i++)for(r=0;4>r;r++)a[4*(i+t.width)+r]=a[4*(i+2*t.width)+r],a[4*(i+t.width*(t.height-2))+r]=a[4*(i+t.width*(t.height-3))+r];for(i=2;i<t.height-2;i++)for(r=0;4>r;r++)a[4*(i*t.width+1)+r]=a[4*(i*t.width+2)+r],a[4*((i+1)*t.width-2)+r]=a[4*((i+1)*t.width-3)+r];for(r=0;4>r;r++)a[4*(t.width+1)+r]=a[4*(2*t.width+2)+r],a[4*(2*t.width-2)+r]=a[4*(3*t.width-3)+r],a[4*(t.width*(t.height-2)+1)+r]=a[4*(t.width*(t.height-3)+2)+r],a[4*(t.width*(t.height-1)-2)+r]=a[4*(t.width*(t.height-2)-3)+r];for(i=1;i<t.width-1;i++)for(r=0;4>r;r++)a[4*i+r]=a[4*(i+t.width)+r],a[4*(i+t.width*(t.height-1))+r]=a[4*(i+t.width*(t.height-2))+r];for(i=1;i<t.height-1;i++)for(r=0;4>r;r++)a[i*t.width*4+r]=a[4*(i*t.width+1)+r],a[4*((i+1)*t.width-1)+r]=a[4*((i+1)*t.width-2)+r];for(r=0;4>r;r++)a[r]=a[4*(t.width+1)+r],a[4*(t.width-1)+r]=a[4*(2*t.width-2)+r],a[t.width*(t.height-1)*4+r]=a[4*(t.width*(t.height-2)+1)+r],a[4*(t.width*t.height-1)+r]=a[4*(t.width*(t.height-1)-2)+r];o.putImageData(n,0,0);j.call(this)};var j=function(){0<this.width?(_===o&&(_=this.width),_!=this.width&&console.log("Fallback faces have inconsistent widths: "+_+" vs. "+this.width)):R=true;B++;6==B&&(_=this.width,n.appendChild(D),v())},R=false;for(W=0;6>W;W++)d=new Image,d.crossOrigin=T.crossOrigin?T.crossOrigin:"anonymous",d.side=W,d.onload=p,d.onerror=j,d.src="multires"==E?f.replace("%s",N[W])+"."+A.extension:A[W].src;g(_)}else{if(!z)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};"cubemap"==E&&g(G);A.fullpath=A.basePath?A.basePath+A.path:A.path;A.invTileResolution=1/A.tileResolution;t=m();C=[];for(W=0;6>W;W++)C[W]=t.slice(12*W,12*W+12),t=m();t=0;if("equirectangular"==E){if(t=z.getParameter(z.MAX_TEXTURE_SIZE),Math.max(A.width/2,A.height)>t)throw console.log("Error: The image is too big; it's "+A.width+"px wide, but this device's maximum supported size is "+2*t+"px."),{type:"webgl size error",width:A.width,maxWidth:2*t}}else if("cubemap"==E&&G>z.getParameter(z.MAX_CUBE_MAP_TEXTURE_SIZE))throw console.log("Error: The image is too big; it's "+G+"px wide, but this device's maximum supported size is "+t+"px."),{type:"webgl size error",width:G,maxWidth:t};b===o||b.horizonPitch===o&&b.horizonRoll===o||(F=[b.horizonPitch==o?0:b.horizonPitch,b.horizonRoll==o?0:b.horizonRoll]);G=z.TEXTURE_2D;z.viewport(0,0,z.drawingBufferWidth,z.drawingBufferHeight);z.getShaderPrecisionFormat&&(c=z.getShaderPrecisionFormat(z.FRAGMENT_SHADER,z.HIGH_FLOAT))&&1>c.precision&&(r=r.replace("highp","mediump"));y=z.createShader(z.VERTEX_SHADER);c=a;"multires"==E&&(c=i);z.shaderSource(y,c);z.compileShader(y);k=z.createShader(z.FRAGMENT_SHADER);c=l;"cubemap"==E?(G=z.TEXTURE_CUBE_MAP,c=s):"multires"==E&&(c=h);z.shaderSource(k,c);z.compileShader(k);M=z.createProgram();z.attachShader(M,y);z.attachShader(M,k);z.linkProgram(M);z.getShaderParameter(y,z.COMPILE_STATUS)||console.log(z.getShaderInfoLog(y));z.getShaderParameter(k,z.COMPILE_STATUS)||console.log(z.getShaderInfoLog(k));z.getProgramParameter(M,z.LINK_STATUS)||console.log(z.getProgramInfoLog(M));z.useProgram(M);M.drawInProgress=false;c=b.backgroundColor?b.backgroundColor:[0,0,0];z.clearColor(c[0],c[1],c[2],1);z.clear(z.COLOR_BUFFER_BIT);M.texCoordLocation=z.getAttribLocation(M,"a_texCoord");z.enableVertexAttribArray(M.texCoordLocation);"multires"!=E?(P||(P=z.createBuffer()),z.bindBuffer(z.ARRAY_BUFFER,P),z.bufferData(z.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),z.STATIC_DRAW),z.vertexAttribPointer(M.texCoordLocation,2,z.FLOAT,false,0,0),M.aspectRatio=z.getUniformLocation(M,"u_aspectRatio"),z.uniform1f(M.aspectRatio,z.drawingBufferWidth/z.drawingBufferHeight),M.psi=z.getUniformLocation(M,"u_psi"),M.theta=z.getUniformLocation(M,"u_theta"),M.f=z.getUniformLocation(M,"u_f"),M.h=z.getUniformLocation(M,"u_h"),M.v=z.getUniformLocation(M,"u_v"),M.vo=z.getUniformLocation(M,"u_vo"),M.rot=z.getUniformLocation(M,"u_rot"),z.uniform1f(M.h,f/(2*Math.PI)),z.uniform1f(M.v,p/Math.PI),z.uniform1f(M.vo,d/Math.PI*2),"equirectangular"==E&&(M.backgroundColor=z.getUniformLocation(M,"u_backgroundColor"),z.uniform4fv(M.backgroundColor,c.concat([1]))),M.texture=z.createTexture(),z.bindTexture(G,M.texture),"cubemap"==E?(z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_X,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[1]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_X,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[3]),z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_Y,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[4]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[5]),z.texImage2D(z.TEXTURE_CUBE_MAP_POSITIVE_Z,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[0]),z.texImage2D(z.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A[2])):A.width<=t?(z.uniform1i(z.getUniformLocation(M,"u_splitImage"),0),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A)):(z.uniform1i(z.getUniformLocation(M,"u_splitImage"),1),f=e.createElement("canvas"),f.width=A.width/2,f.height=A.height,f=f.getContext("2d"),f.drawImage(A,0,0),p=f.getImageData(0,0,A.width/2,A.height),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,p),M.texture2=z.createTexture(),z.activeTexture(z.TEXTURE1),z.bindTexture(G,M.texture2),z.uniform1i(z.getUniformLocation(M,"u_image1"),1),f.drawImage(A,-A.width/2,0),p=f.getImageData(0,0,A.width/2,A.height),z.texImage2D(G,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,p),z.texParameteri(G,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_MIN_FILTER,z.LINEAR),z.texParameteri(G,z.TEXTURE_MAG_FILTER,z.LINEAR),z.activeTexture(z.TEXTURE0)),z.texParameteri(G,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE),z.texParameteri(G,z.TEXTURE_MIN_FILTER,z.LINEAR),z.texParameteri(G,z.TEXTURE_MAG_FILTER,z.LINEAR)):(M.vertPosLocation=z.getAttribLocation(M,"a_vertCoord"),z.enableVertexAttribArray(M.vertPosLocation),I||(I=z.createBuffer()),L||(L=z.createBuffer()),S||(S=z.createBuffer()),z.bindBuffer(z.ARRAY_BUFFER,L),z.bufferData(z.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),z.STATIC_DRAW),z.bindBuffer(z.ELEMENT_ARRAY_BUFFER,S),z.bufferData(z.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),z.STATIC_DRAW),M.perspUniform=z.getUniformLocation(M,"u_perspMatrix"),M.cubeUniform=z.getUniformLocation(M,"u_cubeMatrix"),M.level=-1,M.currentNodes=[],M.nodeCache=[],M.nodeCacheTimestamp=0);f=z.getError();if(0!==f)throw console.log("Error: Something went wrong with WebGL!",f),{type:"webgl error"};v()}};this.destroy=function(){n!==o&&(w!==o&&n.contains(w)&&n.removeChild(w),D!==o&&n.contains(D)&&n.removeChild(D));if(z){var t=z.getExtension("WEBGL_lose_context");t&&t.loseContext()}};this.resize=function(){var e=t.devicePixelRatio||1;w.width=w.clientWidth*e;w.height=w.clientHeight*e;z&&(1286==z.getError()&&x(),z.viewport(0,0,z.drawingBufferWidth,z.drawingBufferHeight),"multires"!=E&&z.uniform1f(M.aspectRatio,w.clientWidth/w.clientHeight))};this.resize();this.setPose=function(t,e){F=[t,e]};this.render=function(t,e,n,a){var i,r=0;a===o&&(a={});a.roll&&(r=a.roll);if(F!==o){i=F[0];var s=F[1],l=t,h=e,m=Math.cos(s)*Math.sin(t)*Math.sin(i)+Math.cos(t)*(Math.cos(i)*Math.cos(e)+Math.sin(s)*Math.sin(i)*Math.sin(e)),g=-Math.sin(t)*Math.sin(s)+Math.cos(t)*Math.cos(s)*Math.sin(e);t=Math.cos(s)*Math.cos(i)*Math.sin(t)+Math.cos(t)*(-Math.cos(e)*Math.sin(i)+Math.cos(i)*Math.sin(s)*Math.sin(e));t=Math.asin(Math.max(Math.min(t,1),-1));e=Math.atan2(g,m);i=[Math.cos(l)*(Math.sin(s)*Math.sin(i)*Math.cos(h)-Math.cos(i)*Math.sin(h)),Math.cos(l)*Math.cos(s)*Math.cos(h),Math.cos(l)*(Math.cos(i)*Math.sin(s)*Math.cos(h)+Math.sin(h)*Math.sin(i))];s=[-Math.cos(t)*Math.sin(e),Math.cos(t)*Math.cos(e)];s=Math.acos(Math.max(Math.min((i[0]*s[0]+i[1]*s[1])/(Math.sqrt(i[0]*i[0]+i[1]*i[1]+i[2]*i[2])*Math.sqrt(s[0]*s[0]+s[1]*s[1])),1),-1));0>i[2]&&(s=2*Math.PI-s);r+=s}if(z||"multires"!=E&&"cubemap"!=E){if("multires"!=E)n=2*Math.atan(Math.tan(.5*n)/(z.drawingBufferWidth/z.drawingBufferHeight)),n=1/Math.tan(.5*n),z.uniform1f(M.psi,e),z.uniform1f(M.theta,t),z.uniform1f(M.rot,r),z.uniform1f(M.f,n),true===O&&"equirectangular"==E&&(z.bindTexture(z.TEXTURE_2D,M.texture),z.texImage2D(z.TEXTURE_2D,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,A)),z.drawArrays(z.TRIANGLES,0,6);else{i=z.drawingBufferWidth/z.drawingBufferHeight;s=2*Math.atan(Math.tan(n/2)*z.drawingBufferHeight/z.drawingBufferWidth);s=1/Math.tan(s/2);i=[s/i,0,0,0,0,s,0,0,0,0,100.1/-99.9,20/-99.9,0,0,-1,0];for(s=1;s<A.maxLevel&&z.drawingBufferWidth>A.tileResolution*Math.pow(2,s-1)*Math.tan(n/2)*.707;)s++;M.level=s;s=[1,0,0,0,1,0,0,0,1];s=d(s,-r,"z");s=d(s,-t,"x");s=d(s,e,"y");s=[s[0],s[1],s[2],0,s[3],s[4],s[5],0,s[6],s[7],s[8],0,0,0,0,1];z.uniformMatrix4fv(M.perspUniform,false,new Float32Array(v(i)));z.uniformMatrix4fv(M.cubeUniform,false,new Float32Array(v(s)));r=[i[0]*s[0],i[0]*s[1],i[0]*s[2],0,i[5]*s[4],i[5]*s[5],i[5]*s[6],0,i[10]*s[8],i[10]*s[9],i[10]*s[10],i[11],-s[8],-s[9],-s[10],0];M.nodeCache.sort(c);if(200<M.nodeCache.length&&M.nodeCache.length>M.currentNodes.length+50)for(i=M.nodeCache.splice(200,M.nodeCache.length-200),s=0;s<i.length;s++)z.deleteTexture(i[s].texture);M.currentNodes=[];s="fbudlr".split("");for(i=0;6>i;i++)l=new f(C[i],s[i],1,0,0,A.fullpath),p(r,l,t,e);M.currentNodes.sort(u);for(t=W.length-1;0<=t;t--)-1===M.currentNodes.indexOf(W[t].node)&&(W[t].node.textureLoad=false,W.splice(t,1));if(0===W.length)for(t=0;t<M.currentNodes.length;t++)if(e=M.currentNodes[t],!e.texture&&!e.textureLoad){e.textureLoad=true;setTimeout(b,0,e);break}if(!M.drawInProgress){M.drawInProgress=true;z.clear(z.COLOR_BUFFER_BIT);for(t=0;t<M.currentNodes.length;t++)1<M.currentNodes[t].textureLoaded&&(z.bindBuffer(z.ARRAY_BUFFER,I),z.bufferData(z.ARRAY_BUFFER,new Float32Array(M.currentNodes[t].vertices),z.STATIC_DRAW),z.vertexAttribPointer(M.vertPosLocation,3,z.FLOAT,false,0,0),z.bindBuffer(z.ARRAY_BUFFER,L),z.vertexAttribPointer(M.texCoordLocation,2,z.FLOAT,false,0,0),z.bindTexture(z.TEXTURE_2D,M.currentNodes[t].texture),z.drawElements(z.TRIANGLES,6,z.UNSIGNED_SHORT,0));M.drawInProgress=false}}if(a.returnImage!==o)return w.toDataURL("image/png")}else for(i=_/2,a={f:"translate3d(-"+(i+2)+"px, -"+(i+2)+"px, -"+i+"px)",b:"translate3d("+(i+2)+"px, -"+(i+2)+"px, "+i+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(i+2)+"px, -"+i+"px, "+(i+2)+"px) rotateX(270deg)",d:"translate3d(-"+(i+2)+"px, "+i+"px, -"+(i+2)+"px) rotateX(90deg)",l:"translate3d(-"+i+"px, -"+(i+2)+"px, "+(i+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+i+"px, -"+(i+2)+"px, -"+(i+2)+"px) rotateY(270deg)"},n=1/Math.tan(n/2),n=n*w.clientWidth/2+"px",e="perspective("+n+") translateZ("+n+") rotateX("+t+"rad) rotateY("+e+"rad) ",n=Object.keys(a),t=0;6>t;t++)if(r=D.querySelector(".pnlm-"+n[t]+"face"))r.style.webkitTransform=e+a[n[t]],r.style.transform=e+a[n[t]]};this.isLoading=function(){if(z&&"multires"==E)for(var t=0;t<M.currentNodes.length;t++)if(!M.currentNodes[t].textureLoaded)return true;return false};this.getCanvas=function(){return w};var W=[],R=function(){function t(){var t=this;this.texture=this.callback=null;this.image=new Image;this.image.crossOrigin=a?a:"anonymous";var e=function(){if(0<t.image.width&&0<t.image.height){var e=t.image;z.bindTexture(z.TEXTURE_2D,t.texture);z.texImage2D(z.TEXTURE_2D,0,z.RGB,z.RGB,z.UNSIGNED_BYTE,e);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_MAG_FILTER,z.LINEAR);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_MIN_FILTER,z.LINEAR);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_S,z.CLAMP_TO_EDGE);z.texParameteri(z.TEXTURE_2D,z.TEXTURE_WRAP_T,z.CLAMP_TO_EDGE);z.bindTexture(z.TEXTURE_2D,null);t.callback(t.texture,true)}else t.callback(t.texture,false);W.length?(e=W.shift(),t.loadTexture(e.src,e.texture,e.callback)):n[o++]=t};this.image.addEventListener("load",e);this.image.addEventListener("error",e)}function e(t,e,o,n){this.node=t;this.src=e;this.texture=o;this.callback=n}var o=4,n={},a;t.prototype.loadTexture=function(t,e,o){this.texture=e;this.callback=o;this.image.src=t};for(var i=0;i<o;i++)n[i]=new t;return function(t,i,r,s){a=s;s=z.createTexture();o?n[--o].loadTexture(i,s,r):W.push(new e(t,i,s,r));return s}}()}var a="attribute vec2 a_texCoord;varying vec2 v_texCoord;void main() {gl_Position = vec4(a_texCoord, 0.0, 1.0);v_texCoord = a_texCoord;}",i="attribute vec3 a_vertCoord;attribute vec2 a_texCoord;uniform mat4 u_cubeMatrix;uniform mat4 u_perspMatrix;varying mediump vec2 v_texCoord;void main(void) {gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);v_texCoord = a_texCoord;}",r="precision highp float;\nuniform float u_aspectRatio;\nuniform float u_psi;\nuniform float u_theta;\nuniform float u_f;\nuniform float u_h;\nuniform float u_v;\nuniform float u_vo;\nuniform float u_rot;\nconst float PI = 3.14159265358979323846264;\nuniform sampler2D u_image0;\nuniform sampler2D u_image1;\nuniform bool u_splitImage;\nuniform samplerCube u_imageCube;\nvarying vec2 v_texCoord;\nuniform vec4 u_backgroundColor;\nvoid main() {\nfloat x = v_texCoord.x * u_aspectRatio;\nfloat y = v_texCoord.y;\nfloat sinrot = sin(u_rot);\nfloat cosrot = cos(u_rot);\nfloat rot_x = x * cosrot - y * sinrot;\nfloat rot_y = x * sinrot + y * cosrot;\nfloat sintheta = sin(u_theta);\nfloat costheta = cos(u_theta);\nfloat a = u_f * costheta - rot_y * sintheta;\nfloat root = sqrt(rot_x * rot_x + a * a);\nfloat lambda = atan(rot_x / root, a / root) + u_psi;\nfloat phi = atan((rot_y * costheta + u_f * sintheta) / root);",s=r+"float cosphi = cos(phi);\ngl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));\n}",l=r+"lambda = mod(lambda + PI, PI * 2.0) - PI;\nvec2 coord = vec2(lambda / PI, phi / (PI / 2.0));\nif(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)\ngl_FragColor = u_backgroundColor;\nelse {\nif(u_splitImage) {\nif(coord.x < 0.0)\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / u_h, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\nelse\ngl_FragColor = texture2D(u_image1, vec2((coord.x + u_h) / u_h - 1.0, (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n} else {\ngl_FragColor = texture2D(u_image0, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));\n}\n}\n}",h="varying mediump vec2 v_texCoord;uniform sampler2D u_sampler;void main(void) {gl_FragColor = texture2D(u_sampler, v_texCoord);}";return{renderer:function(t,e,o,a){return new n(t)}}}(window,document);window.pannellum=function(t,e,o){function n(n,a){function i(){var n=e.createElement("div");n.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e";if(1==n.getElementsByTagName("i").length)h();else{Ct=at.hfov;Ft=at.pitch;var a;if("cubemap"==at.type){xt=[];for(n=0;6>n;n++)xt.push(new Image),xt[n].crossOrigin=at.crossOrigin;Nt.load.lbox.style.display="block";Nt.load.lbar.style.display="none"}else if("multires"==at.type)n=JSON.parse(JSON.stringify(at.multiRes)),at.basePath&&at.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(at.multiRes.basePath)?n.basePath=at.basePath+at.multiRes.basePath:at.multiRes.basePath?n.basePath=at.multiRes.basePath:at.basePath&&(n.basePath=at.basePath),xt=n;else if(true===at.dynamic)xt=at.panorama;else{if(at.panorama===o){h(at.strings.noPanoramaError);return}xt=new Image}if("cubemap"==at.type)for(var i=6,c=function(){i--;0===i&&s()},u=function(t){var o=e.createElement("a");o.href=t.target.src;o.textContent=o.href;h(at.strings.fileAccessError.replace("%s",o.outerHTML))},n=0;n<xt.length;n++)a=at.cubeMap[n],"null"==a?(console.log("Will use background instead of missing cubemap face "+n),c()):(at.basePath&&!r(a)&&(a=at.basePath+a),xt[n].onload=c,xt[n].onerror=u,xt[n].src=tt(a));else if("multires"==at.type)s();else if(a="",at.basePath&&(a=at.basePath),true!==at.dynamic){a=r(at.panorama)?at.panorama:a+at.panorama;xt.onload=function(){t.URL.revokeObjectURL(this.src);s()};var f=new XMLHttpRequest;f.onloadend=function(){if(200!=f.status){var t=e.createElement("a");t.href=a;t.textContent=t.href;h(at.strings.fileAccessError.replace("%s",t.outerHTML))}l(this.response);Nt.load.msg.innerHTML=""};f.onprogress=function(t){if(t.lengthComputable){Nt.load.lbarFill.style.width=t.loaded/t.total*100+"%";var e,o;1e6<t.total?(e="MB",o=(t.loaded/1e6).toFixed(2),t=(t.total/1e6).toFixed(2)):1e3<t.total?(e="kB",o=(t.loaded/1e3).toFixed(1),t=(t.total/1e3).toFixed(1)):(e="B",o=t.loaded,t=t.total);Nt.load.msg.innerHTML=o+" / "+t+" "+e}else Nt.load.lbox.style.display="block",Nt.load.lbar.style.display="none"};try{f.open("GET",a,true)}catch(t){h(at.strings.malformedURLError)}f.responseType="blob";f.setRequestHeader("Accept","image/*,*/*;q=0.9");f.withCredentials="use-credentials"===at.crossOrigin;f.send()}at.draggable&&Tt.classList.add("pnlm-grab");Tt.classList.remove("pnlm-grabbing");Pt=true===at.dynamicUpdate;at.dynamic&&Pt&&(xt=at.panorama,s())}}function r(t){return/^(?:[a-z]+:)?\/\//i.test(t)||"/"==t[0]||"blob:"==t.slice(0,5)}function s(){it||(it=new libpannellum.renderer(Wt));gt||(gt=true,Rt.addEventListener("mousedown",f,false),e.addEventListener("mousemove",d,false),e.addEventListener("mouseup",v,false),at.mouseZoom&&(Tt.addEventListener("mousewheel",y,false),Tt.addEventListener("DOMMouseScroll",y,false)),at.doubleClickZoom&&Rt.addEventListener("dblclick",p,false),n.addEventListener("mozfullscreenchange",Z,false),n.addEventListener("webkitfullscreenchange",Z,false),n.addEventListener("msfullscreenchange",Z,false),n.addEventListener("fullscreenchange",Z,false),t.addEventListener("resize",E,false),t.addEventListener("orientationchange",E,false),at.disableKeyboardCtrl||(n.addEventListener("keydown",k,false),n.addEventListener("keyup",D,false),n.addEventListener("blur",_,false)),e.addEventListener("mouseleave",v,false),""===e.documentElement.style.pointerAction&&""===e.documentElement.style.touchAction?(Rt.addEventListener("pointerdown",w,false),Rt.addEventListener("pointermove",M,false),Rt.addEventListener("pointerup",z,false),Rt.addEventListener("pointerleave",z,false)):(Rt.addEventListener("touchstart",b,false),Rt.addEventListener("touchmove",g,false),Rt.addEventListener("touchend",x,false)),t.navigator.pointerEnabled&&(n.style.touchAction="none"));T();Y(at.hfov);setTimeout((function(){}),500)}function l(e){var n=new FileReader;n.addEventListener("loadend",(function(){var a=n.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var i=a.indexOf("ÿÂ");(0>i||65536<i)&&h(at.strings.iOS8WebGLError)}i=a.indexOf("<x:xmpmeta");if(-1<i&&true!==at.ignoreGPanoXMP){var r=a.substring(i,a.indexOf("</x:xmpmeta>")+12),s=function(t){var e;0<=r.indexOf(t+'="')?(e=r.substring(r.indexOf(t+'="')+t.length+2),e=e.substring(0,e.indexOf('"'))):0<=r.indexOf(t+">")&&(e=r.substring(r.indexOf(t+">")+t.length+1),e=e.substring(0,e.indexOf("<")));return e!==o?Number(e):null},a=s("GPano:FullPanoWidthPixels"),i=s("GPano:CroppedAreaImageWidthPixels"),l=s("GPano:FullPanoHeightPixels"),c=s("GPano:CroppedAreaImageHeightPixels"),u=s("GPano:CroppedAreaTopPixels"),f=s("GPano:PoseHeadingDegrees"),p=s("GPano:PosePitchDegrees"),s=s("GPano:PoseRollDegrees");null!==a&&null!==i&&null!==l&&null!==c&&null!==u&&(0>Ot.indexOf("haov")&&(at.haov=i/a*360),0>Ot.indexOf("vaov")&&(at.vaov=c/l*180),0>Ot.indexOf("vOffset")&&(at.vOffset=-180*((u+c/2)/l-.5)),null!==f&&0>Ot.indexOf("northOffset")&&(at.northOffset=f,false!==at.compass&&(at.compass=true)),null!==p&&null!==s&&(0>Ot.indexOf("horizonPitch")&&(at.horizonPitch=p),0>Ot.indexOf("horizonRoll")&&(at.horizonRoll=s)))}xt.src=t.URL.createObjectURL(e)}));n.readAsBinaryString!==o?n.readAsBinaryString(e):n.readAsText(e)}function h(t){t===o&&(t=at.strings.genericWebGLError);Nt.errorMsg.innerHTML="<p>"+t+"</p>";jt.load.style.display="none";Nt.load.box.style.display="none";Nt.errorMsg.style.display="table";bt=true;vt=o;Wt.style.display="none";ot("error",t)}function c(t){var e=u(t);Gt.style.left=e.x+"px";Gt.style.top=e.y+"px";clearTimeout(c.t1);clearTimeout(c.t2);Gt.style.display="block";Gt.style.opacity=1;c.t1=setTimeout((function(){Gt.style.opacity=0}),2e3);c.t2=setTimeout((function(){Gt.style.display="none"}),2500);t.preventDefault()}function u(t){var e=n.getBoundingClientRect(),o={};o.x=(t.clientX||t.pageX)-e.left;o.y=(t.clientY||t.pageY)-e.top;return o}function f(t){t.preventDefault();n.focus();if(vt&&at.draggable){var e=u(t);if(at.hotSpotDebug){var o=m(t);console.log("Pitch: "+o[0]+", Yaw: "+o[1]+", Center Pitch: "+at.pitch+", Center Yaw: "+at.yaw+", HFOV: "+at.hfov)}X();K();at.roll=0;Mt.hfov=0;st=true;lt=Date.now();ht=e.x;ct=e.y;ft=at.yaw;pt=at.pitch;Tt.classList.add("pnlm-grabbing");Tt.classList.remove("pnlm-grab");ot("mousedown",t);O()}}function p(t){at.minHfov===at.hfov?nt.setHfov(Ct,1e3):(t=m(t),nt.lookAt(t[0],t[1],at.minHfov,1e3))}function m(t){var e=u(t);t=it.getCanvas();var o=t.clientWidth,n=t.clientHeight;t=e.x/o*2-1;var n=(1-e.y/n*2)*n/o,a=1/Math.tan(at.hfov*Math.PI/360),i=Math.sin(at.pitch*Math.PI/180),r=Math.cos(at.pitch*Math.PI/180),e=a*r-n*i,o=Math.sqrt(t*t+e*e),n=180*Math.atan((n*r+a*i)/o)/Math.PI;t=180*Math.atan2(t/o,e/o)/Math.PI+at.yaw;-180>t&&(t+=360);180<t&&(t-=360);return[n,t]}function d(t){if(st&&vt){lt=Date.now();var e=it.getCanvas(),o=e.clientWidth,e=e.clientHeight;t=u(t);var n=180*(Math.atan(ht/o*2-1)-Math.atan(t.x/o*2-1))/Math.PI*at.hfov/90+ft;Mt.yaw=(n-at.yaw)%360*.2;at.yaw=n;o=360*Math.atan(Math.tan(at.hfov/360*Math.PI)*e/o)/Math.PI;o=180*(Math.atan(t.y/e*2-1)-Math.atan(ct/e*2-1))/Math.PI*o/90+pt;Mt.pitch=.2*(o-at.pitch);at.pitch=o}}function v(t){st&&(st=false,15<Date.now()-lt&&(Mt.pitch=Mt.yaw=0),Tt.classList.add("pnlm-grab"),Tt.classList.remove("pnlm-grabbing"),lt=Date.now(),ot("mouseup",t))}function b(t){if(vt&&at.draggable){X();K();at.roll=0;Mt.hfov=0;var e=u(t.targetTouches[0]);ht=e.x;ct=e.y;if(2==t.targetTouches.length){var o=u(t.targetTouches[1]);ht+=.5*(o.x-e.x);ct+=.5*(o.y-e.y);ut=Math.sqrt((e.x-o.x)*(e.x-o.x)+(e.y-o.y)*(e.y-o.y))}st=true;lt=Date.now();ft=at.yaw;pt=at.pitch;ot("touchstart",t);O()}}function g(t){if(at.draggable&&(t.preventDefault(),vt&&(lt=Date.now()),st&&vt)){var e=u(t.targetTouches[0]),o=e.x,n=e.y;2==t.targetTouches.length&&-1!=ut&&(t=u(t.targetTouches[1]),o+=.5*(t.x-e.x),n+=.5*(t.y-e.y),e=Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y)),Y(at.hfov+.1*(ut-e)),ut=e);e=at.hfov/360*at.touchPanSpeedCoeffFactor;o=(ht-o)*e+ft;Mt.yaw=(o-at.yaw)%360*.2;at.yaw=o;n=(n-ct)*e+pt;Mt.pitch=.2*(n-at.pitch);at.pitch=n}}function x(){st=false;150<Date.now()-lt&&(Mt.pitch=Mt.yaw=0);ut=-1;lt=Date.now();ot("touchend",event)}function w(t){"touch"==t.pointerType&&vt&&at.draggable&&(Zt.push(t.pointerId),Ht.push({clientX:t.clientX,clientY:t.clientY}),t.targetTouches=Ht,b(t),t.preventDefault())}function M(t){if("touch"==t.pointerType&&at.draggable)for(var e=0;e<Zt.length;e++)if(t.pointerId==Zt[e]){Ht[e].clientX=t.clientX;Ht[e].clientY=t.clientY;t.targetTouches=Ht;g(t);t.preventDefault();break}}function z(t){if("touch"==t.pointerType){for(var e=false,n=0;n<Zt.length;n++)t.pointerId==Zt[n]&&(Zt[n]=o),Zt[n]&&(e=true);e||(Zt=[],Ht=[],x());t.preventDefault()}}function y(t){vt&&("fullscreenonly"!=at.mouseZoom||dt)&&(t.preventDefault(),X(),lt=Date.now(),t.wheelDeltaY?(Y(at.hfov-.05*t.wheelDeltaY),Mt.hfov=0>t.wheelDelta?1:-1):t.wheelDelta?(Y(at.hfov-.05*t.wheelDelta),Mt.hfov=0>t.wheelDelta?1:-1):t.detail&&(Y(at.hfov+1.5*t.detail),Mt.hfov=0<t.detail?1:-1),O())}function k(t){X();lt=Date.now();K();at.roll=0;var e=t.which||t.keycode;0>at.capturedKeyNumbers.indexOf(e)||(t.preventDefault(),27==e?dt&&U():C(e,true))}function _(){for(var t=0;10>t;t++)mt[t]=false}function D(t){var e=t.which||t.keycode;0>at.capturedKeyNumbers.indexOf(e)||(t.preventDefault(),C(e,false))}function C(t,e){var o=false;switch(t){case 109:case 189:case 17:case 173:mt[0]!=e&&(o=true);mt[0]=e;break;case 107:case 187:case 16:case 61:mt[1]!=e&&(o=true);mt[1]=e;break;case 38:mt[2]!=e&&(o=true);mt[2]=e;break;case 87:mt[6]!=e&&(o=true);mt[6]=e;break;case 40:mt[3]!=e&&(o=true);mt[3]=e;break;case 83:mt[7]!=e&&(o=true);mt[7]=e;break;case 37:mt[4]!=e&&(o=true);mt[4]=e;break;case 65:mt[8]!=e&&(o=true);mt[8]=e;break;case 39:mt[5]!=e&&(o=true);mt[5]=e;break;case 68:mt[9]!=e&&(o=true),mt[9]=e}o&&e&&(wt="undefined"!==typeof performance&&performance.now()?performance.now():Date.now(),O())}function F(){if(vt){var t=false,e=at.pitch,n=at.yaw,a=at.hfov,i;i="undefined"!==typeof performance&&performance.now()?performance.now():Date.now();wt===o&&(wt=i);var r=(i-wt)*at.hfov/1700,r=Math.min(r,1);mt[0]&&true===at.keyboardZoom&&(Y(at.hfov+(.8*Mt.hfov+.5)*r),t=true);mt[1]&&true===at.keyboardZoom&&(Y(at.hfov+(.8*Mt.hfov-.2)*r),t=true);if(mt[2]||mt[6])at.pitch+=(.8*Mt.pitch+.2)*r,t=true;if(mt[3]||mt[7])at.pitch+=(.8*Mt.pitch-.2)*r,t=true;if(mt[4]||mt[8])at.yaw+=(.8*Mt.yaw-.2)*r,t=true;if(mt[5]||mt[9])at.yaw+=(.8*Mt.yaw+.2)*r,t=true;t&&(lt=Date.now());if(at.autoRotate){if(.001<i-wt){var t=(i-wt)/1e3,s=(Mt.yaw/t*r-.2*at.autoRotate)*t,s=(0<-at.autoRotate?1:-1)*Math.min(Math.abs(at.autoRotate*t),Math.abs(s));at.yaw+=s}at.autoRotateStopDelay&&(at.autoRotateStopDelay-=i-wt,0>=at.autoRotateStopDelay&&(at.autoRotateStopDelay=false,Dt=at.autoRotate,at.autoRotate=0))}At.pitch&&(A("pitch"),e=at.pitch);At.yaw&&(A("yaw"),n=at.yaw);At.hfov&&(A("hfov"),a=at.hfov);0<r&&!at.autoRotate&&(t=1-at.friction,mt[4]||mt[5]||mt[8]||mt[9]||At.yaw||(at.yaw+=Mt.yaw*r*t),mt[2]||mt[3]||mt[6]||mt[7]||At.pitch||(at.pitch+=Mt.pitch*r*t),mt[0]||mt[1]||At.hfov||Y(at.hfov+Mt.hfov*r*t));wt=i;0<r&&(Mt.yaw=.8*Mt.yaw+(at.yaw-n)/r*.2,Mt.pitch=.8*Mt.pitch+(at.pitch-e)/r*.2,Mt.hfov=.8*Mt.hfov+(at.hfov-a)/r*.2,e=at.autoRotate?Math.abs(at.autoRotate):5,Mt.yaw=Math.min(e,Math.max(Mt.yaw,-e)),Mt.pitch=Math.min(e,Math.max(Mt.pitch,-e)),Mt.hfov=Math.min(e,Math.max(Mt.hfov,-e)));mt[0]&&mt[1]&&(Mt.hfov=0);(mt[2]||mt[6])&&(mt[3]||mt[7])&&(Mt.pitch=0);(mt[4]||mt[8])&&(mt[5]||mt[9])&&(Mt.yaw=0)}}function A(t){var e=At[t],o=Math.min(1,Math.max((Date.now()-e.startTime)/1e3/(e.duration/1e3),0)),o=e.startPosition+at.animationTimingFunction(o)*(e.endPosition-e.startPosition);if(e.endPosition>e.startPosition&&o>=e.endPosition||e.endPosition<e.startPosition&&o<=e.endPosition||e.endPosition===e.startPosition)o=e.endPosition,Mt[t]=0,delete At[t];at[t]=o}function E(){Z("resize")}function O(){zt||(zt=true,P())}function P(){if(!Lt)if(I(),_t&&clearTimeout(_t),st||true===yt)requestAnimationFrame(P);else if(mt[0]||mt[1]||mt[2]||mt[3]||mt[4]||mt[5]||mt[6]||mt[7]||mt[8]||mt[9]||at.autoRotate||At.pitch||At.yaw||At.hfov||.01<Math.abs(Mt.yaw)||.01<Math.abs(Mt.pitch)||.01<Math.abs(Mt.hfov))F(),0<=at.autoRotateInactivityDelay&&Dt&&Date.now()-lt>at.autoRotateInactivityDelay&&!at.autoRotate&&(at.autoRotate=Dt,nt.lookAt(Ft,o,Ct,3e3)),requestAnimationFrame(P);else if(it&&(it.isLoading()||true===at.dynamic&&Pt))requestAnimationFrame(P);else{ot("animatefinished",{pitch:nt.getPitch(),yaw:nt.getYaw(),hfov:nt.getHfov()});zt=false;wt=o;var t=at.autoRotateInactivityDelay-(Date.now()-lt);0<t?_t=setTimeout((function(){at.autoRotate=Dt;nt.lookAt(Ft,o,Ct,3e3);O()}),t):0<=at.autoRotateInactivityDelay&&Dt&&(at.autoRotate=Dt,nt.lookAt(Ft,o,Ct,3e3),O())}}function I(){var t;if(vt){var e=it.getCanvas();false!==at.autoRotate&&(360<at.yaw?at.yaw-=360:-360>at.yaw&&(at.yaw+=360));t=at.yaw;var n=0;if(at.avoidShowingBackground){var a=at.hfov/2,i=180*Math.atan2(Math.tan(a/180*Math.PI),e.width/e.height)/Math.PI;at.vaov>at.haov?Math.min(Math.cos((at.pitch-a)/180*Math.PI),Math.cos((at.pitch+a)/180*Math.PI)):n=a*(1-Math.min(Math.cos((at.pitch-i)/180*Math.PI),Math.cos((at.pitch+i)/180*Math.PI)))}var a=at.maxYaw-at.minYaw,i=-180,r=180;360>a&&(i=at.minYaw+at.hfov/2+n,r=at.maxYaw-at.hfov/2-n,a<at.hfov&&(i=r=(i+r)/2),at.yaw=Math.max(i,Math.min(r,at.yaw)));false===at.autoRotate&&(360<at.yaw?at.yaw-=360:-360>at.yaw&&(at.yaw+=360));false!==at.autoRotate&&t!=at.yaw&&wt!==o&&(at.autoRotate*=-1);t=2*Math.atan(Math.tan(at.hfov/180*Math.PI*.5)/(e.width/e.height))/Math.PI*180;e=at.minPitch+t/2;n=at.maxPitch-t/2;at.maxPitch-at.minPitch<t&&(e=n=(e+n)/2);isNaN(e)&&(e=-90);isNaN(n)&&(n=90);at.pitch=Math.max(e,Math.min(n,at.pitch));it.render(at.pitch*Math.PI/180,at.yaw*Math.PI/180,at.hfov*Math.PI/180,{roll:at.roll*Math.PI/180});at.hotSpots.forEach(B);at.compass&&(Ut.style.transform="rotate("+(-at.yaw-at.northOffset)+"deg)",Ut.style.webkitTransform="rotate("+(-at.yaw-at.northOffset)+"deg)")}}function L(t,e,o,n){this.w=t;this.x=e;this.y=o;this.z=n}function S(e){var o;o=e.alpha;var n=e.beta;e=e.gamma;n=[n?n*Math.PI/180/2:0,e?e*Math.PI/180/2:0,o?o*Math.PI/180/2:0];o=[Math.cos(n[0]),Math.cos(n[1]),Math.cos(n[2])];n=[Math.sin(n[0]),Math.sin(n[1]),Math.sin(n[2])];o=new L(o[0]*o[1]*o[2]-n[0]*n[1]*n[2],n[0]*o[1]*o[2]-o[0]*n[1]*n[2],o[0]*n[1]*o[2]+n[0]*o[1]*n[2],o[0]*o[1]*n[2]+n[0]*n[1]*o[2]);o=o.multiply(new L(Math.sqrt(.5),-Math.sqrt(.5),0,0));n=t.orientation?-t.orientation*Math.PI/180/2:0;o=o.multiply(new L(Math.cos(n),0,-Math.sin(n),0)).toEulerAngles();"number"==typeof yt&&10>yt?yt+=1:10===yt?(kt=o[2]/Math.PI*180+at.yaw,yt=true,requestAnimationFrame(P)):(at.pitch=o[0]/Math.PI*180,at.roll=-o[1]/Math.PI*180,at.yaw=-o[2]/Math.PI*180+kt)}function T(){try{var t={};at.horizonPitch!==o&&(t.horizonPitch=at.horizonPitch*Math.PI/180);at.horizonRoll!==o&&(t.horizonRoll=at.horizonRoll*Math.PI/180);at.backgroundColor!==o&&(t.backgroundColor=at.backgroundColor);it.init(xt,at.type,at.dynamic,at.haov*Math.PI/180,at.vaov*Math.PI/180,at.vOffset*Math.PI/180,W,t);true!==at.dynamic&&(xt=o)}catch(t){if("webgl error"==t.type||"no webgl"==t.type)h();else if("webgl size error"==t.type)h(at.strings.textureSizeError.replace("%s",t.width).replace("%s",t.maxWidth));else throw h(at.strings.unknownError),t}}function W(){if(at.sceneFadeDuration&&it.fadeImg!==o){it.fadeImg.style.opacity=0;var t=it.fadeImg;delete it.fadeImg;setTimeout((function(){Wt.removeChild(t);ot("scenechangefadedone")}),at.sceneFadeDuration)}Ut.style.display=at.compass?"inline":"none";G();Nt.load.box.style.display="none";rt!==o&&(Wt.removeChild(rt),rt=o);vt=true;ot("load");O()}function R(t){t.pitch=Number(t.pitch)||0;t.yaw=Number(t.yaw)||0;var o=e.createElement("div");o.className="pnlm-hotspot-base";o.className=t.cssClass?o.className+(" "+t.cssClass):o.className+(" pnlm-hotspot pnlm-sprite pnlm-"+$(t.type));var n=e.createElement("span");t.text&&(n.innerHTML=$(t.text));var a;if(t.video){a=e.createElement("video");var i=t.video;at.basePath&&!r(i)&&(i=at.basePath+i);a.src=tt(i);a.controls=true;a.style.width=t.width+"px";Wt.appendChild(o);n.appendChild(a)}else if(t.image){i=t.image;at.basePath&&!r(i)&&(i=at.basePath+i);a=e.createElement("a");a.href=tt(t.URL?t.URL:i,true);a.target="_blank";n.appendChild(a);var s=e.createElement("img");s.src=tt(i);s.style.width=t.width+"px";s.style.paddingTop="5px";Wt.appendChild(o);a.appendChild(s);n.style.maxWidth="initial"}else if(t.URL){a=e.createElement("a");a.href=tt(t.URL,true);if(t.attributes)for(i in t.attributes)a.setAttribute(i,t.attributes[i]);else a.target="_blank";Wt.appendChild(a);o.className+=" pnlm-pointer";n.className+=" pnlm-pointer";a.appendChild(o)}else t.sceneId&&(o.onclick=o.ontouchend=function(){o.clicked||(o.clicked=true,V(t.sceneId,t.targetPitch,t.targetYaw,t.targetHfov));return false},o.className+=" pnlm-pointer",n.className+=" pnlm-pointer"),Wt.appendChild(o);if(t.createTooltipFunc)t.createTooltipFunc(o,t.createTooltipArgs);else if(t.text||t.video||t.image)o.classList.add("pnlm-tooltip"),o.appendChild(n),n.style.width=n.scrollWidth-20+"px",n.style.marginLeft=-(n.scrollWidth-o.offsetWidth)/2+"px",n.style.marginTop=-n.scrollHeight-12+"px";t.clickHandlerFunc&&(o.addEventListener("click",(function(e){t.clickHandlerFunc(e,t.clickHandlerArgs)}),"false"),o.className+=" pnlm-pointer",n.className+=" pnlm-pointer");t.div=o}function G(){It||(at.hotSpots?(at.hotSpots=at.hotSpots.sort((function(t,e){return t.pitch<e.pitch})),at.hotSpots.forEach(R)):at.hotSpots=[],It=true,at.hotSpots.forEach(B))}function N(){var t=at.hotSpots;It=false;delete at.hotSpots;if(t)for(var e=0;e<t.length;e++){var o=t[e].div;if(o){for(;o.parentNode&&o.parentNode!=Wt;)o=o.parentNode;Wt.removeChild(o)}delete t[e].div}}function B(t){var e=Math.sin(t.pitch*Math.PI/180),o=Math.cos(t.pitch*Math.PI/180),n=Math.sin(at.pitch*Math.PI/180),a=Math.cos(at.pitch*Math.PI/180),i=Math.cos((-t.yaw+at.yaw)*Math.PI/180),r=e*n+o*i*a;if(90>=t.yaw&&-90<t.yaw&&0>=r||(90<t.yaw||-90>=t.yaw)&&0>=r)t.div.style.visibility="hidden";else{var s=Math.sin((-t.yaw+at.yaw)*Math.PI/180),l=Math.tan(at.hfov*Math.PI/360);t.div.style.visibility="visible";var h=it.getCanvas(),c=h.clientWidth,h=h.clientHeight,e=[-c/l*s*o/r/2,-c/l*(e*a-o*i*n)/r/2],o=Math.sin(at.roll*Math.PI/180),n=Math.cos(at.roll*Math.PI/180),e=[e[0]*n-e[1]*o,e[0]*o+e[1]*n];e[0]+=(c-t.div.offsetWidth)/2;e[1]+=(h-t.div.offsetHeight)/2;c="translate("+e[0]+"px, "+e[1]+"px) translateZ(9999px) rotate("+at.roll+"deg)";t.scale&&(c+=" scale("+Ct/at.hfov/r+")");t.div.style.webkitTransform=c;t.div.style.MozTransform=c;t.div.style.transform=c}}function j(t){at={};var e,o,n="haov vaov vOffset northOffset horizonPitch horizonRoll".split(" ");Ot=[];for(e in St)St.hasOwnProperty(e)&&(at[e]=St[e]);for(e in a.default)if(a.default.hasOwnProperty(e))if("strings"==e)for(o in a.default.strings)a.default.strings.hasOwnProperty(o)&&(at.strings[o]=$(a.default.strings[o]));else at[e]=a.default[e],0<=n.indexOf(e)&&Ot.push(e);if(null!==t&&""!==t&&a.scenes&&a.scenes[t]){var i=a.scenes[t];for(e in i)if(i.hasOwnProperty(e))if("strings"==e)for(o in i.strings)i.strings.hasOwnProperty(o)&&(at.strings[o]=$(i.strings[o]));else at[e]=i[e],0<=n.indexOf(e)&&Ot.push(e);at.scene=t}for(e in a)if(a.hasOwnProperty(e))if("strings"==e)for(o in a.strings)a.strings.hasOwnProperty(o)&&(at.strings[o]=$(a.strings[o]));else at[e]=a[e],0<=n.indexOf(e)&&Ot.push(e)}function q(t){if((t=t?t:false)&&"preview"in at){var n=at.preview;at.basePath&&!r(n)&&(n=at.basePath+n);rt=e.createElement("div");rt.className="pnlm-preview-img";rt.style.backgroundImage="url('"+tt(n).replace(/"/g,"%22").replace(/'/g,"%27")+"')";Wt.appendChild(rt)}var n=at.title,a=at.author;t&&("previewTitle"in at&&(at.title=at.previewTitle),"previewAuthor"in at&&(at.author=at.previewAuthor));at.hasOwnProperty("title")||(Nt.title.innerHTML="");at.hasOwnProperty("author")||(Nt.author.innerHTML="");at.hasOwnProperty("title")||at.hasOwnProperty("author")||(Nt.container.style.display="none");jt.load.innerHTML="<p>"+at.strings.loadButtonLabel+"</p>";Nt.load.boxp.innerHTML=at.strings.loadingLabel;for(var s in at)if(at.hasOwnProperty(s))switch(s){case"title":Nt.title.innerHTML=$(at[s]);Nt.container.style.display="inline";break;case"author":var l=$(at[s]);at.authorURL&&(l=e.createElement("a"),l.href=tt(at.authorURL,true),l.target="_blank",l.innerHTML=$(at[s]),l=l.outerHTML);Nt.author.innerHTML=at.strings.bylineLabel.replace("%s",l);Nt.container.style.display="inline";break;case"fallback":l=e.createElement("a");l.href=tt(at[s],true);l.target="_blank";l.textContent="Click here to view this panorama in an alternative viewer.";var h=e.createElement("p");h.textContent="Your browser does not support WebGL.";h.appendChild(e.createElement("br"));h.appendChild(l);Nt.errorMsg.innerHTML="";Nt.errorMsg.appendChild(h);break;case"hfov":Y(Number(at[s]));break;case"autoLoad":true===at[s]&&it===o&&(Nt.load.box.style.display="inline",jt.load.style.display="none",i());break;case"showZoomCtrl":jt.zoom.style.display=at[s]&&false!=at.showControls?"block":"none";break;case"showFullscreenCtrl":jt.fullscreen.style.display=at[s]&&false!=at.showControls&&("fullscreen"in e||"mozFullScreen"in e||"webkitIsFullScreen"in e||"msFullscreenElement"in e)?"block":"none";break;case"hotSpotDebug":Bt.style.display=at[s]?"block":"none";break;case"showControls":at[s]||(jt.orientation.style.display="none",jt.zoom.style.display="none",jt.fullscreen.style.display="none");break;case"orientationOnByDefault":at[s]&&Q()}t&&(n?at.title=n:delete at.title,a?at.author=a:delete at.author)}function U(){if(vt&&!bt)if(dt)e.exitFullscreen?e.exitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.webkitCancelFullScreen?e.webkitCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen();else try{n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen?n.msRequestFullscreen():n.webkitRequestFullScreen()}catch(t){}}function Z(t){e.fullscreenElement||e.fullscreen||e.mozFullScreen||e.webkitIsFullScreen||e.msFullscreenElement?(jt.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),dt=true):(jt.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),dt=false);"resize"!==t&&ot("fullscreenchange",dt);it.resize();Y(at.hfov);O()}function H(t){var e=at.minHfov;"multires"==at.type&&it&&!at.multiResMinHfov&&(e=Math.min(e,it.getCanvas().width/(at.multiRes.cubeResolution/90*.9)));if(e>at.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),at.hfov;var o=at.hfov,o=t<e?e:t>at.maxHfov?at.maxHfov:t;at.avoidShowingBackground&&it&&(t=it.getCanvas(),o=Math.min(o,360*Math.atan(Math.tan((at.maxPitch-at.minPitch)/360*Math.PI)/t.height*t.width)/Math.PI));return o}function Y(t){at.hfov=H(t);ot("zoomchange",at.hfov)}function X(){At={};Dt=at.autoRotate?at.autoRotate:Dt;at.autoRotate=false}function J(){bt&&(Nt.load.box.style.display="none",Nt.errorMsg.style.display="none",bt=false,Wt.style.display="block",ot("errorcleared"));vt=false;jt.load.style.display="none";Nt.load.box.style.display="inline";i()}function V(t,e,n,i,r){vt||(r=true);vt=false;At={};var s,l;if(at.sceneFadeDuration&&!r&&(s=it.render(at.pitch*Math.PI/180,at.yaw*Math.PI/180,at.hfov*Math.PI/180,{returnImage:true}),s!==o)){r=new Image;r.className="pnlm-fade-img";r.style.transition="opacity "+at.sceneFadeDuration/1e3+"s";r.style.width="100%";r.style.height="100%";r.onload=function(){V(t,e,n,i,true)};r.src=s;Wt.appendChild(r);it.fadeImg=r;return}r="same"===e?at.pitch:e;s="same"===n?at.yaw:"sameAzimuth"===n?at.yaw+(at.northOffset||0)-(a.scenes[t].northOffset||0):n;l="same"===i?at.hfov:i;N();j(t);Mt.yaw=Mt.pitch=Mt.hfov=0;q();r!==o&&(at.pitch=r);s!==o&&(at.yaw=s);l!==o&&(at.hfov=l);ot("scenechange",t);J()}function K(){t.removeEventListener("deviceorientation",S);jt.orientation.classList.remove("pnlm-orientation-button-active");yt=false}function Q(){"function"===typeof DeviceMotionEvent.requestPermission?DeviceOrientationEvent.requestPermission().then((function(e){"granted"==e&&(yt=1,t.addEventListener("deviceorientation",S),jt.orientation.classList.add("pnlm-orientation-button-active"))})):(yt=1,t.addEventListener("deviceorientation",S),jt.orientation.classList.add("pnlm-orientation-button-active"))}function $(t){return a.escapeHTML?String(t).split(/&/g).join("&").split('"').join(""").split("'").join("'").split("<").join("<").split(">").join(">").split("/").join("/").split("\n").join("<br>"):String(t).split("\n").join("<br>")}function tt(t,e){try{var o=decodeURIComponent(et(t)).replace(/[^\w:]/g,"").toLowerCase()}catch(t){return"about:blank"}return 0===o.indexOf("javascript:")||0===o.indexOf("vbscript:")?(console.log("Script URL removed."),"about:blank"):e&&0===o.indexOf("data:")?(console.log("Data URI removed from link."),"about:blank"):t}function et(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(t,e){e=e.toLowerCase();return"colon"===e?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}function ot(t){if(t in Et)for(var e=Et[t].length;0<e;e--)Et[t][Et[t].length-e].apply(null,[].slice.call(arguments,1))}var nt=this,at,it,rt,st=false,lt=Date.now(),ht=0,ct=0,ut=-1,ft=0,pt=0,mt=Array(10),dt=false,vt,bt=false,gt=false,xt,wt,Mt={yaw:0,pitch:0,hfov:0},zt=false,yt=false,kt=0,_t,Dt=0,Ct,Ft,At={},Et={},Ot=[],Pt=false,It=false,Lt=false,St={hfov:100,minHfov:50,multiResMinHfov:false,maxHfov:120,pitch:0,minPitch:o,maxPitch:o,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:false,autoRotateInactivityDelay:-1,autoRotateStopDelay:o,type:"equirectangular",northOffset:0,showFullscreenCtrl:true,dynamic:false,dynamicUpdate:false,doubleClickZoom:true,keyboardZoom:true,mouseZoom:true,showZoomCtrl:true,autoLoad:false,showControls:true,orientationOnByDefault:false,hotSpotDebug:false,backgroundColor:[0,0,0],avoidShowingBackground:false,animationTimingFunction:function(t){return.5>t?2*t*t:-1+(4-2*t)*t},draggable:true,disableKeyboardCtrl:false,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],friction:.15,strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};n="string"===typeof n?e.getElementById(n):n;n.classList.add("pnlm-container");n.tabIndex=0;var Tt=e.createElement("div");Tt.className="pnlm-ui";n.appendChild(Tt);var Wt=e.createElement("div");Wt.className="pnlm-render-container";n.appendChild(Wt);var Rt=e.createElement("div");Rt.className="pnlm-dragfix";Tt.appendChild(Rt);var Gt=e.createElement("span");Gt.className="pnlm-about-msg";Gt.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a> 2.5.6';Tt.appendChild(Gt);Rt.addEventListener("contextmenu",c);var Nt={},Bt=e.createElement("div");Bt.className="pnlm-sprite pnlm-hot-spot-debug-indicator";Tt.appendChild(Bt);Nt.container=e.createElement("div");Nt.container.className="pnlm-panorama-info";Nt.title=e.createElement("div");Nt.title.className="pnlm-title-box";Nt.container.appendChild(Nt.title);Nt.author=e.createElement("div");Nt.author.className="pnlm-author-box";Nt.container.appendChild(Nt.author);Tt.appendChild(Nt.container);Nt.load={};Nt.load.box=e.createElement("div");Nt.load.box.className="pnlm-load-box";Nt.load.boxp=e.createElement("p");Nt.load.box.appendChild(Nt.load.boxp);Nt.load.lbox=e.createElement("div");Nt.load.lbox.className="pnlm-lbox";Nt.load.lbox.innerHTML='<div class="pnlm-loading"></div>';Nt.load.box.appendChild(Nt.load.lbox);Nt.load.lbar=e.createElement("div");Nt.load.lbar.className="pnlm-lbar";Nt.load.lbarFill=e.createElement("div");Nt.load.lbarFill.className="pnlm-lbar-fill";Nt.load.lbar.appendChild(Nt.load.lbarFill);Nt.load.box.appendChild(Nt.load.lbar);Nt.load.msg=e.createElement("p");Nt.load.msg.className="pnlm-lmsg";Nt.load.box.appendChild(Nt.load.msg);Tt.appendChild(Nt.load.box);Nt.errorMsg=e.createElement("div");Nt.errorMsg.className="pnlm-error-msg pnlm-info-box";Tt.appendChild(Nt.errorMsg);var jt={};jt.container=e.createElement("div");jt.container.className="pnlm-controls-container";Tt.appendChild(jt.container);jt.load=e.createElement("div");jt.load.className="pnlm-load-button";jt.load.addEventListener("click",(function(){q();J()}));Tt.appendChild(jt.load);jt.zoom=e.createElement("div");jt.zoom.className="pnlm-zoom-controls pnlm-controls";jt.zoomIn=e.createElement("div");jt.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control";jt.zoomIn.addEventListener("click",(function(){vt&&(Y(at.hfov-5),O())}));jt.zoom.appendChild(jt.zoomIn);jt.zoomOut=e.createElement("div");jt.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control";jt.zoomOut.addEventListener("click",(function(){vt&&(Y(at.hfov+5),O())}));jt.zoom.appendChild(jt.zoomOut);jt.container.appendChild(jt.zoom);jt.fullscreen=e.createElement("div");jt.fullscreen.addEventListener("click",U);jt.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control";(e.fullscreenEnabled||e.mozFullScreenEnabled||e.webkitFullscreenEnabled||e.msFullscreenEnabled)&&jt.container.appendChild(jt.fullscreen);jt.orientation=e.createElement("div");jt.orientation.addEventListener("click",(function(t){yt?K():Q()}));jt.orientation.addEventListener("mousedown",(function(t){t.stopPropagation()}));jt.orientation.addEventListener("touchstart",(function(t){t.stopPropagation()}));jt.orientation.addEventListener("pointerdown",(function(t){t.stopPropagation()}));jt.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var qt=false;t.DeviceOrientationEvent&&"https:"==location.protocol&&0<=navigator.userAgent.toLowerCase().indexOf("mobi")&&(jt.container.appendChild(jt.orientation),qt=true);var Ut=e.createElement("div");Ut.className="pnlm-compass pnlm-controls pnlm-control";Tt.appendChild(Ut);a.firstScene?j(a.firstScene):a.default&&a.default.firstScene?j(a.default.firstScene):j(null);q(true);var Zt=[],Ht=[];L.prototype.multiply=function(t){return new L(this.w*t.w-this.x*t.x-this.y*t.y-this.z*t.z,this.x*t.w+this.w*t.x+this.y*t.z-this.z*t.y,this.y*t.w+this.w*t.y+this.z*t.x-this.x*t.z,this.z*t.w+this.w*t.z+this.x*t.y-this.y*t.x)};L.prototype.toEulerAngles=function(){var t=Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),e=Math.asin(2*(this.w*this.y-this.z*this.x)),o=Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z));return[t,e,o]};this.isLoaded=function(){return Boolean(vt)};this.getPitch=function(){return at.pitch};this.setPitch=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.pitch))return"function"==typeof n&&n(a),this;(e=e==o?1e3:Number(e))?(At.pitch={startTime:Date.now(),startPosition:at.pitch,endPosition:t,duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):at.pitch=t;O();return this};this.getPitchBounds=function(){return[at.minPitch,at.maxPitch]};this.setPitchBounds=function(t){at.minPitch=Math.max(-90,Math.min(t[0],90));at.maxPitch=Math.max(-90,Math.min(t[1],90));return this};this.getYaw=function(){return(at.yaw+540)%360-180};this.setYaw=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.yaw))return"function"==typeof n&&n(a),this;e=e==o?1e3:Number(e);t=(t+180)%360-180;e?(180<at.yaw-t?t+=360:180<t-at.yaw&&(t-=360),At.yaw={startTime:Date.now(),startPosition:at.yaw,endPosition:t,duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):at.yaw=t;O();return this};this.getYawBounds=function(){return[at.minYaw,at.maxYaw]};this.setYawBounds=function(t){at.minYaw=Math.max(-360,Math.min(t[0],360));at.maxYaw=Math.max(-360,Math.min(t[1],360));return this};this.getHfov=function(){return at.hfov};this.setHfov=function(t,e,n,a){lt=Date.now();if(1e-6>=Math.abs(t-at.hfov))return"function"==typeof n&&n(a),this;(e=e==o?1e3:Number(e))?(At.hfov={startTime:Date.now(),startPosition:at.hfov,endPosition:H(t),duration:e},"function"==typeof n&&setTimeout((function(){n(a)}),e)):Y(t);O();return this};this.getHfovBounds=function(){return[at.minHfov,at.maxHfov]};this.setHfovBounds=function(t){at.minHfov=Math.max(0,t[0]);at.maxHfov=Math.max(0,t[1]);return this};this.lookAt=function(t,e,n,a,i,r){a=a==o?1e3:Number(a);t!==o&&1e-6<Math.abs(t-at.pitch)&&(this.setPitch(t,a,i,r),i=o);e!==o&&1e-6<Math.abs(e-at.yaw)&&(this.setYaw(e,a,i,r),i=o);n!==o&&1e-6<Math.abs(n-at.hfov)&&(this.setHfov(n,a,i,r),i=o);"function"==typeof i&&i(r);return this};this.getNorthOffset=function(){return at.northOffset};this.setNorthOffset=function(t){at.northOffset=Math.min(360,Math.max(0,t));O();return this};this.getHorizonRoll=function(){return at.horizonRoll};this.setHorizonRoll=function(t){at.horizonRoll=Math.min(90,Math.max(-90,t));it.setPose(at.horizonPitch*Math.PI/180,at.horizonRoll*Math.PI/180);O();return this};this.getHorizonPitch=function(){return at.horizonPitch};this.setHorizonPitch=function(t){at.horizonPitch=Math.min(90,Math.max(-90,t));it.setPose(at.horizonPitch*Math.PI/180,at.horizonRoll*Math.PI/180);O();return this};this.startAutoRotate=function(t,e){t=t||Dt||1;e=e===o?Ft:e;at.autoRotate=t;nt.lookAt(e,o,Ct,3e3);O();return this};this.stopAutoRotate=function(){Dt=at.autoRotate?at.autoRotate:Dt;at.autoRotate=false;at.autoRotateInactivityDelay=-1;return this};this.stopMovement=function(){X();Mt={yaw:0,pitch:0,hfov:0}};this.getRenderer=function(){return it};this.setUpdate=function(t){Pt=true===t;it===o?s():O();return this};this.mouseEventToCoords=function(t){return m(t)};this.loadScene=function(t,e,o,n){false!==vt&&V(t,e,o,n);return this};this.getScene=function(){return at.scene};this.addScene=function(t,e){a.scenes[t]=e;return this};this.removeScene=function(t){if(at.scene===t||!a.scenes.hasOwnProperty(t))return false;delete a.scenes[t];return true};this.toggleFullscreen=function(){U();return this};this.getConfig=function(){return at};this.getContainer=function(){return n};this.addHotSpot=function(t,e){if(e===o&&at.scene===o)at.hotSpots.push(t);else{var n=e!==o?e:at.scene;if(a.scenes.hasOwnProperty(n))a.scenes[n].hasOwnProperty("hotSpots")||(a.scenes[n].hotSpots=[],n==at.scene&&(at.hotSpots=a.scenes[n].hotSpots)),a.scenes[n].hotSpots.push(t);else throw"Invalid scene ID!"}if(e===o||at.scene==e)R(t),vt&&B(t);return this};this.removeHotSpot=function(t,e){if(e===o||at.scene==e){if(!at.hotSpots)return false;for(var n=0;n<at.hotSpots.length;n++)if(at.hotSpots[n].hasOwnProperty("id")&&at.hotSpots[n].id===t){for(var i=at.hotSpots[n].div;i.parentNode!=Wt;)i=i.parentNode;Wt.removeChild(i);delete at.hotSpots[n].div;at.hotSpots.splice(n,1);return true}}else if(a.scenes.hasOwnProperty(e)){if(!a.scenes[e].hasOwnProperty("hotSpots"))return false;for(n=0;n<a.scenes[e].hotSpots.length;n++)if(a.scenes[e].hotSpots[n].hasOwnProperty("id")&&a.scenes[e].hotSpots[n].id===t)return a.scenes[e].hotSpots.splice(n,1),true}else return false};this.resize=function(){it&&E()};this.isLoaded=function(){return vt};this.isOrientationSupported=function(){return qt||false};this.stopOrientation=function(){K()};this.startOrientation=function(){qt&&Q()};this.isOrientationActive=function(){return Boolean(yt)};this.on=function(t,e){Et[t]=Et[t]||[];Et[t].push(e);return this};this.off=function(t,e){if(!t)return Et={},this;if(e){var o=Et[t].indexOf(e);0<=o&&Et[t].splice(o,1);0==Et[t].length&&delete Et[t]}else delete Et[t];return this};this.destroy=function(){Lt=true;clearTimeout(_t);it&&it.destroy();gt&&(e.removeEventListener("mousemove",d,false),e.removeEventListener("mouseup",v,false),n.removeEventListener("mozfullscreenchange",Z,false),n.removeEventListener("webkitfullscreenchange",Z,false),n.removeEventListener("msfullscreenchange",Z,false),n.removeEventListener("fullscreenchange",Z,false),t.removeEventListener("resize",E,false),t.removeEventListener("orientationchange",E,false),n.removeEventListener("keydown",k,false),n.removeEventListener("keyup",D,false),n.removeEventListener("blur",_,false),e.removeEventListener("mouseleave",v,false));n.innerHTML="";n.classList.remove("pnlm-container")}}return{viewer:function(t,e){return new n(t,e)}}}(window,document);const r=()=>`.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,"Nimbus Sans L","Liberation Sans",Arial,sans-serif;background:#f4f4f4 url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2267%22%20height%3D%22100%22%20viewBox%3D%220%200%2067%20100%22%3E%0A%3Cpath%20stroke%3D%22%23ccc%22%20fill%3D%22none%22%20d%3D%22M33.5%2C50%2C0%2C63%2C33.5%2C75%2C67%2C63%2C33.5%2C50m-33.5-50%2C67%2C25m-0.5%2C0%2C0%2C75m-66.5-75%2C67-25m-33.5%2C75%2C0%2C25m0-100%2C0%2C50%22%2F%3E%0A%3C%2Fsvg%3E%0A') repeat;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A') 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2226%22%20width%3D%2226%22%3E%0A%3Cpath%20stroke%3D%22%23000%22%20stroke-width%3D%221px%22%20fill%3D%22%23fff%22%20d%3D%22m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55%22%2F%3E%0A%3C%2Fsvg%3E%0A') 12 8,default}.pnlm-sprite{background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%22208%22%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22117%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20fill-opacity%3D%22.78%22%20cy%3D%22143%22%20cx%3D%2213%22%20r%3D%2211%22%20fill%3D%22%23fff%22%2F%3E%0A%3Ccircle%20cy%3D%22169%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cy%3D%22195%22%20cx%3D%2213%22%20r%3D%227%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222%22%2F%3E%0A%3Ccircle%20cx%3D%2213%22%20cy%3D%22195%22%20r%3D%222.5%22%2F%3E%0A%3Cpath%20d%3D%22m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z%22%2F%3E%0A%3Cpath%20d%3D%22m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z%22%2F%3E%0A%3Cpath%20d%3D%22m17%2038v2h-8v-2z%22%2F%3E%0A%3Cpath%20d%3D%22m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z%22%2F%3E%0A%3Cpath%20d%3D%22m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z%22%2F%3E%0A%3Cpath%20d%3D%22m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z%22%2F%3E%0A%3C%2Fsvg%3E%0A')}.pnlm-container:-moz-full-screen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:-webkit-full-screen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:-ms-fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:rgba(0,0,0,0.4);border-radius:3px;cursor:pointer;z-index:2;-webkit-transform:translateZ(9999px);transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:rgba(0,0,0,0.10);border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:rgba(255,255,255,0.5);border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:rgba(0,0,0,0.7);border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;-webkit-transform:translateZ(9999px);transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:rgba(0,0,0,0.7);border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{from{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}@-webkit-keyframes pnlm-mv{from{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:rgba(0,0,0,.7);border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:rgba(0,0,0,.8)}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a,.pnlm-author-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px 0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px 5px 8px;background:rgba(0,0,0,0.7);border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;-moz-transition:opacity .3s ease-in-out;-webkit-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;-ms-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:rgba(255,255,255,0.2)}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:rgba(0,0,0,0.7);color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:'';position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,0.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20height%3D%2250%22%20width%3D%2250%22%3E%0A%3Cpath%20d%3D%22m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z%22%2F%3E%0A%3C%2Fsvg%3E%0A');cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;-webkit-transform-origin:0 0;transform-origin:0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}:host{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-panorama{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}stzh-panorama[hidden],stzh-panorama[stzh-hidden]{display:none}stzh-panorama::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-panorama *,stzh-panorama *::before,stzh-panorama *::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}stzh-panorama{}stzh-panorama .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-panorama .stzh-fylingfocus-focused{outline-style:none !important}stzh-panorama .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}.stzh-panorama__hotspot{width:2.5rem;height:2.5rem}.stzh-panorama stzh-button.stzh-panorama__hotspot-button,.stzh-panorama stzh-button.stzh-panorama__control{--box-shadow:var(--stzh-box-shadow-popover);--border-width:0px}.stzh-panorama stzh-button.stzh-panorama__hotspot-button.is-info{--cursor:default}.stzh-panorama__hotspot-tooltip{white-space:nowrap}.stzh-panorama__sceneselector{bottom:var(--stzh-space-xsmall);left:var(--stzh-space-xsmall);z-index:2;position:absolute;display:flex;gap:var(--stzh-space-xsmall)}@media print{.stzh-panorama__sceneselector{display:none}}@media screen and (min-width: 900px){.stzh-panorama__sceneselector{bottom:var(--stzh-space-large);left:var(--stzh-space-large)}}.stzh-panorama__sceneselector-dropdown{--color:var(--stzh-color-grey80);--hover-color:var(--stzh-color-grey90);--icon-angle-color:var(--stzh-color-grey80);--hover-icon-angle-color:var(--stzh-color-grey80);--border-color:var(--stzh-color-white);--hover-border-color:var(--stzh-color-white);--focus-border-color:var(--stzh-color-white);--focus-background-color:var(--stzh-color-white)}.stzh-panorama__sceneselector-dropdown *{box-sizing:border-box}.stzh-panorama__copyright{background-color:var(--stzh-color-black50op);color:var(--stzh-color-white80op);padding-left:var(--stzh-space-medium);padding-right:var(--stzh-space-medium);padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall);white-space:nowrap;display:flex;justify-content:center;align-items:center}.stzh-panorama__controls{bottom:var(--stzh-space-xsmall);right:var(--stzh-space-xsmall);z-index:2;pointer-events:none;position:absolute;display:flex;flex-direction:row;gap:var(--stzh-space-xxsmall)}@media print{.stzh-panorama__controls{display:none}}@media screen and (min-width: 900px){.stzh-panorama__controls{bottom:var(--stzh-space-large);right:var(--stzh-space-large)}}.stzh-panorama__control{pointer-events:all}.stzh-panorama__control--show-medium{display:none}@media screen and (min-width: 900px){.stzh-panorama__control--show-medium{display:inline-flex}}`;var s=undefined&&undefined.__rest||function(t,e){var o={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0)o[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var a=0,n=Object.getOwnPropertySymbols(t);a<n.length;a++){if(e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(t,n[a]))o[n[a]]=t[n[a]]}return o};const l="stzh-panorama__hotspot";const h="stzh-panorama__hotspot-tooltip";const c="stzh-panorama__hotspot-button";const u="is-scene";const f="is-info";const p="is-link";const m="arrow-up";const d="info-help";const v=class{constructor(o){t(this,o);this.stzhLoad=e(this,"stzhLoad");this.stzhChange=e(this,"stzhChange");this.stzhFullscreenChange=e(this,"stzhFullscreenChange");this.stzhSceneChange=e(this,"stzhSceneChange");this.stzhZoomChange=e(this,"stzhZoomChange");this.caption="";this.heading="";this.copyright="";this.sceneFadeDuration=500;this.autoload=true;this.orientationOnByDefault=false;this.showControls=true;this.showHotspots=true;this.isOrientationSupported=false;this.isOrientationActive=false;this.isFullscreen=false;this.actionRunning={};this.controlAnimationTime=500;this.createTooltip=(t,e)=>{const o=document.createElement("stzh-button");o.classList.add(c);if(e.type==="scene"){o.classList.add(u)}else if(e.url&&!e.text){o.classList.add(p);o.setAttribute("href",e.url);o.setAttribute("target","_blank")}else{o.classList.add(f)}o.icon=e.type==="scene"?m:d;o.iconOnly=true;o.rounded=true;o.size="small";o.variant="secondary";if(e.text){const n=document.createElement("stzh-tooltip");n.label=this.localization.hotspotLabel;n.placement="top";n.type="button";n.className=h;if(e.url){const t=document.createElement("div");t.slot="content";const o=document.createElement("p");if(e.text.length>=40){o.style["textWrapMode"]="wrap";o.style["textWrap"]="wrap";o.style.minWidth="200px"}o.style.marginTop="0";o.style.marginBottom="4px";o.textContent=e.text;t.appendChild(o);const a=document.createElement("stzh-link");a.label=this.localization.moreInformation;a.href=e.url;a.target="_blank";a.icon="arrow-right";a.iconPosition="right";a.size="small";t.appendChild(a);n.appendChild(t)}else{const t=document.createElement("div");t.slot="content";const o=document.createElement("p");if(e.text.length>=40){o.style["textWrapMode"]="wrap";o.style["textWrap"]="wrap";o.style.minWidth="200px"}o.style.margin="0";o.textContent=e.text;t.appendChild(o);n.appendChild(t)}n.appendChild(o);t.appendChild(n)}else{t.appendChild(o)}o.addEventListener("keydown",(t=>{t.stopPropagation()}))};this.handleSceneDropdownChange=async t=>{const e=t.target;const o=await e.getValue();this.scene=o};this.handleControlsKeydown=t=>{t.stopPropagation()};this.action=t=>{if(!["startOrientation","fullscreen"].includes(t)){this.stopOrientation()}if(t==="zoomIn"){this.executeAction("zoomIn",this.viewer.getHfov,this.viewer.setHfov,-10)}else if(t==="zoomOut"){this.executeAction("zoomOut",this.viewer.getHfov,this.viewer.setHfov,10)}else if(t==="fullscreen"){this.viewer.toggleFullscreen()}else if(t==="startOrientation"){this.startOrientation()}else if(t==="panUp"){this.executeAction("panUp",this.viewer.getPitch,this.viewer.setPitch,10)}else if(t==="panDown"){this.executeAction("panDown",this.viewer.getPitch,this.viewer.setPitch,-10)}else if(t==="panLeft"){this.executeAction("panLeft",this.viewer.getYaw,this.viewer.setYaw,-10)}else if(t==="panRight"){this.executeAction("panRight",this.viewer.getYaw,this.viewer.setYaw,10)}}}async getViewer(){return this.viewer}scenesWatcher(t){if(!this.localization){return}if(typeof t==="string"){this._scenes=JSON.parse(t)}else if(t){this._scenes=t}else{throw new Error('"scenes" is empty')}const e={};this._scenes.forEach((t=>{const{sceneId:o,imageSrc:n,imageType:a,hotspots:i}=t,r=s(t,["sceneId","imageTitle","imageSrc","imageAuthor","imageType","hotspots"]);e[o]=Object.assign(Object.assign({},r),{type:a,panorama:n,hotSpots:this.showHotspots?i.map((t=>Object.assign(Object.assign({},t),{URL:"",cssClass:l,createTooltipFunc:this.createTooltip,createTooltipArgs:Object.assign(Object.assign({},t),{url:t.url})}))):undefined})}));this._scenesLibrary=e}sceneWatcher(t){this.viewer.loadScene(t)}updateWatcher(){if(this.viewer){this.viewer.destroy();this.viewer=null}}stopOrientation(){if(this.viewer.isOrientationActive()){this.viewer.stopOrientation();var t=new window.Event("touchstart");this.element.querySelector(".pnlm-dragfix").dispatchEvent(t);this.updateOrientationState()}}startOrientation(){if(this.viewer.isOrientationSupported()){this.viewer.startOrientation();this.updateOrientationState()}}updateOrientationState(){this.isOrientationSupported=this.viewer.isOrientationSupported();this.isOrientationActive=this.isOrientationSupported&&this.viewer.isOrientationActive()}executeAction(t,e,o,n){this.actionRunning[t]=typeof this.actionRunning[t]!=="undefined"&&this.actionRunning[t]!==0?this.actionRunning[t]+n:e()+n;o(this.actionRunning[t],this.controlAnimationTime,(()=>{this.actionRunning={[t]:0}}))}initViewer(){this.viewer=window.pannellum.viewer(this.containerElement,{scenes:this._scenesLibrary,default:{firstScene:this.scene,showControls:false,sceneFadeDuration:this.sceneFadeDuration,autoLoad:this.autoload,compass:false,orientationOnByDefault:this.orientationOnByDefault,strings:{loadButtonLabel:this.localization.loadButtonLabel,loadingLabel:this.localization.loadingLabel,bylineLabel:this.localization.bylineLabel,noPanoramaError:this.localization.noPanoramaError,fileAccessError:this.localization.fileAccessError,malformedURLError:this.localization.malformedURLError,iOS8WebGLError:this.localization.iOS8WebGLError,genericWebGLError:this.localization.genericWebGLError,textureSizeError:this.localization.textureSizeError,unknownError:this.localization.unknownError}}});this.viewer.on("load",(()=>{if(this.viewer){this.updateOrientationState();this.scene=this.viewer.getScene();this.stzhLoad.emit({component:"stzh-panorama"})}}));this.viewer.on("touchstart",(()=>{this.updateOrientationState()}));this.viewer.on("fullscreenchange",(t=>{this.isFullscreen=t;this.stzhFullscreenChange.emit({component:"stzh-panorama",value:this.isFullscreen})}));this.viewer.on("scenechange",(t=>{this.containerElement.focus();this.stzhSceneChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("zoomchange",(t=>{this.stzhZoomChange.emit({component:"stzh-panorama",value:t})}));this.viewer.on("animatefinished",(t=>{this.stzhChange.emit({component:"stzh-panorama",value:t})}))}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"panorama")}this.scenesWatcher(this.scenes)}async componentDidRender(){if(this.viewer){return}this.initViewer()}disconnectedCallback(){if(this.viewer){this.viewer.destroy();this.viewer=null}}render(){const t={"stzh-panorama":true,"stzh-panorama--is-motion":this.isOrientationActive,"stzh-panorama--is-fullscreen":this.isFullscreen};const e=this._scenes.map((({sceneId:t,imageTitle:e})=>({value:t,text:e})));const i=this._scenes.find((({sceneId:t})=>t===this.scene));return o(a,{key:"943dbc062f2ae8091effe3f76ac2d840dc49e1f4"},o("div",{key:"af464072b534b1ff7a6b0c9ec648c7131aac334d",class:t},o("stzh-figure",{key:"b051a32b17c7564cbd9513de339f7e697c728551",class:"stzh-panorama__figure",heading:this.heading,caption:i.caption||this.caption,copyright:i.copyright||this.copyright},o("stzh-ratio",{key:"1cfc3ff676f2a2264730b2aa0f2b06dff9e1cece"},o("div",{key:"806a2299cdea237cbb5513720e18b532129746c8",ref:t=>this.containerElement=t,class:"stzh-panorama__container",tabindex:"0"},o("div",{key:"ffdae55385a97234c85685c42ee5762b01a7155e",class:"stzh-panorama__sceneselector"},e.length>1&&o("stzh-dropdown",{key:"da5a9ba6dc4367878a16868a46d50d27c8a3ea76",class:"stzh-panorama__sceneselector-dropdown",size:"small",popoverPlacement:"top",label:this.localization.sceneLabel,labelHidden:true,noSearch:true,items:[this.scene],options:e,onStzhChange:this.handleSceneDropdownChange}),(i.imageAuthor||i.copyright||this.copyright)&&o("div",{key:"c8d1bd9997ad88253132c42e32c1eeeb4a06698a",class:"stzh-panorama__copyright"},i.imageAuthor||i.copyright||this.copyright)),o("div",{key:"1f4eed65181cc4c705dec3e06903ebee30615e33",class:"stzh-panorama__controls",onKeyDown:this.handleControlsKeydown},this.showControls&&o(n,{key:"13908438469dc43c68b85936c5b5d141d1e42425"},o("stzh-button",{key:"effac478ab74e2cfc39f2847a73b8244e8949201",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panLeft,variant:"secondary",icon:"arrow-left",size:"small",onClick:()=>this.action("panLeft")}),o("stzh-button",{key:"98b61f3acdaecaf4dc794c46e2243749622596d2",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panRight,variant:"secondary",icon:"arrow-right",size:"small",onClick:()=>this.action("panRight")}),o("stzh-button",{key:"94bebb5cd95f74e122399e8b6b9cfce431b028c4",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panUp,variant:"secondary",icon:"arrow-up",size:"small",onClick:()=>this.action("panUp")}),o("stzh-button",{key:"0645ceefa60aadb82af96e8f8d80a2ada96d61ca",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.panDown,variant:"secondary",icon:"arrow-down",size:"small",onClick:()=>this.action("panDown")}),o("stzh-button",{key:"6609a6856528b0f147666a7c0049dbc77acc33d6",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.zoomIn,variant:"secondary",icon:"plus",size:"small",onClick:()=>this.action("zoomIn")}),o("stzh-button",{key:"24fcda93f9c2d3ffbbac3730261f5890da04ed29",class:"stzh-panorama__control stzh-panorama__control--show-medium",iconOnly:true,"a11y-label":this.localization.zoomOut,variant:"secondary",icon:"minus",size:"small",onClick:()=>this.action("zoomOut")})),this.isOrientationSupported&&o("stzh-button",{key:"5b14c43b155e8097b0ba5f4e1d62d2cacd5d1416",class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isOrientationActive?this.localization.stopOrientation:this.localization.startOrientation,icon:this.isOrientationActive?"target-bullet":"target",iconOnly:true,size:"small",onClick:()=>this.action(this.isOrientationActive?"stopOrientation":"startOrientation")}),o("stzh-button",{key:"6e60344e8459d6b56e8cfadfc0a6a57cbcdb3180",class:"stzh-panorama__control",variant:"secondary",a11yLabel:this.isFullscreen?this.localization.disableFullscreenLabel:this.localization.enableFullscreenLabel,icon:this.isFullscreen?"shrink":"expand",iconOnly:true,size:"small",onClick:()=>this.action("fullscreen")})))))))}get element(){return i(this)}static get watchers(){return{scenes:["scenesWatcher","updateWatcher"],scene:["sceneWatcher"],autoload:["updateWatcher"],type:["updateWatcher"],localization:["updateWatcher"],orientationOnByDefault:["updateWatcher"],sceneFadeDuration:["updateWatcher"]}}};v.style=r();export{v as stzh_panorama};
|
|
2
|
+
//# sourceMappingURL=p-4e5ead8e.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as i,a as s,d as r}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as i,a as s,d as r}from"./p-Boyybvcm.js";const n=()=>`.sc-stzh-vbz-intro-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-intro-h,[stzh-hidden].sc-stzh-vbz-intro-h{display:none}.sc-stzh-vbz-intro-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::before,.sc-stzh-vbz-intro-h *.sc-stzh-vbz-intro::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-vbz-intro-h .has-focus.sc-stzh-vbz-intro{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro{outline-style:none !important}.sc-stzh-vbz-intro-h .stzh-fylingfocus-focused.sc-stzh-vbz-intro::-moz-focus-inner{border:0 !important}.sc-stzh-vbz-intro-h{--mostsearched-background-color:var(--stzh-mostsearched-background-color);--topnews-background-color:var(--stzh-topnews-background-color);--topnews-item-subtitle-color:var(\n --stzh-vbz-intro-topnews-item-subtitle-color,\n var(--stzh-color-primary70)\n );--topnews-item-subtitle-font:var(\n --stzh-vbz-intro-topnews-subtitle-font,\n var(--stzh-font-family-medium)\n );--topnews-item-subtitle-highlighted-color:var(\n --stzh-vbz-intro-topnews-item-subtitle-highlighted-color,\n var(--stzh-color-primary60)\n );--grid-template-areas:"ticker ticker ticker ticker"\n "quicklinks quicklinks quicklinks quicklinks"}@media screen and (min-width: 900px){.sc-stzh-vbz-intro-h{--grid-template-areas:"ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks"}}@media screen and (min-width: 1260px){.sc-stzh-vbz-intro-h{--grid-template-areas:"ticker ticker ticker ticker ticker ticker ticker ticker quicklinks quicklinks quicklinks quicklinks"}}.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter)}@media screen and (min-width: 600px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-vbz-intro.sc-stzh-vbz-intro{column-gap:var(--stzh-grid-gutter-ultra)}}.stzh-vbz-intro.sc-stzh-vbz-intro{display:grid;grid-template-columns:repeat(4, minmax(0, 1fr))}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro{grid-template-columns:repeat(8, minmax(0, 1fr))}}@media screen and (min-width: 1260px){.stzh-vbz-intro.sc-stzh-vbz-intro{grid-template-columns:repeat(12, minmax(0, 1fr))}}.stzh-vbz-intro.sc-stzh-vbz-intro{grid-template-areas:var(--grid-template-areas)}.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:flex;flex-direction:column;padding-top:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-top:var(--stzh-space-xxlarge)}}.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-large)}}@media screen and (min-width: 900px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 1260px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro,.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-bottom:var(--stzh-space-xxlarge)}}.stzh-vbz-intro__ticker.sc-stzh-vbz-intro{grid-area:ticker}@media screen and (min-width: 1600px){.stzh-vbz-intro__ticker.sc-stzh-vbz-intro{padding-left:0}}.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{grid-area:quicklinks;background-color:var(--stzh-color-primary60);padding-left:var(--stzh-space-large);margin-left:-1.25rem;padding-right:var(--stzh-space-large);margin-right:-1.25rem}@media screen and (min-width: 600px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:grid;gap:0 var(--stzh-space-large);grid-template-columns:repeat(2, minmax(0, 1fr));padding-left:2rem;margin-left:-2rem;padding-right:2rem;margin-right:-2rem}}@media screen and (min-width: 900px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{display:flex;gap:inherit;grid-template-columns:inherit;padding-left:2.5rem;margin-left:inherit;padding-right:2.5rem;margin-right:-2.5rem}}@media screen and (min-width: 1260px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{padding-right:4rem;margin-right:-4rem}}@media screen and (min-width: 1600px){.stzh-vbz-intro__quicklinks.sc-stzh-vbz-intro{margin-right:calc((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) * -0.5)}}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklinks__heading.sc-stzh-vbz-intro{--color:var(--stzh-color-white);margin-bottom:var(--stzh-space-xsmall)}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro{--text-decoration-line:none;--color:var(--stzh-color-white);--hover-text-decoration-line:none;--hover-color:var(--stzh-color-white);transition:transform 150ms ease;padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xsmall)}.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro:hover{transform:translateX(0.625rem)}@media screen and (min-width: 900px){.stzh-vbz-intro.sc-stzh-vbz-intro .stzh-vbz-intro-quicklink__link.sc-stzh-vbz-intro:hover{transform:translateX(1.25rem)}}`;const e=class{constructor(i){t(this,i);this.quicklinks=[];this._quicklinks=[];this.init=()=>{this.quicklinksWatcher(this.quicklinks)}}quicklinksWatcher(t){if(!t){this._quicklinks=[]}else if(typeof t==="string"){try{this._quicklinks=JSON.parse(t)}catch(t){this._quicklinks=[]}}else{this._quicklinks=t}}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"vbz-intro")}}connectedCallback(){this.init()}render(){const t={"stzh-vbz-intro":true};return i(s,{key:"9715e9e4397fe2196a3ab864932a051ab0f1b24a"},i("div",{key:"29707019eae80083bcee5f6e5ab91078535f4ef5",class:t},i("div",{key:"21ed8f063228ff5a1e3e3ca9c1c51a36268df2bb",class:"stzh-vbz-intro__ticker"},i("slot",{key:"14a186d475fc91295321c8e57d7e50cadf38f226",name:"ticker"})),this._quicklinks.length>0&&i("div",{key:"19f82f0e1121ebc5667ce210e0f1555a204f9a57",class:"stzh-vbz-intro__quicklinks"},i("stzh-heading",{key:"73425c73f96fc97a5818e167fc4776286ab1b391",class:"stzh-vbz-intro-quicklinks__heading"},this.localization.quicklinksHeading),this._quicklinks.map((t=>i("div",{class:"stzh-vbz-intro-quicklink"},i("stzh-link",{class:"stzh-vbz-intro-quicklink__link",href:t.href,icon:"arrow-right"},t.label)))))))}get element(){return r(this)}static get watchers(){return{quicklinks:["quicklinksWatcher"]}}};e.style=n();export{e as stzh_vbz_intro};
|
|
2
|
+
//# sourceMappingURL=p-51c08340.entry.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as t,h as s,a as i,d as o}from"./p-
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as t,h as s,a as i,d as o}from"./p-Boyybvcm.js";import{p as n}from"./p-BOO84wnP.js";const e=()=>`.sc-stzh-flyingfocus-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-flyingfocus-h,[stzh-hidden].sc-stzh-flyingfocus-h{display:none}.sc-stzh-flyingfocus-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::before,.sc-stzh-flyingfocus-h *.sc-stzh-flyingfocus::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-flyingfocus-h .has-focus.sc-stzh-flyingfocus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus{outline-style:none !important}.sc-stzh-flyingfocus-h .stzh-fylingfocus-focused.sc-stzh-flyingfocus::-moz-focus-inner{border:0 !important}.stzh-flyingfocus.sc-stzh-flyingfocus{border:0 solid currentColor;position:absolute;transform:translate(-50%, -50%);opacity:0;will-change:top, left, width, height;box-sizing:content-box;pointer-events:none;overflow:hidden;z-index:9999999999}@media print{.stzh-flyingfocus.sc-stzh-flyingfocus{display:none}}.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition-property:opacity, left, top, width, height, border-width, border-radius;transition-duration:0.2s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s, 0.1s;transition-timing-function:linear, ease, ease, ease, ease, ease, ease}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus--is-moving.sc-stzh-flyingfocus{transition:none}}.stzh-flyingfocus--is-enabled.stzh-flyingfocus--is-visible.sc-stzh-flyingfocus{opacity:1}.stzh-flyingfocus.sc-stzh-flyingfocus::after{content:"";background:currentColor;position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity 0.2s linear}@media (prefers-reduced-motion: reduce){.stzh-flyingfocus.sc-stzh-flyingfocus::after{transition:none}}.stzh-flyingfocus--has-helper.sc-stzh-flyingfocus::after{transition-duration:0.1s;opacity:0.16}`;const h=400;const c=250;const f="has-focus";const r="stzh-fylingfocus-focused";const l="stzh-flyingfocus-enabled";const a=class{constructor(s){t(this,s);this.minimalEdgeSpace=2;this.enabled=false;this.visible=false;this.helper=false;this.moving=false;this.container=document.documentElement;this.previousTargetRect=null;this.repositionElement=()=>{if(!this.target){return}this.position=this.getFloaterPosition()};this.handleTransitionEnd=()=>{this.moving=false};this.monitorElementPosition=()=>{if(!this.target||!this.previousTargetRect||this.moving){return}const{left:t,top:s,width:i,height:o}=this.target.getBoundingClientRect();const{left:e,top:h,width:c,height:f}=this.previousTargetRect;if(t===e&&s===h&&i===c&&o===f){return}if(!n()){this.moving=true}this.repositionElement()}}handleKeydown(t){if(t.keyCode!==9&&!(t.keyCode>36&&t.keyCode<41)){return}this.enableFloatingFocus()}handleMousedown(){this.disableFloatingFocus()}handleFocus(t){var s;const i=t.detail;let o=((s=i===null||i===void 0?void 0:i.originalEvent)===null||s===void 0?void 0:s.target)||t.target;if(t.type==="focus"){o=document.activeElement;while(o.shadowRoot&&o.shadowRoot.activeElement){o=o.shadowRoot.activeElement}}if(!this.container){return}if(o===this.element||!this.container.contains(document.activeElement)){this.handleBlur();return}this.visible=true;this.helper=true;if(!n()){this.moving=true}const e=o.getAttribute("focus-target");if(e){const t=o.getRootNode()||document;o=t.querySelector(`#${e}`)||o}this.target=o;this.target.classList.remove(r);this.target.classList.add(f);this.resolveTargetOutlineStyle();this.repositionElement();this.target.classList.add(r);clearTimeout(this.helperFadeTimeout);this.helperFadeTimeout=setTimeout((()=>this.helper=false),h)}handleBlur(){this.visible=false;this.helper=false;if(!n()){this.moving=false}if(this.target){this.target.classList.remove(r);this.target.classList.remove(f)}}handleScrollResize(){if(this.debounceScroll){window.cancelAnimationFrame(this.debounceScroll)}this.debounceScroll=requestAnimationFrame(this.repositionElement)}async reposition(){this.repositionElement()}getOffsetBorderRadius(t,s,i){t=parseFloat(t);s=parseFloat(s);i=parseFloat(i);if(t===0){return"0px"}s=Math.max(s,0);return`${t+i+s}px`}resolveTargetOutlineStyle(){const t=window.getComputedStyle(this.target);const s=t.outlineOffset||null;const i=t.outlineWidth||null;this.style={color:t.outlineColor,borderStyle:t.outlineStyle,borderWidth:i,borderBottomLeftRadius:this.getOffsetBorderRadius(t.borderBottomLeftRadius,s,i),borderBottomRightRadius:this.getOffsetBorderRadius(t.borderBottomRightRadius,s,i),borderTopLeftRadius:this.getOffsetBorderRadius(t.borderTopLeftRadius,s,i),borderTopRightRadius:this.getOffsetBorderRadius(t.borderTopRightRadius,s,i)}}getFloaterPosition(){const t=window.getComputedStyle(this.target);const s=parseFloat(t.outlineOffset||"0px");const i=parseFloat(this.style.borderWidth||"0px");const o=this.target.getBoundingClientRect();this.previousTargetRect=o;const n=window.innerWidth-document.documentElement.clientWidth;const e=window.innerHeight-document.documentElement.clientHeight;const h=o.left-i-this.minimalEdgeSpace;const c=window.innerWidth-n-(o.left+o.width)-i-this.minimalEdgeSpace;const f=o.top-i-this.minimalEdgeSpace;const r=window.innerHeight-e-(o.top+o.height)-i-this.minimalEdgeSpace;const l=h<s?h:s;const a=c<s?c:s;const u=f<s?f:s;const d=r<s?r:s;const g=o.width+l+a;const y=o.height+u+d;const z=window.scrollX+o.left-l+g/2;const p=window.scrollY+o.top-u+y/2;return{left:`${z}px`,top:`${p}px`,width:`${g}px`,height:`${y}px`}}enableFloatingFocus(){this.container.classList.add(l);this.enabled=true;clearInterval(this.monitorElementPositionInterval);this.monitorElementPositionInterval=setInterval(this.monitorElementPosition,c)}disableFloatingFocus(){this.container.classList.remove(l);this.enabled=false;clearInterval(this.monitorElementPositionInterval)}async activate(){this.enableFloatingFocus()}async deactivate(){this.disableFloatingFocus()}render(){const t={"stzh-flyingfocus":true,"stzh-flyingfocus--is-enabled":this.enabled,"stzh-flyingfocus--is-visible":this.visible,"stzh-flyingfocus--is-moving":this.moving,"stzh-flyingfocus--has-helper":this.helper};const o=Object.assign(Object.assign({},this.style||{}),this.position||{});return s(i,{key:"f17a5cad9f6cd2beb2ef9c87512ea68b7a178429"},s("div",{key:"28936c365d97f2bf53a5db23233e6a46cff4bc2a",class:t,style:o,onTransitionEnd:this.moving?this.handleTransitionEnd:null}))}get element(){return o(this)}};a.style=e();export{a as stzh_flyingfocus};
|
|
2
|
+
//# sourceMappingURL=p-52680e35.entry.js.map
|