@ptcwebops/ptcw-design 6.2.21-beta → 6.2.22-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (389) hide show
  1. package/dist/cjs/{component-6a178a16.js → component-4dd13907.js} +1 -1
  2. package/dist/cjs/icon-asset_18.cjs.entry.js +1501 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  5. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
  6. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  7. package/dist/cjs/ptcw-design.cjs.js +1 -1
  8. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +12 -0
  9. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +12 -0
  10. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +6 -0
  11. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -0
  12. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +3 -0
  13. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +9 -1
  14. package/dist/custom-elements/index.js +17 -6
  15. package/dist/esm/academic-form-test.entry.js +1 -1
  16. package/dist/esm/author-listing-example.entry.js +1 -1
  17. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  18. package/dist/esm/blog-detail-layout.entry.js +2 -2
  19. package/dist/esm/blogs-search-section.entry.js +2 -2
  20. package/dist/esm/bundle-example.entry.js +1 -1
  21. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  22. package/dist/esm/{component-80f298b4.js → component-9c921cc6.js} +1 -1
  23. package/dist/esm/dropdown-item.entry.js +1 -1
  24. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  25. package/dist/esm/embedded-form.entry.js +1 -1
  26. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  27. package/dist/esm/event-podcast-slider-example.entry.js +1 -1
  28. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  29. package/dist/esm/featured-list.entry.js +1 -1
  30. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  31. package/dist/esm/footer-form.entry.js +1 -1
  32. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  33. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  34. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  35. package/dist/esm/icon-asset_18.entry.js +1480 -0
  36. package/dist/esm/{index-c83db688.js → index-0bf594c4.js} +1 -1
  37. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  38. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  39. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  40. package/dist/esm/loader.js +3 -3
  41. package/dist/esm/modal-form-example.entry.js +1 -1
  42. package/dist/esm/most-popular-news.entry.js +2 -2
  43. package/dist/esm/my-component.entry.js +2 -2
  44. package/dist/esm/news-search-result.entry.js +1 -1
  45. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  46. package/dist/esm/ptc-accordion.entry.js +1 -1
  47. package/dist/esm/ptc-announcement.entry.js +1 -1
  48. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  49. package/dist/esm/ptc-badge.entry.js +1 -1
  50. package/dist/esm/ptc-bio-card.entry.js +1 -1
  51. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  52. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  53. package/dist/esm/ptc-card-content.entry.js +1 -1
  54. package/dist/esm/ptc-card_2.entry.js +1 -1
  55. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  56. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  57. package/dist/esm/ptc-checkbox.entry.js +1 -1
  58. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  59. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  60. package/dist/esm/ptc-container.entry.js +1 -1
  61. package/dist/esm/ptc-countdown.entry.js +1 -1
  62. package/dist/esm/ptc-data-lookup.entry.js +2 -2
  63. package/dist/esm/ptc-date.entry.js +1 -1
  64. package/dist/esm/ptc-dropdown.entry.js +1 -1
  65. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  66. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  67. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  68. package/dist/esm/ptc-featured-list.entry.js +1 -1
  69. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  70. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  71. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  72. package/dist/esm/ptc-footer.entry.js +1 -1
  73. package/dist/esm/ptc-form-checkbox_4.entry.js +3 -3
  74. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  75. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  76. package/dist/esm/ptc-form.entry.js +1 -1
  77. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  78. package/dist/esm/ptc-hero.entry.js +1 -1
  79. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  80. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  81. package/dist/esm/ptc-icon-card.entry.js +2 -2
  82. package/dist/esm/ptc-icon-component.entry.js +1 -1
  83. package/dist/esm/ptc-icon-list.entry.js +1 -1
  84. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  85. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  86. package/dist/esm/ptc-info-tile.entry.js +1 -1
  87. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  88. package/dist/esm/ptc-link.entry.js +2 -2
  89. package/dist/esm/ptc-list.entry.js +1 -1
  90. package/dist/esm/ptc-media-card.entry.js +2 -2
  91. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  92. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  93. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  94. package/dist/esm/ptc-nav-card.entry.js +1 -1
  95. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  96. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  97. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  98. package/dist/esm/ptc-news.entry.js +1 -1
  99. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  100. package/dist/esm/ptc-office-locations.entry.js +1 -1
  101. package/dist/esm/ptc-overlay.entry.js +1 -1
  102. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  103. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  104. package/dist/esm/ptc-previous-url.entry.js +1 -1
  105. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  106. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  107. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  108. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  109. package/dist/esm/ptc-pricing-tabs.entry.js +3 -3
  110. package/dist/esm/ptc-product-card.entry.js +1 -1
  111. package/dist/esm/ptc-product-category.entry.js +1 -1
  112. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  113. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  114. package/dist/esm/ptc-product-list.entry.js +1 -1
  115. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  116. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  117. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  118. package/dist/esm/ptc-quote.entry.js +1 -1
  119. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  120. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  121. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  122. package/dist/esm/ptc-readmore.entry.js +1 -1
  123. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  124. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  125. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  126. package/dist/esm/ptc-search-field.entry.js +1 -1
  127. package/dist/esm/ptc-seo-title.entry.js +1 -1
  128. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  129. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  130. package/dist/esm/ptc-skeleton.entry.js +1 -1
  131. package/dist/esm/ptc-slit-card.entry.js +1 -1
  132. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  133. package/dist/esm/ptc-social-icons.entry.js +1 -1
  134. package/dist/esm/ptc-span.entry.js +1 -1
  135. package/dist/esm/ptc-square-card.entry.js +1 -1
  136. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  137. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  138. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  139. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  140. package/dist/esm/ptc-tab-list.entry.js +1 -1
  141. package/dist/esm/ptc-tab.entry.js +1 -1
  142. package/dist/esm/ptc-tabs.entry.js +1 -1
  143. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  144. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  145. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  146. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  147. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  148. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  149. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  150. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  151. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  152. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  153. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  154. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  155. package/dist/esm/ptc-video-embed.entry.js +1 -1
  156. package/dist/esm/ptc-white-paper.entry.js +1 -1
  157. package/dist/esm/ptcw-design.js +3 -3
  158. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  159. package/dist/esm/sequential-bundle.entry.js +1 -1
  160. package/dist/esm/tab-content.entry.js +1 -1
  161. package/dist/esm/tab-header.entry.js +1 -1
  162. package/dist/esm/{utils-63eab4bd.js → utils-ff65c75b.js} +1 -1
  163. package/dist/ptcw-design/{p-fc0348a7.entry.js → p-01ad1cc2.entry.js} +1 -1
  164. package/dist/ptcw-design/{p-03a917f8.entry.js → p-02f0460b.entry.js} +1 -1
  165. package/dist/ptcw-design/p-051ba8f9.entry.js +1 -0
  166. package/dist/ptcw-design/{p-9e2fd13c.entry.js → p-0a558a22.entry.js} +1 -1
  167. package/dist/ptcw-design/{p-9ac99185.entry.js → p-0abb6e77.entry.js} +1 -1
  168. package/dist/ptcw-design/{p-71360e29.entry.js → p-0b182300.entry.js} +1 -1
  169. package/dist/ptcw-design/{p-28be539b.entry.js → p-0c862dbd.entry.js} +1 -1
  170. package/dist/ptcw-design/{p-69686408.entry.js → p-0eb9ea11.entry.js} +1 -1
  171. package/dist/ptcw-design/{p-fb8584e4.entry.js → p-0ed4609e.entry.js} +1 -1
  172. package/dist/ptcw-design/p-11eb4dd1.entry.js +1 -0
  173. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-13131b4d.entry.js} +1 -1
  174. package/dist/ptcw-design/{p-2657df50.entry.js → p-132f71c3.entry.js} +1 -1
  175. package/dist/ptcw-design/{p-99b45d23.entry.js → p-139ca5d2.entry.js} +1 -1
  176. package/dist/ptcw-design/{p-27e47c25.entry.js → p-14c77b5e.entry.js} +1 -1
  177. package/dist/ptcw-design/{p-7d29a418.entry.js → p-183ba1ca.entry.js} +1 -1
  178. package/dist/ptcw-design/{p-85f32bf5.entry.js → p-1ab6201b.entry.js} +1 -1
  179. package/dist/ptcw-design/{p-464d8e22.entry.js → p-1d48bad3.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-46f67bec.entry.js → p-1e9f25fc.entry.js} +1 -1
  181. package/dist/ptcw-design/{p-6b32020a.entry.js → p-1ec32cbc.entry.js} +1 -1
  182. package/dist/ptcw-design/{p-16e70f20.entry.js → p-20388467.entry.js} +1 -1
  183. package/dist/ptcw-design/{p-2ac5ed9c.entry.js → p-20670bc5.entry.js} +1 -1
  184. package/dist/ptcw-design/p-208ca9de.entry.js +1 -0
  185. package/dist/ptcw-design/{p-bf8fbba7.entry.js → p-208ec7f3.entry.js} +1 -1
  186. package/dist/ptcw-design/{p-50d68602.entry.js → p-20d837a9.entry.js} +1 -1
  187. package/dist/ptcw-design/{p-9c1057ce.entry.js → p-20d84f63.entry.js} +1 -1
  188. package/dist/ptcw-design/p-212cdacd.entry.js +1 -0
  189. package/dist/ptcw-design/{p-8c49d736.entry.js → p-212d0145.entry.js} +1 -1
  190. package/dist/ptcw-design/{p-9fa118a7.entry.js → p-286e048c.entry.js} +1 -1
  191. package/dist/ptcw-design/{p-9b26ea67.entry.js → p-290012e3.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-9b0df204.entry.js → p-298d02ab.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-7fe4d383.entry.js → p-29ae44dd.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-6f5fecae.entry.js → p-2a255901.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-e90fbbad.entry.js → p-2a3735a5.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-fb5fd29f.entry.js → p-2d0a9613.entry.js} +1 -1
  197. package/dist/ptcw-design/p-2ee3a32b.entry.js +1 -0
  198. package/dist/ptcw-design/{p-21fa5abe.entry.js → p-2fd01953.entry.js} +1 -1
  199. package/dist/ptcw-design/p-330e1a36.entry.js +1 -0
  200. package/dist/ptcw-design/p-36c42aae.entry.js +1 -0
  201. package/dist/ptcw-design/p-3717a6e1.entry.js +1 -0
  202. package/dist/ptcw-design/{p-dc8c0a06.entry.js → p-37899461.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-6e8ed2ee.entry.js → p-379fcc72.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-01075feb.entry.js → p-39ec04d4.entry.js} +1 -1
  205. package/dist/ptcw-design/p-3a7c5330.entry.js +1 -0
  206. package/dist/ptcw-design/{p-799afee5.entry.js → p-3ada2482.entry.js} +1 -1
  207. package/dist/ptcw-design/{p-867a808f.entry.js → p-3b6c2a79.entry.js} +1 -1
  208. package/dist/ptcw-design/{p-f61a3476.entry.js → p-3b967df1.entry.js} +1 -1
  209. package/dist/ptcw-design/{p-8533988f.entry.js → p-3c52fabe.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-58e91cb8.entry.js → p-3c72e82d.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-76d98c5a.entry.js → p-3e13b735.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-fe907670.entry.js → p-4335d7f3.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-c6a0dd99.entry.js → p-43756439.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-ee534211.entry.js → p-4b23b4c3.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-b1ebac6f.entry.js → p-4e41c031.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-291072b4.entry.js → p-4e8c87e1.entry.js} +1 -1
  217. package/dist/ptcw-design/p-53d88f2b.entry.js +1 -0
  218. package/dist/ptcw-design/{p-2c2f895a.entry.js → p-54891548.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-90c4f08b.entry.js → p-5ae21271.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-f731fc96.entry.js → p-5da98805.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-61d28206.entry.js → p-5fb671ee.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-c631608f.entry.js → p-61a5012d.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-246df0d6.entry.js → p-640d07b5.entry.js} +1 -1
  224. package/dist/ptcw-design/p-66d50b46.entry.js +1 -0
  225. package/dist/ptcw-design/{p-34c50b3e.entry.js → p-6a79e68e.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-d0b980c0.entry.js → p-6af8c192.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-9de963f8.entry.js → p-6d628113.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-f4699d4e.entry.js → p-70a5f144.entry.js} +1 -1
  229. package/dist/ptcw-design/p-72681e91.entry.js +1 -0
  230. package/dist/ptcw-design/{p-b651c1cb.entry.js → p-73a41148.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-04aae3f5.entry.js → p-74a845fd.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-99ee8a0e.entry.js → p-761f71c4.entry.js} +1 -1
  233. package/dist/ptcw-design/{p-8038bf31.entry.js → p-779c3f21.entry.js} +1 -1
  234. package/dist/ptcw-design/{p-282b7d4e.entry.js → p-78252282.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-28371371.entry.js → p-7853f1b5.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-081e969d.entry.js → p-7b75091d.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-4b192f5e.entry.js → p-7e19be10.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-3c3a7b54.entry.js → p-7edef9ed.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-7cc9255e.entry.js → p-7fada7ae.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-5980d65d.entry.js → p-807ad5c4.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-931650bb.entry.js → p-80c56c81.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-48815ee0.entry.js → p-88379d69.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-77b1221e.js → p-8872161f.js} +1 -1
  244. package/dist/ptcw-design/{p-9a335b5b.entry.js → p-8eb36507.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-bb902570.entry.js → p-907727fd.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-ac75c7ad.js → p-944c5be8.js} +1 -1
  247. package/dist/ptcw-design/p-973b06d1.entry.js +1 -0
  248. package/dist/ptcw-design/p-98083315.entry.js +1 -0
  249. package/dist/ptcw-design/{p-40b8c884.entry.js → p-986be938.entry.js} +1 -1
  250. package/dist/ptcw-design/p-99e41dc4.entry.js +1 -0
  251. package/dist/ptcw-design/{p-bfacfe67.entry.js → p-9a28ded2.entry.js} +1 -1
  252. package/dist/ptcw-design/p-9ae901e2.entry.js +1 -0
  253. package/dist/ptcw-design/{p-eec2f3da.entry.js → p-9b60270e.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-5db7f70b.entry.js → p-9d32f1bc.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-3ee2a531.entry.js → p-9dde477c.entry.js} +1 -1
  256. package/dist/ptcw-design/p-9e6fb4ba.entry.js +1 -0
  257. package/dist/ptcw-design/p-a220ab2c.entry.js +1 -0
  258. package/dist/ptcw-design/{p-257a68df.entry.js → p-a22d7ae8.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-3872fce7.entry.js → p-a2710bbf.entry.js} +1 -1
  260. package/dist/ptcw-design/{p-821f0ff9.entry.js → p-a560e839.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-8191928d.entry.js → p-a974f98f.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-d20cf3c5.entry.js → p-aaf8fb04.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-257deac0.entry.js → p-aba549b7.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-c01ea76f.entry.js → p-abdd3b8e.entry.js} +1 -1
  265. package/dist/ptcw-design/p-ac32267c.entry.js +1 -0
  266. package/dist/ptcw-design/{p-a25578e9.entry.js → p-ac78409e.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-dc85c302.entry.js → p-afbe8e2c.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-48c33817.entry.js → p-b1c1de30.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-aea09a70.entry.js → p-b293a0b1.entry.js} +1 -1
  270. package/dist/ptcw-design/{p-0e5932f0.entry.js → p-b3b63f67.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-49e54079.entry.js → p-b4ba719a.entry.js} +1 -1
  272. package/dist/ptcw-design/{p-85c29073.entry.js → p-b5d0e4a2.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-a7cb3851.entry.js → p-be00fb74.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-ea7369e9.entry.js → p-bf076b87.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-89ba3dfd.entry.js → p-bf2f9183.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-dbbe35bf.entry.js → p-bf439f9b.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-38a56ed6.entry.js → p-c05e326f.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-ffb0ff97.entry.js → p-c415ab42.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-aac082cf.entry.js → p-c5417010.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-97b9f41b.entry.js → p-c5886b7b.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-2749c178.entry.js → p-c9518684.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-04f0b1ba.entry.js → p-c9a73ad1.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-ba8c58a7.entry.js → p-ca268a17.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-5946d7c9.entry.js → p-cab0274c.entry.js} +1 -1
  285. package/dist/ptcw-design/p-ce6d1c5f.entry.js +1 -0
  286. package/dist/ptcw-design/{p-1a6759a4.entry.js → p-d113403b.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-e3bf092e.entry.js → p-d1f57070.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-72825cf6.entry.js → p-d21cf742.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-e577ad62.entry.js → p-d871e7f7.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-a0bf3dd2.entry.js → p-dadbab48.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-d2825140.entry.js → p-dbb4e7f9.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-c5f42895.entry.js → p-dd38bf84.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-d7275289.entry.js → p-e1242dd4.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-a37c5209.entry.js → p-e2e33ddb.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-fdee2cdc.entry.js → p-e6ebc832.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-89177041.entry.js → p-e75dff95.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-95187918.entry.js → p-e77d2204.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-c68d31c6.entry.js → p-e87a4ff8.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-0a9ee6c2.entry.js → p-e8b51e7d.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-7a1db471.entry.js → p-ecfc8211.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-27a4ee73.entry.js → p-eef5d58b.entry.js} +1 -1
  302. package/dist/ptcw-design/{p-071a6109.entry.js → p-ef0079b0.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-de960790.entry.js → p-ef55ab3c.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-da02913d.entry.js → p-f05be87f.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-4f93c631.entry.js → p-f77c7c78.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-f8512dc9.entry.js → p-fb2e4612.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-6a3caf2b.entry.js → p-fc0d9251.entry.js} +1 -1
  308. package/dist/ptcw-design/ptcw-design.css +1 -1
  309. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  310. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +1 -0
  311. package/package.json +1 -1
  312. package/readme.md +1 -1
  313. package/dist/cjs/icon-asset.cjs.entry.js +0 -65
  314. package/dist/cjs/interfaces-574e6df7.js +0 -15
  315. package/dist/cjs/list-item.cjs.entry.js +0 -48
  316. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  317. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -102
  318. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -47
  319. package/dist/cjs/ptc-button.cjs.entry.js +0 -87
  320. package/dist/cjs/ptc-img.cjs.entry.js +0 -133
  321. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -151
  322. package/dist/cjs/ptc-nav-link.cjs.entry.js +0 -48
  323. package/dist/cjs/ptc-nav-slider.cjs.entry.js +0 -106
  324. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +0 -51
  325. package/dist/cjs/ptc-para.cjs.entry.js +0 -127
  326. package/dist/cjs/ptc-picture.cjs.entry.js +0 -163
  327. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  328. package/dist/cjs/ptc-sticky-section.cjs.entry.js +0 -70
  329. package/dist/cjs/ptc-subnav.cjs.entry.js +0 -37
  330. package/dist/cjs/ptc-title.cjs.entry.js +0 -152
  331. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -107
  332. package/dist/esm/icon-asset.entry.js +0 -61
  333. package/dist/esm/interfaces-4caedd26.js +0 -12
  334. package/dist/esm/list-item.entry.js +0 -44
  335. package/dist/esm/max-width-container.entry.js +0 -50
  336. package/dist/esm/ptc-background-video.entry.js +0 -98
  337. package/dist/esm/ptc-breadcrumb.entry.js +0 -43
  338. package/dist/esm/ptc-button.entry.js +0 -83
  339. package/dist/esm/ptc-img.entry.js +0 -129
  340. package/dist/esm/ptc-jumbotron.entry.js +0 -147
  341. package/dist/esm/ptc-nav-link.entry.js +0 -44
  342. package/dist/esm/ptc-nav-slider.entry.js +0 -102
  343. package/dist/esm/ptc-nav-submenu.entry.js +0 -47
  344. package/dist/esm/ptc-para.entry.js +0 -123
  345. package/dist/esm/ptc-picture.entry.js +0 -159
  346. package/dist/esm/ptc-spacer.entry.js +0 -34
  347. package/dist/esm/ptc-sticky-section.entry.js +0 -66
  348. package/dist/esm/ptc-subnav.entry.js +0 -33
  349. package/dist/esm/ptc-title.entry.js +0 -148
  350. package/dist/esm/ptc-tooltip.entry.js +0 -103
  351. package/dist/ptcw-design/p-0a214a22.entry.js +0 -1
  352. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  353. package/dist/ptcw-design/p-0d806031.entry.js +0 -1
  354. package/dist/ptcw-design/p-0ee01112.entry.js +0 -1
  355. package/dist/ptcw-design/p-1070f8a3.entry.js +0 -1
  356. package/dist/ptcw-design/p-17f6e145.entry.js +0 -1
  357. package/dist/ptcw-design/p-25a25451.entry.js +0 -1
  358. package/dist/ptcw-design/p-260ecfef.entry.js +0 -1
  359. package/dist/ptcw-design/p-3738a01f.entry.js +0 -1
  360. package/dist/ptcw-design/p-4cee12b8.entry.js +0 -1
  361. package/dist/ptcw-design/p-4ee98a3e.entry.js +0 -1
  362. package/dist/ptcw-design/p-5ef23b5c.entry.js +0 -1
  363. package/dist/ptcw-design/p-627103d8.entry.js +0 -1
  364. package/dist/ptcw-design/p-711bcdad.js +0 -1
  365. package/dist/ptcw-design/p-7793babb.entry.js +0 -1
  366. package/dist/ptcw-design/p-77cad16c.entry.js +0 -1
  367. package/dist/ptcw-design/p-8c692bd6.entry.js +0 -1
  368. package/dist/ptcw-design/p-92d22c78.entry.js +0 -1
  369. package/dist/ptcw-design/p-97eb1025.entry.js +0 -1
  370. package/dist/ptcw-design/p-99daf693.entry.js +0 -1
  371. package/dist/ptcw-design/p-9d3a7f36.entry.js +0 -1
  372. package/dist/ptcw-design/p-9e9ae28c.entry.js +0 -1
  373. package/dist/ptcw-design/p-a4f65d28.entry.js +0 -1
  374. package/dist/ptcw-design/p-a54c6da5.entry.js +0 -1
  375. package/dist/ptcw-design/p-b50f71dd.entry.js +0 -1
  376. package/dist/ptcw-design/p-b8ee8699.entry.js +0 -1
  377. package/dist/ptcw-design/p-bf18b622.entry.js +0 -1
  378. package/dist/ptcw-design/p-c378ee48.entry.js +0 -1
  379. package/dist/ptcw-design/p-cbee4653.entry.js +0 -1
  380. package/dist/ptcw-design/p-d2cc0297.entry.js +0 -1
  381. package/dist/ptcw-design/p-d2e26642.entry.js +0 -1
  382. package/dist/ptcw-design/p-d3229458.entry.js +0 -1
  383. package/dist/ptcw-design/p-d756db27.entry.js +0 -1
  384. package/dist/ptcw-design/p-e89ce54f.entry.js +0 -1
  385. package/dist/ptcw-design/p-e9f12e0d.entry.js +0 -1
  386. package/dist/ptcw-design/p-f5c97ab2.entry.js +0 -1
  387. package/dist/ptcw-design/p-fd394e84.entry.js +0 -1
  388. package/dist/ptcw-design/p-fd7e5935.entry.js +0 -1
  389. /package/dist/ptcw-design/{p-672a349f.js → p-bcab66bf.js} +0 -0
