@ptcwebops/ptcw-design 3.8.6 → 3.8.8

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 (309) hide show
  1. package/dist/cjs/icon-asset_16.cjs.entry.js +1479 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  4. package/dist/cjs/ptc-data-lookup.cjs.entry.js +15 -2
  5. package/dist/cjs/ptc-icon-component.cjs.entry.js +429 -0
  6. package/dist/cjs/ptc-link.cjs.entry.js +91 -0
  7. package/dist/cjs/ptc-readmore-char.cjs.entry.js +39 -0
  8. package/dist/cjs/ptc-readmore.cjs.entry.js +93 -0
  9. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +3 -2
  10. package/dist/cjs/ptcw-design.cjs.js +1 -1
  11. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +7 -7
  12. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +3 -2
  13. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +44 -16
  14. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +20 -1
  15. package/dist/collection/utils/elq-lib.js +15 -2
  16. package/dist/custom-elements/index.js +23 -8
  17. package/dist/esm/academic-form-test.entry.js +1 -1
  18. package/dist/esm/author-listing-example.entry.js +1 -1
  19. package/dist/esm/bundle-example.entry.js +1 -1
  20. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  21. package/dist/esm/{core-1977536e.js → core-ebde74a2.js} +1 -1
  22. package/dist/esm/dropdown-item.entry.js +1 -1
  23. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  24. package/dist/esm/embedded-form.entry.js +1 -1
  25. package/dist/esm/featured-list.entry.js +1 -1
  26. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  27. package/dist/esm/footer-form.entry.js +1 -1
  28. package/dist/esm/icon-asset_16.entry.js +1460 -0
  29. package/dist/esm/{index-abb9f744.js → index-3309fc22.js} +1 -1
  30. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  31. package/dist/esm/loader.js +3 -3
  32. package/dist/esm/most-popular-news.entry.js +1 -1
  33. package/dist/esm/my-component.entry.js +1 -1
  34. package/dist/esm/news-search-result.entry.js +1 -1
  35. package/dist/esm/{pagination-58bf50d9.js → pagination-726fafd1.js} +1 -1
  36. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  37. package/dist/esm/ptc-accordion.entry.js +1 -1
  38. package/dist/esm/ptc-announcement.entry.js +1 -1
  39. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  40. package/dist/esm/ptc-badge.entry.js +1 -1
  41. package/dist/esm/ptc-bio-card.entry.js +2 -2
  42. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  43. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  44. package/dist/esm/ptc-card-content.entry.js +1 -1
  45. package/dist/esm/ptc-card_2.entry.js +1 -1
  46. package/dist/esm/ptc-case-studies-slider.entry.js +3 -3
  47. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  48. package/dist/esm/ptc-checkbox.entry.js +1 -1
  49. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  50. package/dist/esm/ptc-container.entry.js +1 -1
  51. package/dist/esm/ptc-data-lookup.entry.js +16 -3
  52. package/dist/esm/ptc-dropdown.entry.js +1 -1
  53. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  54. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  55. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  56. package/dist/esm/ptc-featured-list.entry.js +1 -1
  57. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  58. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  59. package/dist/esm/ptc-filter-tag.entry.js +1 -1
  60. package/dist/esm/ptc-form-checkbox_3.entry.js +1 -1
  61. package/dist/esm/ptc-form.entry.js +1 -1
  62. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  63. package/dist/esm/ptc-hero.entry.js +1 -1
  64. package/dist/esm/ptc-icon-component.entry.js +425 -0
  65. package/dist/esm/ptc-icon-list.entry.js +1 -1
  66. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  67. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  68. package/dist/esm/ptc-link.entry.js +87 -0
  69. package/dist/esm/ptc-list.entry.js +1 -1
  70. package/dist/esm/ptc-media-card.entry.js +1 -1
  71. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  72. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  73. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  74. package/dist/esm/ptc-nav-card.entry.js +1 -1
  75. package/dist/esm/ptc-nav-link.entry.js +1 -1
  76. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  77. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  78. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  79. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  80. package/dist/esm/ptc-news.entry.js +1 -1
  81. package/dist/esm/ptc-overlay.entry.js +1 -1
  82. package/dist/esm/ptc-pagenation.entry.js +1 -1
  83. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  84. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  85. package/dist/esm/ptc-preloader-section.entry.js +1 -1
  86. package/dist/esm/ptc-previous-url.entry.js +1 -1
  87. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  88. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  89. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  90. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  91. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  92. package/dist/esm/ptc-product-card.entry.js +1 -1
  93. package/dist/esm/ptc-product-category.entry.js +1 -1
  94. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  95. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  96. package/dist/esm/ptc-product-list.entry.js +1 -1
  97. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  98. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  99. package/dist/esm/ptc-quote.entry.js +1 -1
  100. package/dist/esm/ptc-readmore-char.entry.js +35 -0
  101. package/dist/esm/ptc-readmore.entry.js +89 -0
  102. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  103. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  104. package/dist/esm/ptc-search-field.entry.js +1 -1
  105. package/dist/esm/ptc-seo-title.entry.js +1 -1
  106. package/dist/esm/ptc-shopping-cart.entry.js +4 -3
  107. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  108. package/dist/esm/ptc-skeleton.entry.js +1 -1
  109. package/dist/esm/ptc-slit-card.entry.js +1 -1
  110. package/dist/esm/ptc-span.entry.js +1 -1
  111. package/dist/esm/ptc-square-card.entry.js +1 -1
  112. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  113. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  114. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  115. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  116. package/dist/esm/ptc-subnav.entry.js +1 -1
  117. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  118. package/dist/esm/ptc-tab-list.entry.js +1 -1
  119. package/dist/esm/ptc-tab.entry.js +1 -1
  120. package/dist/esm/ptc-tabs.entry.js +1 -1
  121. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  122. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  123. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  124. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  125. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  126. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  127. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  128. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  129. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  130. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  131. package/dist/esm/ptc-white-paper.entry.js +1 -1
  132. package/dist/esm/ptcw-design.js +3 -3
  133. package/dist/esm/sequential-bundle-example.entry.js +2 -2
  134. package/dist/esm/sequential-bundle.entry.js +2 -2
  135. package/dist/esm/tab-content.entry.js +1 -1
  136. package/dist/esm/tab-header.entry.js +1 -1
  137. package/dist/ptcw-design/p-0076bd4d.entry.js +1 -0
  138. package/dist/ptcw-design/{p-36604862.entry.js → p-020f66f1.entry.js} +1 -1
  139. package/dist/ptcw-design/{p-1ee3dc05.entry.js → p-03ca130e.entry.js} +1 -1
  140. package/dist/ptcw-design/{p-17d4b8be.entry.js → p-054912ed.entry.js} +1 -1
  141. package/dist/ptcw-design/{p-a300231c.entry.js → p-16e0673e.entry.js} +1 -1
  142. package/dist/ptcw-design/{p-c17a2f3c.entry.js → p-17a8b8e3.entry.js} +1 -1
  143. package/dist/ptcw-design/{p-b90455f9.entry.js → p-1904359b.entry.js} +1 -1
  144. package/dist/ptcw-design/{p-4655bc27.entry.js → p-1dde0467.entry.js} +1 -1
  145. package/dist/ptcw-design/{p-0b9ac7cf.entry.js → p-207855ea.entry.js} +1 -1
  146. package/dist/ptcw-design/{p-6c002d42.entry.js → p-22887237.entry.js} +1 -1
  147. package/dist/ptcw-design/{p-7d8a978c.entry.js → p-238e7d54.entry.js} +1 -1
  148. package/dist/ptcw-design/{p-c45ab8e7.entry.js → p-24144029.entry.js} +1 -1
  149. package/dist/ptcw-design/{p-ed4b9aab.entry.js → p-25fbc2d0.entry.js} +1 -1
  150. package/dist/ptcw-design/p-25fbffd9.entry.js +1 -0
  151. package/dist/ptcw-design/{p-ea8bdc99.entry.js → p-261afbc1.entry.js} +1 -1
  152. package/dist/ptcw-design/{p-f9e8439f.entry.js → p-2675f0fe.entry.js} +1 -1
  153. package/dist/ptcw-design/{p-5d82cdaa.entry.js → p-29ff7857.entry.js} +1 -1
  154. package/dist/ptcw-design/{p-0311ceb2.entry.js → p-2c877fb9.entry.js} +1 -1
  155. package/dist/ptcw-design/{p-5cda8f30.entry.js → p-2d65dfcf.entry.js} +1 -1
  156. package/dist/ptcw-design/{p-9fa2a419.entry.js → p-2daf7fbe.entry.js} +1 -1
  157. package/dist/ptcw-design/{p-a00a829a.entry.js → p-33a7506c.entry.js} +1 -1
  158. package/dist/ptcw-design/{p-d2eb622e.entry.js → p-362d54d2.entry.js} +1 -1
  159. package/dist/ptcw-design/{p-731cd57d.entry.js → p-371d7474.entry.js} +1 -1
  160. package/dist/ptcw-design/{p-03bfbe0a.entry.js → p-39d018d6.entry.js} +1 -1
  161. package/dist/ptcw-design/{p-64466623.entry.js → p-3d1851a4.entry.js} +1 -1
  162. package/dist/ptcw-design/{p-b27ab783.entry.js → p-3e43113a.entry.js} +1 -1
  163. package/dist/ptcw-design/{p-a99adbbb.entry.js → p-423b590f.entry.js} +1 -1
  164. package/dist/ptcw-design/{p-3760236d.entry.js → p-42c50034.entry.js} +1 -1
  165. package/dist/ptcw-design/{p-683bb8c6.entry.js → p-45411fff.entry.js} +1 -1
  166. package/dist/ptcw-design/{p-77e477ff.entry.js → p-4a5bdc6a.entry.js} +1 -1
  167. package/dist/ptcw-design/p-4ae0e239.entry.js +1 -0
  168. package/dist/ptcw-design/{p-0be388fc.entry.js → p-4bdd8e95.entry.js} +1 -1
  169. package/dist/ptcw-design/{p-ca8fa3f3.entry.js → p-4d9bbf31.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-2d223899.entry.js → p-4dafb772.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-9d929e56.entry.js → p-4dd32631.entry.js} +1 -1
  172. package/dist/ptcw-design/{p-d37f1d5a.entry.js → p-4e237216.entry.js} +1 -1
  173. package/dist/ptcw-design/p-5150c774.entry.js +1 -0
  174. package/dist/ptcw-design/{p-06ec3a76.entry.js → p-51b6b420.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-3459ce75.entry.js → p-5407c0c0.entry.js} +1 -1
  176. package/dist/ptcw-design/{p-e19ec1fb.entry.js → p-54708a83.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-84692a5f.entry.js → p-5883f603.entry.js} +1 -1
  178. package/dist/ptcw-design/p-58b1b9a7.entry.js +1 -0
  179. package/dist/ptcw-design/{p-290c1c76.entry.js → p-59633fe2.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-51cc6129.entry.js → p-5e8a4cd8.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-7c218213.entry.js → p-5f137f3f.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-66c2c3a3.entry.js → p-5f39f3f1.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-7328af64.entry.js → p-6344d3a2.entry.js} +1 -1
  184. package/dist/ptcw-design/{p-cc61eec9.entry.js → p-6430ad2e.entry.js} +1 -1
  185. package/dist/ptcw-design/{p-b9036669.entry.js → p-66b1fc5e.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-b123bf35.js → p-6914b70c.js} +1 -1
  187. package/dist/ptcw-design/{p-5fb6dbe5.entry.js → p-6bdb7900.entry.js} +1 -1
  188. package/dist/ptcw-design/{p-86592455.entry.js → p-6d90575f.entry.js} +1 -1
  189. package/dist/ptcw-design/{p-c7d46065.entry.js → p-71788f6d.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-10ee3772.entry.js → p-7621fd18.entry.js} +1 -1
  191. package/dist/ptcw-design/{p-a120b60a.entry.js → p-764a0229.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-404c847a.entry.js → p-7e5dd25c.entry.js} +1 -1
  193. package/dist/ptcw-design/p-854c9f75.entry.js +1 -0
  194. package/dist/ptcw-design/{p-ebe80b3e.entry.js → p-8594e32b.entry.js} +1 -1
  195. package/dist/ptcw-design/p-8875b669.entry.js +1 -0
  196. package/dist/ptcw-design/{p-12d3e601.entry.js → p-8ba615c2.entry.js} +1 -1
  197. package/dist/ptcw-design/p-8d44305a.entry.js +1 -0
  198. package/dist/ptcw-design/{p-7202bba3.js → p-8f6af405.js} +1 -1
  199. package/dist/ptcw-design/{p-a8d92a3b.entry.js → p-90758751.entry.js} +1 -1
  200. package/dist/ptcw-design/{p-ac7ca899.entry.js → p-94466d17.entry.js} +1 -1
  201. package/dist/ptcw-design/{p-42944d66.entry.js → p-965ea4cf.entry.js} +1 -1
  202. package/dist/ptcw-design/{p-ea51e7c2.entry.js → p-96af9e48.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-c5a80410.entry.js → p-96dbabd9.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-5860b07d.entry.js → p-96ff713c.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-7fc3edca.entry.js → p-993adcc2.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-ab300826.entry.js → p-9d13225e.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-e262f5d8.entry.js → p-9e0bca7a.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-0226ece0.js → p-9e0fd244.js} +1 -1
  209. package/dist/ptcw-design/{p-fe077ba0.entry.js → p-9e3c7de6.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-eb9d6227.entry.js → p-a60d6a4c.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-7ffefba9.entry.js → p-a7e3d3b2.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-7b225938.entry.js → p-a90c79c0.entry.js} +1 -1
  213. package/dist/ptcw-design/p-ac37629c.entry.js +1 -0
  214. package/dist/ptcw-design/{p-547229d0.entry.js → p-ac5bc788.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-08beb0ab.entry.js → p-acf282f7.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-479f36f0.entry.js → p-af0e69ac.entry.js} +1 -1
  217. package/dist/ptcw-design/p-b18b5261.entry.js +1 -0
  218. package/dist/ptcw-design/{p-fed496fd.entry.js → p-b1d77d16.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-4f7140ea.entry.js → p-b1f64951.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-cf31d87c.entry.js → p-b581f151.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-65d6be32.entry.js → p-b65c7a66.entry.js} +1 -1
  222. package/dist/ptcw-design/p-b81a6576.entry.js +1 -0
  223. package/dist/ptcw-design/{p-5680c8e9.entry.js → p-b8f9e9b4.entry.js} +1 -1
  224. package/dist/ptcw-design/{p-14bc4ffe.entry.js → p-b94d99f5.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-d6f1ebbe.entry.js → p-baaedc25.entry.js} +1 -1
  226. package/dist/ptcw-design/p-bd5c5010.entry.js +1 -0
  227. package/dist/ptcw-design/{p-d2889bb8.entry.js → p-bee9c818.entry.js} +1 -1
  228. package/dist/ptcw-design/p-c1a3d271.entry.js +1 -0
  229. package/dist/ptcw-design/{p-305f897c.entry.js → p-c5ddb505.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-3fa8c043.entry.js → p-cdafd0be.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-2fde11cf.entry.js → p-ce9f7592.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-ff682ea1.entry.js → p-d060593a.entry.js} +1 -1
  233. package/dist/ptcw-design/p-d5d4a714.entry.js +1 -0
  234. package/dist/ptcw-design/p-d624c8ca.entry.js +1 -0
  235. package/dist/ptcw-design/{p-4af7a016.entry.js → p-d9056a49.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-3ad691c2.entry.js → p-de157f09.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-26ce367b.entry.js → p-df4be90f.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-be0c9a50.entry.js → p-e202c50a.entry.js} +1 -1
  239. package/dist/ptcw-design/p-e28086c9.entry.js +1 -0
  240. package/dist/ptcw-design/{p-2ebc621f.entry.js → p-e4b4e5fc.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-a67b3072.entry.js → p-e786003c.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-bd7c3586.entry.js → p-e9506045.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-b7154ac6.entry.js → p-e99379c4.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-b35f3f21.entry.js → p-ead74368.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-dd73e3af.entry.js → p-ecf0f7d4.entry.js} +1 -1
  246. package/dist/ptcw-design/p-edfaa4b5.entry.js +1 -0
  247. package/dist/ptcw-design/{p-2d1a0b56.entry.js → p-f0329b38.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-9896f967.entry.js → p-f378b843.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-f078ec7d.entry.js → p-f90c075c.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-671f1e11.entry.js → p-fa1b3b95.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-622c768f.entry.js → p-fd2b7ff0.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-95955ed3.entry.js → p-fde4ca9c.entry.js} +1 -1
  253. package/dist/ptcw-design/p-fe4fdc57.entry.js +1 -0
  254. package/dist/ptcw-design/{p-49f52c33.entry.js → p-ff392584.entry.js} +1 -1
  255. package/dist/ptcw-design/ptcw-design.css +1 -1
  256. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  257. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +1 -0
  258. package/dist/types/components.d.ts +2 -0
  259. package/package.json +1 -1
  260. package/readme.md +1 -1
  261. package/dist/cjs/icon-asset.cjs.entry.js +0 -53
  262. package/dist/cjs/interfaces-574e6df7.js +0 -15
  263. package/dist/cjs/list-item.cjs.entry.js +0 -46
  264. package/dist/cjs/max-width-container_10.cjs.entry.js +0 -1127
  265. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -68
  266. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +0 -164
  267. package/dist/cjs/ptc-button.cjs.entry.js +0 -75
  268. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  269. package/dist/cjs/ptc-modal.cjs.entry.js +0 -194
  270. package/dist/cjs/ptc-office-location-card.cjs.entry.js +0 -63
  271. package/dist/cjs/ptc-office-locations.cjs.entry.js +0 -223
  272. package/dist/cjs/show-map-icon-c1cca913.js +0 -10
  273. package/dist/esm/icon-asset.entry.js +0 -49
  274. package/dist/esm/interfaces-7c0243be.js +0 -12
  275. package/dist/esm/list-item.entry.js +0 -42
  276. package/dist/esm/max-width-container_10.entry.js +0 -1114
  277. package/dist/esm/ptc-background-video.entry.js +0 -64
  278. package/dist/esm/ptc-breadcrumb_2.entry.js +0 -159
  279. package/dist/esm/ptc-button.entry.js +0 -71
  280. package/dist/esm/ptc-img.entry.js +0 -129
  281. package/dist/esm/ptc-modal.entry.js +0 -190
  282. package/dist/esm/ptc-office-location-card.entry.js +0 -59
  283. package/dist/esm/ptc-office-locations.entry.js +0 -219
  284. package/dist/esm/show-map-icon-6d9dce32.js +0 -8
  285. package/dist/ptcw-design/p-03698164.entry.js +0 -1
  286. package/dist/ptcw-design/p-2f4f6ccd.js +0 -1
  287. package/dist/ptcw-design/p-38baf163.entry.js +0 -1
  288. package/dist/ptcw-design/p-4533c844.entry.js +0 -1
  289. package/dist/ptcw-design/p-465d7bce.entry.js +0 -1
  290. package/dist/ptcw-design/p-51f387a0.entry.js +0 -1
  291. package/dist/ptcw-design/p-5e911124.entry.js +0 -1
  292. package/dist/ptcw-design/p-62eadf3e.entry.js +0 -1
  293. package/dist/ptcw-design/p-70edb5f4.entry.js +0 -1
  294. package/dist/ptcw-design/p-91991667.entry.js +0 -1
  295. package/dist/ptcw-design/p-9e15fa58.entry.js +0 -1
  296. package/dist/ptcw-design/p-9f0379c7.entry.js +0 -1
  297. package/dist/ptcw-design/p-a698e82b.entry.js +0 -1
  298. package/dist/ptcw-design/p-ab22665e.entry.js +0 -1
  299. package/dist/ptcw-design/p-ad472068.entry.js +0 -1
  300. package/dist/ptcw-design/p-be29d609.entry.js +0 -1
  301. package/dist/ptcw-design/p-c152b9e3.entry.js +0 -1
  302. package/dist/ptcw-design/p-c974da46.entry.js +0 -1
  303. package/dist/ptcw-design/p-cdd46a55.entry.js +0 -1
  304. package/dist/ptcw-design/p-cfa01ed7.entry.js +0 -1
  305. package/dist/ptcw-design/p-d75e8fec.entry.js +0 -1
  306. package/dist/ptcw-design/p-dcf7d8b1.entry.js +0 -1
  307. package/dist/ptcw-design/p-dfaa4e99.entry.js +0 -1
  308. package/dist/ptcw-design/p-ee1183b2.js +0 -1
  309. package/dist/ptcw-design/p-f96ff659.entry.js +0 -1
