@ptcwebops/ptcw-design 6.2.22-beta → 6.2.22

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 (298) hide show
  1. package/dist/cjs/{component-4dd13907.js → component-06dda623.js} +1494 -3305
  2. package/dist/cjs/component-5b5b6a98.js +1819 -0
  3. package/dist/cjs/event-jumbotron-example.cjs.entry.js +4 -2
  4. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +13 -7
  5. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset_4.cjs.entry.js +817 -0
  7. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  8. package/dist/cjs/interfaces-574e6df7.js +15 -0
  9. package/dist/cjs/list-item.cjs.entry.js +48 -0
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  12. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -2
  13. package/dist/cjs/ptc-background-video.cjs.entry.js +102 -0
  14. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  16. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  17. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -2
  18. package/dist/cjs/ptc-card_2.cjs.entry.js +11 -3
  19. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +2 -19
  21. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -1
  22. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-filter-tag_2.cjs.entry.js +15 -0
  25. package/dist/cjs/{ptc-form-checkbox_4.cjs.entry.js → ptc-form-checkbox_2.cjs.entry.js} +4 -786
  26. package/dist/cjs/ptc-icon-component.cjs.entry.js +45 -2
  27. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +50 -3
  28. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  29. package/dist/cjs/ptc-jumbotron.cjs.entry.js +151 -0
  30. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +2 -1
  31. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +670 -0
  32. package/dist/cjs/ptc-nav-link.cjs.entry.js +48 -0
  33. package/dist/cjs/ptc-nav-slider.cjs.entry.js +106 -0
  34. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +51 -0
  35. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  36. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  37. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-previous-url.cjs.entry.js +2 -10
  39. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  41. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  46. package/dist/cjs/ptc-sticky-section.cjs.entry.js +70 -0
  47. package/dist/cjs/ptc-sticky-title.cjs.entry.js +2 -2
  48. package/dist/cjs/ptc-subnav.cjs.entry.js +37 -0
  49. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-white-paper.cjs.entry.js +2 -2
  52. package/dist/cjs/ptcw-design.cjs.js +1 -1
  53. package/dist/cjs/validation-messages-33a4f26b.js +126 -0
  54. package/dist/collection/collection-manifest.json +0 -1
  55. package/dist/collection/components/icon-asset/icon-asset.css +6 -0
  56. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +2 -30
  57. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +13 -6
  58. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +9 -2
  59. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +25 -3
  60. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +3 -1
  61. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +23 -71
  62. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.js +12 -30
  63. package/dist/collection/components/ptc-announcement/ptc-announcement.css +6 -0
  64. package/dist/collection/components/ptc-announcement/ptc-announcement.js +1 -1
  65. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +13 -6
  66. package/dist/collection/components/ptc-card/ptc-card.css +1 -0
  67. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +2 -0
  68. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +20 -1
  69. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +13 -6
  70. package/dist/collection/components/ptc-close-icon/ptc-close-icon.js +1 -1
  71. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +13 -6
  72. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +13 -6
  73. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +12 -0
  74. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +44 -1
  75. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -0
  76. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +67 -2
  77. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +16 -8
  78. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +19 -1
  79. package/dist/collection/components/ptc-modal/ptc-modal.css +13 -6
  80. package/dist/collection/components/ptc-modal/ptc-modal.js +2 -19
  81. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +29 -0
  82. package/dist/collection/components/ptc-para/ptc-para.css +0 -3
  83. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  84. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +13 -6
  85. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +264 -26
  86. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +9 -1
  87. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +0 -16
  88. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +1 -27
  89. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +3 -2
  90. package/dist/collection/components/ptc-product-card/ptc-product-card.css +13 -6
  91. package/dist/collection/components/ptc-product-category/ptc-product-category.css +13 -6
  92. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +13 -6
  93. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +13 -6
  94. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +13 -6
  95. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +2 -2
  96. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +13 -6
  97. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +13 -6
  98. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +13 -6
  99. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +1 -1
  100. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +9 -2
  101. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +1 -4
  102. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +1 -9
  103. package/dist/custom-elements/index.d.ts +0 -6
  104. package/dist/custom-elements/index.js +180 -183
  105. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  106. package/dist/esm/blog-detail-layout.entry.js +1 -1
  107. package/dist/esm/blogs-search-section.entry.js +1 -1
  108. package/dist/esm/{component-9c921cc6.js → component-274da230.js} +1482 -3281
  109. package/dist/esm/component-341e4eaa.js +1802 -0
  110. package/dist/esm/event-jumbotron-example.entry.js +4 -2
  111. package/dist/esm/event-podcast-slider-example.entry.js +13 -7
  112. package/dist/esm/featured-list.entry.js +1 -1
  113. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  114. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  115. package/dist/esm/icon-asset_4.entry.js +810 -0
  116. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  117. package/dist/esm/interfaces-4caedd26.js +12 -0
  118. package/dist/esm/list-item.entry.js +44 -0
  119. package/dist/esm/loader.js +1 -1
  120. package/dist/esm/max-width-container.entry.js +50 -0
  121. package/dist/esm/most-popular-news.entry.js +1 -1
  122. package/dist/esm/my-component.entry.js +1 -1
  123. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  124. package/dist/esm/ptc-announcement.entry.js +2 -2
  125. package/dist/esm/ptc-background-video.entry.js +98 -0
  126. package/dist/esm/ptc-bio-card.entry.js +1 -1
  127. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  128. package/dist/esm/ptc-button.entry.js +83 -0
  129. package/dist/esm/ptc-card-bottom_2.entry.js +3 -2
  130. package/dist/esm/ptc-card_2.entry.js +11 -3
  131. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  132. package/dist/esm/ptc-close-icon_2.entry.js +2 -19
  133. package/dist/esm/ptc-data-lookup.entry.js +2 -1
  134. package/dist/esm/ptc-featured-list.entry.js +1 -1
  135. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  136. package/dist/esm/ptc-filter-tag_2.entry.js +15 -0
  137. package/dist/esm/{ptc-form-checkbox_4.entry.js → ptc-form-checkbox_2.entry.js} +4 -784
  138. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  139. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  140. package/dist/esm/ptc-icon-card.entry.js +1 -1
  141. package/dist/esm/ptc-icon-component.entry.js +45 -2
  142. package/dist/esm/ptc-icon-minimize.entry.js +50 -3
  143. package/dist/esm/ptc-img.entry.js +129 -0
  144. package/dist/esm/ptc-jumbotron.entry.js +147 -0
  145. package/dist/esm/ptc-link.entry.js +1 -1
  146. package/dist/esm/ptc-media-card.entry.js +1 -1
  147. package/dist/esm/ptc-minimized-nav.entry.js +2 -1
  148. package/dist/esm/ptc-multi-select_2.entry.js +665 -0
  149. package/dist/esm/ptc-nav-link.entry.js +44 -0
  150. package/dist/esm/ptc-nav-slider.entry.js +102 -0
  151. package/dist/esm/ptc-nav-submenu.entry.js +47 -0
  152. package/dist/esm/ptc-para.entry.js +123 -0
  153. package/dist/esm/ptc-picture.entry.js +159 -0
  154. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  155. package/dist/esm/ptc-previous-url.entry.js +2 -10
  156. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  157. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  158. package/dist/esm/ptc-product-card.entry.js +1 -1
  159. package/dist/esm/ptc-product-category.entry.js +1 -1
  160. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  161. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  162. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  163. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  164. package/dist/esm/ptc-spacer.entry.js +34 -0
  165. package/dist/esm/ptc-sticky-section.entry.js +66 -0
  166. package/dist/esm/ptc-sticky-title.entry.js +2 -2
  167. package/dist/esm/ptc-subnav.entry.js +33 -0
  168. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  169. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  170. package/dist/esm/ptc-white-paper.entry.js +2 -2
  171. package/dist/esm/ptcw-design.js +1 -1
  172. package/dist/esm/{utils-ff65c75b.js → utils-355f1d70.js} +1 -1
  173. package/dist/esm/validation-messages-adbb6518.js +124 -0
  174. package/dist/ptcw-design/media/designer-v6.0.6.svg +2 -30
  175. package/dist/ptcw-design/{p-6a79e68e.entry.js → p-00ccc051.entry.js} +1 -1
  176. package/dist/ptcw-design/p-07b1afd5.entry.js +1 -0
  177. package/dist/ptcw-design/p-09def480.entry.js +1 -0
  178. package/dist/ptcw-design/p-0f32883f.entry.js +1 -0
  179. package/dist/ptcw-design/{p-abdd3b8e.entry.js → p-1056fdc7.entry.js} +1 -1
  180. package/dist/ptcw-design/p-18a5a338.js +1 -0
  181. package/dist/ptcw-design/p-1adea6a5.entry.js +1 -0
  182. package/dist/ptcw-design/p-235149b5.entry.js +1 -0
  183. package/dist/ptcw-design/p-2ab0f25c.entry.js +1 -0
  184. package/dist/ptcw-design/{p-dbb4e7f9.entry.js → p-30ec0036.entry.js} +1 -1
  185. package/dist/ptcw-design/{p-a560e839.entry.js → p-3815217a.entry.js} +1 -1
  186. package/dist/ptcw-design/p-39255f59.entry.js +1 -0
  187. package/dist/ptcw-design/p-3b6826c3.entry.js +1 -0
  188. package/dist/ptcw-design/{p-051ba8f9.entry.js → p-3d3328f9.entry.js} +1 -1
  189. package/dist/ptcw-design/p-3f935e06.entry.js +1 -0
  190. package/dist/ptcw-design/{p-9b60270e.entry.js → p-455bdea0.entry.js} +1 -1
  191. package/dist/ptcw-design/p-483e20af.entry.js +1 -0
  192. package/dist/ptcw-design/p-4ee29b78.entry.js +1 -0
  193. package/dist/ptcw-design/p-4f523245.entry.js +1 -0
  194. package/dist/ptcw-design/p-520542e2.entry.js +1 -0
  195. package/dist/ptcw-design/p-53d15f85.entry.js +1 -0
  196. package/dist/ptcw-design/{p-b1c1de30.entry.js → p-57360be3.entry.js} +1 -1
  197. package/dist/ptcw-design/p-57d86f12.entry.js +1 -0
  198. package/dist/ptcw-design/p-647dee4f.entry.js +1 -0
  199. package/dist/ptcw-design/p-66ddc281.entry.js +1 -0
  200. package/dist/ptcw-design/p-66f319f0.entry.js +1 -0
  201. package/dist/ptcw-design/p-69ef15d4.entry.js +1 -0
  202. package/dist/ptcw-design/{p-c9518684.entry.js → p-6b7d2579.entry.js} +1 -1
  203. package/dist/ptcw-design/p-6d0f7580.entry.js +1 -0
  204. package/dist/ptcw-design/p-6f8858c3.entry.js +1 -0
  205. package/dist/ptcw-design/p-711bcdad.js +1 -0
  206. package/dist/ptcw-design/p-770b269c.entry.js +1 -0
  207. package/dist/ptcw-design/p-788c2859.entry.js +1 -0
  208. package/dist/ptcw-design/p-794eebdb.entry.js +1 -0
  209. package/dist/ptcw-design/p-79762cf6.entry.js +1 -0
  210. package/dist/ptcw-design/{p-a220ab2c.entry.js → p-7a5c0d47.entry.js} +1 -1
  211. package/dist/ptcw-design/p-88ff7bc5.entry.js +1 -0
  212. package/dist/ptcw-design/{p-208ca9de.entry.js → p-8da51d65.entry.js} +1 -1
  213. package/dist/ptcw-design/p-9d8a9a72.entry.js +1 -0
  214. package/dist/ptcw-design/p-a4c68b6d.entry.js +1 -0
  215. package/dist/ptcw-design/p-ad4f4f33.entry.js +1 -0
  216. package/dist/ptcw-design/p-b0c99e8e.entry.js +1 -0
  217. package/dist/ptcw-design/{p-b4ba719a.entry.js → p-b1d85ece.entry.js} +1 -1
  218. package/dist/ptcw-design/p-b29e43cf.entry.js +1 -0
  219. package/dist/ptcw-design/{p-9e6fb4ba.entry.js → p-b9dd37cc.entry.js} +1 -1
  220. package/dist/ptcw-design/p-be533f0d.js +134 -0
  221. package/dist/ptcw-design/p-bf04c250.entry.js +1 -0
  222. package/dist/ptcw-design/p-c1513c3f.js +203 -0
  223. package/dist/ptcw-design/p-c2ab3f44.entry.js +68 -0
  224. package/dist/ptcw-design/{p-d871e7f7.entry.js → p-c5631974.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-fc0d9251.entry.js → p-c811bca6.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-2a255901.entry.js → p-cb2b87bb.entry.js} +1 -1
  227. package/dist/ptcw-design/p-d4207d86.entry.js +1 -0
  228. package/dist/ptcw-design/p-d9ec506c.entry.js +1 -0
  229. package/dist/ptcw-design/p-dabb1b70.entry.js +1 -0
  230. package/dist/ptcw-design/{p-73a41148.entry.js → p-e05b1f0e.entry.js} +1 -1
  231. package/dist/ptcw-design/p-e487b592.entry.js +1 -0
  232. package/dist/ptcw-design/{p-bf076b87.entry.js → p-e6cb2dce.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-0c862dbd.entry.js → p-e78596eb.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-8872161f.js → p-ead9ebbc.js} +1 -1
  235. package/dist/ptcw-design/p-ec22d0b8.entry.js +1 -0
  236. package/dist/ptcw-design/p-edcad0f1.entry.js +1 -0
  237. package/dist/ptcw-design/p-f093f6f8.entry.js +1 -0
  238. package/dist/ptcw-design/p-f2006b03.entry.js +1 -0
  239. package/dist/ptcw-design/p-f31e17d9.entry.js +1 -0
  240. package/dist/ptcw-design/{p-2ee3a32b.entry.js → p-f6bfbe18.entry.js} +1 -1
  241. package/dist/ptcw-design/p-ffd5c822.entry.js +1 -0
  242. package/dist/ptcw-design/ptcw-design.css +2 -2
  243. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  244. package/dist/types/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.d.ts +0 -1
  245. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +2 -0
  246. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +5 -0
  247. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +2 -0
  248. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +1 -0
  249. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -2
  250. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +3 -0
  251. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  252. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +0 -2
  253. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +0 -1
  254. package/dist/types/components.d.ts +17 -21
  255. package/package.json +1 -1
  256. package/readme.md +1 -5
  257. package/dist/cjs/icon-asset_18.cjs.entry.js +0 -1501
  258. package/dist/cjs/modal-form-example.cjs.entry.js +0 -94
  259. package/dist/cjs/ptc-collapse-list.cjs.entry.js +0 -512
  260. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +0 -26
  261. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +0 -99
  262. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +0 -45
  263. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +0 -47
  264. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +0 -157
  265. package/dist/esm/icon-asset_18.entry.js +0 -1480
  266. package/dist/esm/modal-form-example.entry.js +0 -90
  267. package/dist/esm/ptc-collapse-list.entry.js +0 -508
  268. package/dist/ptcw-design/p-01ad1cc2.entry.js +0 -68
  269. package/dist/ptcw-design/p-0eb9ea11.entry.js +0 -1
  270. package/dist/ptcw-design/p-20388467.entry.js +0 -1
  271. package/dist/ptcw-design/p-20670bc5.entry.js +0 -1
  272. package/dist/ptcw-design/p-20d837a9.entry.js +0 -1
  273. package/dist/ptcw-design/p-20d84f63.entry.js +0 -1
  274. package/dist/ptcw-design/p-286e048c.entry.js +0 -1
  275. package/dist/ptcw-design/p-2d0a9613.entry.js +0 -1
  276. package/dist/ptcw-design/p-330e1a36.entry.js +0 -1
  277. package/dist/ptcw-design/p-3a7c5330.entry.js +0 -1
  278. package/dist/ptcw-design/p-3ada2482.entry.js +0 -1
  279. package/dist/ptcw-design/p-4e41c031.entry.js +0 -1
  280. package/dist/ptcw-design/p-4e8c87e1.entry.js +0 -1
  281. package/dist/ptcw-design/p-5ae21271.entry.js +0 -1
  282. package/dist/ptcw-design/p-640d07b5.entry.js +0 -1
  283. package/dist/ptcw-design/p-66d50b46.entry.js +0 -1
  284. package/dist/ptcw-design/p-6af8c192.entry.js +0 -1
  285. package/dist/ptcw-design/p-70a5f144.entry.js +0 -1
  286. package/dist/ptcw-design/p-7853f1b5.entry.js +0 -1
  287. package/dist/ptcw-design/p-907727fd.entry.js +0 -1
  288. package/dist/ptcw-design/p-98083315.entry.js +0 -1
  289. package/dist/ptcw-design/p-986be938.entry.js +0 -1
  290. package/dist/ptcw-design/p-aba549b7.entry.js +0 -1
  291. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  292. package/dist/ptcw-design/p-b5d0e4a2.entry.js +0 -1
  293. package/dist/ptcw-design/p-bcab66bf.js +0 -336
  294. package/dist/ptcw-design/p-ca268a17.entry.js +0 -1
  295. package/dist/ptcw-design/p-ce6d1c5f.entry.js +0 -1
  296. package/dist/ptcw-design/p-ef55ab3c.entry.js +0 -1
  297. package/dist/ptcw-design/p-fb2e4612.entry.js +0 -1
  298. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +0 -25
