@ptcwebops/ptcw-design 6.2.17-beta → 6.2.18-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (360) hide show
  1. package/dist/cjs/event-jumbotron-example.cjs.entry.js +146 -0
  2. package/dist/cjs/{event-jumbotron-example_15.cjs.entry.js → icon-asset_13.cjs.entry.js} +509 -678
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +155 -0
  5. package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
  6. package/dist/cjs/ptc-card_2.cjs.entry.js +9 -3
  7. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +222 -0
  8. package/dist/cjs/ptc-link.cjs.entry.js +87 -0
  9. package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
  10. package/dist/cjs/ptc-white-paper.cjs.entry.js +6 -0
  11. package/dist/cjs/ptcw-design.cjs.js +1 -1
  12. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +417 -8
  13. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +8 -2
  14. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +6 -0
  15. package/dist/custom-elements/index.js +15 -3
  16. package/dist/esm/academic-form-test.entry.js +1 -1
  17. package/dist/esm/author-listing-example.entry.js +1 -1
  18. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  19. package/dist/esm/blog-detail-layout.entry.js +1 -1
  20. package/dist/esm/blogs-search-section.entry.js +1 -1
  21. package/dist/esm/bundle-example.entry.js +1 -1
  22. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  23. package/dist/esm/dropdown-item.entry.js +1 -1
  24. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  25. package/dist/esm/embedded-form.entry.js +1 -1
  26. package/dist/esm/event-jumbotron-example.entry.js +142 -0
  27. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  28. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  29. package/dist/esm/featured-list.entry.js +1 -1
  30. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  31. package/dist/esm/footer-form.entry.js +1 -1
  32. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  33. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  34. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  35. package/dist/esm/{event-jumbotron-example_15.entry.js → icon-asset_13.entry.js} +504 -671
  36. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  37. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  38. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  39. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  40. package/dist/esm/loader.js +3 -3
  41. package/dist/esm/modal-form-example.entry.js +1 -1
  42. package/dist/esm/most-popular-news.entry.js +1 -1
  43. package/dist/esm/my-component.entry.js +1 -1
  44. package/dist/esm/news-search-result.entry.js +1 -1
  45. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  46. package/dist/esm/ptc-accordion.entry.js +1 -1
  47. package/dist/esm/ptc-announcement.entry.js +1 -1
  48. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  49. package/dist/esm/ptc-badge.entry.js +1 -1
  50. package/dist/esm/ptc-bio-card.entry.js +1 -1
  51. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  52. package/dist/esm/ptc-card-bottom_2.entry.js +150 -0
  53. package/dist/esm/ptc-card-content.entry.js +72 -0
  54. package/dist/esm/ptc-card_2.entry.js +10 -4
  55. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  56. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  57. package/dist/esm/ptc-checkbox.entry.js +1 -1
  58. package/dist/esm/ptc-close-icon_2.entry.js +217 -0
  59. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  60. package/dist/esm/ptc-container.entry.js +1 -1
  61. package/dist/esm/ptc-countdown.entry.js +1 -1
  62. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  63. package/dist/esm/ptc-date.entry.js +1 -1
  64. package/dist/esm/ptc-dropdown.entry.js +1 -1
  65. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  66. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  67. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  68. package/dist/esm/ptc-featured-list.entry.js +1 -1
  69. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  70. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  71. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  72. package/dist/esm/ptc-footer.entry.js +1 -1
  73. package/dist/esm/ptc-form-checkbox_4.entry.js +1 -1
  74. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  75. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  76. package/dist/esm/ptc-form.entry.js +1 -1
  77. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  78. package/dist/esm/ptc-hero.entry.js +1 -1
  79. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  80. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  81. package/dist/esm/ptc-icon-card.entry.js +1 -1
  82. package/dist/esm/ptc-icon-component.entry.js +1 -1
  83. package/dist/esm/ptc-icon-list.entry.js +1 -1
  84. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  85. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  86. package/dist/esm/ptc-info-tile.entry.js +1 -1
  87. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  88. package/dist/esm/ptc-link.entry.js +83 -0
  89. package/dist/esm/ptc-list.entry.js +1 -1
  90. package/dist/esm/ptc-media-card.entry.js +1 -1
  91. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  92. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  93. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  94. package/dist/esm/ptc-nav-card.entry.js +1 -1
  95. package/dist/esm/ptc-nav-link.entry.js +1 -1
  96. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  97. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  98. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  99. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  100. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  101. package/dist/esm/ptc-news.entry.js +1 -1
  102. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  103. package/dist/esm/ptc-office-locations.entry.js +1 -1
  104. package/dist/esm/ptc-overlay.entry.js +1 -1
  105. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  106. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  107. package/dist/esm/ptc-previous-url.entry.js +1 -1
  108. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  109. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  110. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  111. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  112. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  113. package/dist/esm/ptc-product-card.entry.js +1 -1
  114. package/dist/esm/ptc-product-category.entry.js +1 -1
  115. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  116. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  117. package/dist/esm/ptc-product-list.entry.js +1 -1
  118. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  119. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  120. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  121. package/dist/esm/ptc-quote.entry.js +1 -1
  122. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  123. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  124. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  125. package/dist/esm/ptc-readmore.entry.js +1 -1
  126. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  127. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  128. package/dist/esm/ptc-scroll-button.entry.js +132 -0
  129. package/dist/esm/ptc-search-field.entry.js +1 -1
  130. package/dist/esm/ptc-seo-title.entry.js +1 -1
  131. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  132. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  133. package/dist/esm/ptc-skeleton.entry.js +1 -1
  134. package/dist/esm/ptc-slit-card.entry.js +1 -1
  135. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  136. package/dist/esm/ptc-social-icons.entry.js +1 -1
  137. package/dist/esm/ptc-span.entry.js +1 -1
  138. package/dist/esm/ptc-square-card.entry.js +1 -1
  139. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  140. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  141. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  142. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  143. package/dist/esm/ptc-subnav.entry.js +1 -1
  144. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  145. package/dist/esm/ptc-tab-list.entry.js +1 -1
  146. package/dist/esm/ptc-tab.entry.js +1 -1
  147. package/dist/esm/ptc-tabs.entry.js +1 -1
  148. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  149. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  150. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  151. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  152. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  153. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  154. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  155. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  156. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  157. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  158. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  159. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  160. package/dist/esm/ptc-video-embed.entry.js +1 -1
  161. package/dist/esm/ptc-white-paper.entry.js +7 -1
  162. package/dist/esm/ptcw-design.js +3 -3
  163. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  164. package/dist/esm/sequential-bundle.entry.js +1 -1
  165. package/dist/esm/tab-content.entry.js +1 -1
  166. package/dist/esm/tab-header.entry.js +1 -1
  167. package/dist/ptcw-design/{p-0fdfd4ad.entry.js → p-01ad1cc2.entry.js} +1 -1
  168. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  169. package/dist/ptcw-design/p-051ba8f9.entry.js +1 -0
  170. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  173. package/dist/ptcw-design/{p-e4000363.entry.js → p-0c862dbd.entry.js} +1 -1
  174. package/dist/ptcw-design/{p-69686408.entry.js → p-0eb9ea11.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  176. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  177. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-2657df50.entry.js → p-132f71c3.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-77cad16c.entry.js → p-1adea6a5.entry.js} +1 -1
  184. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  185. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-2ac5ed9c.entry.js → p-20670bc5.entry.js} +1 -1
  188. package/dist/ptcw-design/p-208ca9de.entry.js +1 -0
  189. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-50d68602.entry.js → p-20d837a9.entry.js} +1 -1
  191. package/dist/ptcw-design/p-20d84f63.entry.js +1 -0
  192. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  193. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  194. package/dist/ptcw-design/p-23302a4e.entry.js +1 -0
  195. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  197. package/dist/ptcw-design/p-29ae44dd.entry.js +1 -0
  198. package/dist/ptcw-design/{p-7a9611b4.entry.js → p-2a255901.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  200. package/dist/ptcw-design/p-2d0a9613.entry.js +1 -0
  201. package/dist/ptcw-design/p-2ee3a32b.entry.js +1 -0
  202. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  203. package/dist/ptcw-design/p-330e1a36.entry.js +1 -0
  204. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  205. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  206. package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  208. package/dist/ptcw-design/p-39ec04d4.entry.js +1 -0
  209. package/dist/ptcw-design/p-3a7c5330.entry.js +1 -0
  210. package/dist/ptcw-design/{p-799afee5.entry.js → p-3ada2482.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  217. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  218. package/dist/ptcw-design/{p-58f138a3.entry.js → p-45f01b17.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-b1ebac6f.entry.js → p-4e41c031.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-a3b57ede.entry.js → p-4e8c87e1.entry.js} +1 -1
  222. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  223. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-90c4f08b.entry.js → p-5ae21271.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-fec1acdf.entry.js → p-5b0bc600.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-246df0d6.entry.js → p-640d07b5.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-34c50b3e.entry.js → p-6a79e68e.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-f4699d4e.entry.js → p-70a5f144.entry.js} +1 -1
  233. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  234. package/dist/ptcw-design/p-73a41148.entry.js +1 -0
  235. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  239. package/dist/ptcw-design/p-7853f1b5.entry.js +1 -0
  240. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-bb902570.entry.js → p-907727fd.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  250. package/dist/ptcw-design/{p-7b71abaf.entry.js → p-94c59fac.entry.js} +1 -1
  251. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  252. package/dist/ptcw-design/{p-40b8c884.entry.js → p-986be938.entry.js} +1 -1
  253. package/dist/ptcw-design/p-998265ca.entry.js +1 -0
  254. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  255. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  256. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  257. package/dist/ptcw-design/{p-808ec62a.entry.js → p-9b60270e.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-e9f12e0d.entry.js → p-9db0897a.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  261. package/dist/ptcw-design/p-9e6fb4ba.entry.js +1 -0
  262. package/dist/ptcw-design/p-a220ab2c.entry.js +1 -0
  263. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  265. package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-a560e839.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-257deac0.entry.js → p-aba549b7.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-1b257420.entry.js → p-abdd3b8e.entry.js} +1 -1
  270. package/dist/ptcw-design/p-ac32267c.entry.js +1 -0
  271. package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-b1c1de30.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-b4ba719a.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-85c29073.entry.js → p-b5d0e4a2.entry.js} +1 -1
  278. package/dist/ptcw-design/p-b6214065.entry.js +1 -0
  279. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-ea7369e9.entry.js → p-bf076b87.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-2749c178.entry.js → p-c9518684.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-ba8c58a7.entry.js → p-ca268a17.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  291. package/dist/ptcw-design/p-ce6d1c5f.entry.js +1 -0
  292. package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-0ee01112.entry.js → p-d5fbe774.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-da82dc93.entry.js → p-d871e7f7.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-a54c6da5.entry.js → p-dabb1b70.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-d7275289.entry.js → p-e1242dd4.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-11e0edaf.entry.js → p-e895bf99.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-de960790.entry.js → p-ef55ab3c.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-f5c97ab2.entry.js → p-f2006b03.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-f8512dc9.entry.js → p-fb2e4612.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-c95f423e.entry.js → p-fc0d9251.entry.js} +1 -1
  316. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  317. package/package.json +1 -1
  318. package/readme.md +1 -1
  319. package/dist/cjs/interfaces-574e6df7.js +0 -15
  320. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  321. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -102
  322. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
  323. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -151
  324. package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
  325. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  326. package/dist/esm/interfaces-4caedd26.js +0 -12
  327. package/dist/esm/max-width-container.entry.js +0 -50
  328. package/dist/esm/ptc-background-video.entry.js +0 -98
  329. package/dist/esm/ptc-card-bottom.entry.js +0 -63
  330. package/dist/esm/ptc-jumbotron.entry.js +0 -147
  331. package/dist/esm/ptc-picture.entry.js +0 -159
  332. package/dist/esm/ptc-tooltip.entry.js +0 -103
  333. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  334. package/dist/ptcw-design/p-0d806031.entry.js +0 -1
  335. package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
  336. package/dist/ptcw-design/p-2c6fc745.entry.js +0 -1
  337. package/dist/ptcw-design/p-36007a57.entry.js +0 -1
  338. package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
  339. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  340. package/dist/ptcw-design/p-4e75fb5a.entry.js +0 -1
  341. package/dist/ptcw-design/p-5ef23b5c.entry.js +0 -1
  342. package/dist/ptcw-design/p-6d3326da.entry.js +0 -1
  343. package/dist/ptcw-design/p-711bcdad.js +0 -1
  344. package/dist/ptcw-design/p-72df6678.entry.js +0 -1
  345. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  346. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  347. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  348. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  349. package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
  350. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  351. package/dist/ptcw-design/p-ae970a60.entry.js +0 -1
  352. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  353. package/dist/ptcw-design/p-c66b8926.entry.js +0 -1
  354. package/dist/ptcw-design/p-d10cb999.entry.js +0 -1
  355. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  356. package/dist/ptcw-design/p-d2e26642.entry.js +0 -1
  357. package/dist/ptcw-design/p-d32fb485.entry.js +0 -1
  358. package/dist/ptcw-design/p-d756db27.entry.js +0 -1
  359. package/dist/ptcw-design/p-e89ce54f.entry.js +0 -1
  360. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
