@ptcwebops/ptcw-design 6.4.10 → 6.4.11-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 (215) hide show
  1. package/dist/cjs/blogs-search-section.cjs.entry.js +4 -1
  2. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +1 -1
  3. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  4. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
  5. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  6. package/dist/cjs/homepage-toggled-content.cjs.entry.js +3 -1
  7. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/modal-form-example.cjs.entry.js +109 -0
  10. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
  11. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-button.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -1
  14. package/dist/cjs/ptc-card-content.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-card_2.cjs.entry.js +5 -4
  16. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  18. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  19. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  21. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +723 -5
  22. package/dist/cjs/ptc-img.cjs.entry.js +87 -7
  23. package/dist/cjs/ptc-jumbotron.cjs.entry.js +11 -5
  24. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
  25. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-picture.cjs.entry.js +0 -17
  27. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
  30. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +25 -9
  31. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -9
  40. package/dist/cjs/ptcw-design.cjs.js +1 -1
  41. package/dist/collection/collection-manifest.json +1 -1
  42. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.css +0 -9
  43. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
  44. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
  45. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +24 -0
  46. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
  47. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +24 -0
  48. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  49. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +114 -0
  50. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
  51. package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
  52. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -0
  53. package/dist/collection/components/ptc-button/ptc-button.css +0 -2
  54. package/dist/collection/components/ptc-card-content/ptc-card-content.css +3 -21
  55. package/dist/collection/components/ptc-card-content/ptc-card-content.js +2 -2
  56. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -1
  57. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +24 -0
  58. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -0
  59. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -0
  60. package/dist/collection/components/ptc-img/ptc-img.css +76 -0
  61. package/dist/collection/components/ptc-img/ptc-img.js +132 -7
  62. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +24 -6
  63. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
  64. package/dist/collection/components/ptc-modal/ptc-modal.css +5 -0
  65. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  66. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
  67. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  68. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  69. package/dist/collection/components/ptc-picture/ptc-picture.js +0 -40
  70. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +24 -0
  71. package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
  72. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  73. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +1 -2
  74. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
  75. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  76. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
  77. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +25 -9
  78. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  79. package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -0
  80. package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -0
  81. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -0
  82. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -0
  83. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -0
  84. package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
  85. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -0
  86. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -0
  87. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +27 -3
  88. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
  89. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  90. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  91. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  92. package/dist/custom-elements/index.d.ts +6 -6
  93. package/dist/custom-elements/index.js +333 -642
  94. package/dist/esm/blogs-search-section.entry.js +4 -1
  95. package/dist/esm/buying-option-cards-slider.entry.js +1 -1
  96. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  97. package/dist/esm/dynamic-box-bundle.entry.js +3 -1
  98. package/dist/esm/featured-list.entry.js +1 -1
  99. package/dist/esm/homepage-toggled-content.entry.js +3 -1
  100. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  101. package/dist/esm/loader.js +1 -1
  102. package/dist/esm/modal-form-example.entry.js +105 -0
  103. package/dist/esm/ptc-announcement.entry.js +2 -1
  104. package/dist/esm/ptc-bio-card.entry.js +1 -1
  105. package/dist/esm/ptc-button.entry.js +1 -1
  106. package/dist/esm/ptc-card-bottom_2.entry.js +3 -1
  107. package/dist/esm/ptc-card-content.entry.js +1 -1
  108. package/dist/esm/ptc-card_2.entry.js +5 -4
  109. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  110. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  111. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  112. package/dist/esm/ptc-featured-list.entry.js +1 -1
  113. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  114. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +722 -6
  115. package/dist/esm/ptc-img.entry.js +87 -7
  116. package/dist/esm/ptc-jumbotron.entry.js +11 -5
  117. package/dist/esm/ptc-modal-quiz.entry.js +4 -1
  118. package/dist/esm/ptc-para.entry.js +1 -1
  119. package/dist/esm/ptc-picture.entry.js +0 -17
  120. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  121. package/dist/esm/ptc-preloader.entry.js +1 -1
  122. package/dist/esm/ptc-previous-url.entry.js +11 -2
  123. package/dist/esm/ptc-pricing-packaging-table.entry.js +25 -9
  124. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  125. package/dist/esm/ptc-product-card.entry.js +1 -1
  126. package/dist/esm/ptc-product-category.entry.js +1 -1
  127. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  128. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  129. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  130. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  131. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  132. package/dist/esm/ptc-white-paper.entry.js +19 -9
  133. package/dist/esm/ptcw-design.js +1 -1
  134. package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
  135. package/dist/ptcw-design/{p-614b66d8.entry.js → p-0451b768.entry.js} +1 -1
  136. package/dist/ptcw-design/p-04891836.entry.js +1 -0
  137. package/dist/ptcw-design/p-17b8281a.entry.js +1 -0
  138. package/dist/ptcw-design/p-187ef77b.entry.js +1 -0
  139. package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
  140. package/dist/ptcw-design/{p-4b41fe4e.entry.js → p-312c41b8.entry.js} +1 -1
  141. package/dist/ptcw-design/{p-1d789cd7.entry.js → p-32bec5ef.entry.js} +1 -1
  142. package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
  143. package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
  144. package/dist/ptcw-design/p-3b40bfbf.entry.js +68 -0
  145. package/dist/ptcw-design/p-502f534b.entry.js +1 -0
  146. package/dist/ptcw-design/p-5aaf4e15.entry.js +1 -0
  147. package/dist/ptcw-design/p-672a349f.js +336 -0
  148. package/dist/ptcw-design/p-6f9f55b3.entry.js +1 -0
  149. package/dist/ptcw-design/{p-365646b8.entry.js → p-7218fe2c.entry.js} +1 -1
  150. package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-7235425a.entry.js} +1 -1
  151. package/dist/ptcw-design/p-74097f89.entry.js +1 -0
  152. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  153. package/dist/ptcw-design/p-7fe4d383.entry.js +1 -0
  154. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  155. package/dist/ptcw-design/p-96f346c4.entry.js +1 -0
  156. package/dist/ptcw-design/{p-db882e62.entry.js → p-9da57f76.entry.js} +1 -1
  157. package/dist/ptcw-design/{p-121a9ef6.entry.js → p-b0a16f1a.entry.js} +1 -1
  158. package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
  159. package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
  160. package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
  161. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  162. package/dist/ptcw-design/p-e3a6ed56.entry.js +1 -0
  163. package/dist/ptcw-design/p-ef870202.entry.js +1 -0
  164. package/dist/ptcw-design/{p-f0958536.entry.js → p-f010c07f.entry.js} +1 -1
  165. package/dist/ptcw-design/p-f6b70f68.entry.js +1 -0
  166. package/dist/ptcw-design/ptcw-design.css +4 -3
  167. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  168. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  169. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +1 -1
  170. package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
  171. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
  172. package/dist/types/components/ptc-mobile-select/mobile-select/dist/mobile-select.d.ts +209 -0
  173. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  174. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  175. package/dist/types/components/ptc-picture/ptc-picture.d.ts +0 -2
  176. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  177. package/dist/types/components.d.ts +53 -26
  178. package/dist/types/utils/eloqua.d.ts +9 -0
  179. package/package.json +1 -1
  180. package/readme.md +5 -1
  181. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  182. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  183. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +0 -533
  184. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.css +0 -411
  185. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +0 -585
  186. package/dist/collection/stories/organisms/ptc/Subnav New/preview.stories.js +0 -360
  187. package/dist/esm/component-9beac35b.js +0 -1802
  188. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  189. package/dist/esm/ptc-subnav-v2.entry.js +0 -529
  190. package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
  191. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  192. package/dist/ptcw-design/p-1a853854.entry.js +0 -1
  193. package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
  194. package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
  195. package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
  196. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  197. package/dist/ptcw-design/p-56a73429.entry.js +0 -1
  198. package/dist/ptcw-design/p-80ee97a2.entry.js +0 -1
  199. package/dist/ptcw-design/p-850a6205.entry.js +0 -1
  200. package/dist/ptcw-design/p-8aeb229a.entry.js +0 -1
  201. package/dist/ptcw-design/p-8ef0e26e.entry.js +0 -68
  202. package/dist/ptcw-design/p-9027d2d9.entry.js +0 -1
  203. package/dist/ptcw-design/p-9493dfa0.entry.js +0 -1
  204. package/dist/ptcw-design/p-95efe7ee.entry.js +0 -1
  205. package/dist/ptcw-design/p-98426799.js +0 -203
  206. package/dist/ptcw-design/p-98844b50.js +0 -134
  207. package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
  208. package/dist/ptcw-design/p-b5e849da.entry.js +0 -1
  209. package/dist/ptcw-design/p-b89136c6.entry.js +0 -1
  210. package/dist/ptcw-design/p-c42e9110.entry.js +0 -1
  211. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  212. package/dist/ptcw-design/p-e976a798.entry.js +0 -1
  213. package/dist/ptcw-design/p-f13c7959.entry.js +0 -1
  214. package/dist/ptcw-design/p-f3d3c161.entry.js +0 -1
  215. package/dist/types/components/ptc-subnav-v2/ptc-subnav-v2.d.ts +0 -66
