@ptcwebops/ptcw-design 6.2.14 → 6.2.15-beta
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/blog-detail-content_2.cjs.entry.js +1 -1
- package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
- package/dist/cjs/blogs-search-section.cjs.entry.js +1 -1
- package/dist/cjs/{component-35540bfb.js → component-4dd13907.js} +2643 -832
- package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +1369 -0
- package/dist/cjs/featured-list.cjs.entry.js +1 -1
- package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/homepage-toggled-content.cjs.entry.js +1 -1
- package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
- package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +1 -1
- package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
- package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-card-bottom.cjs.entry.js +46 -0
- package/dist/cjs/ptc-card_2.cjs.entry.js +1 -13
- package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
- package/dist/cjs/ptc-collapse-list.cjs.entry.js +15 -20
- package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
- package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
- package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
- package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
- package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +788 -6
- package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
- package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
- package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
- package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
- package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
- package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
- package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
- package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
- package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
- package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
- package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
- package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -7
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
- package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
- package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +31 -17
- package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +48 -8
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
- package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -5
- package/dist/collection/components/ptc-button/ptc-button.js +4 -1
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +16 -0
- package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -0
- package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
- package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +50 -19
- package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
- package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
- package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
- package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
- package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
- package/dist/collection/components/ptc-link/ptc-link.css +8 -0
- package/dist/collection/components/ptc-link/ptc-link.js +4 -12
- package/dist/collection/components/ptc-modal/ptc-modal.css +66 -0
- package/dist/collection/components/ptc-modal/ptc-modal.js +81 -4
- package/dist/collection/components/ptc-para/ptc-para.css +3 -0
- package/dist/collection/components/ptc-para/ptc-para.js +2 -2
- package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +0 -680
- package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +0 -12
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
- package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
- package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
- package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
- package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
- package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
- package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
- package/dist/collection/components/ptc-scroll-button/ptc-scroll-button.js +94 -3
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
- package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
- package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
- package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
- package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
- package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +0 -6
- package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
- package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
- package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
- package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/custom-elements/index.d.ts +6 -0
- package/dist/custom-elements/index.js +269 -100
- package/dist/esm/blog-detail-content_2.entry.js +1 -1
- package/dist/esm/blog-detail-layout.entry.js +1 -1
- package/dist/esm/blogs-search-section.entry.js +1 -1
- package/dist/esm/{component-8c53e377.js → component-9c921cc6.js} +2592 -793
- package/dist/esm/event-jumbotron-example_15.entry.js +1351 -0
- package/dist/esm/featured-list.entry.js +1 -1
- package/dist/esm/homepage-jumbotron.entry.js +1 -1
- package/dist/esm/homepage-toggled-content.entry.js +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/modal-form-example.entry.js +90 -0
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- package/dist/esm/ptc-background-video.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +1 -1
- package/dist/esm/ptc-card-bottom.entry.js +42 -0
- package/dist/esm/ptc-card_2.entry.js +1 -13
- package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +15 -20
- package/dist/esm/ptc-data-lookup.entry.js +1 -2
- package/dist/esm/ptc-featured-list.entry.js +1 -1
- package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
- package/dist/esm/ptc-footer.entry.js +1 -1
- package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
- package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
- package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
- package/dist/esm/ptc-icon-card.entry.js +9 -3
- package/dist/esm/ptc-jumbotron.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- package/dist/esm/ptc-nav-submenu.entry.js +1 -1
- package/dist/esm/ptc-podcast-card.entry.js +1 -1
- package/dist/esm/ptc-previous-url.entry.js +10 -2
- package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
- package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
- 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-highlight-card.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +1 -1
- package/dist/esm/ptc-readmore-v3.entry.js +1 -1
- package/dist/esm/ptc-social-icons-footer.entry.js +7 -2
- package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
- package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
- package/dist/esm/ptc-white-paper.entry.js +1 -7
- package/dist/esm/ptcw-design.js +1 -1
- package/dist/esm/{utils-1bbe0c30.js → utils-ff65c75b.js} +9 -1
- package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
- package/dist/ptcw-design/{p-1cff585f.entry.js → p-0d806031.entry.js} +1 -1
- package/dist/ptcw-design/{p-4fc9c83b.entry.js → p-11e0edaf.entry.js} +1 -1
- package/dist/ptcw-design/p-1b257420.entry.js +1 -0
- package/dist/ptcw-design/p-257deac0.entry.js +1 -0
- package/dist/ptcw-design/{p-fce2bd81.entry.js → p-2749c178.entry.js} +1 -1
- package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
- package/dist/ptcw-design/{p-942850e0.entry.js → p-2c6fc745.entry.js} +1 -1
- package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
- package/dist/ptcw-design/p-36007a57.entry.js +1 -0
- package/dist/ptcw-design/p-50d68602.entry.js +1 -0
- package/dist/ptcw-design/p-56a2a9dc.entry.js +1 -0
- package/dist/ptcw-design/p-58f138a3.entry.js +1 -0
- package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
- package/dist/ptcw-design/{p-f07e64f2.entry.js → p-6d3326da.entry.js} +1 -1
- package/dist/ptcw-design/p-72df6678.entry.js +1 -0
- package/dist/ptcw-design/{p-d1857ada.entry.js → p-77cad16c.entry.js} +1 -1
- package/dist/ptcw-design/p-799afee5.entry.js +1 -0
- package/dist/ptcw-design/{p-990bcbc4.entry.js → p-7a9611b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-2ac7e3ce.entry.js → p-808ec62a.entry.js} +1 -1
- package/dist/ptcw-design/p-8872161f.js +1 -0
- package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
- package/dist/ptcw-design/p-95187918.entry.js +1 -0
- package/dist/ptcw-design/p-9e915e82.entry.js +1 -0
- package/dist/ptcw-design/p-a2caf246.entry.js +68 -0
- package/dist/ptcw-design/p-a2d9831c.entry.js +1 -0
- package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
- package/dist/ptcw-design/{p-65f19054.entry.js → p-ae970a60.entry.js} +1 -1
- package/dist/ptcw-design/p-b1ebac6f.entry.js +1 -0
- package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
- package/dist/ptcw-design/{p-a3a04f4e.entry.js → p-bb902570.entry.js} +1 -1
- package/dist/ptcw-design/p-bcab66bf.js +336 -0
- package/dist/ptcw-design/{p-4036055e.entry.js → p-c37a3bd2.entry.js} +1 -1
- package/dist/ptcw-design/{p-717d3a75.entry.js → p-c66b8926.entry.js} +1 -1
- package/dist/ptcw-design/{p-56a4c6d4.entry.js → p-c95f423e.entry.js} +1 -1
- package/dist/ptcw-design/{p-dee4bb6c.entry.js → p-d10cb999.entry.js} +1 -1
- package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
- package/dist/ptcw-design/{p-48183365.entry.js → p-d756db27.entry.js} +1 -1
- package/dist/ptcw-design/{p-873c711b.entry.js → p-d9abe7e8.entry.js} +1 -1
- package/dist/ptcw-design/{p-53f49500.entry.js → p-da82dc93.entry.js} +1 -1
- package/dist/ptcw-design/p-de960790.entry.js +1 -0
- package/dist/ptcw-design/{p-deebd138.entry.js → p-e3f8e5d5.entry.js} +1 -1
- package/dist/ptcw-design/{p-b4564411.entry.js → p-e4000363.entry.js} +1 -1
- package/dist/ptcw-design/{p-d3e5b65c.entry.js → p-ea7369e9.entry.js} +1 -1
- package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
- package/dist/ptcw-design/ptcw-design.css +2 -2
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +5 -3
- package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
- package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
- package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
- package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +3 -2
- package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
- package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
- package/dist/types/components/ptc-modal/ptc-modal.d.ts +5 -1
- package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
- package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
- package/dist/types/components/ptc-scroll-button/ptc-scroll-button.d.ts +12 -0
- package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
- package/dist/types/components.d.ts +60 -4
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +1 -1
- package/readme.md +5 -1
- package/dist/cjs/component-1b8ad4d2.js +0 -1819
- package/dist/cjs/event-jumbotron-example.cjs.entry.js +0 -127
- package/dist/cjs/icon-asset.cjs.entry.js +0 -65
- package/dist/cjs/list-item.cjs.entry.js +0 -48
- package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
- package/dist/cjs/ptc-button.cjs.entry.js +0 -84
- package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +0 -132
- package/dist/cjs/ptc-card-content.cjs.entry.js +0 -68
- package/dist/cjs/ptc-close-icon_2.cjs.entry.js +0 -213
- package/dist/cjs/ptc-img.cjs.entry.js +0 -133
- package/dist/cjs/ptc-link.cjs.entry.js +0 -95
- package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
- package/dist/cjs/ptc-para.cjs.entry.js +0 -127
- package/dist/cjs/ptc-scroll-button.cjs.entry.js +0 -84
- package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
- package/dist/cjs/ptc-title.cjs.entry.js +0 -152
- package/dist/cjs/validation-messages-33a4f26b.js +0 -126
- package/dist/esm/component-9beac35b.js +0 -1802
- package/dist/esm/event-jumbotron-example.entry.js +0 -123
- package/dist/esm/icon-asset.entry.js +0 -61
- package/dist/esm/list-item.entry.js +0 -44
- package/dist/esm/ptc-breadcrumb.entry.js +0 -43
- package/dist/esm/ptc-button.entry.js +0 -80
- package/dist/esm/ptc-card-bottom_2.entry.js +0 -127
- package/dist/esm/ptc-card-content.entry.js +0 -64
- package/dist/esm/ptc-close-icon_2.entry.js +0 -208
- package/dist/esm/ptc-img.entry.js +0 -129
- package/dist/esm/ptc-link.entry.js +0 -91
- package/dist/esm/ptc-multi-select_2.entry.js +0 -665
- package/dist/esm/ptc-para.entry.js +0 -123
- package/dist/esm/ptc-scroll-button.entry.js +0 -80
- package/dist/esm/ptc-spacer.entry.js +0 -34
- package/dist/esm/ptc-title.entry.js +0 -148
- package/dist/esm/validation-messages-adbb6518.js +0 -124
- package/dist/ptcw-design/p-00e21489.entry.js +0 -1
- package/dist/ptcw-design/p-0b8a73e1.entry.js +0 -68
- package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
- package/dist/ptcw-design/p-1022ad8b.entry.js +0 -1
- package/dist/ptcw-design/p-136a91bf.entry.js +0 -1
- package/dist/ptcw-design/p-18a5a338.js +0 -1
- package/dist/ptcw-design/p-18f59395.entry.js +0 -1
- package/dist/ptcw-design/p-1b7087e7.entry.js +0 -1
- package/dist/ptcw-design/p-25a25451.entry.js +0 -1
- package/dist/ptcw-design/p-2a672c0e.entry.js +0 -1
- package/dist/ptcw-design/p-2cfcba27.entry.js +0 -1
- package/dist/ptcw-design/p-2e19248b.entry.js +0 -1
- package/dist/ptcw-design/p-2e8f7a08.entry.js +0 -1
- package/dist/ptcw-design/p-3f71553e.entry.js +0 -1
- package/dist/ptcw-design/p-4e2bb0e0.entry.js +0 -1
- package/dist/ptcw-design/p-583608d9.entry.js +0 -1
- package/dist/ptcw-design/p-5d885144.entry.js +0 -1
- package/dist/ptcw-design/p-5dae4f30.entry.js +0 -1
- package/dist/ptcw-design/p-7793babb.entry.js +0 -1
- package/dist/ptcw-design/p-8daf00ae.entry.js +0 -1
- package/dist/ptcw-design/p-98426799.js +0 -203
- package/dist/ptcw-design/p-98844b50.js +0 -134
- package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
- package/dist/ptcw-design/p-a870cd4a.entry.js +0 -1
- package/dist/ptcw-design/p-ad87bdab.js +0 -1
- package/dist/ptcw-design/p-b35ad9ee.entry.js +0 -1
- package/dist/ptcw-design/p-b3bbd17d.entry.js +0 -1
- package/dist/ptcw-design/p-b6e5379a.entry.js +0 -1
- package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
- package/dist/ptcw-design/p-bb15d7e5.entry.js +0 -1
- package/dist/ptcw-design/p-cbfe46ce.entry.js +0 -1
- package/dist/ptcw-design/p-d734b373.entry.js +0 -1
- package/dist/ptcw-design/p-dc488936.entry.js +0 -1
- package/dist/ptcw-design/p-dd73c4d1.entry.js +0 -1
- package/dist/ptcw-design/p-e614999d.entry.js +0 -1
- package/dist/ptcw-design/p-e7937ac1.entry.js +0 -1
- package/dist/ptcw-design/p-e9a7475b.entry.js +0 -1
- package/dist/ptcw-design/p-fcad5568.entry.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,g as n}from"./p-ac75c7ad.js";const o=class{constructor(t){e(this,t),this.startX=0,this.scrollLeft=0,this.updateContainerClass=()=>{this.screenStatus.isDesktop?(this.sliderWrapper.classList.add("ptc-container","u-paddingRight-flush","u-paddingLeft-flush"),this.disableDragging()):(this.sliderWrapper.classList.remove("ptc-container","u-paddingRight-flush","u-paddingLeft-flush"),this.enableDragging())},this.startDragging=e=>{this.isMouseDown=!0,this.isDragging=!1,this.startX=e.pageX,this.scrollLeft=this.slider.scrollLeft},this.performDragging=e=>{if(!this.isMouseDown)return;const t=e.pageX-this.slider.offsetLeft-this.startX;this.isDragging=Math.abs(t)>5,this.slider.scrollLeft=this.scrollLeft-t},this.stopDragging=()=>{this.isMouseDown=!1},this.cards=[],this.activePanel=null,this.isDragging=!1,this.isMouseDown=!1,this.screenStatus={isDesktop:window.innerWidth>=992}}handleCardClick(e){const t=this.slider.children[e],n=document.getElementById(`panel-${e}`);if(this.screenStatus.isDesktop&&n)this.showPanel(t,n);else if(!this.screenStatus.isDesktop&&!this.isDragging){const t=document.getElementById(`modal-${e}`);console.log("open: "+t.id),t.show=!0}}showPanel(e,t){this.activePanel||(this.slider.style.transform=`translateX(-${e.offsetLeft}px)`,Array.from(this.slider.children).forEach((t=>{t!==e&&t.classList.add("hidden")})),t.style.display="block",setTimeout((()=>{t.style.transform=`translateX(${e.offsetWidth}px)`,t.classList.add("visible"),e.classList.add("active"),this.activePanel=t.id}),100))}closePanel(e){const t=document.getElementById(e);t&&(t.classList.remove("visible"),t.addEventListener("transitionend",(()=>{t.classList.contains("visible")||(t.style.display="none")}),{once:!0})),this.activePanel=null,this.slider.style.transform="translateX(0)",Array.from(this.slider.children).forEach((e=>{e.classList.remove("hidden","active")}))}enableDragging(){this.slider.addEventListener("mousedown",this.startDragging),this.slider.addEventListener("mousemove",this.performDragging),["mouseup","mouseleave"].forEach((e=>this.slider.addEventListener(e,this.stopDragging)))}disableDragging(){this.slider.removeEventListener("mousedown",this.startDragging),this.slider.removeEventListener("mousemove",this.performDragging),["mouseup","mouseleave"].forEach((e=>this.slider.removeEventListener(e,this.stopDragging)))}componentDidLoad(){this.sliderWrapper=document.querySelector(".jumbotron-cards-wrapper"),this.slider=document.querySelector(".jumbotron-cards"),this.updateContainerClass(),window.addEventListener("resize",(()=>{this.screenStatus.isDesktop=window.innerWidth>=992,this.updateContainerClass()}))}render(){const e=Array.from(this.el.querySelectorAll("template"));return[t("div",{class:{"event-jumbotron":!0,"ptc-container":this.screenStatus.isDesktop}},t("div",{class:"jumbotron-cards-wrapper"},t("div",{class:"jumbotron-cards"},this.cards.map(((e,n)=>t("div",{class:"card",onClick:()=>this.handleCardClick(n),"data-panel":`panel-${n}`},t("ptc-img",{"border-radius":"radius-standard","image-type":"smart-bg","img-url":e.cardBg,"load-mode":"lazy-bg",styles:"ptc-img{position: absolute; width: 100%; height: 100%; z-index: 0}"}),t("ptc-overlay",{"border-radius":"radius-standard","filter-color":"black-4","overlay-z-index":"z-index-auto",styles:""}),t("div",{class:"text-wrapper"},t("h3",{class:"card-title"},e.title,t("span",null,e.description)),t("div",{innerHTML:e.panelContent})))))),this.cards.map(((e,n)=>t("div",{id:`panel-${n}`,class:"panel"},t("button",{tabindex:"-1",class:"close-panel",onClick:()=>this.closePanel(`panel-${n}`),"aria-label":"Close panel"},t("ptc-close-icon",null)),t("slot",{name:`panel-content-${n}`})))),this.cards.map(((n,o)=>t("ptc-modal",{id:`modal-${o}`,show:!1,"close-on-blur":!0,"modal-type":"event-listing"},t("div",{innerHTML:e[o].innerHTML})))))),t("div",{class:"white-placeholder"})]}get el(){return n(this)}};o.style="h1.sc-event-jumbotron-example,h2.sc-event-jumbotron-example,h3.sc-event-jumbotron-example,h4.sc-event-jumbotron-example,h5.sc-event-jumbotron-example,h6.sc-event-jumbotron-example,p.sc-event-jumbotron-example,ul.sc-event-jumbotron-example,li.sc-event-jumbotron-example,ptc-subnav.sc-event-jumbotron-example,ptc-tab-list.sc-event-jumbotron-example,ptc-link.sc-event-jumbotron-example,ptc-square-card.sc-event-jumbotron-example,.hyphenate-text.sc-event-jumbotron-example,ptc-footer.sc-event-jumbotron-example{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-event-jumbotron-example,h2.sc-event-jumbotron-example,h3.sc-event-jumbotron-example,h4.sc-event-jumbotron-example,h5.sc-event-jumbotron-example,h6.sc-event-jumbotron-example,p.sc-event-jumbotron-example,ul.sc-event-jumbotron-example,li.sc-event-jumbotron-example,ptc-subnav.sc-event-jumbotron-example,ptc-tab-list.sc-event-jumbotron-example,ptc-link.sc-event-jumbotron-example,ptc-square-card.sc-event-jumbotron-example,.hyphenate-text.sc-event-jumbotron-example,ptc-footer.sc-event-jumbotron-example{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-event-jumbotron-example-h{display:block;position:relative}.event-jumbotron.sc-event-jumbotron-example{margin-bottom:3rem;width:100%}.white-placeholder.sc-event-jumbotron-example{position:absolute;height:130px;width:100%;background-color:#F3f3f3;bottom:0px}.jumbotron-cards-wrapper.sc-event-jumbotron-example{z-index:1;position:relative;display:flex;flex-direction:column}.jumbotron-cards.sc-event-jumbotron-example{display:flex;gap:16px;overflow-x:auto;padding:0 24px;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;cursor:grab}.jumbotron-cards.sc-event-jumbotron-example::-webkit-scrollbar{display:none}.jumbotron-cards.dragging.sc-event-jumbotron-example{cursor:grabbing}.card.sc-event-jumbotron-example{flex:0 0 auto;width:250px;height:414px;background:transparent;border-radius:var(--ptc-border-radius-standard);display:flex;justify-content:center;align-items:center;text-align:center;box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);flex-direction:column;padding:24px;position:relative}.text-wrapper.sc-event-jumbotron-example{align-self:flex-start;text-align:left}.card-title.sc-event-jumbotron-example{color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);position:relative;z-index:2;margin-top:0;margin-bottom:var(--ptc-element-spacing-06)}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-weight:var(--ptc-font-weight-medium);display:block}.cta-all.sc-event-jumbotron-example{margin-right:20px}.panel.sc-event-jumbotron-example{display:none;visibility:hidden}@media only screen and (min-width: 992px){.cta-group.sc-event-jumbotron-example{margin-bottom:88px}.jumbotron-cards.sc-event-jumbotron-example{overflow-x:visible;justify-content:space-between;cursor:auto;transition:transform 0.3s ease-in-out}.card.sc-event-jumbotron-example{width:218px;height:530px;padding:24px;cursor:pointer}.card.hidden.sc-event-jumbotron-example{opacity:0;pointer-events:none}.card.active.sc-event-jumbotron-example{border-top-right-radius:0px;border-bottom-right-radius:0px}.panel.sc-event-jumbotron-example{visibility:hidden;opacity:0;position:absolute;top:0;left:0;width:726px;height:530px;padding:40px;background:var(--color-white);border-radius:var(--ptc-border-radius-standard);box-shadow:0 2px 8px rgba(0, 0, 0, 0.1);transition:opacity 0.3s ease-in-out, transform 0.3s ease-in-out;z-index:10}.panel.visible.sc-event-jumbotron-example{visibility:visible;opacity:1;border-top-left-radius:0px;border-bottom-left-radius:0px}.close-panel.sc-event-jumbotron-example{position:absolute;top:0px;right:0px;background:var(--color-white);border:none;text-align:center;cursor:pointer;padding:0px;margin:5px}.hide-scrollbar.sc-event-jumbotron-example{margin-left:-40px;margin-right:-40px}}@media only screen and (min-width: 1200px){.card.sc-event-jumbotron-example{width:260px}.card-title.sc-event-jumbotron-example{font-size:32px}.card-title.sc-event-jumbotron-example span.sc-event-jumbotron-example{font-size:32px}.panel.sc-event-jumbotron-example{width:876px}}@media only screen and (min-width: 1440px){.card.sc-event-jumbotron-example{width:270px}.panel.sc-event-jumbotron-example{width:930px}}";export{o as event_jumbotron_example}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function t(t,e,n){return(t||"")+(e?` ${e}`:"")+(n?` ${n}`:"")}function e(t,e,n){let o=e?t.querySelector(e):t,i={},s=t=>t.toLowerCase().replace(/(-\w)/g,(t=>t.replace(/-/,"").toUpperCase())),r=t=>{let e=!0;return/^\s*$/.test(t.textContent)&&(e=!1),e},c=(t,e)=>{let n=t.childNodes;if(n&&n.length>0){for(let t=0;t<n.length;t++){let o=n[t];if(1==o.nodeType){let t=s(o.nodeName);e[t]||(e[t]=[]),e[t].push({}),c(o,e[t][e[t].length-1])}else 3==o.nodeType&&r(o)&&(e.text=(e.text||"")+o.textContent)}for(const t in e)Array.isArray(e[t])&&1==e[t].length&&(e[t]=e[t][0])}if(t.attributes&&t.attributes.length>0)for(let n=0;n<t.attributes.length;n++)e[s(t.attributes[n].nodeName)]=t.attributes[n].nodeValue;"true"==t.getAttribute("html")&&(e.html=t.innerHTML)};return c(o,i),n?JSON.stringify(i):i}function n(){let t=()=>Math.floor(65536*(1+Math.random())).toString(16).substring(1);return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}function o(t,e,o){let i=n();return globalThis.debounceTimeouts||(globalThis.debounceTimeouts={}),function(n){var s=o||this,r=n;clearTimeout(globalThis.debounceTimeouts[i]),globalThis.debounceTimeouts[i]=setTimeout((function(){t(s,r)}),e)}}function i(t){if(void 0===t)throw new Error("filePath is not defined");const e=t.lastIndexOf(".");return-1===e?"":t.substring(e)}function s(){const t=window.location.pathname.split("/")[1];return["en","cn","tw","fr","de","it","ja","ko","es","pt"].includes(t)?t:"en"}function r(t,e="span"){if(t&&t.children&&1==t.children.length){let n=t.children[0],o=n.tagName.toLowerCase();return t.removeChild(n),"font"==o&&(o=e),[o,n]}return[e,t]}function c(t){t&&t.children&&1==t.children.length&&"complete"!=t.getAttribute("data-reset")&&(t.innerHTML=t.firstElementChild.innerHTML,t.setAttribute("data-reset","complete"))}function u(t,e){let n=e.querySelectorAll(t);console.log("element: "+n[0].tagName),n.forEach((t=>{t.style.removeProperty("height")}));let o=0;n.forEach((t=>{const e=t.offsetHeight;e>o&&t.classList.contains("hydrated")&&(o=e)})),o>0&&n.forEach((t=>{t.style.height=`${o}px`}))}function l(t,e){let n;if(e instanceof DocumentFragment)n=e.querySelectorAll(t);else{if(!e.shadowRoot)return void console.error("The provided element does not have a shadowRoot.");n=e.shadowRoot.querySelectorAll(t)}let o=0;n.forEach((t=>{const e=t.offsetHeight;e>o&&(o=e)})),n.forEach((t=>{t.style.height=`${o}px`}))}function a(t,e=5e3){const o=["click","scroll","mousemove","touchstart"],i=globalThis.window,s=n();return new Promise((n=>{let r=function(t){return t.HydrationKeys||(t.HydrationKeys={}),t.HydrationKeys}(i);r[s]=!1,o.forEach((function(o){i.addEventListener(o,(function(){r[s]||(r[s]=!0,n({sender:t,interactionType:o}))}),{once:!0}),setTimeout((()=>{r[s]||(r[s]=!0,n({sender:t,interactionType:o}))}),e)}))}))}function f(t,e,n=!1){const o=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting)return t.target.classList.add("in-view"),void(n&&o.unobserve(t.target));t.target.classList.remove("in-view")}))}));t.shadowRoot.querySelectorAll(e).forEach((t=>o.observe(t)))}function h(){let t=document.createElement("div");return t.setAttribute("hidden","until-found"),"until-found"===t.hidden}class d{constructor(t){this.dependencyPromiseResolve=()=>{},this.dependencyPromiseReject=()=>{},this.resolve=()=>this.dependencyPromiseResolve(!0),this.reject=()=>this.dependencyPromiseReject();const e=new Promise(((t,e)=>{this.dependencyPromiseResolve=t,this.dependencyPromiseReject=e}));t&&t.registerDependency(e)}}export{e as M,d as P,l as a,i as b,r as c,o as d,u as e,t as f,n as g,s as h,h as i,a as n,f as o,c as s}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as i,H as e,g as a}from"./p-ac75c7ad.js";import{s as n}from"./p-ad87bdab.js";const o=class{constructor(i){t(this,i),this.fontSize="x-small",this.fontWeight="w-4",this.paraStyle="default",this.paraColor="primary-grey",this.paraLineH="line-height-normal",this.paraMargin=void 0,this.paraAlign=void 0,this.ellipsisLineCutoff=void 0,this.paraZIndex=void 0,this.styles=void 0,this.seoCompatibilityMode=!1,this.tooltipZIndex="auto",this.tooltipPosition="bottom",this.tooltipTheme="standard",this.enableTooltip=!1,this.maxChars=void 0,this.maxLines=void 0,this.hideTooltipOnMobile=!1,this.ismob=void 0,this.noOverflow=!1,this.tooltipWidth="default"}render(){return this.seoCompatibilityMode&&n(this.el),this.standardRender()}getSortedText(t){if(!this.enableTooltip)return;const i=t.trim();return i.length>this.maxChars&&!this.maxLines?`${i.slice(0,this.maxChars).trimEnd()} …`:i}componentDidLoad(){if(this.hideTooltipOnMobile&&this.el.classList.add("hide-tooltip-on-mobile"),this.el.addEventListener("mouseenter",(()=>{this.toggleTitleTooltip(!0)})),this.el.addEventListener("mouseleave",(()=>{this.toggleTitleTooltip(!1)})),this.enableTooltip){let t=this.el.innerText||this.el.textContent;this.tooltipText=t.trim(),this.el.innerText=this.getSortedText(t)}}toggleTitleTooltip(t){const i="tooltip-box",e=this.el.querySelector(`.${i}`),a=this.el.shadowRoot.querySelectorAll(".line-clamp-title");let n=!1;if(a&&a.forEach((t=>{n=t.scrollHeight>t.clientHeight})),t&&this.enableTooltip){if((!e&&this.maxChars&&this.tooltipText.length>this.maxChars&&!this.maxLines||!e&&this.maxLines&&n)&&!this.noOverflow){const t=document.createElement("div");t.className=i,t.innerText=this.tooltipText,t.style.zIndex=String(this.tooltipZIndex),t.classList.add(this.tooltipPosition,this.tooltipTheme,this.tooltipWidth),this.hideTooltipOnMobile&&t.classList.add("hide-tooltip-mobile"),this.el.appendChild(t)}}else null==e||e.remove()}standardRender(){const t=this.getCssClassMap(),a=this.addWhiteClass(),n=this.getLineCuttoff();return i(e,{class:`${a} ${this.paraZIndex} trunc-text`},this.styles&&i("style",null,this.styles),i("p",{class:t,part:"part-para",style:n},i("slot",null)))}getCssClassMap(){return{[this.fontSize]:!0,[this.fontWeight]:!0,[this.paraStyle]:!0,[this.paraMargin]:!!this.paraMargin,[this.paraColor]:!0,[this.paraLineH]:!0,[this.paraAlign]:!!this.paraAlign,"ellipsis-boxing":this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0,"line-clamp-title":this.maxLines&&this.maxLines>0}}addWhiteClass(){if("white"==this.paraColor)return{[this.paraColor]:!0}}getLineCuttoff(){const t=this.ellipsisLineCutoff>0?this.ellipsisLineCutoff:this.maxLines;return t>0?{"-webkit-line-clamp":`${t}`}:{}}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{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";export{o as ptc_para}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as r,H as a,g as o}from"./p-ac75c7ad.js";const i=class{constructor(r){t(this,r),this.hoverEvent=e(this,"hoverEvent",7),this.leaveEvent=e(this,"leaveEvent",7),this.cardType=void 0,this.outlineColor=void 0,this.styles=void 0,this.isLoading=!1}hoverEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.add("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.add("mouse-hover-card-bottom"))}leaveEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.remove("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.remove("mouse-hover-card-bottom"))}async setHeight(t){this.el.style.height=t+"px",this.el.querySelector("ptc-picture").style.height=t+"px"}async removeInlineHeight(){this.el.style.removeProperty("height");const t=this.el.querySelector("ptc-picture");t&&t.style.removeProperty("height")}render(){const t=this.getCssClassMap();return r(a,Object.assign({part:"card-content",class:t},this.isLoading?{}:{onMouseEnter:this.hoverEventHandler.bind(this)},this.isLoading?{}:{onMouseLeave:this.leaveEventHandler.bind(this)}),this.styles&&r("style",null,this.styles),r("slot",{name:"slot-content"}),r("div",{class:"ptc-card-content-wrapper"},r("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType,[this.outlineColor]:!!this.outlineColor}}get el(){return o(this)}};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;height:100%}:host ::slotted([slot=seo-content]){display:none}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}";export{i as ptc_card_content}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as o,h as r,H as a,g as e}from"./p-ac75c7ad.js";import{c as i}from"./p-ad87bdab.js";const n=class{constructor(r){t(this,r),this.clickEvent=o(this,"clickEvent",7),this.disabled=!1,this.active=!1,this.type="button",this.color="ptc-primary",this.iconAnimation="",this.iconPosition="icon-right",this.linkHref=void 0,this.linkTitle=void 0,this.target="_self",this.rel=void 0,this.tabNav=0,this.styles=void 0,this.textAlign=void 0,this.enableAccessibilityAltStyle=!1,this.size=void 0,this.buttonTitle=void 0,this.ariaLabel="",this.seoCompatibilityMode=!1,this.maintainContent=!1,this.trackerId=void 0,this.darkFocusState=!1}clickEventHandler(){this.clickEvent.emit()}seoCompRender(){const t=this.getCssClassMap(),o=this.linkHref?"a":"button",[e,n]=i(this.el,o),s=n&&n.innerHTML;return this.el==n&&(this.el.innerHTML=""),this.maintainContent&&(this.el.innerHTML=s),r(a,null,this.styles&&r("style",null,this.styles),r("div",{id:this.trackerId,class:"tracker-div mf-listen"},r(e,Object.assign({class:t,onClick:this.clickEventHandler.bind(this)},this.linkHref?{href:this.linkHref}:{},this.linkHref?{}:{type:this.type},this.target&&this.linkHref?{target:this.target}:{},this.rel&&this.linkHref?{rel:this.rel}:{},this.linkHref?{title:this.linkTitle?this.linkTitle:this.linkHref}:{},this.tabNav?{tabindex:-1}:{tabindex:0},{title:this.buttonTitle},""!==this.ariaLabel?{ariaLabel:this.ariaLabel}:{}),r("span",{innerHTML:s},r("slot",{name:"slot-before-text"}),r("slot",{name:"slot-after-text"})))))}standardRender(){const t=this.getCssClassMap(),o=this.linkHref?"a":"button";return r(a,null,this.styles&&r("style",null,this.styles),r("div",{id:this.trackerId,class:"tracker-div mf-listen"},r(o,Object.assign({class:t,onClick:this.clickEventHandler.bind(this)},this.linkHref?{href:this.linkHref}:{},this.linkHref?{}:{type:this.type},this.target&&this.linkHref?{target:this.target}:{},this.rel&&this.linkHref?{rel:this.rel}:{},this.linkHref?{title:this.linkTitle?this.linkTitle:this.linkHref}:{},this.tabNav?{tabindex:-1}:{tabindex:0},{title:this.buttonTitle},""!==this.ariaLabel?{ariaLabel:this.ariaLabel}:{}),"reveal-down"==this.iconAnimation?r("span",null,r("div",{class:"content"},r("slot",null)),r("div",{class:"icon-wrapper"},r("div",{class:"icon"},r("slot",{name:"slot-after-text"})))):r("span",null,r("slot",{name:"slot-before-text"}),r("slot",null),r("slot",{name:"slot-after-text"})))))}render(){return this.seoCompatibilityMode?this.seoCompRender():this.standardRender()}getCssClassMap(){return{[this.color]:!0,[this.iconAnimation]:!0,[this.iconPosition]:!0,disabled:!!this.disabled,active:!!this.active,[this.textAlign]:!0,[this.size]:!0,"acc-alt-style":this.enableAccessibilityAltStyle,"focus-state-dark-background":this.darkFocusState}}get el(){return e(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}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:"";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black);transition:none}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black);transition:none}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}';export{n as ptc_button}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as c,h as r,H as e,g as t}from"./p-ac75c7ad.js";const a=class{constructor(r){c(this,r),this.position=void 0,this.removeTopMargin=!1,this.color="white",this.isDarkMode=!1,this.styles=void 0}componentWillLoad(){this.listItems=this.hostElement.querySelectorAll("list-item")}componentDidLoad(){this.listItems&&this.hostElement.querySelectorAll("list-item").forEach((c=>{c.remove()}))}render(){const c=this.getCssClassMap();return r(e,{class:c},this.styles&&r("style",null,this.styles),r("nav",{"aria-label":"Breadcrumb"},r("ol",{class:"ptc-breadcrumb-ol"},r("li",{class:"home-link mf-listen",id:"homeLinkID"},r("a",{href:"/","aria-label":"Home Link",class:{"breadcrumb-item-link":!0,"dark-mode-link":this.isDarkMode}},r("icon-asset",{type:"ptc",size:"medium",name:"icon-home",color:this.color}))),Array.from(this.listItems).map(((c,e,t)=>{const a=c.textContent.trim(),b=c.getAttribute("link-href");return r("li",{key:e,class:"mf-listen",id:"breadcrumb"+e+"ID"},e<t.length-1?r("a",{href:b,target:"_self",class:{"breadcrumb-item-link":!0,"dark-mode-link":this.isDarkMode}},a):a,r("span",{class:"visually-hidden"},"/"))})))))}getCssClassMap(){return{[this.position]:!(!this.position||void 0===this.position),"remove-top-margin":!!this.removeTopMargin,[this.color]:!0}}get hostElement(){return t(this)}};a.style='h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{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-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{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-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:"/";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);display:inline-block}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible.dark-mode-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}';export{a as ptc_breadcrumb}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as o,h as a,H as t,c as e,g as i}from"./p-ac75c7ad.js";const p=class{constructor(a){o(this,a)}render(){return a(t,null,a("div",{class:"close-icon mf-listen","tab-index":"0"},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",tabindex:0},a("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"}))))}};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: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 s=class{constructor(a){o(this,a),this.closed=e(this,"closed",7),this.opened=e(this,"opened",7),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.overlayHeight=void 0,this.borderRadius="standard",this.isBioModal=!1,this.styles=void 0,this.modalType="default-modal",this.vhCenter=!1,this.bodyOverflowSetting=void 0}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()}),100)}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.fireOnOpened(this),this.showHeaderFooter&&this.handleScroll()}componentDidUpdate(){this.show?this.fireOnOpened(this):this.fireOnClosed(this)}resizeIframe(o){let a=o.target;setTimeout((()=>{try{a.contentDocument?a.height=`${a.contentDocument.body.scrollHeight}px`:(a.height="616px",a.removeAttribute("scrolling"))}catch(o){console.log(o),a.height="616px",a.removeAttribute("scrolling")}a.classList.add("ready")}),50)}handleScroll(){let o=this.el.shadowRoot.querySelector(".shadow-scroller");if(o){let i=o.querySelector(".modal-body");var a=i.scrollHeight,t=i.scrollTop,e=i.offsetHeight;i.clientHeight<a&&(t>0?o.classList.add("scroll-top"):o.classList.remove("scroll-top"),e+t<a?o.classList.add("scroll-bottom"):o.classList.remove("scroll-bottom"))}}close(){this.show=!1}render(){let o,e,i=this.iframeUrl?"frame":"html",p=a("div",{class:"close",id:"modal-close"},a("ptc-close-icon",{onClick:o=>{o.preventDefault(),this.close()},onKeyPress:o=>{o.preventDefault(),this.close()}}));return o=this.iframeUrl?a("iframe",{src:this.iframeUrl,frameBorder:0,allowFullScreen:!1,height:"100%",width:"100%",scrolling:"no",onLoad:this.resizeIframe}):a("slot",this.showHeaderFooter?{name:"body"}:null),this.overlay&&(e=a("div",this.closeOnBlur?{class:"overlay",onClick:()=>this.close()}:{class:"overlay"})),a(t,{class:this.getCssClassMap()},this.styles&&a("style",null,this.styles),a("div",{class:`wrapper ${this.show?"show":"hide"} ${this.fixed?"fixed":""} `},e,a("div",{class:`modal-popup ${this.customClass?this.customClass:""} ${this.size} ${i} ${this.rounded?"rounded":""} ${this.showHeaderFooter?"shadow-scroller":""} `},this.showHeaderFooter?[a("div",{class:"modal-header"},a("slot",{name:"header"}),p),a("div",{class:"modal-body",onScroll:()=>this.handleScroll()},o),a("div",{class:"modal-footer"},a("slot",{name:"footer"}))]:[p,a("div",{class:"modal-body"},o)])))}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)}};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}.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.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}}";export{p as ptc_close_icon,s as ptc_modal}
|