@@ -1,98 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { n as nextUserInteractionEvent } from './utils-ff65c75b.js';
3
-
4
- const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}";
5
-
6
- const PtcBackgroundVideo = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.videoSrc = undefined;
10
- this.posterSrc = undefined;
11
- this.overlay = true;
12
- this.overlayType = 'standard';
13
- this.playButtonTitle = undefined;
14
- this.pauseButtonTitle = undefined;
15
- this.buttonLocation = 'bottom-right';
16
- this.buttonTabIndex = 0;
17
- this.paused = undefined;
18
- this.trackerId = undefined;
19
- this.defer = undefined;
20
- this.type = 'default';
21
- this.isIframe = false;
22
- this.loadedTrue = false;
23
- }
24
- // componentDidLoad() {
25
- // if(this.isIframe){
26
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
27
- // const iframeDoc = iframe.contentDocument
28
- // const iframeVideo = iframeDoc.querySelector('video');
29
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
30
- // iframeVideo.style.objectFit = 'cover';
31
- // }
32
- // }
33
- // @Method()
34
- // async toggleVideo() {
35
- // // show a prompt
36
- // this.paused = !this.paused;
37
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
38
- // if (video) {
39
- // if (this.paused) {
40
- // video.pause();
41
- // } else {
42
- // video.play().catch(z => console.error(z));
43
- // }
44
- // }
45
- // console.log('Hello, I am a publish method from ptc-background-video!');
46
- // }
47
- componentDidLoad() {
48
- if (this.defer) {
49
- nextUserInteractionEvent(this).then(() => {
50
- this.loadedTrue = true;
51
- });
52
- }
53
- else {
54
- this.loadedTrue = true;
55
- }
56
- }
57
- componentWillLoad() {
58
- this.paused = false;
59
- }
60
- render() {
61
- const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
62
- const placeholderContent = h("video", { poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true });
63
- return (h(Host, { class: this.type }, this.loadedTrue
64
- ? videoContent
65
- : placeholderContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: 'bg-svg-play', type: "button", tabindex: this.buttonTabIndex, onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right" ? "side-left" : 'bottom-right', styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h("slot", null) : ''));
66
- }
67
- toggleVideoPlay(e) {
68
- e.preventDefault();
69
- this.paused = !this.paused;
70
- let video = this.el.shadowRoot.querySelector('video');
71
- if (video) {
72
- if (this.paused) {
73
- video.pause();
74
- }
75
- else {
76
- video.play().catch(z => console.error(z));
77
- }
78
- }
79
- }
80
- async pauseVideo() {
81
- this.paused = true;
82
- let video = this.el.shadowRoot.querySelector('video');
83
- if (video) {
84
- video.pause();
85
- }
86
- }
87
- async playVideo() {
88
- this.paused = false;
89
- let video = this.el.shadowRoot.querySelector('video');
90
- if (video) {
91
- video.play().catch(z => console.error(z));
92
- }
93
- }
94
- get el() { return getElement(this); }
95
- };
96
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
97
-
98
- export { PtcBackgroundVideo as ptc_background_video };
@@ -1,63 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcCardBottomCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host ::slotted([slot=seo-content]){display:none}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}:host(.most-popular){padding:0 16px 14px 16px}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";
4
-
5
- const PtcCardBottom = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
9
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
10
- this.cardType = undefined;
11
- this.styles = undefined;
12
- }
13
- hoverEventHandler() {
14
- this.hoverEvent.emit();
15
- //if statement: the card type that doesn't need a hover event
16
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
17
- this.el.previousElementSibling.classList.add('mouse-hover');
18
- this.el.classList.add('mouse-hover-card-bottom');
19
- }
20
- if (this.el.classList.contains('event-podcast')) {
21
- this.addClassOnDefaultSlot();
22
- }
23
- }
24
- leaveEventHandler() {
25
- this.hoverEvent.emit();
26
- //if statement: the card type that doesn't need a hover event
27
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist') && !this.el.classList.contains('extra-tall')) {
28
- this.el.previousElementSibling.classList.remove('mouse-hover');
29
- this.el.classList.remove('mouse-hover-card-bottom');
30
- }
31
- if (this.el.classList.contains('event-podcast')) {
32
- this.removeClassOnDefaultSlot();
33
- }
34
- }
35
- async addClassOnDefaultSlot() {
36
- const slot = this.el.shadowRoot.querySelector('slot:not([name])');
37
- console.log('slot: ' + slot);
38
- const assignedElements = slot.assignedElements();
39
- assignedElements.forEach((ele) => {
40
- !ele.classList.contains('event-podcast') && ele.classList.add('event-podcast');
41
- });
42
- }
43
- async removeClassOnDefaultSlot() {
44
- const slot = this.el.shadowRoot.querySelector('slot:not([name])');
45
- const assignedElements = slot.assignedElements();
46
- assignedElements.forEach((ele) => {
47
- ele.classList.contains('event-podcast') && ele.classList.remove('event-podcast');
48
- });
49
- }
50
- render() {
51
- const classMap = this.getCssClassMap();
52
- return (h(Host, { part: "card-bottom", class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("slot", { name: "slot-content" }), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
53
- }
54
- getCssClassMap() {
55
- return {
56
- [this.cardType]: this.cardType ? true : false,
57
- };
58
- }
59
- get el() { return getElement(this); }
60
- };
61
- PtcCardBottom.style = ptcCardBottomCss;
62
-
63
- export { PtcCardBottom as ptc_card_bottom };
@@ -1,147 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcJumbotronCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-margin-xxxl{margin:var(--ptc-element-spacing-07) !important}.u-marginTop-xxxl{margin-top:var(--ptc-element-spacing-07) !important}.u-marginLeft-xxxl{margin-left:var(--ptc-element-spacing-07) !important}.u-marginRight-xxxl{margin-right:var(--ptc-element-spacing-07) !important}.u-marginBottom-xxxl{margin-bottom:var(--ptc-element-spacing-07) !important}.u-margin-4xl{margin:var(--ptc-element-spacing-08) !important}.u-marginTop-4xl{margin-top:var(--ptc-element-spacing-08) !important}.u-marginLeft-4xl{margin-left:var(--ptc-element-spacing-08) !important}.u-marginRight-4xl{margin-right:var(--ptc-element-spacing-08) !important}.u-marginBottom-4xl{margin-bottom:var(--ptc-element-spacing-08) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-medium{font-weight:var(--ptc-font-weight-medium)}.u-text-semibold{font-weight:var(--ptc-font-weight-semibold)}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.u-background-white{background-color:var(--color-white)}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}.u-border-radius-standard{border-radius:var(--ptc-border-radius-standard)}.u-border-radius-large{border-radius:var(--ptc-border-radius-large)}.u-border-radius-pill{border-radius:var(--ptc-border-radius-pill)}.u-border-radius-circle{border-radius:var(--ptc-border-radius-circle)}.u-border-none{border:none}.u-shadow-x-small{box-shadow:var(--ptc-shadow-x-small)}.u-shadow-small{box-shadow:var(--ptc-shadow-small)}.u-shadow-medium{box-shadow:var(--ptc-shadow-medium)}.u-shadow-large{box-shadow:var(--ptc-shadow-large)}.u-shadow-x-large{box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}@media only screen and (min-width: 992px){.grid-order-1-lg{order:1}.grid-order-2-lg{order:2}.grid-order-3-lg{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.h-100{height:100%}.w-100{width:100%}.grid-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{column-gap:3rem}}.grid-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{column-gap:3rem}}.grid-x-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{column-gap:4rem}}.grid-x-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{column-gap:4rem}}.grid-medium-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{column-gap:2rem}}.grid-medium-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:3rem;padding-bottom:3rem}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.ptc-section-large{padding-top:2.25rem;padding-bottom:2.25rem}@media only screen and (min-width: 992px){.ptc-section-large{padding-top:3.5rem;padding-bottom:3.5rem}}.ptc-section-hp{padding-bottom:calc(2.25rem - 32px)}@media only screen and (min-width: 992px){.ptc-section-hp{padding-bottom:calc(3.5rem - 32px)}}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.flex-align-items-center{align-items:center}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.u-align-self-start{align-self:start}.u-align-self-center{align-self:center}.u-align-self-stretch{align-self:stretch}.u-justify-self-start{justify-self:start}.u-justify-self-center{justify-self:center}.u-justify-self-stretch{justify-self:stretch}.u-flex-justify-center{justify-content:center}.u-flex-justify-flexend{justify-content:flex-end}.u-section-heading-wrapper{max-width:768px;margin-left:auto;margin-right:auto}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.u-justify-space-between{justify-content:space-between}.all-product-banner{padding:50px 0 44px 0px}@media only screen and (min-width: 992px){.all-product-banner{padding:50px 0 72px 0px;display:flex;min-height:300px;justify-content:center;align-items:center}}.all-product-gradient{background:linear-gradient(180deg, #f3f3f3 2.6%, rgba(225, 241, 226, 0.2) 40.63%, #f3f3f3 82.29%), linear-gradient(0deg, #f3f3f3, #f3f3f3)}.menu-right ptc-nav-submenu{position:relative}.media-thumb-feature{display:block}@media only screen and (min-width: 992px){.media-thumb-feature{display:flex;justify-content:space-between}}.media-thumb-feature .media-thumb{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-thumb{width:340px;flex:0 0 340px}}.media-thumb-feature .media-thumb>ptc-picture:not(:last-of-type),.media-thumb-feature .media-thumb>img:not(:last-of-type){margin-bottom:1.5rem}.media-thumb-feature .media-feature{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-feature{width:auto;flex:1 1 auto}}.partner-card-desc h5.description{font-family:var(--ptc-font-latin);color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-medium);margin:0 0 10px 0}.partner-card-desc .tags{margin-bottom:0.75rem}.partner-card-desc .tags .tag:not(:first-child){border-left:2px solid var(--color-green-07);padding:0 8px}.partner-card-desc .tags .tag:first-child{padding:0 8px 0 0}.partner-card-desc .tags .tag{color:var(--color-gray-10);display:inline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-loose);margin:0 0 10px 0;padding:0 8px}.u-3-col-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:1rem;grid-column-gap:1rem}.u-3-col-grid .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid .u-3-col{width:calc(50% - 10.66666666px)}}@media only screen and (min-width: 992px){.u-3-col-grid .u-3-col{width:calc(33.3333333333% - 10.66666666px)}}.u-3-col-grid.u-col-space-lg{grid-row-gap:2rem;grid-column-gap:2rem}.u-3-col-grid.u-col-space-lg .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(50% - 21.3333333px)}}@media only screen and (min-width: 992px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(33.3333333333% - 21.3333333px)}}.u-display-none{display:none}ptc-preloader-section.min-height{min-height:150vh}@media only screen and (min-width: 1200px){.ms-mobile-select{display:none}}.ms-mobile-select.ms-show{position:fixed}.light-font{color:var(--color-white)}.light-font *{color:var(--color-white)}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003DD6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{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)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);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)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block}@media only screen and (min-width: 992px){:host(:not(.png-jumbotron):not(.text-jumbotron):not(.gif-jumbotron):not(.blog-jumbotron)) .content-container{padding-top:20px;padding-bottom:16px}}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:relative;z-index:1}.hp-adjustments{background-color:var(--color-black);height:auto;min-height:640px !important;max-height:-webkit-fill-available}@media (min-height: 640px){.hp-adjustments{min-height:72vh !important}}.hp-adjustments .div1{grid-area:1/1/3/2;min-height:300px}.hp-adjustments .div1.hidden{display:none}.hp-adjustments .div2{display:flex}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%) !important}@media only screen and (min-width: 992px){.hp-adjustments .div1{grid-area:1/1/2/2;min-height:unset}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(90deg, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%) !important}}.hp-adjustments .div1,.hp-adjustments .main-content-items{transition:opacity ease-out 250ms;opacity:1}.hp-adjustments.transitioning .div1,.hp-adjustments.transitioning .main-content-items{opacity:0}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#F3F3F3}.gif-bg img{width:100%;height:auto}@media only screen and (min-width: 768px){.gif-bg img{width:auto}}.video-ratio{position:relative;overflow:hidden;height:100%}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.content-layout.hp-container{width:100%;margin-top:120px;margin-bottom:120px}@media screen and (min-width: 768px) and (max-width: 992px){.content-layout.hp-container{max-width:720px;margin-left:unset;margin-top:160px;margin-bottom:160px}}@media only screen and (min-width: 1200px){.content-layout.hp-container{width:1136px}}@media only screen and (min-width: 1440px){.content-layout.hp-container{width:1200px}}.content-layout.hp-container .gap-adjustment{margin-bottom:unset}.content-layout.blog-container{padding-bottom:48px}@media only screen and (min-width: 768px){.content-layout.blog-container{padding-bottom:100px}}@media only screen and (min-width: 992px){.content-layout.blog-container{gap:43px;padding-top:75px}.content-layout.blog-container max-width-container{width:50%}.content-layout.blog-container div.desktop-media-image{width:50%}}.content-layout.blog-container .gap-adjustment{gap:var(--ptc-element-spacing-07);margin-bottom:unset}.gap-adjustment{gap:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-07)}@media only screen and (min-width: 992px){.gap-adjustment{gap:var(--ptc-element-spacing-07)}}.text-adjustment{justify-content:center}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3;display:none;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.desk-gif-adjustment{display:flex}}.desk-gif-adjustment img{width:100%}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}:host(.text-jumbotron) .parent{min-height:120px;padding:48px 0 24px 0}:host(.text-jumbotron) .parent .text-adjustment{margin-bottom:0;margin-top:20px}:host(.png-jumbotron) .desktop-media-image,:host(.png-jumbotron) .mobile-media-image{position:relative}:host(.png-jumbotron) .desktop-media-image .media-image-wrapper,:host(.png-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;width:100%;display:flex;align-items:center;justify-content:center}:host(.png-jumbotron) ::slotted(ptc-svg-btn){position:absolute;left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}@media only screen and (min-width: 992px){:host(.png-jumbotron) max-width-container{box-sizing:border-box;padding-right:2rem}}:host(.blog-jumbotron) #header-blog-author{display:flex;align-items:center;gap:12px;margin-bottom:var(--ptc-layout-spacing-04)}:host(.blog-jumbotron) #header-blog-author .image{width:48px;height:48px;border-radius:var(--ptc-border-radius-circle)}:host(.blog-jumbotron) #header-blog-author .image img{width:100%;height:100%;border-radius:var(--ptc-border-radius-circle);object-fit:cover;object-position:center}:host(.blog-jumbotron) .blog-author-name{color:inherit;text-decoration:none;font-size:inherit;font-weight:inherit;position:relative}:host(.blog-jumbotron) .blog-author-name:before{content:\"\";position:absolute;display:inline-block;width:100%;height:100%;padding:16px;margin:-16px}:host(.blog-jumbotron) .blog-author-name:hover{color:inherit;cursor:pointer;text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:var(--color-green-07);text-decoration-thickness:2px;text-underline-offset:4px}:host(.blog-jumbotron) .blog-author-name:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.blog-jumbotron) .image-container{background:white}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .image-container{display:none}}:host(.blog-jumbotron) .desktop-media-image,:host(.blog-jumbotron) .mobile-media-image{position:relative}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;max-height:360px;width:100%;display:flex;align-items:center;justify-content:center}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper ptc-picture,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper ptc-picture{width:100%;border-radius:var(--ptc-border-radius-standard)}:host(.blog-jumbotron) .desktop-media-image{display:none}:host(.blog-jumbotron) .desktop-media-image ptc-picture{height:100%;max-height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .desktop-media-image{display:flex;align-items:center}}:host(.blog-jumbotron) .mobile-media-image{margin:75px 24px 32px 24px;display:flex}:host(.blog-jumbotron) .mobile-media-image ptc-picture{height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .mobile-media-image{display:none}}.dl-img-wrap{position:relative;width:100%;height:100%}:host(.dark-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.dark-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn){left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}ptc-info-tile:focus-visible{outline:3px solid var(--color-blue-07);outline-offset:2px}";
4
-
5
- const PtcJumbotron = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.jumbotronType = 'light';
9
- this.hasPopupVideo = false;
10
- this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
11
- this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
12
- this.pngSrc = undefined;
13
- this.pngImgStyles = "";
14
- this.gifSrc = undefined;
15
- this.bgVideoSrc = undefined;
16
- this.bgVideoPosterSrc = undefined;
17
- this.bgSrc = undefined;
18
- this.isIframe = false;
19
- this.isHomepage = false;
20
- this.playButtonTitle = undefined;
21
- this.pauseButtonTitle = undefined;
22
- this.buttonLocation = undefined;
23
- this.buttonTabIndex = 0;
24
- this.contentBackground = undefined;
25
- this.contentColor = undefined;
26
- this.textAlign = 'left';
27
- this.isMobile = undefined;
28
- this.isTransitioning = undefined;
29
- this.blogAuthorImage = "";
30
- this.blogAuthorImageAlt = "";
31
- this.blogAuthorName = "";
32
- this.blogAuthorQueryHref = "";
33
- this.blogAuthorQueryTarget = "";
34
- this.hasCountdown = false;
35
- this.styles = undefined;
36
- this.defer = undefined;
37
- this.hasCtaSlot = undefined;
38
- }
39
- componentWillLoad() {
40
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
41
- }
42
- handleResize() {
43
- this.getContentBackground();
44
- //this.adjustJumbotronHeight();
45
- }
46
- connectedCallback() {
47
- this.getContentBackground();
48
- }
49
- componentDidLoad() {
50
- //this.adjustJumbotronHeight();
51
- }
52
- render() {
53
- const classMap = this.getCssClassMap();
54
- let mediaElement;
55
- switch (this.jumbotronType) {
56
- case 'png':
57
- mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? h("slot", { name: "video" }) : null)));
58
- break;
59
- case 'blog':
60
- mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" }))));
61
- break;
62
- case 'gif':
63
- mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
64
- break;
65
- case 'dark-video':
66
- case 'light-video':
67
- mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
68
- break;
69
- case 'dark':
70
- case 'light':
71
- mediaElement = (h("div", { class: 'dl-img-wrap' }, h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
72
- break;
73
- default:
74
- mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
75
- }
76
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: { 'parent': true, 'light-links': this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video', 'hp-adjustments': this.isHomepage, 'transitioning': this.isTransitioning } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: { "ptc-container": true, "content-layout": true, 'hp-container': this.isHomepage, 'blog-container': (this.jumbotronType === "blog") } }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("span", { class: "main-content-items" }, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (!this.isHomepage) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": "w-4", "para-margin": `${this.jumbotronType === 'text' || this.jumbotronType === 'blog' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left', "seo-compatibility-mode": true }, h("p", { innerHTML: this.subTitle, style: { margin: '0' } }), h("p", { style: { margin: '0' } }, h("slot", { name: "blog-date" })), this.jumbotronType === 'blog' && h("div", null, h("ptc-spacer", { breakpoint: 'x-small', size: 'medium' }), h("ptc-spacer", { breakpoint: 'small', size: 'small' }), h("div", { id: "header-blog-author", slot: "blog-author" }, h("div", { class: "image" }, h("img", { alt: this.blogAuthorImageAlt, src: this.blogAuthorImage })), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("a", { class: "blog-author-name mf-listen", tabindex: "0", href: this.blogAuthorQueryHref, target: this.blogAuthorQueryTarget, "aria-label": "Other blogs by author" }, this.blogAuthorName)))))), this.hasCtaSlot && (h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))))), this.hasPopupVideo && this.jumbotronType !== 'png' ? h("slot", { name: "video" }) : null, this.hasCountdown ? h("slot", { name: "countdown" }) : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null, this.jumbotronType === 'blog' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" })))) : null)))));
77
- }
78
- getCssClassMap() {
79
- return {
80
- // [this.imageZIndex] : true
81
- 'text-jumbotron': this.jumbotronType === 'text' ? true : false,
82
- 'png-jumbotron': this.jumbotronType === 'png' ? true : false,
83
- 'blog-jumbotron': this.jumbotronType === 'blog' ? true : false,
84
- 'gif-jumbotron': this.jumbotronType === 'gif' ? true : false,
85
- 'dark-video-jumbotron light-links': this.jumbotronType === 'dark-video' ? true : false,
86
- 'light-video-jumbotron': this.jumbotronType === 'light-video' ? true : false,
87
- 'dark-jumbotron light-links': this.jumbotronType === 'dark' ? true : false,
88
- 'light-jumbotron': this.jumbotronType === 'light' ? true : false,
89
- };
90
- }
91
- getContentBackground() {
92
- if (window.innerWidth < 992) {
93
- switch (this.jumbotronType) {
94
- case 'light':
95
- case 'light-video':
96
- case 'png':
97
- this.contentBackground = 'var(--color-white)';
98
- this.contentColor = 'var(--color-gray-10)';
99
- break;
100
- case 'dark':
101
- case 'dark-video':
102
- this.contentBackground = 'var(--color-gray-09)';
103
- this.contentColor = 'var(--color-gray-01)';
104
- break;
105
- case 'blog':
106
- this.contentBackground = 'white';
107
- this.contentColor = 'var(--color-gray-10)';
108
- break;
109
- default:
110
- this.contentBackground = 'transparent';
111
- this.contentColor = 'var(--color-gray-10)';
112
- }
113
- this.isMobile = true;
114
- }
115
- else {
116
- switch (this.jumbotronType) {
117
- case 'light':
118
- case 'light-video':
119
- case 'png':
120
- this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
121
- this.contentColor = 'var(--color-gray-10)';
122
- break;
123
- case 'dark':
124
- case 'dark-video':
125
- this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
126
- this.contentColor = 'var(--color-gray-01)';
127
- break;
128
- case 'gif':
129
- this.contentBackground = '#F3F3F3';
130
- this.contentColor = 'var(--color-gray-10)';
131
- break;
132
- case 'blog':
133
- this.contentBackground = 'white';
134
- this.contentColor = 'var(--color-gray-10)';
135
- break;
136
- default:
137
- this.contentBackground = 'transparent';
138
- this.contentColor = 'var(--color-gray-10)';
139
- }
140
- this.isMobile = false;
141
- }
142
- }
143
- get el() { return getElement(this); }
144
- };
145
- PtcJumbotron.style = ptcJumbotronCss;
146
-
147
- export { PtcJumbotron as ptc_jumbotron };
@@ -1,159 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
3
-
4
- const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;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)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.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}";
5
-
6
- const PtcPicture = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.src = undefined;
10
- this.alt = 'image';
11
- this.sizeXs = '510x340';
12
- this.sizeSm = '1240x496';
13
- this.sizeMd = '1366x500';
14
- this.sizeLg = '1920x1080';
15
- this.disableResize = false;
16
- this.oldSrc = undefined;
17
- this.imagePosition = 'static';
18
- this.borderRadius = undefined;
19
- this.height = undefined;
20
- this.width = undefined;
21
- this.objectFit = 'cover';
22
- this.isFullHeight = false;
23
- this.isFullWidth = false;
24
- this.styles = undefined;
25
- this.imageAlignment = 'left';
26
- this.maxWidth = undefined;
27
- this.displayImage = 'block';
28
- }
29
- WindowResize() {
30
- this.addIntersectionObserver();
31
- }
32
- componentWillLoad() {
33
- if (this.disableResize) {
34
- this.sizeXs = undefined;
35
- this.sizeSm = undefined;
36
- this.sizeMd = undefined;
37
- this.sizeLg = undefined;
38
- }
39
- }
40
- componentDidLoad() {
41
- this.addIntersectionObserver();
42
- }
43
- componentWillUpdate() {
44
- if (this.src !== this.oldSrc) {
45
- this.addIntersectionObserver();
46
- }
47
- this.oldSrc = this.src;
48
- }
49
- //lazy-loading
50
- addIntersectionObserver() {
51
- if (!this.src) {
52
- return;
53
- }
54
- if ('IntersectionObserver' in window) {
55
- let lazyLoadImages = new IntersectionObserver(entries => {
56
- entries.forEach(entry => {
57
- if (entry.isIntersecting) {
58
- const image = this.el.shadowRoot.querySelector('img');
59
- image.src = this.setResponsiveBg();
60
- lazyLoadImages.unobserve(image);
61
- }
62
- });
63
- });
64
- let tempImg = this.el.shadowRoot.querySelector('img');
65
- if (tempImg) {
66
- lazyLoadImages.observe(tempImg);
67
- }
68
- }
69
- else {
70
- // fall back to setTimeout for Safari and IE
71
- setTimeout(() => {
72
- const image = this.el.shadowRoot.querySelector('img');
73
- image.src = this.setResponsiveBg();
74
- image.onload = () => {
75
- image.removeAttribute('data-src');
76
- console.log('loaded fallback');
77
- };
78
- }, 5000);
79
- }
80
- }
81
- //responsive image
82
- setResponsiveBg() {
83
- // Define local variables
84
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
85
- for (var i = 0, len = backgrounds.length; i < len; i++) {
86
- // Set current variables
87
- el = backgrounds[i];
88
- elData = el.getAttribute('data-' + currentBreakpoint);
89
- if (elData !== null) {
90
- return elData;
91
- }
92
- else {
93
- if (typeof console == 'object') {
94
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
95
- }
96
- }
97
- }
98
- }
99
- render() {
100
- const classMap = this.getCssClassMap();
101
- const classMapHost = this.getCssClassMapHost();
102
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), 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' } : {})) })), h("slot", null)));
103
- }
104
- getCurrentBreakPoints() {
105
- // Define local variables
106
- let doc = window.document, temp = doc.createElement('div'), env;
107
- // Append test node
108
- doc.body.appendChild(temp);
109
- // Loop through breakpoints
110
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
111
- env = ResponsivePictureVariables.envs[i];
112
- // Add classes
113
- temp.className = 'hidden-' + env;
114
- // Found breakpoint
115
- if (temp.offsetParent === null) {
116
- // Remove our test node
117
- doc.body.removeChild(temp);
118
- // Return current breakpoint
119
- return env;
120
- }
121
- }
122
- // Breakpoint not found, try fallback
123
- doc.body.removeChild(temp);
124
- return this.getFallbackBreakpoint();
125
- }
126
- getFallbackBreakpoint() {
127
- if (window.matchMedia('(min-width: 992px)').matches) {
128
- return 'lg';
129
- }
130
- else if (window.matchMedia('(min-width: 768px)').matches) {
131
- return 'md';
132
- }
133
- else if (window.matchMedia('(min-width: 576px)').matches) {
134
- return 'sm';
135
- }
136
- else {
137
- return 'xs';
138
- }
139
- }
140
- getCssClassMap() {
141
- return {
142
- [this.borderRadius]: this.borderRadius ? true : false,
143
- [this.objectFit]: true,
144
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
145
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
146
- [this.displayImage]: true
147
- };
148
- }
149
- getCssClassMapHost() {
150
- return {
151
- [this.imagePosition]: true,
152
- [this.imageAlignment]: true,
153
- };
154
- }
155
- get el() { return getElement(this); }
156
- };
157
- PtcPicture.style = ptcPictureCss;
158
-
159
- export { PtcPicture as ptc_picture };