@ptcwebops/ptcw-design 6.4.2 → 6.4.3-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 (267) hide show
  1. package/dist/cjs/blog-detail-content_2.cjs.entry.js +1 -1
  2. package/dist/cjs/blog-detail-layout.cjs.entry.js +1 -1
  3. package/dist/cjs/blogs-search-section.cjs.entry.js +5 -2
  4. package/dist/cjs/{component-35540bfb.js → component-6a178a16.js} +2643 -832
  5. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +3 -1
  6. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  7. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  8. package/dist/cjs/homepage-toggled-content.cjs.entry.js +4 -2
  9. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/modal-form-example.cjs.entry.js +109 -0
  12. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  13. package/dist/cjs/my-component.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-announcement.cjs.entry.js +2 -1
  16. package/dist/cjs/ptc-background-video.cjs.entry.js +92 -28
  17. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-button_5.cjs.entry.js +597 -0
  19. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +3 -1
  20. package/dist/cjs/ptc-card_2.cjs.entry.js +4 -3
  21. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +24 -24
  23. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  25. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  27. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +724 -6
  28. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  30. package/dist/cjs/ptc-icon-card.cjs.entry.js +1 -1
  31. package/dist/cjs/ptc-img.cjs.entry.js +87 -7
  32. package/dist/cjs/ptc-jumbotron.cjs.entry.js +11 -5
  33. package/dist/cjs/ptc-link.cjs.entry.js +1 -1
  34. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  35. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +4 -1
  36. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  37. package/dist/cjs/ptc-preloader.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-previous-url.cjs.entry.js +11 -2
  39. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +27 -11
  40. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +2 -2
  41. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  42. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  44. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-white-paper.cjs.entry.js +19 -9
  51. package/dist/cjs/ptcw-design.cjs.js +1 -1
  52. package/dist/cjs/{utils-b63aef52.js → utils-0ff09a53.js} +13 -0
  53. package/dist/collection/collection-manifest.json +1 -0
  54. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +3 -1
  55. package/dist/collection/components/icon-asset/media/designer-v6.0.7.svg +30 -2
  56. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +24 -0
  57. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +4 -1
  58. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +5 -4
  59. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  60. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +114 -0
  61. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +3 -1
  62. package/dist/collection/components/ptc-announcement/ptc-announcement.js +2 -1
  63. package/dist/collection/components/ptc-background-video/ptc-background-video.css +21 -0
  64. package/dist/collection/components/ptc-background-video/ptc-background-video.js +103 -43
  65. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +24 -0
  66. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +3 -1
  67. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +24 -0
  68. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +24 -0
  69. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +24 -0
  70. package/dist/collection/components/ptc-img/ptc-img.css +76 -0
  71. package/dist/collection/components/ptc-img/ptc-img.js +132 -7
  72. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +24 -0
  73. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +28 -4
  74. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  75. package/dist/collection/components/ptc-modal/ptc-modal.js +25 -25
  76. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +4 -1
  77. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  78. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  79. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +24 -0
  80. package/dist/collection/components/ptc-preloader/ptc-preloader.css +147 -111
  81. package/dist/collection/components/ptc-preloader/ptc-preloader.js +1 -1
  82. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
  83. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  84. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +28 -1
  85. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +26 -10
  86. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +1 -1
  87. package/dist/collection/components/ptc-product-card/ptc-product-card.css +24 -0
  88. package/dist/collection/components/ptc-product-category/ptc-product-category.css +24 -0
  89. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +24 -0
  90. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +24 -0
  91. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +24 -0
  92. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  93. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +19 -0
  94. package/dist/collection/components/ptc-textfield/ptc-textfield.js +3 -5
  95. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +24 -0
  96. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +24 -0
  97. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +27 -3
  98. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +18 -8
  99. package/dist/collection/stories/Accordian.stories.js +32 -18
  100. package/dist/collection/stories/Announcement.stories.js +29 -1
  101. package/dist/collection/stories/Button.stories.js +150 -66
  102. package/dist/collection/stories/Date.stories.js +70 -75
  103. package/dist/collection/stories/ListItem.stories.js +20 -46
  104. package/dist/collection/stories/Span.stories.js +45 -51
  105. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  106. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  107. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  108. package/dist/collection/utils/utils.js +11 -0
  109. package/dist/custom-elements/index.d.ts +6 -0
  110. package/dist/custom-elements/index.js +433 -120
  111. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  112. package/dist/esm/blog-detail-layout.entry.js +1 -1
  113. package/dist/esm/blogs-search-section.entry.js +5 -2
  114. package/dist/esm/{component-8c53e377.js → component-80f298b4.js} +2592 -793
  115. package/dist/esm/dynamic-box-bundle.entry.js +3 -1
  116. package/dist/esm/featured-list.entry.js +1 -1
  117. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  118. package/dist/esm/homepage-toggled-content.entry.js +4 -2
  119. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  120. package/dist/esm/{interfaces-4caedd26.js → interfaces-7c0243be.js} +1 -1
  121. package/dist/esm/loader.js +1 -1
  122. package/dist/esm/modal-form-example.entry.js +105 -0
  123. package/dist/esm/most-popular-news.entry.js +1 -1
  124. package/dist/esm/my-component.entry.js +1 -1
  125. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  126. package/dist/esm/ptc-announcement.entry.js +2 -1
  127. package/dist/esm/ptc-background-video.entry.js +92 -28
  128. package/dist/esm/ptc-bio-card.entry.js +1 -1
  129. package/dist/esm/ptc-button_5.entry.js +589 -0
  130. package/dist/esm/ptc-card-bottom_2.entry.js +3 -1
  131. package/dist/esm/ptc-card_2.entry.js +4 -3
  132. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  133. package/dist/esm/ptc-close-icon_2.entry.js +24 -24
  134. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  135. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  136. package/dist/esm/ptc-featured-list.entry.js +1 -1
  137. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  138. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +723 -7
  139. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  140. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  141. package/dist/esm/ptc-icon-card.entry.js +1 -1
  142. package/dist/esm/ptc-img.entry.js +88 -8
  143. package/dist/esm/ptc-jumbotron.entry.js +11 -5
  144. package/dist/esm/ptc-link.entry.js +1 -1
  145. package/dist/esm/ptc-media-card.entry.js +1 -1
  146. package/dist/esm/ptc-modal-quiz.entry.js +4 -1
  147. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  148. package/dist/esm/ptc-preloader.entry.js +1 -1
  149. package/dist/esm/ptc-previous-url.entry.js +11 -2
  150. package/dist/esm/ptc-pricing-packaging-table.entry.js +27 -11
  151. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  152. package/dist/esm/ptc-product-card.entry.js +1 -1
  153. package/dist/esm/ptc-product-category.entry.js +1 -1
  154. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  155. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  156. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  157. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  158. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  159. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  160. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  161. package/dist/esm/ptc-white-paper.entry.js +19 -9
  162. package/dist/esm/ptcw-design.js +1 -1
  163. package/dist/esm/{utils-2f12c081.js → utils-f0d200c9.js} +12 -1
  164. package/dist/ptcw-design/media/designer-v6.0.7.svg +30 -2
  165. package/dist/ptcw-design/{p-52e17d34.entry.js → p-040bf1bb.entry.js} +1 -1
  166. package/dist/ptcw-design/p-051f2611.entry.js +1 -0
  167. package/dist/ptcw-design/p-06e14543.entry.js +1 -0
  168. package/dist/ptcw-design/p-1519b36f.entry.js +1 -0
  169. package/dist/ptcw-design/{p-8c121480.entry.js → p-1616b11e.entry.js} +1 -1
  170. package/dist/ptcw-design/p-1e3bf09c.entry.js +1 -0
  171. package/dist/ptcw-design/p-21db0a85.entry.js +1 -0
  172. package/dist/ptcw-design/p-2670ac97.entry.js +1 -0
  173. package/dist/ptcw-design/p-2e8bc448.entry.js +1 -0
  174. package/dist/ptcw-design/{p-4b41fe4e.entry.js → p-312c41b8.entry.js} +1 -1
  175. package/dist/ptcw-design/p-349f43d5.entry.js +1 -0
  176. package/dist/ptcw-design/p-390c0dee.entry.js +1 -0
  177. package/dist/ptcw-design/{p-a3868e6a.entry.js → p-3a40c41f.entry.js} +1 -1
  178. package/dist/ptcw-design/p-3b5cae50.js +1 -0
  179. package/dist/ptcw-design/{p-45b1f3fc.entry.js → p-46af64c4.entry.js} +1 -1
  180. package/dist/ptcw-design/{p-9f01419b.entry.js → p-46b7fdf1.entry.js} +1 -1
  181. package/dist/ptcw-design/p-50308f02.entry.js +1 -0
  182. package/dist/ptcw-design/p-508d7501.entry.js +68 -0
  183. package/dist/ptcw-design/{p-78370e3d.entry.js → p-5a8e7557.entry.js} +1 -1
  184. package/dist/ptcw-design/p-5c81c755.entry.js +1 -0
  185. package/dist/ptcw-design/{p-d0fb9bfb.entry.js → p-5ca0b5b6.entry.js} +1 -1
  186. package/dist/ptcw-design/p-672a349f.js +336 -0
  187. package/dist/ptcw-design/p-684ef1e5.entry.js +1 -0
  188. package/dist/ptcw-design/{p-2a3c8a30.entry.js → p-7235425a.entry.js} +1 -1
  189. package/dist/ptcw-design/p-74097f89.entry.js +1 -0
  190. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  191. package/dist/ptcw-design/{p-9dbcfcee.entry.js → p-79bbedee.entry.js} +1 -1
  192. package/dist/ptcw-design/{p-76dab076.entry.js → p-7a4ceaad.entry.js} +1 -1
  193. package/dist/ptcw-design/{p-8cea8943.entry.js → p-7f9668d9.entry.js} +1 -1
  194. package/dist/ptcw-design/{p-f7c47857.entry.js → p-81bcde85.entry.js} +1 -1
  195. package/dist/ptcw-design/{p-d875f96d.entry.js → p-82ef17f5.entry.js} +1 -1
  196. package/dist/ptcw-design/{p-c3022c48.entry.js → p-89275cb9.entry.js} +1 -1
  197. package/dist/ptcw-design/p-8fb48953.entry.js +1 -0
  198. package/dist/ptcw-design/{p-901c31b3.entry.js → p-93da022d.entry.js} +1 -1
  199. package/dist/ptcw-design/{p-a5fc048f.entry.js → p-98434ba1.entry.js} +1 -1
  200. package/dist/ptcw-design/p-af831c13.entry.js +1 -0
  201. package/dist/ptcw-design/p-b684ca9d.entry.js +1 -0
  202. package/dist/ptcw-design/{p-257267e3.entry.js → p-ba18dd47.entry.js} +1 -1
  203. package/dist/ptcw-design/p-c09a8288.entry.js +1 -0
  204. package/dist/ptcw-design/p-cb0e3ec2.entry.js +1 -0
  205. package/dist/ptcw-design/p-db83b720.entry.js +1 -0
  206. package/dist/ptcw-design/{p-54f5a5be.entry.js → p-dc677485.entry.js} +1 -1
  207. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  208. package/dist/ptcw-design/{p-711bcdad.js → p-ee1183b2.js} +1 -1
  209. package/dist/ptcw-design/{p-5dec76bd.entry.js → p-f57f32ee.entry.js} +1 -1
  210. package/dist/ptcw-design/{p-fe8392c4.entry.js → p-fa4a494e.entry.js} +1 -1
  211. package/dist/ptcw-design/{p-abadbe5b.entry.js → p-ffa2849b.entry.js} +1 -1
  212. package/dist/ptcw-design/ptcw-design.css +4 -3
  213. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  214. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  215. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +31 -47
  216. package/dist/types/components/ptc-img/ptc-img.d.ts +29 -1
  217. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
  218. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  219. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  220. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  221. package/dist/types/components.d.ts +139 -92
  222. package/dist/types/utils/utils.d.ts +2 -0
  223. package/package.json +1 -1
  224. package/readme.md +5 -1
  225. package/dist/cjs/component-1b8ad4d2.js +0 -1819
  226. package/dist/cjs/ptc-button.cjs.entry.js +0 -117
  227. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  228. package/dist/cjs/ptc-para.cjs.entry.js +0 -139
  229. package/dist/cjs/ptc-picture.cjs.entry.js +0 -168
  230. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  231. package/dist/cjs/ptc-title.cjs.entry.js +0 -161
  232. package/dist/esm/component-9beac35b.js +0 -1802
  233. package/dist/esm/ptc-button.entry.js +0 -113
  234. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  235. package/dist/esm/ptc-para.entry.js +0 -135
  236. package/dist/esm/ptc-picture.entry.js +0 -164
  237. package/dist/esm/ptc-spacer.entry.js +0 -34
  238. package/dist/esm/ptc-title.entry.js +0 -157
  239. package/dist/ptcw-design/p-009fbf1f.entry.js +0 -1
  240. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  241. package/dist/ptcw-design/p-0c69ea52.entry.js +0 -1
  242. package/dist/ptcw-design/p-19a407ff.entry.js +0 -68
  243. package/dist/ptcw-design/p-1f15239e.entry.js +0 -1
  244. package/dist/ptcw-design/p-24776ca2.entry.js +0 -1
  245. package/dist/ptcw-design/p-2bfd8371.entry.js +0 -1
  246. package/dist/ptcw-design/p-2e6e2a9d.entry.js +0 -1
  247. package/dist/ptcw-design/p-352e87c0.entry.js +0 -1
  248. package/dist/ptcw-design/p-38e5e590.entry.js +0 -1
  249. package/dist/ptcw-design/p-3ed4a7ed.entry.js +0 -1
  250. package/dist/ptcw-design/p-56a73429.entry.js +0 -1
  251. package/dist/ptcw-design/p-605b13a2.entry.js +0 -1
  252. package/dist/ptcw-design/p-64026649.entry.js +0 -1
  253. package/dist/ptcw-design/p-80122e26.js +0 -1
  254. package/dist/ptcw-design/p-81e5fa38.entry.js +0 -1
  255. package/dist/ptcw-design/p-9493dfa0.entry.js +0 -1
  256. package/dist/ptcw-design/p-96163196.entry.js +0 -1
  257. package/dist/ptcw-design/p-9681188f.entry.js +0 -1
  258. package/dist/ptcw-design/p-98426799.js +0 -203
  259. package/dist/ptcw-design/p-98844b50.js +0 -134
  260. package/dist/ptcw-design/p-a8872ce3.entry.js +0 -1
  261. package/dist/ptcw-design/p-abca6130.entry.js +0 -1
  262. package/dist/ptcw-design/p-b44f4fb1.entry.js +0 -1
  263. package/dist/ptcw-design/p-bbbfd2e5.entry.js +0 -1
  264. package/dist/ptcw-design/p-c6431ebc.entry.js +0 -1
  265. package/dist/ptcw-design/p-cad4b517.entry.js +0 -1
  266. package/dist/ptcw-design/p-d51438de.entry.js +0 -1
  267. package/dist/ptcw-design/p-e4eb925f.entry.js +0 -1