@@ -1,1480 +0,0 @@
1
- import { r as registerInstance, c as createEvent, g as getAssetPath, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { n as nextUserInteractionEvent, C as CheckDarkFocusState, g as getSeoTagType, s as seoSlotReset } from './utils-ff65c75b.js';
3
-
4
- const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{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}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}svg[tabIndex=\"0\"].sc-icon-asset:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}";
5
-
6
- const IconAsset = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.ready = createEvent(this, "ready", 7);
10
- this.regularSprite = getAssetPath('./media/regular.svg');
11
- this.solidSprite = getAssetPath('./media/solid.svg');
12
- this.brandSprite = getAssetPath('./media/brands.svg');
13
- this.ptcSprite = getAssetPath('./media/designer-v6.0.6.svg');
14
- this.name = undefined;
15
- this.size = 'xx-small';
16
- this.type = 'regular';
17
- this.spin = '';
18
- this.pulse = '';
19
- this.color = 'default';
20
- this.isMobileSelect = undefined;
21
- this.injectedStyle = undefined;
22
- this.focusOn = false;
23
- this.trackerId = "";
24
- }
25
- componentDidLoad() {
26
- this.ready.emit({
27
- 'regular-icons': this.regularSprite,
28
- 'sold-icons': this.solidSprite,
29
- 'brand-icons': this.brandSprite,
30
- 'ptc-icons': this.ptcSprite
31
- });
32
- }
33
- render() {
34
- const classMap = this.getCssClassMap();
35
- if (this.type == 'brands') {
36
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
37
- }
38
- else if (this.type == 'solid') {
39
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
40
- }
41
- else if (this.type == 'ptc') {
42
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
43
- }
44
- else {
45
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
46
- }
47
- }
48
- getCssClassMap() {
49
- return {
50
- [this.size]: true,
51
- [this.spin]: true,
52
- [this.pulse]: true,
53
- [this.color]: true,
54
- ['ismobileselect']: this.isMobileSelect ? true : false,
55
- ['mf-listen']: this.trackerId !== "" ? true : false
56
- };
57
- }
58
- static get assetsDirs() { return ["media"]; }
59
- };
60
- IconAsset.style = iconAssetCss;
61
-
62
- const listItemCss = "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(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);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)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
63
-
64
- const ListItem = class {
65
- constructor(hostRef) {
66
- registerInstance(this, hostRef);
67
- this.listType = 'list-primary';
68
- this.linkHref = undefined;
69
- this.flushBefore = false;
70
- this.linkTarget = '_self';
71
- this.hasBeforeHomeIcon = false;
72
- this.trackerId = undefined;
73
- this.color = undefined;
74
- this.styles = undefined;
75
- this.ariaLabel = '';
76
- }
77
- render() {
78
- const classMap = this.getCssClassMap();
79
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("li", { id: this.trackerId }, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== '' ? { 'aria-label': this.ariaLabel } : {}), { tabindex: "0" }), h("slot", null))) : (h("slot", null)))));
80
- }
81
- getCssClassMap() {
82
- let bcEnable = false;
83
- if (this.hostElement && this.hostElement.parentElement) {
84
- try {
85
- bcEnable = (this.hostElement.parentElement.classList.contains('center') && this.hostElement.parentElement.tagName === 'PTC-BREADCRUMB');
86
- }
87
- catch (err) {
88
- console.log(err);
89
- }
90
- }
91
- return {
92
- [this.listType]: true,
93
- ['flush-before']: this.flushBefore ? true : false,
94
- [this.color]: !!this.color ? true : false,
95
- ['breadcrumb-center']: bcEnable,
96
- ['mf-listen']: true
97
- };
98
- }
99
- get hostElement() { return getElement(this); }
100
- };
101
- ListItem.style = listItemCss;
102
-
103
- const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
104
-
105
- const MaxWidthContainer = class {
106
- constructor(hostRef) {
107
- registerInstance(this, hostRef);
108
- this.maxWidthP = undefined;
109
- this.maxWidth = undefined;
110
- this.breakpoint = 768;
111
- this.contentAlign = 'center';
112
- this.styles = undefined;
113
- }
114
- componentDidLoad() {
115
- this.handleResize();
116
- window.addEventListener('resize', this.handleResize.bind(this));
117
- }
118
- disconnectedCallback() {
119
- window.removeEventListener('resize', this.handleResize);
120
- }
121
- render() {
122
- const classMap = this.getCssClassMap();
123
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("slot", null)));
124
- }
125
- getCssClassMap() {
126
- return {
127
- [this.contentAlign]: true,
128
- };
129
- }
130
- handleResize() {
131
- // const selectedContainer = this.el.querySelector('.max-width-container');
132
- if (this.el) {
133
- if (window.innerWidth >= this.breakpoint) {
134
- if (this.maxWidthP) {
135
- this.el.style.maxWidth = `${this.maxWidthP}%`;
136
- }
137
- else {
138
- this.el.style.maxWidth = `${this.maxWidth}px`;
139
- }
140
- }
141
- else {
142
- this.el.style.maxWidth = 'initial';
143
- }
144
- }
145
- }
146
- get el() { return getElement(this); }
147
- };
148
- MaxWidthContainer.style = maxWidthContainerCss;
149
-
150
- 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>')}";
151
-
152
- const PtcBackgroundVideo = class {
153
- constructor(hostRef) {
154
- registerInstance(this, hostRef);
155
- this.videoSrc = undefined;
156
- this.posterSrc = undefined;
157
- this.overlay = true;
158
- this.overlayType = 'standard';
159
- this.playButtonTitle = undefined;
160
- this.pauseButtonTitle = undefined;
161
- this.buttonLocation = 'bottom-right';
162
- this.buttonTabIndex = 0;
163
- this.paused = undefined;
164
- this.trackerId = undefined;
165
- this.defer = undefined;
166
- this.type = 'default';
167
- this.isIframe = false;
168
- this.loadedTrue = false;
169
- }
170
- // componentDidLoad() {
171
- // if(this.isIframe){
172
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
173
- // const iframeDoc = iframe.contentDocument
174
- // const iframeVideo = iframeDoc.querySelector('video');
175
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
176
- // iframeVideo.style.objectFit = 'cover';
177
- // }
178
- // }
179
- // @Method()
180
- // async toggleVideo() {
181
- // // show a prompt
182
- // this.paused = !this.paused;
183
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
184
- // if (video) {
185
- // if (this.paused) {
186
- // video.pause();
187
- // } else {
188
- // video.play().catch(z => console.error(z));
189
- // }
190
- // }
191
- // console.log('Hello, I am a publish method from ptc-background-video!');
192
- // }
193
- componentDidLoad() {
194
- if (this.defer) {
195
- nextUserInteractionEvent(this).then(() => {
196
- this.loadedTrue = true;
197
- });
198
- }
199
- else {
200
- this.loadedTrue = true;
201
- }
202
- }
203
- componentWillLoad() {
204
- this.paused = false;
205
- }
206
- render() {
207
- 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 }));
208
- const placeholderContent = h("video", { poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true });
209
- return (h(Host, { class: this.type }, this.loadedTrue
210
- ? videoContent
211
- : 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) : ''));
212
- }
213
- toggleVideoPlay(e) {
214
- e.preventDefault();
215
- this.paused = !this.paused;
216
- let video = this.el.shadowRoot.querySelector('video');
217
- if (video) {
218
- if (this.paused) {
219
- video.pause();
220
- }
221
- else {
222
- video.play().catch(z => console.error(z));
223
- }
224
- }
225
- }
226
- async pauseVideo() {
227
- this.paused = true;
228
- let video = this.el.shadowRoot.querySelector('video');
229
- if (video) {
230
- video.pause();
231
- }
232
- }
233
- async playVideo() {
234
- this.paused = false;
235
- let video = this.el.shadowRoot.querySelector('video');
236
- if (video) {
237
- video.play().catch(z => console.error(z));
238
- }
239
- }
240
- get el() { return getElement(this); }
241
- };
242
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
243
-
244
- 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,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);display:inline-block}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible.dark-mode-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}";
245
-
246
- const PtcBreadcrumb = class {
247
- constructor(hostRef) {
248
- registerInstance(this, hostRef);
249
- this.position = undefined;
250
- this.removeTopMargin = false;
251
- this.color = 'white';
252
- this.isDarkMode = false;
253
- this.styles = undefined;
254
- }
255
- componentWillLoad() {
256
- this.listItems = this.hostElement.querySelectorAll('list-item');
257
- }
258
- componentDidLoad() {
259
- if (this.listItems) {
260
- this.hostElement.querySelectorAll('list-item').forEach((item) => {
261
- item.remove();
262
- });
263
- }
264
- }
265
- render() {
266
- const classMap = this.getCssClassMap();
267
- 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 mf-listen', id: "homeLinkID" }, h("a", { href: "/", "aria-label": "Home Link", class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index, array) => {
268
- const textContent = item.textContent.trim();
269
- const href = item.getAttribute('link-href');
270
- return (h("li", { key: index, class: "mf-listen", id: `breadcrumb` + index + `ID` }, index < array.length - 1 ? (h("a", { href: href, target: '_self', class: { ['breadcrumb-item-link']: true, ['dark-mode-link']: this.isDarkMode } }, textContent)) : (textContent), h("span", { class: "visually-hidden" }, "/")));
271
- })))));
272
- }
273
- getCssClassMap() {
274
- return {
275
- [this.position]: !!this.position && this.position !== undefined ? true : false,
276
- ['remove-top-margin']: this.removeTopMargin ? true : false,
277
- [this.color]: true
278
- };
279
- }
280
- get hostElement() { return getElement(this); }
281
- };
282
- PtcBreadcrumb.style = ptcBreadcrumbCss;
283
-
284
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus-visible{border-radius:4px !important;border:2px solid #FFF !important;outline:5px solid #003DD6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black);transition:none}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black);transition:none}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";
285
-
286
- const PtcButton = class {
287
- constructor(hostRef) {
288
- registerInstance(this, hostRef);
289
- this.clickEvent = createEvent(this, "clickEvent", 7);
290
- this.disabled = false;
291
- this.active = false;
292
- this.type = 'button';
293
- this.color = 'ptc-primary';
294
- this.iconAnimation = '';
295
- this.iconPosition = 'icon-right';
296
- this.linkHref = undefined;
297
- this.linkTitle = undefined;
298
- this.target = '_self';
299
- this.rel = undefined;
300
- this.tabNav = 0;
301
- this.styles = undefined;
302
- this.textAlign = undefined;
303
- this.enableAccessibilityAltStyle = false;
304
- this.size = undefined;
305
- this.buttonTitle = undefined;
306
- this.ariaLabel = '';
307
- this.seoCompatibilityMode = false;
308
- this.maintainContent = false;
309
- this.trackerId = undefined;
310
- this.darkFocusState = false;
311
- }
312
- clickEventHandler() {
313
- this.clickEvent.emit();
314
- }
315
- componentWillLoad() {
316
- CheckDarkFocusState(this, this.el);
317
- }
318
- seoCompRender() {
319
- const classMap = this.getCssClassMap();
320
- const Tag = !!this.linkHref ? 'a' : 'button';
321
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
322
- const html = firstChild && firstChild.innerHTML;
323
- if (this.el == firstChild) {
324
- this.el.innerHTML = '';
325
- }
326
- if (this.maintainContent) {
327
- this.el.innerHTML = html;
328
- }
329
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, 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" }))))));
330
- }
331
- standardRender() {
332
- const classMap = this.getCssClassMap();
333
- const Tag = !!this.linkHref ? 'a' : 'button';
334
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, 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' ?
335
- 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" })))) :
336
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" }))))));
337
- }
338
- render() {
339
- if (this.seoCompatibilityMode) {
340
- return this.seoCompRender();
341
- }
342
- else {
343
- return this.standardRender();
344
- }
345
- }
346
- getCssClassMap() {
347
- return {
348
- [this.color]: true,
349
- [this.iconAnimation]: true,
350
- [this.iconPosition]: true,
351
- ['disabled']: this.disabled ? true : false,
352
- ['active']: this.active ? true : false,
353
- [this.textAlign]: true,
354
- [this.size]: true,
355
- ['acc-alt-style']: this.enableAccessibilityAltStyle,
356
- ['focus-state-dark-background']: this.darkFocusState
357
- };
358
- }
359
- get el() { return getElement(this); }
360
- };
361
- PtcButton.style = ptcButtonCss;
362
-
363
- let ResponsiveBgVariables = {
364
- envs: ['xs', 'sm', 'md', 'lg'],
365
- selector: '.ptc-img',
366
- interval: 250
367
- };
368
- let ResponsivePictureVariables = {
369
- envs: ['xs', 'sm', 'md', 'lg'],
370
- selector: '.ptc-picture',
371
- interval: 250
372
- };
373
-
374
- const ptcImgCss = "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}}.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}}";
375
-
376
- const PtcImg = class {
377
- constructor(hostRef) {
378
- registerInstance(this, hostRef);
379
- this.sizeXs = '510x340';
380
- this.sizeSm = '1240x496';
381
- this.sizeMd = '1366x500';
382
- this.sizeLg = '1920x1080';
383
- this.imgUrl = undefined;
384
- this.imageType = 'smart-bg';
385
- this.borderRadius = '';
386
- this.loadMode = 'lazy-bg';
387
- this.styles = undefined;
388
- }
389
- /**
390
- * Image Z Index
391
- */
392
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
393
- WindowResize() {
394
- this.setResponsiveBg();
395
- }
396
- render() {
397
- const classMap = this.getCssClassMap();
398
- 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)));
399
- }
400
- componentDidLoad() {
401
- this.addIntersectionObserver();
402
- this.setResponsiveBg();
403
- }
404
- componentWillUpdate() {
405
- this.addIntersectionObserver();
406
- this.setResponsiveBg();
407
- }
408
- //responsive image
409
- setResponsiveBg() {
410
- // Define local variables
411
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
412
- // Loop through all target elements
413
- for (var i = 0, len = backgrounds.length; i < len; i++) {
414
- // Set current variables
415
- el = backgrounds[i];
416
- elData = el.getAttribute('data-' + currentBreakpoint);
417
- // If the data attribute exists, set the background
418
- if (elData !== null) {
419
- el.style.backgroundImage = "url('" + elData + "')";
420
- }
421
- else {
422
- if (typeof console == 'object') {
423
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
424
- }
425
- }
426
- }
427
- }
428
- //lazy loading
429
- addIntersectionObserver() {
430
- if (!this.imgUrl) {
431
- console.log('no image!');
432
- return;
433
- }
434
- if ('IntersectionObserver' in window) {
435
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
436
- let bgObserver = new IntersectionObserver(entries => {
437
- entries.forEach(entry => {
438
- if (entry.isIntersecting) {
439
- const image = entry.target;
440
- image.classList.remove('lazy-bg');
441
- bgObserver.unobserve(image);
442
- }
443
- });
444
- });
445
- lazyLoadBgs.forEach(image => {
446
- bgObserver.observe(image);
447
- });
448
- }
449
- }
450
- getCssClassMap() {
451
- return {
452
- [this.imageType]: true,
453
- 'ptc-img': true,
454
- [this.borderRadius]: true,
455
- [this.loadMode]: true,
456
- // [this.imageZIndex] : true
457
- };
458
- }
459
- getCurrentBreakPoints() {
460
- // Define local variables
461
- let doc = window.document, temp = doc.createElement('div'), env;
462
- // Append test node
463
- doc.body.appendChild(temp);
464
- // Loop through breakpoints
465
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
466
- env = ResponsiveBgVariables.envs[i];
467
- // Add classes
468
- temp.className = 'hidden-' + env;
469
- // Found breakpoint
470
- if (temp.offsetParent === null) {
471
- // Remove our test node
472
- doc.body.removeChild(temp);
473
- // Return current breakpoint
474
- return env;
475
- }
476
- }
477
- // Breakpoint not found, try fallback
478
- doc.body.removeChild(temp);
479
- return this.getFallbackBreakpoint();
480
- }
481
- getFallbackBreakpoint() {
482
- if (window.matchMedia('(min-width: 992px)').matches) {
483
- return 'lg';
484
- }
485
- else if (window.matchMedia('(min-width: 768px)').matches) {
486
- return 'md';
487
- }
488
- else if (window.matchMedia('(min-width: 576px)').matches) {
489
- return 'sm';
490
- }
491
- else {
492
- return 'xs';
493
- }
494
- }
495
- get el() { return getElement(this); }
496
- };
497
- PtcImg.style = ptcImgCss;
498
-
499
- 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)}ptc-nav-submenu{border-left:2px solid transparent;border-right:2px solid transparent}ptc-nav-submenu:focus-visible,ptc-nav-submenu:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);margin-top:-2px;margin-bottom:-2px}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}";
500
-
501
- const PtcJumbotron = class {
502
- constructor(hostRef) {
503
- registerInstance(this, hostRef);
504
- this.jumbotronType = 'light';
505
- this.hasPopupVideo = false;
506
- this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
507
- this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
508
- this.pngSrc = undefined;
509
- this.pngImgStyles = "";
510
- this.gifSrc = undefined;
511
- this.bgVideoSrc = undefined;
512
- this.bgVideoPosterSrc = undefined;
513
- this.bgSrc = undefined;
514
- this.isIframe = false;
515
- this.isHomepage = false;
516
- this.playButtonTitle = undefined;
517
- this.pauseButtonTitle = undefined;
518
- this.buttonLocation = undefined;
519
- this.buttonTabIndex = 0;
520
- this.contentBackground = undefined;
521
- this.contentColor = undefined;
522
- this.textAlign = 'left';
523
- this.isMobile = undefined;
524
- this.isTransitioning = undefined;
525
- this.blogAuthorImage = "";
526
- this.blogAuthorImageAlt = "";
527
- this.blogAuthorName = "";
528
- this.blogAuthorQueryHref = "";
529
- this.blogAuthorQueryTarget = "";
530
- this.hasCountdown = false;
531
- this.styles = undefined;
532
- this.defer = undefined;
533
- this.hasCtaSlot = undefined;
534
- }
535
- componentWillLoad() {
536
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
537
- }
538
- handleResize() {
539
- this.getContentBackground();
540
- //this.adjustJumbotronHeight();
541
- }
542
- connectedCallback() {
543
- this.getContentBackground();
544
- }
545
- componentDidLoad() {
546
- //this.adjustJumbotronHeight();
547
- }
548
- render() {
549
- const classMap = this.getCssClassMap();
550
- let mediaElement;
551
- switch (this.jumbotronType) {
552
- case 'png':
553
- 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)));
554
- break;
555
- case 'blog':
556
- 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%;}" }))));
557
- break;
558
- case 'gif':
559
- mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
560
- break;
561
- case 'dark-video':
562
- case 'light-video':
563
- 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));
564
- break;
565
- case 'dark':
566
- case 'light':
567
- 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));
568
- break;
569
- default:
570
- mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
571
- }
572
- 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)))));
573
- }
574
- getCssClassMap() {
575
- return {
576
- // [this.imageZIndex] : true
577
- 'text-jumbotron': this.jumbotronType === 'text' ? true : false,
578
- 'png-jumbotron': this.jumbotronType === 'png' ? true : false,
579
- 'blog-jumbotron': this.jumbotronType === 'blog' ? true : false,
580
- 'gif-jumbotron': this.jumbotronType === 'gif' ? true : false,
581
- 'dark-video-jumbotron light-links': this.jumbotronType === 'dark-video' ? true : false,
582
- 'light-video-jumbotron': this.jumbotronType === 'light-video' ? true : false,
583
- 'dark-jumbotron light-links': this.jumbotronType === 'dark' ? true : false,
584
- 'light-jumbotron': this.jumbotronType === 'light' ? true : false,
585
- };
586
- }
587
- getContentBackground() {
588
- if (window.innerWidth < 992) {
589
- switch (this.jumbotronType) {
590
- case 'light':
591
- case 'light-video':
592
- case 'png':
593
- this.contentBackground = 'var(--color-white)';
594
- this.contentColor = 'var(--color-gray-10)';
595
- break;
596
- case 'dark':
597
- case 'dark-video':
598
- this.contentBackground = 'var(--color-gray-09)';
599
- this.contentColor = 'var(--color-gray-01)';
600
- break;
601
- case 'blog':
602
- this.contentBackground = 'white';
603
- this.contentColor = 'var(--color-gray-10)';
604
- break;
605
- default:
606
- this.contentBackground = 'transparent';
607
- this.contentColor = 'var(--color-gray-10)';
608
- }
609
- this.isMobile = true;
610
- }
611
- else {
612
- switch (this.jumbotronType) {
613
- case 'light':
614
- case 'light-video':
615
- case 'png':
616
- this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
617
- this.contentColor = 'var(--color-gray-10)';
618
- break;
619
- case 'dark':
620
- case 'dark-video':
621
- this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
622
- this.contentColor = 'var(--color-gray-01)';
623
- break;
624
- case 'gif':
625
- this.contentBackground = '#F3F3F3';
626
- this.contentColor = 'var(--color-gray-10)';
627
- break;
628
- case 'blog':
629
- this.contentBackground = 'white';
630
- this.contentColor = 'var(--color-gray-10)';
631
- break;
632
- default:
633
- this.contentBackground = 'transparent';
634
- this.contentColor = 'var(--color-gray-10)';
635
- }
636
- this.isMobile = false;
637
- }
638
- }
639
- get el() { return getElement(this); }
640
- };
641
- PtcJumbotron.style = ptcJumbotronCss;
642
-
643
- const ptcNavLinkCss = "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}@media only screen and (min-width: 1200px){:host{display:inline-block}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host a{color:var(--color-gray-03);text-decoration:none;display:block;border-bottom:2px solid transparent;margin-left:34%;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}@media only screen and (min-width: 480px){:host a{margin-left:38%}}@media only screen and (min-width: 768px){:host a{margin-left:42%}}@media only screen and (min-width: 1200px){:host a{padding:22px var(--ptc-element-spacing-03);margin-left:0;display:flex;align-items:center;white-space:nowrap;position:relative}:host a::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:20px}}:host a svg{width:1rem;height:0.875rem;display:inline-block;background-size:cover;transition:margin-left 250ms ease-out;vertical-align:middle;margin-left:4px}:host a:hover,:host a:focus{color:var(--color-white)}@media only screen and (min-width: 1200px){:host a:hover::after,:host a:focus::after{border-color:var(--color-white)}}:host a:hover svg path,:host a:focus svg path{fill:var(--color-white)}:host a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding:20px 10px}:host ::slotted(icon-asset){margin-top:4px;margin-right:8px}:host .tracker-div{display:inline}";
644
-
645
- const PtcNavLink = class {
646
- constructor(hostRef) {
647
- registerInstance(this, hostRef);
648
- this.navLinkClicked = createEvent(this, "navLinkClicked", 7);
649
- this.href = undefined;
650
- this.isOutsideLink = false;
651
- this.titleText = '';
652
- this.trackerId = undefined;
653
- }
654
- handleClick(event) {
655
- // Prevent the event from propagating to the underlying <a> element
656
- event.stopPropagation();
657
- // Check if the href starts with #
658
- if (this.href && this.href.startsWith('#')) {
659
- // Find the corresponding section
660
- const section = document.querySelector(this.href);
661
- section.scrollIntoView({
662
- behavior: 'smooth',
663
- });
664
- this.navLinkClicked.emit();
665
- }
666
- }
667
- trimString(inputString, maxLength) {
668
- if (inputString.length > maxLength) {
669
- return inputString.slice(0, maxLength) + '...';
670
- }
671
- else {
672
- return inputString;
673
- }
674
- }
675
- render() {
676
- return (h(Host, null, h("div", { class: "tracker-div", id: this.trackerId }, h("a", { href: this.href, target: this.isOutsideLink ? '_blank' : '_self', title: this.titleText, onClick: event => {
677
- this.handleClick(event);
678
- } }, h("slot", null), !this.href.startsWith('#') && (h("svg", { class: "icon-arrow-right", xmlns: "http://www.w3.org/2000/svg", width: "14", height: "10", viewBox: "0 0 14 10", fill: "none" }, h("path", { d: "M8.84921 0.77792L8.81313 3.41153L0.51545 3.55584L0.515449 6.5863L8.81313 6.44199L8.81313 9.40029L13.1424 5.07107L8.84921 0.77792Z", fill: "#AEB8BD" })))))));
679
- }
680
- get el() { return getElement(this); }
681
- };
682
- PtcNavLink.style = ptcNavLinkCss;
683
-
684
- const ptcNavSliderCss = "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}}@media only screen and (min-width: 1200px){:host{max-width:746px;padding:0px 0px;display:flex;align-items:center;margin-left:-23px}:host .box-wrap{width:100%;height:auto;display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host .box-wrap::-webkit-scrollbar{display:none}}@media only screen and (min-width: 1440px){:host{margin-left:-46px}}:host .navArrows{cursor:pointer;display:inline-block}:host .navArrows svg{vertical-align:middle}:host .btn-wrap-left,:host .btn-wrap-right{display:none}@media only screen and (min-width: 1200px){:host .btn-wrap-left,:host .btn-wrap-right{display:inline-block;width:32px;height:32px;position:relative}}@media (max-width: 1199px){:host .btn-wrap-left,:host .btn-wrap-right{display:none !important}}:host button#prevBtn,:host button#nextBtn{background:transparent;border-radius:var(--ptc-border-radius-standard);border:none;width:32px;height:32px}:host button#prevBtn:hover,:host button#nextBtn:hover{background:var(--color-gray-12)}:host button#prevBtn:focus-visible,:host button#prevBtn:focus,:host button#nextBtn:focus-visible,:host button#nextBtn:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .btn-wrap-left{margin-right:0}@media (min-width: 1250px){:host .btn-wrap-left{margin-right:14px}}:host .btn-wrap-right{margin-left:14px}:host .tracker-div{display:inline}";
685
-
686
- const PtcNavSlider = class {
687
- constructor(hostRef) {
688
- registerInstance(this, hostRef);
689
- this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
690
- this.leftBtnTrackerId = undefined;
691
- this.rightBtnTrackerId = undefined;
692
- }
693
- componentDidLoad() {
694
- // use the ID to select elements within the component's shadow root
695
- this.updateSlider(this);
696
- const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
697
- const boxWrap = shadowRoot.querySelector('.box-wrap');
698
- boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
699
- boxWrap.addEventListener('focus', () => {
700
- console.log(boxWrap.children);
701
- });
702
- setTimeout(() => {
703
- this.updateSlider(this);
704
- }, 3100);
705
- }
706
- handledropdownClickEvent(element) {
707
- const sliderId = element.target.querySelector('.nav-slider').id;
708
- const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
709
- const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
710
- const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
711
- let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
712
- console.log(element.target.tagName);
713
- this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
714
- }
715
- updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
716
- // let offsetWidth = boxWrap.offsetWidth;
717
- // let scrollWidth = boxWrap.scrollWidth;
718
- // let scrollLeft = boxWrap.scrollLeft;
719
- // let combine = offsetWidth + scrollLeft;
720
- // console.log("offsetWidth " + offsetWidth);
721
- // console.log("scrollWidth " + scrollWidth);
722
- // console.log("scrollLeft " + scrollLeft);
723
- // console.log("offsetWidth + scrollLeft " + combine);
724
- if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
725
- prevBtn.style.visibility = "hidden";
726
- nextBtn.style.visibility = "hidden";
727
- if (isNotDropdown)
728
- prevBtn.closest('.btn-wrap-left').style.display = 'none';
729
- }
730
- else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
731
- if (isNotDropdown)
732
- prevBtn.closest('.btn-wrap-left').style.display = '';
733
- if (boxWrap.scrollLeft > 0) {
734
- if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
735
- nextBtn.style.visibility = "hidden";
736
- prevBtn.style.visibility = "visible";
737
- }
738
- else {
739
- prevBtn.style.visibility = "visible";
740
- nextBtn.style.visibility = "visible";
741
- }
742
- }
743
- else {
744
- prevBtn.style.visibility = "hidden";
745
- nextBtn.style.visibility = "visible";
746
- }
747
- }
748
- else {
749
- prevBtn.style.visibility = "visible";
750
- nextBtn.style.visibility = "hidden";
751
- }
752
- }
753
- updateSlider(event) {
754
- const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
755
- const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
756
- const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
757
- if (event !== undefined && event.target) {
758
- let notDropdown = !event.target.closest('.dropdown-content');
759
- this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
760
- }
761
- else {
762
- this.updateArrows(boxWrap, prevBtn, nextBtn, false);
763
- }
764
- }
765
- leftScroll(ele) {
766
- const sliderId = ele.sliderId;
767
- const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
768
- if (left.scrollLeft > 0) {
769
- left.scrollBy(-200, 0);
770
- }
771
- }
772
- rightScroll(ele) {
773
- const sliderId = ele.sliderId;
774
- const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
775
- if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
776
- right.scrollBy(200, 0);
777
- }
778
- }
779
- render() {
780
- return (h(Host, { class: `nav-slider`, id: this.sliderId }, h("div", { class: "btn-wrap-left tracker-div", id: this.leftBtnTrackerId }, h("button", { id: "prevBtn", class: "navArrows", onClick: () => this.leftScroll(this), "aria-label": "Left scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M10.166 13.2375L4.39723 7.5L10.166 1.7625L8.39004 0L0.832683 7.5L8.39004 15L10.166 13.2375Z", fill: "white" })))), h("div", { class: "box-wrap" }, h("slot", null)), h("div", { class: "btn-wrap-right tracker-div", id: this.rightBtnTrackerId }, h("button", { id: "nextBtn", class: "navArrows ", onClick: () => this.rightScroll(this), "aria-label": "Right scroll button" }, h("svg", { width: "12", height: "12", viewBox: "0 0 12 15", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M0.833984 1.7625L6.60277 7.5L0.833984 13.2375L2.60996 15L10.1673 7.5L2.60996 0L0.833984 1.7625Z", fill: "white" }))))));
781
- }
782
- get el() { return getElement(this); }
783
- };
784
- PtcNavSlider.style = ptcNavSliderCss;
785
-
786
- const ptcNavSubmenuCss = "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;cursor:pointer}:host .back-btn{display:none;position:absolute;left:30px;top:22px;color:var(--color-white);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .back-btn svg{margin-right:4px;vertical-align:middle;width:12px;height:12px}@media only screen and (min-width: 1200px){:host{display:inline-block;position:initial}}:host::before,:host::after{content:\" \";width:1600px;height:1px;background-color:var(--color-gray-08);position:absolute;right:0;bottom:0}@media only screen and (min-width: 1200px){:host::before,:host::after{display:none}}:host::after{left:0;right:auto}:host .submenu-toggle{display:inline-block;color:var(--color-gray-03);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold);white-space:nowrap;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-03);margin-left:34%;position:relative;border:2px solid transparent;margin:-2px}:host .submenu-toggle::after{content:\"\";display:block;border-bottom:2px solid transparent;margin:auto;position:absolute;width:calc(100% - 20px);left:0;right:0;bottom:14px}@media only screen and (min-width: 1200px){:host .submenu-toggle::after{bottom:20px}}@media only screen and (min-width: 480px){:host .submenu-toggle{margin-left:38%}}@media only screen and (min-width: 768px){:host .submenu-toggle{margin-left:42%}}@media only screen and (min-width: 1200px){:host .submenu-toggle{padding:22px var(--ptc-element-spacing-03);margin-left:0;display:flex;align-items:center}}:host .submenu-toggle svg{margin-left:5px;margin-top:2px;vertical-align:middle;width:12px;height:12px}:host .submenu-toggle svg path{fill:var(--color-gray-04)}:host .submenu-toggle:hover{color:var(--color-white)}:host .submenu-toggle:hover::after{border-color:var(--color-white)}:host .submenu-toggle:hover svg path{fill:var(--color-white)}:host .submenu-toggle icon-asset{margin-right:8px}:host .submenu-toggle icon-asset svg{margin:0}:host .submenu-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .submenu-container{background-color:var(--color-gray-12)}@media only screen and (min-width: 1200px){:host .submenu-container{position:absolute;width:100%;right:0;left:0;top:64px;z-index:10}}:host .submenu-container .submenu-container-lg{max-width:1200px;margin:auto}@media only screen and (min-width: 992px){:host .submenu-container .submenu-container-lg{padding:0 32px}}:host ::slotted(ptc-nav-link:last-child)::before,:host ::slotted(ptc-nav-link:last-child)::after{display:none}:host .tracker-div{display:inline}:host(.short-dropdown) .submenu-container{text-align:center}@media only screen and (min-width: 1200px){:host(.short-dropdown) .submenu-container{width:initial;right:3%;left:initial;top:56px;z-index:1000}}:host(.short-dropdown) .submenu-container .submenu-container-lg{padding:0;width:auto;min-width:348px;display:flex;justify-content:space-evenly}:host(.active){padding-bottom:0}:host(.active) .submenu-toggle{color:var(--color-white);border-color:var(--color-white)}:host(.active) .submenu-toggle svg path{fill:var(--color-white)}:host(.active)::before,:host(.active)::after{display:none}:host(.active.short-dropdown) .back-btn{display:inline-block}@media only screen and (min-width: 1200px){:host(.active.short-dropdown) .back-btn{display:none}}.custom-icon{object-fit:cover;width:1.5rem;height:1.5rem}.custom-icon:hover{filter:brightness(0) invert(1)}.menu-right *{color:transparent !important}";
787
-
788
- const PtcNavSubmenu = class {
789
- constructor(hostRef) {
790
- registerInstance(this, hostRef);
791
- this.dropdownClickEvent = createEvent(this, "dropdownClickEvent", 7);
792
- this.label = undefined;
793
- this.iconAssetName = undefined;
794
- this.iconSrc = undefined;
795
- this.labelTrackerId = undefined;
796
- this.dropdownTrackerId = undefined;
797
- this.backBtnTrackerId = undefined;
798
- }
799
- calculateOffset() {
800
- var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
801
- var container = this.el.closest('ptc-subnav');
802
- if (dropdown && container) {
803
- if (window.innerWidth >= 1200) {
804
- let height = container.clientHeight;
805
- if (height > 0) {
806
- dropdown.style.top = `${height}px`;
807
- }
808
- }
809
- else {
810
- dropdown.style.top = '';
811
- }
812
- }
813
- }
814
- handleClick(event) {
815
- this.calculateOffset();
816
- setTimeout(() => {
817
- this.dropdownClickEvent.emit(event);
818
- }, 100);
819
- }
820
- handleKeyUp(event, self) {
821
- if (event && event.key === "Enter") {
822
- this.calculateOffset();
823
- setTimeout(() => {
824
- this.dropdownClickEvent.emit(self);
825
- }, 100);
826
- }
827
- }
828
- render() {
829
- return (h(Host, { class: `dropdown`, onKeyUp: (e) => this.handleKeyUp(e, this) }, h("div", { id: this.backBtnTrackerId, class: "tracker-div" }, h("span", { class: `back-btn` }, h("svg", { width: "10", height: "16", viewBox: "0 0 10 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M9.97852 14.12L3.82515 8L9.97852 1.88L8.08414 -8.28059e-08L0.0229606 8L8.08414 16L9.97852 14.12Z", fill: "white" })), "Back")), h("span", { class: `submenu-toggle`, onClick: () => this.handleClick(this), onMouseOver: () => this.handleClick(this) }, this.iconAssetName &&
830
- h("icon-asset", { type: "ptc", size: "xx-small", name: this.iconAssetName, color: "white" }), h("div", { id: this.labelTrackerId, class: "tracker-div" }, this.label), h("div", { id: this.dropdownTrackerId, class: "tracker-div" }, this.iconSrc &&
831
- h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
832
- h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" })))), h("div", { class: `submenu-container` }, h("div", { class: "submenu-container-lg" }, h("slot", null)))));
833
- }
834
- get el() { return getElement(this); }
835
- };
836
- PtcNavSubmenu.style = ptcNavSubmenuCss;
837
-
838
- const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.primary-green{color:var(--color-green-06)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
839
-
840
- const PtcPara = class {
841
- constructor(hostRef) {
842
- registerInstance(this, hostRef);
843
- this.fontSize = 'x-small';
844
- this.fontWeight = 'w-4';
845
- this.paraStyle = 'default';
846
- this.paraColor = 'primary-grey';
847
- this.paraLineH = 'line-height-normal';
848
- this.paraMargin = undefined;
849
- this.paraAlign = undefined;
850
- this.ellipsisLineCutoff = undefined;
851
- this.paraZIndex = undefined;
852
- this.styles = undefined;
853
- this.seoCompatibilityMode = false;
854
- this.tooltipZIndex = 'auto';
855
- this.tooltipPosition = 'bottom';
856
- this.tooltipTheme = 'standard';
857
- this.enableTooltip = false;
858
- this.maxChars = undefined;
859
- this.maxLines = undefined;
860
- this.hideTooltipOnMobile = false;
861
- this.ismob = undefined;
862
- this.noOverflow = false;
863
- this.tooltipWidth = 'default';
864
- }
865
- // Tooltip Properties ends
866
- render() {
867
- if (this.seoCompatibilityMode) {
868
- seoSlotReset(this.el);
869
- }
870
- return this.standardRender();
871
- }
872
- //tooltip code
873
- getSortedText(content) {
874
- if (!this.enableTooltip)
875
- return;
876
- const trimmedContent = content.trim();
877
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
878
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
879
- }
880
- componentDidLoad() {
881
- if (this.hideTooltipOnMobile) {
882
- this.el.classList.add('hide-tooltip-on-mobile');
883
- }
884
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
885
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
886
- if (this.enableTooltip) {
887
- let paraContent = this.el.innerText || this.el.textContent;
888
- this.tooltipText = paraContent.trim();
889
- this.el.innerText = this.getSortedText(paraContent);
890
- }
891
- }
892
- toggleTitleTooltip(show) {
893
- const tooltipClass = 'tooltip-box';
894
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
895
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
896
- let maxLinesShowCheck = false;
897
- if (text) {
898
- text.forEach(t => {
899
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
900
- });
901
- }
902
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
903
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
904
- if (show && this.enableTooltip) {
905
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
906
- const tooltipMarkup = document.createElement('div');
907
- tooltipMarkup.className = tooltipClass;
908
- tooltipMarkup.innerText = this.tooltipText;
909
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
910
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
911
- if (this.hideTooltipOnMobile) {
912
- tooltipMarkup.classList.add('hide-tooltip-mobile');
913
- }
914
- this.el.appendChild(tooltipMarkup);
915
- }
916
- }
917
- else {
918
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
919
- }
920
- }
921
- //tooltip code ends
922
- standardRender() {
923
- const classMap = this.getCssClassMap();
924
- const colorClass = this.addWhiteClass();
925
- const cutOff = this.getLineCuttoff();
926
- return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
927
- }
928
- getCssClassMap() {
929
- return {
930
- [this.fontSize]: true,
931
- [this.fontWeight]: true,
932
- [this.paraStyle]: true,
933
- [this.paraMargin]: !!this.paraMargin ? true : false,
934
- [this.paraColor]: true,
935
- [this.paraLineH]: true,
936
- [this.paraAlign]: !!this.paraAlign ? true : false,
937
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
938
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
939
- };
940
- }
941
- //WEB-2392
942
- addWhiteClass() {
943
- if (this.paraColor == 'white') {
944
- return {
945
- [this.paraColor]: true,
946
- };
947
- }
948
- }
949
- getLineCuttoff() {
950
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
951
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
952
- }
953
- get el() { return getElement(this); }
954
- };
955
- PtcPara.style = ptcParaCss;
956
-
957
- 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}";
958
-
959
- const PtcPicture = class {
960
- constructor(hostRef) {
961
- registerInstance(this, hostRef);
962
- this.src = undefined;
963
- this.alt = 'image';
964
- this.sizeXs = '510x340';
965
- this.sizeSm = '1240x496';
966
- this.sizeMd = '1366x500';
967
- this.sizeLg = '1920x1080';
968
- this.disableResize = false;
969
- this.oldSrc = undefined;
970
- this.imagePosition = 'static';
971
- this.borderRadius = undefined;
972
- this.height = undefined;
973
- this.width = undefined;
974
- this.objectFit = 'cover';
975
- this.isFullHeight = false;
976
- this.isFullWidth = false;
977
- this.styles = undefined;
978
- this.imageAlignment = 'left';
979
- this.maxWidth = undefined;
980
- this.displayImage = 'block';
981
- }
982
- WindowResize() {
983
- this.addIntersectionObserver();
984
- }
985
- componentWillLoad() {
986
- if (this.disableResize) {
987
- this.sizeXs = undefined;
988
- this.sizeSm = undefined;
989
- this.sizeMd = undefined;
990
- this.sizeLg = undefined;
991
- }
992
- }
993
- componentDidLoad() {
994
- this.addIntersectionObserver();
995
- }
996
- componentWillUpdate() {
997
- if (this.src !== this.oldSrc) {
998
- this.addIntersectionObserver();
999
- }
1000
- this.oldSrc = this.src;
1001
- }
1002
- //lazy-loading
1003
- addIntersectionObserver() {
1004
- if (!this.src) {
1005
- return;
1006
- }
1007
- if ('IntersectionObserver' in window) {
1008
- let lazyLoadImages = new IntersectionObserver(entries => {
1009
- entries.forEach(entry => {
1010
- if (entry.isIntersecting) {
1011
- const image = this.el.shadowRoot.querySelector('img');
1012
- image.src = this.setResponsiveBg();
1013
- lazyLoadImages.unobserve(image);
1014
- }
1015
- });
1016
- });
1017
- let tempImg = this.el.shadowRoot.querySelector('img');
1018
- if (tempImg) {
1019
- lazyLoadImages.observe(tempImg);
1020
- }
1021
- }
1022
- else {
1023
- // fall back to setTimeout for Safari and IE
1024
- setTimeout(() => {
1025
- const image = this.el.shadowRoot.querySelector('img');
1026
- image.src = this.setResponsiveBg();
1027
- image.onload = () => {
1028
- image.removeAttribute('data-src');
1029
- console.log('loaded fallback');
1030
- };
1031
- }, 5000);
1032
- }
1033
- }
1034
- //responsive image
1035
- setResponsiveBg() {
1036
- // Define local variables
1037
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
1038
- for (var i = 0, len = backgrounds.length; i < len; i++) {
1039
- // Set current variables
1040
- el = backgrounds[i];
1041
- elData = el.getAttribute('data-' + currentBreakpoint);
1042
- if (elData !== null) {
1043
- return elData;
1044
- }
1045
- else {
1046
- if (typeof console == 'object') {
1047
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
1048
- }
1049
- }
1050
- }
1051
- }
1052
- render() {
1053
- const classMap = this.getCssClassMap();
1054
- const classMapHost = this.getCssClassMapHost();
1055
- 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)));
1056
- }
1057
- getCurrentBreakPoints() {
1058
- // Define local variables
1059
- let doc = window.document, temp = doc.createElement('div'), env;
1060
- // Append test node
1061
- doc.body.appendChild(temp);
1062
- // Loop through breakpoints
1063
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
1064
- env = ResponsivePictureVariables.envs[i];
1065
- // Add classes
1066
- temp.className = 'hidden-' + env;
1067
- // Found breakpoint
1068
- if (temp.offsetParent === null) {
1069
- // Remove our test node
1070
- doc.body.removeChild(temp);
1071
- // Return current breakpoint
1072
- return env;
1073
- }
1074
- }
1075
- // Breakpoint not found, try fallback
1076
- doc.body.removeChild(temp);
1077
- return this.getFallbackBreakpoint();
1078
- }
1079
- getFallbackBreakpoint() {
1080
- if (window.matchMedia('(min-width: 992px)').matches) {
1081
- return 'lg';
1082
- }
1083
- else if (window.matchMedia('(min-width: 768px)').matches) {
1084
- return 'md';
1085
- }
1086
- else if (window.matchMedia('(min-width: 576px)').matches) {
1087
- return 'sm';
1088
- }
1089
- else {
1090
- return 'xs';
1091
- }
1092
- }
1093
- getCssClassMap() {
1094
- return {
1095
- [this.borderRadius]: this.borderRadius ? true : false,
1096
- [this.objectFit]: true,
1097
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
1098
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
1099
- [this.displayImage]: true
1100
- };
1101
- }
1102
- getCssClassMapHost() {
1103
- return {
1104
- [this.imagePosition]: true,
1105
- [this.imageAlignment]: true,
1106
- };
1107
- }
1108
- get el() { return getElement(this); }
1109
- };
1110
- PtcPicture.style = ptcPictureCss;
1111
-
1112
- const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
1113
-
1114
- const PtcSpacer = class {
1115
- constructor(hostRef) {
1116
- registerInstance(this, hostRef);
1117
- this.breakpoint = '';
1118
- this.size = 'medium';
1119
- this.direction = 'vertical';
1120
- }
1121
- render() {
1122
- const classMap = this.getCssClassMap();
1123
- return (h(Host, { class: classMap }));
1124
- }
1125
- getCssClassMap() {
1126
- return {
1127
- [this.size]: true,
1128
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
1129
- ['ptc-spacer-vertical']: this.direction === 'vertical',
1130
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
1131
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
1132
- ['ptc-spacer-small']: this.breakpoint === 'small',
1133
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
1134
- ['ptc-spacer-large']: this.breakpoint === 'large',
1135
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
1136
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
1137
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
1138
- };
1139
- }
1140
- };
1141
- PtcSpacer.style = ptcSpacerCss;
1142
-
1143
- const ptcStickySectionCss = "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 .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:990;transition:top 0.5s}";
1144
-
1145
- const PtcStickySection = class {
1146
- constructor(hostRef) {
1147
- registerInstance(this, hostRef);
1148
- this.hasPreloader = false;
1149
- }
1150
- componentDidLoad() {
1151
- if (document.querySelector('ptc-preloader-section')) {
1152
- this.hasPreloader = true;
1153
- this.el.setAttribute('has-preloader', 'true');
1154
- }
1155
- else {
1156
- this.hasPreloader = false;
1157
- this.el.setAttribute('has-preloader', 'false');
1158
- }
1159
- if (this.stickyEl.classList.contains('sticky')) {
1160
- this.stickyEl.classList.remove('sticky');
1161
- }
1162
- let that = this;
1163
- if (this.hasPreloader) {
1164
- setTimeout(() => {
1165
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
1166
- that.originalPosition = this.elPosition(that.stickyEl);
1167
- window.addEventListener('scroll', that.handleScroll);
1168
- }, 3100);
1169
- }
1170
- else {
1171
- setTimeout(() => {
1172
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
1173
- that.originalPosition = that.stickyEl.offsetTop;
1174
- window.addEventListener('scroll', that.handleScroll);
1175
- }, 1500);
1176
- }
1177
- }
1178
- elPosition(element) {
1179
- const rect = element.getBoundingClientRect();
1180
- const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
1181
- return rect.top + scrollTop;
1182
- }
1183
- disconnectedCallback() {
1184
- window.removeEventListener('scroll', this.handleScroll);
1185
- }
1186
- handleScroll() {
1187
- if (this.stickyEl) {
1188
- if (window.scrollY > this.originalPosition) {
1189
- this.stickyEl.classList.add('sticky');
1190
- }
1191
- else {
1192
- this.stickyEl.classList.remove('sticky');
1193
- }
1194
- }
1195
- }
1196
- handleResize() {
1197
- this.handleScroll();
1198
- }
1199
- render() {
1200
- return (h(Host, null, h("div", { class: "stickyEl", ref: el => (this.stickyEl = el) }, h("slot", null))));
1201
- }
1202
- get el() { return getElement(this); }
1203
- };
1204
- PtcStickySection.style = ptcStickySectionCss;
1205
-
1206
- const ptcSubnavCss = "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;width:100%;background-color:var(--color-gray-12);z-index:990;position:relative}@media only screen and (min-width: 1200px){:host{background-color:var(--color-gray-10)}}:host .stickyEl.sticky{top:0;position:fixed;width:100%;z-index:990;transition:top 0.5s}:host .navbar{overflow-x:hidden}@media only screen and (min-width: 1200px){:host .navbar{overflow-x:visible}}:host .navbar .navbar-inner{max-width:1150px;margin:auto;box-sizing:border-box;padding:0px;display:none}@media (min-width: 1250px){:host .navbar .navbar-inner{max-width:1200px}}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner{padding:0px;height:auto;display:block}}:host .navbar .navbar-inner .nav-wrapper{width:auto;margin:auto 0;min-width:163px;max-height:calc(100vh - 53px)}@media only screen and (min-width: 1200px){:host .navbar .navbar-inner .nav-wrapper{width:auto;display:flex;justify-content:space-between;max-height:auto}}:host .navbar.navOpen .navbar-inner{display:block}:host .navbar .navbar-toggle{display:block;width:100%;text-align:center;color:var(--color-white);background-color:var(--color-gray-10);border:none;padding:16px;font-size:15px;line-height:var(--ptc-line-height-denser);font-weight:var(--ptc-font-weight-bold)}:host .navbar .navbar-toggle svg{vertical-align:middle;margin-left:4px}@media only screen and (min-width: 1200px){:host .navbar .navbar-toggle{display:none}}";
1207
-
1208
- const PtcSubnav = class {
1209
- constructor(hostRef) {
1210
- registerInstance(this, hostRef);
1211
- this.mobileTitle = 'See page topics';
1212
- this.navOpen = false;
1213
- }
1214
- toggleNav() {
1215
- this.navOpen = !this.navOpen;
1216
- }
1217
- handleScroll() {
1218
- let elem = this.el.shadowRoot.querySelector('div.sticky-subnav');
1219
- if (elem) {
1220
- elem.classList.remove('sticky');
1221
- }
1222
- }
1223
- handleNavLinkClickedEvent() {
1224
- //console.log('link clicked');
1225
- this.toggleNav();
1226
- }
1227
- render() {
1228
- return (h(Host, null, h("div", { class: "sticky-subnav" }, h("nav", { class: `navbar ${this.navOpen ? 'navOpen' : ''}` }, h("button", { class: "navbar-toggle", onClick: () => {
1229
- this.toggleNav();
1230
- } }, this.mobileTitle, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15", fill: "white", class: "" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M13.2375 2.83325L7.5 8.60203L1.7625 2.83325L-7.76305e-08 4.60923L7.5 12.1666L15 4.60923L13.2375 2.83325Z", fill: "white" }))), h("div", { class: "navbar-inner" }, h("div", { class: "nav-wrapper" }, h("slot", { name: "subnav-menu-left" }), h("slot", { name: "subnav-menu-right" })))))));
1231
- }
1232
- get el() { return getElement(this); }
1233
- };
1234
- PtcSubnav.style = ptcSubnavCss;
1235
-
1236
- const ptcTitleCss = "h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left;width:100%}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.margin-9.sc-ptc-title{margin-top:var(--ptc-element-spacing-09);margin-bottom:var(--ptc-element-spacing-09)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 768px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}.line-clamp-title.sc-ptc-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}.sc-ptc-title-h{display:block}.sc-ptc-title-h div.sc-ptc-title{position:relative}";
1237
-
1238
- const PtcTitle = class {
1239
- constructor(hostRef) {
1240
- registerInstance(this, hostRef);
1241
- this.isPlmHub = false;
1242
- this.type = 'h2';
1243
- this.textAlign = undefined;
1244
- this.upperline = 'dotted';
1245
- this.titleShadow = undefined;
1246
- this.titleColor = 'gray';
1247
- this.titleMargin = undefined;
1248
- this.titleWeight = undefined;
1249
- this.titleSize = undefined;
1250
- this.titleHeight = 'densest';
1251
- this.styles = undefined;
1252
- this.ellipsisLineCutoff = undefined;
1253
- this.titleDisplay = 'inline-block';
1254
- this.seoCompatibilityMode = false;
1255
- this.tooltipZIndex = 'auto';
1256
- this.tooltipPosition = 'bottom';
1257
- this.tooltipTheme = 'standard';
1258
- this.enableTooltip = false;
1259
- this.maxChars = undefined;
1260
- this.maxLines = undefined;
1261
- this.hideTooltipOnMobile = false;
1262
- this.ismob = undefined;
1263
- this.tooltipWidth = 'default';
1264
- }
1265
- // Tooltip Properties ends
1266
- componentDidLoad() {
1267
- if (this.hideTooltipOnMobile) {
1268
- this.el.classList.add('hide-tooltip-on-mobile');
1269
- }
1270
- this.el.addEventListener('mouseenter', () => this.toggleTitleTooltip(true));
1271
- this.el.addEventListener('mouseleave', () => this.toggleTitleTooltip(false));
1272
- }
1273
- render() {
1274
- if (this.seoCompatibilityMode) {
1275
- return this.seoCompRender();
1276
- }
1277
- else {
1278
- return this.standardRender();
1279
- }
1280
- }
1281
- getSortedText(content) {
1282
- if (!this.enableTooltip)
1283
- return;
1284
- const trimmedContent = content.trim();
1285
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
1286
- return shouldTruncate ? trimmedContent.slice(0, this.maxChars) + '...' : trimmedContent;
1287
- }
1288
- toggleTitleTooltip(show) {
1289
- var _a;
1290
- const tooltipClass = 'tooltip-box';
1291
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1292
- const text = this.el.querySelectorAll('.line-clamp-title');
1293
- let maxLinesShowCheck = false;
1294
- if (text) {
1295
- text.forEach(t => {
1296
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1297
- });
1298
- }
1299
- const ifCharExceeds = this.tooltipText && (this.tooltipText.length > this.maxChars) && !this.maxLines;
1300
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1301
- if (show && this.enableTooltip) {
1302
- if ((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) {
1303
- const tooltipMarkup = document.createElement('div');
1304
- tooltipMarkup.className = tooltipClass;
1305
- tooltipMarkup.innerText = this.tooltipText;
1306
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1307
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1308
- if (this.hideTooltipOnMobile) {
1309
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1310
- }
1311
- (_a = this.el.querySelector('div')) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1312
- }
1313
- }
1314
- else {
1315
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1316
- }
1317
- }
1318
- seoCompRender() {
1319
- const classMap = this.getCssClassMap();
1320
- const cutOff = this.getLineCuttoff();
1321
- const [TagType, firstChild] = getSeoTagType(this.el, this.type);
1322
- let html = firstChild && firstChild.innerHTML;
1323
- // added for tooltip
1324
- this.tooltipText = html.trim();
1325
- let eleText = firstChild && firstChild.innerText;
1326
- html = (this.enableTooltip) ? this.getSortedText(eleText) : html;
1327
- if (this.el == firstChild) {
1328
- this.el.innerHTML = '';
1329
- }
1330
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0 ? 'line-clamp-title' : '' }))));
1331
- }
1332
- standardRender() {
1333
- const classMap = this.getCssClassMap();
1334
- const cutOff = this.getLineCuttoff();
1335
- let TagType;
1336
- switch (this.type) {
1337
- case 'h1':
1338
- TagType = 'h1';
1339
- break;
1340
- case 'h3':
1341
- TagType = 'h3';
1342
- break;
1343
- case 'h4':
1344
- TagType = 'h4';
1345
- break;
1346
- case 'h5':
1347
- TagType = 'h5';
1348
- break;
1349
- case 'h6':
1350
- TagType = 'h6';
1351
- break;
1352
- default:
1353
- TagType = 'h2';
1354
- }
1355
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, { style: cutOff }, h("slot", null)))));
1356
- }
1357
- getCssClassMap() {
1358
- return {
1359
- [this.textAlign]: !!this.textAlign ? true : false,
1360
- [this.upperline]: true,
1361
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
1362
- [this.titleMargin]: !!this.titleMargin ? true : false,
1363
- [this.titleShadow]: !!this.titleShadow ? true : false,
1364
- [this.titleWeight]: !!this.titleWeight ? true : false,
1365
- [this.titleSize]: !!this.titleSize ? true : false,
1366
- [this.titleHeight]: !!this.titleHeight ? true : false,
1367
- [this.titleColor]: !!this.titleColor ? true : false,
1368
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1369
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
1370
- };
1371
- }
1372
- getLineCuttoff() {
1373
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1374
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1375
- }
1376
- get el() { return getElement(this); }
1377
- };
1378
- PtcTitle.style = ptcTitleCss;
1379
-
1380
- const ptcTooltipCss = "h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}.tooltip.sc-ptc-tooltip span.sc-ptc-tooltip{word-break:initial}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-hyperlink)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.tooltip.side-left.sc-ptc-tooltip{bottom:12px;transform:translateX(-112%)}@media only screen and (min-width: 768px){.tooltip.side-left.sc-ptc-tooltip{bottom:4px}}.tooltip.side-left.sc-ptc-tooltip::after{top:50%;right:-15px;transform:translateY(-50%);border:8px solid transparent;border-left:8px solid var(--color-gray-09)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}.no-overflow.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{display:none !important}.no-overflow.sc-ptc-tooltip-h .truncated.sc-ptc-tooltip.sc-ptc-tooltip{cursor:pointer}";
1381
-
1382
- const PtcTooltip = class {
1383
- constructor(hostRef) {
1384
- registerInstance(this, hostRef);
1385
- this.textDisplay = 'inline';
1386
- this.maxLength = 45;
1387
- this.textLines = undefined;
1388
- this.description = 'This is a tooltip text placeholder';
1389
- this.zIndex = 'z-auto';
1390
- this.position = 'bottom';
1391
- this.styles = undefined;
1392
- this.mode = 'text-only';
1393
- this.theme = 'standard';
1394
- this.width = 'default';
1395
- this.hideOnMobile = false;
1396
- this.isSmallScreen = undefined;
1397
- this.noOverflow = false;
1398
- }
1399
- addTruncatedClass() {
1400
- const appRoot = this.el;
1401
- const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
1402
- text.forEach(t => {
1403
- t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
1404
- });
1405
- }
1406
- windowResize() {
1407
- this.verifiyScreenSize();
1408
- }
1409
- verifiyScreenSize() {
1410
- this.isSmallScreen = window.innerWidth < 768;
1411
- }
1412
- // Created this function to initialize the truncate function on specific elements like tabs
1413
- enableAddTruncatedClass(element) {
1414
- const allTabHeaders = document.querySelectorAll(element);
1415
- for (const element of Array.from(allTabHeaders)) {
1416
- let tabHeader = element;
1417
- if (tabHeader) {
1418
- tabHeader.addEventListener('click', () => {
1419
- setTimeout(() => {
1420
- this.addTruncatedClass();
1421
- }, 100);
1422
- });
1423
- }
1424
- }
1425
- }
1426
- componentWillLoad() {
1427
- this.verifiyScreenSize();
1428
- }
1429
- componentDidLoad() {
1430
- //this.addTruncatedClass();
1431
- setTimeout(() => {
1432
- this.addTruncatedClass();
1433
- }, 1000);
1434
- this.enableAddTruncatedClass('tab-header');
1435
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
1436
- this.enableAddTruncatedClass('ptc-product-card');
1437
- document.addEventListener('readystatechange', () => {
1438
- if (document.readyState === 'complete') {
1439
- this.addTruncatedClass();
1440
- }
1441
- });
1442
- }
1443
- render() {
1444
- if (this.mode == 'wrapper') {
1445
- return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description && h("span", { innerHTML: this.description })))));
1446
- }
1447
- else {
1448
- const classMap = this.getCssClassMap();
1449
- const cutOff = this.getLineCuttoff();
1450
- let truncatedText = this.description.substring(0, this.maxLength);
1451
- if (this.description.length > this.maxLength) {
1452
- //const lastSpace = truncatedText.lastIndexOf(' ');
1453
- //truncatedText = truncatedText.substring(0, lastSpace);
1454
- truncatedText += '... ';
1455
- }
1456
- return (h(Host, { class: { [this.textDisplay]: true, [this.width]: true, 'no-overflow': this.noOverflow } }, this.styles && h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (h("div", null, this.description)) : (h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (h("div", { class: classMap }, truncatedText)), h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
1457
- }
1458
- }
1459
- getCssClassMap() {
1460
- return {
1461
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
1462
- ['text-ellipsis']: true,
1463
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
1464
- ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
1465
- };
1466
- }
1467
- getLineCuttoff() {
1468
- let result;
1469
- if (this.textLines && this.textLines > 0) {
1470
- result = {
1471
- ['-webkit-line-clamp']: `${this.textLines}`,
1472
- };
1473
- }
1474
- return result;
1475
- }
1476
- get el() { return getElement(this); }
1477
- };
1478
- PtcTooltip.style = ptcTooltipCss;
1479
-
1480
- export { IconAsset as icon_asset, ListItem as list_item, MaxWidthContainer as max_width_container, PtcBackgroundVideo as ptc_background_video, PtcBreadcrumb as ptc_breadcrumb, PtcButton as ptc_button, PtcImg as ptc_img, PtcJumbotron as ptc_jumbotron, PtcNavLink as ptc_nav_link, PtcNavSlider as ptc_nav_slider, PtcNavSubmenu as ptc_nav_submenu, PtcPara as ptc_para, PtcPicture as ptc_picture, PtcSpacer as ptc_spacer, PtcStickySection as ptc_sticky_section, PtcSubnav as ptc_subnav, PtcTitle as ptc_title, PtcTooltip as ptc_tooltip };