@ptcwebops/ptcw-design 6.4.18 → 6.4.19
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/academic-form-test_10.cjs.entry.js +12557 -0
- package/dist/cjs/buying-option-cards-slider.cjs.entry.js +4 -0
- package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +65 -0
- package/dist/cjs/interfaces-574e6df7.js +15 -0
- package/dist/cjs/list-item.cjs.entry.js +52 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +152 -0
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +63 -0
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-img.cjs.entry.js +136 -0
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +184 -0
- package/dist/cjs/ptc-multi-select.cjs.entry.js +326 -0
- package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
- package/dist/cjs/ptc-subnav-v2.cjs.entry.js +595 -0
- package/dist/cjs/ptc-tooltip.cjs.entry.js +113 -0
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
- package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
- package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +4 -0
- package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +16 -11
- package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +16 -11
- package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +16 -11
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -11
- package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +16 -11
- package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
- package/dist/custom-elements/index.js +11 -7
- package/dist/esm/academic-form-test_10.entry.js +12544 -0
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/blog-detail-content_2.entry.js +2 -2
- package/dist/esm/blog-detail-layout.entry.js +2 -2
- package/dist/esm/blogs-search-section.entry.js +2 -2
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/buying-option-card.entry.js +1 -1
- package/dist/esm/buying-option-cards-slider.entry.js +5 -1
- package/dist/esm/dropdown-item.entry.js +1 -1
- package/dist/esm/dynamic-box-bundle.entry.js +1 -1
- package/dist/esm/embedded-form.entry.js +1 -1
- package/dist/esm/event-jumbotron-example.entry.js +1 -1
- package/dist/esm/event-podcast-slider-example.entry.js +2 -2
- package/dist/esm/featured-events-slider-example.entry.js +2 -2
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/fl-tab-content_3.entry.js +1 -1
- package/dist/esm/footer-form.entry.js +1 -1
- package/dist/esm/homepage-clickable-tab.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +3 -3
- package/dist/esm/homepage-toggled-content.entry.js +2 -2
- package/dist/esm/icon-asset.entry.js +61 -0
- package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +2 -2
- package/dist/esm/interfaces-4caedd26.js +12 -0
- package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
- package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
- package/dist/esm/list-item.entry.js +48 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/most-popular-news.entry.js +2 -2
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +2 -2
- package/dist/esm/ptc-accordion.entry.js +1 -1
- package/dist/esm/ptc-announcement.entry.js +1 -1
- package/dist/esm/ptc-back-to-top.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +148 -0
- package/dist/esm/ptc-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +1 -1
- package/dist/esm/ptc-breadcrumb.entry.js +59 -0
- package/dist/esm/ptc-brightcov-video.entry.js +1 -1
- package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
- package/dist/esm/ptc-card-content.entry.js +1 -1
- package/dist/esm/ptc-card_2.entry.js +1 -1
- package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-close-icon_2.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +2 -2
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-countdown.entry.js +1 -1
- package/dist/esm/ptc-date.entry.js +1 -1
- package/dist/esm/ptc-dropdown.entry.js +1 -1
- package/dist/esm/ptc-dynamic-card.entry.js +1 -1
- package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
- package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
- package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/ptc-form-radio-button.entry.js +1 -1
- package/dist/esm/ptc-form-radio-group.entry.js +1 -1
- package/dist/esm/ptc-form.entry.js +1 -1
- package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
- package/dist/esm/ptc-hero.entry.js +1 -1
- package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
- package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
- package/dist/esm/ptc-icon-card-slider-example.entry.js +2 -2
- package/dist/esm/ptc-icon-card.entry.js +2 -2
- package/dist/esm/ptc-icon-component.entry.js +2 -2
- package/dist/esm/ptc-icon-list.entry.js +1 -1
- package/dist/esm/ptc-icon-minimize.entry.js +1 -1
- package/dist/esm/ptc-image-download-strip.entry.js +1 -1
- package/dist/esm/ptc-img.entry.js +132 -0
- package/dist/esm/ptc-info-tile.entry.js +1 -1
- package/dist/esm/ptc-inline-cta.entry.js +1 -1
- package/dist/esm/ptc-jumbotron.entry.js +180 -0
- package/dist/esm/ptc-link.entry.js +2 -2
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +2 -2
- package/dist/esm/ptc-minimized-nav.entry.js +1 -1
- package/dist/esm/ptc-mobile-select.entry.js +1 -1
- package/dist/esm/ptc-modal-quiz.entry.js +1 -1
- package/dist/esm/ptc-multi-select.entry.js +322 -0
- package/dist/esm/ptc-nav-card.entry.js +1 -1
- package/dist/esm/ptc-nav-link.entry.js +1 -1
- package/dist/esm/ptc-nav-pills.entry.js +1 -1
- package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
- package/dist/esm/ptc-nav-slider.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-nav-tile.entry.js +1 -1
- package/dist/esm/ptc-news.entry.js +1 -1
- package/dist/esm/ptc-office-location-card.entry.js +1 -1
- package/dist/esm/ptc-office-locations.entry.js +1 -1
- package/dist/esm/ptc-overlay.entry.js +1 -1
- package/dist/esm/ptc-picture.entry.js +181 -0
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
- package/dist/esm/ptc-preloader.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
- package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
- package/dist/esm/ptc-pricing-block.entry.js +1 -1
- package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
- package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
- package/dist/esm/ptc-product-card.entry.js +1 -1
- package/dist/esm/ptc-product-category.entry.js +1 -1
- package/dist/esm/ptc-product-dropdown.entry.js +1 -1
- package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-product-list.entry.js +1 -1
- package/dist/esm/ptc-product-sidebar.entry.js +1 -1
- package/dist/esm/ptc-progress-bar.entry.js +1 -1
- package/dist/esm/ptc-quantity-counter.entry.js +1 -1
- package/dist/esm/ptc-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-new.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-readmore.entry.js +1 -1
- package/dist/esm/ptc-related-card-rail.entry.js +1 -1
- package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
- package/dist/esm/ptc-scroll-button.entry.js +1 -1
- package/dist/esm/ptc-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +1 -1
- package/dist/esm/ptc-showcase-card.entry.js +1 -1
- package/dist/esm/ptc-skeleton.entry.js +1 -1
- package/dist/esm/ptc-slit-card.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
- package/dist/esm/ptc-social-icons.entry.js +1 -1
- package/dist/esm/ptc-span.entry.js +1 -1
- package/dist/esm/ptc-square-card.entry.js +1 -1
- package/dist/esm/ptc-sticky-icons.entry.js +1 -1
- package/dist/esm/ptc-sticky-section.entry.js +1 -1
- package/dist/esm/ptc-sticky-title.entry.js +1 -1
- package/dist/esm/ptc-store-card-list.entry.js +1 -1
- package/dist/esm/ptc-store-card.entry.js +1 -1
- package/dist/esm/ptc-subnav-card.entry.js +1 -1
- package/dist/esm/ptc-subnav-v2.entry.js +591 -0
- package/dist/esm/ptc-subnav.entry.js +1 -1
- package/dist/esm/ptc-svg-btn.entry.js +1 -1
- package/dist/esm/ptc-tab-list.entry.js +1 -1
- package/dist/esm/ptc-tab.entry.js +1 -1
- package/dist/esm/ptc-tabs.entry.js +1 -1
- package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
- package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
- package/dist/esm/ptc-tooltip.entry.js +109 -0
- package/dist/esm/ptc-two-column-media.entry.js +1 -1
- package/dist/esm/ptc-value-led-card.entry.js +1 -1
- package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
- package/dist/esm/ptc-value-led-content.entry.js +1 -1
- package/dist/esm/ptc-value-led-intro.entry.js +1 -1
- package/dist/esm/ptc-value-led-layout.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-value-prop-card.entry.js +1 -1
- package/dist/esm/ptc-video-embed.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +1 -1
- package/dist/esm/sequential-bundle.entry.js +1 -1
- package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +2 -2
- package/dist/esm/storefront-enhanced-product-list-example.entry.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/esm/{utils-a64ba942.js → utils-d14265f5.js} +1 -1
- package/dist/ptcw-design/{p-ad4f4f33.entry.js → p-00e21489.entry.js} +1 -1
- package/dist/ptcw-design/{p-17890eea.entry.js → p-04223295.entry.js} +1 -1
- package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
- package/dist/ptcw-design/p-08f607e5.entry.js +1 -0
- package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
- package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
- package/dist/ptcw-design/p-0b146b4b.entry.js +1 -0
- package/dist/ptcw-design/{p-c80265d9.entry.js → p-0c914932.entry.js} +1 -1
- package/dist/ptcw-design/{p-f004e5de.entry.js → p-0ddf2a09.entry.js} +1 -1
- package/dist/ptcw-design/{p-f9e57052.entry.js → p-136c990d.entry.js} +1 -1
- package/dist/ptcw-design/{p-36d6e662.entry.js → p-13e338a5.entry.js} +1 -1
- package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
- package/dist/ptcw-design/{p-f418ef26.entry.js → p-18d699f0.entry.js} +1 -1
- package/dist/ptcw-design/p-1a853854.entry.js +1 -0
- package/dist/ptcw-design/{p-908ad455.entry.js → p-1c63c812.entry.js} +1 -1
- package/dist/ptcw-design/{p-8482f517.entry.js → p-1cb02c28.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a07b9e3.entry.js → p-1e1ed5df.entry.js} +1 -1
- package/dist/ptcw-design/{p-752159e2.entry.js → p-1f356fcf.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
- package/dist/ptcw-design/{p-c9762c88.entry.js → p-23cb5b5b.entry.js} +1 -1
- package/dist/ptcw-design/p-243075b7.entry.js +1 -0
- package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
- package/dist/ptcw-design/p-264cd2d3.entry.js +1 -0
- package/dist/ptcw-design/p-27e39236.entry.js +1 -0
- package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
- package/dist/ptcw-design/{p-f20e4230.entry.js → p-2a22123e.entry.js} +1 -1
- package/dist/ptcw-design/{p-f4ae5a99.entry.js → p-2b08a37d.entry.js} +1 -1
- package/dist/ptcw-design/{p-315b7885.entry.js → p-2c287230.entry.js} +1 -1
- package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
- package/dist/ptcw-design/p-37f92bb4.entry.js +1 -0
- package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
- package/dist/ptcw-design/{p-9050ab76.entry.js → p-3a034cd1.entry.js} +1 -1
- package/dist/ptcw-design/p-3a24991d.entry.js +1 -0
- package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
- package/dist/ptcw-design/{p-3c941935.entry.js → p-3e4861a2.entry.js} +1 -1
- package/dist/ptcw-design/p-3eccbe24.entry.js +1 -0
- package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
- package/dist/ptcw-design/{p-3596ce5a.entry.js → p-44eac15a.entry.js} +1 -1
- package/dist/ptcw-design/{p-83632220.entry.js → p-45623f8a.entry.js} +1 -1
- package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
- package/dist/ptcw-design/p-4ab3249d.entry.js +1 -0
- package/dist/ptcw-design/{p-e2da8109.entry.js → p-4c2ffab9.entry.js} +1 -1
- package/dist/ptcw-design/{p-efe8563a.entry.js → p-4d14b3b7.entry.js} +1 -1
- package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
- package/dist/ptcw-design/{p-ed5a467e.entry.js → p-4f4f97a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-91e5c8d4.entry.js → p-506dac1f.entry.js} +1 -1
- package/dist/ptcw-design/{p-9e8e2835.entry.js → p-523141fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
- package/dist/ptcw-design/p-567535fb.entry.js +1 -0
- package/dist/ptcw-design/{p-a31f22a1.entry.js → p-571d9690.entry.js} +1 -1
- package/dist/ptcw-design/{p-c8de7309.entry.js → p-575861b3.entry.js} +1 -1
- package/dist/ptcw-design/{p-ec395ae9.entry.js → p-5877f093.entry.js} +1 -1
- package/dist/ptcw-design/{p-07b46e6e.entry.js → p-58909b95.entry.js} +1 -1
- package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
- package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c6d6a5e.entry.js → p-5dd538c4.entry.js} +1 -1
- package/dist/ptcw-design/p-5e4c1edf.entry.js +1 -0
- package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
- package/dist/ptcw-design/{p-9220308d.entry.js → p-62c56201.entry.js} +1 -1
- package/dist/ptcw-design/p-62dcdd28.entry.js +1 -0
- package/dist/ptcw-design/{p-3e13f29c.entry.js → p-66ecd7b9.entry.js} +1 -1
- package/dist/ptcw-design/p-6a561487.entry.js +1 -0
- package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
- package/dist/ptcw-design/p-6abc061b.entry.js +1 -0
- package/dist/ptcw-design/{p-32a1c28b.entry.js → p-6d27b5a2.entry.js} +1 -1
- package/dist/ptcw-design/p-711bcdad.js +1 -0
- package/dist/ptcw-design/{p-c9c55caf.entry.js → p-73fd95da.entry.js} +1 -1
- package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
- package/dist/ptcw-design/p-761a31f8.entry.js +1 -0
- package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fdd81d4.entry.js → p-7714bbaf.entry.js} +1 -1
- package/dist/ptcw-design/{p-af32c90a.entry.js → p-784cae5c.entry.js} +1 -1
- package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
- package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
- package/dist/ptcw-design/p-7da19c78.entry.js +1 -0
- package/dist/ptcw-design/{p-2fa5814b.entry.js → p-7f4919b7.entry.js} +1 -1
- package/dist/ptcw-design/p-80c69354.entry.js +1 -0
- package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
- package/dist/ptcw-design/{p-c1302aea.entry.js → p-8340bed4.entry.js} +1 -1
- package/dist/ptcw-design/{p-ff369ed7.entry.js → p-84c15835.entry.js} +1 -1
- package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
- package/dist/ptcw-design/{p-ce39cff2.entry.js → p-88d1894d.entry.js} +1 -1
- package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
- package/dist/ptcw-design/{p-e2e357e7.entry.js → p-8d4572f7.entry.js} +1 -1
- package/dist/ptcw-design/{p-cf0f6559.entry.js → p-927373d4.entry.js} +1 -1
- package/dist/ptcw-design/{p-e1bd2c43.entry.js → p-92e76318.entry.js} +1 -1
- package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ba77e9d.entry.js → p-9354b7fd.entry.js} +1 -1
- package/dist/ptcw-design/{p-3b481342.entry.js → p-9493dfa0.entry.js} +1 -1
- package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
- package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
- package/dist/ptcw-design/p-99daf693.entry.js +1 -0
- package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
- package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
- package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
- package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
- package/dist/ptcw-design/{p-6251a6d6.entry.js → p-9e4e21a4.entry.js} +1 -1
- package/dist/ptcw-design/p-9efa8199.entry.js +1 -0
- package/dist/ptcw-design/{p-5877ab67.entry.js → p-9fc6a83d.entry.js} +1 -1
- package/dist/ptcw-design/{p-afb5bdb9.entry.js → p-a04bedc2.entry.js} +1 -1
- package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
- package/dist/ptcw-design/p-a264f646.entry.js +1 -0
- package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
- package/dist/ptcw-design/{p-b6cc4c2a.entry.js → p-a41c7e39.entry.js} +1 -1
- package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f29592a.entry.js → p-a5efeb04.entry.js} +1 -1
- package/dist/ptcw-design/{p-991465fb.entry.js → p-a79f33df.entry.js} +1 -1
- package/dist/ptcw-design/{p-7123abad.entry.js → p-a7a41de8.entry.js} +1 -1
- package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
- package/dist/ptcw-design/{p-ed53cb3a.entry.js → p-a8304a3e.entry.js} +1 -1
- package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
- package/dist/ptcw-design/{p-11e86045.entry.js → p-a9533f9c.entry.js} +1 -1
- package/dist/ptcw-design/{p-e50a5a46.entry.js → p-a993c0a6.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-87f07d6b.entry.js → p-aadf9416.entry.js} +1 -1
- package/dist/ptcw-design/{p-6f1cc5e5.entry.js → p-ab4906a7.entry.js} +1 -1
- package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
- package/dist/ptcw-design/p-ac766cb3.entry.js +1 -0
- package/dist/ptcw-design/{p-e249cd90.entry.js → p-ac7b2779.entry.js} +1 -1
- package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
- package/dist/ptcw-design/p-af9912b6.entry.js +1 -0
- package/dist/ptcw-design/p-afc1e1e9.entry.js +1 -0
- package/dist/ptcw-design/{p-b82dd7f9.entry.js → p-b19cda95.entry.js} +1 -1
- package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
- package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
- package/dist/ptcw-design/{p-73293d32.entry.js → p-bf84ecc0.entry.js} +1 -1
- package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
- package/dist/ptcw-design/{p-fb0c3eeb.entry.js → p-c061b32d.entry.js} +1 -1
- package/dist/ptcw-design/{p-5344a1f4.entry.js → p-c4674bc8.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
- package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
- package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
- package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
- package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
- package/dist/ptcw-design/p-cbbe2bba.entry.js +1 -0
- package/dist/ptcw-design/{p-384548ef.entry.js → p-cc652ebe.entry.js} +1 -1
- package/dist/ptcw-design/{p-fa045097.entry.js → p-cc92b9ed.entry.js} +1 -1
- package/dist/ptcw-design/p-d6ee094b.entry.js +1 -0
- package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
- package/dist/ptcw-design/{p-81736d6a.entry.js → p-d77531c8.entry.js} +1 -1
- package/dist/ptcw-design/p-d8575311.entry.js +1 -0
- package/dist/ptcw-design/{p-f5665cfe.entry.js → p-d8b2466d.entry.js} +1 -1
- package/dist/ptcw-design/{p-e880b556.entry.js → p-db0fc94d.entry.js} +1 -1
- package/dist/ptcw-design/p-e01173ca.entry.js +1 -0
- package/dist/ptcw-design/{p-7524411a.entry.js → p-e0d95058.entry.js} +1 -1
- package/dist/ptcw-design/p-e0e87d61.entry.js +1 -0
- package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
- package/dist/ptcw-design/{p-53d2547b.entry.js → p-e3867512.entry.js} +1 -1
- package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
- package/dist/ptcw-design/p-e4fe0995.entry.js +1 -0
- package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
- package/dist/ptcw-design/{p-b1053240.entry.js → p-e73a1a0b.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9966f20.entry.js → p-e9684da3.entry.js} +1 -1
- package/dist/ptcw-design/p-eb193fd7.entry.js +404 -0
- package/dist/ptcw-design/{p-fe56e336.entry.js → p-ee91170c.entry.js} +1 -1
- package/dist/ptcw-design/{p-681d26ef.entry.js → p-eeaa2123.entry.js} +1 -1
- package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
- package/dist/ptcw-design/{p-d6271974.entry.js → p-f5d8a3b1.entry.js} +1 -1
- package/dist/ptcw-design/{p-fab2fc8d.entry.js → p-fb835c5a.entry.js} +1 -1
- package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
- package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.entry.js} +1 -1
- package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
- package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
- package/dist/ptcw-design/{p-22cf00e7.js → p-fe497e4a.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components.d.ts +62 -62
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/academic-form-test.cjs.entry.js +0 -82
- package/dist/cjs/component-06dda623.js +0 -4665
- package/dist/cjs/component-5b5b6a98.js +0 -1819
- package/dist/cjs/icon-asset_14.cjs.entry.js +0 -1982
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +0 -675
- package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +0 -4476
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
- package/dist/esm/academic-form-test.entry.js +0 -78
- package/dist/esm/component-274da230.js +0 -4663
- package/dist/esm/component-341e4eaa.js +0 -1802
- package/dist/esm/icon-asset_14.entry.js +0 -1965
- package/dist/esm/ptc-data-lookup.entry.js +0 -671
- package/dist/esm/ptc-form-checkbox_2.entry.js +0 -4471
- package/dist/esm/ptc-multi-select_2.entry.js +0 -725
- package/dist/ptcw-design/p-068b64a1.entry.js +0 -1
- package/dist/ptcw-design/p-0824f503.entry.js +0 -1
- package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
- package/dist/ptcw-design/p-1b3394a7.entry.js +0 -1
- package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
- package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
- package/dist/ptcw-design/p-2f82de8f.entry.js +0 -1
- package/dist/ptcw-design/p-32bbcb5a.entry.js +0 -1
- package/dist/ptcw-design/p-39255f59.entry.js +0 -1
- package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
- package/dist/ptcw-design/p-53e214a6.entry.js +0 -1
- package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
- package/dist/ptcw-design/p-7815e38b.entry.js +0 -1
- package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
- package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
- package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
- package/dist/ptcw-design/p-87a9a028.entry.js +0 -1
- package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
- package/dist/ptcw-design/p-89da867f.entry.js +0 -1
- package/dist/ptcw-design/p-9461c4eb.entry.js +0 -1
- package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
- package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
- package/dist/ptcw-design/p-bdb2e42c.entry.js +0 -1
- package/dist/ptcw-design/p-be533f0d.js +0 -134
- package/dist/ptcw-design/p-bf15988f.entry.js +0 -68
- package/dist/ptcw-design/p-c1513c3f.js +0 -203
- package/dist/ptcw-design/p-c33fd408.entry.js +0 -1
- package/dist/ptcw-design/p-c389eb7d.entry.js +0 -1
- package/dist/ptcw-design/p-d428ba40.entry.js +0 -1
- package/dist/ptcw-design/p-d8c1a14a.entry.js +0 -1
- package/dist/ptcw-design/p-e1373325.entry.js +0 -1
- package/dist/ptcw-design/p-e51bb274.entry.js +0 -1
- package/dist/ptcw-design/p-eabf87be.entry.js +0 -1
- package/dist/ptcw-design/p-edaf241d.entry.js +0 -1
- package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,h as t,H as e,c as a,a as i}from"./p-944c5be8.js";import{c as r}from"./p-0b33279e.js";const s=class{constructor(t){o(this,t)}render(){return t(e,null,t("div",{class:"close-icon mf-listen",id:"modal-pop-up-close-icon"},t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",tabindex:0},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z",fill:"#20262A"}))))}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:inline-block}:host:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon svg:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}";const p=class{constructor(t){o(this,t),this.closed=a(this,"closed",7),this.opened=a(this,"opened",7),this.setReturnFocus=()=>{var o,t;if(!this.lastFocusElement)return;if(0===this.lastFocusElement.tabIndex)return void this.lastFocusElement.focus();const e=this.lastFocusElement.shadowRoot;if(e){const o=e.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');if(o)return void o[o.length-1].focus()}const a=null===(t=(o=this.lastFocusElement).querySelector)||void 0===t?void 0:t.call(o,'button, [tabindex]:not([tabindex="-1"])');a instanceof HTMLElement&&a.focus()},this.handleKeyPress=o=>{"Enter"!==o.key&&" "!==o.key&&"Tab"!==o.key||(this.openedByKeyboard=!0)},this.handleMouseDown=()=>{this.openedByKeyboard=!1},this.iframeUrl=void 0,this.size="sm",this.customClass=void 0,this.show=!1,this.overlay=!0,this.fixed=!1,this.keepInViewport=!1,this.closeOnBlur=!1,this.rounded=!1,this.hideContainer=!1,this.showHeaderFooter=!1,this.hideHeader=!1,this.modernScrollbar=!1,this.overlayHeight=void 0,this.borderRadius="standard",this.isBioModal=!1,this.styles=void 0,this.modalType="default-modal",this.vhCenter=!1,this.headerOnlyBg=void 0,this.headerOnlyText1=void 0,this.headerOnlyText2=void 0,this.bottomCloseBtn=void 0,this.openedByKeyboard=!1,this.focusBackElement=void 0,this.bodyOverflowSetting=void 0}onShowChange(o){o?(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)):this.fireOnClosed(this)}fireOnClosed(o){this.closed.emit(o),document.activeElement.blur()}fireOnOpened(o){this.opened.emit(o),setTimeout((()=>{const o=this.el.shadowRoot.querySelector(".wrapper");o&&o.focus(),this.scrollToTopIfNeeded()}),100),setTimeout((()=>{this.trap=r(this.modalPopUpRef,{escapeDeactivates:!0,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0,onActivate:()=>{this.openedByKeyboard||this.trap.pause()},onDeactivate:()=>{this.close(),this.trap.deactivate(),this.setReturnFocus()},tabbableOptions:{getShadowRoot:!0}}),this.openedByKeyboard&&this.trap.activate()}),200)}scrollToTopIfNeeded(){if(this.el&&"event-listing"===this.modalType){const o=this.el.shadowRoot.querySelector(".modal-body").getBoundingClientRect().top+window.scrollY;window.scrollTo({top:o-160,behavior:"smooth"})}}connectedCallback(){document.addEventListener("keydown",this.handleKeyPress,!0),document.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeyPress,!0),document.removeEventListener("mousedown",this.handleMouseDown,!0)}componentWillLoad(){let o=document.querySelector("body");this.bodyOverflowSetting={overflowY:o.style.overflowY,overflowX:o.style.overflowX}}componentWillRender(){let o=document.querySelector("body");o&&(this.show?this.fixed?(o.style.overflowY="hidden",o.style.overflowX="hidden"):(o.style.overflowY="scroll",o.style.overflowX="hidden"):(o.style.overflowY=this.bodyOverflowSetting.overflowY,o.style.overflowX=this.bodyOverflowSetting.overflowX))}componentDidLoad(){this.show&&(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)),this.showHeaderFooter&&this.handleScroll()}resizeIframe(o){let t=o.target;setTimeout((()=>{try{t.contentDocument?t.height=`${t.contentDocument.body.scrollHeight}px`:(t.height="616px",t.removeAttribute("scrolling"))}catch(o){console.log(o),t.height="616px",t.removeAttribute("scrolling")}t.classList.add("ready")}),50)}handleScroll(){let o=this.el.shadowRoot.querySelector(".shadow-scroller");if(o){let i=o.querySelector(".modal-body");var t=i.scrollHeight,e=i.scrollTop,a=i.offsetHeight;i.clientHeight<t&&(e>0?o.classList.add("scroll-top"):o.classList.remove("scroll-top"),a+e<t?o.classList.add("scroll-bottom"):o.classList.remove("scroll-bottom"))}}close(){this.show=!1,setTimeout((()=>{var o,t;this.focusBackElement&&(null===(o=this.focusBackElement)||void 0===o||o.focus(),"PTC-BUTTON"===this.focusBackElement.tagName&&(null===(t=this.focusBackElement.shadowRoot.querySelector("button"))||void 0===t||t.focus()))}),100)}render(){let o,a,i=this.iframeUrl?"frame":"html",r=t("div",{class:"close",id:"modal-close"},t("ptc-close-icon",{onClick:o=>{o.preventDefault(),this.close()},onKeyPress:o=>{o.preventDefault(),this.close(),this.setReturnFocus(),this.trap&&this.trap.deactivate()}})),s=t("div",{tabindex:"0",class:"bottom-close",id:"modal-bottom-close",onClick:o=>{o.preventDefault(),this.close()},onKeyPress:o=>{o.preventDefault(),this.close(),this.setReturnFocus(),this.trap&&this.trap.deactivate()}},t("span",null,this.bottomCloseBtn));return o=this.iframeUrl?t("iframe",{src:this.iframeUrl,frameBorder:0,allowFullScreen:!1,height:"100%",width:"100%",scrolling:"no",onLoad:this.resizeIframe}):t("slot",this.showHeaderFooter?{name:"body"}:null),this.overlay&&(a=t("div",this.closeOnBlur?{class:"overlay",onClick:()=>this.close()}:{class:"overlay"})),t(e,{class:this.getCssClassMap()},this.styles&&t("style",null,this.styles),t("div",{class:`wrapper ${this.show?"show":"hide"} ${this.fixed?"fixed":""} `},a,t("div",{class:`modal-popup ${this.customClass?this.customClass:""} ${this.size} ${i} ${this.rounded?"rounded":""} ${this.showHeaderFooter?"shadow-scroller":""} `,ref:o=>this.modalPopUpRef=o},"event-listing"===this.modalType&&this.headerOnlyBg?[t("div",{class:"event-list-header"},t("ptc-img",{"img-url":this.headerOnlyBg,"image-type":"smart-img",styles:".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}"}),t("div",{class:"text-wrapper"},t("span",null,this.headerOnlyText1?this.headerOnlyText1:""),t("span",null,this.headerOnlyText2?this.headerOnlyText2:"")))]:null,this.showHeaderFooter?[!this.hideHeader&&t("div",{class:"modal-header"},t("slot",{name:"header"}),r),this.hideHeader&&r,t("div",{class:"modal-body "+(this.modernScrollbar?"modern-scrollbar":""),onScroll:()=>this.handleScroll()},o),t("div",{class:"modal-footer"},t("slot",{name:"footer"}))]:[r,t("div",{class:"modal-body "+(this.modernScrollbar?"modern-scrollbar":"")},o)],"event-listing"===this.modalType&&this.bottomCloseBtn?[s]:null)))}getCssClassMap(){return{"no-container":this.hideContainer,"bio-modal":this.isBioModal,"enclose-modal":!this.isBioModal&&this.keepInViewport,[this.borderRadius]:!0,[this.modalType]:!0,"vh-center":this.vhCenter}}async showModal(){this.show=!0}async hideModal(){this.show=!1}async toggleModal(){this.show=!this.show}async reloadIframe(){if(this.iframeUrl){let o=this.el.shadowRoot.querySelector("iframe");o&&(o.src=o.src)}}get el(){return i(this)}static get watchers(){return{show:["onShowChange"]}}};p.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar{width:6px}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar-track{border-radius:var(--ptc-border-radius-pill)}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar-thumb{background:var(--color-gray-03);border-radius:var(--ptc-border-radius-pill)}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}:host(.event-listing) .wrapper .modal-popup{max-width:unset;width:calc(100% - 48px);top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px;position:absolute}:host(.vh-center) .wrapper .modal-popup{top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px auto;position:absolute}:host(.thank-you) .wrapper .modal-popup{max-width:calc(100% - 48px);width:100%}@media only screen and (min-width: 480px){:host(.thank-you) .wrapper .modal-popup{max-width:640px;width:80%}}:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 24px 48px 24px;box-sizing:border-box}@media only screen and (min-width: 992px){:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 48px 48px 48px}}:host .wrapper .event-list-header{display:flex;position:absolute;width:100%;height:118px;left:0;transform:translateY(-100%);border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;align-items:center;padding:var(--ptc-element-spacing-06);box-sizing:border-box}:host .wrapper .event-list-header::before{content:"";position:absolute;left:0;width:100%;height:100%;border-radius:4px 4px 0px 0px;background:linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:1}:host .wrapper .event-list-header+.close{margin-top:0px;margin-right:0px;width:40px;height:40px;display:flex;justify-content:center;align-items:center}:host .wrapper .event-list-header .text-wrapper{display:flex;flex-wrap:wrap;-moz-column-gap:0.5em;column-gap:0.5em}:host .wrapper .event-list-header .text-wrapper span{display:inline-block;color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);position:relative;z-index:2}:host .wrapper .event-list-header .text-wrapper span:first-of-type{font-weight:var(--ptc-font-weight-extrabold)}:host .wrapper .event-mobile-modal{border-top-left-radius:0px;border-top-right-radius:0px}:host .wrapper .bottom-close{text-align:center;margin:0 auto 40px auto}:host .wrapper .bottom-close span{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .wrapper .bottom-close span:hover{color:var(--color-blue-08)}:host .wrapper .bottom-close:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}';export{s as ptc_close_icon,p as ptc_modal}
|
|
1
|
+
import{r as o,h as t,H as e,c as a,g as i}from"./p-ac75c7ad.js";import{c as r}from"./p-0b33279e.js";const s=class{constructor(t){o(this,t)}render(){return t(e,null,t("div",{class:"close-icon mf-listen",id:"modal-pop-up-close-icon"},t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",tabindex:0},t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z",fill:"#20262A"}))))}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:inline-block}:host:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon svg:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}";const p=class{constructor(t){o(this,t),this.closed=a(this,"closed",7),this.opened=a(this,"opened",7),this.setReturnFocus=()=>{var o,t;if(!this.lastFocusElement)return;if(0===this.lastFocusElement.tabIndex)return void this.lastFocusElement.focus();const e=this.lastFocusElement.shadowRoot;if(e){const o=e.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');if(o)return void o[o.length-1].focus()}const a=null===(t=(o=this.lastFocusElement).querySelector)||void 0===t?void 0:t.call(o,'button, [tabindex]:not([tabindex="-1"])');a instanceof HTMLElement&&a.focus()},this.handleKeyPress=o=>{"Enter"!==o.key&&" "!==o.key&&"Tab"!==o.key||(this.openedByKeyboard=!0)},this.handleMouseDown=()=>{this.openedByKeyboard=!1},this.iframeUrl=void 0,this.size="sm",this.customClass=void 0,this.show=!1,this.overlay=!0,this.fixed=!1,this.keepInViewport=!1,this.closeOnBlur=!1,this.rounded=!1,this.hideContainer=!1,this.showHeaderFooter=!1,this.hideHeader=!1,this.modernScrollbar=!1,this.overlayHeight=void 0,this.borderRadius="standard",this.isBioModal=!1,this.styles=void 0,this.modalType="default-modal",this.vhCenter=!1,this.headerOnlyBg=void 0,this.headerOnlyText1=void 0,this.headerOnlyText2=void 0,this.bottomCloseBtn=void 0,this.openedByKeyboard=!1,this.focusBackElement=void 0,this.bodyOverflowSetting=void 0}onShowChange(o){o?(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)):this.fireOnClosed(this)}fireOnClosed(o){this.closed.emit(o),document.activeElement.blur()}fireOnOpened(o){this.opened.emit(o),setTimeout((()=>{const o=this.el.shadowRoot.querySelector(".wrapper");o&&o.focus(),this.scrollToTopIfNeeded()}),100),setTimeout((()=>{this.trap=r(this.modalPopUpRef,{escapeDeactivates:!0,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0,onActivate:()=>{this.openedByKeyboard||this.trap.pause()},onDeactivate:()=>{this.close(),this.trap.deactivate(),this.setReturnFocus()},tabbableOptions:{getShadowRoot:!0}}),this.openedByKeyboard&&this.trap.activate()}),200)}scrollToTopIfNeeded(){if(this.el&&"event-listing"===this.modalType){const o=this.el.shadowRoot.querySelector(".modal-body").getBoundingClientRect().top+window.scrollY;window.scrollTo({top:o-160,behavior:"smooth"})}}connectedCallback(){document.addEventListener("keydown",this.handleKeyPress,!0),document.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeyPress,!0),document.removeEventListener("mousedown",this.handleMouseDown,!0)}componentWillLoad(){let o=document.querySelector("body");this.bodyOverflowSetting={overflowY:o.style.overflowY,overflowX:o.style.overflowX}}componentWillRender(){let o=document.querySelector("body");o&&(this.show?this.fixed?(o.style.overflowY="hidden",o.style.overflowX="hidden"):(o.style.overflowY="scroll",o.style.overflowX="hidden"):(o.style.overflowY=this.bodyOverflowSetting.overflowY,o.style.overflowX=this.bodyOverflowSetting.overflowX))}componentDidLoad(){this.show&&(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)),this.showHeaderFooter&&this.handleScroll()}resizeIframe(o){let t=o.target;setTimeout((()=>{try{t.contentDocument?t.height=`${t.contentDocument.body.scrollHeight}px`:(t.height="616px",t.removeAttribute("scrolling"))}catch(o){console.log(o),t.height="616px",t.removeAttribute("scrolling")}t.classList.add("ready")}),50)}handleScroll(){let o=this.el.shadowRoot.querySelector(".shadow-scroller");if(o){let i=o.querySelector(".modal-body");var t=i.scrollHeight,e=i.scrollTop,a=i.offsetHeight;i.clientHeight<t&&(e>0?o.classList.add("scroll-top"):o.classList.remove("scroll-top"),a+e<t?o.classList.add("scroll-bottom"):o.classList.remove("scroll-bottom"))}}close(){this.show=!1,setTimeout((()=>{var o,t;this.focusBackElement&&(null===(o=this.focusBackElement)||void 0===o||o.focus(),"PTC-BUTTON"===this.focusBackElement.tagName&&(null===(t=this.focusBackElement.shadowRoot.querySelector("button"))||void 0===t||t.focus()))}),100)}render(){let o,a,i=this.iframeUrl?"frame":"html",r=t("div",{class:"close",id:"modal-close"},t("ptc-close-icon",{onClick:o=>{o.preventDefault(),this.close()},onKeyPress:o=>{o.preventDefault(),this.close(),this.setReturnFocus(),this.trap&&this.trap.deactivate()}})),s=t("div",{tabindex:"0",class:"bottom-close",id:"modal-bottom-close",onClick:o=>{o.preventDefault(),this.close()},onKeyPress:o=>{o.preventDefault(),this.close(),this.setReturnFocus(),this.trap&&this.trap.deactivate()}},t("span",null,this.bottomCloseBtn));return o=this.iframeUrl?t("iframe",{src:this.iframeUrl,frameBorder:0,allowFullScreen:!1,height:"100%",width:"100%",scrolling:"no",onLoad:this.resizeIframe}):t("slot",this.showHeaderFooter?{name:"body"}:null),this.overlay&&(a=t("div",this.closeOnBlur?{class:"overlay",onClick:()=>this.close()}:{class:"overlay"})),t(e,{class:this.getCssClassMap()},this.styles&&t("style",null,this.styles),t("div",{class:`wrapper ${this.show?"show":"hide"} ${this.fixed?"fixed":""} `},a,t("div",{class:`modal-popup ${this.customClass?this.customClass:""} ${this.size} ${i} ${this.rounded?"rounded":""} ${this.showHeaderFooter?"shadow-scroller":""} `,ref:o=>this.modalPopUpRef=o},"event-listing"===this.modalType&&this.headerOnlyBg?[t("div",{class:"event-list-header"},t("ptc-img",{"img-url":this.headerOnlyBg,"image-type":"smart-img",styles:".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}"}),t("div",{class:"text-wrapper"},t("span",null,this.headerOnlyText1?this.headerOnlyText1:""),t("span",null,this.headerOnlyText2?this.headerOnlyText2:"")))]:null,this.showHeaderFooter?[!this.hideHeader&&t("div",{class:"modal-header"},t("slot",{name:"header"}),r),this.hideHeader&&r,t("div",{class:"modal-body "+(this.modernScrollbar?"modern-scrollbar":""),onScroll:()=>this.handleScroll()},o),t("div",{class:"modal-footer"},t("slot",{name:"footer"}))]:[r,t("div",{class:"modal-body "+(this.modernScrollbar?"modern-scrollbar":"")},o)],"event-listing"===this.modalType&&this.bottomCloseBtn?[s]:null)))}getCssClassMap(){return{"no-container":this.hideContainer,"bio-modal":this.isBioModal,"enclose-modal":!this.isBioModal&&this.keepInViewport,[this.borderRadius]:!0,[this.modalType]:!0,"vh-center":this.vhCenter}}async showModal(){this.show=!0}async hideModal(){this.show=!1}async toggleModal(){this.show=!this.show}async reloadIframe(){if(this.iframeUrl){let o=this.el.shadowRoot.querySelector("iframe");o&&(o.src=o.src)}}get el(){return i(this)}static get watchers(){return{show:["onShowChange"]}}};p.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar{width:6px}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar-track{border-radius:var(--ptc-border-radius-pill)}.wrapper .modal-popup .modal-body.modern-scrollbar::-webkit-scrollbar-thumb{background:var(--color-gray-03);border-radius:var(--ptc-border-radius-pill)}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}:host(.event-listing) .wrapper .modal-popup{max-width:unset;width:calc(100% - 48px);top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px;position:absolute}:host(.vh-center) .wrapper .modal-popup{top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px auto;position:absolute}:host(.thank-you) .wrapper .modal-popup{max-width:calc(100% - 48px);width:100%}@media only screen and (min-width: 480px){:host(.thank-you) .wrapper .modal-popup{max-width:640px;width:80%}}:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 24px 48px 24px;box-sizing:border-box}@media only screen and (min-width: 992px){:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 48px 48px 48px}}:host .wrapper .event-list-header{display:flex;position:absolute;width:100%;height:118px;left:0;transform:translateY(-100%);border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;align-items:center;padding:var(--ptc-element-spacing-06);box-sizing:border-box}:host .wrapper .event-list-header::before{content:"";position:absolute;left:0;width:100%;height:100%;border-radius:4px 4px 0px 0px;background:linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:1}:host .wrapper .event-list-header+.close{margin-top:0px;margin-right:0px;width:40px;height:40px;display:flex;justify-content:center;align-items:center}:host .wrapper .event-list-header .text-wrapper{display:flex;flex-wrap:wrap;-moz-column-gap:0.5em;column-gap:0.5em}:host .wrapper .event-list-header .text-wrapper span{display:inline-block;color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);position:relative;z-index:2}:host .wrapper .event-list-header .text-wrapper span:first-of-type{font-weight:var(--ptc-font-weight-extrabold)}:host .wrapper .event-mobile-modal{border-top-left-radius:0px;border-top-right-radius:0px}:host .wrapper .bottom-close{text-align:center;margin:0 auto 40px auto}:host .wrapper .bottom-close span{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .wrapper .bottom-close span:hover{color:var(--color-blue-08)}:host .wrapper .bottom-close:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}';export{s as ptc_close_icon,p as ptc_modal}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,h as e,H as t,
|
|
1
|
+
import{r as c,h as e,H as t,g as p}from"./p-ac75c7ad.js";const o=class{constructor(e){c(this,e),this.groupName=void 0,this.type="card"}componentDidLoad(){this.addCheckboxChangeListeners()}addCheckboxChangeListeners(){document.querySelectorAll(`input[name="${this.groupName}"]`).forEach((c=>{c.addEventListener("change",(()=>this.handleCheckboxChange()))})),document.querySelectorAll(`#select-all-${this.groupName}`).forEach((c=>{c.addEventListener("change",(()=>this.selectAllProducts()))}))}handleCheckboxChange(){const c=this.el.querySelectorAll(`input[name="${this.groupName}"]`),e=this.el.querySelector(`#select-all-${this.groupName}`),t=Array.from(c).every((c=>c.checked));e.checked=t}selectAllProducts(){const c=this.el.querySelectorAll(`input[name="${this.groupName}"]`),e=this.el.querySelector(`#select-all-${this.groupName}`),t=Array.from(c).every((c=>c.checked));c.forEach((c=>{c.checked=!t})),e.checked=!t}render(){return e(t,{class:`pcg-${this.type}`},e("slot",{name:"title"}),e("slot",null))}get el(){return p(this)}};o.style='h1.sc-ptc-checkbox-group,h2.sc-ptc-checkbox-group,h3.sc-ptc-checkbox-group,h4.sc-ptc-checkbox-group,h5.sc-ptc-checkbox-group,h6.sc-ptc-checkbox-group,p.sc-ptc-checkbox-group,ul.sc-ptc-checkbox-group,li.sc-ptc-checkbox-group,ptc-subnav.sc-ptc-checkbox-group,ptc-tab-list.sc-ptc-checkbox-group,ptc-link.sc-ptc-checkbox-group,ptc-square-card.sc-ptc-checkbox-group,.hyphenate-text.sc-ptc-checkbox-group,ptc-footer.sc-ptc-checkbox-group{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-checkbox-group,h2.sc-ptc-checkbox-group,h3.sc-ptc-checkbox-group,h4.sc-ptc-checkbox-group,h5.sc-ptc-checkbox-group,h6.sc-ptc-checkbox-group,p.sc-ptc-checkbox-group,ul.sc-ptc-checkbox-group,li.sc-ptc-checkbox-group,ptc-subnav.sc-ptc-checkbox-group,ptc-tab-list.sc-ptc-checkbox-group,ptc-link.sc-ptc-checkbox-group,ptc-square-card.sc-ptc-checkbox-group,.hyphenate-text.sc-ptc-checkbox-group,ptc-footer.sc-ptc-checkbox-group{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-checkbox-group-h{display:block;margin-bottom:44px}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.group-title input[type=checkbox],.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card input[type=checkbox]{width:24px;height:24px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid var(--color-gray-07);display:inline-block;box-sizing:border-box;margin:5px 0 0 0;padding:0;min-width:24px;background-size:cover}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.group-title input[type=checkbox]:checked,.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card input[type=checkbox]:checked{background-image:url(\'data:image/svg+xml,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="24" height="24" fill="%2300890B"/><path fill-rule="evenodd" clip-rule="evenodd" d="M17.4058 7.09948C17.2409 6.93808 17.0404 6.85718 16.8045 6.85718C16.5685 6.85718 16.3675 6.93808 16.2027 7.09948L10.3983 12.7882L7.79739 10.2337C7.63191 10.0723 7.43141 9.99142 7.19548 9.99142C6.95955 9.99142 6.75905 10.0723 6.5937 10.2337L5.39043 11.4111C5.22549 11.573 5.14282 11.7691 5.14282 12.0001C5.14282 12.231 5.22549 12.4276 5.39043 12.589L8.59328 15.7232L9.79697 16.9006C9.9619 17.0625 10.1624 17.1429 10.3983 17.1429C10.6343 17.1429 10.8348 17.0625 11.0001 16.9006L12.2034 15.7232L18.6095 9.45474C18.7744 9.29294 18.8571 9.09674 18.8571 8.86586C18.8571 8.63498 18.7744 8.43878 18.6095 8.27684L17.4058 7.09948Z" fill="white"/></svg>\');border-color:transparent}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.group-title{display:flex;align-items:center;margin-bottom:var(--ptc-element-spacing-03)}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.group-title label{margin-left:var(--ptc-element-spacing-03);cursor:pointer}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.group-title input[type=checkbox]{width:14px;min-width:14px;height:14px;margin:4px 8px -1px 0}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card{cursor:pointer;display:flex;align-items:flex-start;background-color:var(--color-white);margin-bottom:var(--ptc-element-spacing-03);padding:var(--ptc-layout-spacing-03)}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card .card-description{padding-left:var(--ptc-element-spacing-03)}@media only screen and (min-width: 768px){.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card .card-description{padding-left:var(--ptc-element-spacing-07)}}.sc-ptc-checkbox-group-h.sc-ptc-checkbox-group-s>.checkbox-card ptc-form-checkbox .mdc-form-field{width:auto;margin:0}.sc-ptc-checkbox-group-h.pcg-single.sc-ptc-checkbox-group-s>.checkbox-card input[type=checkbox]{margin:0}';export{o as ptc_checkbox_group}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as n}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e,H as n}from"./p-ac75c7ad.js";const s=class{constructor(e){t(this,e),this.addToCartClicked=i(this,"addToCartClicked",7),this.defaultStyles=".ptc-quaternary{width: 100%; border-radius: 0px 0px 4px 4px !important;} .tracker-div { display: block !important}",this.handleDecrement=()=>{this.count>1&&(this.count-=1)},this.handleIncrement=()=>{this.count<999&&(this.count+=1)},this.handleInputChange=t=>{const i=t.target,e=parseInt(i.value);isNaN(e)?isNaN(e)&&(i.value=`${this.count}`):e<1?(i.value="1",this.count=1):e>999?(i.value="999",this.count=999):this.count=e},this.selectText=()=>{this.itemCountInput&&(this.itemCountInput.focus(),this.itemCountInput.select())},this.addToCart=()=>{var t;if(!this.disabled){if(this.addToCartClicked.emit({sender:this,itemCount:null===(t=this.itemCountInput)||void 0===t?void 0:t.value}),this.addToCartCta){try{let t=this.addToCartCta.offsetWidth>50?this.addToCartCta.offsetWidth:this.addToCartCta.clientWidth;t<50&&(t=this.addToCartCta.shadowRoot.querySelector("button").getBoundingClientRect().width),t>50&&(this.addToCartCta.styles=`button{width:${t}px !important}${this.defaultStyles}`)}catch(t){console.log(t)}this.addToCartCta.classList.add("added"),this.addToCartCta.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="12" viewBox="0 0 16 12" fill="none">\n <path d="M1.71436 4.92857L6.28578 9.5L14.2858 1.5" stroke="white" stroke-width="3" stroke-linecap="round"/>\n</svg>${this.addedLabel}`}setTimeout((()=>{this.addToCartCta&&(this.addToCartCta.classList.remove("added"),this.addToCartCta.innerHTML=this.addToCartLabel,this.addToCartCta.styles=this.defaultStyles)}),3e3)}},this.count=1,this.addToCartLabel="Add to Cart",this.addedLabel="Added",this.disabled=!1}render(){return e(n,null,e("div",{class:"quantity-counter"},e("button",{class:"decrement mf-listen",onClick:this.handleDecrement,disabled:this.disabled,tabindex:"-1"},e("span",{tabindex:"0"},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none"},e("path",{d:"M0 3.15039V4.85039H8V3.15039H0Z",fill:"#20262A"})))),e("input",{type:"number",onInput:this.handleInputChange,onClick:this.selectText,min:"1",max:"999",value:this.count,ref:t=>this.itemCountInput=t,disabled:this.disabled,class:"mf-listen"}),e("button",{class:"increment mf-listen",onClick:this.handleIncrement,disabled:this.disabled,tabindex:"-1"},e("span",{tabindex:"0"},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"8",height:"8",viewBox:"0 0 8 8",fill:"none"},e("g",{"clip-path":"url(#clip0_2974_659)"},e("path",{d:"M7.95006 3.14981H4.85005V0.0498047H3.15005V3.14981H0.0500488V4.84981H3.15005V7.9498H4.85005V4.84981H7.95006V3.14981Z",fill:"#20262A"})),e("defs",null,e("clipPath",{id:"clip0_2974_659"},e("rect",{width:"8",height:"8",fill:"white"}))))))),e("ptc-button",{disabled:this.disabled,type:"button",color:"ptc-quaternary",onClick:this.addToCart,ref:t=>this.addToCartCta=t,styles:this.defaultStyles},this.addToCartLabel))}};s.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:inline-block;min-width:145px}:host .ptc-quaternary{width:100%}:host .quant-wrap{display:flex;flex-direction:column;width:100%}:host .quantity-counter{display:flex;align-items:flex-end;width:100%;box-sizing:border-box;justify-content:space-between}:host .quantity-counter button{width:44px;height:44px;border:none;display:flex;align-items:flex-end;justify-content:center;background-color:transparent;cursor:pointer;font-size:var(--ptc-font-size-x-small);-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:0}:host .quantity-counter button span{border:1px solid var(--color-gray-03);border-bottom:none;display:block;width:44px;height:32px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;border-radius:4px 0 0px 0px}:host .quantity-counter button span svg path{fill:var(--color-gray-12)}:host .quantity-counter button span:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard) !important;outline:5px solid var(--keyboard-nav-outline);z-index:1}:host .quantity-counter button.increment span{border-radius:0px 4px 0px 0px}:host .quantity-counter button:hover span{background-color:var(--color-gray-02)}:host .quantity-counter button:active span{transition:none;background-color:var(--color-gray-03)}:host .quantity-counter input{width:100%;height:32px;text-align:center;border:1px solid var(--color-gray-03);border-left:none;border-right:none;border-bottom:none;font-size:16px;text-align:center;font-weight:700;box-sizing:border-box;color:var(--color-gray-10);border-radius:0px;-moz-appearance:textfield;font-family:var(--ptc-font-latin)}:host .quantity-counter input::-webkit-outer-spin-button,:host .quantity-counter input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host .quantity-counter input:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard) !important;outline:5px solid var(--keyboard-nav-outline);z-index:1}:host ptc-button svg{margin-right:8px}:host ptc-button.added{pointer-events:none}";export{s as ptc_quantity_counter}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-ac75c7ad.js";const i=class{constructor(t){e(this,t),this.linkHref=void 0,this.linkTarget="_self"}render(){return t("div",{class:"dropdown-item"},t("slot",null))}};i.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.dropdown-item{transition:background-color ease-out 250ms;max-width:240px}@media only screen and (min-width: 480px){.dropdown-item{max-width:400px}}@media only screen and (min-width: 992px){.dropdown-item{max-width:650px}}.dropdown-item:active{transition:background-color ease-out 0ms}.dropdown-item:hover,.dropdown-item:active,.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--color-gray-02)}.dropdown-item span{display:block;padding:0.75rem 1.5rem;font-family:"Raleway";font-style:normal;font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);color:var(--color-gray-12);text-decoration:none}.dropdown-item span:hover,.dropdown-item span:visited,.dropdown-item span:active,.dropdown-item span:focus,.dropdown-item span:focus-visible{color:var(--color-gray-12)}';export{i as dropdown_item}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as a,
|
|
1
|
+
import{r as t,c as e,h as i,H as a,g as s}from"./p-ac75c7ad.js";const n=class{constructor(i){t(this,i),this.ctaFocussed=e(this,"ctaFocussed",7),this.ctaFocussedHandler=()=>{this.ctaFocussed.emit({"card-index":this.cardIndex})},this.componentWillLoad=()=>{this.featureCallouts=[];let t=this.el.querySelectorAll('[slot^="feature-callout-"]');if(t&&t.length>0)for(let e of Array.from(t))this.featureCallouts.push(e.innerText);let e=this.el.querySelector('[slot="cta"]');e&&(this.cta.href=e.href,this.cta.title=e.title,this.cta.text=e.text,this.cta.target=e.target)},this.componentDidLoad=()=>{var t;let e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ptc-button");e&&e.addEventListener("focus",(()=>this.ctaFocussedHandler()))},this.cardIndex=0,this.theme="standard",this.disablePriceLabel=void 0,this.featureCallouts=[],this.cta={href:"",title:"",text:"",target:""}}render(){const t=this.getCssClassMap();return i(a,null,i("div",{class:t},"standard"==this.theme&&i("div",{class:"ribbon"},i("svg",{class:"ribbon-wrap-around",xmlns:"http://www.w3.org/2000/svg",width:"4",height:"4",viewBox:"0 0 4 4",fill:"none"},i("path",{d:"M4 3.02124L0 0.0212402H4V3.02124Z",fill:"#08283E"})),i("slot",{name:"ribbon-text"})),i("div",{class:"flex-start"},i("ptc-title",{"seo-compatibility-mode":!0,type:"h3","text-align":"left","title-size":"large","title-color":"gray",upperline:"no-upperline","title-display":"block","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},i("h3",null,i("slot",{name:"heading"}))),i("ptc-para",{"seo-compatibility-mode":!0,"font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-5"},i("p",null,i("slot",{name:"description"}))),i("div",null,this.featureCallouts.length>0&&this.featureCallouts.map(((t,e)=>i("ptc-icon-list",{"is-last-item":e===this.featureCallouts.length-1?"true":"false","no-bottom-space":e===this.featureCallouts.length-1?"true":"false","list-content":t,"list-type":"feature-callout-list"},i("icon-asset",{slot:"icon",type:"ptc",size:"x-small",name:"checkmark",color:"ptc-green"})))))),i("div",{class:"flex-end"},i("div",{class:"pricing"},!this.disablePriceLabel&&i("span",{class:"pricing-label"},i("slot",{name:"pricing-label"})),i("span",{class:"pricing-value"},i("slot",{name:"pricing-value"}))),i("ptc-button",{color:"ptc-quaternary","link-href":this.cta.href,"button-title":this.cta.title||this.cta.text,target:this.cta.target,type:"button","tracker-id":`eplc${this.cardIndex}-cta`},this.cta.text))))}getCssClassMap(){return{[this.theme]:!0,card:!0}}get el(){return s(this)}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;height:100%}:host .card{display:flex;flex-direction:column;gap:24px;justify-content:space-between;position:relative;padding:32px 32px 40px 32px;box-sizing:border-box;width:288px;height:100%;border-radius:var(--ptc-border-radius-standard);background:#fff;box-shadow:var(--ptc-shadow-small)}:host .card.alternate{padding:40px 32px;min-width:288px}:host .ribbon{position:absolute;top:32px;left:-4px;border-radius:0px 4px 4px 0px;background:var(--color-blue-07);display:flex;padding:6px 28px;justify-content:center;align-items:center;color:#fff;font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest)}:host .ribbon .ribbon-wrap-around{position:absolute;bottom:-4px;left:0px}:host .flex-start{padding-top:48px}:host .alternate .flex-start{padding-top:0px}:host .pricing{display:flex;gap:4px;align-items:flex-end;margin-bottom:16px}:host .pricing .pricing-label{color:var(--color-gray-10);font-family:Raleway;font-size:var(--ptc-font-size-x-small);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);line-height:var(--ptc-line-height-p)}:host .pricing .pricing-value{color:var(--color-gray-10, #323b42);font-family:Raleway;font-size:var(--ptc-font-size-x-large);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-extrabold);line-height:35px}@media only screen and (min-width: 480px){:host .card.standard{width:348px}}@media only screen and (min-width: 768px){:host .card:not(.alternate){width:100%}}@media only screen and (min-width: 992px){:host .card.alternate{width:100%}}@media only screen and (min-width: 480px){:host(.two-card) .card.alternate{width:348px}}@media only screen and (min-width: 768px){:host(.two-card) .card.alternate{width:100%}}";export{n as ptc_enhanced_product_listing_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,h as r,H as t}from"./p-
|
|
1
|
+
import{r as n,h as r,H as t}from"./p-ac75c7ad.js";const i=class{constructor(r){n(this,r),this.type="para",this.width=void 0}render(){return r(t,null,r("div",{class:"skeleton"},r("div",{class:`skeleton-block ${this.type}`,style:{width:`${this.width}`}})))}};i.style=":host {\r\n display: block;\r\n}\r\n\r\n.skeleton {\r\n\tdisplay: flex;\r\n\tflex-direction: column;\r\n\t&.centered {\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t&.padding-left-sm {\r\n\t\tpadding-left: 14px;\r\n\t}\r\n}\r\n\r\n.skeleton-block {\r\n\theight: 24px;\r\n\tbackground: linear-gradient(\r\n\t\tto right,\r\n\t\t#f6f6f6 25%,\r\n\t\t#e4e7e9 50%,\r\n\t\t#f6f6f6 75%\r\n\t);\r\n\tbackground-size: 200% 100%;\r\n\tmargin-bottom: 8px;\r\n\tborder-radius: 4px;\r\n\tanimation: loading 2.5s ease-in-out infinite;\r\n\twidth: 100%;\r\n}\r\n\r\n.skeleton-block {\r\n\t&.long {\r\n\t\twidth: 80%;\r\n\t}\r\n\r\n\t&.wide {\r\n\t\twidth: 70%;\r\n\t}\r\n\r\n\t&.wide-sm {\r\n\t\twidth: 60%;\r\n\t}\r\n\r\n\t&.medium {\r\n\t\twidth: 50%;\r\n\t}\r\n\r\n\t/* &.medium-md {\r\n\t\t@include screen-md {\r\n\t\t\twidth: 50%;\r\n\t\t}\r\n\t} */\r\n\r\n\t&.short {\r\n\t\twidth: 30%;\r\n\t}\r\n\r\n\t&.narrow {\r\n\t\twidth: 20%;\r\n\t}\t\r\n\r\n\t&.center {\r\n\t\tmargin-left: auto;\r\n\t\tmargin-right: auto;\r\n\t}\r\n\r\n\t&.left {\r\n\t\tmargin-right: auto;\r\n\t}\r\n\r\n\t&.right {\r\n\t\tmargin-left: auto;\r\n\t}\r\n\r\n &.caption {\r\n height: 32px;\r\n }\r\n\r\n &.para {\r\n height: 96px;\r\n }\r\n\r\n &.text-body {\r\n height: 192px;\r\n }\r\n\r\n &.button {\r\n height: 48px;\r\n }\r\n\r\n &.small-para {\r\n height: 40px;\r\n }\r\n\r\n &.divider {\r\n height: 1px;\r\n }\r\n\r\n &.multi-line{\r\n height: 24px;\r\n }\r\n\r\n &.title {\r\n height: 16px;\r\n }\r\n\r\n &.line {\r\n height: 8px;\r\n }\r\n}\r\n";export{i as ptc_preloader}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as i,g as a}from"./p-ac75c7ad.js";const o=class{constructor(i){t(this,i),this.tabChange=e(this,"tabChange",7),this.tabs=[]}componentWillLoad(){if(this.tabs=Array.from(this.el.querySelectorAll("ptc-tab")),0===this.tabs.length)throw new Error("[ptc-tabs] Must have at least one tab")}async openTab(t){if(t>=this.tabs.length)throw new Error(`[ptc-tabs] Index ${t} is out of bounds of tabs length`);this.tabs[t].disabled||(this.tabs=this.tabs.map(((e,i)=>(e.active=i===t,e))),this.tabChange.emit({tabId:t}))}render(){const t=this.getCssClassMap();return i("div",{class:t},this.tabs.map(((e,a)=>[i("div",{role:"tab",class:{"tab-button":!0,active:e.active},onClick:()=>this.openTab(a)},e.label,e.price,i("div",{class:t},i("span",{class:"left-text"},i("slot",{name:"right-text"})),i("span",{class:"right-text"},i("slot",{name:"right-text"}))))])))}getCssClassMap(){return{"tabs-list":!0}}get el(){return a(this)}};o.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;margin-top:var(--ptc-element-spacing-03);color:var(--color-gray-12);box-sizing:border-box}:host .ptc-pricing-block{width:100%;background-color:var(--color-gray-02);border-radius:var(--ptc-border-radius-standard);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);display:block;transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium)}:host .ptc-pricing-block.active{background-color:var(--color-gray-12);color:var(--color-white)}:host .ptc-pricing-block:hover:not(.active){background-color:var(--color-gray-03)}:host .right-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);text-align:right;float:right;margin:15px 20px 15px 15px;display:block}:host .left-text{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-align:left;margin:15px 15px 15px 20px;display:inline-block}.tabs-list{border-bottom:1px solid #dddddd;padding:0 5px}.tab-button{border:0;font-size:14px;padding:8px;outline:none;cursor:pointer}.tab-button:hover:not(:disabled):not(.active){border-bottom:3px solid grey}.tab-button:disabled{opacity:0.4}.tab-button.active{border-bottom:3px solid blue;font-weight:600}";export{o as ptc_tabs}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as a,
|
|
1
|
+
import{r as e,h as t,H as a,g as l}from"./p-ac75c7ad.js";const h=class{constructor(t){e(this,t)}updateAllCheckbox(e){this.el.querySelectorAll("input").forEach((t=>{"checkbox"==t.type&&(t.checked=e)}))}componentDidLoad(){this.onDataLookup()}render(){return t(a,null,t("div",{class:"sel-all-wrapper"},t("span",{class:"select-all",onClick:()=>{this.updateAllCheckbox(!0)}},"Select All"),t("span",{class:"deselect-all",onClick:()=>{this.updateAllCheckbox(!1)}},"Deselect All")),t("slot",null))}onDataLookup(){const e=this.el.closest("ptc-data-lookup");e?e.performSubscriptionLookup():console.log("No Data Lookup...")}get el(){return l(this)}};h.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .sel-all-wrapper{margin:var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-09) 0}:host .sel-all-wrapper span{font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest)}:host .sel-all-wrapper .select-all{cursor:pointer}:host .sel-all-wrapper .select-all::after{content:"|";display:inline-block;padding:0 10px}:host .sel-all-wrapper .deselect-all{cursor:pointer}';export{h as ptc_preferance_center_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o,H as i,g as p}from"./p-ac75c7ad.js";const s=class{constructor(o){t(this,o),this.textDisplay="inline",this.maxLength=45,this.textLines=void 0,this.description="This is a tooltip text placeholder",this.zIndex="z-auto",this.position="bottom",this.styles=void 0,this.mode="text-only",this.theme="standard",this.width="default",this.hideOnMobile=!1,this.isSmallScreen=void 0,this.noOverflow=!1}addTruncatedClass(){this.el.querySelectorAll(".ellipsis-by-line-boxing").forEach((t=>{t.classList[t.scrollHeight>t.clientHeight?"add":"remove"]("truncated")}))}windowResize(){this.verifiyScreenSize()}verifiyScreenSize(){this.isSmallScreen=window.innerWidth<768}enableAddTruncatedClass(t){const o=document.querySelectorAll(t);for(const t of Array.from(o))t&&t.addEventListener("click",(()=>{setTimeout((()=>{this.addTruncatedClass()}),100)}))}componentWillLoad(){this.verifiyScreenSize()}componentDidLoad(){setTimeout((()=>{this.addTruncatedClass()}),1e3),this.enableAddTruncatedClass("tab-header"),this.enableAddTruncatedClass("ptc-ellipsis-dropdown"),this.enableAddTruncatedClass("ptc-product-card"),document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&this.addTruncatedClass()}))}render(){if("wrapper"==this.mode)return o(i,{class:this.textDisplay},this.styles&&o("style",null,this.styles),o("div",{class:"wrapper-content"},o("div",{class:"slot-content"},o("slot",null)),o("div",{class:`tooltip ${this.position} ${this.theme}`},o("slot",{name:"description"}),this.description&&o("span",{innerHTML:this.description}))));{const t=this.getCssClassMap(),p=this.getLineCuttoff();let s=this.description.substring(0,this.maxLength);return this.description.length>this.maxLength&&(s+="... "),o(i,{class:{[this.textDisplay]:!0,[this.width]:!0,"no-overflow":this.noOverflow}},this.styles&&o("style",null,this.styles),this.hideOnMobile&&this.isSmallScreen?o("div",null,this.description):o("div",{class:"text-content"},this.textLines>0&&this.textLines?o("div",{class:"ellipsis-by-line-boxing",style:p,innerHTML:this.description}):o("div",{class:t},s),o("div",{class:`tooltip ${this.position} ${this.theme}`,innerHTML:this.description})))}}getCssClassMap(){return{"text-ellipsis":!0,[this.zIndex]:this.description.length>this.maxLength,truncated:this.description.length>this.maxLength&&!this.textLines}}getLineCuttoff(){let t;return this.textLines&&this.textLines>0&&(t={"-webkit-line-clamp":`${this.textLines}`}),t}get el(){return p(this)}};s.style='h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}.tooltip.sc-ptc-tooltip span.sc-ptc-tooltip{word-break:initial}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-hyperlink)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.tooltip.side-left.sc-ptc-tooltip{bottom:12px;transform:translateX(-112%)}@media only screen and (min-width: 768px){.tooltip.side-left.sc-ptc-tooltip{bottom:4px}}.tooltip.side-left.sc-ptc-tooltip::after{top:50%;right:-15px;transform:translateY(-50%);border:8px solid transparent;border-left:8px solid var(--color-gray-09)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:"";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}.no-overflow.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{display:none !important}.no-overflow.sc-ptc-tooltip-h .truncated.sc-ptc-tooltip.sc-ptc-tooltip{cursor:pointer}';export{s as ptc_tooltip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as a}from"./p-
|
|
1
|
+
import{r as t,h as e,H as a}from"./p-ac75c7ad.js";const n=class{constructor(e){t(this,e),this.backgroundColor="white",this.elevation="small",this.containerType="",this.spacing="xxx-large",this.styles=void 0}render(){const t=this.getCssClassMap();return e(a,{class:this.getContainerClass()},this.styles&&e("style",null,this.styles),e("div",{class:t},e("slot",null)))}getContainerClass(){switch(this.containerType){case"large":return"ptc-container-lg";case"none":return;default:return"ptc-container"}}getCssClassMap(){return{"content-wrapper":!0,[this.backgroundColor]:!0,[this.elevation]:!0,[`spacing-${this.spacing}`]:!0}}};n.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}.content-wrapper.spacing-xx-small{padding:var(--ptc-element-spacing-01)}.content-wrapper.spacing-x-small{padding:var(--ptc-element-spacing-02)}.content-wrapper.spacing-small{padding:var(--ptc-element-spacing-03)}.content-wrapper.spacing-medium{padding:var(--ptc-element-spacing-04)}.content-wrapper.spacing-large{padding:var(--ptc-element-spacing-05)}.content-wrapper.spacing-x-large{padding:var(--ptc-element-spacing-06)}.content-wrapper.spacing-xx-large{padding:var(--ptc-element-spacing-07)}.content-wrapper.spacing-xxx-large{padding:var(--ptc-element-spacing-08)}";export{n as ptc_container}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,H as h}from"./p-
|
|
1
|
+
import{r as t,h as e,H as h}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.componentType=void 0}render(){const t=this.getCssClassMap();return e(h,{class:t},e("slot",null))}getCssClassMap(){return{[this.componentType]:!!this.componentType}}};a.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;padding:var(--ptc-layout-spacing-02) 0}@media only screen and (min-width: 992px){:host{padding:var(--ptc-layout-spacing-04) 0}}";export{a as ptc_two_column_media}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,H as a}from"./p-
|
|
1
|
+
import{r as e,h as t,H as a}from"./p-ac75c7ad.js";const i=class{constructor(t){e(this,t),this.number=void 0,this.arrowDirection=void 0}render(){return t(a,null,t("div",{class:"card-border square-padding card-layout"},t("slot",{name:"seo-content"}),t("slot",{name:"before-icon"}),t("ptc-spacer",{breakpoint:"x-small",size:"small"}),t("ptc-spacer",{breakpoint:"small",size:"x-small"}),t("div",{class:"icon-block"},this.arrowDirection?t("icon-asset",Object.assign({class:"icon"},"up"===this.arrowDirection?{name:"arrow_ascending"}:{name:"arrow_descending"},{type:"ptc"},this.number?{size:"xx-large"}:{size:"xxx-large"},{color:"ptc-green"})):null,this.number?t("div",{class:"number"},this.number):null),t("ptc-spacer",{breakpoint:"x-small",size:"small"}),t("ptc-spacer",{breakpoint:"small",size:"x-small"}),t("slot",{name:"after-icon"})))}};i.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;background-color:transparent}:host ::slotted([slot=seo-content]){display:none}:host .card-border{height:auto;width:200px}:host .card-border .before-icon-h3{line-height:var(--ptc-line-height-densest);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);color:var(--color-gray-10)}:host .card-border .after-icon-p{color:var(--color-gray-10);line-height:var(--ptc-line-height-densest);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);margin-top:0;margin-bottom:var(--ptc-element-spacing-05)}:host .square-padding{margin:var(--ptc-element-spacing-02)}@media only screen and (min-width: 480px){:host .square-padding{margin:var(--ptc-element-spacing-03) var(--ptc-element-spacing-01)}}@media screen and (min-width: 512px){:host .square-padding{margin:var(--ptc-element-spacing-03)}}:host .card-layout{display:flex;flex-direction:column;justify-content:flex-start;align-items:center}:host .icon{display:inline;vertical-align:middle}:host .number{display:inline-block;line-height:var(--ptc-line-height-denser);font-size:var(--ptc-font-size-xx-large);font-weight:var(--ptc-font-weight-semibold);color:var(--color-gray-10);vertical-align:middle;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:160px}:host slot[name=before-icon],:host slot[name=after-icon]{text-align:center;line-height:var(--ptc-line-height-densest);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);color:var(--color-gray-10)}";export{i as ptc_square_card}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as i,H as e}from"./p-
|
|
1
|
+
import{r as t,h as i,H as e}from"./p-ac75c7ad.js";const r=class{constructor(i){t(this,i),this.jumbotron="light",this.isIframe=!1}render(){let t,r,o,a;return"light"===this.jumbotron||"dark"===this.jumbotron?a="https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80":"dark-video"===this.jumbotron||"light-video"===this.jumbotron?o="https://player.vimeo.com/video/749261406?h=5e6a60ffc5&muted=1&autoplay=1&loop=1&transparent=0&background=1&app_id=122963%22&controls=0":"png"===this.jumbotron?t="https://images.unsplash.com/photo-1676883343977-5f8ecc36856c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2NzgyMjcxNDU&ixlib=rb-4.0.3&q=80&w=400":"gif"===this.jumbotron&&(r="https://media.giphy.com/media/TDQkojbHj3wTS/giphy.gif"),i(e,null,i("ptc-jumbotron",Object.assign({"jumbotron-type":this.jumbotron},!!t&&{pngSrc:t},!!r&&{gifSrc:r},!!o&&{bgVideoSrc:o},!!a&&{bgSrc:a},!1,{"sub-title":"totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.","is-iframe":this.isIframe}),i("ptc-breadcrumb",Object.assign({slot:"breadcrumb"},"dark"===this.jumbotron||"dark-video"==this.jumbotron?{color:"white"}:{color:"primary-gray"},"text"===this.jumbotron?{position:"center"}:{}),i("list-item",Object.assign({"list-type":"breadcrumb","link-href":"https://www.ptc.com/contact-us"},"dark"===this.jumbotron||"dark-video"==this.jumbotron?{color:"light-gray"}:{color:"primary-gray"}),"PLM Video Hub"),i("list-item",Object.assign({"list-type":"breadcrumb"},"dark"===this.jumbotron||"dark-video"==this.jumbotron?{color:"light-gray"}:{color:"primary-gray"}),"Current Page")),i("ptc-title",{slot:"main-title",type:"h1",upperline:"no-upperline","title-size":"xxxx-large","title-height":"densest","title-weight":"w-8","title-margin":"margin-flush","text-align":"left","title-color":"gray"},i("ptc-tooltip",{"text-lines":"3",description:"Sed ut perspiciatis unde omnis iste natus",position:"right"})),i("ptc-button",{slot:"j-cta",type:"link",color:"ptc-primary","link-href":"https://www.ptc.com",target:"_blank"},"Lorem ipsum dolor sit amet"),i("ptc-button",{slot:"j-cta",type:"link",color:"ptc-secondary","link-href":"https://www.ptc.com",target:"_blank"},"Lorem ipsum"),i("div",{slot:"countdown-placeholder"})))}};r.style=":host{display:block}";export{r as bundle_jumbotron_example}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e,H as a,a as n,F as l}from"./p-944c5be8.js";const s=class{constructor(e){t(this,e),this.optionClick=i(this,"optionClick",7),this.focusFirstRadio=()=>{var t;let i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".radio");i&&i.focus()},this.handleKeyClick=(t,i,e)=>{if(t instanceof KeyboardEvent){const a=()=>{var i,e;if(t.shiftKey){let t=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(".restart-quiz-button");t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},n=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ptc-button");if(a){let t=null===(i=a.shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},l=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("ptc-button");if(a.length>0){let t=null===(i=a[a.length-1].shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".restart-quiz-button");t&&t.focus()}},s=()=>{t.preventDefault(),document.activeElement.blur(),i(),setTimeout((()=>{"result"===this.slide["slide-type"]?n():this.focusFirstRadio()}),500)},r=t=>{var i;t===this.slide.options.length?t=0:t<0&&(t=this.slide.options.length-1);let e=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(`.radio[data-key="${t}"]`);e&&e.focus()};switch(t.key){case"Tab":switch(e){case-1:break;case-2:t.shiftKey&&(t.preventDefault(),"result"===this.slide["slide-type"]?l():this.focusFirstRadio());break;default:e>=0&&(t.preventDefault(),a())}break;case" ":switch(e){case-1:case-2:break;case-3:s();break;default:e>=0&&s()}break;case"Enter":switch(e){case-1:case-2:case-3:s();break;default:e>=0&&s()}break;case"ArrowRight":case"ArrowDown":e>=0&&r(e+1);break;case"ArrowLeft":case"ArrowUp":e>=0&&r(e-1)}}},this.getQuizEndpoint=void 0,this.quiz=null,this.slide=null,this.traversal=[],this.restartQuizText=void 0,this.previousButtonText=void 0,this.startButtonText=void 0}handleStartButtonClick(){this.slide=this.slide.next,this.traversal.push("next")}handleRestartButtonClick(){this.slide=this.quiz,this.traversal=[]}handlePreviousButtonClick(){let t=this.quiz;for(let i of this.traversal.slice(0,this.traversal.length-3))t=t[i];this.slide=t,this.traversal=this.traversal.slice(0,this.traversal.length-3)}handleQuestionOptionClick(t){let i=this.el.shadowRoot.getElementById(`radio-${t}`);i.classList.add("clicked"),setTimeout((()=>{let[e,a]=[null,null],n=this.slide.options;for(let i in n)if(n[i]["data-model-id"]===t){e=n[i],a=i;break}if(this.optionClick.emit(e),null!=e.next){this.traversal=[...this.traversal,"options",a,"next"];let t=new Image;t.src=e.next.image,t.onload=()=>{this.slide=e.next,i.classList.remove("clicked")}}}),200)}componentWillLoad(){fetch(this.getQuizEndpoint).then((t=>t.json())).then((t=>{this.quiz=t,this.slide=this.quiz})).catch((t=>console.log("Quiz retireval error: ",t)))}render(){const t=()=>e("div",{class:"right-button-container"},e("div",{id:"restart-quiz-button",class:"restart-quiz-button mf-listen",onClick:()=>this.handleRestartButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleRestartButtonClick()),-1),tabIndex:0},e("icon-asset",{id:"restart-arrow",type:"ptc",size:"small",name:"quiz-arrow-restart"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.restartQuizText||"Restart"))),i=t=>e("div",{class:"center-button-container"},e("div",{id:"previous-slide-button",class:"previous-slide-button mf-listen "+(t.invisible?"invisible":""),onClick:()=>this.handlePreviousButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handlePreviousButtonClick()),-2),tabIndex:0},e("icon-asset",{id:"left-arrow",type:"ptc",size:"medium",name:"quiz-arrow-left",onClick:()=>{}}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.previousButtonText||"Previous"))),n=()=>e("div",{class:"quiz-slide-initial"},e("div",{class:"quiz-slide-content"},e("div",{id:"initial-quiz-h2",class:"quiz-slide-text-container"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8","is-plm-hub":"false"},this.slide.h2)),e("ptc-spacer",{size:"medium",breakpoint:"small"}),e("ptc-spacer",{size:"large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-h3",class:"quiz-slide-text-container"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.h3)),e("ptc-spacer",{size:"x-large",breakpoint:"small"}),e("ptc-spacer",{size:"xx-large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-p",class:"quiz-slide-text-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.slide.p)),e("div",{class:"center-button-container"},e("div",{id:"quiz-start-button",onClick:()=>this.handleStartButtonClick()},e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"",target:"_blank",onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleStartButtonClick()),-3),"tracker-id":"quiz-start-button"},this.startButtonText||"Start"))))),s=()=>e("div",{class:"quiz-slide-question"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.question),e("div",{class:"options-container"},this.slide.options.map(((t,i)=>e("div",{id:`option-${t["data-model-id"]}`,class:"radio-input mf-listen",onClick:()=>this.handleQuestionOptionClick(t["data-model-id"]),onKeyDown:e=>this.handleKeyClick(e,(()=>this.handleQuestionOptionClick(t["data-model-id"])),i),"data-key":i},e("span",{id:`radio-${t["data-model-id"]}`,class:"radio",tabIndex:0,"data-key":i}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},t["data-value"]))))))))),r=()=>e("div",{class:"quiz-slide-result"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.title),e("ptc-spacer",{size:"large",breakpoint:"small"}),e("ptc-spacer",{size:"x-large",breakpoint:"x-small"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.description),e("div",{class:"cta-container"},this.slide["cta-quaternary"]&&e("ptc-button",{type:"link",target:this.slide["cta-quaternary"].target,color:"ptc-quaternary","link-href":this.slide["cta-quaternary"].href,"tracker-id":"final-cta-quaternary"},this.slide["cta-quaternary"].text),this.slide["cta-tertiary"]&&e("ptc-button",{type:"link",target:this.slide["cta-tertiary"].target,color:"ptc-tertiary","link-href":this.slide["cta-tertiary"].href,"tracker-id":"final-cta-tertiary"},this.slide["cta-tertiary"].text))))));return e(a,null,this.quiz&&e("div",{class:"quiz-slide-container"},e("div",{class:"quiz-slide-background"}),e("slot",{name:"seo-content"}),(()=>{switch(this.slide["slide-type"]){case"initial":return e(n,null);case"question":return e(l,null,e(t,null),e(s,null),this.traversal.length>1?e(i,null):null);case"result":return e(l,null,e(t,null),e(r,null),e(i,null));default:return null}})()))}get el(){return n(this)}};s.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url("https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/653ad11042174bd1ae42c69d922f95fc");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .right-button-container .restart-quiz-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .previous-slide-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);border-radius:50%}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}::slotted([slot=seo-content]){display:none}';export{s as ptc_embedded_quiz}
|
|
1
|
+
import{r as t,c as i,h as e,H as a,g as n,F as l}from"./p-ac75c7ad.js";const s=class{constructor(e){t(this,e),this.optionClick=i(this,"optionClick",7),this.focusFirstRadio=()=>{var t;let i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".radio");i&&i.focus()},this.handleKeyClick=(t,i,e)=>{if(t instanceof KeyboardEvent){const a=()=>{var i,e;if(t.shiftKey){let t=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(".restart-quiz-button");t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},n=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ptc-button");if(a){let t=null===(i=a.shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},l=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("ptc-button");if(a.length>0){let t=null===(i=a[a.length-1].shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".restart-quiz-button");t&&t.focus()}},s=()=>{t.preventDefault(),document.activeElement.blur(),i(),setTimeout((()=>{"result"===this.slide["slide-type"]?n():this.focusFirstRadio()}),500)},r=t=>{var i;t===this.slide.options.length?t=0:t<0&&(t=this.slide.options.length-1);let e=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(`.radio[data-key="${t}"]`);e&&e.focus()};switch(t.key){case"Tab":switch(e){case-1:break;case-2:t.shiftKey&&(t.preventDefault(),"result"===this.slide["slide-type"]?l():this.focusFirstRadio());break;default:e>=0&&(t.preventDefault(),a())}break;case" ":switch(e){case-1:case-2:break;case-3:s();break;default:e>=0&&s()}break;case"Enter":switch(e){case-1:case-2:case-3:s();break;default:e>=0&&s()}break;case"ArrowRight":case"ArrowDown":e>=0&&r(e+1);break;case"ArrowLeft":case"ArrowUp":e>=0&&r(e-1)}}},this.getQuizEndpoint=void 0,this.quiz=null,this.slide=null,this.traversal=[],this.restartQuizText=void 0,this.previousButtonText=void 0,this.startButtonText=void 0}handleStartButtonClick(){this.slide=this.slide.next,this.traversal.push("next")}handleRestartButtonClick(){this.slide=this.quiz,this.traversal=[]}handlePreviousButtonClick(){let t=this.quiz;for(let i of this.traversal.slice(0,this.traversal.length-3))t=t[i];this.slide=t,this.traversal=this.traversal.slice(0,this.traversal.length-3)}handleQuestionOptionClick(t){let i=this.el.shadowRoot.getElementById(`radio-${t}`);i.classList.add("clicked"),setTimeout((()=>{let[e,a]=[null,null],n=this.slide.options;for(let i in n)if(n[i]["data-model-id"]===t){e=n[i],a=i;break}if(this.optionClick.emit(e),null!=e.next){this.traversal=[...this.traversal,"options",a,"next"];let t=new Image;t.src=e.next.image,t.onload=()=>{this.slide=e.next,i.classList.remove("clicked")}}}),200)}componentWillLoad(){fetch(this.getQuizEndpoint).then((t=>t.json())).then((t=>{this.quiz=t,this.slide=this.quiz})).catch((t=>console.log("Quiz retireval error: ",t)))}render(){const t=()=>e("div",{class:"right-button-container"},e("div",{id:"restart-quiz-button",class:"restart-quiz-button mf-listen",onClick:()=>this.handleRestartButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleRestartButtonClick()),-1),tabIndex:0},e("icon-asset",{id:"restart-arrow",type:"ptc",size:"small",name:"quiz-arrow-restart"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.restartQuizText||"Restart"))),i=t=>e("div",{class:"center-button-container"},e("div",{id:"previous-slide-button",class:"previous-slide-button mf-listen "+(t.invisible?"invisible":""),onClick:()=>this.handlePreviousButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handlePreviousButtonClick()),-2),tabIndex:0},e("icon-asset",{id:"left-arrow",type:"ptc",size:"medium",name:"quiz-arrow-left",onClick:()=>{}}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.previousButtonText||"Previous"))),n=()=>e("div",{class:"quiz-slide-initial"},e("div",{class:"quiz-slide-content"},e("div",{id:"initial-quiz-h2",class:"quiz-slide-text-container"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8","is-plm-hub":"false"},this.slide.h2)),e("ptc-spacer",{size:"medium",breakpoint:"small"}),e("ptc-spacer",{size:"large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-h3",class:"quiz-slide-text-container"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.h3)),e("ptc-spacer",{size:"x-large",breakpoint:"small"}),e("ptc-spacer",{size:"xx-large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-p",class:"quiz-slide-text-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.slide.p)),e("div",{class:"center-button-container"},e("div",{id:"quiz-start-button",onClick:()=>this.handleStartButtonClick()},e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"",target:"_blank",onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleStartButtonClick()),-3),"tracker-id":"quiz-start-button"},this.startButtonText||"Start"))))),s=()=>e("div",{class:"quiz-slide-question"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.question),e("div",{class:"options-container"},this.slide.options.map(((t,i)=>e("div",{id:`option-${t["data-model-id"]}`,class:"radio-input mf-listen",onClick:()=>this.handleQuestionOptionClick(t["data-model-id"]),onKeyDown:e=>this.handleKeyClick(e,(()=>this.handleQuestionOptionClick(t["data-model-id"])),i),"data-key":i},e("span",{id:`radio-${t["data-model-id"]}`,class:"radio",tabIndex:0,"data-key":i}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},t["data-value"]))))))))),r=()=>e("div",{class:"quiz-slide-result"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.title),e("ptc-spacer",{size:"large",breakpoint:"small"}),e("ptc-spacer",{size:"x-large",breakpoint:"x-small"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.description),e("div",{class:"cta-container"},this.slide["cta-quaternary"]&&e("ptc-button",{type:"link",target:this.slide["cta-quaternary"].target,color:"ptc-quaternary","link-href":this.slide["cta-quaternary"].href,"tracker-id":"final-cta-quaternary"},this.slide["cta-quaternary"].text),this.slide["cta-tertiary"]&&e("ptc-button",{type:"link",target:this.slide["cta-tertiary"].target,color:"ptc-tertiary","link-href":this.slide["cta-tertiary"].href,"tracker-id":"final-cta-tertiary"},this.slide["cta-tertiary"].text))))));return e(a,null,this.quiz&&e("div",{class:"quiz-slide-container"},e("div",{class:"quiz-slide-background"}),e("slot",{name:"seo-content"}),(()=>{switch(this.slide["slide-type"]){case"initial":return e(n,null);case"question":return e(l,null,e(t,null),e(s,null),this.traversal.length>1?e(i,null):null);case"result":return e(l,null,e(t,null),e(r,null),e(i,null));default:return null}})()))}get el(){return n(this)}};s.style='h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url("https://ptc-p-001.sitecorecontenthub.cloud/api/public/content/653ad11042174bd1ae42c69d922f95fc");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .right-button-container .restart-quiz-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .previous-slide-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);border-radius:50%}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}::slotted([slot=seo-content]){display:none}';export{s as ptc_embedded_quiz}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,H as i,g as a}from"./p-ac75c7ad.js";const o=class{constructor(e){t(this,e),this.downloadUrl=void 0,this.trackerId=void 0}render(){return e(i,null,e("slot",null),e("div",{class:"strip mf-listen"},e("a",{class:"dl-btn",href:"javascript:void()",onClick:()=>{this.openModal()},tabindex:"0"},e("span",{class:"dl-text"},"Download"),e("img",{src:"https://www.ptc.com/dist/ptc/images/download-arrow.svg",alt:"Down Arrow"}))),e("ptc-modal",{id:"strip-download-modal",show:!1,size:"lg",fixed:!0,"is-bio-modal":!0},e("ptc-title",{type:"h2","text-align":"center","title-weight":"w-5",upperline:"no-upperline"},"Thanks For Downloading")))}openModal(){let t=this.el.shadowRoot.querySelector("#strip-download-modal");t.setAttribute("show","true"),setTimeout((()=>{t.setAttribute("show","false"),window.open(`${this.downloadUrl}`,"_self")}),1e3)}get el(){return a(this)}};o.style="h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative;font-family:var(--ptc-font-secondary-latin)}:host .strip{position:absolute;bottom:0;backdrop-filter:blur(15.2px);background:white;background:rgba(255, 255, 255, 0.3);width:100%;padding:15px;box-sizing:border-box;text-align:right}:host .strip .dl-btn{width:54px;height:40px;background-image:linear-gradient(288deg, #74c34d, #00783e);border:1px solid #fff;color:#fff;cursor:pointer;display:flex;flex-direction:column;justify-content:center;margin-left:auto;align-items:center;text-decoration:none}:host .strip .dl-btn .dl-text{font-size:10px;text-transform:uppercase;font-weight:600;line-height:1.25;margin-bottom:1px;display:none}:host .strip .dl-btn:hover{box-shadow:0 3px 20px 0 #74c34d}:host .strip .dl-btn:hover .dl-text{display:block}:host .strip .dl-btn:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .strip .dl-btn img{max-height:18px;width:12px}";export{o as ptc_image_download_strip}
|