@@ -1,44 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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 ::slotted(icon-asset){margin-top:4px;margin-right:8px}:host .tracker-div{display:inline}";
4
-
5
- const PtcNavLink = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.navLinkClicked = createEvent(this, "navLinkClicked", 7);
9
- this.href = undefined;
10
- this.isOutsideLink = false;
11
- this.titleText = '';
12
- this.trackerId = undefined;
13
- }
14
- handleClick(event) {
15
- // Prevent the event from propagating to the underlying <a> element
16
- event.stopPropagation();
17
- // Check if the href starts with #
18
- if (this.href && this.href.startsWith('#')) {
19
- // Find the corresponding section
20
- const section = document.querySelector(this.href);
21
- section.scrollIntoView({
22
- behavior: 'smooth',
23
- });
24
- this.navLinkClicked.emit();
25
- }
26
- }
27
- trimString(inputString, maxLength) {
28
- if (inputString.length > maxLength) {
29
- return inputString.slice(0, maxLength) + '...';
30
- }
31
- else {
32
- return inputString;
33
- }
34
- }
35
- render() {
36
- 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 => {
37
- this.handleClick(event);
38
- } }, 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" })))))));
39
- }
40
- get el() { return getElement(this); }
41
- };
42
- PtcNavLink.style = ptcNavLinkCss;
43
-
44
- export { PtcNavLink as ptc_nav_link };
@@ -1,102 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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;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 .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}";
4
-
5
- const PtcNavSlider = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.sliderId = `ptc-nav-slider-${Math.floor(Math.random() * 1000000)}`;
9
- this.leftBtnTrackerId = undefined;
10
- this.rightBtnTrackerId = undefined;
11
- }
12
- componentDidLoad() {
13
- // use the ID to select elements within the component's shadow root
14
- this.updateSlider(this);
15
- const { shadowRoot } = document.querySelector(`#${this.sliderId}`);
16
- const boxWrap = shadowRoot.querySelector('.box-wrap');
17
- boxWrap.addEventListener('scroll', this.updateSlider.bind(this));
18
- setTimeout(() => {
19
- this.updateSlider(this);
20
- }, 3100);
21
- }
22
- handledropdownClickEvent(element) {
23
- const sliderId = element.target.querySelector('.nav-slider').id;
24
- const boxWrap = element.target.querySelector('.nav-slider').shadowRoot.querySelector('.box-wrap');
25
- const prevBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#prevBtn');
26
- const nextBtn = document.querySelector(`#${sliderId}`).shadowRoot.querySelector('#nextBtn');
27
- let notDropdown = element.target.tagName.toLowerCase() != 'ptc-nav-submenu';
28
- console.log(element.target.tagName);
29
- this.updateArrows(boxWrap, prevBtn, nextBtn, notDropdown);
30
- }
31
- updateArrows(boxWrap, prevBtn, nextBtn, isNotDropdown) {
32
- // let offsetWidth = boxWrap.offsetWidth;
33
- // let scrollWidth = boxWrap.scrollWidth;
34
- // let scrollLeft = boxWrap.scrollLeft;
35
- // let combine = offsetWidth + scrollLeft;
36
- // console.log("offsetWidth " + offsetWidth);
37
- // console.log("scrollWidth " + scrollWidth);
38
- // console.log("scrollLeft " + scrollLeft);
39
- // console.log("offsetWidth + scrollLeft " + combine);
40
- if ((boxWrap.offsetWidth) == boxWrap.scrollWidth) {
41
- prevBtn.style.visibility = "hidden";
42
- nextBtn.style.visibility = "hidden";
43
- if (isNotDropdown)
44
- prevBtn.closest('.btn-wrap-left').style.display = 'none';
45
- }
46
- else if ((boxWrap.scrollLeft + boxWrap.offsetWidth) <= boxWrap.scrollWidth) {
47
- if (isNotDropdown)
48
- prevBtn.closest('.btn-wrap-left').style.display = '';
49
- if (boxWrap.scrollLeft > 0) {
50
- if ((boxWrap.scrollLeft + boxWrap.offsetWidth) == boxWrap.scrollWidth) {
51
- nextBtn.style.visibility = "hidden";
52
- prevBtn.style.visibility = "visible";
53
- }
54
- else {
55
- prevBtn.style.visibility = "visible";
56
- nextBtn.style.visibility = "visible";
57
- }
58
- }
59
- else {
60
- prevBtn.style.visibility = "hidden";
61
- nextBtn.style.visibility = "visible";
62
- }
63
- }
64
- else {
65
- prevBtn.style.visibility = "visible";
66
- nextBtn.style.visibility = "hidden";
67
- }
68
- }
69
- updateSlider(event) {
70
- const boxWrap = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('.box-wrap');
71
- const prevBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#prevBtn');
72
- const nextBtn = document.querySelector(`#${this.sliderId}`).shadowRoot.querySelector('#nextBtn');
73
- if (event !== undefined && event.target) {
74
- let notDropdown = !event.target.closest('.dropdown-content');
75
- this.updateArrows(event.target, prevBtn, nextBtn, notDropdown);
76
- }
77
- else {
78
- this.updateArrows(boxWrap, prevBtn, nextBtn, false);
79
- }
80
- }
81
- leftScroll(ele) {
82
- const sliderId = ele.sliderId;
83
- const left = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
84
- if (left.scrollLeft > 0) {
85
- left.scrollBy(-200, 0);
86
- }
87
- }
88
- rightScroll(ele) {
89
- const sliderId = ele.sliderId;
90
- const right = document.querySelector(`#${sliderId}`).shadowRoot.querySelector(`.box-wrap`);
91
- if (right.scrollLeft + right.offsetWidth < right.scrollWidth) {
92
- right.scrollBy(200, 0);
93
- }
94
- }
95
- render() {
96
- 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" }))))));
97
- }
98
- get el() { return getElement(this); }
99
- };
100
- PtcNavSlider.style = ptcNavSliderCss;
101
-
102
- export { PtcNavSlider as ptc_nav_slider };
@@ -1,47 +0,0 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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}";
4
-
5
- const PtcNavSubmenu = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.dropdownClickEvent = createEvent(this, "dropdownClickEvent", 7);
9
- this.label = undefined;
10
- this.iconAssetName = undefined;
11
- this.iconSrc = undefined;
12
- this.labelTrackerId = undefined;
13
- this.dropdownTrackerId = undefined;
14
- this.backBtnTrackerId = undefined;
15
- }
16
- calculateOffset() {
17
- var dropdown = this.el.shadowRoot.querySelector('.submenu-container');
18
- var container = this.el.closest('ptc-subnav');
19
- if (dropdown && container) {
20
- if (window.innerWidth >= 1200) {
21
- let height = container.clientHeight;
22
- if (height > 0) {
23
- dropdown.style.top = `${height}px`;
24
- }
25
- }
26
- else {
27
- dropdown.style.top = '';
28
- }
29
- }
30
- }
31
- handleClick(event) {
32
- this.calculateOffset();
33
- setTimeout(() => {
34
- this.dropdownClickEvent.emit(event);
35
- }, 100);
36
- }
37
- render() {
38
- return (h(Host, { class: `dropdown` }, 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 &&
39
- 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 &&
40
- h("img", { src: this.iconSrc, alt: this.label, class: "custom-icon" }), !this.iconSrc &&
41
- 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)))));
42
- }
43
- get el() { return getElement(this); }
44
- };
45
- PtcNavSubmenu.style = ptcNavSubmenuCss;
46
-
47
- export { PtcNavSubmenu as ptc_nav_submenu };
@@ -1,123 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { s as seoSlotReset } from './utils-63eab4bd.js';
3
-
4
- 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}}";
5
-
6
- const PtcPara = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.fontSize = 'x-small';
10
- this.fontWeight = 'w-4';
11
- this.paraStyle = 'default';
12
- this.paraColor = 'primary-grey';
13
- this.paraLineH = 'line-height-normal';
14
- this.paraMargin = undefined;
15
- this.paraAlign = undefined;
16
- this.ellipsisLineCutoff = undefined;
17
- this.paraZIndex = undefined;
18
- this.styles = undefined;
19
- this.seoCompatibilityMode = false;
20
- this.tooltipZIndex = 'auto';
21
- this.tooltipPosition = 'bottom';
22
- this.tooltipTheme = 'standard';
23
- this.enableTooltip = false;
24
- this.maxChars = undefined;
25
- this.maxLines = undefined;
26
- this.hideTooltipOnMobile = false;
27
- this.ismob = undefined;
28
- this.noOverflow = false;
29
- this.tooltipWidth = 'default';
30
- }
31
- // Tooltip Properties ends
32
- render() {
33
- if (this.seoCompatibilityMode) {
34
- seoSlotReset(this.el);
35
- }
36
- return this.standardRender();
37
- }
38
- //tooltip code
39
- getSortedText(content) {
40
- if (!this.enableTooltip)
41
- return;
42
- const trimmedContent = content.trim();
43
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
44
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
45
- }
46
- componentDidLoad() {
47
- if (this.hideTooltipOnMobile) {
48
- this.el.classList.add('hide-tooltip-on-mobile');
49
- }
50
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
51
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
52
- if (this.enableTooltip) {
53
- let paraContent = this.el.innerText || this.el.textContent;
54
- this.tooltipText = paraContent.trim();
55
- this.el.innerText = this.getSortedText(paraContent);
56
- }
57
- }
58
- toggleTitleTooltip(show) {
59
- const tooltipClass = 'tooltip-box';
60
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
61
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
62
- let maxLinesShowCheck = false;
63
- if (text) {
64
- text.forEach(t => {
65
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
66
- });
67
- }
68
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
69
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
70
- if (show && this.enableTooltip) {
71
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
72
- const tooltipMarkup = document.createElement('div');
73
- tooltipMarkup.className = tooltipClass;
74
- tooltipMarkup.innerText = this.tooltipText;
75
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
76
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
77
- if (this.hideTooltipOnMobile) {
78
- tooltipMarkup.classList.add('hide-tooltip-mobile');
79
- }
80
- this.el.appendChild(tooltipMarkup);
81
- }
82
- }
83
- else {
84
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
85
- }
86
- }
87
- //tooltip code ends
88
- standardRender() {
89
- const classMap = this.getCssClassMap();
90
- const colorClass = this.addWhiteClass();
91
- const cutOff = this.getLineCuttoff();
92
- 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))));
93
- }
94
- getCssClassMap() {
95
- return {
96
- [this.fontSize]: true,
97
- [this.fontWeight]: true,
98
- [this.paraStyle]: true,
99
- [this.paraMargin]: !!this.paraMargin ? true : false,
100
- [this.paraColor]: true,
101
- [this.paraLineH]: true,
102
- [this.paraAlign]: !!this.paraAlign ? true : false,
103
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
104
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
105
- };
106
- }
107
- //WEB-2392
108
- addWhiteClass() {
109
- if (this.paraColor == 'white') {
110
- return {
111
- [this.paraColor]: true,
112
- };
113
- }
114
- }
115
- getLineCuttoff() {
116
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
117
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
118
- }
119
- get el() { return getElement(this); }
120
- };
121
- PtcPara.style = ptcParaCss;
122
-
123
- export { PtcPara as ptc_para };
@@ -1,159 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
3
-
4
- const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
5
-
6
- const PtcPicture = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.src = undefined;
10
- this.alt = 'image';
11
- this.sizeXs = '510x340';
12
- this.sizeSm = '1240x496';
13
- this.sizeMd = '1366x500';
14
- this.sizeLg = '1920x1080';
15
- this.disableResize = false;
16
- this.oldSrc = undefined;
17
- this.imagePosition = 'static';
18
- this.borderRadius = undefined;
19
- this.height = undefined;
20
- this.width = undefined;
21
- this.objectFit = 'cover';
22
- this.isFullHeight = false;
23
- this.isFullWidth = false;
24
- this.styles = undefined;
25
- this.imageAlignment = 'left';
26
- this.maxWidth = undefined;
27
- this.displayImage = 'block';
28
- }
29
- WindowResize() {
30
- this.addIntersectionObserver();
31
- }
32
- componentWillLoad() {
33
- if (this.disableResize) {
34
- this.sizeXs = undefined;
35
- this.sizeSm = undefined;
36
- this.sizeMd = undefined;
37
- this.sizeLg = undefined;
38
- }
39
- }
40
- componentDidLoad() {
41
- this.addIntersectionObserver();
42
- }
43
- componentWillUpdate() {
44
- if (this.src !== this.oldSrc) {
45
- this.addIntersectionObserver();
46
- }
47
- this.oldSrc = this.src;
48
- }
49
- //lazy-loading
50
- addIntersectionObserver() {
51
- if (!this.src) {
52
- return;
53
- }
54
- if ('IntersectionObserver' in window) {
55
- let lazyLoadImages = new IntersectionObserver(entries => {
56
- entries.forEach(entry => {
57
- if (entry.isIntersecting) {
58
- const image = this.el.shadowRoot.querySelector('img');
59
- image.src = this.setResponsiveBg();
60
- lazyLoadImages.unobserve(image);
61
- }
62
- });
63
- });
64
- let tempImg = this.el.shadowRoot.querySelector('img');
65
- if (tempImg) {
66
- lazyLoadImages.observe(tempImg);
67
- }
68
- }
69
- else {
70
- // fall back to setTimeout for Safari and IE
71
- setTimeout(() => {
72
- const image = this.el.shadowRoot.querySelector('img');
73
- image.src = this.setResponsiveBg();
74
- image.onload = () => {
75
- image.removeAttribute('data-src');
76
- console.log('loaded fallback');
77
- };
78
- }, 5000);
79
- }
80
- }
81
- //responsive image
82
- setResponsiveBg() {
83
- // Define local variables
84
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
85
- for (var i = 0, len = backgrounds.length; i < len; i++) {
86
- // Set current variables
87
- el = backgrounds[i];
88
- elData = el.getAttribute('data-' + currentBreakpoint);
89
- if (elData !== null) {
90
- return elData;
91
- }
92
- else {
93
- if (typeof console == 'object') {
94
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
95
- }
96
- }
97
- }
98
- }
99
- render() {
100
- const classMap = this.getCssClassMap();
101
- const classMapHost = this.getCssClassMapHost();
102
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth ? { maxWidth: this.maxWidth + 'px' } : {})) })), h("slot", null)));
103
- }
104
- getCurrentBreakPoints() {
105
- // Define local variables
106
- let doc = window.document, temp = doc.createElement('div'), env;
107
- // Append test node
108
- doc.body.appendChild(temp);
109
- // Loop through breakpoints
110
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
111
- env = ResponsivePictureVariables.envs[i];
112
- // Add classes
113
- temp.className = 'hidden-' + env;
114
- // Found breakpoint
115
- if (temp.offsetParent === null) {
116
- // Remove our test node
117
- doc.body.removeChild(temp);
118
- // Return current breakpoint
119
- return env;
120
- }
121
- }
122
- // Breakpoint not found, try fallback
123
- doc.body.removeChild(temp);
124
- return this.getFallbackBreakpoint();
125
- }
126
- getFallbackBreakpoint() {
127
- if (window.matchMedia('(min-width: 992px)').matches) {
128
- return 'lg';
129
- }
130
- else if (window.matchMedia('(min-width: 768px)').matches) {
131
- return 'md';
132
- }
133
- else if (window.matchMedia('(min-width: 576px)').matches) {
134
- return 'sm';
135
- }
136
- else {
137
- return 'xs';
138
- }
139
- }
140
- getCssClassMap() {
141
- return {
142
- [this.borderRadius]: this.borderRadius ? true : false,
143
- [this.objectFit]: true,
144
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
145
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
146
- [this.displayImage]: true
147
- };
148
- }
149
- getCssClassMapHost() {
150
- return {
151
- [this.imagePosition]: true,
152
- [this.imageAlignment]: true,
153
- };
154
- }
155
- get el() { return getElement(this); }
156
- };
157
- PtcPicture.style = ptcPictureCss;
158
-
159
- export { PtcPicture as ptc_picture };
@@ -1,34 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-c83db688.js';
2
-
3
- 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}}";
4
-
5
- const PtcSpacer = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.breakpoint = '';
9
- this.size = 'medium';
10
- this.direction = 'vertical';
11
- }
12
- render() {
13
- const classMap = this.getCssClassMap();
14
- return (h(Host, { class: classMap }));
15
- }
16
- getCssClassMap() {
17
- return {
18
- [this.size]: true,
19
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
20
- ['ptc-spacer-vertical']: this.direction === 'vertical',
21
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
22
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
23
- ['ptc-spacer-small']: this.breakpoint === 'small',
24
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
25
- ['ptc-spacer-large']: this.breakpoint === 'large',
26
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
27
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
28
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
29
- };
30
- }
31
- };
32
- PtcSpacer.style = ptcSpacerCss;
33
-
34
- export { PtcSpacer as ptc_spacer };
@@ -1,66 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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}";
4
-
5
- const PtcStickySection = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.hasPreloader = false;
9
- }
10
- componentDidLoad() {
11
- if (document.querySelector('ptc-preloader-section')) {
12
- this.hasPreloader = true;
13
- this.el.setAttribute('has-preloader', 'true');
14
- }
15
- else {
16
- this.hasPreloader = false;
17
- this.el.setAttribute('has-preloader', 'false');
18
- }
19
- if (this.stickyEl.classList.contains('sticky')) {
20
- this.stickyEl.classList.remove('sticky');
21
- }
22
- let that = this;
23
- if (this.hasPreloader) {
24
- setTimeout(() => {
25
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
26
- that.originalPosition = this.elPosition(that.stickyEl);
27
- window.addEventListener('scroll', that.handleScroll);
28
- }, 3100);
29
- }
30
- else {
31
- setTimeout(() => {
32
- that.stickyEl = that.el.shadowRoot.querySelector('.stickyEl');
33
- that.originalPosition = that.stickyEl.offsetTop;
34
- window.addEventListener('scroll', that.handleScroll);
35
- }, 1500);
36
- }
37
- }
38
- elPosition(element) {
39
- const rect = element.getBoundingClientRect();
40
- const scrollTop = window.pageYOffset || document.documentElement.scrollTop;
41
- return rect.top + scrollTop;
42
- }
43
- disconnectedCallback() {
44
- window.removeEventListener('scroll', this.handleScroll);
45
- }
46
- handleScroll() {
47
- if (this.stickyEl) {
48
- if (window.scrollY > this.originalPosition) {
49
- this.stickyEl.classList.add('sticky');
50
- }
51
- else {
52
- this.stickyEl.classList.remove('sticky');
53
- }
54
- }
55
- }
56
- handleResize() {
57
- this.handleScroll();
58
- }
59
- render() {
60
- return (h(Host, null, h("div", { class: "stickyEl", ref: el => (this.stickyEl = el) }, h("slot", null))));
61
- }
62
- get el() { return getElement(this); }
63
- };
64
- PtcStickySection.style = ptcStickySectionCss;
65
-
66
- export { PtcStickySection as ptc_sticky_section };
@@ -1,33 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- 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}}";
4
-
5
- const PtcSubnav = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.mobileTitle = 'See page topics';
9
- this.navOpen = false;
10
- }
11
- toggleNav() {
12
- this.navOpen = !this.navOpen;
13
- }
14
- handleScroll() {
15
- let elem = this.el.shadowRoot.querySelector('div.sticky-subnav');
16
- if (elem) {
17
- elem.classList.remove('sticky');
18
- }
19
- }
20
- handleNavLinkClickedEvent() {
21
- //console.log('link clicked');
22
- this.toggleNav();
23
- }
24
- render() {
25
- return (h(Host, null, h("div", { class: "sticky-subnav" }, h("nav", { class: `navbar ${this.navOpen ? 'navOpen' : ''}` }, h("button", { class: "navbar-toggle", onClick: () => {
26
- this.toggleNav();
27
- } }, 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" })))))));
28
- }
29
- get el() { return getElement(this); }
30
- };
31
- PtcSubnav.style = ptcSubnavCss;
32
-
33
- export { PtcSubnav as ptc_subnav };