@ptcwebops/ptcw-design 3.8.6 → 3.8.7
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/icon-asset_16.cjs.entry.js +1479 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
- package/dist/cjs/ptc-icon-component.cjs.entry.js +429 -0
- package/dist/cjs/ptc-link.cjs.entry.js +91 -0
- package/dist/cjs/ptc-readmore-char.cjs.entry.js +39 -0
- package/dist/cjs/ptc-readmore.cjs.entry.js +93 -0
- package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
- package/dist/cjs/ptcw-design.cjs.js +1 -1
- package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +7 -7
- package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +3 -2
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +44 -16
- package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +20 -1
- package/dist/custom-elements/index.js +8 -6
- package/dist/esm/academic-form-test.entry.js +1 -1
- package/dist/esm/author-listing-example.entry.js +1 -1
- package/dist/esm/bundle-example.entry.js +1 -1
- package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
- package/dist/esm/{core-1977536e.js → core-ebde74a2.js} +1 -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/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/icon-asset_16.entry.js +1460 -0
- package/dist/esm/{index-abb9f744.js → index-3309fc22.js} +1 -1
- package/dist/esm/innovator-toggle-container.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/most-popular-news.entry.js +1 -1
- package/dist/esm/my-component.entry.js +1 -1
- package/dist/esm/news-search-result.entry.js +1 -1
- package/dist/esm/{pagination-58bf50d9.js → pagination-726fafd1.js} +1 -1
- package/dist/esm/ptc-accordion-item.entry.js +1 -1
- 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-badge.entry.js +1 -1
- package/dist/esm/ptc-bio-card.entry.js +2 -2
- 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 +3 -3
- package/dist/esm/ptc-checkbox-group.entry.js +1 -1
- package/dist/esm/ptc-checkbox.entry.js +1 -1
- package/dist/esm/ptc-collapse-list.entry.js +1 -1
- package/dist/esm/ptc-container.entry.js +1 -1
- package/dist/esm/ptc-data-lookup.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-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.entry.js +1 -1
- package/dist/esm/ptc-form-checkbox_3.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-icon-component.entry.js +425 -0
- 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-link.entry.js +87 -0
- package/dist/esm/ptc-list.entry.js +1 -1
- package/dist/esm/ptc-media-card.entry.js +1 -1
- 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-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-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-overlay.entry.js +1 -1
- package/dist/esm/ptc-pagenation.entry.js +1 -1
- 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-section.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 +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-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-quote.entry.js +1 -1
- package/dist/esm/ptc-readmore-char.entry.js +35 -0
- package/dist/esm/ptc-readmore.entry.js +89 -0
- 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-search-field.entry.js +1 -1
- package/dist/esm/ptc-seo-title.entry.js +1 -1
- package/dist/esm/ptc-shopping-cart.entry.js +4 -3
- 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-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-subnav-card.entry.js +1 -1
- 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-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-white-paper.entry.js +1 -1
- package/dist/esm/ptcw-design.js +3 -3
- package/dist/esm/sequential-bundle-example.entry.js +2 -2
- package/dist/esm/sequential-bundle.entry.js +2 -2
- package/dist/esm/tab-content.entry.js +1 -1
- package/dist/esm/tab-header.entry.js +1 -1
- package/dist/ptcw-design/p-0076bd4d.entry.js +1 -0
- package/dist/ptcw-design/{p-36604862.entry.js → p-020f66f1.entry.js} +1 -1
- package/dist/ptcw-design/{p-1ee3dc05.entry.js → p-03ca130e.entry.js} +1 -1
- package/dist/ptcw-design/{p-17d4b8be.entry.js → p-054912ed.entry.js} +1 -1
- package/dist/ptcw-design/{p-a300231c.entry.js → p-16e0673e.entry.js} +1 -1
- package/dist/ptcw-design/{p-c17a2f3c.entry.js → p-17a8b8e3.entry.js} +1 -1
- package/dist/ptcw-design/{p-b90455f9.entry.js → p-1904359b.entry.js} +1 -1
- package/dist/ptcw-design/{p-4655bc27.entry.js → p-1dde0467.entry.js} +1 -1
- package/dist/ptcw-design/{p-0b9ac7cf.entry.js → p-207855ea.entry.js} +1 -1
- package/dist/ptcw-design/{p-6c002d42.entry.js → p-22887237.entry.js} +1 -1
- package/dist/ptcw-design/{p-7d8a978c.entry.js → p-238e7d54.entry.js} +1 -1
- package/dist/ptcw-design/{p-c45ab8e7.entry.js → p-24144029.entry.js} +1 -1
- package/dist/ptcw-design/{p-ed4b9aab.entry.js → p-25fbc2d0.entry.js} +1 -1
- package/dist/ptcw-design/p-25fbffd9.entry.js +1 -0
- package/dist/ptcw-design/{p-ea8bdc99.entry.js → p-261afbc1.entry.js} +1 -1
- package/dist/ptcw-design/{p-f9e8439f.entry.js → p-2675f0fe.entry.js} +1 -1
- package/dist/ptcw-design/{p-5d82cdaa.entry.js → p-29ff7857.entry.js} +1 -1
- package/dist/ptcw-design/{p-0311ceb2.entry.js → p-2c877fb9.entry.js} +1 -1
- package/dist/ptcw-design/{p-5cda8f30.entry.js → p-2d65dfcf.entry.js} +1 -1
- package/dist/ptcw-design/{p-9fa2a419.entry.js → p-2daf7fbe.entry.js} +1 -1
- package/dist/ptcw-design/{p-a00a829a.entry.js → p-33a7506c.entry.js} +1 -1
- package/dist/ptcw-design/{p-d2eb622e.entry.js → p-362d54d2.entry.js} +1 -1
- package/dist/ptcw-design/{p-731cd57d.entry.js → p-371d7474.entry.js} +1 -1
- package/dist/ptcw-design/{p-03bfbe0a.entry.js → p-39d018d6.entry.js} +1 -1
- package/dist/ptcw-design/{p-64466623.entry.js → p-3d1851a4.entry.js} +1 -1
- package/dist/ptcw-design/{p-b27ab783.entry.js → p-3e43113a.entry.js} +1 -1
- package/dist/ptcw-design/{p-a99adbbb.entry.js → p-423b590f.entry.js} +1 -1
- package/dist/ptcw-design/{p-3760236d.entry.js → p-42c50034.entry.js} +1 -1
- package/dist/ptcw-design/{p-683bb8c6.entry.js → p-45411fff.entry.js} +1 -1
- package/dist/ptcw-design/{p-77e477ff.entry.js → p-4a5bdc6a.entry.js} +1 -1
- package/dist/ptcw-design/p-4ae0e239.entry.js +1 -0
- package/dist/ptcw-design/{p-0be388fc.entry.js → p-4bdd8e95.entry.js} +1 -1
- package/dist/ptcw-design/{p-ca8fa3f3.entry.js → p-4d9bbf31.entry.js} +1 -1
- package/dist/ptcw-design/{p-2d223899.entry.js → p-4dafb772.entry.js} +1 -1
- package/dist/ptcw-design/{p-9d929e56.entry.js → p-4dd32631.entry.js} +1 -1
- package/dist/ptcw-design/{p-d37f1d5a.entry.js → p-4e237216.entry.js} +1 -1
- package/dist/ptcw-design/p-5150c774.entry.js +1 -0
- package/dist/ptcw-design/{p-06ec3a76.entry.js → p-51b6b420.entry.js} +1 -1
- package/dist/ptcw-design/{p-3459ce75.entry.js → p-5407c0c0.entry.js} +1 -1
- package/dist/ptcw-design/{p-e19ec1fb.entry.js → p-54708a83.entry.js} +1 -1
- package/dist/ptcw-design/{p-c974da46.entry.js → p-55637af9.entry.js} +1 -1
- package/dist/ptcw-design/{p-84692a5f.entry.js → p-5883f603.entry.js} +1 -1
- package/dist/ptcw-design/p-58b1b9a7.entry.js +1 -0
- package/dist/ptcw-design/{p-290c1c76.entry.js → p-59633fe2.entry.js} +1 -1
- package/dist/ptcw-design/{p-51cc6129.entry.js → p-5e8a4cd8.entry.js} +1 -1
- package/dist/ptcw-design/{p-7c218213.entry.js → p-5f137f3f.entry.js} +1 -1
- package/dist/ptcw-design/{p-66c2c3a3.entry.js → p-5f39f3f1.entry.js} +1 -1
- package/dist/ptcw-design/{p-7328af64.entry.js → p-6344d3a2.entry.js} +1 -1
- package/dist/ptcw-design/{p-cc61eec9.entry.js → p-6430ad2e.entry.js} +1 -1
- package/dist/ptcw-design/{p-b9036669.entry.js → p-66b1fc5e.entry.js} +1 -1
- package/dist/ptcw-design/{p-b123bf35.js → p-6914b70c.js} +1 -1
- package/dist/ptcw-design/{p-5fb6dbe5.entry.js → p-6bdb7900.entry.js} +1 -1
- package/dist/ptcw-design/{p-86592455.entry.js → p-6d90575f.entry.js} +1 -1
- package/dist/ptcw-design/{p-c7d46065.entry.js → p-71788f6d.entry.js} +1 -1
- package/dist/ptcw-design/{p-10ee3772.entry.js → p-7621fd18.entry.js} +1 -1
- package/dist/ptcw-design/{p-a120b60a.entry.js → p-764a0229.entry.js} +1 -1
- package/dist/ptcw-design/{p-404c847a.entry.js → p-7e5dd25c.entry.js} +1 -1
- package/dist/ptcw-design/p-854c9f75.entry.js +1 -0
- package/dist/ptcw-design/{p-ebe80b3e.entry.js → p-8594e32b.entry.js} +1 -1
- package/dist/ptcw-design/p-8875b669.entry.js +1 -0
- package/dist/ptcw-design/{p-12d3e601.entry.js → p-8ba615c2.entry.js} +1 -1
- package/dist/ptcw-design/p-8d44305a.entry.js +1 -0
- package/dist/ptcw-design/{p-7202bba3.js → p-8f6af405.js} +1 -1
- package/dist/ptcw-design/{p-a8d92a3b.entry.js → p-90758751.entry.js} +1 -1
- package/dist/ptcw-design/{p-ac7ca899.entry.js → p-94466d17.entry.js} +1 -1
- package/dist/ptcw-design/{p-42944d66.entry.js → p-965ea4cf.entry.js} +1 -1
- package/dist/ptcw-design/{p-ea51e7c2.entry.js → p-96af9e48.entry.js} +1 -1
- package/dist/ptcw-design/{p-c5a80410.entry.js → p-96dbabd9.entry.js} +1 -1
- package/dist/ptcw-design/{p-5860b07d.entry.js → p-96ff713c.entry.js} +1 -1
- package/dist/ptcw-design/{p-7fc3edca.entry.js → p-993adcc2.entry.js} +1 -1
- package/dist/ptcw-design/{p-ab300826.entry.js → p-9d13225e.entry.js} +1 -1
- package/dist/ptcw-design/{p-e262f5d8.entry.js → p-9e0bca7a.entry.js} +1 -1
- package/dist/ptcw-design/{p-0226ece0.js → p-9e0fd244.js} +1 -1
- package/dist/ptcw-design/{p-fe077ba0.entry.js → p-9e3c7de6.entry.js} +1 -1
- package/dist/ptcw-design/{p-eb9d6227.entry.js → p-a60d6a4c.entry.js} +1 -1
- package/dist/ptcw-design/{p-7ffefba9.entry.js → p-a7e3d3b2.entry.js} +1 -1
- package/dist/ptcw-design/{p-7b225938.entry.js → p-a90c79c0.entry.js} +1 -1
- package/dist/ptcw-design/p-ac37629c.entry.js +1 -0
- package/dist/ptcw-design/{p-547229d0.entry.js → p-ac5bc788.entry.js} +1 -1
- package/dist/ptcw-design/{p-08beb0ab.entry.js → p-acf282f7.entry.js} +1 -1
- package/dist/ptcw-design/{p-479f36f0.entry.js → p-af0e69ac.entry.js} +1 -1
- package/dist/ptcw-design/p-b18b5261.entry.js +1 -0
- package/dist/ptcw-design/{p-fed496fd.entry.js → p-b1d77d16.entry.js} +1 -1
- package/dist/ptcw-design/{p-4f7140ea.entry.js → p-b1f64951.entry.js} +1 -1
- package/dist/ptcw-design/{p-cf31d87c.entry.js → p-b581f151.entry.js} +1 -1
- package/dist/ptcw-design/{p-65d6be32.entry.js → p-b65c7a66.entry.js} +1 -1
- package/dist/ptcw-design/p-b81a6576.entry.js +1 -0
- package/dist/ptcw-design/{p-5680c8e9.entry.js → p-b8f9e9b4.entry.js} +1 -1
- package/dist/ptcw-design/{p-14bc4ffe.entry.js → p-b94d99f5.entry.js} +1 -1
- package/dist/ptcw-design/{p-d6f1ebbe.entry.js → p-baaedc25.entry.js} +1 -1
- package/dist/ptcw-design/{p-d2889bb8.entry.js → p-bee9c818.entry.js} +1 -1
- package/dist/ptcw-design/p-c1a3d271.entry.js +1 -0
- package/dist/ptcw-design/{p-305f897c.entry.js → p-c5ddb505.entry.js} +1 -1
- package/dist/ptcw-design/{p-3fa8c043.entry.js → p-cdafd0be.entry.js} +1 -1
- package/dist/ptcw-design/{p-2fde11cf.entry.js → p-ce9f7592.entry.js} +1 -1
- package/dist/ptcw-design/{p-ff682ea1.entry.js → p-d060593a.entry.js} +1 -1
- package/dist/ptcw-design/p-d5d4a714.entry.js +1 -0
- package/dist/ptcw-design/p-d624c8ca.entry.js +1 -0
- package/dist/ptcw-design/{p-4af7a016.entry.js → p-d9056a49.entry.js} +1 -1
- package/dist/ptcw-design/{p-3ad691c2.entry.js → p-de157f09.entry.js} +1 -1
- package/dist/ptcw-design/{p-26ce367b.entry.js → p-df4be90f.entry.js} +1 -1
- package/dist/ptcw-design/{p-be0c9a50.entry.js → p-e202c50a.entry.js} +1 -1
- package/dist/ptcw-design/p-e28086c9.entry.js +1 -0
- package/dist/ptcw-design/{p-2ebc621f.entry.js → p-e4b4e5fc.entry.js} +1 -1
- package/dist/ptcw-design/{p-a67b3072.entry.js → p-e786003c.entry.js} +1 -1
- package/dist/ptcw-design/{p-bd7c3586.entry.js → p-e9506045.entry.js} +1 -1
- package/dist/ptcw-design/{p-b7154ac6.entry.js → p-e99379c4.entry.js} +1 -1
- package/dist/ptcw-design/{p-b35f3f21.entry.js → p-ead74368.entry.js} +1 -1
- package/dist/ptcw-design/{p-dd73e3af.entry.js → p-ecf0f7d4.entry.js} +1 -1
- package/dist/ptcw-design/p-edfaa4b5.entry.js +1 -0
- package/dist/ptcw-design/{p-2d1a0b56.entry.js → p-f0329b38.entry.js} +1 -1
- package/dist/ptcw-design/{p-9896f967.entry.js → p-f378b843.entry.js} +1 -1
- package/dist/ptcw-design/{p-f078ec7d.entry.js → p-f90c075c.entry.js} +1 -1
- package/dist/ptcw-design/{p-671f1e11.entry.js → p-fa1b3b95.entry.js} +1 -1
- package/dist/ptcw-design/{p-622c768f.entry.js → p-fd2b7ff0.entry.js} +1 -1
- package/dist/ptcw-design/{p-95955ed3.entry.js → p-fde4ca9c.entry.js} +1 -1
- package/dist/ptcw-design/p-fe4fdc57.entry.js +1 -0
- package/dist/ptcw-design/{p-49f52c33.entry.js → p-ff392584.entry.js} +1 -1
- package/dist/ptcw-design/ptcw-design.esm.js +1 -1
- package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -0
- package/dist/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/icon-asset.cjs.entry.js +0 -53
- package/dist/cjs/interfaces-574e6df7.js +0 -15
- package/dist/cjs/list-item.cjs.entry.js +0 -46
- package/dist/cjs/max-width-container_10.cjs.entry.js +0 -1127
- package/dist/cjs/ptc-background-video.cjs.entry.js +0 -68
- package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +0 -164
- package/dist/cjs/ptc-button.cjs.entry.js +0 -75
- package/dist/cjs/ptc-img.cjs.entry.js +0 -133
- package/dist/cjs/ptc-modal.cjs.entry.js +0 -194
- package/dist/cjs/ptc-office-location-card.cjs.entry.js +0 -63
- package/dist/cjs/ptc-office-locations.cjs.entry.js +0 -223
- package/dist/cjs/show-map-icon-c1cca913.js +0 -10
- package/dist/esm/icon-asset.entry.js +0 -49
- package/dist/esm/interfaces-7c0243be.js +0 -12
- package/dist/esm/list-item.entry.js +0 -42
- package/dist/esm/max-width-container_10.entry.js +0 -1114
- package/dist/esm/ptc-background-video.entry.js +0 -64
- package/dist/esm/ptc-breadcrumb_2.entry.js +0 -159
- package/dist/esm/ptc-button.entry.js +0 -71
- package/dist/esm/ptc-img.entry.js +0 -129
- package/dist/esm/ptc-modal.entry.js +0 -190
- package/dist/esm/ptc-office-location-card.entry.js +0 -59
- package/dist/esm/ptc-office-locations.entry.js +0 -219
- package/dist/esm/show-map-icon-6d9dce32.js +0 -8
- package/dist/ptcw-design/p-03698164.entry.js +0 -1
- package/dist/ptcw-design/p-2f4f6ccd.js +0 -1
- package/dist/ptcw-design/p-38baf163.entry.js +0 -1
- package/dist/ptcw-design/p-4533c844.entry.js +0 -1
- package/dist/ptcw-design/p-465d7bce.entry.js +0 -1
- package/dist/ptcw-design/p-51f387a0.entry.js +0 -1
- package/dist/ptcw-design/p-5e911124.entry.js +0 -1
- package/dist/ptcw-design/p-62eadf3e.entry.js +0 -1
- package/dist/ptcw-design/p-70edb5f4.entry.js +0 -1
- package/dist/ptcw-design/p-91991667.entry.js +0 -1
- package/dist/ptcw-design/p-9e15fa58.entry.js +0 -1
- package/dist/ptcw-design/p-9f0379c7.entry.js +0 -1
- package/dist/ptcw-design/p-a698e82b.entry.js +0 -1
- package/dist/ptcw-design/p-ab22665e.entry.js +0 -1
- package/dist/ptcw-design/p-ad472068.entry.js +0 -1
- package/dist/ptcw-design/p-be29d609.entry.js +0 -1
- package/dist/ptcw-design/p-c152b9e3.entry.js +0 -1
- package/dist/ptcw-design/p-cdd46a55.entry.js +0 -1
- package/dist/ptcw-design/p-cfa01ed7.entry.js +0 -1
- package/dist/ptcw-design/p-d75e8fec.entry.js +0 -1
- package/dist/ptcw-design/p-dcf7d8b1.entry.js +0 -1
- package/dist/ptcw-design/p-dfaa4e99.entry.js +0 -1
- package/dist/ptcw-design/p-ee1183b2.js +0 -1
- package/dist/ptcw-design/p-f96ff659.entry.js +0 -1
|
@@ -1,1127 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-4b85b38a.js');
|
|
6
|
-
const core = require('./core-d64db970.js');
|
|
7
|
-
const pagination = require('./pagination-468c8158.js');
|
|
8
|
-
const utils = require('./utils-03d92070.js');
|
|
9
|
-
const interfaces = require('./interfaces-574e6df7.js');
|
|
10
|
-
|
|
11
|
-
const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
|
|
12
|
-
|
|
13
|
-
const MaxWidthContainer = class {
|
|
14
|
-
constructor(hostRef) {
|
|
15
|
-
index.registerInstance(this, hostRef);
|
|
16
|
-
this.maxWidthP = undefined;
|
|
17
|
-
this.maxWidth = undefined;
|
|
18
|
-
this.breakpoint = 768;
|
|
19
|
-
this.contentAlign = 'center';
|
|
20
|
-
this.styles = undefined;
|
|
21
|
-
}
|
|
22
|
-
componentDidLoad() {
|
|
23
|
-
this.handleResize();
|
|
24
|
-
window.addEventListener('resize', this.handleResize.bind(this));
|
|
25
|
-
}
|
|
26
|
-
disconnectedCallback() {
|
|
27
|
-
window.removeEventListener('resize', this.handleResize);
|
|
28
|
-
}
|
|
29
|
-
render() {
|
|
30
|
-
const classMap = this.getCssClassMap();
|
|
31
|
-
return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("slot", null)));
|
|
32
|
-
}
|
|
33
|
-
getCssClassMap() {
|
|
34
|
-
return {
|
|
35
|
-
[this.contentAlign]: true,
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
handleResize() {
|
|
39
|
-
// const selectedContainer = this.el.querySelector('.max-width-container');
|
|
40
|
-
if (this.el) {
|
|
41
|
-
if (window.innerWidth >= this.breakpoint) {
|
|
42
|
-
if (this.maxWidthP) {
|
|
43
|
-
this.el.style.maxWidth = `${this.maxWidthP}%`;
|
|
44
|
-
}
|
|
45
|
-
else {
|
|
46
|
-
this.el.style.maxWidth = `${this.maxWidth}px`;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
this.el.style.maxWidth = 'initial';
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
get el() { return index.getElement(this); }
|
|
55
|
-
};
|
|
56
|
-
MaxWidthContainer.style = maxWidthContainerCss;
|
|
57
|
-
|
|
58
|
-
function Scrollbar({
|
|
59
|
-
swiper,
|
|
60
|
-
extendParams,
|
|
61
|
-
on,
|
|
62
|
-
emit
|
|
63
|
-
}) {
|
|
64
|
-
const document = core.getDocument();
|
|
65
|
-
let isTouched = false;
|
|
66
|
-
let timeout = null;
|
|
67
|
-
let dragTimeout = null;
|
|
68
|
-
let dragStartPos;
|
|
69
|
-
let dragSize;
|
|
70
|
-
let trackSize;
|
|
71
|
-
let divider;
|
|
72
|
-
extendParams({
|
|
73
|
-
scrollbar: {
|
|
74
|
-
el: null,
|
|
75
|
-
dragSize: 'auto',
|
|
76
|
-
hide: false,
|
|
77
|
-
draggable: false,
|
|
78
|
-
snapOnRelease: true,
|
|
79
|
-
lockClass: 'swiper-scrollbar-lock',
|
|
80
|
-
dragClass: 'swiper-scrollbar-drag',
|
|
81
|
-
scrollbarDisabledClass: 'swiper-scrollbar-disabled',
|
|
82
|
-
horizontalClass: `swiper-scrollbar-horizontal`,
|
|
83
|
-
verticalClass: `swiper-scrollbar-vertical`
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
swiper.scrollbar = {
|
|
87
|
-
el: null,
|
|
88
|
-
dragEl: null
|
|
89
|
-
};
|
|
90
|
-
function setTranslate() {
|
|
91
|
-
if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
|
|
92
|
-
const {
|
|
93
|
-
scrollbar,
|
|
94
|
-
rtlTranslate: rtl
|
|
95
|
-
} = swiper;
|
|
96
|
-
const {
|
|
97
|
-
dragEl,
|
|
98
|
-
el
|
|
99
|
-
} = scrollbar;
|
|
100
|
-
const params = swiper.params.scrollbar;
|
|
101
|
-
const progress = swiper.params.loop ? swiper.progressLoop : swiper.progress;
|
|
102
|
-
let newSize = dragSize;
|
|
103
|
-
let newPos = (trackSize - dragSize) * progress;
|
|
104
|
-
if (rtl) {
|
|
105
|
-
newPos = -newPos;
|
|
106
|
-
if (newPos > 0) {
|
|
107
|
-
newSize = dragSize - newPos;
|
|
108
|
-
newPos = 0;
|
|
109
|
-
} else if (-newPos + dragSize > trackSize) {
|
|
110
|
-
newSize = trackSize + newPos;
|
|
111
|
-
}
|
|
112
|
-
} else if (newPos < 0) {
|
|
113
|
-
newSize = dragSize + newPos;
|
|
114
|
-
newPos = 0;
|
|
115
|
-
} else if (newPos + dragSize > trackSize) {
|
|
116
|
-
newSize = trackSize - newPos;
|
|
117
|
-
}
|
|
118
|
-
if (swiper.isHorizontal()) {
|
|
119
|
-
dragEl.style.transform = `translate3d(${newPos}px, 0, 0)`;
|
|
120
|
-
dragEl.style.width = `${newSize}px`;
|
|
121
|
-
} else {
|
|
122
|
-
dragEl.style.transform = `translate3d(0px, ${newPos}px, 0)`;
|
|
123
|
-
dragEl.style.height = `${newSize}px`;
|
|
124
|
-
}
|
|
125
|
-
if (params.hide) {
|
|
126
|
-
clearTimeout(timeout);
|
|
127
|
-
el.style.opacity = 1;
|
|
128
|
-
timeout = setTimeout(() => {
|
|
129
|
-
el.style.opacity = 0;
|
|
130
|
-
el.style.transitionDuration = '400ms';
|
|
131
|
-
}, 1000);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
function setTransition(duration) {
|
|
135
|
-
if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
|
|
136
|
-
swiper.scrollbar.dragEl.style.transitionDuration = `${duration}ms`;
|
|
137
|
-
}
|
|
138
|
-
function updateSize() {
|
|
139
|
-
if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
|
|
140
|
-
const {
|
|
141
|
-
scrollbar
|
|
142
|
-
} = swiper;
|
|
143
|
-
const {
|
|
144
|
-
dragEl,
|
|
145
|
-
el
|
|
146
|
-
} = scrollbar;
|
|
147
|
-
dragEl.style.width = '';
|
|
148
|
-
dragEl.style.height = '';
|
|
149
|
-
trackSize = swiper.isHorizontal() ? el.offsetWidth : el.offsetHeight;
|
|
150
|
-
divider = swiper.size / (swiper.virtualSize + swiper.params.slidesOffsetBefore - (swiper.params.centeredSlides ? swiper.snapGrid[0] : 0));
|
|
151
|
-
if (swiper.params.scrollbar.dragSize === 'auto') {
|
|
152
|
-
dragSize = trackSize * divider;
|
|
153
|
-
} else {
|
|
154
|
-
dragSize = parseInt(swiper.params.scrollbar.dragSize, 10);
|
|
155
|
-
}
|
|
156
|
-
if (swiper.isHorizontal()) {
|
|
157
|
-
dragEl.style.width = `${dragSize}px`;
|
|
158
|
-
} else {
|
|
159
|
-
dragEl.style.height = `${dragSize}px`;
|
|
160
|
-
}
|
|
161
|
-
if (divider >= 1) {
|
|
162
|
-
el.style.display = 'none';
|
|
163
|
-
} else {
|
|
164
|
-
el.style.display = '';
|
|
165
|
-
}
|
|
166
|
-
if (swiper.params.scrollbar.hide) {
|
|
167
|
-
el.style.opacity = 0;
|
|
168
|
-
}
|
|
169
|
-
if (swiper.params.watchOverflow && swiper.enabled) {
|
|
170
|
-
scrollbar.el.classList[swiper.isLocked ? 'add' : 'remove'](swiper.params.scrollbar.lockClass);
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
function getPointerPosition(e) {
|
|
174
|
-
return swiper.isHorizontal() ? e.clientX : e.clientY;
|
|
175
|
-
}
|
|
176
|
-
function setDragPosition(e) {
|
|
177
|
-
const {
|
|
178
|
-
scrollbar,
|
|
179
|
-
rtlTranslate: rtl
|
|
180
|
-
} = swiper;
|
|
181
|
-
const {
|
|
182
|
-
el
|
|
183
|
-
} = scrollbar;
|
|
184
|
-
let positionRatio;
|
|
185
|
-
positionRatio = (getPointerPosition(e) - core.elementOffset(el)[swiper.isHorizontal() ? 'left' : 'top'] - (dragStartPos !== null ? dragStartPos : dragSize / 2)) / (trackSize - dragSize);
|
|
186
|
-
positionRatio = Math.max(Math.min(positionRatio, 1), 0);
|
|
187
|
-
if (rtl) {
|
|
188
|
-
positionRatio = 1 - positionRatio;
|
|
189
|
-
}
|
|
190
|
-
const position = swiper.minTranslate() + (swiper.maxTranslate() - swiper.minTranslate()) * positionRatio;
|
|
191
|
-
swiper.updateProgress(position);
|
|
192
|
-
swiper.setTranslate(position);
|
|
193
|
-
swiper.updateActiveIndex();
|
|
194
|
-
swiper.updateSlidesClasses();
|
|
195
|
-
}
|
|
196
|
-
function onDragStart(e) {
|
|
197
|
-
const params = swiper.params.scrollbar;
|
|
198
|
-
const {
|
|
199
|
-
scrollbar,
|
|
200
|
-
wrapperEl
|
|
201
|
-
} = swiper;
|
|
202
|
-
const {
|
|
203
|
-
el,
|
|
204
|
-
dragEl
|
|
205
|
-
} = scrollbar;
|
|
206
|
-
isTouched = true;
|
|
207
|
-
dragStartPos = e.target === dragEl ? getPointerPosition(e) - e.target.getBoundingClientRect()[swiper.isHorizontal() ? 'left' : 'top'] : null;
|
|
208
|
-
e.preventDefault();
|
|
209
|
-
e.stopPropagation();
|
|
210
|
-
wrapperEl.style.transitionDuration = '100ms';
|
|
211
|
-
dragEl.style.transitionDuration = '100ms';
|
|
212
|
-
setDragPosition(e);
|
|
213
|
-
clearTimeout(dragTimeout);
|
|
214
|
-
el.style.transitionDuration = '0ms';
|
|
215
|
-
if (params.hide) {
|
|
216
|
-
el.style.opacity = 1;
|
|
217
|
-
}
|
|
218
|
-
if (swiper.params.cssMode) {
|
|
219
|
-
swiper.wrapperEl.style['scroll-snap-type'] = 'none';
|
|
220
|
-
}
|
|
221
|
-
emit('scrollbarDragStart', e);
|
|
222
|
-
}
|
|
223
|
-
function onDragMove(e) {
|
|
224
|
-
const {
|
|
225
|
-
scrollbar,
|
|
226
|
-
wrapperEl
|
|
227
|
-
} = swiper;
|
|
228
|
-
const {
|
|
229
|
-
el,
|
|
230
|
-
dragEl
|
|
231
|
-
} = scrollbar;
|
|
232
|
-
if (!isTouched) return;
|
|
233
|
-
if (e.preventDefault) e.preventDefault();else e.returnValue = false;
|
|
234
|
-
setDragPosition(e);
|
|
235
|
-
wrapperEl.style.transitionDuration = '0ms';
|
|
236
|
-
el.style.transitionDuration = '0ms';
|
|
237
|
-
dragEl.style.transitionDuration = '0ms';
|
|
238
|
-
emit('scrollbarDragMove', e);
|
|
239
|
-
}
|
|
240
|
-
function onDragEnd(e) {
|
|
241
|
-
const params = swiper.params.scrollbar;
|
|
242
|
-
const {
|
|
243
|
-
scrollbar,
|
|
244
|
-
wrapperEl
|
|
245
|
-
} = swiper;
|
|
246
|
-
const {
|
|
247
|
-
el
|
|
248
|
-
} = scrollbar;
|
|
249
|
-
if (!isTouched) return;
|
|
250
|
-
isTouched = false;
|
|
251
|
-
if (swiper.params.cssMode) {
|
|
252
|
-
swiper.wrapperEl.style['scroll-snap-type'] = '';
|
|
253
|
-
wrapperEl.style.transitionDuration = '';
|
|
254
|
-
}
|
|
255
|
-
if (params.hide) {
|
|
256
|
-
clearTimeout(dragTimeout);
|
|
257
|
-
dragTimeout = core.nextTick(() => {
|
|
258
|
-
el.style.opacity = 0;
|
|
259
|
-
el.style.transitionDuration = '400ms';
|
|
260
|
-
}, 1000);
|
|
261
|
-
}
|
|
262
|
-
emit('scrollbarDragEnd', e);
|
|
263
|
-
if (params.snapOnRelease) {
|
|
264
|
-
swiper.slideToClosest();
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
function events(method) {
|
|
268
|
-
const {
|
|
269
|
-
scrollbar,
|
|
270
|
-
params
|
|
271
|
-
} = swiper;
|
|
272
|
-
const el = scrollbar.el;
|
|
273
|
-
if (!el) return;
|
|
274
|
-
const target = el;
|
|
275
|
-
const activeListener = params.passiveListeners ? {
|
|
276
|
-
passive: false,
|
|
277
|
-
capture: false
|
|
278
|
-
} : false;
|
|
279
|
-
const passiveListener = params.passiveListeners ? {
|
|
280
|
-
passive: true,
|
|
281
|
-
capture: false
|
|
282
|
-
} : false;
|
|
283
|
-
if (!target) return;
|
|
284
|
-
const eventMethod = method === 'on' ? 'addEventListener' : 'removeEventListener';
|
|
285
|
-
target[eventMethod]('pointerdown', onDragStart, activeListener);
|
|
286
|
-
document[eventMethod]('pointermove', onDragMove, activeListener);
|
|
287
|
-
document[eventMethod]('pointerup', onDragEnd, passiveListener);
|
|
288
|
-
}
|
|
289
|
-
function enableDraggable() {
|
|
290
|
-
if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
|
|
291
|
-
events('on');
|
|
292
|
-
}
|
|
293
|
-
function disableDraggable() {
|
|
294
|
-
if (!swiper.params.scrollbar.el || !swiper.scrollbar.el) return;
|
|
295
|
-
events('off');
|
|
296
|
-
}
|
|
297
|
-
function init() {
|
|
298
|
-
const {
|
|
299
|
-
scrollbar,
|
|
300
|
-
el: swiperEl
|
|
301
|
-
} = swiper;
|
|
302
|
-
swiper.params.scrollbar = pagination.createElementIfNotDefined(swiper, swiper.originalParams.scrollbar, swiper.params.scrollbar, {
|
|
303
|
-
el: 'swiper-scrollbar'
|
|
304
|
-
});
|
|
305
|
-
const params = swiper.params.scrollbar;
|
|
306
|
-
if (!params.el) return;
|
|
307
|
-
let el;
|
|
308
|
-
if (typeof params.el === 'string' && swiper.isElement) {
|
|
309
|
-
el = swiper.el.shadowRoot.querySelector(params.el);
|
|
310
|
-
}
|
|
311
|
-
if (!el && typeof params.el === 'string') {
|
|
312
|
-
el = document.querySelectorAll(params.el);
|
|
313
|
-
} else if (!el) {
|
|
314
|
-
el = params.el;
|
|
315
|
-
}
|
|
316
|
-
if (swiper.params.uniqueNavElements && typeof params.el === 'string' && el.length > 1 && swiperEl.querySelectorAll(params.el).length === 1) {
|
|
317
|
-
el = swiperEl.querySelector(params.el);
|
|
318
|
-
}
|
|
319
|
-
if (el.length > 0) el = el[0];
|
|
320
|
-
el.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);
|
|
321
|
-
let dragEl;
|
|
322
|
-
if (el) {
|
|
323
|
-
dragEl = el.querySelector(`.${swiper.params.scrollbar.dragClass}`);
|
|
324
|
-
if (!dragEl) {
|
|
325
|
-
dragEl = core.createElement('div', swiper.params.scrollbar.dragClass);
|
|
326
|
-
el.append(dragEl);
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
Object.assign(scrollbar, {
|
|
330
|
-
el,
|
|
331
|
-
dragEl
|
|
332
|
-
});
|
|
333
|
-
if (params.draggable) {
|
|
334
|
-
enableDraggable();
|
|
335
|
-
}
|
|
336
|
-
if (el) {
|
|
337
|
-
el.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.scrollbar.lockClass);
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
function destroy() {
|
|
341
|
-
const params = swiper.params.scrollbar;
|
|
342
|
-
const el = swiper.scrollbar.el;
|
|
343
|
-
if (el) {
|
|
344
|
-
el.classList.remove(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);
|
|
345
|
-
}
|
|
346
|
-
disableDraggable();
|
|
347
|
-
}
|
|
348
|
-
on('init', () => {
|
|
349
|
-
if (swiper.params.scrollbar.enabled === false) {
|
|
350
|
-
// eslint-disable-next-line
|
|
351
|
-
disable();
|
|
352
|
-
} else {
|
|
353
|
-
init();
|
|
354
|
-
updateSize();
|
|
355
|
-
setTranslate();
|
|
356
|
-
}
|
|
357
|
-
});
|
|
358
|
-
on('update resize observerUpdate lock unlock', () => {
|
|
359
|
-
updateSize();
|
|
360
|
-
});
|
|
361
|
-
on('setTranslate', () => {
|
|
362
|
-
setTranslate();
|
|
363
|
-
});
|
|
364
|
-
on('setTransition', (_s, duration) => {
|
|
365
|
-
setTransition(duration);
|
|
366
|
-
});
|
|
367
|
-
on('enable disable', () => {
|
|
368
|
-
const {
|
|
369
|
-
el
|
|
370
|
-
} = swiper.scrollbar;
|
|
371
|
-
if (el) {
|
|
372
|
-
el.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.scrollbar.lockClass);
|
|
373
|
-
}
|
|
374
|
-
});
|
|
375
|
-
on('destroy', () => {
|
|
376
|
-
destroy();
|
|
377
|
-
});
|
|
378
|
-
const enable = () => {
|
|
379
|
-
swiper.el.classList.remove(swiper.params.scrollbar.scrollbarDisabledClass);
|
|
380
|
-
if (swiper.scrollbar.el) {
|
|
381
|
-
swiper.scrollbar.el.classList.remove(swiper.params.scrollbar.scrollbarDisabledClass);
|
|
382
|
-
}
|
|
383
|
-
init();
|
|
384
|
-
updateSize();
|
|
385
|
-
setTranslate();
|
|
386
|
-
};
|
|
387
|
-
const disable = () => {
|
|
388
|
-
swiper.el.classList.add(swiper.params.scrollbar.scrollbarDisabledClass);
|
|
389
|
-
if (swiper.scrollbar.el) {
|
|
390
|
-
swiper.scrollbar.el.classList.add(swiper.params.scrollbar.scrollbarDisabledClass);
|
|
391
|
-
}
|
|
392
|
-
destroy();
|
|
393
|
-
};
|
|
394
|
-
Object.assign(swiper.scrollbar, {
|
|
395
|
-
enable,
|
|
396
|
-
disable,
|
|
397
|
-
updateSize,
|
|
398
|
-
setTranslate,
|
|
399
|
-
init,
|
|
400
|
-
destroy
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
const ptcIconComponentCss = "@font-face{font-family:'swiper-icons';src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff;}.swiper,swiper-container{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide,swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0, 0, 0, 0.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none;}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,swiper-container:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px;}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none !important}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}:root{}.swiper-pagination{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:200ms transform, 200ms top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,:host(.swiper-horizontal.swiper-rtl) .swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform, 200ms right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute;}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}:root{}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none !important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification,swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev,.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:0.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform, opacity, height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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;width:100%;margin:auto;padding:0;max-width:500px}@media only screen and (min-width: 768px){:host{padding:0 24px;max-width:100%}}@media only screen and (min-width: 992px){:host{padding:0 56px}}@media only screen and (min-width: 1440px){:host{padding:0}}:host .icon-component-row{display:flex;flex-wrap:wrap;margin:0 -24px;justify-content:center}@media only screen and (min-width: 992px){:host .icon-component-row{margin:0 -40px}}:host .icon-component-row ::slotted(.icon-component){flex-grow:1;max-width:50%;width:50%;padding:0 24px;margin:40px 0}@media only screen and (min-width: 992px){:host .icon-component-row ::slotted(.icon-component){padding:0 40px;margin:44px 0}}@media only screen and (min-width: 1440px){:host .icon-component-row ::slotted(.icon-component){max-width:33.333333%;width:33.333333%}}:host .swiper-container{overflow:hidden;position:relative;padding:44px 0 92px 0}:host .swiper-container .icon-component{padding:0 38px;text-align:center}:host .swiper-container .icon-component ptc-tooltip>.sc-ptc-tooltip:last-child{display:none}:host .swiper-container .icon-component ptc-title .sc-ptc-title-s{margin:12px auto 6px auto;max-width:85%;display:block}:host .swiper-container .swiper-pagination-bullet{width:20px;height:20px;text-align:center;line-height:20px;font-size:12px;opacity:1;border-radius:50%;margin:0px 14px;cursor:pointer;border:2px solid var(--color-gray-03);background-color:transparent;position:relative}:host .swiper-container .swiper-pagination-bullet::after{content:\"\";display:block;position:absolute;width:32px;height:1px;border-top:2px solid var(--color-gray-03);margin-top:-1px;z-index:-1;top:50%;left:20px}:host .swiper-container .swiper-pagination-bullet:last-child::after{display:none}:host .swiper-container .swiper-pagination-bullet-active{color:var(--color-white);background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 20 20\"><defs><style> .cls-1 { fill: %2300890B; } .cls-2 { fill: %23f3f3f3; } </style></defs><circle id=\"Ellipse_1_copy_2\" data-name=\"Ellipse 1 copy 2\" class=\"cls-1\" cx=\"10\" cy=\"10\" r=\"10\"/><circle id=\"Ellipse_1_copy\" data-name=\"Ellipse 1 copy\" class=\"cls-2\" cx=\"10\" cy=\"10\" r=\"7.781\"/><circle class=\"cls-1\" cx=\"10\" cy=\"10\" r=\"5\"/></svg>');background-position:50%;background-repeat:no-repeat;border:2px solid transparent}:host .swiper-container .swiper-button-next:after,:host .swiper-container .swiper-button-prev:after{display:none}:host .swiper-container .swiper-button-next{right:0}:host .swiper-container .swiper-button-prev{left:0}:host(.mobileView) .icon-component-row{display:none}:host(.mobileView) .swiper-container{display:block}:host(.desktopView) .icon-component-row{display:flex}:host(.desktopView) .swiper-container{display:none}";
|
|
405
|
-
|
|
406
|
-
const PtcIconComponent = class {
|
|
407
|
-
constructor(hostRef) {
|
|
408
|
-
index.registerInstance(this, hostRef);
|
|
409
|
-
this.isMobile = undefined;
|
|
410
|
-
}
|
|
411
|
-
handleResize() {
|
|
412
|
-
this.isMobile = window.innerWidth < 768;
|
|
413
|
-
}
|
|
414
|
-
componentWillLoad() {
|
|
415
|
-
this.isMobile = window.innerWidth < 768;
|
|
416
|
-
}
|
|
417
|
-
componentDidLoad() {
|
|
418
|
-
this.renderSlides();
|
|
419
|
-
this.initSlider();
|
|
420
|
-
}
|
|
421
|
-
renderSlides() {
|
|
422
|
-
const slidesList = Array.from(this.hostElement.querySelectorAll('.icon-component'));
|
|
423
|
-
if (slidesList.length > 0) {
|
|
424
|
-
const swiperWrapper = this.hostElement.shadowRoot.querySelector('.swiper-wrapper');
|
|
425
|
-
slidesList.forEach((node) => {
|
|
426
|
-
const slideElement = document.createElement('div');
|
|
427
|
-
slideElement.classList.add('swiper-slide');
|
|
428
|
-
let cloneNode = node.cloneNode(true);
|
|
429
|
-
slideElement.appendChild(cloneNode);
|
|
430
|
-
swiperWrapper.appendChild(slideElement);
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
initSlider() {
|
|
435
|
-
if (this.swiperWrapperRef) {
|
|
436
|
-
this.iconSwiper = new core.Swiper(this.swiperWrapperRef, {
|
|
437
|
-
// Customize options here
|
|
438
|
-
modules: [pagination.Navigation, pagination.Pagination, Scrollbar],
|
|
439
|
-
slidesPerView: 1,
|
|
440
|
-
loop: true,
|
|
441
|
-
//autoHeight: true,
|
|
442
|
-
//spaceBetween: 24,
|
|
443
|
-
pagination: {
|
|
444
|
-
el: this.swiperPaginationRef,
|
|
445
|
-
clickable: true,
|
|
446
|
-
//type: 'fraction'
|
|
447
|
-
},
|
|
448
|
-
navigation: {
|
|
449
|
-
nextEl: this.swiperButtonNextRef,
|
|
450
|
-
prevEl: this.swiperButtonPrevRef,
|
|
451
|
-
},
|
|
452
|
-
});
|
|
453
|
-
console.log("running swiper");
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
//@Listen('readMoreRendered', { target: 'window' })
|
|
457
|
-
//handlereadMorePressed(el) {
|
|
458
|
-
// if(this.iconSwiper && el){
|
|
459
|
-
// this.iconSwiper.slideReset(0.001);
|
|
460
|
-
// this.iconSwiper.updateAutoHeight(0.001);
|
|
461
|
-
// }
|
|
462
|
-
//}
|
|
463
|
-
disconnectedCallback() {
|
|
464
|
-
console.log("Running disconnectedCb");
|
|
465
|
-
//window.removeEventListener('resize', this.handleResize);
|
|
466
|
-
if (this.iconSwiper) {
|
|
467
|
-
this.iconSwiper.destroy(true, true);
|
|
468
|
-
this.iconSwiper = null;
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
render() {
|
|
472
|
-
return (index.h(index.Host, { class: this.isMobile ? 'mobileView' : 'desktopView' }, index.h("div", { class: "icon-component-row" }, index.h("slot", null)), index.h("div", { class: "swiper-container", ref: el => this.swiperWrapperRef = el }, index.h("div", { class: "swiper-wrapper" }), index.h("div", { class: "swiper-pagination", ref: el => this.swiperPaginationRef = el }), index.h("div", { class: "swiper-button-next", ref: el => this.swiperButtonNextRef = el }, index.h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.75 17.25L8 10L0.75 2.75L3.375 0.125L13.25 10L3.375 19.875L0.75 17.25Z", fill: "#323B42" }))), index.h("div", { class: "swiper-button-prev", ref: el => this.swiperButtonPrevRef = el }, index.h("svg", { width: "14", height: "20", viewBox: "0 0 14 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M13.25 2.75L6 10L13.25 17.25L10.625 19.875L0.749999 10L10.625 0.125L13.25 2.75Z", fill: "#323B42" }))))));
|
|
473
|
-
}
|
|
474
|
-
get hostElement() { return index.getElement(this); }
|
|
475
|
-
};
|
|
476
|
-
PtcIconComponent.style = ptcIconComponentCss;
|
|
477
|
-
|
|
478
|
-
const ptcLinkCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-extrabold);position:relative;line-height:var(--ptc-line-height-densest);outline:none;text-decoration:none;transition:color var(--ptc-transition-fast) var(--ptc-ease-inout)}.simple{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.global{font-style:var(--ptc-letter-spacing-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out)}.global:visited{color:var(--color-blue-10)}.global:active,.global:visited:active{color:var(--color-blue-09)}.global:hover,.global:visited:hover{color:var(--color-blue-08)}.global.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.product-link{font-weight:var(--ptc-font-weight-extrabold);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.underline{border-bottom:2px solid var(--color-green-06)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.medium-large{font-size:var(--ptc-font-size-small)}.large{font-size:var(--ptc-font-size-medium)}.nav-title:focus,.nav-title-link:focus,.nav-card-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.nav-card-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-white);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 1200px){.nav-card-link{font-size:var(--ptc-font-size-xxx-small)}}.nav-card-link:hover{color:var(--color-white);text-decoration:underline var(--color-green-06) solid 1px;text-underline-offset:2px}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.d-green-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:hover{color:var(--color-green-06)}.d-white-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-white);text-underline-offset:5px}.link-area-cover-parent{position:static}.link-area-cover-parent::after{content:\"\";position:absolute;width:100%;height:100%;inset:0;z-index:2}.standard-link,.blog-link{font-weight:800;line-height:1;display:flex;align-items:center;color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.standard-link:hover,.blog-link:hover{color:var(--color-green-06)}.w-thin{font-weight:var(--ptc-font-weight-thin)}.w-regular{font-weight:var(--ptc-font-weight-regular)}.w-medium{font-weight:var(--ptc-font-weight-medium)}.w-semibold{font-weight:var(--ptc-font-weight-semibold)}.w-bold{font-weight:var(--ptc-font-weight-bold)}.w-extrabold{font-weight:var(--ptc-font-weight-extrabold)}.w-black{font-weight:var(--ptc-font-weight-black)}.utility-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-13);font-stretch:100%;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-green-06);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-x-small)}.utility-nav-link:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}";
|
|
479
|
-
|
|
480
|
-
const PtcLink = class {
|
|
481
|
-
constructor(hostRef) {
|
|
482
|
-
index.registerInstance(this, hostRef);
|
|
483
|
-
this.disabled = false;
|
|
484
|
-
this.external = false;
|
|
485
|
-
this.href = undefined;
|
|
486
|
-
this.target = '_self';
|
|
487
|
-
this.linkTitle = undefined;
|
|
488
|
-
this.theme = 'simple';
|
|
489
|
-
this.fontSize = 'medium';
|
|
490
|
-
this.fontWeight = undefined;
|
|
491
|
-
this.linkArea = undefined;
|
|
492
|
-
this.seoCompatibilityMode = false;
|
|
493
|
-
this.styles = undefined;
|
|
494
|
-
}
|
|
495
|
-
seoCompRender() {
|
|
496
|
-
const classMap = this.getCssClassMap();
|
|
497
|
-
const [TagType, firstChild] = utils.getSeoTagType(this.el, "a");
|
|
498
|
-
const html = firstChild && firstChild.innerHTML;
|
|
499
|
-
if (this.el == firstChild) {
|
|
500
|
-
this.el.innerHTML = '';
|
|
501
|
-
}
|
|
502
|
-
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h(TagType, { class: classMap, innerHTML: html, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, index.h("slot", null))));
|
|
503
|
-
}
|
|
504
|
-
standardRender() {
|
|
505
|
-
const classMap = this.getCssClassMap();
|
|
506
|
-
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, index.h("slot", null))));
|
|
507
|
-
}
|
|
508
|
-
// render() {
|
|
509
|
-
// const classMap = this.getCssClassMap();
|
|
510
|
-
// return (
|
|
511
|
-
// <Host>
|
|
512
|
-
// {this.styles && <style>{this.styles}</style>}
|
|
513
|
-
// <a class={classMap} href={this.href} target={this.external ? '_blank' : this.target} title={this.linkTitle}>
|
|
514
|
-
// <slot></slot>
|
|
515
|
-
// </a>
|
|
516
|
-
// </Host>
|
|
517
|
-
// );
|
|
518
|
-
// }
|
|
519
|
-
render() {
|
|
520
|
-
if (this.seoCompatibilityMode) {
|
|
521
|
-
return this.seoCompRender();
|
|
522
|
-
}
|
|
523
|
-
else {
|
|
524
|
-
return this.standardRender();
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
getCssClassMap() {
|
|
528
|
-
const classOptions = [
|
|
529
|
-
'simple',
|
|
530
|
-
'underline',
|
|
531
|
-
'nav-title',
|
|
532
|
-
'primary-nav-link',
|
|
533
|
-
'nav-title-link',
|
|
534
|
-
'nav-card-link',
|
|
535
|
-
'secondary-nav-link',
|
|
536
|
-
'footer-nav-link',
|
|
537
|
-
'copyright-link',
|
|
538
|
-
'product-link',
|
|
539
|
-
'd-green-underline',
|
|
540
|
-
'd-white-underline',
|
|
541
|
-
'global',
|
|
542
|
-
'utility-nav-link'
|
|
543
|
-
];
|
|
544
|
-
let mainClass = this.theme;
|
|
545
|
-
if (classOptions.indexOf(mainClass) < 0) {
|
|
546
|
-
mainClass = 'simple'; // fallback to simple class if theme is unavailable
|
|
547
|
-
}
|
|
548
|
-
return {
|
|
549
|
-
['ptc-link']: true,
|
|
550
|
-
[mainClass]: true,
|
|
551
|
-
['disabled']: this.disabled,
|
|
552
|
-
[this.fontSize]: true,
|
|
553
|
-
[this.linkArea]: this.linkArea ? true : false,
|
|
554
|
-
[this.fontWeight]: this.fontWeight ? true : false,
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
|
-
get el() { return index.getElement(this); }
|
|
558
|
-
};
|
|
559
|
-
PtcLink.style = ptcLinkCss;
|
|
560
|
-
|
|
561
|
-
const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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(.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-9{font-weight:var(--ptc-font-weight-black)}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}";
|
|
562
|
-
|
|
563
|
-
const PtcPara = class {
|
|
564
|
-
constructor(hostRef) {
|
|
565
|
-
index.registerInstance(this, hostRef);
|
|
566
|
-
this.fontSize = 'x-small';
|
|
567
|
-
this.fontWeight = 'w-4';
|
|
568
|
-
this.paraStyle = 'default';
|
|
569
|
-
this.paraColor = 'primary-grey';
|
|
570
|
-
this.paraLineH = 'line-height-normal';
|
|
571
|
-
this.paraMargin = undefined;
|
|
572
|
-
this.paraAlign = undefined;
|
|
573
|
-
this.ellipsisLineCutoff = undefined;
|
|
574
|
-
this.paraZIndex = undefined;
|
|
575
|
-
this.styles = undefined;
|
|
576
|
-
this.seoCompatibilityMode = false;
|
|
577
|
-
}
|
|
578
|
-
render() {
|
|
579
|
-
if (this.seoCompatibilityMode) {
|
|
580
|
-
utils.seoSlotReset(this.el);
|
|
581
|
-
}
|
|
582
|
-
return this.standardRender();
|
|
583
|
-
}
|
|
584
|
-
standardRender() {
|
|
585
|
-
const classMap = this.getCssClassMap();
|
|
586
|
-
const colorClass = this.addWhiteClass();
|
|
587
|
-
const cutOff = this.getLineCuttoff();
|
|
588
|
-
return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
|
|
589
|
-
}
|
|
590
|
-
getCssClassMap() {
|
|
591
|
-
return {
|
|
592
|
-
[this.fontSize]: true,
|
|
593
|
-
[this.fontWeight]: true,
|
|
594
|
-
[this.paraStyle]: true,
|
|
595
|
-
[this.paraMargin]: !!this.paraMargin ? true : false,
|
|
596
|
-
[this.paraColor]: true,
|
|
597
|
-
[this.paraLineH]: true,
|
|
598
|
-
[this.paraAlign]: !!this.paraAlign ? true : false,
|
|
599
|
-
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
600
|
-
};
|
|
601
|
-
}
|
|
602
|
-
//WEB-2392
|
|
603
|
-
addWhiteClass() {
|
|
604
|
-
if (this.paraColor == 'white') {
|
|
605
|
-
return {
|
|
606
|
-
[this.paraColor]: true,
|
|
607
|
-
};
|
|
608
|
-
}
|
|
609
|
-
}
|
|
610
|
-
getLineCuttoff() {
|
|
611
|
-
let result;
|
|
612
|
-
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
613
|
-
result = {
|
|
614
|
-
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
615
|
-
};
|
|
616
|
-
}
|
|
617
|
-
return result;
|
|
618
|
-
}
|
|
619
|
-
get el() { return index.getElement(this); }
|
|
620
|
-
};
|
|
621
|
-
PtcPara.style = ptcParaCss;
|
|
622
|
-
|
|
623
|
-
const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
|
|
624
|
-
|
|
625
|
-
const PtcPicture = class {
|
|
626
|
-
constructor(hostRef) {
|
|
627
|
-
index.registerInstance(this, hostRef);
|
|
628
|
-
this.src = undefined;
|
|
629
|
-
this.alt = 'image';
|
|
630
|
-
this.sizeXs = '510x340';
|
|
631
|
-
this.sizeSm = '1240x496';
|
|
632
|
-
this.sizeMd = '1366x500';
|
|
633
|
-
this.sizeLg = '1920x1080';
|
|
634
|
-
this.disableResize = false;
|
|
635
|
-
this.oldSrc = undefined;
|
|
636
|
-
this.imagePosition = 'static';
|
|
637
|
-
this.borderRadius = undefined;
|
|
638
|
-
this.height = undefined;
|
|
639
|
-
this.width = undefined;
|
|
640
|
-
this.objectFit = 'cover';
|
|
641
|
-
this.isFullHeight = false;
|
|
642
|
-
this.isFullWidth = false;
|
|
643
|
-
this.styles = undefined;
|
|
644
|
-
this.imageAlignment = 'left';
|
|
645
|
-
this.maxWidth = undefined;
|
|
646
|
-
this.displayImage = 'block';
|
|
647
|
-
}
|
|
648
|
-
WindowResize() {
|
|
649
|
-
this.addIntersectionObserver();
|
|
650
|
-
}
|
|
651
|
-
componentWillLoad() {
|
|
652
|
-
if (this.disableResize) {
|
|
653
|
-
this.sizeXs = undefined;
|
|
654
|
-
this.sizeSm = undefined;
|
|
655
|
-
this.sizeMd = undefined;
|
|
656
|
-
this.sizeLg = undefined;
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
componentDidLoad() {
|
|
660
|
-
this.addIntersectionObserver();
|
|
661
|
-
}
|
|
662
|
-
componentWillUpdate() {
|
|
663
|
-
if (this.src !== this.oldSrc) {
|
|
664
|
-
this.addIntersectionObserver();
|
|
665
|
-
}
|
|
666
|
-
this.oldSrc = this.src;
|
|
667
|
-
}
|
|
668
|
-
//lazy-loading
|
|
669
|
-
addIntersectionObserver() {
|
|
670
|
-
if (!this.src) {
|
|
671
|
-
return;
|
|
672
|
-
}
|
|
673
|
-
if ('IntersectionObserver' in window) {
|
|
674
|
-
let lazyLoadImages = new IntersectionObserver(entries => {
|
|
675
|
-
entries.forEach(entry => {
|
|
676
|
-
if (entry.isIntersecting) {
|
|
677
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
678
|
-
image.src = this.setResponsiveBg();
|
|
679
|
-
lazyLoadImages.unobserve(image);
|
|
680
|
-
}
|
|
681
|
-
});
|
|
682
|
-
});
|
|
683
|
-
let tempImg = this.el.shadowRoot.querySelector('img');
|
|
684
|
-
if (tempImg) {
|
|
685
|
-
lazyLoadImages.observe(tempImg);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
else {
|
|
689
|
-
// fall back to setTimeout for Safari and IE
|
|
690
|
-
setTimeout(() => {
|
|
691
|
-
const image = this.el.shadowRoot.querySelector('img');
|
|
692
|
-
image.src = this.setResponsiveBg();
|
|
693
|
-
image.onload = () => {
|
|
694
|
-
image.removeAttribute('data-src');
|
|
695
|
-
console.log('loaded fallback');
|
|
696
|
-
};
|
|
697
|
-
}, 5000);
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
//responsive image
|
|
701
|
-
setResponsiveBg() {
|
|
702
|
-
// Define local variables
|
|
703
|
-
let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
|
|
704
|
-
for (var i = 0, len = backgrounds.length; i < len; i++) {
|
|
705
|
-
// Set current variables
|
|
706
|
-
el = backgrounds[i];
|
|
707
|
-
elData = el.getAttribute('data-' + currentBreakpoint);
|
|
708
|
-
if (elData !== null) {
|
|
709
|
-
return elData;
|
|
710
|
-
}
|
|
711
|
-
else {
|
|
712
|
-
if (typeof console == 'object') {
|
|
713
|
-
console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
render() {
|
|
719
|
-
const classMap = this.getCssClassMap();
|
|
720
|
-
const classMapHost = this.getCssClassMapHost();
|
|
721
|
-
return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), index.h("slot", null)));
|
|
722
|
-
}
|
|
723
|
-
getCurrentBreakPoints() {
|
|
724
|
-
// Define local variables
|
|
725
|
-
let doc = window.document, temp = doc.createElement('div'), env;
|
|
726
|
-
// Append test node
|
|
727
|
-
doc.body.appendChild(temp);
|
|
728
|
-
// Loop through breakpoints
|
|
729
|
-
for (let i = interfaces.ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
|
|
730
|
-
env = interfaces.ResponsivePictureVariables.envs[i];
|
|
731
|
-
// Add classes
|
|
732
|
-
temp.className = 'hidden-' + env;
|
|
733
|
-
// Found breakpoint
|
|
734
|
-
if (temp.offsetParent === null) {
|
|
735
|
-
// Remove our test node
|
|
736
|
-
doc.body.removeChild(temp);
|
|
737
|
-
// Return current breakpoint
|
|
738
|
-
return env;
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
// Breakpoint not found, try fallback
|
|
742
|
-
doc.body.removeChild(temp);
|
|
743
|
-
return this.getFallbackBreakpoint();
|
|
744
|
-
}
|
|
745
|
-
getFallbackBreakpoint() {
|
|
746
|
-
if (window.matchMedia('(min-width: 992px)').matches) {
|
|
747
|
-
return 'lg';
|
|
748
|
-
}
|
|
749
|
-
else if (window.matchMedia('(min-width: 768px)').matches) {
|
|
750
|
-
return 'md';
|
|
751
|
-
}
|
|
752
|
-
else if (window.matchMedia('(min-width: 576px)').matches) {
|
|
753
|
-
return 'sm';
|
|
754
|
-
}
|
|
755
|
-
else {
|
|
756
|
-
return 'xs';
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
getCssClassMap() {
|
|
760
|
-
return {
|
|
761
|
-
[this.borderRadius]: this.borderRadius ? true : false,
|
|
762
|
-
[this.objectFit]: true,
|
|
763
|
-
[this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
|
|
764
|
-
[this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
|
|
765
|
-
[this.displayImage]: true
|
|
766
|
-
};
|
|
767
|
-
}
|
|
768
|
-
getCssClassMapHost() {
|
|
769
|
-
return {
|
|
770
|
-
[this.imagePosition]: true,
|
|
771
|
-
[this.imageAlignment]: true,
|
|
772
|
-
};
|
|
773
|
-
}
|
|
774
|
-
get el() { return index.getElement(this); }
|
|
775
|
-
};
|
|
776
|
-
PtcPicture.style = ptcPictureCss;
|
|
777
|
-
|
|
778
|
-
const ptcReadmoreCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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}.box input{opacity:0;position:absolute;pointer-events:none}.box .read-more-text{display:-webkit-box;-webkit-box-orient:vertical;margin:0;overflow:hidden;word-wrap:break-word}.box .line1{-webkit-line-clamp:1}.box .line2{-webkit-line-clamp:2}.box .line3{-webkit-line-clamp:3}.box .line4{-webkit-line-clamp:4}.box .line5{-webkit-line-clamp:5}.box .line10{-webkit-line-clamp:10}.box input~label{display:block;position:relative;cursor:pointer;right:0;margin-top:var(--ptc-element-spacing-02);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);text-decoration-line:underline;color:var(--color-hyperlink);text-align:right;margin-right:var(--ptc-element-spacing-07)}.box input~label.left{text-align:left}.box input~label.right{text-align:right}.box input~label.center{text-align:center;margin-right:0}.box .z-auto{z-index:auto}.box .z-1{z-index:1}.box .z-2{z-index:2}.box .z-3{z-index:3}.box .z-999{z-index:999}.box input:checked+.read-more-text{-webkit-line-clamp:unset !important}.box .read-more-text:not(.truncated)~label{display:none}.box .show-less-cta{display:block !important}:host .box.add-icon .read-more-cta-label span{display:inline-block;position:relative;padding-right:var(--ptc-element-spacing-03)}:host .box.add-icon .read-more-cta-label span::after{content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300890B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E\");width:10px;height:7px;background-size:cover;position:absolute;right:-5px;bottom:7px}:host .box.add-icon .read-more-cta-label.show-less-cta span::after{transform:rotate(180deg)}:host .box.blue .read-more-cta-label{color:var(--color-hyperlink)}:host .box.gray .read-more-cta-label{color:var(--color-gray-10)}:host .box.green .read-more-cta-label{color:var(--color-green-07)}:host .box.initial .read-more-cta-label{color:initial}:host .box.small .read-more-cta-label{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}:host .box.medium .read-more-cta-label{font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p)}:host .box.large .read-more-cta-label{font-size:var(--ptc-font-size-large);line-height:var(--ptc-line-height-p)}:host .box.large.add-icon .read-more-cta-label span{padding-right:var(--ptc-element-spacing-04)}:host .box.large.add-icon .read-more-cta-label span::after{width:15px;height:10px}";
|
|
779
|
-
|
|
780
|
-
const PtcReadmore = class {
|
|
781
|
-
constructor(hostRef) {
|
|
782
|
-
index.registerInstance(this, hostRef);
|
|
783
|
-
this.moreText = 'read more';
|
|
784
|
-
this.lessText = undefined;
|
|
785
|
-
this.readMorePosition = 'right';
|
|
786
|
-
this.display = 'inline';
|
|
787
|
-
this.visibleLines = 'line2';
|
|
788
|
-
this.visibleLinesCustom = undefined;
|
|
789
|
-
this.zIndex = 'z-auto';
|
|
790
|
-
this.checked = false;
|
|
791
|
-
this.size = 'small';
|
|
792
|
-
this.isIcon = false;
|
|
793
|
-
this.color = 'blue';
|
|
794
|
-
}
|
|
795
|
-
async updateReadmoreStatus() {
|
|
796
|
-
setTimeout(() => {
|
|
797
|
-
this.addBtnTruncated();
|
|
798
|
-
}, 100);
|
|
799
|
-
}
|
|
800
|
-
addBtnTruncated() {
|
|
801
|
-
const appRoot = this.el.shadowRoot;
|
|
802
|
-
const ps = appRoot.querySelectorAll('.read-more-text');
|
|
803
|
-
ps.forEach(p => {
|
|
804
|
-
// if (this.visibleCharacters){
|
|
805
|
-
// const truncatedText = p.textContent.slice(0, this.visibleCharacters);
|
|
806
|
-
// p.textContent = truncatedText;
|
|
807
|
-
// }
|
|
808
|
-
p.classList[p.scrollHeight > p.clientHeight ? 'add' : 'remove']('truncated');
|
|
809
|
-
});
|
|
810
|
-
}
|
|
811
|
-
// Created this function to initialize the truncate function on specific elements like tabs
|
|
812
|
-
enableAddTruncatedClass(element) {
|
|
813
|
-
const allTabHeaders = document.querySelectorAll(element);
|
|
814
|
-
for (const element of Array.from(allTabHeaders)) {
|
|
815
|
-
let tabHeader = element;
|
|
816
|
-
if (tabHeader) {
|
|
817
|
-
tabHeader.addEventListener('click', () => {
|
|
818
|
-
setTimeout(() => {
|
|
819
|
-
this.addBtnTruncated();
|
|
820
|
-
}, 100);
|
|
821
|
-
});
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
}
|
|
825
|
-
componentDidLoad() {
|
|
826
|
-
this.addBtnTruncated();
|
|
827
|
-
document.addEventListener("readystatechange", () => {
|
|
828
|
-
if (document.readyState === "complete") {
|
|
829
|
-
this.addBtnTruncated();
|
|
830
|
-
}
|
|
831
|
-
});
|
|
832
|
-
this.enableAddTruncatedClass('tab-header');
|
|
833
|
-
this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
|
|
834
|
-
}
|
|
835
|
-
// click event handler
|
|
836
|
-
handleClick(event) {
|
|
837
|
-
this.addBtnTruncated();
|
|
838
|
-
// check if the input box is checked
|
|
839
|
-
this.checked = event.target.checked;
|
|
840
|
-
// Getting cta element
|
|
841
|
-
const cta = this.el.shadowRoot.querySelector('.read-more-cta-label');
|
|
842
|
-
// Updating the cta text
|
|
843
|
-
this.checked
|
|
844
|
-
? cta.innerHTML = `<span> ${this.lessText ? this.lessText : ''} </span>`
|
|
845
|
-
: cta.innerHTML = `<span> ${this.moreText ? this.moreText : ''}</span>`;
|
|
846
|
-
this.checked ? cta.classList.add('show-less-cta') : cta.classList.remove('show-less-cta');
|
|
847
|
-
}
|
|
848
|
-
render() {
|
|
849
|
-
const classMap = this.getCssClassMap();
|
|
850
|
-
return (index.h(index.Host, { class: this.display }, index.h("div", { class: classMap }, index.h("input", { type: "checkbox", id: "expanded", onClick: (e) => this.handleClick(e) }), !!this.visibleLines || !!this.visibleLinesCustom ? index.h("p", { class: `read-more-text ${this.visibleLines}`, style: { WebkitLineClamp: `${this.visibleLinesCustom}` } }, index.h("slot", null)) : null, index.h("label", { htmlFor: "expanded", role: "button", class: `${this.zIndex + ' ' + this.readMorePosition} read-more-cta-label` }, index.h("span", null, this.moreText)))));
|
|
851
|
-
}
|
|
852
|
-
getCssClassMap() {
|
|
853
|
-
return {
|
|
854
|
-
['box']: true,
|
|
855
|
-
[this.color]: true,
|
|
856
|
-
[this.size]: true,
|
|
857
|
-
['add-icon']: this.isIcon
|
|
858
|
-
};
|
|
859
|
-
}
|
|
860
|
-
get el() { return index.getElement(this); }
|
|
861
|
-
};
|
|
862
|
-
PtcReadmore.style = ptcReadmoreCss;
|
|
863
|
-
|
|
864
|
-
const ptcReadmoreCharCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card{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{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 .description{display:inline}:host .truncated-label{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 .truncated-label::before{content:\"\";padding-left:8px}";
|
|
865
|
-
|
|
866
|
-
const PtcReadmoreChar = class {
|
|
867
|
-
constructor(hostRef) {
|
|
868
|
-
index.registerInstance(this, hostRef);
|
|
869
|
-
this.readMoreClicked = index.createEvent(this, "readMoreClicked", 7);
|
|
870
|
-
this.readMoreRendered = index.createEvent(this, "readMoreRendered", 7);
|
|
871
|
-
this.expanded = false;
|
|
872
|
-
this.maxCharacters = 100;
|
|
873
|
-
this.description = undefined;
|
|
874
|
-
this.readMoreText = "Read More";
|
|
875
|
-
this.readLessText = "Read Less";
|
|
876
|
-
}
|
|
877
|
-
//componentWillUpdate() {
|
|
878
|
-
// this.readMoreRendered.emit(true);
|
|
879
|
-
//}
|
|
880
|
-
toggleExpand() {
|
|
881
|
-
this.expanded = !this.expanded;
|
|
882
|
-
this.readMoreClicked.emit(this.expanded);
|
|
883
|
-
}
|
|
884
|
-
render() {
|
|
885
|
-
const contentText = this.description
|
|
886
|
-
? this.description.trim()
|
|
887
|
-
: '';
|
|
888
|
-
const truncatedContent = contentText.length > this.maxCharacters ? contentText.substring(0, this.maxCharacters) + '...' : contentText;
|
|
889
|
-
const label = this.expanded ? this.readLessText : this.readMoreText;
|
|
890
|
-
return (index.h(index.Host, null, index.h("p", { class: "description" }, this.expanded ? (this.description) : (truncatedContent)), contentText.length > this.maxCharacters && (index.h("label", { class: "truncated-label", onClick: () => this.toggleExpand() }, label))));
|
|
891
|
-
}
|
|
892
|
-
get el() { return index.getElement(this); }
|
|
893
|
-
};
|
|
894
|
-
PtcReadmoreChar.style = ptcReadmoreCharCss;
|
|
895
|
-
|
|
896
|
-
const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
|
|
897
|
-
|
|
898
|
-
const PtcSpacer = class {
|
|
899
|
-
constructor(hostRef) {
|
|
900
|
-
index.registerInstance(this, hostRef);
|
|
901
|
-
this.breakpoint = '';
|
|
902
|
-
this.size = 'medium';
|
|
903
|
-
this.direction = 'vertical';
|
|
904
|
-
}
|
|
905
|
-
render() {
|
|
906
|
-
const classMap = this.getCssClassMap();
|
|
907
|
-
return (index.h(index.Host, { class: classMap }));
|
|
908
|
-
}
|
|
909
|
-
getCssClassMap() {
|
|
910
|
-
return {
|
|
911
|
-
[this.size]: true,
|
|
912
|
-
['ptc-spacer-horizontal']: this.direction === 'horizontal',
|
|
913
|
-
['ptc-spacer-vertical']: this.direction === 'vertical',
|
|
914
|
-
['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
|
|
915
|
-
['ptc-spacer-x-small']: this.breakpoint === 'x-small',
|
|
916
|
-
['ptc-spacer-small']: this.breakpoint === 'small',
|
|
917
|
-
['ptc-spacer-medium']: this.breakpoint === 'medium',
|
|
918
|
-
['ptc-spacer-large']: this.breakpoint === 'large',
|
|
919
|
-
['ptc-spacer-x-large']: this.breakpoint === 'x-large',
|
|
920
|
-
['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
|
|
921
|
-
['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
|
|
922
|
-
};
|
|
923
|
-
}
|
|
924
|
-
};
|
|
925
|
-
PtcSpacer.style = ptcSpacerCss;
|
|
926
|
-
|
|
927
|
-
const ptcTitleCss = "h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title{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-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title{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}}div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.margin-9.sc-ptc-title{margin-top:var(--ptc-element-spacing-09);margin-bottom:var(--ptc-element-spacing-09)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 768px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}";
|
|
928
|
-
|
|
929
|
-
const PtcTitle = class {
|
|
930
|
-
constructor(hostRef) {
|
|
931
|
-
index.registerInstance(this, hostRef);
|
|
932
|
-
this.isPlmHub = false;
|
|
933
|
-
this.type = 'h2';
|
|
934
|
-
this.textAlign = undefined;
|
|
935
|
-
this.upperline = 'dotted';
|
|
936
|
-
this.titleShadow = undefined;
|
|
937
|
-
this.titleColor = 'gray';
|
|
938
|
-
this.titleMargin = undefined;
|
|
939
|
-
this.titleWeight = undefined;
|
|
940
|
-
this.titleSize = undefined;
|
|
941
|
-
this.titleHeight = 'densest';
|
|
942
|
-
this.styles = undefined;
|
|
943
|
-
this.ellipsisLineCutoff = undefined;
|
|
944
|
-
this.titleDisplay = 'inline-block';
|
|
945
|
-
this.seoCompatibilityMode = false;
|
|
946
|
-
}
|
|
947
|
-
render() {
|
|
948
|
-
if (this.seoCompatibilityMode) {
|
|
949
|
-
return this.seoCompRender();
|
|
950
|
-
}
|
|
951
|
-
else {
|
|
952
|
-
return this.standardRender();
|
|
953
|
-
}
|
|
954
|
-
}
|
|
955
|
-
seoCompRender() {
|
|
956
|
-
const classMap = this.getCssClassMap();
|
|
957
|
-
const cutOff = this.getLineCuttoff();
|
|
958
|
-
const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
|
|
959
|
-
const html = firstChild && firstChild.innerHTML;
|
|
960
|
-
if (this.el == firstChild) {
|
|
961
|
-
this.el.innerHTML = '';
|
|
962
|
-
}
|
|
963
|
-
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { innerHTML: html, style: cutOff }))));
|
|
964
|
-
}
|
|
965
|
-
standardRender() {
|
|
966
|
-
const classMap = this.getCssClassMap();
|
|
967
|
-
const cutOff = this.getLineCuttoff();
|
|
968
|
-
let TagType;
|
|
969
|
-
switch (this.type) {
|
|
970
|
-
case 'h1':
|
|
971
|
-
TagType = 'h1';
|
|
972
|
-
break;
|
|
973
|
-
case 'h3':
|
|
974
|
-
TagType = 'h3';
|
|
975
|
-
break;
|
|
976
|
-
case 'h4':
|
|
977
|
-
TagType = 'h4';
|
|
978
|
-
break;
|
|
979
|
-
case 'h5':
|
|
980
|
-
TagType = 'h5';
|
|
981
|
-
break;
|
|
982
|
-
case 'h6':
|
|
983
|
-
TagType = 'h6';
|
|
984
|
-
break;
|
|
985
|
-
default:
|
|
986
|
-
TagType = 'h2';
|
|
987
|
-
}
|
|
988
|
-
return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
|
|
989
|
-
}
|
|
990
|
-
getCssClassMap() {
|
|
991
|
-
return {
|
|
992
|
-
[this.textAlign]: !!this.textAlign ? true : false,
|
|
993
|
-
[this.upperline]: true,
|
|
994
|
-
[this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
|
|
995
|
-
[this.titleMargin]: !!this.titleMargin ? true : false,
|
|
996
|
-
[this.titleShadow]: !!this.titleShadow ? true : false,
|
|
997
|
-
[this.titleWeight]: !!this.titleWeight ? true : false,
|
|
998
|
-
[this.titleSize]: !!this.titleSize ? true : false,
|
|
999
|
-
[this.titleHeight]: !!this.titleHeight ? true : false,
|
|
1000
|
-
[this.titleColor]: !!this.titleColor ? true : false,
|
|
1001
|
-
['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
|
|
1002
|
-
[this.titleDisplay]: !!this.titleDisplay ? true : false,
|
|
1003
|
-
};
|
|
1004
|
-
}
|
|
1005
|
-
getLineCuttoff() {
|
|
1006
|
-
let result;
|
|
1007
|
-
if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
|
|
1008
|
-
result = {
|
|
1009
|
-
['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
|
-
return result;
|
|
1013
|
-
}
|
|
1014
|
-
get el() { return index.getElement(this); }
|
|
1015
|
-
};
|
|
1016
|
-
PtcTitle.style = ptcTitleCss;
|
|
1017
|
-
|
|
1018
|
-
const ptcTooltipCss = "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{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{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)}.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}";
|
|
1019
|
-
|
|
1020
|
-
const PtcTooltip = class {
|
|
1021
|
-
constructor(hostRef) {
|
|
1022
|
-
index.registerInstance(this, hostRef);
|
|
1023
|
-
this.textDisplay = 'inline';
|
|
1024
|
-
this.maxLength = 45;
|
|
1025
|
-
this.textLines = undefined;
|
|
1026
|
-
this.description = 'This is a tooltip text placeholder';
|
|
1027
|
-
this.zIndex = 'z-auto';
|
|
1028
|
-
this.position = 'bottom';
|
|
1029
|
-
this.styles = undefined;
|
|
1030
|
-
this.mode = 'text-only';
|
|
1031
|
-
this.theme = 'standard';
|
|
1032
|
-
this.width = 'default';
|
|
1033
|
-
this.hideOnMobile = false;
|
|
1034
|
-
this.isSmallScreen = undefined;
|
|
1035
|
-
this.noOverflow = false;
|
|
1036
|
-
}
|
|
1037
|
-
addTruncatedClass() {
|
|
1038
|
-
const appRoot = this.el;
|
|
1039
|
-
const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
|
|
1040
|
-
text.forEach(t => {
|
|
1041
|
-
t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
|
|
1042
|
-
});
|
|
1043
|
-
}
|
|
1044
|
-
windowResize() {
|
|
1045
|
-
this.verifiyScreenSize();
|
|
1046
|
-
}
|
|
1047
|
-
verifiyScreenSize() {
|
|
1048
|
-
this.isSmallScreen = window.innerWidth < 768;
|
|
1049
|
-
}
|
|
1050
|
-
// Created this function to initialize the truncate function on specific elements like tabs
|
|
1051
|
-
enableAddTruncatedClass(element) {
|
|
1052
|
-
const allTabHeaders = document.querySelectorAll(element);
|
|
1053
|
-
for (const element of Array.from(allTabHeaders)) {
|
|
1054
|
-
let tabHeader = element;
|
|
1055
|
-
if (tabHeader) {
|
|
1056
|
-
tabHeader.addEventListener('click', () => {
|
|
1057
|
-
setTimeout(() => {
|
|
1058
|
-
this.addTruncatedClass();
|
|
1059
|
-
}, 100);
|
|
1060
|
-
});
|
|
1061
|
-
}
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
componentWillLoad() {
|
|
1065
|
-
this.verifiyScreenSize();
|
|
1066
|
-
}
|
|
1067
|
-
componentDidLoad() {
|
|
1068
|
-
//this.addTruncatedClass();
|
|
1069
|
-
setTimeout(() => {
|
|
1070
|
-
this.addTruncatedClass();
|
|
1071
|
-
}, 1000);
|
|
1072
|
-
this.enableAddTruncatedClass('tab-header');
|
|
1073
|
-
this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
|
|
1074
|
-
this.enableAddTruncatedClass('ptc-product-card');
|
|
1075
|
-
document.addEventListener('readystatechange', () => {
|
|
1076
|
-
if (document.readyState === 'complete') {
|
|
1077
|
-
this.addTruncatedClass();
|
|
1078
|
-
}
|
|
1079
|
-
});
|
|
1080
|
-
}
|
|
1081
|
-
render() {
|
|
1082
|
-
if (this.mode == 'wrapper') {
|
|
1083
|
-
return (index.h(index.Host, { class: this.textDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "wrapper-content" }, index.h("div", { class: "slot-content" }, index.h("slot", null)), index.h("div", { class: `tooltip ${this.position} ${this.theme}` }, index.h("slot", { name: "description" }), this.description && index.h("span", { innerHTML: this.description })))));
|
|
1084
|
-
}
|
|
1085
|
-
else {
|
|
1086
|
-
const classMap = this.getCssClassMap();
|
|
1087
|
-
const cutOff = this.getLineCuttoff();
|
|
1088
|
-
let truncatedText = this.description.substring(0, this.maxLength);
|
|
1089
|
-
if (this.description.length > this.maxLength) {
|
|
1090
|
-
//const lastSpace = truncatedText.lastIndexOf(' ');
|
|
1091
|
-
//truncatedText = truncatedText.substring(0, lastSpace);
|
|
1092
|
-
truncatedText += '... ';
|
|
1093
|
-
}
|
|
1094
|
-
return (index.h(index.Host, { class: { [this.textDisplay]: true, [this.width]: true, 'no-overflow': this.noOverflow } }, this.styles && index.h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (index.h("div", null, this.description)) : (index.h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (index.h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (index.h("div", { class: classMap }, truncatedText)), index.h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
|
|
1095
|
-
}
|
|
1096
|
-
}
|
|
1097
|
-
getCssClassMap() {
|
|
1098
|
-
return {
|
|
1099
|
-
// ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
|
|
1100
|
-
['text-ellipsis']: true,
|
|
1101
|
-
[this.zIndex]: this.description.length > this.maxLength ? true : false,
|
|
1102
|
-
['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
|
|
1103
|
-
};
|
|
1104
|
-
}
|
|
1105
|
-
getLineCuttoff() {
|
|
1106
|
-
let result;
|
|
1107
|
-
if (this.textLines && this.textLines > 0) {
|
|
1108
|
-
result = {
|
|
1109
|
-
['-webkit-line-clamp']: `${this.textLines}`,
|
|
1110
|
-
};
|
|
1111
|
-
}
|
|
1112
|
-
return result;
|
|
1113
|
-
}
|
|
1114
|
-
get el() { return index.getElement(this); }
|
|
1115
|
-
};
|
|
1116
|
-
PtcTooltip.style = ptcTooltipCss;
|
|
1117
|
-
|
|
1118
|
-
exports.max_width_container = MaxWidthContainer;
|
|
1119
|
-
exports.ptc_icon_component = PtcIconComponent;
|
|
1120
|
-
exports.ptc_link = PtcLink;
|
|
1121
|
-
exports.ptc_para = PtcPara;
|
|
1122
|
-
exports.ptc_picture = PtcPicture;
|
|
1123
|
-
exports.ptc_readmore = PtcReadmore;
|
|
1124
|
-
exports.ptc_readmore_char = PtcReadmoreChar;
|
|
1125
|
-
exports.ptc_spacer = PtcSpacer;
|
|
1126
|
-
exports.ptc_title = PtcTitle;
|
|
1127
|
-
exports.ptc_tooltip = PtcTooltip;
|