@@ -0,0 +1,105 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
+
3
+ const modalFormExampleCss = ":host {\r\n display: block;\r\n}\r\n\r\n.form-wrapper {\r\n width: 371px;\r\n display: flex;\r\n border-radius: 3px;\r\n background: #FFF;\r\n flex-direction: column;\r\n align-items: center;\r\n padding: 0px 32px;\r\n\r\n @media only screen and (min-width: 360px) and (max-width: 479.55px) {\r\n max-width: 360px;\r\n width: 360px;\r\n }\r\n\r\n .button-wrapper {\r\n display: flex;\r\n justify-content: flex-end;\r\n gap: 20px;\r\n margin-top: 48px;\r\n flex-wrap: wrap;\r\n }\r\n}\r\n";
4
+
5
+ const PtcForm = class {
6
+ constructor(hostRef) {
7
+ registerInstance(this, hostRef);
8
+ this.formData = {
9
+ email: "",
10
+ firstName: "",
11
+ lastName: "",
12
+ company: "",
13
+ country: "",
14
+ phone: "",
15
+ inquiryReason: "",
16
+ howhearselfreport: "",
17
+ policyChecked: false,
18
+ };
19
+ }
20
+ // private countryEle: HTMLPtcSelectElement;
21
+ // private inquiryreasonEle: HTMLPtcTextfieldElement;
22
+ // private howhearselfreport: HTMLPtcTextfieldElement;
23
+ componentDidLoad() {
24
+ this.formButton = this.el.querySelector(".form-submit");
25
+ this.formButton.addEventListener("click", this.handleSubmit.bind(this));
26
+ //get Email
27
+ this.emailEle = this.el.querySelector('ptc-textfield[field-id="contact-email"]');
28
+ this.firstNameEle = this.el.querySelector('ptc-textfield[field-id="contact-firstname"]');
29
+ this.lastNameEle = this.el.querySelector('ptc-textfield[field-id="contact-lastname"]');
30
+ this.companyEle = this.el.querySelector('ptc-textfield[field-id="company"]');
31
+ this.phoneEle = this.el.querySelector('ptc-textfield[field-id="contact-phone"]');
32
+ // this.countryEle = this.el.querySelector('ptc-select[field-id="contact-country"]')
33
+ // this.inquiryreasonEle = this.el.querySelector('ptc-textfield[field-id="contact-inquiry"]')
34
+ // this.howhearselfreport = this.el.querySelector('ptc-textfield[field-id="self-reporting"]')
35
+ }
36
+ handleInputChange(field, value) {
37
+ this.formData = Object.assign(Object.assign({}, this.formData), { [field]: value });
38
+ }
39
+ handleSubmit(event) {
40
+ event.preventDefault();
41
+ this.formData.email = this.emailEle.inputValue;
42
+ this.formData.firstName = this.firstNameEle.inputValue;
43
+ this.formData.lastName = this.lastNameEle.inputValue;
44
+ this.formData.company = this.companyEle.inputValue;
45
+ this.formData.phone = this.phoneEle.inputValue;
46
+ // this.formData.country = this.countryEle.inputValue;
47
+ // this.formData.inquiryReason= this.inquiryreasonEle.inputValue;
48
+ // this.formData.howhearselfreport = this.howhearselfreport.inputValue;
49
+ // console.log("get form Data: " + this.formData.email)
50
+ if (this.isValid()) {
51
+ const formSubmitEvent = new CustomEvent("formSubmit", {
52
+ detail: this.formData,
53
+ bubbles: true,
54
+ });
55
+ this.el.dispatchEvent(formSubmitEvent);
56
+ console.log("Form Submitted: " + this.formData);
57
+ }
58
+ else {
59
+ console.log("Form validation failed");
60
+ console.log("Form Submitted: " + this.formData.email, this.formData.firstName, this.formData.lastName, this.formData.company, this.formData.phone);
61
+ }
62
+ }
63
+ isValid() {
64
+ const { email, firstName, lastName, company, country, phone, inquiryReason, howhearselfreport, policyChecked, } = this.formData;
65
+ const invalidLength = document.querySelectorAll(".invalid-field").length;
66
+ // console.log('invalid fields length: ' + invalidLength), check the select field
67
+ return (email !== "" &&
68
+ phone !== "" &&
69
+ firstName !== "" &&
70
+ lastName !== "" &&
71
+ company !== "" &&
72
+ country !== "" &&
73
+ inquiryReason !== "" &&
74
+ howhearselfreport != "" &&
75
+ policyChecked &&
76
+ invalidLength === 0);
77
+ }
78
+ render() {
79
+ const multiSelectItems = [
80
+ {
81
+ text: "Item 1",
82
+ selected: false,
83
+ ptcDataEloquaName: "item_1",
84
+ ptcDataTargetEloquaName: "item_target-1",
85
+ },
86
+ {
87
+ text: "Item 2",
88
+ selected: false,
89
+ ptcDataEloquaName: "item_2",
90
+ ptcDataTargetEloquaName: "item_target-2",
91
+ },
92
+ {
93
+ text: "Item 3",
94
+ selected: false,
95
+ ptcDataEloquaName: "item_3",
96
+ ptcDataTargetEloquaName: "item_target-3",
97
+ },
98
+ ];
99
+ return (h(Host, null, h("div", { class: "ptc-container u-flex u-flex-justify-center" }, h("div", { class: "form-wrapper" }, h("ptc-title", { "seo-compatibility-mode": true, "text-align": "left", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-7", "is-plm-hub": "false", "title-size": "medium" }, h("h2", null, "PTC\u2019s PLM application suite combines the power of Windchill, the industry\u2019s #1 PLM software with Thingworx")), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("ptc-para", { "seo-compatibility-mode": true, "font-size": "x-small", "font-weight": "w-4", "para-margin": "margin-flush", "para-style": "main", "para-line-h": "line-height-densest" }, "PTC\u2019s market-leading, purpose-built IIoT platform. The suite offers a mix of Packages, Add-Ons, and Apps to best suit your business needs:"), h("ptc-spacer", { size: "x-small", breakpoint: "small" }), h("ptc-spacer", { size: "small", breakpoint: "x-small" }), h("max-width-container", { "max-width": "277", breakpoint: 480 }, h("ptc-title", { type: "h2", "text-align": "", "title-size": "x-small", "title-color": "gray", upperline: "no-upperline", "title-display": "inline-block", "title-height": "densest", "title-margin": "margin-flush", "title-weight": "w-6", "is-plm-hub": "false" }, "Please fill out the form and a PTC sales representative will be in touch."), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "small", size: "small" })), h("form", { onSubmit: (event) => this.handleSubmit(event) }, h("ptc-textfield", { "field-id": "contact-firstname", "label-text": "First Name*", type: "text", "ptc-data-eloqua-name": "C_FirstName", "field-name": "firstname" }), h("ptc-textfield", { "field-id": "contact-lastname", "label-text": "Last Name*", type: "text", "ptc-data-eloqua-name": "C_LastName", "field-name": "lastname" }), h("ptc-textfield", { "field-id": "company", "label-text": "Company*", type: "text", "ptc-data-eloqua-name": "C_Company", "field-name": "company" }), h("ptc-textfield", { "field-id": "contact-email", "label-text": "Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "email" }), h("ptc-textfield", { "field-id": "company-email", "label-text": "Company Email*", type: "email", "ptc-data-eloqua-name": "C_EmailAddress", "field-name": "companyemail" }), h("ptc-select", { "field-id": "contact-country", label: "Country*", "ptc-data-eloqua-name": "C_Country", "field-name": "country" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item placehoder-li", "data-value": "" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Select a country")), h("li", { class: "mdc-list-item", "data-value": "USA" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "USA")), h("li", { class: "mdc-list-item", "data-value": "Canada" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Canada")), h("li", { class: "mdc-list-item", "data-value": "China" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "China")))), h("ptc-textfield", { "field-id": "contact-phone", "label-text": "Phone*", type: "tel", "ptc-data-eloqua-name": "C_BusPhone", "field-name": "phone" }), h("ptc-select", { label: "What information are you interested in?*", "ptc-data-eloqua-name": "Inquiry_Reason", "field-name": "inquiryreason", "field-id": "contact-inquiry" }, h("ul", { class: "mdc-list" }, h("li", { class: "mdc-list-item", "data-value": "Please select a value" }, h("span", { class: "mdc-list-item__ripple" })), h("li", { class: "mdc-list-item", "data-value": "Augmented Reality (AR)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Augmented Reality (AR)")), h("li", { class: "mdc-list-item", "data-value": "CAD" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Computer Aided Design")), h("li", { class: "mdc-list-item", "data-value": "Retail(FlexPLM)" }, h("span", { class: "mdc-list-item__ripple" }), h("span", { class: "mdc-list-item__text" }, "Fashion and Retail Product Lifecycle Management")))), h("ptc-multi-select", { items: multiSelectItems, "is-required": "true" }), h("ptc-textfield", { "field-id": "Self-Reporting", "label-text": "How can we help you?*", type: "text", "ptc-data-eloqua-name": "HowHearSelfReport", "ptc-max-length": "100", "field-name": "howhearselfreport" }), h("ptc-form-checkbox", { label: "I agree to the policy", "checkbox-id": "test" }), h("div", { class: "button-wrapper" }, h("ptc-button", { class: "form-submit", color: "ptc-quaternary", type: "submit", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Submit"), h("ptc-button", { class: "form-close", color: "ptc-tertiary", type: "button", styles: ":host{align-self:flex-end; display:block; float: left; width: fit-content;}" }, "Cancel")))))));
100
+ }
101
+ get el() { return getElement(this); }
102
+ };
103
+ PtcForm.style = modalFormExampleCss;
104
+
105
+ export { PtcForm as modal_form_example };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { a as equalizeHeightsWithinShadow } from './utils-2f12c081.js';
2
+ import { a as equalizeHeightsWithinShadow } from './utils-f0d200c9.js';
3
3
 
4
4
  const numberOneSvg = `<svg width="35" height="35" viewBox="0 0 35 35" fill="none" xmlns="http://www.w3.org/2000/svg">
5
5
  <circle cx="17.5" cy="17.5" r="17.5" fill="#006E09"/>
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h } from './index-c83db688.js';
2
- import { f as format } from './utils-2f12c081.js';
2
+ import { f as format } from './utils-f0d200c9.js';
3
3
 
4
4
  const myComponentCss = ":host{display:block}";
5
5
 
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { i as isHiddenUntilSupported } from './utils-2f12c081.js';
2
+ import { i as isHiddenUntilSupported } from './utils-f0d200c9.js';
3
3
 
4
4
  const hasSlot = (parentEl, slotName) => {
5
5
  return !!parentEl.querySelector(':scope > [slot="' + slotName + '"'); // cast boolean
@@ -53,7 +53,8 @@ const PtcAnnouncement = class {
53
53
  // <ptc-tooltip text-display="inline" max-length="60" z-index="z-2" description={this.barTitle} position="bottom"></ptc-tooltip>
54
54
  h("ptc-tooltip-v2", { "max-length": "60", "z-index": "2" }, this.barTitle)))) : null, this.windowSize === "mobile" ? ( //mobile view
55
55
  Object.assign({}, (!!this.description || !!this.linkUrl ? (h("ptc-readmore", { "visible-lines-custom": this.customMaxLines, "z-index": "z-3", "more-text": this.moreText }, h("div", { style: { display: "inline" } }, !!this.description
56
- ? `${this.description + " "}`
56
+ ? `${this.description +
57
+ " "}`
57
58
  : null, !!this.linkText ? (h("a", { class: "cta-link mf-listen", href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target, tabIndex: 0, id: "announcement-bar-cta" }, this.linkText)) : null))) : null))) : (
58
59
  //desktop view
59
60
  h("div", { class: "description" }, !!this.description ? (
@@ -1,11 +1,37 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { n as nextUserInteractionEvent } from './utils-2f12c081.js';
2
+ import { j as isReducedMotion, n as nextUserInteractionEvent, k as onReducedMotionChange } from './utils-f0d200c9.js';
3
3
 
4
- const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}";
4
+ const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}:host{display:block;position:relative}:host .media{position:absolute;inset:0;overflow:hidden}:host .background-video,:host .bg-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}:host .bg-fallback{display:block}";
5
5
 
6
6
  const PtcBackgroundVideo = class {
7
7
  constructor(hostRef) {
8
8
  registerInstance(this, hostRef);
9
+ /** Ensure the first frame is painted and paused. */
10
+ this.showFirstFrame = (v) => {
11
+ v.preload = "auto";
12
+ v.removeAttribute("autoplay");
13
+ v.loop = false;
14
+ const paint = () => {
15
+ try {
16
+ //v.currentTime = 0;
17
+ // If a browser still paints black, try this tiny nudge:
18
+ v.currentTime = 0.1;
19
+ }
20
+ catch (_a) { }
21
+ v.pause();
22
+ };
23
+ if (v.readyState >= 2 /* HAVE_CURRENT_DATA, have enough data */) {
24
+ paint();
25
+ }
26
+ else {
27
+ const onLoaded = () => {
28
+ v.removeEventListener("loadeddata", onLoaded);
29
+ paint();
30
+ };
31
+ v.addEventListener("loadeddata", onLoaded, { once: true });
32
+ v.load();
33
+ }
34
+ };
9
35
  this.videoSrc = undefined;
10
36
  this.posterSrc = undefined;
11
37
  this.overlay = true;
@@ -14,60 +40,98 @@ const PtcBackgroundVideo = class {
14
40
  this.pauseButtonTitle = undefined;
15
41
  this.buttonLocation = "bottom-right";
16
42
  this.buttonTabIndex = 0;
17
- this.paused = undefined;
18
43
  this.trackerId = undefined;
19
44
  this.defer = undefined;
20
45
  this.type = "default";
21
46
  this.isIframe = false;
47
+ this.paused = undefined;
22
48
  this.loadedTrue = false;
49
+ this.reducedMotion = false;
50
+ }
51
+ componentWillLoad() {
52
+ this.paused = false;
53
+ this.reducedMotion = isReducedMotion();
23
54
  }
24
55
  componentDidLoad() {
56
+ const afterMount = () => {
57
+ this.loadedTrue = true;
58
+ this.syncPlaybackWithPreference();
59
+ };
25
60
  if (this.defer) {
26
- nextUserInteractionEvent(this).then(() => {
27
- this.loadedTrue = true;
28
- });
61
+ nextUserInteractionEvent(this).then(afterMount);
29
62
  }
30
63
  else {
31
- this.loadedTrue = true;
64
+ afterMount();
32
65
  }
66
+ this.offMotionListener = onReducedMotionChange((reduced) => {
67
+ this.reducedMotion = reduced;
68
+ // Wait a tick for render to reflect state, then sync playback.
69
+ setTimeout(() => this.syncPlaybackWithPreference(), 0);
70
+ });
33
71
  }
34
- componentWillLoad() {
35
- this.paused = false;
72
+ disconnectedCallback() {
73
+ var _a;
74
+ (_a = this.offMotionListener) === null || _a === void 0 ? void 0 : _a.call(this);
36
75
  }
76
+ syncPlaybackWithPreference() {
77
+ if (this.isIframe) {
78
+ return;
79
+ }
80
+ const v = this.videoEl;
81
+ if (!v)
82
+ return;
83
+ if (this.reducedMotion) {
84
+ // Animations OFF → freeze first frame
85
+ this.showFirstFrame(v);
86
+ }
87
+ else {
88
+ // Animations ON → autoplay unless user paused
89
+ v.preload = "auto";
90
+ v.loop = true;
91
+ if (!this.paused) {
92
+ v.setAttribute("autoplay", "");
93
+ v.play().catch(() => {
94
+ });
95
+ }
96
+ }
97
+ }
98
+ // ------------ Render ------------
37
99
  render() {
38
- const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
39
- const placeholderContent = (h("video", { poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
40
- return (h(Host, { class: this.type }, this.loadedTrue ? videoContent : placeholderContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
100
+ const canMountMedia = this.loadedTrue;
101
+ const videoNode = !this.isIframe && canMountMedia && (h("video", { class: "background-video", src: this.videoSrc, muted: true, playsinline: true, autoplay: !this.reducedMotion && !this.paused, loop: !this.reducedMotion, preload: "auto", "aria-hidden": "true", tabindex: "-1", ref: (el) => (this.videoEl = el) }));
102
+ const iframeNode = this.isIframe && canMountMedia && (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed", "aria-hidden": "true", tabindex: "-1" })));
103
+ return (h(Host, { class: this.type }, h("div", { class: "media" }, videoNode, iframeNode), !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
41
104
  ? "side-left"
42
105
  : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-play", type: "button", tabindex: this.buttonTabIndex, onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
43
106
  ? "side-left"
44
- : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? (h("div", { class: `video-overlay ${this.overlayType}` })) : (""), this.type == "default" ? h("slot", null) : ""));
107
+ : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : "", this.type === "default" ? h("slot", null) : ""));
45
108
  }
46
109
  toggleVideoPlay(e) {
47
110
  e.preventDefault();
48
111
  this.paused = !this.paused;
49
- let video = this.el.shadowRoot.querySelector("video");
50
- if (video) {
51
- if (this.paused) {
52
- video.pause();
53
- }
54
- else {
55
- video.play().catch((z) => console.error(z));
56
- }
112
+ const v = this.videoEl;
113
+ if (!v)
114
+ return;
115
+ if (this.paused) {
116
+ v.pause();
117
+ }
118
+ else {
119
+ if (!this.reducedMotion)
120
+ v.setAttribute("autoplay", "");
121
+ v.play().catch((z) => console.error(z));
57
122
  }
58
123
  }
59
124
  async pauseVideo() {
125
+ var _a;
60
126
  this.paused = true;
61
- let video = this.el.shadowRoot.querySelector("video");
62
- if (video) {
63
- video.pause();
64
- }
127
+ (_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.pause();
65
128
  }
66
129
  async playVideo() {
67
130
  this.paused = false;
68
- let video = this.el.shadowRoot.querySelector("video");
69
- if (video) {
70
- video.play().catch((z) => console.error(z));
131
+ if (this.videoEl) {
132
+ if (!this.reducedMotion)
133
+ this.videoEl.setAttribute("autoplay", "");
134
+ this.videoEl.play().catch((z) => console.error(z));
71
135
  }
72
136
  }
73
137
  get el() { return getElement(this); }
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
2
 
3
- const ptcBioCardCss = "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;color:var(--color-gray-10);height:100%}:host ::slotted([slot=seo-content]){display:none}:host .bio-card{height:100%;display:flex;box-shadow:var(--ptc-shadow-small);transition:box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;background-color:var(--color-white)}:host .bio-card:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .bio-card .bio-card__image{max-width:150px;min-width:100px;width:100px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image{min-width:140px}}@media only screen and (min-width: 768px){:host .bio-card .bio-card__image{width:35%}}:host .bio-card .bio-card__image img{max-width:100%;display:block;max-height:fit-content;height:100%;object-fit:cover;width:100%}:host .bio-card .bio-card__content{padding:12px 12px 1px 12px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;align-content:space-between}@media only screen and (min-width: 768px){:host .bio-card .bio-card__content{width:65%;padding:16px 16px 1px 16px}}:host .bio-card .bio-card__content .bio-card__name{display:inline-block;margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-denser);letter-spacing:0.031rem;border-bottom:1px solid transparent}:host .bio-card .bio-card__content .bio-card__name a{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__name{font-size:var(--ptc-font-size-xx-small)}}:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-p);letter-spacing:0.031rem;margin:2px 0 0 0}@media only screen and (min-width: 480px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-x-small)}}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small)}}:host .bio-card .bio-card__content .bio-card__social-links{border-top:1px solid var(--color-gray-03);padding-top:12px}:host .bio-card .bio-card__content .bio-card__social-links .social-icon{margin-right:20px;display:inline-block;line-height:var(--ptc-line-height-denser);z-index:99999999}:host .bio-card .bio-card__content .bio-card__social-links .social-icon svg{max-width:27px;max-height:44px}:host .modal-wrap{display:flex;height:100%}@media only screen and (min-width: 768px){:host .modal-wrap{height:auto}}@media (max-height: 450px){:host .modal-wrap{height:100%}}:host .modal-wrap .bio-modal-left{width:140px;max-height:208px;display:none}:host .modal-wrap .bio-modal-left .bio-modal__image{margin-bottom:35px}:host .modal-wrap .bio-modal-left .bio-modal__image img{max-width:100%;display:block;min-width:140px}@media (max-height: 450px){:host .modal-wrap .bio-modal-left .bio-modal__image img{min-width:110px}}:host .modal-wrap .bio-modal-left .bio-card__social-links{display:flex;flex-direction:column;justify-content:center;align-items:center}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon{margin-bottom:10px;z-index:99999999}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child{margin-bottom:0}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-left{display:block}}:host .modal-wrap .bio-modal-right{padding-left:30px;padding-right:15px}:host .modal-wrap .bio-modal-right .bio-modal-header{position:relative;width:95%}@media only screen and (min-width: 992px){:host .modal-wrap .bio-modal-right .bio-modal-header::after{content:\"\";position:absolute;width:100%;height:100%;background-image:url(\"https://www.ptc.com/dist/ptc/images/Exec-Leadership/Card-Decoration.svg\");background-size:340px;transform:rotate(180deg);z-index:-1;background-repeat:no-repeat;top:-20px;right:5%;opacity:0.4}}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__name{margin:0 0 4px 0;font-weight:var(--ptc-font-weight-black);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-denser)}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__job-title{margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium)}:host .modal-wrap .bio-modal-right .bio-modal-description{margin-top:40px;overflow-y:auto;padding-right:8%;max-height:calc(100% - 120px)}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:500px}}@media (max-height: 450px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:calc(100% - 110px)}}:host .modal-wrap .bio-modal-right .bio-modal-description::before{background:var(--color-white);background:linear-gradient(0deg, var(--color-white), rgba(255, 255, 255, 0));bottom:0;content:\"\";display:block;height:25%;left:0;position:absolute;right:1rem;width:100%;border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host .modal-wrap .bio-modal-right .bio-modal-description::after{content:\" \";width:10px;height:120px;display:block}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar{width:0.188rem}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-track{background:var(--color-gray-03)}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-thumb{background:var(--color-gray-10);border-radius:2rem}:host .social-icon{z-index:99999999}:host .social-icon .cls-1{transition:all ease-in 250ms}:host .social-icon .cls-3,:host .social-icon .cls-4{stroke:none}:host .social-icon .cls-4{transition:all ease-in 250ms;fill:var(--color-gray-03)}:host .social-icon .cls-x-1{fill:var(--color-gray-10)}:host .social-icon .cls-x-2{fill:none}:host .social-icon:hover .cls-1{transition:all ease-in 250ms;fill:var(--color-white)}:host .social-icon:hover .cls-2{fill:var(--color-green-14)}:host .social-icon:hover .cls-4,:host .social-icon:hover .cls-x-1{fill:var(--color-green-14)}:host(.card-with-modal) .bio-card{transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card .bio-card__name{transition:border-bottom-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card:hover{box-shadow:var(--ptc-shadow-x-large);cursor:pointer}:host(.card-with-modal) .bio-card:hover .bio-card__name{border-bottom-color:var(--color-green-07)}";
3
+ const ptcBioCardCss = "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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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;color:var(--color-gray-10);height:100%}:host ::slotted([slot=seo-content]){display:none}:host .bio-card{height:100%;display:flex;box-shadow:var(--ptc-shadow-small);transition:box-shadow 0.25s ease-out, -webkit-box-shadow 0.25s ease-out;background-color:var(--color-white)}:host .bio-card:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .bio-card .bio-card__image{max-width:150px;min-width:100px;width:100px}@media only screen and (min-width: 480px){:host .bio-card .bio-card__image{min-width:140px}}@media only screen and (min-width: 768px){:host .bio-card .bio-card__image{width:35%}}:host .bio-card .bio-card__image img{max-width:100%;display:block;max-height:fit-content;height:100%;object-fit:cover;width:100%}:host .bio-card .bio-card__content{padding:12px 12px 1px 12px;flex-grow:1;display:flex;flex-direction:column;justify-content:space-between;align-content:space-between}@media only screen and (min-width: 768px){:host .bio-card .bio-card__content{width:65%;padding:16px 16px 1px 16px}}:host .bio-card .bio-card__content .bio-card__name{display:inline-block;margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-denser);letter-spacing:0.031rem;border-bottom:1px solid transparent}:host .bio-card .bio-card__content .bio-card__name a{font-weight:var(--ptc-font-weight-black)}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__name{font-size:var(--ptc-font-size-xx-small)}}:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-p);letter-spacing:0.031rem;margin:2px 0 0 0}@media only screen and (min-width: 480px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-x-small)}}@media only screen and (min-width: 992px){:host .bio-card .bio-card__content .bio-card__job-title{font-size:var(--ptc-font-size-xxx-small)}}:host .bio-card .bio-card__content .bio-card__social-links{border-top:1px solid var(--color-gray-03);padding-top:12px}:host .bio-card .bio-card__content .bio-card__social-links .social-icon{margin-right:20px;display:inline-block;line-height:var(--ptc-line-height-denser);z-index:99999999}:host .bio-card .bio-card__content .bio-card__social-links .social-icon svg{max-width:27px;max-height:44px}:host .modal-wrap{display:flex;height:100%}@media only screen and (min-width: 768px){:host .modal-wrap{height:auto}}@media (max-height: 450px){:host .modal-wrap{height:100%}}:host .modal-wrap .bio-modal-left{width:140px;max-height:208px;display:none}:host .modal-wrap .bio-modal-left .bio-modal__image{margin-bottom:35px}:host .modal-wrap .bio-modal-left .bio-modal__image img{max-width:100%;display:block;min-width:140px}@media (max-height: 450px){:host .modal-wrap .bio-modal-left .bio-modal__image img{min-width:110px}}:host .modal-wrap .bio-modal-left .bio-card__social-links{display:flex;flex-direction:column;justify-content:center;align-items:center}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon{margin-bottom:10px;z-index:99999999}:host .modal-wrap .bio-modal-left .bio-card__social-links .social-icon:last-child{margin-bottom:0}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-left{display:block}}:host .modal-wrap .bio-modal-right{padding-left:30px;padding-right:15px}:host .modal-wrap .bio-modal-right .bio-modal-header{position:relative;width:95%}@media only screen and (min-width: 992px){:host .modal-wrap .bio-modal-right .bio-modal-header::after{content:\"\";position:absolute;width:100%;height:100%;background-image:url(\"https://www.ptc.com/dist/ptc/images/Exec-Leadership/Card-Decoration.svg\");background-size:340px;transform:rotate(180deg);z-index:-1;background-repeat:no-repeat;top:-20px;right:5%;opacity:0.4}}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__name{margin:0 0 4px 0;font-weight:var(--ptc-font-weight-black);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-denser)}:host .modal-wrap .bio-modal-right .bio-modal-header .bio-card__job-title{margin:0;font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-medium)}:host .modal-wrap .bio-modal-right .bio-modal-description{margin-top:40px;overflow-y:auto;padding-right:8%;max-height:calc(100% - 120px)}@media only screen and (min-width: 768px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:500px}}@media (max-height: 450px){:host .modal-wrap .bio-modal-right .bio-modal-description{max-height:calc(100% - 110px)}}:host .modal-wrap .bio-modal-right .bio-modal-description::before{background:var(--color-white);background:linear-gradient(0deg, var(--color-white), rgba(255, 255, 255, 0));bottom:0;content:\"\";display:block;height:25%;left:0;position:absolute;right:1rem;width:100%;border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host .modal-wrap .bio-modal-right .bio-modal-description::after{content:\" \";width:10px;height:120px;display:block}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar{width:0.188rem}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-track{background:var(--color-gray-03)}:host .modal-wrap .bio-modal-right .bio-modal-description::-webkit-scrollbar-thumb{background:var(--color-gray-10);border-radius:2rem}:host .social-icon{z-index:99999999}:host .social-icon .cls-1{transition:all ease-in 250ms}:host .social-icon .cls-3,:host .social-icon .cls-4{stroke:none}:host .social-icon .cls-4{transition:all ease-in 250ms;fill:var(--color-gray-03)}:host .social-icon .cls-x-1{fill:var(--color-gray-10)}:host .social-icon .cls-x-2{fill:none}:host .social-icon:hover .cls-1{transition:all ease-in 250ms;fill:var(--color-white)}:host .social-icon:hover .cls-2{fill:var(--color-green-14)}:host .social-icon:hover .cls-4,:host .social-icon:hover .cls-x-1{fill:var(--color-green-14)}:host(.card-with-modal) .bio-card{transition:box-shadow var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card .bio-card__name{transition:border-bottom-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-with-modal) .bio-card:hover{box-shadow:var(--ptc-shadow-x-large);cursor:pointer}:host(.card-with-modal) .bio-card:hover .bio-card__name{border-bottom-color:var(--color-green-07)}";
4
4
 
5
5
  const PtcBioCard = class {
6
6
  constructor(hostRef) {