@@ -1,64 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-abb9f744.js';
2
-
3
- const ptcBackgroundVideoCss = "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;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(.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:unset;bottom:3.75rem;right:2rem}}:host .play-button ptc-button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button ptc-button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button ptc-button{padding:0}}";
4
-
5
- const PtcBackgroundVideo = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.videoSrc = undefined;
9
- this.posterSrc = undefined;
10
- this.overlay = true;
11
- this.playButtonTitle = undefined;
12
- this.pauseButtonTitle = undefined;
13
- this.paused = undefined;
14
- this.type = 'default';
15
- this.isIframe = false;
16
- }
17
- // componentDidLoad() {
18
- // if(this.isIframe){
19
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
20
- // const iframeDoc = iframe.contentDocument
21
- // const iframeVideo = iframeDoc.querySelector('video');
22
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
23
- // iframeVideo.style.objectFit = 'cover';
24
- // }
25
- // }
26
- // @Method()
27
- // async toggleVideo() {
28
- // // show a prompt
29
- // this.paused = !this.paused;
30
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
31
- // if (video) {
32
- // if (this.paused) {
33
- // video.pause();
34
- // } else {
35
- // video.play().catch(z => console.error(z));
36
- // }
37
- // }
38
- // console.log('Hello, I am a publish method from ptc-background-video!');
39
- // }
40
- componentWillLoad() {
41
- this.paused = false;
42
- }
43
- render() {
44
- 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 }));
45
- return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: "play-button" }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }", "aria-label": "Video Play button" }, h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" }, h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? h("div", { class: "video-overlay" }) : '', this.type == 'default' ? h("slot", null) : ''));
46
- }
47
- toggleVideoPlay(e) {
48
- e.preventDefault();
49
- this.paused = !this.paused;
50
- let video = this.el.shadowRoot.querySelector('video');
51
- if (video) {
52
- if (this.paused) {
53
- video.pause();
54
- }
55
- else {
56
- video.play().catch(z => console.error(z));
57
- }
58
- }
59
- }
60
- get el() { return getElement(this); }
61
- };
62
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
63
-
64
- export { PtcBackgroundVideo as ptc_background_video };
@@ -1,159 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-abb9f744.js';
2
-
3
- const ptcBreadcrumbCss = "h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline-flex;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}";
4
-
5
- const PtcBreadcrumb = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.position = undefined;
9
- this.removeTopMargin = false;
10
- this.color = 'white';
11
- this.styles = undefined;
12
- }
13
- componentWillLoad() {
14
- this.listItems = this.hostElement.querySelectorAll('list-item');
15
- }
16
- componentDidLoad() {
17
- if (this.listItems) {
18
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
19
- item.remove();
20
- });
21
- }
22
- }
23
- render() {
24
- const classMap = this.getCssClassMap();
25
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("nav", { "aria-label": "Breadcrumb" }, h("ol", { class: "ptc-breadcrumb-ol" }, h("li", { class: 'home-link' }, h("a", { href: "/", "aria-label": "Home Link" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index, array) => {
26
- const textContent = item.textContent.trim();
27
- const href = item.getAttribute('link-href');
28
- return (h("li", { key: index }, index < array.length - 1 ? (h("a", { href: href, target: '_self' }, textContent)) : (textContent), h("span", { class: "visually-hidden" }, "/")));
29
- })))));
30
- }
31
- getCssClassMap() {
32
- return {
33
- [this.position]: !!this.position && this.position !== undefined ? true : false,
34
- ['remove-top-margin']: this.removeTopMargin ? true : false,
35
- [this.color]: true
36
- };
37
- }
38
- get hostElement() { return getElement(this); }
39
- };
40
- PtcBreadcrumb.style = ptcBreadcrumbCss;
41
-
42
- const ptcJumbotronCss = "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}}.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-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%}.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}.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}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{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}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form 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).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.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{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{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)) .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}.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}}.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}}.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}";
43
-
44
- const PtcJumbotron = class {
45
- constructor(hostRef) {
46
- registerInstance(this, hostRef);
47
- this.jumbotronType = 'light';
48
- this.hasPopupVideo = false;
49
- this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
50
- this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
51
- this.pngSrc = undefined;
52
- this.gifSrc = undefined;
53
- this.bgVideoSrc = undefined;
54
- this.bgSrc = undefined;
55
- this.isIframe = false;
56
- this.playButtonTitle = undefined;
57
- this.pauseButtonTitle = undefined;
58
- this.contentBackground = undefined;
59
- this.contentColor = undefined;
60
- this.textAlign = 'left';
61
- this.isMobile = undefined;
62
- this.hasCtaSlot = undefined;
63
- }
64
- componentWillLoad() {
65
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
66
- }
67
- handleResize() {
68
- this.getContentBackground();
69
- //this.adjustJumbotronHeight();
70
- }
71
- connectedCallback() {
72
- this.getContentBackground();
73
- }
74
- componentDidLoad() {
75
- //this.adjustJumbotronHeight();
76
- }
77
- render() {
78
- const classMap = this.getCssClassMap();
79
- let mediaElement;
80
- switch (this.jumbotronType) {
81
- case 'png':
82
- 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)));
83
- break;
84
- case 'gif':
85
- mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
86
- break;
87
- case 'dark-video':
88
- case 'light-video':
89
- 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 }, " ", (this.hasPopupVideo && this.isMobile) ? h("div", { class: 'mobile-modal-play-btn' }, " ", h("slot", { name: "video" })) : null));
90
- break;
91
- case 'dark':
92
- case 'light':
93
- 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));
94
- break;
95
- default:
96
- mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
97
- }
98
- return (h(Host, { class: classMap }, h("div", { class: { 'parent': true, 'light-links': (this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video') } }, 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 content-layout" }, 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("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": 'w-4', "para-margin": `${this.jumbotronType === 'text' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` })), this.hasCtaSlot &&
99
- 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.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc }), 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)))));
100
- }
101
- getCssClassMap() {
102
- return {
103
- // [this.imageZIndex] : true
104
- "text-jumbotron": this.jumbotronType === "text" ? true : false,
105
- "png-jumbotron": this.jumbotronType === "png" ? true : false,
106
- "gif-jumbotron": this.jumbotronType === "gif" ? true : false,
107
- "dark-video-jumbotron light-links": this.jumbotronType === "dark-video" ? true : false,
108
- "light-video-jumbotron": this.jumbotronType === "light-video" ? true : false,
109
- "dark-jumbotron light-links": this.jumbotronType === "dark" ? true : false,
110
- "light-jumbotron": this.jumbotronType === "light" ? true : false
111
- };
112
- }
113
- getContentBackground() {
114
- if (window.innerWidth < 992) {
115
- switch (this.jumbotronType) {
116
- case 'light':
117
- case 'light-video':
118
- this.contentBackground = 'var(--color-white)';
119
- this.contentColor = 'var(--color-gray-10)';
120
- break;
121
- case 'dark':
122
- case 'dark-video':
123
- this.contentBackground = 'var(--color-gray-09)';
124
- this.contentColor = 'var(--color-gray-01)';
125
- break;
126
- default:
127
- this.contentBackground = 'transparent';
128
- this.contentColor = 'var(--color-gray-10)';
129
- }
130
- this.isMobile = true;
131
- }
132
- else {
133
- switch (this.jumbotronType) {
134
- case 'light':
135
- case 'light-video':
136
- this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
137
- this.contentColor = 'var(--color-gray-10)';
138
- break;
139
- case 'dark':
140
- case 'dark-video':
141
- this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
142
- this.contentColor = 'var(--color-gray-01)';
143
- break;
144
- case 'gif':
145
- this.contentBackground = '#F3F3F3';
146
- this.contentColor = 'var(--color-gray-10)';
147
- break;
148
- default:
149
- this.contentBackground = 'transparent';
150
- this.contentColor = 'var(--color-gray-10)';
151
- }
152
- this.isMobile = false;
153
- }
154
- }
155
- get el() { return getElement(this); }
156
- };
157
- PtcJumbotron.style = ptcJumbotronCss;
158
-
159
- export { PtcBreadcrumb as ptc_breadcrumb, PtcJumbotron as ptc_jumbotron };
@@ -1,71 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-abb9f744.js';
2
- import { g as getSeoTagType } from './utils-2f4905df.js';
3
-
4
- const ptcButtonCss = "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}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus,.icon-toggle:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";
5
-
6
- const PtcButton = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.clickEvent = createEvent(this, "clickEvent", 7);
10
- this.disabled = false;
11
- this.active = false;
12
- this.type = 'button';
13
- this.color = 'ptc-primary';
14
- this.iconAnimation = '';
15
- this.iconPosition = 'icon-right';
16
- this.linkHref = undefined;
17
- this.linkTitle = undefined;
18
- this.target = '_self';
19
- this.rel = undefined;
20
- this.tabNav = 0;
21
- this.styles = undefined;
22
- this.textAlign = undefined;
23
- this.size = undefined;
24
- this.buttonTitle = undefined;
25
- this.ariaLabel = '';
26
- this.seoCompatibilityMode = false;
27
- }
28
- clickEventHandler() {
29
- this.clickEvent.emit();
30
- }
31
- seoCompRender() {
32
- const classMap = this.getCssClassMap();
33
- const Tag = !!this.linkHref ? 'a' : 'button';
34
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
35
- const html = firstChild && firstChild.innerHTML;
36
- if (this.el == firstChild) {
37
- this.el.innerHTML = '';
38
- }
39
- return (h(Host, null, this.styles && h("style", null, this.styles), h(TagType, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), h("span", { innerHTML: html }, h("slot", { name: "slot-before-text" }), h("slot", { name: "slot-after-text" })))));
40
- }
41
- standardRender() {
42
- const classMap = this.getCssClassMap();
43
- const Tag = !!this.linkHref ? 'a' : 'button';
44
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
45
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
46
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
47
- }
48
- render() {
49
- if (this.seoCompatibilityMode) {
50
- return this.seoCompRender();
51
- }
52
- else {
53
- return this.standardRender();
54
- }
55
- }
56
- getCssClassMap() {
57
- return {
58
- [this.color]: true,
59
- [this.iconAnimation]: true,
60
- [this.iconPosition]: true,
61
- ['disabled']: this.disabled ? true : false,
62
- ['active']: this.active ? true : false,
63
- [this.textAlign]: true,
64
- [this.size]: true
65
- };
66
- }
67
- get el() { return getElement(this); }
68
- };
69
- PtcButton.style = ptcButtonCss;
70
-
71
- export { PtcButton as ptc_button };
@@ -1,129 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-abb9f744.js';
2
- import { a as ResponsiveBgVariables } from './interfaces-7c0243be.js';
3
-
4
- const ptcImgCss = "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}}.smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";
5
-
6
- const PtcImg = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.sizeXs = '510x340';
10
- this.sizeSm = '1240x496';
11
- this.sizeMd = '1366x500';
12
- this.sizeLg = '1920x1080';
13
- this.imgUrl = undefined;
14
- this.imageType = 'smart-bg';
15
- this.borderRadius = '';
16
- this.loadMode = 'lazy-bg';
17
- this.styles = undefined;
18
- }
19
- /**
20
- * Image Z Index
21
- */
22
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
23
- WindowResize() {
24
- this.setResponsiveBg();
25
- }
26
- render() {
27
- const classMap = this.getCssClassMap();
28
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
29
- }
30
- componentDidLoad() {
31
- this.addIntersectionObserver();
32
- this.setResponsiveBg();
33
- }
34
- componentWillUpdate() {
35
- this.addIntersectionObserver();
36
- this.setResponsiveBg();
37
- }
38
- //responsive image
39
- setResponsiveBg() {
40
- // Define local variables
41
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
42
- // Loop through all target elements
43
- for (var i = 0, len = backgrounds.length; i < len; i++) {
44
- // Set current variables
45
- el = backgrounds[i];
46
- elData = el.getAttribute('data-' + currentBreakpoint);
47
- // If the data attribute exists, set the background
48
- if (elData !== null) {
49
- el.style.backgroundImage = "url('" + elData + "')";
50
- }
51
- else {
52
- if (typeof console == 'object') {
53
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
54
- }
55
- }
56
- }
57
- }
58
- //lazy loading
59
- addIntersectionObserver() {
60
- if (!this.imgUrl) {
61
- console.log('no image!');
62
- return;
63
- }
64
- if ('IntersectionObserver' in window) {
65
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
66
- let bgObserver = new IntersectionObserver(entries => {
67
- entries.forEach(entry => {
68
- if (entry.isIntersecting) {
69
- const image = entry.target;
70
- image.classList.remove('lazy-bg');
71
- bgObserver.unobserve(image);
72
- }
73
- });
74
- });
75
- lazyLoadBgs.forEach(image => {
76
- bgObserver.observe(image);
77
- });
78
- }
79
- }
80
- getCssClassMap() {
81
- return {
82
- [this.imageType]: true,
83
- 'ptc-img': true,
84
- [this.borderRadius]: true,
85
- [this.loadMode]: true,
86
- // [this.imageZIndex] : true
87
- };
88
- }
89
- getCurrentBreakPoints() {
90
- // Define local variables
91
- let doc = window.document, temp = doc.createElement('div'), env;
92
- // Append test node
93
- doc.body.appendChild(temp);
94
- // Loop through breakpoints
95
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
96
- env = ResponsiveBgVariables.envs[i];
97
- // Add classes
98
- temp.className = 'hidden-' + env;
99
- // Found breakpoint
100
- if (temp.offsetParent === null) {
101
- // Remove our test node
102
- doc.body.removeChild(temp);
103
- // Return current breakpoint
104
- return env;
105
- }
106
- }
107
- // Breakpoint not found, try fallback
108
- doc.body.removeChild(temp);
109
- return this.getFallbackBreakpoint();
110
- }
111
- getFallbackBreakpoint() {
112
- if (window.matchMedia('(min-width: 992px)').matches) {
113
- return 'lg';
114
- }
115
- else if (window.matchMedia('(min-width: 768px)').matches) {
116
- return 'md';
117
- }
118
- else if (window.matchMedia('(min-width: 576px)').matches) {
119
- return 'sm';
120
- }
121
- else {
122
- return 'xs';
123
- }
124
- }
125
- get el() { return getElement(this); }
126
- };
127
- PtcImg.style = ptcImgCss;
128
-
129
- export { PtcImg as ptc_img };