@@ -1,529 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
-
3
- const ptcSubnavV2Css = "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 .mobile-dropdown-container .mobile-dropdown-button,:host .subnav-menu-left .overflow-menu-container .overflow-button,:host .subnav-menu-left ul.desktop-menu li a{color:var(--color-gray-07);text-decoration:none;padding:8px 12px;text-align:center;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:18px;display:flex;align-items:center;position:relative;border-bottom:3px solid transparent;height:100%;box-sizing:border-box;transition:all 0.2s ease}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown{position:absolute;top:100%;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-large);z-index:1001;padding:14px 0;margin-top:-4px;max-width:312px;width:-moz-max-content;width:max-content}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item,:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{display:block;padding:10px 32px 10px 24px;color:var(--color-gray-07);text-decoration:none;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);transition:all 0.2s ease;position:relative;border:none}:host{position:relative;display:block;font-family:var(--ptc-font-latin);background-color:var(--color-standard-gray);box-shadow:var(--ptc-shadow-small);transition:all 0.3s ease-in-out}:host.sticky-transition{transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15)}:host .subnav-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:0 24px;margin:0 auto;max-width:1200px;gap:24px}@media only screen and (min-width: 768px){:host .subnav-container{flex-wrap:wrap;gap:48px}}@media only screen and (min-width: 1200px){:host .subnav-container{padding:0;max-width:1136px}}@media only screen and (min-width: 1440px){:host .subnav-container{padding:0;max-width:1200px}}:host .subnav-container.full-width{justify-content:flex-start}:host .subnav-menu-left{display:flex;align-items:center;flex:1;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left{justify-content:flex-start}}:host .subnav-menu-left ul.desktop-menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu{justify-content:flex-start;gap:32px}}:host .subnav-menu-left ul.desktop-menu li{display:inline-block;height:100%}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu li a{padding:20px 0 17px 0}}:host .subnav-menu-left ul.desktop-menu li a:hover{color:var(--color-gray-10)}:host .subnav-menu-left ul.desktop-menu li a.active{color:var(--color-gray-10);border-bottom:3px solid var(--color-green-07)}:host .subnav-menu-left ul.desktop-menu li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container{position:relative;display:none}@media only screen and (min-width: 768px){:host .subnav-menu-left .overflow-menu-container{display:inline-block}}:host .subnav-menu-left .overflow-menu-container .overflow-button{background:none;border:none;padding:20px 0 17px 0;cursor:pointer;justify-content:center;border-bottom:3px solid transparent;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button:hover{color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots{border-radius:2px;border:1px solid var(--color-gray-07);line-height:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover svg circle{fill:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded],:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active{border-bottom-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots{background-color:var(--color-green-07);border-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots svg circle,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots svg circle{fill:var(--color-white)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-right{left:auto;right:-2px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-left{left:0;right:auto}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{text-align:left;line-height:18px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:hover{background-color:var(--color-gray-02);color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active{color:var(--color-gray-10);border-bottom:none}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left.full-width{flex:1;width:100%;justify-content:flex-start}:host .subnav-menu-left.full-width .desktop-menu{width:100%}:host .mobile-dropdown-container{position:relative;display:block;height:100%;box-sizing:border-box}@media only screen and (min-width: 768px){:host .mobile-dropdown-container{display:none !important}}:host .mobile-dropdown-container .mobile-dropdown-button{background:transparent;border:none;border-bottom:3px solid var(--color-green-07);padding:20px 0 17px 0;justify-content:center;gap:10px;cursor:pointer}:host .mobile-dropdown-container .mobile-dropdown-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .mobile-dropdown-container .mobile-dropdown-button[aria-expanded]{border-color:var(--color-green-07);color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-selected-item{flex:1;text-align:left;color:var(--color-gray-07);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow{display:flex;align-items:center;justify-content:center;transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow svg{transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow.rotated svg{transform:rotate(180deg)}:host .mobile-dropdown-container .mobile-dropdown{position:absolute;top:calc(100% - 8px);left:-2px;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-medium);z-index:1001;margin:4px 0 0 0;overflow-y:auto;min-width:280px;width:-moz-fit-content;width:fit-content;list-style:none;padding:14px 0}:host .mobile-dropdown-container .mobile-dropdown li{display:block}:host .mobile-dropdown-container .mobile-dropdown li:last-child{border-bottom:none}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item{width:100%;background:none;text-align:left;cursor:pointer;word-break:break-word;display:block;box-sizing:border-box}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active{color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-right{max-width:50%;padding:12px 0}@media only screen and (min-width: 768px){:host .subnav-menu-right{width:auto;max-width:300px}}";
4
-
5
- const PtcSubnavV2 = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.cachedNavItems = null;
9
- this.isSticky = false;
10
- this.originalTop = 0;
11
- this.placeholderElement = null;
12
- this.measurementElement = null;
13
- this.handleClickOutside = (event) => {
14
- if (!this.el.contains(event.target)) {
15
- this.showOverflowMenu = false;
16
- }
17
- };
18
- this.handleKeyDown = (event) => {
19
- var _a;
20
- if (event.key === "Escape" && this.showOverflowMenu) {
21
- this.showOverflowMenu = false;
22
- (_a = this.overflowButton) === null || _a === void 0 ? void 0 : _a.focus();
23
- }
24
- };
25
- this.handleScroll = () => {
26
- // Throttle scroll events for better performance
27
- if (this.scrollThrottleTimeout) {
28
- return;
29
- }
30
- this.scrollThrottleTimeout = window.setTimeout(() => {
31
- // Don't update active state if user just manually navigated
32
- if (this.isManualNavigation) {
33
- this.scrollThrottleTimeout = null;
34
- return;
35
- }
36
- // Fallback scroll handler to ensure active state is updated
37
- const navItems = this.getNavItems();
38
- const subnavHeight = this.el.offsetHeight;
39
- const scrollPosition = window.scrollY + subnavHeight + 100; // Offset for better detection
40
- // Find the section that should be active based on scroll position
41
- let activeSection = navItems[0].id; // Default to first section
42
- for (let i = navItems.length - 1; i >= 0; i--) {
43
- const section = document.getElementById(navItems[i].id);
44
- if (section && section.offsetTop <= scrollPosition) {
45
- activeSection = navItems[i].id;
46
- break;
47
- }
48
- }
49
- // Only update if different from current active
50
- if (activeSection !== this.currentActive) {
51
- this.currentActive = activeSection;
52
- }
53
- this.scrollThrottleTimeout = null;
54
- }, 16); // ~60fps throttling
55
- };
56
- this.initializeStickyPosition = () => {
57
- // Store the original position of the subnav
58
- const rect = this.el.getBoundingClientRect();
59
- this.originalTop = rect.top + window.scrollY;
60
- };
61
- this.handleStickyScroll = () => {
62
- // Throttle sticky scroll events for better performance
63
- if (this.stickyScrollTimeout) {
64
- return;
65
- }
66
- this.stickyScrollTimeout = window.setTimeout(() => {
67
- var _a;
68
- const scrollY = window.scrollY;
69
- // Check if we should make the subnav sticky
70
- const shouldBeSticky = scrollY >= this.originalTop;
71
- if (shouldBeSticky && !this.isSticky) {
72
- // Store the original height before making it fixed
73
- const originalHeight = this.el.offsetHeight;
74
- // Create placeholder element to maintain space
75
- this.placeholderElement = document.createElement("div");
76
- this.placeholderElement.style.height = `${originalHeight}px`;
77
- this.placeholderElement.style.width = "100%";
78
- this.placeholderElement.style.pointerEvents = "none";
79
- // Insert placeholder before the subnav
80
- (_a = this.el.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(this.placeholderElement, this.el);
81
- // Add transition class for smooth animation
82
- this.el.classList.add("sticky-transition");
83
- // Apply fixed positioning with smooth transition
84
- this.el.style.position = "fixed";
85
- this.el.style.top = "0";
86
- this.el.style.left = "0";
87
- this.el.style.right = "0";
88
- this.el.style.width = "100%";
89
- this.el.style.zIndex = "105";
90
- this.el.style.transform = "translateY(0)";
91
- this.isSticky = true;
92
- }
93
- else if (!shouldBeSticky && this.isSticky) {
94
- // Remove transition class and reset transform
95
- this.el.classList.remove("sticky-transition");
96
- this.el.style.transform = "";
97
- // Remove fixed positioning and restore original position
98
- this.el.style.position = "";
99
- this.el.style.top = "";
100
- this.el.style.left = "";
101
- this.el.style.right = "";
102
- this.el.style.width = "";
103
- this.el.style.zIndex = "";
104
- this.isSticky = false;
105
- // Remove placeholder element
106
- if (this.placeholderElement) {
107
- this.placeholderElement.remove();
108
- this.placeholderElement = null;
109
- }
110
- }
111
- this.stickyScrollTimeout = null;
112
- }, 16); // ~60fps throttling
113
- };
114
- this.handleResize = () => {
115
- this.navContainer && setTimeout(() => this.calculateVisibleItems(), 10);
116
- // Recalculate original position on resize
117
- if (!this.isSticky) {
118
- this.initializeStickyPosition();
119
- }
120
- else if (this.placeholderElement) {
121
- // Update placeholder height if sticky and resized
122
- const currentHeight = this.el.offsetHeight;
123
- this.placeholderElement.style.height = `${currentHeight}px`;
124
- // Update originalTop based on placeholder position (layout may have changed)
125
- const placeholderRect = this.placeholderElement.getBoundingClientRect();
126
- this.originalTop = placeholderRect.top + window.scrollY;
127
- }
128
- };
129
- this.setupIntersectionObserver = () => {
130
- // Get all sections that correspond to our navigation items
131
- const navItems = this.getNavItems();
132
- // Create intersection observer
133
- this.intersectionObserver = new IntersectionObserver((entries) => {
134
- // Clear any existing timeout
135
- if (this.scrollTimeout) {
136
- clearTimeout(this.scrollTimeout);
137
- }
138
- // Debounce the intersection changes
139
- this.scrollTimeout = window.setTimeout(() => {
140
- // Don't update active state if user just manually navigated
141
- if (this.isManualNavigation) {
142
- return;
143
- }
144
- // Find all intersecting sections
145
- const intersectingSections = entries.filter((entry) => entry.isIntersecting);
146
- if (intersectingSections.length > 0) {
147
- // Sort by intersection ratio (how much of the section is visible)
148
- // and then by position (top to bottom)
149
- intersectingSections.sort((a, b) => {
150
- // First sort by intersection ratio (higher = more visible)
151
- if (b.intersectionRatio !== a.intersectionRatio) {
152
- return (b.intersectionRatio - a.intersectionRatio);
153
- }
154
- // If intersection ratios are equal, sort by position
155
- return (a.boundingClientRect.top -
156
- b.boundingClientRect.top);
157
- });
158
- // Get the most visible section
159
- const mostVisibleSection = intersectingSections[0];
160
- const sectionId = mostVisibleSection.target.id;
161
- if (sectionId && sectionId !== this.currentActive) {
162
- this.currentActive = sectionId;
163
- }
164
- }
165
- }, 100); // Increased debounce time for better performance
166
- }, {
167
- root: null,
168
- rootMargin: "-20% 0px -60% 0px",
169
- threshold: [0, 0.1, 0.25, 0.5, 0.75, 1.0], // Multiple thresholds for better detection
170
- });
171
- // Observe all sections
172
- navItems.forEach((item) => {
173
- const section = document.getElementById(item.id);
174
- if (section) {
175
- this.intersectionObserver.observe(section);
176
- }
177
- });
178
- };
179
- this.setupResizeObserver = () => {
180
- // Observe the parent element for layout changes
181
- this.resizeObserver = new ResizeObserver(() => {
182
- // Recalculate sticky position when parent layout changes
183
- if (!this.isSticky) {
184
- this.initializeStickyPosition();
185
- }
186
- else if (this.placeholderElement) {
187
- // If sticky, update originalTop based on placeholder position
188
- const placeholderRect = this.placeholderElement.getBoundingClientRect();
189
- this.originalTop = placeholderRect.top + window.scrollY;
190
- }
191
- });
192
- // Observe the element's parent or the element itself
193
- if (this.el.parentElement) {
194
- this.resizeObserver.observe(this.el.parentElement);
195
- }
196
- };
197
- this.extractNavItemsFromSlots = () => {
198
- const slotElement = this.el.querySelector('[slot="nav-items"]');
199
- if (!slotElement)
200
- return null;
201
- const links = slotElement.querySelectorAll("a");
202
- const items = Array.from(links)
203
- .map((link) => {
204
- var _a, _b;
205
- return ({
206
- id: ((_a = link.getAttribute("href")) === null || _a === void 0 ? void 0 : _a.substring(1)) || "",
207
- label: ((_b = link.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "",
208
- title: link.getAttribute("title") || undefined,
209
- trackerId: link.getAttribute("tracker-id") || undefined,
210
- });
211
- })
212
- .filter((item) => Boolean(item.id && item.label));
213
- return items.length > 0 ? items : null;
214
- };
215
- this.getNavItems = () => {
216
- // Return cached items if available
217
- if (this.cachedNavItems) {
218
- return this.cachedNavItems;
219
- }
220
- // Extract navigation items from slots (SEO-friendly approach)
221
- const slotItems = this.extractNavItemsFromSlots();
222
- if (slotItems) {
223
- this.cachedNavItems = slotItems;
224
- return slotItems;
225
- }
226
- // If navItems prop is provided, parse and use it (fallback)
227
- const propItems = this.parsePropNavItems();
228
- if (propItems) {
229
- this.cachedNavItems = propItems;
230
- return propItems;
231
- }
232
- // Return empty array if no navigation items found
233
- console.warn("No navigation items found in slots or props for ptc-subnav-v2");
234
- return [];
235
- };
236
- this.hasActiveOverflowItem = () => {
237
- return this.overflowItems.some((item) => item.id === this.currentActive);
238
- };
239
- this.hasSubnavMenuRightContent = () => {
240
- const slotElement = this.el.querySelector('[slot="subnav-menu-right"]');
241
- return Boolean(slotElement === null || slotElement === void 0 ? void 0 : slotElement.children.length);
242
- };
243
- this.calculateVisibleItems = () => {
244
- const navItems = this.getNavItems();
245
- // Handle case where no navigation items are found
246
- if (navItems.length === 0) {
247
- this.visibleItems = [];
248
- this.overflowItems = [];
249
- return;
250
- }
251
- // Check if we're in mobile mode (below 767px)
252
- const wasMobile = this.isMobile;
253
- this.isMobile = window.innerWidth <= 767;
254
- // Force re-render if mobile state changed
255
- if (wasMobile !== this.isMobile) {
256
- this.showOverflowMenu = false; // Close any open menus when switching modes
257
- }
258
- if (this.isMobile) {
259
- // On mobile, show only the current active item
260
- const activeItem = navItems.find((item) => item.id === this.currentActive) ||
261
- navItems[0];
262
- this.visibleItems = [activeItem];
263
- this.overflowItems = navItems.filter((item) => item.id !== activeItem.id);
264
- }
265
- else {
266
- // Desktop behavior - calculate based on available width
267
- const containerWidth = this.navContainer
268
- ? this.navContainer.offsetWidth
269
- : 0;
270
- const buttonWidth = this.overflowButton
271
- ? this.overflowButton.offsetWidth + 32
272
- : 0; // 32px for gap
273
- const availableWidth = containerWidth - buttonWidth - 48; // 48px for right margin
274
- // Fallback if container width is not available yet
275
- if (containerWidth === 0) {
276
- this.visibleItems = navItems;
277
- this.overflowItems = [];
278
- return;
279
- }
280
- let visibleCount = 0;
281
- let totalWidth = 0;
282
- // Create or reuse measurement element
283
- if (!this.measurementElement) {
284
- this.measurementElement = document.createElement("div");
285
- this.measurementElement.style.position = "absolute";
286
- this.measurementElement.style.visibility = "hidden";
287
- this.measurementElement.style.whiteSpace = "nowrap";
288
- this.measurementElement.style.fontSize = "14px";
289
- this.measurementElement.style.fontWeight = "700";
290
- this.measurementElement.style.padding = "20px 0 20px 0";
291
- document.body.appendChild(this.measurementElement);
292
- }
293
- for (let i = 0; i < navItems.length; i++) {
294
- const item = navItems[i];
295
- this.measurementElement.textContent = item.label;
296
- const itemWidth = this.measurementElement.offsetWidth + 32; // 32px for gap
297
- if (totalWidth + itemWidth <= availableWidth) {
298
- totalWidth += itemWidth;
299
- visibleCount++;
300
- }
301
- else {
302
- break;
303
- }
304
- }
305
- this.visibleItems = navItems.slice(0, visibleCount);
306
- this.overflowItems = navItems.slice(visibleCount);
307
- }
308
- // Don't automatically show overflow menu - it should be closed by default
309
- // this.showOverflowMenu = this.overflowItems.length > 0;
310
- };
311
- this.toggleOverflowMenu = () => {
312
- this.showOverflowMenu = !this.showOverflowMenu;
313
- // After opening, measure and decide alignment to avoid viewport overflow
314
- if (!this.showOverflowMenu) {
315
- return;
316
- }
317
- requestAnimationFrame(() => {
318
- const container = this.overflowMenuContainer;
319
- const dropdown = this.overflowDropdownEl;
320
- if (!container || !dropdown)
321
- return;
322
- const containerRect = container.getBoundingClientRect();
323
- // Default positioning is right: -2px inside container
324
- const dropdownWidth = dropdown.offsetWidth || 0;
325
- const rightEdge = containerRect.right + 2;
326
- const leftEdge = rightEdge - dropdownWidth;
327
- // If left edge would be off the viewport, flip to left aligned
328
- this.overflowDropdownAlignLeft = leftEdge < 8; // keep a small gutter
329
- });
330
- };
331
- this.handleNavClick = (event, section) => {
332
- event.preventDefault();
333
- this.currentActive = section;
334
- // Set manual navigation flag to prevent intersection observer from overriding
335
- this.isManualNavigation = true;
336
- // Clear any existing manual navigation timeout
337
- if (this.manualNavigationTimeout) {
338
- clearTimeout(this.manualNavigationTimeout);
339
- }
340
- // Reset manual navigation flag after scroll animation completes
341
- this.manualNavigationTimeout = window.setTimeout(() => {
342
- this.isManualNavigation = false;
343
- }, 1500); // Give enough time for smooth scroll to complete
344
- // Emit custom event for parent components
345
- const customEvent = new CustomEvent("sectionChange", {
346
- detail: { section },
347
- bubbles: true,
348
- composed: true,
349
- });
350
- this.el.dispatchEvent(customEvent);
351
- // Smooth scroll to section if it exists, accounting for sticky nav height
352
- const targetElement = document.querySelector(`#${section}`);
353
- if (targetElement) {
354
- // Get the sticky nav height
355
- const navHeight = this.el.offsetHeight;
356
- // Calculate the target position with offset
357
- const targetPosition = targetElement.getBoundingClientRect().top +
358
- window.scrollY -
359
- navHeight;
360
- // Smooth scroll to the adjusted position
361
- window.scrollTo({
362
- top: targetPosition,
363
- behavior: "smooth",
364
- });
365
- }
366
- };
367
- this.activeSection = "overview";
368
- this.navItems = "";
369
- this.currentActive = "overview";
370
- this.visibleItems = [];
371
- this.overflowItems = [];
372
- this.showOverflowMenu = false;
373
- this.overflowDropdownAlignLeft = false;
374
- this.isMobile = false;
375
- this.isManualNavigation = false;
376
- }
377
- componentWillLoad() {
378
- this.currentActive = this.activeSection;
379
- }
380
- componentDidLoad() {
381
- this.bindEventHandlers();
382
- this.handleResize();
383
- this.addEventListeners();
384
- this.setupIntersectionObserver();
385
- this.setupResizeObserver();
386
- this.initializeStickyPosition();
387
- }
388
- bindEventHandlers() {
389
- this.boundHandleResize = this.handleResize.bind(this);
390
- this.boundHandleClickOutside = this.handleClickOutside.bind(this);
391
- this.boundHandleScroll = this.handleScroll.bind(this);
392
- this.boundHandleKeyDown = this.handleKeyDown.bind(this);
393
- this.boundHandleStickyScroll = this.handleStickyScroll.bind(this);
394
- }
395
- addEventListeners() {
396
- window.addEventListener("resize", this.boundHandleResize);
397
- document.addEventListener("click", this.boundHandleClickOutside);
398
- document.addEventListener("keydown", this.boundHandleKeyDown);
399
- window.addEventListener("scroll", this.boundHandleScroll, {
400
- passive: true,
401
- });
402
- window.addEventListener("scroll", this.boundHandleStickyScroll, {
403
- passive: true,
404
- });
405
- }
406
- disconnectedCallback() {
407
- this.removeEventListeners();
408
- this.cleanupTimeouts();
409
- this.cleanupIntersectionObserver();
410
- this.cleanupResizeObserver();
411
- this.cleanupElements();
412
- }
413
- removeEventListeners() {
414
- window.removeEventListener("resize", this.boundHandleResize);
415
- document.removeEventListener("click", this.boundHandleClickOutside);
416
- document.removeEventListener("keydown", this.boundHandleKeyDown);
417
- window.removeEventListener("scroll", this.boundHandleScroll);
418
- window.removeEventListener("scroll", this.boundHandleStickyScroll);
419
- }
420
- cleanupTimeouts() {
421
- if (this.scrollTimeout)
422
- clearTimeout(this.scrollTimeout);
423
- if (this.scrollThrottleTimeout)
424
- clearTimeout(this.scrollThrottleTimeout);
425
- if (this.manualNavigationTimeout)
426
- clearTimeout(this.manualNavigationTimeout);
427
- if (this.stickyScrollTimeout)
428
- clearTimeout(this.stickyScrollTimeout);
429
- }
430
- cleanupIntersectionObserver() {
431
- if (this.intersectionObserver) {
432
- this.intersectionObserver.disconnect();
433
- }
434
- }
435
- cleanupResizeObserver() {
436
- if (this.resizeObserver) {
437
- this.resizeObserver.disconnect();
438
- }
439
- }
440
- cleanupElements() {
441
- if (this.placeholderElement) {
442
- this.placeholderElement.remove();
443
- this.placeholderElement = null;
444
- }
445
- if (this.measurementElement) {
446
- this.measurementElement.remove();
447
- this.measurementElement = null;
448
- }
449
- }
450
- parsePropNavItems() {
451
- var _a;
452
- if (!((_a = this.navItems) === null || _a === void 0 ? void 0 : _a.trim()))
453
- return null;
454
- try {
455
- const parsedItems = JSON.parse(this.navItems);
456
- if (Array.isArray(parsedItems) && parsedItems.length > 0) {
457
- const validItems = parsedItems.filter((item) => Boolean(item &&
458
- typeof item.id === "string" &&
459
- typeof item.label === "string"));
460
- return validItems.length > 0 ? validItems : null;
461
- }
462
- }
463
- catch (error) {
464
- console.warn("Invalid navItems JSON provided to ptc-subnav-v2:", error);
465
- }
466
- return null;
467
- }
468
- render() {
469
- const navItems = this.getNavItems();
470
- const hasRightContent = this.hasSubnavMenuRightContent();
471
- const selectedMobileItem = this.isMobile
472
- ? navItems.find((item) => item.id === this.currentActive) ||
473
- navItems[0]
474
- : null;
475
- // If no navigation items, don't render the navigation
476
- if (navItems.length === 0) {
477
- return (h(Host, null, h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, hasRightContent && (h("div", { class: "subnav-menu-right" }, h("slot", { name: "subnav-menu-right" }))))));
478
- }
479
- return (h(Host, null, h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, h("nav", { class: `subnav-menu-left ${!hasRightContent ? "full-width" : ""}`, role: "navigation", "aria-label": "Sub navigation", ref: (el) => (this.navContainer = el) }, this.isMobile ? (
480
- // Mobile layout - dropdown with arrows
481
- h("div", { class: "mobile-dropdown-container" }, h("button", { class: "mobile-dropdown-button", onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
482
- if (e.key === "Enter" ||
483
- e.key === " ") {
484
- e.preventDefault();
485
- this.toggleOverflowMenu();
486
- }
487
- }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": `${(selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) || "Select Section"} - Choose navigation section`, "tracker-id": "mobile-dropdown-button", ref: (el) => (this.overflowButton = el) }, h("span", { class: "mobile-selected-item" }, (selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) ||
488
- "Select Section"), h("span", { class: `mobile-arrow ${this.showOverflowMenu ? "rotated" : ""}`, "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true" }, h("path", { d: "M1 1.5L5.94975 6.44975L10.8995 1.5", stroke: "#00890B", "stroke-width": "2", "stroke-linecap": "round" })))), this.showOverflowMenu && (h("ul", { class: "mobile-dropdown", role: "menu", "aria-label": "Navigation sections" }, navItems.map((item) => (h("li", { key: item.id, class: "mf-listen", id: item.trackerId ||
489
- `mobile-nav-${item.id}` }, h("a", { href: `#${item.id}`, class: `mobile-dropdown-item ${this.currentActive ===
490
- item.id
491
- ? "active"
492
- : ""}`, role: "menuitem", "aria-current": this.currentActive ===
493
- item.id
494
- ? "page"
495
- : undefined, title: item.title || "", onClick: (e) => {
496
- this.handleNavClick(e, item.id);
497
- this.showOverflowMenu = false;
498
- } }, item.label)))))))) : (
499
- // Desktop layout - original behavior
500
- h("ul", { class: "desktop-menu" }, this.visibleItems.map((item) => (h("li", { key: item.id, class: "mf-listen", id: item.trackerId || `nav-${item.id}` }, h("a", { href: `#${item.id}`, class: this.currentActive === item.id
501
- ? "active"
502
- : "", title: item.title || "", onClick: (e) => this.handleNavClick(e, item.id), "aria-current": this.currentActive === item.id
503
- ? "page"
504
- : undefined }, item.label)))), this.overflowItems.length > 0 && (h("li", { class: "overflow-menu-container mf-listen", id: "overflow-menu", ref: (el) => (this.overflowMenuContainer = el) }, h("button", { class: `overflow-button ${this.hasActiveOverflowItem() ? "selected-active" : ""}`, onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
505
- if (e.key === "Enter" ||
506
- e.key === " ") {
507
- e.preventDefault();
508
- this.toggleOverflowMenu();
509
- }
510
- }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": "Show more navigation items", "tracker-id": "overflow-button", ref: (el) => (this.overflowButton = el) }, h("span", { class: "overflow-dots", "aria-hidden": "true" }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "1.25", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "5", cy: "5", r: "1.25", fill: "#617480" }), h("circle", { cx: "8.75", cy: "5", r: "1.25", fill: "#617480" })))), this.showOverflowMenu && (h("div", { class: `overflow-dropdown ${this.overflowDropdownAlignLeft ? "align-left" : "align-right"}`, role: "menu", "aria-label": "Additional navigation sections", ref: (el) => (this.overflowDropdownEl =
511
- el) }, this.overflowItems.map((item) => (h("a", { key: item.id, href: `#${item.id}`, class: `mf-listen ${this
512
- .currentActive ===
513
- item.id
514
- ? "active"
515
- : ""}`, title: item.title || "", "tracker-id": item.trackerId ||
516
- `overflow-link-${item.id}`, role: "menuitem", onClick: (e) => {
517
- this.handleNavClick(e, item.id);
518
- this.showOverflowMenu = false;
519
- }, "aria-current": this
520
- .currentActive ===
521
- item.id
522
- ? "page"
523
- : undefined }, item.label)))))))))), hasRightContent && (h("div", { class: "subnav-menu-right" }, h("slot", { name: "subnav-menu-right" }))))));
524
- }
525
- get el() { return getElement(this); }
526
- };
527
- PtcSubnavV2.style = ptcSubnavV2Css;
528
-
529
- export { PtcSubnavV2 as ptc_subnav_v2 };
@@ -1 +0,0 @@
1
- import{r as o,h as t,H as r}from"./p-ac75c7ad.js";const a=class{constructor(t){o(this,t),this.categoryDescription=void 0}render(){return t(r,null,t("div",{class:"category-header"},t("slot",{name:"title"}),t("ptc-spacer",{size:"x-small"}),t("ptc-spacer",{size:"x-small",breakpoint:"x-small"}),t("ptc-para",{"para-margin":"margin-flush","font-size":"small","para-line-h":"line-height-p","font-weight":"w-5","para-z-index":"z-auto","enable-tooltip":!0,"max-lines":"9","tooltip-z-index":"999","tooltip-width":"full-width","seo-compatibility-mode":!0},this.categoryDescription)),t("slot",null))}};a.style='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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block;padding-bottom:var(--ptc-layout-spacing-03)}:host .category-header{margin-bottom:var(--ptc-layout-spacing-03)}:host .tooltip-box{visibility:visible;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background-color:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:var(--ptc-border-radius-standard);width:auto;height:auto;text-align:left;text-shadow:none;white-space:normal;position:absolute;z-index:999;line-height:1.5}@media only screen and (min-width: 480px){:host .tooltip-box{width:273px}}:host .tooltip-box.hide-tooltip-mobile{display:none !important}@media only screen and (min-width: 768px){:host .tooltip-box.hide-tooltip-mobile{display:block !important}}:host .tooltip-box.full-width{width:100%}:host .tooltip-box::after{content:"";position:absolute}:host .tooltip-box.bottom{bottom:-12px;transform:translateY(100%)}:host .tooltip-box.bottom::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.left{bottom:-12px;transform:translate(-80%, 100%)}:host .tooltip-box.left::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.right{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){:host .tooltip-box.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){:host .tooltip-box.right{transform:translate(100%, 8px) !important}}}:host .tooltip-box.right::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.top{top:-8px;transform:translateY(-100%)}:host .tooltip-box.top::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}:host .tooltip-box.bottom-right{bottom:-12px;transform:translate(100%, 100%)}:host .tooltip-box.bottom-right::after{top:1px;left:10%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}:host .tooltip-box.danger{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}:host .tooltip-box.danger a{color:var(--color-hyperlink)}@media (max-width: 768px){:host .hide-tooltip-on-mobile h1,:host .hide-tooltip-on-mobile h2,:host .hide-tooltip-on-mobile h3,:host .hide-tooltip-on-mobile h4,:host .hide-tooltip-on-mobile h5,:host .hide-tooltip-on-mobile h6{-webkit-line-clamp:initial !important}}';export{a as ptc_product_category}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as i}from"./p-ac75c7ad.js";const a=class{constructor(e){t(this,e),this.href=void 0,this.text=void 0,this.styles=void 0}render(){return e(i,null,this.styles&&e("style",null,this.styles),e("list-item",{listType:"breadcrumb",flushBefore:!0,"link-href":this.href},e("ptc-svg-btn",{class:"backarrow","svg-name":"back-arrow",display:"inline-block"}),e("a",{class:"back-to-videos"},this.text)),e("slot",null))}};a.style="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;margin-top:var(--ptc-element-spacing-03)}.back-to-videos{display:inline-block;font-family:var(--ptc-font-latin);font-style:normal;font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-dense)}.back-to-videos:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}::slotted(*){transform:translate(-2px, -2px)}.backarrow:hover+.back-to-videos{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}";export{a as ptc_previous_url}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as s}from"./p-ac75c7ad.js";import{a as h}from"./p-711bcdad.js";const a=class{constructor(i){t(this,i),this.src=void 0,this.alt="image",this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.disableResize=!1,this.oldSrc=void 0,this.imagePosition="static",this.borderRadius=void 0,this.height=void 0,this.width=void 0,this.objectFit="cover",this.isFullHeight=!1,this.isFullWidth=!1,this.styles=void 0,this.imageAlignment="left",this.maxWidth=void 0,this.displayImage="block"}WindowResize(){this.addIntersectionObserver()}componentWillLoad(){this.disableResize&&(this.sizeXs=void 0,this.sizeSm=void 0,this.sizeMd=void 0,this.sizeLg=void 0)}componentDidLoad(){this.addIntersectionObserver()}componentWillUpdate(){this.src!==this.oldSrc&&this.addIntersectionObserver(),this.oldSrc=this.src}addIntersectionObserver(){if(this.src)if("IntersectionObserver"in window){let t=new IntersectionObserver((i=>{i.forEach((i=>{if(i.isIntersecting){const i=this.el.shadowRoot.querySelector("img");i.src=this.setResponsiveBg(),t.unobserve(i)}}))})),i=this.el.shadowRoot.querySelector("img");i&&t.observe(i),this.observer=t}else setTimeout((()=>{const t=this.el.shadowRoot.querySelector("img");t.src=this.setResponsiveBg(),t.onload=()=>{t.removeAttribute("data-src")}}),5e3)}setResponsiveBg(){let t,i,e=(this.el.shadowRoot||document).querySelectorAll("img"),s=this.getCurrentBreakPoints();for(var h=0,a=e.length;h<a;h++){if(t=e[h],i=t.getAttribute("data-"+s),null!==i)return i;"object"==typeof console&&console.warn("Data attribute: data-"+s+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}}async LoadImage(){const t=this.el.shadowRoot.querySelector("img");t&&(t.src||(t.src=this.setResponsiveBg(),t.onload=()=>{t.removeAttribute("data-src")}),this.observer&&this.observer.unobserve(t))}render(){const t=this.getCssClassMap(),s=this.getCssClassMapHost();return i(e,{class:s},this.styles&&i("style",null,this.styles),i("img",Object.assign({class:t,"data-xs":`${this.src}`,"data-sm":`${this.src}`,"data-md":`${this.src}`,"data-lg":`${this.src}`},this.width?{width:this.width}:{},this.height?{height:this.height}:{},{alt:this.alt,style:Object.assign({},this.maxWidth?{maxWidth:this.maxWidth+"px"}:{})})),i("slot",null))}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let s=h.envs.length-1;s>=0;s--)if(t=h.envs[s],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),t;return i.body.removeChild(e),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}getCssClassMap(){return{[this.borderRadius]:!!this.borderRadius,[this.objectFit]:!0,[this.isFullHeight?"is-full-height":"is-normal-height"]:!0,[this.isFullWidth?"is-full-width":"is-normal-width"]:!0,[this.displayImage]:!0}}getCssClassMapHost(){return{[this.imagePosition]:!0,[this.imageAlignment]:!0}}get el(){return s(this)}};a.style="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{-o-object-fit:cover;object-fit:cover}.fill{-o-object-fit:fill;object-fit:fill}.contain{-o-object-fit:contain;object-fit:contain}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.none{-o-object-fit:none;object-fit:none}.initial{-o-object-fit:initial;object-fit:initial}.inherit{-o-object-fit: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}";export{a as ptc_picture}
@@ -1 +0,0 @@
1
- import{r as a,h as i,H as o,g as r}from"./p-ac75c7ad.js";const t=class{constructor(i){a(this,i),this.cardImage=void 0,this.cardImageAltText=void 0,this.cardDescription=void 0,this.cardCtaText=void 0,this.toggleCtaTitle=void 0,this.isOpen=!1,this.isSlotEmpty=void 0}togglePanel(){this.isOpen=!this.isOpen}handleReadmoreToggle(a){Array.from(this.hostElement.querySelectorAll(".ptc-product-highlight-card")).forEach((i=>{var o,r;const t=null==i?void 0:i.querySelector("ptc-readmore"),e=null===(o=t.shadowRoot)||void 0===o?void 0:o.querySelector(".read-more-text"),l=e.scrollHeight>e.clientHeight,n=null===(r=t.shadowRoot)||void 0===r?void 0:r.querySelector("#expanded");if(t&&t!==a.detail.sender){n.checked=a.detail.isExpanded;const i=t.shadowRoot.querySelector(".read-more-cta-label");i&&(i.innerHTML=a.detail.isExpanded?`<span>${t.lessText||""}</span>`:`<span>${t.moreText||""}</span>`,a.detail.isExpanded?l&&i.classList.add("show-less-cta"):i.classList.remove("show-less-cta")),e.classList[l?"add":"remove"]("truncated")}}))}render(){return i(o,null,i("div",{class:"card-wrap"},this.cardImage&&i("ptc-picture",{alt:"image-test",src:this.cardImage,"display-image":"inline-block",width:"38"}),i("div",{class:"content"},i("div",null,i("slot",{name:"title"}),i("ptc-spacer",{size:"x-small"}),i("ptc-spacer",{size:"xx-small",breakpoint:"x-small"}),i("div",null,i("slot",{name:"content"}))),i("div",{class:"cta-wrap"},i("slot",{name:"cta"})))),this.toggleCtaTitle&&i("ptc-para",{class:"toggle-btn mf-listen","font-size":"small","para-margin":"margin-flush","para-line-h":"line-height-p","para-z-index":"z-auto",onClick:()=>this.togglePanel(),tabIndex:0},i("span",{class:"toggleText"},this.toggleCtaTitle)),i("div",{class:"product-highlights-container"},i("slot",null)))}get hostElement(){return r(this)}};t.style='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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block;background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);margin-bottom:var(--ptc-layout-spacing-03)}:host .card-wrap{display:flex;align-items:center}:host .card-wrap ptc-picture{display:none}@media only screen and (min-width: 768px){:host .card-wrap ptc-picture{display:block;margin-left:var(--ptc-element-spacing-06);min-width:38px;max-width:38px}}:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-04)}@media only screen and (min-width: 768px){:host .card-wrap .content{padding:var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) var(--ptc-layout-spacing-03) 44px}}@media only screen and (min-width: 1200px){:host .card-wrap .content{display:flex;align-items:center;justify-content:space-between;width:100%}}:host .card-wrap .content .cta-wrap{margin-left:0;margin-top:24px;min-width:146px;text-align:left}@media only screen and (min-width: 1200px){:host .card-wrap .content .cta-wrap{margin-top:0px;margin-left:44px;text-align:right}}:host .toggle-btn{padding:16px;text-align:center;border-top:1px solid var(--color-gray-04);display:block;cursor:pointer}:host .toggle-btn:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .toggle-btn svg{margin-right:var(--ptc-element-spacing-03);vertical-align:middle;margin-top:-2px}:host .toggle-btn .toggleText::before{content:"";display:inline-block;width:18px;height:18px;background-image:url(\'data:image/svg+xml,<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="18" height="18" rx="4" fill="%2300890B"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.953 4.23535H8.04712V8.04712H4.23535V9.953H8.04712V13.7648H9.953V9.953H13.7648V8.04712H9.953V4.23535Z" fill="white"/></svg>\');margin-right:12px;vertical-align:middle;margin-top:-2px}:host .product-highlights-container{padding:0px 20px 16px 20px;display:none}:host(.has-opened) .toggleText::before{background-image:url(\'data:image/svg+xml,<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.632812" width="17.9798" height="18" rx="4" fill="%2300890B"/><g clip-path="url(%23clip0_220_1413)"><path d="M4.86328 7.98749V10.0125H14.382V7.98749H4.86328Z" fill="white"/></g><defs><clipPath id="clip0_220_1413"><rect width="9.51872" height="9.52941" fill="white" transform="translate(4.86328 4.23529)"/></clipPath></defs></svg>\')}:host(.has-opened) .product-highlights-container{display:block}';export{t as ptc_product_card}
@@ -1 +0,0 @@
1
- import{r as o,h as r,H as a}from"./p-ac75c7ad.js";const i=class{constructor(r){o(this,r),this.cardTitle=void 0,this.cardImage=void 0,this.cardImageAltText=void 0,this.moreText="More",this.lessText="Less",this.cardDescription=void 0,this.browserFirefox=!1,this.currentLanguage=void 0}render(){return r(a,null,r("ptc-title",{type:"h4",upperline:"no-upperline","title-margin":"margin-flush","title-size":"small","text-align":"center"},r("ptc-tooltip",{"text-display":"block","text-lines":"2","z-index":"z-999",description:this.cardTitle,position:"bottom",width:"full-width"})),r("ptc-picture",{alt:this.cardImageAltText,src:this.cardImage,"image-alignment":"center",width:"69","display-image":"inline-block",styles:"img{margin: 12px auto 18px auto}"}),r("ptc-para",{"font-size":"x-small","para-margin":"margin-flush","para-line-h":"line-height-densest","para-align":"left","para-z-index":"z-auto"},this.browserFirefox&&this.currentLanguage.toLowerCase().includes("ja")?r("slot",null):r("ptc-readmore",{"more-text":this.moreText,"less-text":this.lessText,"visible-lines-custom":"8","read-more-position":"left"},r("slot",null))))}};i.style="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}}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{max-width:300px;display:block;padding:18px 10px 12px 10px;border:1px solid var(--color-gray-04);border-radius:var(--ptc-border-radius-standard);margin:auto;height:100%}:host ptc-picture{min-height:100px}:host ptc-para ptc-readmore .box input~label{margin-right:0px}:host ptc-para a{color:var(--color-hyperlink)}";export{i as ptc_product_highlight_card}