@ptcwebops/ptcw-design 6.2.4 → 6.2.5-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 (406) hide show
  1. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  5. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  6. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  7. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +211 -0
  8. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  9. package/dist/cjs/ptc-footer.cjs.entry.js +66 -0
  10. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +786 -4
  11. package/dist/cjs/ptc-icon-card.cjs.entry.js +28 -0
  12. package/dist/cjs/ptc-link.cjs.entry.js +98 -0
  13. package/dist/cjs/ptc-mobile-select.cjs.entry.js +570 -0
  14. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  15. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  16. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  17. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +82 -0
  18. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  19. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +56 -0
  20. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  21. package/dist/cjs/ptcw-design.cjs.js +1 -1
  22. package/dist/collection/collection-manifest.json +1 -0
  23. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  24. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  25. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  26. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  27. package/dist/collection/components/ptc-modal/ptc-modal.js +2 -2
  28. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  29. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  30. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  31. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  32. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  33. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  34. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  35. package/dist/custom-elements/index.d.ts +6 -0
  36. package/dist/custom-elements/index.js +104 -6
  37. package/dist/esm/academic-form-test.entry.js +1 -1
  38. package/dist/esm/author-listing-example.entry.js +1 -1
  39. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  40. package/dist/esm/blog-detail-layout.entry.js +2 -2
  41. package/dist/esm/blogs-search-section.entry.js +2 -2
  42. package/dist/esm/bundle-example.entry.js +1 -1
  43. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  44. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  45. package/dist/esm/dropdown-item.entry.js +1 -1
  46. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  47. package/dist/esm/embedded-form.entry.js +1 -1
  48. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  49. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  50. package/dist/esm/featured-list.entry.js +1 -1
  51. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  52. package/dist/esm/footer-form.entry.js +1 -1
  53. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  54. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  55. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  56. package/dist/esm/icon-asset.entry.js +61 -0
  57. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  58. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  59. package/dist/esm/{interfaces-7c0243be.js → interfaces-4caedd26.js} +1 -1
  60. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  61. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  62. package/dist/esm/list-item.entry.js +1 -1
  63. package/dist/esm/loader.js +3 -3
  64. package/dist/esm/max-width-container.entry.js +50 -0
  65. package/dist/esm/modal-form-example.entry.js +90 -0
  66. package/dist/esm/most-popular-news.entry.js +2 -2
  67. package/dist/esm/my-component.entry.js +2 -2
  68. package/dist/esm/news-search-result.entry.js +1 -1
  69. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  70. package/dist/esm/ptc-accordion.entry.js +1 -1
  71. package/dist/esm/ptc-announcement.entry.js +1 -1
  72. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  73. package/dist/esm/ptc-background-video.entry.js +2 -2
  74. package/dist/esm/ptc-badge.entry.js +1 -1
  75. package/dist/esm/ptc-bio-card.entry.js +1 -1
  76. package/dist/esm/ptc-breadcrumb.entry.js +1 -1
  77. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  78. package/dist/esm/ptc-button.entry.js +83 -0
  79. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  80. package/dist/esm/ptc-card-content.entry.js +1 -1
  81. package/dist/esm/ptc-card_2.entry.js +1 -1
  82. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  83. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  84. package/dist/esm/ptc-checkbox.entry.js +1 -1
  85. package/dist/esm/ptc-close-icon_2.entry.js +206 -0
  86. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  87. package/dist/esm/ptc-container.entry.js +1 -1
  88. package/dist/esm/ptc-countdown.entry.js +1 -1
  89. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  90. package/dist/esm/ptc-date.entry.js +1 -1
  91. package/dist/esm/ptc-dropdown.entry.js +1 -1
  92. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  93. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  94. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  95. package/dist/esm/ptc-featured-list.entry.js +1 -1
  96. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  97. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  98. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  99. package/dist/esm/ptc-footer.entry.js +62 -0
  100. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  101. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  102. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  103. package/dist/esm/ptc-form.entry.js +1 -1
  104. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  105. package/dist/esm/ptc-hero.entry.js +1 -1
  106. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  107. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  108. package/dist/esm/ptc-icon-card.entry.js +24 -0
  109. package/dist/esm/ptc-icon-component.entry.js +1 -1
  110. package/dist/esm/ptc-icon-list.entry.js +1 -1
  111. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  112. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  113. package/dist/esm/ptc-img.entry.js +2 -2
  114. package/dist/esm/ptc-info-tile.entry.js +1 -1
  115. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  116. package/dist/esm/ptc-jumbotron.entry.js +1 -1
  117. package/dist/esm/ptc-link.entry.js +94 -0
  118. package/dist/esm/ptc-list.entry.js +1 -1
  119. package/dist/esm/ptc-media-card.entry.js +2 -2
  120. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  121. package/dist/esm/ptc-mobile-select.entry.js +566 -0
  122. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  123. package/dist/esm/ptc-nav-card.entry.js +1 -1
  124. package/dist/esm/ptc-nav-link.entry.js +1 -1
  125. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  126. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  127. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  128. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  129. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  130. package/dist/esm/ptc-news.entry.js +1 -1
  131. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  132. package/dist/esm/ptc-office-locations.entry.js +1 -1
  133. package/dist/esm/ptc-overlay.entry.js +1 -1
  134. package/dist/esm/ptc-para.entry.js +123 -0
  135. package/dist/esm/ptc-picture.entry.js +159 -0
  136. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  137. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  138. package/dist/esm/ptc-previous-url.entry.js +11 -3
  139. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  141. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  142. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  143. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  144. package/dist/esm/ptc-product-card.entry.js +1 -1
  145. package/dist/esm/ptc-product-category.entry.js +1 -1
  146. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  147. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  148. package/dist/esm/ptc-product-list.entry.js +1 -1
  149. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  150. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  151. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  152. package/dist/esm/ptc-quote.entry.js +1 -1
  153. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  154. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  155. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  156. package/dist/esm/ptc-readmore.entry.js +1 -1
  157. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  158. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  159. package/dist/esm/ptc-search-field.entry.js +1 -1
  160. package/dist/esm/ptc-seo-title.entry.js +1 -1
  161. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  162. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  163. package/dist/esm/ptc-skeleton.entry.js +1 -1
  164. package/dist/esm/ptc-slit-card.entry.js +1 -1
  165. package/dist/esm/ptc-social-icons-footer.entry.js +78 -0
  166. package/dist/esm/ptc-social-icons.entry.js +1 -1
  167. package/dist/esm/ptc-spacer.entry.js +34 -0
  168. package/dist/esm/ptc-span.entry.js +1 -1
  169. package/dist/esm/ptc-square-card.entry.js +1 -1
  170. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  171. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  172. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  173. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  174. package/dist/esm/ptc-subnav.entry.js +1 -1
  175. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  176. package/dist/esm/ptc-tab-list.entry.js +1 -1
  177. package/dist/esm/ptc-tab.entry.js +1 -1
  178. package/dist/esm/ptc-tabs.entry.js +1 -1
  179. package/dist/esm/ptc-text-copy-with-background.entry.js +52 -0
  180. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  181. package/dist/esm/ptc-title.entry.js +148 -0
  182. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  183. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  184. package/dist/esm/ptc-tooltip.entry.js +1 -1
  185. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  190. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  191. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  192. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  193. package/dist/esm/ptc-video-embed.entry.js +1 -1
  194. package/dist/esm/ptc-white-paper.entry.js +1 -1
  195. package/dist/esm/ptcw-design.js +3 -3
  196. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  197. package/dist/esm/sequential-bundle.entry.js +1 -1
  198. package/dist/esm/tab-content.entry.js +1 -1
  199. package/dist/esm/tab-header.entry.js +1 -1
  200. package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
  201. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  202. package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
  203. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-ef0079b0.entry.js → p-071a6109.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
  207. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  208. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  209. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  210. package/dist/ptcw-design/{p-af9bb288.entry.js → p-0d806031.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-d5fbe774.entry.js → p-0ee01112.entry.js} +1 -1
  213. package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
  214. package/dist/ptcw-design/{p-f64fadad.entry.js → p-139a02e6.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-d955c44f.entry.js → p-158f6d50.entry.js} +1 -1
  216. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  217. package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
  218. package/dist/ptcw-design/p-1d068cc2.entry.js +68 -0
  219. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-aba549b7.entry.js → p-257deac0.entry.js} +1 -1
  222. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  223. package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
  224. package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
  225. package/dist/ptcw-design/{p-c9518684.entry.js → p-2749c178.entry.js} +1 -1
  226. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  227. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  228. package/dist/ptcw-design/{p-0c862dbd.entry.js → p-28be539b.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-9350450b.entry.js → p-2a70a438.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-20670bc5.entry.js → p-2ac5ed9c.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-6a79e68e.entry.js → p-34c50b3e.entry.js} +1 -1
  233. package/dist/ptcw-design/p-3738a01f.entry.js +1 -0
  234. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  236. package/dist/ptcw-design/{p-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
  237. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  238. package/dist/ptcw-design/p-40160817.entry.js +1 -0
  239. package/dist/ptcw-design/{p-986be938.entry.js → p-40b8c884.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  241. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-b1c1de30.entry.js → p-48c33817.entry.js} +1 -1
  244. package/dist/ptcw-design/{p-b4ba719a.entry.js → p-49e54079.entry.js} +1 -1
  245. package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
  246. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  247. package/dist/ptcw-design/p-4ee98a3e.entry.js +1 -0
  248. package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-20d837a9.entry.js → p-50d68602.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-5588653b.entry.js → p-56a2a9dc.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-0554d900.entry.js → p-577dad08.entry.js} +1 -1
  252. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  253. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-f457709f.entry.js → p-5d885144.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  257. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  258. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  259. package/dist/ptcw-design/p-627103d8.entry.js +1 -0
  260. package/dist/ptcw-design/{p-fc0d9251.entry.js → p-6a3caf2b.entry.js} +1 -1
  261. package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-c2e7fec4.entry.js → p-6c2b4fb8.entry.js} +1 -1
  263. package/dist/ptcw-design/{p-2a255901.entry.js → p-6f5fecae.entry.js} +1 -1
  264. package/dist/ptcw-design/{p-ee1183b2.js → p-711bcdad.js} +1 -1
  265. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-fe72010d.entry.js → p-72df6678.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-ffd5c822.entry.js → p-7793babb.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
  270. package/dist/ptcw-design/{p-1adea6a5.entry.js → p-77cad16c.entry.js} +1 -1
  271. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  272. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  273. package/dist/ptcw-design/{p-94c59fac.entry.js → p-7b71abaf.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-affe4655.entry.js → p-8193a2ae.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-a560e839.entry.js → p-821f0ff9.entry.js} +1 -1
  279. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  280. package/dist/ptcw-design/{p-b5d0e4a2.entry.js → p-85c29073.entry.js} +1 -1
  281. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  282. package/dist/ptcw-design/p-867a808f.entry.js +1 -0
  283. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  286. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  287. package/dist/ptcw-design/{p-5ae21271.entry.js → p-90c4f08b.entry.js} +1 -1
  288. package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
  289. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  290. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  291. package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
  292. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  293. package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
  294. package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
  295. package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.entry.js} +1 -1
  296. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  297. package/dist/ptcw-design/p-9a6bd91f.entry.js +1 -0
  298. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  301. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  302. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  304. package/dist/ptcw-design/p-9e9ae28c.entry.js +1 -0
  305. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  308. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  309. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  310. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  314. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-1e44cf5e.entry.js → p-b3bbd17d.entry.js} +1 -1
  316. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  317. package/dist/ptcw-design/{p-07b1afd5.entry.js → p-b8ee8699.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-ca268a17.entry.js → p-ba8c58a7.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-1d00a43a.entry.js → p-bb28bbad.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-907727fd.entry.js → p-bb902570.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-0bc848ef.entry.js → p-bbc706df.entry.js} +1 -1
  322. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  323. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  324. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  325. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  326. package/dist/ptcw-design/p-c01ea76f.entry.js +1 -0
  327. package/dist/ptcw-design/{p-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  330. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  331. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-6bd26096.entry.js → p-cbee4653.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-e895bf99.entry.js → p-d2825140.entry.js} +1 -1
  335. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  336. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  337. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  338. package/dist/ptcw-design/{p-e1242dd4.entry.js → p-d7275289.entry.js} +1 -1
  339. package/dist/ptcw-design/p-d756db27.entry.js +1 -0
  340. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
  344. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  345. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-d871e7f7.entry.js → p-e577ad62.entry.js} +1 -1
  347. package/dist/ptcw-design/p-e89ce54f.entry.js +1 -0
  348. package/dist/ptcw-design/{p-2a3735a5.entry.js → p-e90fbbad.entry.js} +1 -1
  349. package/dist/ptcw-design/{p-bf076b87.entry.js → p-ea7369e9.entry.js} +1 -1
  350. package/dist/ptcw-design/{p-d3087f34.entry.js → p-ecd86dfe.entry.js} +1 -1
  351. package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
  352. package/dist/ptcw-design/{p-9b60270e.entry.js → p-eec2f3da.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  355. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-fb2e4612.entry.js → p-f8512dc9.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  358. package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
  359. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  360. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  361. package/dist/ptcw-design/p-fe907670.entry.js +1 -0
  362. package/dist/ptcw-design/{p-5b0bc600.entry.js → p-fec1acdf.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.entry.js} +1 -1
  364. package/dist/ptcw-design/ptcw-design.css +1 -1
  365. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  366. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  367. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  368. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  369. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  370. package/dist/types/components.d.ts +19 -4
  371. package/package.json +1 -1
  372. package/readme.md +1 -1
  373. package/dist/cjs/component-5b5b6a98.js +0 -1819
  374. package/dist/cjs/icon-asset_15.cjs.entry.js +0 -1714
  375. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  376. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  377. package/dist/esm/component-341e4eaa.js +0 -1802
  378. package/dist/esm/icon-asset_15.entry.js +0 -1696
  379. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  380. package/dist/esm/validation-messages-adbb6518.js +0 -124
  381. package/dist/ptcw-design/p-051ba8f9.entry.js +0 -1
  382. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  383. package/dist/ptcw-design/p-169fdc62.entry.js +0 -1
  384. package/dist/ptcw-design/p-18a5a338.js +0 -1
  385. package/dist/ptcw-design/p-19a9ada3.entry.js +0 -68
  386. package/dist/ptcw-design/p-1eb92079.entry.js +0 -1
  387. package/dist/ptcw-design/p-208ca9de.entry.js +0 -1
  388. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  389. package/dist/ptcw-design/p-2ee3a32b.entry.js +0 -1
  390. package/dist/ptcw-design/p-330e1a36.entry.js +0 -1
  391. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  392. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  393. package/dist/ptcw-design/p-3a7c5330.entry.js +0 -1
  394. package/dist/ptcw-design/p-520542e2.entry.js +0 -1
  395. package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
  396. package/dist/ptcw-design/p-70ac8aa5.entry.js +0 -1
  397. package/dist/ptcw-design/p-72681e91.entry.js +0 -1
  398. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  399. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  400. package/dist/ptcw-design/p-9ae901e2.entry.js +0 -1
  401. package/dist/ptcw-design/p-9e6fb4ba.entry.js +0 -1
  402. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  403. package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
  404. package/dist/ptcw-design/p-be533f0d.js +0 -134
  405. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  406. package/dist/ptcw-design/p-ce6d1c5f.entry.js +0 -1
@@ -1,1696 +0,0 @@
1
- import { r as registerInstance, c as createEvent, g as getAssetPath, h as h$1, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { C as CheckDarkFocusState, g as getSeoTagType, s as seoSlotReset } from './utils-ff65c75b.js';
3
- import { R as ResponsivePictureVariables } from './interfaces-7c0243be.js';
4
- import { f as facebookSVG, l as linkedinSVG, x as xSVG } from './x-cd64dee4.js';
5
-
6
- 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)}";
7
-
8
- const IconAsset = class {
9
- constructor(hostRef) {
10
- registerInstance(this, hostRef);
11
- this.ready = createEvent(this, "ready", 7);
12
- this.regularSprite = getAssetPath('./media/regular.svg');
13
- this.solidSprite = getAssetPath('./media/solid.svg');
14
- this.brandSprite = getAssetPath('./media/brands.svg');
15
- this.ptcSprite = getAssetPath('./media/designer-v6.0.6.svg');
16
- this.name = undefined;
17
- this.size = 'xx-small';
18
- this.type = 'regular';
19
- this.spin = '';
20
- this.pulse = '';
21
- this.color = 'default';
22
- this.isMobileSelect = undefined;
23
- this.injectedStyle = undefined;
24
- this.focusOn = false;
25
- this.trackerId = "";
26
- }
27
- componentDidLoad() {
28
- this.ready.emit({
29
- 'regular-icons': this.regularSprite,
30
- 'sold-icons': this.solidSprite,
31
- 'brand-icons': this.brandSprite,
32
- 'ptc-icons': this.ptcSprite
33
- });
34
- }
35
- render() {
36
- const classMap = this.getCssClassMap();
37
- if (this.type == 'brands') {
38
- return (h$1(Host, null, this.injectedStyle && h$1("style", null, this.injectedStyle), h$1("svg", { class: classMap }, h$1("use", { href: `${this.brandSprite}#${this.name}` }))));
39
- }
40
- else if (this.type == 'solid') {
41
- return (h$1(Host, null, this.injectedStyle && h$1("style", null, this.injectedStyle), h$1("svg", { class: classMap }, h$1("use", { href: `${this.solidSprite}#${this.name}` }))));
42
- }
43
- else if (this.type == 'ptc') {
44
- return (h$1(Host, null, this.injectedStyle && h$1("style", null, this.injectedStyle), h$1("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, h$1("use", { href: `${this.ptcSprite}#${this.name}` }))));
45
- }
46
- else {
47
- return (h$1(Host, null, this.injectedStyle && h$1("style", null, this.injectedStyle), h$1("svg", { class: classMap }, h$1("use", { href: `${this.regularSprite}#${this.name}` }))));
48
- }
49
- }
50
- getCssClassMap() {
51
- return {
52
- [this.size]: true,
53
- [this.spin]: true,
54
- [this.pulse]: true,
55
- [this.color]: true,
56
- ['ismobileselect']: this.isMobileSelect ? true : false,
57
- ['mf-listen']: this.trackerId !== "" ? true : false
58
- };
59
- }
60
- static get assetsDirs() { return ["media"]; }
61
- };
62
- IconAsset.style = iconAssetCss;
63
-
64
- const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
65
-
66
- const MaxWidthContainer = class {
67
- constructor(hostRef) {
68
- registerInstance(this, hostRef);
69
- this.maxWidthP = undefined;
70
- this.maxWidth = undefined;
71
- this.breakpoint = 768;
72
- this.contentAlign = 'center';
73
- this.styles = undefined;
74
- }
75
- componentDidLoad() {
76
- this.handleResize();
77
- window.addEventListener('resize', this.handleResize.bind(this));
78
- }
79
- disconnectedCallback() {
80
- window.removeEventListener('resize', this.handleResize);
81
- }
82
- render() {
83
- const classMap = this.getCssClassMap();
84
- return (h$1(Host, { class: classMap }, this.styles && h$1("style", null, this.styles), h$1("slot", null)));
85
- }
86
- getCssClassMap() {
87
- return {
88
- [this.contentAlign]: true,
89
- };
90
- }
91
- handleResize() {
92
- // const selectedContainer = this.el.querySelector('.max-width-container');
93
- if (this.el) {
94
- if (window.innerWidth >= this.breakpoint) {
95
- if (this.maxWidthP) {
96
- this.el.style.maxWidth = `${this.maxWidthP}%`;
97
- }
98
- else {
99
- this.el.style.maxWidth = `${this.maxWidth}px`;
100
- }
101
- }
102
- else {
103
- this.el.style.maxWidth = 'initial';
104
- }
105
- }
106
- }
107
- get el() { return getElement(this); }
108
- };
109
- MaxWidthContainer.style = maxWidthContainerCss;
110
-
111
- 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)}";
112
-
113
- const PtcButton = class {
114
- constructor(hostRef) {
115
- registerInstance(this, hostRef);
116
- this.clickEvent = createEvent(this, "clickEvent", 7);
117
- this.disabled = false;
118
- this.active = false;
119
- this.type = 'button';
120
- this.color = 'ptc-primary';
121
- this.iconAnimation = '';
122
- this.iconPosition = 'icon-right';
123
- this.linkHref = undefined;
124
- this.linkTitle = undefined;
125
- this.target = '_self';
126
- this.rel = undefined;
127
- this.tabNav = 0;
128
- this.styles = undefined;
129
- this.textAlign = undefined;
130
- this.enableAccessibilityAltStyle = false;
131
- this.size = undefined;
132
- this.buttonTitle = undefined;
133
- this.ariaLabel = '';
134
- this.seoCompatibilityMode = false;
135
- this.maintainContent = false;
136
- this.trackerId = undefined;
137
- this.darkFocusState = false;
138
- }
139
- clickEventHandler() {
140
- this.clickEvent.emit();
141
- }
142
- componentWillLoad() {
143
- CheckDarkFocusState(this, this.el);
144
- }
145
- seoCompRender() {
146
- const classMap = this.getCssClassMap();
147
- const Tag = !!this.linkHref ? 'a' : 'button';
148
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
149
- const html = firstChild && firstChild.innerHTML;
150
- if (this.el == firstChild) {
151
- this.el.innerHTML = '';
152
- }
153
- if (this.maintainContent) {
154
- this.el.innerHTML = html;
155
- }
156
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1(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$1("span", { innerHTML: html }, h$1("slot", { name: "slot-before-text" }), h$1("slot", { name: "slot-after-text" }))))));
157
- }
158
- standardRender() {
159
- const classMap = this.getCssClassMap();
160
- const Tag = !!this.linkHref ? 'a' : 'button';
161
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1(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' ?
162
- h$1("span", null, h$1("div", { class: "content" }, h$1("slot", null)), h$1("div", { class: "icon-wrapper" }, h$1("div", { class: "icon" }, h$1("slot", { name: "slot-after-text" })))) :
163
- h$1("span", null, h$1("slot", { name: "slot-before-text" }), h$1("slot", null), h$1("slot", { name: "slot-after-text" }))))));
164
- }
165
- render() {
166
- if (this.seoCompatibilityMode) {
167
- return this.seoCompRender();
168
- }
169
- else {
170
- return this.standardRender();
171
- }
172
- }
173
- getCssClassMap() {
174
- return {
175
- [this.color]: true,
176
- [this.iconAnimation]: true,
177
- [this.iconPosition]: true,
178
- ['disabled']: this.disabled ? true : false,
179
- ['active']: this.active ? true : false,
180
- [this.textAlign]: true,
181
- [this.size]: true,
182
- ['acc-alt-style']: this.enableAccessibilityAltStyle,
183
- ['focus-state-dark-background']: this.darkFocusState
184
- };
185
- }
186
- get el() { return getElement(this); }
187
- };
188
- PtcButton.style = ptcButtonCss;
189
-
190
- const ptcCloseIconCss = "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:inline-block}:host:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon svg:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}";
191
-
192
- const PtcCloseIcon = class {
193
- constructor(hostRef) {
194
- registerInstance(this, hostRef);
195
- }
196
- render() {
197
- return (h$1(Host, null, h$1("div", { class: 'close-icon mf-listen', "tab-index": "0" }, h$1("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none", tabindex: 0 }, h$1("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z", fill: "#20262A" })))));
198
- }
199
- };
200
- PtcCloseIcon.style = ptcCloseIconCss;
201
-
202
- const ptcFooterV2Css = "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-footer{display:block;color:var(--color-white);background-color:var(--color-gray-12);position:relative;z-index:2}ptc-footer ul{padding:0;margin:0;list-style:none}ptc-footer ul li a{margin:-2px;border:2px solid transparent;text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:1px;text-decoration-color:transparent;transition:text-decoration var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white) !important}ptc-footer ul li a:hover{color:var(--color-white) !important;text-decoration-color:var(--color-white)}ptc-footer ul li a:visited{color:var(--color-white)}ptc-footer ul li a:active{color:var(--color-gray-04) !important;transition:none;text-decoration-color:var(--color-gray-04)}ptc-footer ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}ptc-footer .gap-20{grid-column-gap:20px;grid-row-gap:20px}ptc-footer .footer-bg-wrap{position:relative;border-top:1px solid var(--color-gray-10)}ptc-footer .footer-bg{position:absolute;width:100%;text-align:center;height:100%;background-repeat:no-repeat;background-position:center center;z-index:0}ptc-footer .footer-top{padding-top:48px;padding-bottom:48px;position:relative;z-index:1;max-width:500px;margin:auto;box-sizing:content-box}@media only screen and (min-width: 992px){ptc-footer .footer-top{padding:var(--ptc-layout-spacing-06) 80px;max-width:900px}}@media only screen and (min-width: 1200px){ptc-footer .footer-top{padding:var(--ptc-layout-spacing-06) 88px;max-width:1200px}}@media only screen and (min-width: 1440px){ptc-footer .footer-top{padding:var(--ptc-layout-spacing-06) 88px;max-width:1200px}}ptc-footer .footer-top ptc-title{display:block}ptc-footer .footer-top .f-menu{justify-content:space-between;width:100%;gap:16px;max-width:516px}@media only screen and (min-width: 992px){ptc-footer .footer-top .f-menu{justify-content:flex-start;max-width:419px;gap:56px}}@media only screen and (min-width: 1200px){ptc-footer .footer-top .f-menu{justify-content:flex-start;max-width:413px;gap:80px}}@media only screen and (min-width: 992px){ptc-footer .footer-top .f-menu ul,ptc-footer .footer-top .f-menu ol{max-width:initial}}@media only screen and (min-width: 1024px){ptc-footer .footer-top .f-menu ul,ptc-footer .footer-top .f-menu ol{width:50%}}ptc-footer .footer-top .f-menu ul li,ptc-footer .footer-top .f-menu ol li{padding:6px 0;font-size:var(--ptc-font-size-x-small)}ptc-footer .footer-top .f-menu ul li:first-child,ptc-footer .footer-top .f-menu ol li:first-child{padding-top:0}ptc-footer .footer-top .f-menu ul li:last-child,ptc-footer .footer-top .f-menu ol li:last-child{padding-bottom:0}ptc-footer .footer-top .f-menu ul li a,ptc-footer .footer-top .f-menu ol li a{display:inline-block;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-p);padding-bottom:4px}ptc-footer .footer-top .f-social-wrap{display:flex;flex-direction:column;align-items:center;grid-column-gap:48px;grid-row-gap:48px}@media only screen and (min-width: 992px){ptc-footer .footer-top .f-social-wrap{flex-direction:row;justify-content:flex-start}}@media only screen and (min-width: 1200px){ptc-footer .footer-top .f-social-wrap{display:block}}ptc-footer ptc-mobile-select,ptc-footer .mobile-lang{display:block}@media only screen and (min-width: 1200px){ptc-footer ptc-mobile-select,ptc-footer .mobile-lang{display:none}}ptc-footer .footer-bottom{background-color:var(--color-gray-11);padding-top:var(--ptc-layout-spacing-02);padding-bottom:var(--ptc-layout-spacing-02);text-align:center;font-size:var(--ptc-font-size-xx-small)}@media only screen and (min-width: 992px){ptc-footer .footer-bottom{display:flex;align-items:center;justify-content:space-between}}@media only screen and (min-width: 992px){ptc-footer .footer-bottom{max-width:1136px;box-sizing:content-box}}@media only screen and (min-width: 1200px){ptc-footer .footer-bottom{padding-right:24px;padding-left:24px;max-width:1200px}}ptc-footer .footer-bottom ul li,ptc-footer .footer-bottom ol li{font-size:var(--ptc-font-size-xx-small)}ptc-footer .footer-bottom .logo{margin:-2px;margin-bottom:var(--ptc-element-spacing-06)}ptc-footer .footer-bottom .logo a{border:2px solid transparent;display:inline-block}ptc-footer .footer-bottom .logo a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}ptc-footer .footer-bottom .logo .footer-ptc-logo{width:78px;height:28px}@media only screen and (min-width: 992px){ptc-footer .footer-bottom .logo{margin-bottom:0}}@media only screen and (min-width: 992px){ptc-footer .footer-bottom .copyright-list .copyright{margin-left:20px}}@media only screen and (min-width: 992px){ptc-footer .footer-bottom .copyright-list{display:flex;align-items:center}}ptc-footer .footer-bottom .copyright-list ul{margin-top:var(--ptc-element-spacing-04)}@media only screen and (min-width: 992px){ptc-footer .footer-bottom .copyright-list ul{margin-left:40px;margin-top:0}}ptc-footer .footer-bottom .copyright-list ul li{display:inline-block;margin:0 12px}ptc-footer .footer-bottom .copyright-list ul li:first-child{margin-left:0}ptc-footer .footer-bottom .copyright-list ul li:last-child{margin-right:0}ptc-footer .footer-bottom .copyright-list ul li a{display:block;padding:6px 0}ptc-footer .f-desktop-div{display:none}@media only screen and (min-width: 1200px){ptc-footer .f-desktop-div{display:block}}ptc-footer .f-mobile-div{display:block}@media only screen and (min-width: 1200px){ptc-footer .f-mobile-div{display:none}}ptc-footer .ft-grid{display:flex;justify-content:space-between;align-items:flex-start;align-content:flex-start;row-gap:48px;align-self:stretch;flex-flow:row wrap}@media only screen and (min-width: 992px){ptc-footer .ft-grid{row-gap:56px}}ptc-footer .ft-grid .ft-col{display:flex;flex-direction:column;align-items:flex-start;gap:24px}@media only screen and (min-width: 992px){ptc-footer .ft-grid .ft-col{padding-right:64px}}ptc-footer .ft-grid .ft-cards{padding-right:0;width:100%}@media only screen and (min-width: 992px){ptc-footer .ft-grid .ft-cards{padding-right:48px;width:auto}}@media only screen and (min-width: 1200px){ptc-footer .ft-grid .ft-cards{padding-right:64px}}ptc-footer .ft-grid .ft-cards max-width-container{width:100%;margin-top:0}@media only screen and (min-width: 992px){ptc-footer .ft-grid .ft-cards max-width-container{width:auto}}ptc-footer .ft-grid .ft-menu{padding-right:16px;width:100%}@media only screen and (min-width: 480px){ptc-footer .ft-grid .ft-menu{padding-right:56px}}@media only screen and (min-width: 992px){ptc-footer .ft-grid .ft-menu{width:auto;max-width:365px;padding-right:0}}@media (min-width: 998px){ptc-footer .ft-grid .ft-menu{min-width:360px}}@media only screen and (min-width: 1200px){ptc-footer .ft-grid .ft-menu{padding-right:64px;min-width:413px;max-width:min-content}}ptc-footer .ft-grid .ft-social{display:flex;padding-right:0;width:100%;justify-content:flex-start;align-items:center;flex-direction:column;gap:48px}@media only screen and (min-width: 992px){ptc-footer .ft-grid .ft-social{flex-direction:row}}@media only screen and (min-width: 1200px){ptc-footer .ft-grid .ft-social{width:auto;justify-content:space-between;align-items:flex-end;flex-direction:column}}ptc-footer .ft-grid .ft-cn-contact{width:100%;text-align:center}";
203
-
204
- const PtcFooter = class {
205
- constructor(hostRef) {
206
- registerInstance(this, hostRef);
207
- this.isTabMob = undefined;
208
- this.backgroundImage = undefined;
209
- }
210
- handleWindowResize() {
211
- this.setEqualHeights('ptc-icon-card');
212
- this.isTabMob = window.innerWidth < 1200;
213
- if (!this.isTabMob) {
214
- this.setEqualHeights('.ft-col');
215
- }
216
- else {
217
- document.querySelectorAll('.ft-col').forEach((col) => {
218
- col.style.height = 'auto';
219
- });
220
- }
221
- }
222
- componentWillLoad() {
223
- this.isTabMob = window.innerWidth < 1200;
224
- }
225
- componentDidLoad() {
226
- this.setEqualHeights('ptc-icon-card');
227
- if (!this.isTabMob) {
228
- this.setEqualHeights('.ft-col');
229
- }
230
- else {
231
- document.querySelectorAll('.ft-col').forEach((col) => {
232
- col.style.height = 'auto';
233
- });
234
- }
235
- }
236
- setEqualHeights(selector) {
237
- const cards = document.querySelectorAll(selector);
238
- let maxHeight = 0;
239
- // Reset all heights to auto to properly recalculate the tallest one
240
- cards.forEach((card) => {
241
- card.style.height = 'auto';
242
- });
243
- // Calculate the maximum height
244
- cards.forEach((card) => {
245
- const cardHeight = card.offsetHeight;
246
- if (cardHeight > maxHeight) {
247
- maxHeight = cardHeight;
248
- }
249
- });
250
- // Set the height of all cards to the maximum height
251
- cards.forEach((card) => {
252
- card.style.height = `${maxHeight}px`;
253
- });
254
- }
255
- render() {
256
- return (h$1(Host, null, h$1("div", { class: "footer-bg-wrap" }, h$1("div", { class: 'footer-bg', style: { backgroundImage: `url(${this.backgroundImage})` } }), h$1("slot", null)), h$1("slot", { name: 'footer-bottom-slot' })));
257
- }
258
- };
259
- PtcFooter.style = ptcFooterV2Css;
260
-
261
- const ptcIconCardCss = "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;height:100%}:host .tracker-div{display:inline}@supports (hyphenate-limit-chars: 10 3 3){:host{hyphenate-limit-chars:10 4 4}}:host a{display:block;padding:20px;background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:2px solid transparent;align-items:center;text-decoration:none;text-align:center;box-sizing:border-box;height:100%;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}@media only screen and (min-width: 992px){:host a{padding:var(--ptc-layout-spacing-03)}}:host a>div{display:flex;width:100%;height:100%;flex-direction:column;text-align:center;justify-content:center;align-items:center}@media only screen and (min-width: 480px){:host a>div{flex-direction:row;text-align:left;justify-content:left}}:host a:hover{background-color:var(--color-gray-08)}:host a:active{transition:none;background-color:var(--color-gray-09)}:host a span{display:block}:host a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .dark-bg a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .card-icon{width:2rem;height:2rem;margin:auto;margin-bottom:1rem;margin-top:0}@media only screen and (min-width: 480px){:host .card-icon{margin:0 var(--ptc-element-spacing-04) 0 0}}:host .card-title{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-white)}";
262
-
263
- const PtcIconCard = class {
264
- constructor(hostRef) {
265
- registerInstance(this, hostRef);
266
- this.cardHref = undefined;
267
- this.target = undefined;
268
- this.trackerId = undefined;
269
- this.darkFocusState = false;
270
- }
271
- componentWillLoad() {
272
- CheckDarkFocusState(this, this.el, '.light-links,ptc-footer');
273
- }
274
- render() {
275
- return (h$1(Host, null, h$1("div", { id: this.trackerId, class: this.darkFocusState ? `tracker-div mf-listen dark-bg` : `tracker-div mf-listenstandard-bg` }, h$1("a", { href: this.cardHref, target: this.target }, h$1("div", null, h$1("span", { class: 'card-icon' }, h$1("slot", null)), h$1("div", { class: 'card-title' }, h$1("slot", { name: 'card-title' })))))));
276
- }
277
- get el() { return getElement(this); }
278
- };
279
- PtcIconCard.style = ptcIconCardCss;
280
-
281
- const ptcLinkCss = "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}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-extrabold);position:relative;line-height:var(--ptc-line-height-densest);outline:none;text-decoration:none;transition:color var(--ptc-transition-fast) var(--ptc-ease-inout)}.ptc-link.focus-state-dark-background{border:2px solid transparent;margin:-2px}.ptc-link:active{transition:none}.ptc-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-link:focus-visible .focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.simple{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple.focus-state-dark-background{border:2px solid transparent;margin:-2px}.simple:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:active{transition:none}.simple:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.global{font-style:var(--ptc-letter-spacing-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out)}.global:visited{color:var(--color-blue-10)}.global:active,.global:visited:active{color:var(--color-blue-09);transition:none}.global:hover,.global:visited:hover{color:var(--color-blue-08)}.global.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.product-link{font-weight:var(--ptc-font-weight-extrabold);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:active{transition:none}.underline{border-bottom:2px solid var(--color-green-06)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.underline:active{transition:none}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.medium-large{font-size:var(--ptc-font-size-small)}.large{font-size:var(--ptc-font-size-medium)}.nav-title:focus,.nav-title-link:focus,.nav-card-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title:active,.nav-title-link:active,.nav-card-link:active,.primary-nav-link:active,.secondary-nav-link:active,.footer-nav-link:active,.copyright-link:active{transition:none}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.primary-nav-link:active{transition:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.nav-title-link:active{transition:none}.nav-card-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-white);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 1200px){.nav-card-link{font-size:var(--ptc-font-size-xxx-small)}}.nav-card-link:hover{color:var(--color-white);text-decoration:underline var(--color-green-06) solid 1px;text-underline-offset:2px}.nav-card-link:active{transition:none}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.secondary-nav-link:active{transition:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.footer-nav-link:active{transition:none}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.d-green-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:hover{color:var(--color-green-06)}.d-green-underline:active{transition:none}.d-green-underline:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.d-white-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-white);text-underline-offset:5px}.link-area-cover-parent{position:static}.link-area-cover-parent::after{content:\"\";position:absolute;width:100%;height:100%;inset:0;z-index:2}.standard-link,.blog-link{font-weight:800;line-height:1;display:flex;align-items:center;color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.standard-link:hover,.blog-link:hover{color:var(--color-green-06)}.standard-link:active,.blog-link:active{transition:none}.w-thin{font-weight:var(--ptc-font-weight-thin)}.w-regular{font-weight:var(--ptc-font-weight-regular)}.w-medium{font-weight:var(--ptc-font-weight-medium)}.w-semibold{font-weight:var(--ptc-font-weight-semibold)}.w-bold{font-weight:var(--ptc-font-weight-bold)}.w-extrabold{font-weight:var(--ptc-font-weight-extrabold)}.w-black{font-weight:var(--ptc-font-weight-black)}.utility-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-13);font-stretch:100%;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-green-06);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-x-small)}.utility-nav-link:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.utility-nav-link:active{transition:none}.tracker-div{display:inline}";
282
-
283
- const PtcLink = class {
284
- constructor(hostRef) {
285
- registerInstance(this, hostRef);
286
- this.disabled = false;
287
- this.external = false;
288
- this.href = undefined;
289
- this.target = '_self';
290
- this.linkTitle = undefined;
291
- this.theme = 'simple';
292
- this.fontSize = 'medium';
293
- this.fontWeight = undefined;
294
- this.linkArea = undefined;
295
- this.seoCompatibilityMode = false;
296
- this.styles = undefined;
297
- this.trackerId = undefined;
298
- this.tabNav = 0;
299
- this.darkFocusState = false;
300
- }
301
- componentWillLoad() {
302
- CheckDarkFocusState(this, this.el);
303
- }
304
- seoCompRender() {
305
- const classMap = this.getCssClassMap();
306
- const [TagType, firstChild] = getSeoTagType(this.el, "a");
307
- const html = firstChild && firstChild.innerHTML;
308
- if (this.el == firstChild) {
309
- this.el.innerHTML = '';
310
- }
311
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1(TagType, Object.assign({ class: classMap, innerHTML: html, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h$1("slot", null)))));
312
- }
313
- standardRender() {
314
- const classMap = this.getCssClassMap();
315
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h$1("a", Object.assign({ class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h$1("slot", null)))));
316
- }
317
- // render() {
318
- // const classMap = this.getCssClassMap();
319
- // return (
320
- // <Host>
321
- // {this.styles && <style>{this.styles}</style>}
322
- // <a class={classMap} href={this.href} target={this.external ? '_blank' : this.target} title={this.linkTitle}>
323
- // <slot></slot>
324
- // </a>
325
- // </Host>
326
- // );
327
- // }
328
- render() {
329
- if (this.seoCompatibilityMode) {
330
- return this.seoCompRender();
331
- }
332
- else {
333
- return this.standardRender();
334
- }
335
- }
336
- getCssClassMap() {
337
- const classOptions = [
338
- 'simple',
339
- 'underline',
340
- 'nav-title',
341
- 'primary-nav-link',
342
- 'nav-title-link',
343
- 'nav-card-link',
344
- 'secondary-nav-link',
345
- 'footer-nav-link',
346
- 'copyright-link',
347
- 'product-link',
348
- 'd-green-underline',
349
- 'd-white-underline',
350
- 'global',
351
- 'utility-nav-link'
352
- ];
353
- let mainClass = this.theme;
354
- if (classOptions.indexOf(mainClass) < 0) {
355
- mainClass = 'simple'; // fallback to simple class if theme is unavailable
356
- }
357
- return {
358
- ['ptc-link']: true,
359
- [mainClass]: true,
360
- ['disabled']: this.disabled,
361
- [this.fontSize]: true,
362
- [this.linkArea]: this.linkArea ? true : false,
363
- [this.fontWeight]: this.fontWeight ? true : false,
364
- ['focus-state-dark-background']: this.darkFocusState
365
- };
366
- }
367
- get el() { return getElement(this); }
368
- };
369
- PtcLink.style = ptcLinkCss;
370
-
371
- /*
372
- * mobile-select v1.4.0
373
- * Homepage: https://github.com/onlyhom/mobile-select
374
- * Released under the MIT License.
375
- * (c) 2017-present
376
- */
377
- var S = Object.defineProperty;
378
- var D = (g, t, e) => t in g ? S(g, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : g[t] = e;
379
- var h = (g, t, e) => (D(g, typeof t != "symbol" ? t + "" : t, e), e);
380
- function w() {
381
- return !navigator.userAgent.toLowerCase().match(/ipad|iphone os|midp|rv:1.2.3.4|ucweb|android|windows ce|windows mobile/);
382
- }
383
- const l = class {
384
- constructor(t) {
385
- h(this, "mobileSelect");
386
- h(this, "trigger");
387
- h(this, "wheelList");
388
- h(this, "sliderList");
389
- h(this, "wheelsContain");
390
- h(this, "panel");
391
- h(this, "ensureBtn");
392
- h(this, "cancelBtn");
393
- h(this, "grayLayer");
394
- h(this, "popUp");
395
- h(this, "initPosition");
396
- h(this, "initColWidth");
397
- h(this, "wheelsData");
398
- h(this, "displayJson");
399
- h(this, "curValue");
400
- h(this, "curIndexArr");
401
- h(this, "isCascade");
402
- h(this, "isJsonType");
403
- h(this, "startY");
404
- h(this, "moveEndY");
405
- h(this, "moveY");
406
- h(this, "preMoveY");
407
- h(this, "offsetY");
408
- h(this, "offsetSum");
409
- h(this, "oversizeBorder");
410
- h(this, "enableClickStatus");
411
- h(this, "optionHeight");
412
- h(this, "curDistance");
413
- h(this, "cascadeJsonData");
414
- h(this, "eventHandleMap");
415
- h(this, "initDeepCount");
416
- h(this, "config");
417
- !l.checkRequiredConfig(t) || (this.config = Object.assign({}, l.defaultConfig, t), this.wheelsData = t.wheels, this.isJsonType = !1, this.cascadeJsonData = [], this.displayJson = [], this.curValue = [], this.curIndexArr = [], this.isCascade = !1, this.offsetY = 0, this.offsetSum = 0, this.curDistance = [], this.enableClickStatus = !1, this.optionHeight = 0, this.initPosition = t.position || [], this.initColWidth = t.colWidth || [], this.init());
418
- }
419
- init() {
420
- if (!this.checkTriggerAvailable())
421
- return;
422
- const { config: t } = this;
423
- if (this.isJsonType = l.checkDataType(this.wheelsData), this.renderComponent(this.wheelsData), this.wheelList = this.mobileSelect.getElementsByClassName("ms-wheel"), this.sliderList = this.mobileSelect.getElementsByClassName("ms-select-container"), this.panel = this.mobileSelect.querySelector(".ms-panel"), this.wheelsContain = this.mobileSelect.querySelector(".ms-wheels"), this.ensureBtn = this.mobileSelect.querySelector(".ms-ensure"), this.cancelBtn = this.mobileSelect.querySelector(".ms-cancel"), this.grayLayer = this.mobileSelect.querySelector(".ms-gray-layer"), this.popUp = this.mobileSelect.querySelector(".ms-content"), this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight, t.initValue && this.setTriggerInnerText(t.initValue), this.setStyle(t), this.isCascade = this.checkCascade(), this.isCascade && this.initCascade(), t.initValue && (this.initPosition = this.getPositionByInitValue()), this.initPosition.length < this.sliderList.length) {
424
- const e = this.sliderList.length - this.initPosition.length;
425
- for (let i = 0; i < e; i++)
426
- this.initPosition.push(0);
427
- }
428
- this.isCascade ? this.initPosition.forEach((e, i) => {
429
- this.checkRange(i, this.initPosition);
430
- }) : this.setCurDistance(this.initPosition), this.eventHandleMap = {
431
- cancelBtn: {
432
- event: "click",
433
- fn: () => {
434
- var e, i, s, n;
435
- this.hide(), (i = (e = this.config).cancel) == null || i.call(e, this.curIndexArr, this.curValue, this), (n = (s = this.config).onCancel) == null || n.call(s, this.curValue, this.curIndexArr, this);
436
- }
437
- },
438
- ensureBtn: {
439
- event: "click",
440
- fn: () => {
441
- var e, i, s, n;
442
- this.hide(), this.optionHeight || (this.optionHeight = this.mobileSelect.querySelector("li").offsetHeight), this.setTriggerInnerText(this.getConnectedString()), this.curIndexArr = this.getIndexArr(), this.curValue = this.getCurValue(), (i = (e = this.config).callback) == null || i.call(e, this.curIndexArr, this.curValue, this), (n = (s = this.config).onChange) == null || n.call(s, this.curValue, this.curIndexArr, this);
443
- }
444
- },
445
- trigger: {
446
- event: "click",
447
- fn: () => {
448
- this.show();
449
- }
450
- },
451
- grayLayer: {
452
- event: "click",
453
- fn: () => this.hide()
454
- },
455
- popUp: {
456
- event: "click",
457
- fn: (e) => e.stopPropagation()
458
- },
459
- panel: {
460
- event: ["touchstart", "touchend", "touchmove"],
461
- fn: (e) => this.touch(e)
462
- }
463
- }, w() && (this.eventHandleMap.panel.event = ["mousedown", "mousemove", "mouseup"]), this.registerEvents("add"), this.fixRowStyle(), t.autoFocus && this.show();
464
- }
465
- static checkDataType(t) {
466
- var e, i;
467
- return typeof ((i = (e = t[0]) == null ? void 0 : e.data) == null ? void 0 : i[0]) == "object";
468
- }
469
- static checkRequiredConfig(t) {
470
- const e = l.REQUIRED_PARAMS;
471
- if (!t) {
472
- const i = e.map((s) => `'${s}'`);
473
- return l.log("error", `missing required param ${i.join(" and ")}.`), !1;
474
- }
475
- for (let i = 0; i < e.length; i++) {
476
- const s = e[i];
477
- if (!t[s])
478
- return l.log("error", `missing required param '${s}'.`), !1;
479
- }
480
- return !0;
481
- }
482
- static log(t, e) {
483
- var i;
484
- (i = console[t]) == null || i.call(console, `[mobile-select]: ${e}`);
485
- }
486
- checkTriggerAvailable() {
487
- const { config: t } = this;
488
- return this.trigger = t.trigger instanceof HTMLElement ? t.trigger : document.querySelector(t.trigger), this.trigger ? !0 : (l.log("error", "trigger HTMLElement does not found on your document."), !1);
489
- }
490
- getPositionByInitValue() {
491
- var n;
492
- const { keyMap: t, connector: e, initValue: i } = this.config, s = (i == null ? void 0 : i.split(e)) || [];
493
- if (this.isJsonType) {
494
- let o = (n = this.wheelsData[0]) == null ? void 0 : n.data;
495
- return s.reduce((r, c) => {
496
- var u;
497
- const a = o == null ? void 0 : o.findIndex((d) => d[t.value] == c);
498
- return r.push(a < 0 ? 0 : a), o = (u = o[a]) == null ? void 0 : u[t.childs], r;
499
- }, []);
500
- }
501
- return s.reduce((o, r, c) => {
502
- var u, d;
503
- const a = (d = (u = this.wheelsData[c]) == null ? void 0 : u.data) == null ? void 0 : d.findIndex((f) => f == r);
504
- return o.push(a < 0 ? 0 : a), o;
505
- }, []);
506
- }
507
- getConnectedString() {
508
- let t = "";
509
- for (let e = 0; e < this.wheelList.length; e++)
510
- e == this.wheelList.length - 1 ? t += this.getInnerText(e) : t += this.getInnerText(e) + this.config.connector;
511
- return t;
512
- }
513
- setTriggerInnerText(t) {
514
- this.config.triggerDisplayValue && (this.trigger.textContent = t);
515
- }
516
- setValue(t) {
517
- if (!t || !t.length)
518
- return;
519
- if (this.isJsonType && typeof t[0] != "object" || !this.isJsonType && typeof t[0] == "object") {
520
- l.log("error", `The setValue() input format should be same with getValue(), like: ${JSON.stringify(this.getValue())}`);
521
- return;
522
- }
523
- const { keyMap: e } = this.config;
524
- t.forEach((i, s) => {
525
- var r;
526
- const n = this.isCascade ? this.displayJson[s] : (r = this.wheelsData[s]) == null ? void 0 : r.data, o = n == null ? void 0 : n.findIndex((c) => this.isJsonType ? i[e.id] == c[e.id] || i[e.value] == c[e.value] : i == c);
527
- this.locatePosition(s, o);
528
- }), this.setTriggerInnerText(this.getConnectedString());
529
- }
530
- setTitle(t) {
531
- this.mobileSelect.querySelector(".ms-title").innerHTML = t;
532
- }
533
- setStyle(t) {
534
- if (t.ensureBtnColor && (this.ensureBtn.style.color = t.ensureBtnColor), t.cancelBtnColor && (this.cancelBtn.style.color = t.cancelBtnColor), t.titleColor) {
535
- const e = this.mobileSelect.querySelector(".ms-title");
536
- e.style.color = t.titleColor;
537
- }
538
- if (t.textColor && (this.panel = this.mobileSelect.querySelector(".ms-panel"), this.panel.style.color = t.textColor), t.titleBgColor) {
539
- const e = this.mobileSelect.querySelector(".ms-btn-bar");
540
- e.style.backgroundColor = t.titleBgColor;
541
- }
542
- if (t.bgColor) {
543
- this.panel = this.mobileSelect.querySelector(".ms-panel");
544
- const e = this.mobileSelect.querySelector(".ms-shadow-mask");
545
- this.panel.style.backgroundColor = t.bgColor, e.style.background = "linear-gradient(to bottom, " + t.bgColor + ", rgba(255, 255, 255, 0), " + t.bgColor + ")";
546
- }
547
- if (typeof t.maskOpacity == "number") {
548
- const e = this.mobileSelect.querySelector(".ms-gray-layer");
549
- e.style.background = "rgba(0, 0, 0, " + t.maskOpacity + ")";
550
- }
551
- }
552
- show() {
553
- var t, e, i;
554
- this.mobileSelect.classList.add("ms-show"), (t = document.querySelector("body")) == null || t.classList.add("ms-show"), typeof this.config.onShow == "function" && ((i = (e = this.config).onShow) == null || i.call(e, this.curValue, this.curIndexArr, this));
555
- }
556
- hide() {
557
- var t, e, i;
558
- this.mobileSelect.classList.remove("ms-show"), (t = document.querySelector("body")) == null || t.classList.remove("ms-show"), typeof this.config.onHide == "function" && ((i = (e = this.config).onHide) == null || i.call(e, this.curValue, this.curIndexArr, this));
559
- }
560
- registerEvents(t) {
561
- for (const [e, i] of Object.entries(this.eventHandleMap))
562
- typeof i.event == "string" ? this[e][`${t}EventListener`](i.event, i.fn, { passive: !1 }) : i.event.forEach((s) => {
563
- this[e][`${t}EventListener`](s, i.fn, { passive: !1 });
564
- });
565
- }
566
- destroy() {
567
- var t, e;
568
- this.registerEvents("remove"), (e = (t = this.mobileSelect) == null ? void 0 : t.parentNode) == null || e.removeChild(this.mobileSelect);
569
- }
570
- getOptionsHtmlStr(t) {
571
- const { keyMap: e } = this.config;
572
- let i = "";
573
- if (this.isJsonType)
574
- for (let s = 0; s < t.length; s++) {
575
- const n = t[s][e.id], o = t[s][e.value];
576
- i += `<li data-id="${n}">${o}</li>`;
577
- }
578
- else
579
- for (let s = 0; s < t.length; s++)
580
- i += "<li>" + t[s] + "</li>";
581
- return i;
582
- }
583
- renderComponent(t) {
584
- this.mobileSelect = document.createElement("div"), this.mobileSelect.className = "ms-mobile-select", this.mobileSelect.innerHTML = `<div class="ms-gray-layer"></div>
585
- <div class="ms-content">
586
- <div class="ms-btn-bar">
587
- <div class="ms-fix-width">
588
- <div class="ms-cancel">${this.config.cancelBtnText}</div>
589
- <div class="ms-title">${this.config.title || ""}</div>
590
- <div class="ms-ensure">${this.config.ensureBtnText}</div>
591
- </div>
592
- </div>
593
- <div class="ms-panel">
594
- <div class="ms-fix-width">
595
- <div class="ms-wheels"></div>
596
- <div class="ms-select-line"></div>
597
- <div class="ms-shadow-mask"></div>
598
- </div>
599
- </div>`, document.body.appendChild(this.mobileSelect);
600
- let e = "";
601
- for (let i = 0; i < t.length; i++)
602
- e += `<div class="ms-wheel" data-index="${i}"><ul class="ms-select-container">`, e += this.getOptionsHtmlStr(t[i].data), e += "</ul></div>";
603
- this.mobileSelect.querySelector(".ms-wheels").innerHTML = e;
604
- }
605
- reRenderWheels() {
606
- const t = this.wheelList.length - this.displayJson.length;
607
- if (t > 0)
608
- for (let e = 0; e < t; e++)
609
- this.wheelsContain.removeChild(this.wheelList[this.wheelList.length - 1]);
610
- for (let e = 0; e < this.displayJson.length; e++)
611
- if (this.wheelList[e])
612
- this.sliderList[e].innerHTML = this.getOptionsHtmlStr(this.displayJson[e]);
613
- else {
614
- const i = document.createElement("div");
615
- i.className = "ms-wheel", i.innerHTML = `<ul class="ms-select-container">${this.getOptionsHtmlStr(this.displayJson[e])}</ul>`, i.setAttribute("data-index", e.toString()), this.wheelsContain.appendChild(i);
616
- }
617
- }
618
- checkCascade() {
619
- var e;
620
- const { keyMap: t } = this.config;
621
- if (this.isJsonType) {
622
- const i = this.wheelsData[0].data;
623
- for (let s = 0; s < i.length; s++)
624
- if (t.childs in i[s] && ((e = i[s][t.childs]) == null ? void 0 : e.length) > 0)
625
- return this.cascadeJsonData = this.wheelsData[0].data, !0;
626
- }
627
- return !1;
628
- }
629
- initCascade() {
630
- this.displayJson.push(this.cascadeJsonData), this.initPosition.length > 0 ? (this.initDeepCount = 0, this.initCheckArrDeep(this.cascadeJsonData[this.initPosition[0]])) : this.checkArrDeep(this.cascadeJsonData[0]), this.reRenderWheels();
631
- }
632
- initCheckArrDeep(t) {
633
- if (t) {
634
- const { keyMap: e } = this.config;
635
- if (e.childs in t && t[e.childs].length > 0) {
636
- this.displayJson.push(t[e.childs]), this.initDeepCount++;
637
- const i = t[e.childs][this.initPosition[this.initDeepCount]];
638
- i ? this.initCheckArrDeep(i) : this.checkArrDeep(t[e.childs][0]);
639
- }
640
- }
641
- }
642
- checkArrDeep(t) {
643
- if (!t)
644
- return;
645
- const { keyMap: e } = this.config;
646
- e.childs in t && t[e.childs].length > 0 && (this.displayJson.push(t[e.childs]), this.checkArrDeep(t[e.childs][0]));
647
- }
648
- checkRange(t, e) {
649
- var o;
650
- const i = this.displayJson.length - 1 - t, { keyMap: s } = this.config;
651
- for (let r = 0; r < i; r++)
652
- this.displayJson.pop();
653
- let n;
654
- for (let r = 0; r <= t; r++)
655
- n = r == 0 ? this.cascadeJsonData[e[0]] : (o = n == null ? void 0 : n[s.childs]) == null ? void 0 : o[e[r]];
656
- this.checkArrDeep(n), this.reRenderWheels(), this.fixRowStyle(), this.setCurDistance(this.resetPosition(t, e));
657
- }
658
- resetPosition(t, e) {
659
- const i = [...e];
660
- let s;
661
- if (this.sliderList.length > e.length) {
662
- s = this.sliderList.length - e.length;
663
- for (let n = 0; n < s; n++)
664
- i.push(0);
665
- } else if (this.sliderList.length < e.length) {
666
- s = e.length - this.sliderList.length;
667
- for (let n = 0; n < s; n++)
668
- i.pop();
669
- }
670
- for (let n = t + 1; n < i.length; n++)
671
- i[n] = 0;
672
- return i;
673
- }
674
- updateWheels(t) {
675
- if (this.isCascade) {
676
- if (this.cascadeJsonData = t, this.displayJson = [], this.initCascade(), this.initPosition.length < this.sliderList.length) {
677
- const e = this.sliderList.length - this.initPosition.length;
678
- for (let i = 0; i < e; i++)
679
- this.initPosition.push(0);
680
- }
681
- this.setCurDistance(this.initPosition), this.fixRowStyle();
682
- }
683
- }
684
- updateWheel(t, e) {
685
- if (this.isCascade) {
686
- l.log("error", "'updateWheel()' not support cascade json data, please use 'updateWheels()' instead to update the whole data source");
687
- return;
688
- }
689
- let i = "";
690
- i += this.getOptionsHtmlStr(e), this.wheelsData[t] = this.isJsonType ? { data: e } : e, this.sliderList[t].innerHTML = i;
691
- }
692
- fixRowStyle() {
693
- if (this.initColWidth.length && this.initColWidth.length === this.wheelList.length) {
694
- const e = this.initColWidth.reduce((i, s) => i + s, 0);
695
- this.initColWidth.forEach((i, s) => {
696
- this.wheelList[s].style.width = (i / e * 100).toFixed(2) + "%";
697
- });
698
- return;
699
- }
700
- const t = (100 / this.wheelList.length).toFixed(2);
701
- for (let e = 0; e < this.wheelList.length; e++)
702
- this.wheelList[e].style.width = t + "%";
703
- }
704
- getIndex(t) {
705
- return Math.round((2 * this.optionHeight - t) / this.optionHeight);
706
- }
707
- getIndexArr() {
708
- const t = [];
709
- for (let e = 0; e < this.curDistance.length; e++)
710
- t.push(this.getIndex(this.curDistance[e]));
711
- return t;
712
- }
713
- getCurValue() {
714
- const t = [], e = this.getIndexArr(), { keyMap: i } = this.config;
715
- if (this.isCascade)
716
- for (let s = 0; s < this.wheelList.length; s++) {
717
- const n = this.displayJson[s][e[s]];
718
- n && t.push({
719
- [i.id]: n[i.id],
720
- [i.value]: n[i.value]
721
- });
722
- }
723
- else if (this.isJsonType)
724
- for (let s = 0; s < this.curDistance.length; s++)
725
- t.push(this.wheelsData[s].data[this.getIndex(this.curDistance[s])]);
726
- else
727
- for (let s = 0; s < this.curDistance.length; s++)
728
- t.push(this.getInnerText(s));
729
- return t;
730
- }
731
- getValue() {
732
- return this.getCurValue();
733
- }
734
- calcDistance(t) {
735
- return 2 * this.optionHeight - t * this.optionHeight;
736
- }
737
- setCurDistance(t) {
738
- const e = [];
739
- for (let i = 0; i < this.sliderList.length; i++)
740
- e.push(this.calcDistance(t[i])), this.movePosition(this.sliderList[i], e[i]);
741
- this.curDistance = e;
742
- }
743
- fixPosition(t) {
744
- return -(this.getIndex(t) - 2) * this.optionHeight;
745
- }
746
- movePosition(t, e) {
747
- t.style.transform = "translate3d(0," + e + "px, 0)";
748
- }
749
- locatePosition(t, e) {
750
- t === void 0 || e === void 0 || e < 0 || (this.curDistance[t] = this.calcDistance(e), this.movePosition(this.sliderList[t], this.curDistance[t]), this.isCascade && this.checkRange(t, this.getIndexArr()));
751
- }
752
- updateCurDistance(t, e) {
753
- this.curDistance[e] = parseInt(t.style.transform.split(",")[1]);
754
- }
755
- getInnerText(t) {
756
- var s;
757
- const e = this.sliderList[t].getElementsByTagName("li").length;
758
- let i = this.getIndex(this.curDistance[t]);
759
- return i >= e ? i = e - 1 : i < 0 && (i = 0), ((s = this.sliderList[t].getElementsByTagName("li")[i]) == null ? void 0 : s.textContent) || "";
760
- }
761
- touch(t) {
762
- var o, r, c, a, u, d, f, v;
763
- const i = (t.composedPath && t.composedPath()).find((m) => {
764
- var p;
765
- return (p = m.classList) == null ? void 0 : p.contains("ms-wheel");
766
- });
767
- if (!i)
768
- return;
769
- const s = i.firstChild, n = parseInt(i.getAttribute("data-index") || "0");
770
- switch (t.type) {
771
- case "touchstart":
772
- case "mousedown":
773
- s.style.transition = "none 0s ease-out", this.startY = Math.floor(t instanceof TouchEvent ? t.touches[0].clientY : t.clientY), this.preMoveY = this.startY, t.type === "mousedown" && (this.enableClickStatus = !0);
774
- break;
775
- case "touchmove":
776
- case "mousemove":
777
- if (t.preventDefault(), t.type === "mousemove" && !this.enableClickStatus)
778
- break;
779
- this.moveY = Math.floor(t instanceof TouchEvent ? t.touches[0].clientY : t.clientY), this.offsetY = (this.moveY - this.preMoveY) * this.config.scrollSpeed, this.updateCurDistance(s, n), this.curDistance[n] = this.curDistance[n] + this.offsetY, this.movePosition(s, this.curDistance[n]), this.preMoveY = this.moveY;
780
- break;
781
- case "touchend":
782
- case "mouseup":
783
- if (s.style.transition = "transform 0.18s ease-out", this.moveEndY = Math.floor(t instanceof TouchEvent ? t.changedTouches[0].clientY : t.clientY), this.offsetSum = this.moveEndY - this.startY, this.oversizeBorder = -(s.getElementsByTagName("li").length - 3) * this.optionHeight, this.offsetSum == 0) {
784
- const m = Math.floor((window.innerHeight - this.moveEndY) / 40);
785
- if (m != 2) {
786
- const p = m - 2, C = this.curDistance[n] + p * this.optionHeight;
787
- C <= 2 * this.optionHeight && C >= this.oversizeBorder && (this.curDistance[n] = C, this.movePosition(s, this.curDistance[n]), (r = (o = this.config).transitionEnd) == null || r.call(o, this.getIndexArr(), this.getCurValue(), this), (a = (c = this.config).onTransitionEnd) == null || a.call(c, this.getCurValue(), this.getIndexArr(), this));
788
- }
789
- } else
790
- this.updateCurDistance(s, n), this.curDistance[n] = this.fixPosition(this.curDistance[n]), this.curDistance[n] > 2 * this.optionHeight ? this.curDistance[n] = 2 * this.optionHeight : this.curDistance[n] < this.oversizeBorder && (this.curDistance[n] = this.oversizeBorder), this.movePosition(s, this.curDistance[n]), (d = (u = this.config).transitionEnd) == null || d.call(u, this.getIndexArr(), this.getCurValue(), this), (v = (f = this.config).onTransitionEnd) == null || v.call(f, this.getCurValue(), this.getIndexArr(), this);
791
- t.type === "mouseup" && (this.enableClickStatus = !1), this.isCascade && this.checkRange(n, this.getIndexArr());
792
- break;
793
- }
794
- }
795
- };
796
- let y = l;
797
- h(y, "defaultConfig", {
798
- keyMap: { id: "id", value: "value", childs: "childs" },
799
- position: [],
800
- colWidth: [],
801
- title: "",
802
- connector: " ",
803
- ensureBtnText: "\u786E\u8BA4",
804
- cancelBtnText: "\u53D6\u6D88",
805
- triggerDisplayValue: !0,
806
- scrollSpeed: 1
807
- }), h(y, "REQUIRED_PARAMS", ["trigger", "wheels"]);
808
-
809
- const ptcMobileSelectCss = ".ms-mobile-select{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s;transform:translate(0, 0)}.ms-mobile-select *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.ms-mobile-select .ms-gray-layer{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.ms-mobile-select .ms-content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.ms-mobile-select .ms-fix-width{width:90%;margin:0 auto;position:relative}.ms-mobile-select .ms-fix-width:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-btn-bar{border-bottom:1px solid #dcdcdc;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.ms-mobile-select .ms-cancel,.ms-mobile-select .ms-ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-cancel{left:0;color:#666}.ms-mobile-select .ms-ensure{right:0;color:#1e83d3}.ms-mobile-select .ms-title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ms-mobile-select .ms-panel:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.ms-mobile-select .ms-wheels{width:100%;height:200px;overflow:hidden}.ms-mobile-select .ms-wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.ms-mobile-select .ms-select-container{display:block;text-align:center}.ms-mobile-select .ms-select-container li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-tap-highlight-color:rgba(0, 0, 0, 0)}.ms-mobile-select .ms-select-line{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #dcdcdc;border-bottom:1px solid #dcdcdc}.ms-mobile-select .ms-shadow-mask{position:absolute;top:0;width:100%;height:200px;background:linear-gradient(to bottom, #fffffff5, #ffffffcc 25%, #ffffff00 49%, #ffffff00 51%, #ffffffcc 75%, #fffffff5);opacity:0.9;pointer-events:none}.ms-mobile-select.ms-show{opacity:1;z-index:10000;visibility:visible}.ms-mobile-select.ms-show .ms-content{bottom:0}.ms-default-trigger{min-height:1em;color:#888}body.ms-show{overflow-y:hidden}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}}.mobile-select-wrapper{display:block;cursor:pointer}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobile-select-wrapper:focus-visible{padding:2px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}.ms-mobile-select.ms-show .ms-cancel,.ms-mobile-select.ms-show .ms-ensure{width:auto}";
810
-
811
- class MobileSelectedItem {
812
- }
813
- const PtcMobileSelect = class {
814
- constructor(hostRef) {
815
- registerInstance(this, hostRef);
816
- this.selectionChanged = createEvent(this, "selectionChanged", 7);
817
- this.triggerName = undefined;
818
- this.selectedText = undefined;
819
- this.wheelData = undefined;
820
- this.selectedId = '';
821
- this.ensureBtnText = 'Confirm';
822
- this.cancelBtnText = 'Cancel';
823
- this.listTitle = undefined;
824
- this.notFoundPopupProceedButton = undefined;
825
- }
826
- componentWillLoad() {
827
- this.notFoundPopupProceedButton = document.querySelector("#translation-popup-button");
828
- if (this.notFoundPopupProceedButton) {
829
- this.notFoundPopupProceedButton.addEventListener('click', () => {
830
- let footerNav = document.querySelector("footer-nav");
831
- if (footerNav) {
832
- let currentLang = footerNav.getAttribute('ms-selected-text');
833
- let langText = document.querySelector("footer-nav #lang-ddl");
834
- if (langText && currentLang) {
835
- langText.innerHTML = currentLang;
836
- }
837
- }
838
- });
839
- }
840
- }
841
- wrapperClick(e) {
842
- if (e) {
843
- e.preventDefault();
844
- let elem = e.target;
845
- if (elem.id != this.triggerName) {
846
- let div = e.currentTarget;
847
- let trigger = div.querySelector(`#${this.triggerName}`);
848
- if (trigger) {
849
- trigger.click();
850
- }
851
- }
852
- }
853
- }
854
- render() {
855
- return (h$1("div", { class: "mobile-select-wrapper", "aria-selectlanguage": "Select Language", tabindex: "0", onKeyPress: (e) => { this.wrapperClick(e); } }, h$1("div", { onClick: (e) => { this.wrapperClick(e); } }, h$1("span", { id: this.triggerName }, this.selectedText), h$1("icon-asset", { type: "ptc", size: "x-small", name: "lang-drop-arrow", color: "white", "is-mobile-select": "true", "injected-style": "svg.ismobileselect{transform:translateX(10px); width: 13px !important;height: 10px !important;}" }))));
856
- }
857
- componentDidRender() {
858
- let that = this; //input current lang
859
- let storeIndex = 0;
860
- let mySelect = new y({
861
- trigger: `#${this.triggerName}`,
862
- title: `${this.listTitle ? this.listTitle : ''}`,
863
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
864
- position: [0],
865
- ensureBtnText: this.ensureBtnText,
866
- cancelBtnText: this.cancelBtnText,
867
- ensureBtnColor: 'var(--color-gray-12)',
868
- cancelBtnColor: 'var(--color-gray-12)',
869
- titleColor: 'var(--color-gray-12)',
870
- onShow: function (_1, _2, context) {
871
- if (that.selectedId) {
872
- /*let liEle = context.mobileSelect.querySelectorAll('[data-id]'); // document.querySelectorAll('.selectContainer li');
873
- liEle.forEach((currentValue, currentIndex) => {
874
- if (currentValue.getAttribute('data-id') == currentId) {
875
- storeIndex = currentIndex;
876
- return;
877
- }
878
- });*/
879
- try {
880
- const item = that.getMobileSelectedItem(context);
881
- context.locatePosition(0, item.index);
882
- storeIndex = item.index;
883
- //console.log("storeIndex: "+ storeIndex)
884
- }
885
- catch (error) {
886
- console.log(error);
887
- // debugger
888
- }
889
- //e.locatePosition(0, storeIndex);
890
- }
891
- else {
892
- return;
893
- }
894
- },
895
- callback: function (indexArr, data, context) {
896
- this.selectionChanged.emit({
897
- sender: context,
898
- index: indexArr && indexArr.length > 0 ? indexArr[0] : -1,
899
- data: data && data.length > 0 ? data[0] : undefined
900
- });
901
- if (data && data[0] && data[0].id != '#') {
902
- window.location.href = data[0].id;
903
- }
904
- else {
905
- if (!indexArr || isNaN(indexArr[0])) {
906
- const selectedItem = that.getMobileSelectedItem(context);
907
- context.locatePosition(0, selectedItem.index);
908
- context.setValue(this.wheelData[selectedItem.index]);
909
- context.setTriggerInnerText(selectedItem.value);
910
- context.show();
911
- }
912
- //console.log('href: ' + data[0].id + '; indexArr: ' + indexArr);
913
- }
914
- }.bind(this),
915
- });
916
- mySelect.locatePosition(0, storeIndex);
917
- }
918
- getMobileSelectedItem(context) {
919
- let result = new MobileSelectedItem;
920
- result.id = this.selectedId;
921
- let liEle = context.mobileSelect.querySelectorAll('[data-id]');
922
- liEle.forEach((currentValue, currentIndex) => {
923
- if (currentValue.getAttribute('data-id') == result.id) {
924
- result.index = currentIndex;
925
- result.value = currentValue.textContent;
926
- return;
927
- }
928
- });
929
- return result;
930
- }
931
- };
932
- PtcMobileSelect.style = ptcMobileSelectCss;
933
-
934
- const ptcModalCss = "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}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}:host(.event-listing) .wrapper .modal-popup{max-width:unset;width:calc(100% - 48px);top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px;position:absolute}";
935
-
936
- const PtcModal = class {
937
- constructor(hostRef) {
938
- registerInstance(this, hostRef);
939
- this.closed = createEvent(this, "closed", 7);
940
- this.opened = createEvent(this, "opened", 7);
941
- this.iframeUrl = undefined;
942
- this.size = 'sm';
943
- this.customClass = undefined;
944
- this.show = false;
945
- this.overlay = true;
946
- this.fixed = false;
947
- this.keepInViewport = false;
948
- this.closeOnBlur = false;
949
- this.rounded = false;
950
- this.hideContainer = false;
951
- this.showHeaderFooter = false;
952
- this.overlayHeight = undefined;
953
- this.borderRadius = 'standard';
954
- this.isBioModal = false;
955
- this.styles = undefined;
956
- this.modalType = 'default-modal';
957
- this.bodyOverflowSetting = undefined;
958
- }
959
- fireOnClosed(modal) {
960
- this.closed.emit(modal);
961
- document.activeElement.blur();
962
- }
963
- fireOnOpened(modal) {
964
- this.opened.emit(modal);
965
- setTimeout(() => {
966
- const wrapperEle = this.el.shadowRoot.querySelector('.wrapper');
967
- wrapperEle && wrapperEle.focus();
968
- }, 100);
969
- }
970
- componentWillLoad() {
971
- let body = document.querySelector('body');
972
- this.bodyOverflowSetting = {
973
- //overflow: body.style['overflow'],
974
- overflowY: body.style['overflowY'],
975
- overflowX: body.style['overflowX'],
976
- };
977
- }
978
- componentWillRender() {
979
- let body = document.querySelector('body');
980
- if (body) {
981
- if (this.show) {
982
- //body.style['overflow'] = 'hidden';
983
- if (this.fixed) {
984
- body.style['overflowY'] = 'hidden';
985
- body.style['overflowX'] = 'hidden';
986
- }
987
- else {
988
- body.style['overflowY'] = 'scroll';
989
- body.style['overflowX'] = 'hidden';
990
- }
991
- }
992
- else {
993
- //body.style['overflow'] = this.bodyOverflowSetting.overflow;
994
- body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
995
- body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
996
- }
997
- }
998
- }
999
- componentDidLoad() {
1000
- if (this.show) {
1001
- this.fireOnOpened(this);
1002
- }
1003
- if (this.showHeaderFooter) {
1004
- this.handleScroll();
1005
- }
1006
- }
1007
- componentDidUpdate() {
1008
- if (this.show) {
1009
- this.fireOnOpened(this);
1010
- }
1011
- else {
1012
- this.fireOnClosed(this);
1013
- }
1014
- }
1015
- resizeIframe(e) {
1016
- let iFrame = e.target;
1017
- setTimeout(() => {
1018
- try {
1019
- if (iFrame.contentDocument) {
1020
- iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
1021
- }
1022
- else {
1023
- iFrame.height = '616px'; //default
1024
- iFrame.removeAttribute('scrolling');
1025
- }
1026
- }
1027
- catch (error) {
1028
- console.log(error);
1029
- iFrame.height = '616px'; //default
1030
- iFrame.removeAttribute('scrolling');
1031
- }
1032
- iFrame.classList.add('ready');
1033
- }, 50);
1034
- }
1035
- handleScroll() {
1036
- let modal = this.el.shadowRoot.querySelector('.shadow-scroller');
1037
- if (modal) {
1038
- let body = modal.querySelector('.modal-body');
1039
- var height = body.clientHeight;
1040
- var scrollHeight = body.scrollHeight;
1041
- var scrollTop = body.scrollTop;
1042
- var offset = body.offsetHeight;
1043
- if (height < scrollHeight) { //has scrollbar
1044
- if (scrollTop > 0) { //can scroll up
1045
- modal.classList.add('scroll-top');
1046
- }
1047
- else {
1048
- modal.classList.remove('scroll-top');
1049
- }
1050
- if (offset + scrollTop < scrollHeight) { //can scroll down
1051
- modal.classList.add('scroll-bottom');
1052
- }
1053
- else {
1054
- modal.classList.remove('scroll-bottom');
1055
- }
1056
- }
1057
- }
1058
- }
1059
- close() {
1060
- this.show = false;
1061
- }
1062
- render() {
1063
- let content;
1064
- let overlay;
1065
- let type = this.iframeUrl ? 'frame' : 'html';
1066
- let closebtn = (h$1("div", { class: "close", id: "modal-close" }, h$1("ptc-close-icon", { onClick: (e) => { e.preventDefault(); this.close(); }, onKeyPress: (e) => { e.preventDefault(); this.close(); } })));
1067
- if (this.iframeUrl) {
1068
- content = (h$1("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
1069
- }
1070
- else {
1071
- if (this.showHeaderFooter) {
1072
- content = (h$1("slot", { name: "body" }));
1073
- }
1074
- else {
1075
- content = (h$1("slot", null));
1076
- }
1077
- }
1078
- if (this.overlay) {
1079
- if (this.closeOnBlur) {
1080
- overlay = h$1("div", { class: "overlay", onClick: (_) => this.close() });
1081
- }
1082
- else {
1083
- overlay = h$1("div", { class: "overlay" });
1084
- }
1085
- }
1086
- return (h$1(Host, { class: this.getCssClassMap() }, this.styles && h$1("style", null, this.styles), h$1("div", { class: `wrapper ${this.show ? "show" : "hide"} ${this.fixed ? 'fixed' : ''} ` }, overlay, h$1("div", { class: `modal-popup ${this.customClass ? this.customClass : ''} ${this.size} ${type} ${this.rounded ? 'rounded' : ''} ${this.showHeaderFooter ? 'shadow-scroller' : ''} ` }, this.showHeaderFooter ? [
1087
- h$1("div", { class: "modal-header" }, h$1("slot", { name: "header" }), closebtn),
1088
- h$1("div", { class: "modal-body", onScroll: () => this.handleScroll() }, content),
1089
- h$1("div", { class: "modal-footer" }, h$1("slot", { name: "footer" }))
1090
- ] : [
1091
- closebtn,
1092
- h$1("div", { class: "modal-body" }, content)
1093
- ]))));
1094
- }
1095
- getCssClassMap() {
1096
- return {
1097
- ["no-container"]: this.hideContainer,
1098
- ["bio-modal"]: this.isBioModal,
1099
- ["enclose-modal"]: !this.isBioModal && this.keepInViewport,
1100
- [this.borderRadius]: true,
1101
- [this.modalType]: true
1102
- };
1103
- }
1104
- async showModal() {
1105
- this.show = true;
1106
- }
1107
- async hideModal() {
1108
- this.show = false;
1109
- }
1110
- async toggleModal() {
1111
- this.show = !this.show;
1112
- }
1113
- async reloadIframe() {
1114
- if (this.iframeUrl) {
1115
- let iframe = this.el.shadowRoot.querySelector('iframe');
1116
- if (iframe) {
1117
- iframe.src = iframe.src;
1118
- }
1119
- }
1120
- }
1121
- get el() { return getElement(this); }
1122
- };
1123
- PtcModal.style = ptcModalCss;
1124
-
1125
- 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.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}}";
1126
-
1127
- const PtcPara = class {
1128
- constructor(hostRef) {
1129
- registerInstance(this, hostRef);
1130
- this.fontSize = 'x-small';
1131
- this.fontWeight = 'w-4';
1132
- this.paraStyle = 'default';
1133
- this.paraColor = 'primary-grey';
1134
- this.paraLineH = 'line-height-normal';
1135
- this.paraMargin = undefined;
1136
- this.paraAlign = undefined;
1137
- this.ellipsisLineCutoff = undefined;
1138
- this.paraZIndex = undefined;
1139
- this.styles = undefined;
1140
- this.seoCompatibilityMode = false;
1141
- this.tooltipZIndex = 'auto';
1142
- this.tooltipPosition = 'bottom';
1143
- this.tooltipTheme = 'standard';
1144
- this.enableTooltip = false;
1145
- this.maxChars = undefined;
1146
- this.maxLines = undefined;
1147
- this.hideTooltipOnMobile = false;
1148
- this.ismob = undefined;
1149
- this.noOverflow = false;
1150
- this.tooltipWidth = 'default';
1151
- }
1152
- // Tooltip Properties ends
1153
- render() {
1154
- if (this.seoCompatibilityMode) {
1155
- seoSlotReset(this.el);
1156
- }
1157
- return this.standardRender();
1158
- }
1159
- //tooltip code
1160
- getSortedText(content) {
1161
- if (!this.enableTooltip)
1162
- return;
1163
- const trimmedContent = content.trim();
1164
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
1165
- return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
1166
- }
1167
- componentDidLoad() {
1168
- if (this.hideTooltipOnMobile) {
1169
- this.el.classList.add('hide-tooltip-on-mobile');
1170
- }
1171
- this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
1172
- this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
1173
- if (this.enableTooltip) {
1174
- let paraContent = this.el.innerText || this.el.textContent;
1175
- this.tooltipText = paraContent.trim();
1176
- this.el.innerText = this.getSortedText(paraContent);
1177
- }
1178
- }
1179
- toggleTitleTooltip(show) {
1180
- const tooltipClass = 'tooltip-box';
1181
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1182
- const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
1183
- let maxLinesShowCheck = false;
1184
- if (text) {
1185
- text.forEach(t => {
1186
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1187
- });
1188
- }
1189
- const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
1190
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1191
- if (show && this.enableTooltip) {
1192
- if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
1193
- const tooltipMarkup = document.createElement('div');
1194
- tooltipMarkup.className = tooltipClass;
1195
- tooltipMarkup.innerText = this.tooltipText;
1196
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1197
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1198
- if (this.hideTooltipOnMobile) {
1199
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1200
- }
1201
- this.el.appendChild(tooltipMarkup);
1202
- }
1203
- }
1204
- else {
1205
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1206
- }
1207
- }
1208
- //tooltip code ends
1209
- standardRender() {
1210
- const classMap = this.getCssClassMap();
1211
- const colorClass = this.addWhiteClass();
1212
- const cutOff = this.getLineCuttoff();
1213
- return (h$1(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h$1("style", null, this.styles), h$1("p", { class: classMap, part: "part-para", style: cutOff }, h$1("slot", null))));
1214
- }
1215
- getCssClassMap() {
1216
- return {
1217
- [this.fontSize]: true,
1218
- [this.fontWeight]: true,
1219
- [this.paraStyle]: true,
1220
- [this.paraMargin]: !!this.paraMargin ? true : false,
1221
- [this.paraColor]: true,
1222
- [this.paraLineH]: true,
1223
- [this.paraAlign]: !!this.paraAlign ? true : false,
1224
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1225
- ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
1226
- };
1227
- }
1228
- //WEB-2392
1229
- addWhiteClass() {
1230
- if (this.paraColor == 'white') {
1231
- return {
1232
- [this.paraColor]: true,
1233
- };
1234
- }
1235
- }
1236
- getLineCuttoff() {
1237
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1238
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1239
- }
1240
- get el() { return getElement(this); }
1241
- };
1242
- PtcPara.style = ptcParaCss;
1243
-
1244
- 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}";
1245
-
1246
- const PtcPicture = class {
1247
- constructor(hostRef) {
1248
- registerInstance(this, hostRef);
1249
- this.src = undefined;
1250
- this.alt = 'image';
1251
- this.sizeXs = '510x340';
1252
- this.sizeSm = '1240x496';
1253
- this.sizeMd = '1366x500';
1254
- this.sizeLg = '1920x1080';
1255
- this.disableResize = false;
1256
- this.oldSrc = undefined;
1257
- this.imagePosition = 'static';
1258
- this.borderRadius = undefined;
1259
- this.height = undefined;
1260
- this.width = undefined;
1261
- this.objectFit = 'cover';
1262
- this.isFullHeight = false;
1263
- this.isFullWidth = false;
1264
- this.styles = undefined;
1265
- this.imageAlignment = 'left';
1266
- this.maxWidth = undefined;
1267
- this.displayImage = 'block';
1268
- }
1269
- WindowResize() {
1270
- this.addIntersectionObserver();
1271
- }
1272
- componentWillLoad() {
1273
- if (this.disableResize) {
1274
- this.sizeXs = undefined;
1275
- this.sizeSm = undefined;
1276
- this.sizeMd = undefined;
1277
- this.sizeLg = undefined;
1278
- }
1279
- }
1280
- componentDidLoad() {
1281
- this.addIntersectionObserver();
1282
- }
1283
- componentWillUpdate() {
1284
- if (this.src !== this.oldSrc) {
1285
- this.addIntersectionObserver();
1286
- }
1287
- this.oldSrc = this.src;
1288
- }
1289
- //lazy-loading
1290
- addIntersectionObserver() {
1291
- if (!this.src) {
1292
- return;
1293
- }
1294
- if ('IntersectionObserver' in window) {
1295
- let lazyLoadImages = new IntersectionObserver(entries => {
1296
- entries.forEach(entry => {
1297
- if (entry.isIntersecting) {
1298
- const image = this.el.shadowRoot.querySelector('img');
1299
- image.src = this.setResponsiveBg();
1300
- lazyLoadImages.unobserve(image);
1301
- }
1302
- });
1303
- });
1304
- let tempImg = this.el.shadowRoot.querySelector('img');
1305
- if (tempImg) {
1306
- lazyLoadImages.observe(tempImg);
1307
- }
1308
- }
1309
- else {
1310
- // fall back to setTimeout for Safari and IE
1311
- setTimeout(() => {
1312
- const image = this.el.shadowRoot.querySelector('img');
1313
- image.src = this.setResponsiveBg();
1314
- image.onload = () => {
1315
- image.removeAttribute('data-src');
1316
- console.log('loaded fallback');
1317
- };
1318
- }, 5000);
1319
- }
1320
- }
1321
- //responsive image
1322
- setResponsiveBg() {
1323
- // Define local variables
1324
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
1325
- for (var i = 0, len = backgrounds.length; i < len; i++) {
1326
- // Set current variables
1327
- el = backgrounds[i];
1328
- elData = el.getAttribute('data-' + currentBreakpoint);
1329
- if (elData !== null) {
1330
- return elData;
1331
- }
1332
- else {
1333
- if (typeof console == 'object') {
1334
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
1335
- }
1336
- }
1337
- }
1338
- }
1339
- render() {
1340
- const classMap = this.getCssClassMap();
1341
- const classMapHost = this.getCssClassMapHost();
1342
- return (h$1(Host, { class: classMapHost }, this.styles && h$1("style", null, this.styles), h$1("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$1("slot", null)));
1343
- }
1344
- getCurrentBreakPoints() {
1345
- // Define local variables
1346
- let doc = window.document, temp = doc.createElement('div'), env;
1347
- // Append test node
1348
- doc.body.appendChild(temp);
1349
- // Loop through breakpoints
1350
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
1351
- env = ResponsivePictureVariables.envs[i];
1352
- // Add classes
1353
- temp.className = 'hidden-' + env;
1354
- // Found breakpoint
1355
- if (temp.offsetParent === null) {
1356
- // Remove our test node
1357
- doc.body.removeChild(temp);
1358
- // Return current breakpoint
1359
- return env;
1360
- }
1361
- }
1362
- // Breakpoint not found, try fallback
1363
- doc.body.removeChild(temp);
1364
- return this.getFallbackBreakpoint();
1365
- }
1366
- getFallbackBreakpoint() {
1367
- if (window.matchMedia('(min-width: 992px)').matches) {
1368
- return 'lg';
1369
- }
1370
- else if (window.matchMedia('(min-width: 768px)').matches) {
1371
- return 'md';
1372
- }
1373
- else if (window.matchMedia('(min-width: 576px)').matches) {
1374
- return 'sm';
1375
- }
1376
- else {
1377
- return 'xs';
1378
- }
1379
- }
1380
- getCssClassMap() {
1381
- return {
1382
- [this.borderRadius]: this.borderRadius ? true : false,
1383
- [this.objectFit]: true,
1384
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
1385
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
1386
- [this.displayImage]: true
1387
- };
1388
- }
1389
- getCssClassMapHost() {
1390
- return {
1391
- [this.imagePosition]: true,
1392
- [this.imageAlignment]: true,
1393
- };
1394
- }
1395
- get el() { return getElement(this); }
1396
- };
1397
- PtcPicture.style = ptcPictureCss;
1398
-
1399
- const instagramSVG = `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1400
- <path d="M5.45845 0.530037C4.54845 0.570037 3.92845 0.720037 3.38845 0.930037C2.82845 1.15004 2.34845 1.44004 1.87845 1.92004C1.40845 2.40004 1.11845 2.87004 0.898451 3.43004C0.688451 3.97004 0.548451 4.59004 0.508451 5.50004C0.468451 6.41004 0.45845 6.70004 0.46845 9.02004C0.47845 11.34 0.478452 11.63 0.528452 12.54C0.568452 13.45 0.718453 14.07 0.928453 14.61C1.14845 15.17 1.43845 15.65 1.91845 16.12C2.39845 16.59 2.86845 16.88 3.42845 17.1C3.96845 17.31 4.58845 17.45 5.49845 17.49C6.40845 17.53 6.69845 17.54 9.01845 17.53C11.3385 17.53 11.6285 17.52 12.5385 17.47C13.4485 17.42 14.0685 17.28 14.6085 17.07C15.1685 16.85 15.6485 16.56 16.1185 16.08C16.5885 15.6 16.8785 15.13 17.0985 14.57C17.3085 14.03 17.4485 13.41 17.4885 12.5C17.5285 11.59 17.5385 11.3 17.5285 8.98004C17.5185 6.66004 17.5184 6.37004 17.4685 5.46004C17.4185 4.55004 17.2785 3.93004 17.0685 3.39004C16.8485 2.83004 16.5585 2.35004 16.0785 1.88004C15.5985 1.41004 15.1285 1.11004 14.5685 0.900038C14.0285 0.690038 13.4085 0.550037 12.4985 0.510037C11.5885 0.470037 11.2985 0.460038 8.97845 0.470038C6.65845 0.480038 6.36845 0.480037 5.45845 0.530037ZM5.55845 15.97C4.72845 15.93 4.27845 15.8 3.96845 15.68C3.56845 15.53 3.28845 15.34 2.98845 15.04C2.68845 14.74 2.50845 14.46 2.34845 14.06C2.22845 13.76 2.08845 13.31 2.04845 12.47C2.00845 11.57 1.99845 11.3 1.98845 9.02004C1.97845 6.74004 1.98845 6.47004 2.02845 5.57004C2.06845 4.74004 2.19845 4.29004 2.31845 3.98004C2.46845 3.58004 2.65845 3.30004 2.95845 3.00004C3.25845 2.70004 3.53845 2.52004 3.93845 2.36004C4.23845 2.24004 4.68845 2.10004 5.51845 2.06004C6.41845 2.02004 6.68845 2.01004 8.96845 2.00004C11.2485 2.00004 11.5185 2.00004 12.4185 2.04004C13.2485 2.08004 13.6985 2.21004 14.0085 2.33004C14.4085 2.48004 14.6885 2.67004 14.9885 2.97004C15.2885 3.27004 15.4685 3.55004 15.6285 3.95004C15.7485 4.25004 15.8885 4.70004 15.9285 5.53004C15.9685 6.43004 15.9785 6.70004 15.9885 8.98004C15.9885 11.26 15.9885 11.53 15.9485 12.43C15.9085 13.26 15.7785 13.71 15.6585 14.02C15.5085 14.42 15.3185 14.7 15.0185 15C14.7185 15.3 14.4385 15.48 14.0385 15.64C13.7385 15.76 13.2885 15.9 12.4585 15.94C11.5585 15.98 11.2885 15.99 9.00845 16C6.72845 16.01 6.45845 16 5.55845 15.96M12.5185 4.45004C12.5185 5.02004 12.9785 5.47004 13.5485 5.47004C14.1185 5.47004 14.5685 5.01004 14.5685 4.44004C14.5685 3.87004 14.1085 3.42004 13.5385 3.42004C12.9685 3.42004 12.5185 3.88004 12.5185 4.45004ZM4.61845 9.02004C4.61845 11.44 6.58845 13.4 9.00845 13.4C11.4285 13.4 13.3885 11.43 13.3885 9.01004C13.3885 6.59004 11.4185 4.63004 8.99845 4.63004C6.57845 4.63004 4.61845 6.60004 4.61845 9.02004ZM6.14845 9.02004C6.14845 7.45004 7.41845 6.17004 8.98845 6.17004C10.5585 6.17004 11.8385 7.44004 11.8385 9.01004C11.8385 10.58 10.5685 11.86 8.99845 11.86C7.42845 11.86 6.14845 10.59 6.14845 9.02004Z" fill="white"/>
1401
- </svg>
1402
- `;
1403
-
1404
- const youtubeSVG = `<svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg">
1405
- <path d="M19.4794 2.55343C19.2494 1.70343 18.5794 1.03343 17.7294 0.803432C16.1894 0.393432 9.99937 0.393433 9.99937 0.393433C9.99937 0.393433 3.80938 0.393432 2.26938 0.803432C1.41938 1.03343 0.749379 1.70343 0.519379 2.55343C0.109379 4.09343 0.109375 7.31343 0.109375 7.31343C0.109375 7.31343 0.109379 10.5334 0.519379 12.0734C0.749379 12.9234 1.41938 13.5934 2.26938 13.8234C3.80938 14.2334 9.99937 14.2334 9.99937 14.2334C9.99937 14.2334 16.1894 14.2334 17.7294 13.8234C18.5794 13.5934 19.2494 12.9234 19.4794 12.0734C19.8894 10.5334 19.8894 7.31343 19.8894 7.31343C19.8894 7.31343 19.8894 4.09343 19.4794 2.55343ZM8.01938 10.2834V4.34343L13.1594 7.31343L8.01938 10.2834Z" fill="white"/>
1406
- </svg>
1407
- `;
1408
-
1409
- const ykSVG = `<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
1410
- <path d="M9.09226 0.500002C8.81645 0.500453 8.54001 0.573924 8.30251 0.737896C7.77953 1.09934 7.48857 2.21333 7.13732 3.00625C6.7505 3.87857 6.41111 4.75772 6.03415 5.39807C5.01463 4.24129 4.31909 1.67753 3.09104 0.737896C2.69493 0.435153 1.82655 0.443776 1.43544 0.737896C0.377561 1.53428 1.43894 2.94227 1.86441 3.68101C2.79833 5.30068 3.83358 7.03506 4.62377 8.52494C4.1101 9.8795 1.51589 13.7073 4.99186 13.4912C5.83311 12.9475 6.18934 11.8163 6.64691 10.7927C7.58241 8.69842 8.37723 6.88907 9.34482 4.7233C9.74697 3.82303 10.7158 2.49291 10.51 1.47353C10.3947 0.90533 9.74553 0.498938 9.09228 0.500002H9.09226ZM17.5022 1.33092C16.9995 1.33595 16.4926 1.5707 16.2733 2.0254C15.9105 2.4393 15.522 2.82722 15.1081 3.19003C14.9093 3.44064 14.6842 3.66504 14.434 3.86423C14.1429 4.16697 13.9068 4.52309 13.514 4.72332V2.33206C13.505 1.03135 11.0712 1.03135 11.0618 2.33206V9.13827C11.1681 9.62396 11.3889 9.99531 11.9198 10.0571H12.656C13.1607 9.96944 13.4477 9.66401 13.514 9.13827V7.66643C13.514 7.15622 13.4185 6.29491 13.7592 6.8079C14.2587 7.29671 14.9626 7.82261 15.5992 8.4015C16.2102 8.95866 16.7948 9.85792 17.438 9.99567C18.7549 10.278 19.3358 9.01398 18.8484 8.0954C18.3337 7.12435 16.8512 6.50292 16.2119 5.64271C16.6427 4.65683 18.9847 4.05116 18.7869 2.33206C18.709 1.65301 18.1089 1.32484 17.5023 1.33092H17.5022Z" fill="white"/>
1411
- </svg>
1412
- `;
1413
-
1414
- const weiboSVG = `<svg width="22" height="16" viewBox="0 0 22 16" fill="none" xmlns="http://www.w3.org/2000/svg">
1415
- <path fill-rule="evenodd" clip-rule="evenodd" d="M20.2332 7.27176C20.9763 7.20612 21.1665 5.87974 21.0798 4.77303C20.8492 1.8417 18.3741 -0.375939 15.0943 0.0532817C15.0491 0.0592253 15.0039 0.064479 14.9591 0.0696876C14.5725 0.114632 14.2148 0.156222 14.1349 0.608744C13.9724 1.55041 14.8096 1.46972 15.4197 1.41091C15.5522 1.39814 15.6741 1.38639 15.7726 1.38639C17.7226 1.38639 19.7131 2.97956 19.6684 5.27294C19.6645 5.46856 19.6228 5.69617 19.5807 5.92639C19.4524 6.62725 19.3196 7.35222 20.2332 7.27176ZM16.3829 7.77071C16.1595 7.66321 15.9345 7.55494 15.7163 7.43756C16.0251 6.64645 16.2162 5.62221 15.7163 5.04992C14.9022 4.11874 13.3512 4.53988 12.0925 4.88164C11.5969 5.01618 11.1467 5.13842 10.8046 5.16101C11.3677 3.47106 10.7499 1.75754 8.65936 2.27429C6.73292 2.75064 5.31733 3.78414 3.97412 5.10546C2.56611 6.48991 1.13201 8.11506 0.924973 10.2132C0.685115 12.6505 2.24293 13.8742 3.74773 14.7107C9.23586 17.7591 18.0223 14.9725 18.539 10.8242C18.7759 8.9221 17.6029 8.35771 16.3829 7.77071ZM15.0951 10.6029C15.0977 11.4966 14.644 12.2642 14.1921 12.7675C12.9566 14.1469 10.3552 15.0491 7.75631 14.8774C2.85057 14.5542 1.16399 10.4101 5.15911 8.10411C8.66946 6.07836 15.0867 6.90398 15.0951 10.6029ZM17.1202 5.61813C17.0933 6.09179 17.0744 6.42375 17.6914 6.38334C18.8368 6.30843 18.6516 2.4951 15.6597 2.71897C15.6204 2.72191 15.5774 2.72351 15.5323 2.72518C15.2025 2.73744 14.7558 2.75405 14.7558 3.32998C14.7558 3.88763 15.1542 3.88743 15.6096 3.8872C15.8737 3.88707 16.157 3.88693 16.3928 3.99569C16.7201 4.14718 17.0955 4.66141 17.1266 5.10662C17.139 5.28715 17.1292 5.46049 17.1202 5.61813ZM5.49728 12.4909C6.64355 15.5628 12.9102 13.9006 11.7075 10.3254C11.3465 9.25659 10.1261 8.43518 8.4892 8.60434C6.57202 8.80212 4.73058 10.4365 5.49728 12.4909ZM8.82753 10.9364C9.08254 11.3707 9.66914 11.0585 9.6178 10.7143C9.55636 10.3162 8.82248 10.3751 8.82753 10.9364ZM7.81171 12.8242C8.8654 12.5776 9.00679 10.6259 7.41615 10.992C6.08052 11.2983 6.33889 13.1684 7.81171 12.8242Z" fill="white"/>
1416
- </svg>
1417
- `;
1418
-
1419
- const wechatSVG = `<svg width="22" height="18" viewBox="0 0 22 18" fill="none" xmlns="http://www.w3.org/2000/svg">
1420
- <path fill-rule="evenodd" clip-rule="evenodd" d="M14.9521 5.59994H14.8246C10.8382 5.59994 7.59972 8.2689 7.59972 11.5499C7.61236 11.932 7.6694 12.3114 7.76972 12.6803C7.78501 12.7464 7.78429 12.8151 7.76762 12.8808C7.75095 12.9465 7.71882 13.0072 7.6739 13.0579C7.62898 13.1087 7.57258 13.1479 7.50941 13.1725C7.44623 13.197 7.37811 13.206 7.31072 13.1988C6.66727 13.1267 6.03418 12.9812 5.42375 12.7653L3.17128 14.0488C3.09186 14.0963 2.99914 14.1165 2.90719 14.1065C2.81523 14.0964 2.72906 14.0567 2.66175 13.9932C2.59445 13.9298 2.54968 13.8461 2.53426 13.7549C2.51883 13.6637 2.53359 13.5699 2.57628 13.4878L3.42627 11.7284C2.6321 11.1885 1.97907 10.466 1.52204 9.62146C1.06501 8.77692 0.817329 7.83503 0.799805 6.87492C0.799805 3.35596 4.14026 0.5 8.23721 0.5C11.5012 0.5 14.3316 2.27648 15.3091 4.92845C15.3596 5.00069 15.3863 5.08683 15.3856 5.17494C15.3758 5.28578 15.3267 5.38947 15.2472 5.46738C15.1678 5.54528 15.0631 5.59228 14.9521 5.59994ZM10.6219 4.04321C10.4821 3.94981 10.3178 3.89996 10.1497 3.89996C9.92426 3.89996 9.70806 3.98951 9.54866 4.14891C9.38925 4.30832 9.2997 4.52452 9.2997 4.74995C9.2997 4.91806 9.34955 5.0824 9.44295 5.22218C9.53635 5.36196 9.6691 5.4709 9.82441 5.53524C9.97973 5.59957 10.1506 5.6164 10.3155 5.5836C10.4804 5.55081 10.6318 5.46985 10.7507 5.35098C10.8696 5.23211 10.9505 5.08065 10.9833 4.91577C11.0161 4.75089 10.9993 4.57999 10.935 4.42467C10.8706 4.26936 10.7617 4.13661 10.6219 4.04321ZM5.42751 5.45669C5.56729 5.55009 5.73163 5.59994 5.89974 5.59994C6.12517 5.59994 6.34137 5.51038 6.50077 5.35098C6.66018 5.19158 6.74973 4.97538 6.74973 4.74995C6.74973 4.58184 6.69988 4.4175 6.60648 4.27772C6.51308 4.13794 6.38033 4.02899 6.22502 3.96466C6.0697 3.90033 5.8988 3.88349 5.73392 3.91629C5.56903 3.94909 5.41758 4.03004 5.29871 4.14891C5.17983 4.26779 5.09888 4.41924 5.06608 4.58412C5.03329 4.749 5.05012 4.91991 5.11445 5.07522C5.17879 5.23054 5.28773 5.36329 5.42751 5.45669ZM14.8249 6.45004C18.3438 6.45004 21.1998 8.73651 21.1998 11.55C21.1691 12.3435 20.9418 13.117 20.5382 13.8009C20.1347 14.4849 19.5676 15.0579 18.8878 15.4684L19.4658 16.9134C19.4922 16.9778 19.5025 17.0477 19.4956 17.117C19.4887 17.1862 19.4649 17.2527 19.4263 17.3107C19.3877 17.3686 19.3354 17.4161 19.2742 17.4491C19.2129 17.4821 19.1444 17.4996 19.0748 17.4999C19.01 17.5002 18.9461 17.4856 18.8878 17.4574L16.7798 16.4034C16.1411 16.5674 15.4843 16.6502 14.8249 16.6499C11.3059 16.6499 8.44993 14.3634 8.44993 11.55C8.44993 8.73651 11.3059 6.45004 14.8249 6.45004ZM12.2276 10.5567C12.3674 10.6501 12.5318 10.7 12.6999 10.7C12.9253 10.7 13.1415 10.6104 13.3009 10.451C13.4603 10.2916 13.5499 10.0754 13.5499 9.85C13.5499 9.68189 13.5 9.51755 13.4066 9.37777C13.3132 9.23799 13.1805 9.12904 13.0252 9.06471C12.8698 9.00038 12.6989 8.98354 12.5341 9.01634C12.3692 9.04914 12.2177 9.13009 12.0988 9.24896C11.98 9.36784 11.899 9.51929 11.8662 9.68417C11.8334 9.84906 11.8503 10.02 11.9146 10.1753C11.9789 10.3306 12.0879 10.4633 12.2276 10.5567ZM16.4776 10.5567C16.6174 10.6501 16.7817 10.7 16.9498 10.7C17.1753 10.7 17.3915 10.6104 17.5509 10.451C17.7103 10.2916 17.7998 10.0754 17.7998 9.85C17.7998 9.68189 17.75 9.51755 17.6566 9.37777C17.5632 9.23799 17.4304 9.12904 17.2751 9.06471C17.1198 9.00038 16.9489 8.98354 16.784 9.01634C16.6191 9.04914 16.4677 9.13009 16.3488 9.24896C16.2299 9.36784 16.149 9.51929 16.1162 9.68417C16.0834 9.84906 16.1002 10.02 16.1645 10.1753C16.2289 10.3306 16.3378 10.4633 16.4776 10.5567Z" fill="white"/>
1421
- </svg>
1422
- `;
1423
-
1424
- const ptcSocialIconsFooterCss = "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;height:100%;width:100%}@media only screen and (min-width: 992px){:host{width:auto}}:host ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;height:100%;gap:var(--ptc-layout-spacing-03)}@media only screen and (min-width: 992px){:host ul{align-items:flex-start}}@media only screen and (min-width: 1200px){:host ul{flex-direction:column;align-items:flex-end;gap:initial}}:host ul li{width:100%}:host ul li a{background-color:var(--color-gray-10);border-radius:4px;display:flex;padding:11px;flex-direction:column;justify-content:center;align-items:center;box-sizing:border-box;width:100%;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host ul li a:hover{background-color:var(--color-gray-08)}:host ul li a:active{background-color:var(--color-gray-09);transition:none}:host ul li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}@media only screen and (min-width: 992px){:host ul li a{padding:4px;width:36px;height:36px}}:host ul.dark-bg a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}";
1425
-
1426
- const PtcSocialIconsFooter = class {
1427
- constructor(hostRef) {
1428
- registerInstance(this, hostRef);
1429
- this.instagramUrl = undefined;
1430
- this.facebookUrl = undefined;
1431
- this.linkedinUrl = undefined;
1432
- this.xUrl = undefined;
1433
- this.youtubeUrl = undefined;
1434
- this.weiboUrl = undefined;
1435
- this.youkuUrl = undefined;
1436
- this.wechatQrImageUrl = undefined;
1437
- this.wechatQrImageAltText = undefined;
1438
- this.wechatImageUrl = undefined;
1439
- this.wechatImageAlt = undefined;
1440
- this.instagramImageUrl = undefined;
1441
- this.facebookImageUrl = undefined;
1442
- this.linkedinImageUrl = undefined;
1443
- this.xImageUrl = undefined;
1444
- this.youtubeImageUrl = undefined;
1445
- this.weiboImageUrl = undefined;
1446
- this.youkuImageUrl = undefined;
1447
- this.instagramImageAlt = undefined;
1448
- this.facebookImageAlt = undefined;
1449
- this.linkedinImageAlt = undefined;
1450
- this.xImageAlt = undefined;
1451
- this.youtubeImageAlt = undefined;
1452
- this.weiboImageAlt = undefined;
1453
- this.youkuImageAlt = undefined;
1454
- this.target = undefined;
1455
- this.darkFocusState = false;
1456
- }
1457
- openModal(e) {
1458
- e.preventDefault();
1459
- const modal = this.hostElement.shadowRoot.querySelector('#QRModal');
1460
- modal.show = true;
1461
- }
1462
- componentWillLoad() {
1463
- CheckDarkFocusState(this, this.hostElement);
1464
- }
1465
- render() {
1466
- return (h$1(Host, null, h$1("slot", null), h$1("ul", { class: this.darkFocusState ? `dark-bg` : `standard-bg` }, this.instagramUrl && h$1("li", { id: "footerInstagramIconID" }, " ", h$1("a", { href: this.instagramUrl, title: this.instagramImageAlt, innerHTML: this.instagramImageUrl == "" ? instagramSVG : "", target: this.target }, this.instagramImageUrl != "" && h$1("img", { src: this.instagramImageUrl, alt: this.instagramImageAlt })), " "), this.facebookUrl && h$1("li", { id: "footerFacebookIconID" }, " ", h$1("a", { href: this.facebookUrl, title: this.facebookImageAlt, innerHTML: this.facebookImageUrl == "" ? facebookSVG : "", target: this.target }, this.facebookImageUrl != "" && h$1("img", { src: this.facebookImageUrl, alt: this.facebookImageAlt })), " "), this.linkedinUrl && h$1("li", { id: "footerLinkedInIconID" }, " ", h$1("a", { href: this.linkedinUrl, title: this.linkedinImageAlt, innerHTML: this.linkedinImageUrl == "" ? linkedinSVG : "", target: this.target }, this.linkedinImageUrl != "" && h$1("img", { src: this.linkedinImageUrl, alt: this.linkedinImageAlt })), " "), this.xUrl && h$1("li", { id: "footerXIconID" }, " ", h$1("a", { href: this.xUrl, title: this.xImageAlt, innerHTML: this.xImageUrl == "" ? xSVG : "", target: this.target }, this.xImageUrl != "" && h$1("img", { src: this.xImageUrl, alt: this.xImageAlt, "aria-label": "X, formerly Twitter" })), " "), this.youtubeUrl && h$1("li", { id: "footerYouTubeIconID" }, " ", h$1("a", { href: this.youtubeUrl, title: this.youtubeImageAlt, innerHTML: this.youtubeImageUrl == "" ? youtubeSVG : "", target: this.target }, this.youtubeImageUrl != "" && h$1("img", { src: this.youtubeImageUrl, alt: this.youtubeImageAlt })), " "), this.weiboUrl && h$1("li", { id: "footerWeiboIconID" }, " ", h$1("a", { href: this.weiboUrl, title: this.weiboImageAlt, innerHTML: this.weiboImageUrl == "" ? weiboSVG : "", target: this.target }, this.weiboImageUrl != "" && h$1("img", { src: this.weiboImageUrl, alt: this.weiboImageAlt })), " "), this.youkuUrl && h$1("li", { id: "footerYouKuIconID" }, " ", h$1("a", { href: this.youkuUrl, title: this.youkuImageAlt, innerHTML: this.youkuImageUrl == "" ? ykSVG : "", target: this.target }, this.youkuImageUrl != "" && h$1("img", { src: this.youkuImageUrl, alt: this.youkuImageAlt })), " "), this.wechatQrImageUrl && h$1("li", { id: "footerWeChatIconID" }, " ", h$1("a", { href: "#", onClick: (Event) => { this.openModal(Event); }, title: this.wechatImageAlt != "" ? this.wechatImageAlt : "WeChat", innerHTML: this.wechatImageUrl == "" ? wechatSVG : "" }, this.wechatImageUrl != "" && h$1("img", { src: this.wechatImageUrl, alt: this.wechatImageAlt })), " ")), h$1("ptc-modal", { id: "QRModal", show: false, size: "sm", "close-on-blur": true, fixed: true, styles: '.wrapper .modal-popup .modal-body { padding-bottom: 40px}' }, h$1("ptc-picture", { alt: this.wechatQrImageAltText, src: this.wechatQrImageUrl, "max-width": '250', "image-alignment": 'center', styles: 'img{margin:auto}' }))));
1467
- }
1468
- get hostElement() { return getElement(this); }
1469
- };
1470
- PtcSocialIconsFooter.style = ptcSocialIconsFooterCss;
1471
-
1472
- 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}}";
1473
-
1474
- const PtcSpacer = class {
1475
- constructor(hostRef) {
1476
- registerInstance(this, hostRef);
1477
- this.breakpoint = '';
1478
- this.size = 'medium';
1479
- this.direction = 'vertical';
1480
- }
1481
- render() {
1482
- const classMap = this.getCssClassMap();
1483
- return (h$1(Host, { class: classMap }));
1484
- }
1485
- getCssClassMap() {
1486
- return {
1487
- [this.size]: true,
1488
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
1489
- ['ptc-spacer-vertical']: this.direction === 'vertical',
1490
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
1491
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
1492
- ['ptc-spacer-small']: this.breakpoint === 'small',
1493
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
1494
- ['ptc-spacer-large']: this.breakpoint === 'large',
1495
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
1496
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
1497
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
1498
- };
1499
- }
1500
- };
1501
- PtcSpacer.style = ptcSpacerCss;
1502
-
1503
- const ptcTextCopyWithBackgroundCss = "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;width:100%;padding:var(--ptc-layout-spacing-05) var(--ptc-layout-spacing-01);color:var(--color-white)}@media only screen and (min-width: 768px){:host{padding:var(--ptc-layout-spacing-05) var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 992px){:host{padding:var(--ptc-layout-spacing-06) 0}}@media only screen and (min-width: 1200px){:host{padding:var(--ptc-layout-spacing-06) var(--ptc-layout-spacing-03)}}:host .content-wrap{position:relative}:host .tcb-top-slit{fill:#f3f3f3;transform:scale(1.5, -1);position:absolute;top:-1px;right:80px;z-index:99;display:none}@media only screen and (min-width: 992px){:host .tcb-top-slit{display:block}}:host .bg-img-filter{-webkit-filter:url(#blur);filter:url(#blur);-webkit-mask:-webkit-gradient(linear, left top, right top, color-stop(30%, var(--color-black)), to(rgba(0, 0, 0, 0)));-webkit-mask:linear-gradient(90deg, var(--color-black) 30%, rgba(0, 0, 0, 0));-webkit-filter:blur(7px)}:host .copy-bg-image{top:0;left:0;height:100%;width:100%;position:absolute;-o-object-fit:cover;object-fit:cover}@media only screen and (min-width: 992px){:host .copy-bg-image{display:block}}:host .copy-bg-overlay-layer{position:absolute;top:0;left:0;height:100%;width:100%;background:var(--color-black);opacity:0.6}:host(.hero-footer-cta){padding:var(--ptc-layout-spacing-05) 0}@media only screen and (min-width: 768px){:host(.hero-footer-cta){padding:calc(var(--ptc-layout-spacing-06) + var(--ptc-layout-spacing-01)) 0}}:host(.hero-footer-cta) .copy-bg-overlay-layer{opacity:0.6}:host(.tab-cta-with-background){min-height:300px;padding:var(--ptc-layout-spacing-02)}:host(.tab-cta-with-background) .copy-bg-image{top:0;left:0;height:100%;width:100%;position:absolute;-o-object-fit:cover;object-fit:cover;display:none;border-radius:4px}@media only screen and (min-width: 992px){:host(.tab-cta-with-background){min-height:400px}:host(.tab-cta-with-background) .copy-bg-image{display:block}}@media only screen and (min-width: 992px){:host(.tab-cta-with-background){display:flex;align-items:center;padding:var(--ptc-element-spacing-09)}}:host(.tab-cta-with-background) .copy-bg-overlay-layer{background:initial;opacity:1;background-image:linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.9) 63%, rgba(176, 188, 194, 0) 95%)}@media only screen and (min-width: 992px){:host(.tab-cta-with-background) .copy-bg-overlay-layer{background-image:linear-gradient(90deg, rgba(255, 255, 255, 0.95) 43%, rgba(176, 188, 194, 0) 95%)}}:host(.bottom-right) .tcb-top-slit{top:auto;bottom:-1px;transform:scale(1.5, 1)}:host(.bottom-left) .tcb-top-slit{top:auto;bottom:-1px;transform:scale(1.5, 1) scaleX(-1);left:80px;right:auto}:host(.top-left) .tcb-top-slit{top:-1px;bottom:auto;transform:scale(1.5, 1) rotate(180deg);left:80px;right:auto}:host(.case-studies){min-height:25rem;height:auto;margin-bottom:10rem;display:flex;align-items:center}@media only screen and (min-width: 768px){:host(.case-studies){min-height:33.75rem;height:auto;margin-bottom:0;padding-top:var(--ptc-layout-spacing-06)}}:host(.case-studies) .card-wrap{position:relative;border:1px solid transparent;width:100%;height:100%;max-width:540px;bottom:-13rem}@media only screen and (min-width: 768px){:host(.case-studies) .card-wrap{bottom:auto}}:host(.case-studies) .card-wrap::after{position:absolute;width:0;height:1px;content:\"\";background:#fff;top:0px;left:0px;animation:widthAnimate 0.2s linear 0.2s 1 forwards}:host(.case-studies) .card-wrap::before{position:absolute;width:1px;height:0;content:\"\";background:#fff;top:0px;right:0px;animation:heightAnimate 0.2s linear 0.4s 1 forwards}:host(.case-studies) .card-wrap .card-animated-border{border:1px solid transparent;position:absolute;left:-1px;right:0;bottom:0px;top:-1px;width:100%;height:100%;box-shadow:var(--ptc-shadow-x-small)}:host(.case-studies) .card-wrap .card-animated-border::after{position:absolute;width:0;height:1px;content:\"\";background:#fff;bottom:0px;right:0px;animation:widthAnimate 0.2s linear 0.6s 1 forwards}:host(.case-studies) .card-wrap .card-animated-border::before{position:absolute;width:1px;height:0;content:\"\";background:#fff;bottom:0px;left:0px;animation:heightAnimate 0.2s linear 0.8s 1 forwards}:host(.case-studies) .card-wrap .card-content{opacity:0;animation:fadeIn 0.5s ease-in 0.9s 1 forwards;background-color:transparent;width:100%;height:100%}:host(.case-studies) .card-wrap .card-content .card-layout{padding:var(--ptc-layout-spacing-04);background-color:#fff}@keyframes widthAnimate{0%{width:0}100%{width:100%}}@keyframes heightAnimate{0%{height:0}100%{height:100%}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}:host(.case-studies) .content-wrap{width:100%}:host(.case-studies) .ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){:host(.case-studies) .ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){:host(.case-studies) .ptc-container{padding-left:0;padding-right:0;max-width:1200px}}:host(.bg-image-absent){padding:0rem}";
1504
-
1505
- const PtcTextCopyWithBackground = class {
1506
- constructor(hostRef) {
1507
- registerInstance(this, hostRef);
1508
- this.type = 'text-copy-with-background';
1509
- this.backgroundImage = undefined;
1510
- this.ImageAltText = undefined;
1511
- this.topSlitBackgroundColor = undefined;
1512
- this.slitPosition = 'top-right';
1513
- this.isBackgroundBlur = false;
1514
- this.overlay = true;
1515
- this.disableLightLinks = false;
1516
- this.styles = undefined;
1517
- }
1518
- render() {
1519
- const classMap = this.getCssClassMap();
1520
- const slitFill = this.getSlitFillColor();
1521
- return (h$1(Host, { class: classMap }, this.styles && h$1("style", null, this.styles), h$1("svg", { xmlns: "http://www.w3.org/2000/svg", class: "tcb-top-slit", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179", style: { fill: slitFill } }, h$1("path", { id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "tcb-top-slit-cls-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), this.backgroundImage ?
1522
- h$1("div", { class: "" }, h$1("img", { class: "copy-bg-image", alt: this.ImageAltText, src: this.backgroundImage }), this.isBackgroundBlur &&
1523
- h$1("img", { class: "copy-bg-image bg-img-filter", alt: this.ImageAltText, src: this.backgroundImage }))
1524
- : null, this.overlay &&
1525
- h$1("div", { class: "copy-bg-overlay-layer" }), h$1("div", { class: "content-wrap" }, this.type == "case-studies" &&
1526
- h$1("div", { class: "ptc-container" }, h$1("div", { class: "card-wrap" }, h$1("div", { class: "card-animated-border" }), h$1("div", { class: "card-content" }, h$1("div", { class: "card-layout" }, h$1("slot", { name: 'card-content' }))))), h$1("slot", null))));
1527
- }
1528
- getSlitFillColor() {
1529
- let slitFill = '#fff';
1530
- if (this.topSlitBackgroundColor == "auto") {
1531
- let style = getComputedStyle(document.body);
1532
- if (style && style.backgroundColor) {
1533
- slitFill = style.backgroundColor;
1534
- }
1535
- }
1536
- else {
1537
- slitFill = this.topSlitBackgroundColor;
1538
- }
1539
- return slitFill;
1540
- }
1541
- getCssClassMap() {
1542
- return {
1543
- [this.type]: true,
1544
- [this.slitPosition]: true,
1545
- ['light-links']: this.overlay && !this.disableLightLinks,
1546
- ['bg-image-absent']: !this.backgroundImage && this.type == "text-copy-with-background"
1547
- };
1548
- }
1549
- };
1550
- PtcTextCopyWithBackground.style = ptcTextCopyWithBackgroundCss;
1551
-
1552
- 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}";
1553
-
1554
- const PtcTitle = class {
1555
- constructor(hostRef) {
1556
- registerInstance(this, hostRef);
1557
- this.isPlmHub = false;
1558
- this.type = 'h2';
1559
- this.textAlign = undefined;
1560
- this.upperline = 'dotted';
1561
- this.titleShadow = undefined;
1562
- this.titleColor = 'gray';
1563
- this.titleMargin = undefined;
1564
- this.titleWeight = undefined;
1565
- this.titleSize = undefined;
1566
- this.titleHeight = 'densest';
1567
- this.styles = undefined;
1568
- this.ellipsisLineCutoff = undefined;
1569
- this.titleDisplay = 'inline-block';
1570
- this.seoCompatibilityMode = false;
1571
- this.tooltipZIndex = 'auto';
1572
- this.tooltipPosition = 'bottom';
1573
- this.tooltipTheme = 'standard';
1574
- this.enableTooltip = false;
1575
- this.maxChars = undefined;
1576
- this.maxLines = undefined;
1577
- this.hideTooltipOnMobile = false;
1578
- this.ismob = undefined;
1579
- this.tooltipWidth = 'default';
1580
- }
1581
- // Tooltip Properties ends
1582
- componentDidLoad() {
1583
- if (this.hideTooltipOnMobile) {
1584
- this.el.classList.add('hide-tooltip-on-mobile');
1585
- }
1586
- this.el.addEventListener('mouseenter', () => this.toggleTitleTooltip(true));
1587
- this.el.addEventListener('mouseleave', () => this.toggleTitleTooltip(false));
1588
- }
1589
- render() {
1590
- if (this.seoCompatibilityMode) {
1591
- return this.seoCompRender();
1592
- }
1593
- else {
1594
- return this.standardRender();
1595
- }
1596
- }
1597
- getSortedText(content) {
1598
- if (!this.enableTooltip)
1599
- return;
1600
- const trimmedContent = content.trim();
1601
- const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
1602
- return shouldTruncate ? trimmedContent.slice(0, this.maxChars) + '...' : trimmedContent;
1603
- }
1604
- toggleTitleTooltip(show) {
1605
- var _a;
1606
- const tooltipClass = 'tooltip-box';
1607
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1608
- const text = this.el.querySelectorAll('.line-clamp-title');
1609
- let maxLinesShowCheck = false;
1610
- if (text) {
1611
- text.forEach(t => {
1612
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1613
- });
1614
- }
1615
- const ifCharExceeds = this.tooltipText && (this.tooltipText.length > this.maxChars) && !this.maxLines;
1616
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1617
- if (show && this.enableTooltip) {
1618
- if ((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) {
1619
- const tooltipMarkup = document.createElement('div');
1620
- tooltipMarkup.className = tooltipClass;
1621
- tooltipMarkup.innerText = this.tooltipText;
1622
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1623
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1624
- if (this.hideTooltipOnMobile) {
1625
- tooltipMarkup.classList.add('hide-tooltip-mobile');
1626
- }
1627
- (_a = this.el.querySelector('div')) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1628
- }
1629
- }
1630
- else {
1631
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1632
- }
1633
- }
1634
- seoCompRender() {
1635
- const classMap = this.getCssClassMap();
1636
- const cutOff = this.getLineCuttoff();
1637
- const [TagType, firstChild] = getSeoTagType(this.el, this.type);
1638
- let html = firstChild && firstChild.innerHTML;
1639
- // added for tooltip
1640
- this.tooltipText = html.trim();
1641
- let eleText = firstChild && firstChild.innerText;
1642
- html = (this.enableTooltip) ? this.getSortedText(eleText) : html;
1643
- if (this.el == firstChild) {
1644
- this.el.innerHTML = '';
1645
- }
1646
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { class: classMap }, h$1(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0 ? 'line-clamp-title' : '' }))));
1647
- }
1648
- standardRender() {
1649
- const classMap = this.getCssClassMap();
1650
- const cutOff = this.getLineCuttoff();
1651
- let TagType;
1652
- switch (this.type) {
1653
- case 'h1':
1654
- TagType = 'h1';
1655
- break;
1656
- case 'h3':
1657
- TagType = 'h3';
1658
- break;
1659
- case 'h4':
1660
- TagType = 'h4';
1661
- break;
1662
- case 'h5':
1663
- TagType = 'h5';
1664
- break;
1665
- case 'h6':
1666
- TagType = 'h6';
1667
- break;
1668
- default:
1669
- TagType = 'h2';
1670
- }
1671
- return (h$1(Host, null, this.styles && h$1("style", null, this.styles), h$1("div", { class: classMap }, h$1(TagType, { style: cutOff }, h$1("slot", null)))));
1672
- }
1673
- getCssClassMap() {
1674
- return {
1675
- [this.textAlign]: !!this.textAlign ? true : false,
1676
- [this.upperline]: true,
1677
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
1678
- [this.titleMargin]: !!this.titleMargin ? true : false,
1679
- [this.titleShadow]: !!this.titleShadow ? true : false,
1680
- [this.titleWeight]: !!this.titleWeight ? true : false,
1681
- [this.titleSize]: !!this.titleSize ? true : false,
1682
- [this.titleHeight]: !!this.titleHeight ? true : false,
1683
- [this.titleColor]: !!this.titleColor ? true : false,
1684
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1685
- [this.titleDisplay]: !!this.titleDisplay ? true : false,
1686
- };
1687
- }
1688
- getLineCuttoff() {
1689
- const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
1690
- return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
1691
- }
1692
- get el() { return getElement(this); }
1693
- };
1694
- PtcTitle.style = ptcTitleCss;
1695
-
1696
- export { IconAsset as icon_asset, MaxWidthContainer as max_width_container, PtcButton as ptc_button, PtcCloseIcon as ptc_close_icon, PtcFooter as ptc_footer, PtcIconCard as ptc_icon_card, PtcLink as ptc_link, PtcMobileSelect as ptc_mobile_select, PtcModal as ptc_modal, PtcPara as ptc_para, PtcPicture as ptc_picture, PtcSocialIconsFooter as ptc_social_icons_footer, PtcSpacer as ptc_spacer, PtcTextCopyWithBackground as ptc_text_copy_with_background, PtcTitle as ptc_title };