@ptcwebops/ptcw-design 6.4.18 → 6.4.19

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 (422) hide show
  1. package/dist/cjs/academic-form-test_10.cjs.entry.js +12557 -0
  2. package/dist/cjs/buying-option-cards-slider.cjs.entry.js +4 -0
  3. package/dist/cjs/event-podcast-slider-example.cjs.entry.js +1 -1
  4. package/dist/cjs/featured-events-slider-example.cjs.entry.js +1 -1
  5. package/dist/cjs/homepage-jumbotron.cjs.entry.js +1 -1
  6. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  7. package/dist/cjs/interfaces-574e6df7.js +15 -0
  8. package/dist/cjs/list-item.cjs.entry.js +52 -0
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/ptc-background-video.cjs.entry.js +152 -0
  11. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +63 -0
  12. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-icon-component.cjs.entry.js +1 -1
  15. package/dist/cjs/ptc-img.cjs.entry.js +136 -0
  16. package/dist/cjs/ptc-jumbotron.cjs.entry.js +184 -0
  17. package/dist/cjs/ptc-multi-select.cjs.entry.js +326 -0
  18. package/dist/cjs/ptc-picture.cjs.entry.js +185 -0
  19. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +595 -0
  20. package/dist/cjs/ptc-tooltip.cjs.entry.js +113 -0
  21. package/dist/cjs/ptcw-design.cjs.js +1 -1
  22. package/dist/cjs/storefront-enhanced-product-list-alt-example.cjs.entry.js +1 -1
  23. package/dist/cjs/storefront-enhanced-product-list-example.cjs.entry.js +1 -1
  24. package/dist/collection/components/buying-option-cards-slider/buying-option-cards-slider.js +4 -0
  25. package/dist/collection/components/organism-bundles/event-podcast-slider-example/event-podcast-slider-example.css +16 -11
  26. package/dist/collection/components/organism-bundles/featured-events-slider-example/featured-events-slider-example.css +16 -11
  27. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +16 -11
  28. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +16 -11
  29. package/dist/collection/components/organism-bundles/storefront-enhanced-product-list-example/storefront-enhanced-product-list-example.css +16 -11
  30. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -11
  31. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +16 -11
  32. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +3 -3
  33. package/dist/custom-elements/index.js +11 -7
  34. package/dist/esm/academic-form-test_10.entry.js +12544 -0
  35. package/dist/esm/author-listing-example.entry.js +1 -1
  36. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  37. package/dist/esm/blog-detail-layout.entry.js +2 -2
  38. package/dist/esm/blogs-search-section.entry.js +2 -2
  39. package/dist/esm/bundle-example.entry.js +1 -1
  40. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  41. package/dist/esm/buying-option-card.entry.js +1 -1
  42. package/dist/esm/buying-option-cards-slider.entry.js +5 -1
  43. package/dist/esm/dropdown-item.entry.js +1 -1
  44. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  45. package/dist/esm/embedded-form.entry.js +1 -1
  46. package/dist/esm/event-jumbotron-example.entry.js +1 -1
  47. package/dist/esm/event-podcast-slider-example.entry.js +2 -2
  48. package/dist/esm/featured-events-slider-example.entry.js +2 -2
  49. package/dist/esm/featured-list.entry.js +1 -1
  50. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  51. package/dist/esm/footer-form.entry.js +1 -1
  52. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  53. package/dist/esm/homepage-jumbotron.entry.js +3 -3
  54. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  55. package/dist/esm/icon-asset.entry.js +61 -0
  56. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  57. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  58. package/dist/esm/interfaces-4caedd26.js +12 -0
  59. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  60. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  61. package/dist/esm/list-item.entry.js +48 -0
  62. package/dist/esm/loader.js +3 -3
  63. package/dist/esm/most-popular-news.entry.js +2 -2
  64. package/dist/esm/my-component.entry.js +2 -2
  65. package/dist/esm/news-search-result.entry.js +1 -1
  66. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  67. package/dist/esm/ptc-accordion.entry.js +1 -1
  68. package/dist/esm/ptc-announcement.entry.js +1 -1
  69. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  70. package/dist/esm/ptc-background-video.entry.js +148 -0
  71. package/dist/esm/ptc-badge.entry.js +1 -1
  72. package/dist/esm/ptc-bio-card.entry.js +1 -1
  73. package/dist/esm/ptc-blue-pill-announcement-bar.entry.js +1 -1
  74. package/dist/esm/ptc-breadcrumb.entry.js +59 -0
  75. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  76. package/dist/esm/ptc-card-bottom_2.entry.js +1 -1
  77. package/dist/esm/ptc-card-content.entry.js +1 -1
  78. package/dist/esm/ptc-card_2.entry.js +1 -1
  79. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  80. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  81. package/dist/esm/ptc-checkbox.entry.js +1 -1
  82. package/dist/esm/ptc-close-icon_2.entry.js +1 -1
  83. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  84. package/dist/esm/ptc-container.entry.js +1 -1
  85. package/dist/esm/ptc-countdown.entry.js +1 -1
  86. package/dist/esm/ptc-date.entry.js +1 -1
  87. package/dist/esm/ptc-dropdown.entry.js +1 -1
  88. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  89. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  90. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  91. package/dist/esm/ptc-enhanced-product-listing-card.entry.js +1 -1
  92. package/dist/esm/ptc-featured-list.entry.js +1 -1
  93. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  94. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  95. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  96. package/dist/esm/ptc-footer.entry.js +1 -1
  97. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  98. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  99. package/dist/esm/ptc-form.entry.js +1 -1
  100. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  101. package/dist/esm/ptc-hero.entry.js +1 -1
  102. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  103. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  104. package/dist/esm/ptc-icon-card-slider-example.entry.js +2 -2
  105. package/dist/esm/ptc-icon-card.entry.js +2 -2
  106. package/dist/esm/ptc-icon-component.entry.js +2 -2
  107. package/dist/esm/ptc-icon-list.entry.js +1 -1
  108. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  109. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  110. package/dist/esm/ptc-img.entry.js +132 -0
  111. package/dist/esm/ptc-info-tile.entry.js +1 -1
  112. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  113. package/dist/esm/ptc-jumbotron.entry.js +180 -0
  114. package/dist/esm/ptc-link.entry.js +2 -2
  115. package/dist/esm/ptc-list.entry.js +1 -1
  116. package/dist/esm/ptc-media-card.entry.js +2 -2
  117. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  118. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  119. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  120. package/dist/esm/ptc-multi-select.entry.js +322 -0
  121. package/dist/esm/ptc-nav-card.entry.js +1 -1
  122. package/dist/esm/ptc-nav-link.entry.js +1 -1
  123. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  124. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  125. package/dist/esm/ptc-nav-slider.entry.js +1 -1
  126. package/dist/esm/ptc-nav-submenu.entry.js +1 -1
  127. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  128. package/dist/esm/ptc-news.entry.js +1 -1
  129. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  130. package/dist/esm/ptc-office-locations.entry.js +1 -1
  131. package/dist/esm/ptc-overlay.entry.js +1 -1
  132. package/dist/esm/ptc-picture.entry.js +181 -0
  133. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  134. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  135. package/dist/esm/ptc-preloader.entry.js +1 -1
  136. package/dist/esm/ptc-previous-url.entry.js +1 -1
  137. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  138. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  139. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  140. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  141. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  142. package/dist/esm/ptc-product-card.entry.js +1 -1
  143. package/dist/esm/ptc-product-category.entry.js +1 -1
  144. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  145. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  146. package/dist/esm/ptc-product-list.entry.js +1 -1
  147. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  148. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  149. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  150. package/dist/esm/ptc-quote.entry.js +1 -1
  151. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  152. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  153. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  154. package/dist/esm/ptc-readmore.entry.js +1 -1
  155. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  156. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  157. package/dist/esm/ptc-scroll-button.entry.js +1 -1
  158. package/dist/esm/ptc-search-field.entry.js +1 -1
  159. package/dist/esm/ptc-seo-title.entry.js +1 -1
  160. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  161. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  162. package/dist/esm/ptc-skeleton.entry.js +1 -1
  163. package/dist/esm/ptc-slit-card.entry.js +1 -1
  164. package/dist/esm/ptc-social-icons-footer.entry.js +2 -2
  165. package/dist/esm/ptc-social-icons.entry.js +1 -1
  166. package/dist/esm/ptc-span.entry.js +1 -1
  167. package/dist/esm/ptc-square-card.entry.js +1 -1
  168. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  169. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  170. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  171. package/dist/esm/ptc-store-card-list.entry.js +1 -1
  172. package/dist/esm/ptc-store-card.entry.js +1 -1
  173. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  174. package/dist/esm/ptc-subnav-v2.entry.js +591 -0
  175. package/dist/esm/ptc-subnav.entry.js +1 -1
  176. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  177. package/dist/esm/ptc-tab-list.entry.js +1 -1
  178. package/dist/esm/ptc-tab.entry.js +1 -1
  179. package/dist/esm/ptc-tabs.entry.js +1 -1
  180. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  181. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  182. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  183. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  184. package/dist/esm/ptc-tooltip.entry.js +109 -0
  185. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  186. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  187. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  188. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  189. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  190. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  191. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  192. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  193. package/dist/esm/ptc-video-embed.entry.js +1 -1
  194. package/dist/esm/ptc-white-paper.entry.js +1 -1
  195. package/dist/esm/ptcw-design.js +3 -3
  196. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  197. package/dist/esm/sequential-bundle.entry.js +1 -1
  198. package/dist/esm/storefront-enhanced-product-list-alt-example.entry.js +2 -2
  199. package/dist/esm/storefront-enhanced-product-list-example.entry.js +2 -2
  200. package/dist/esm/tab-content.entry.js +1 -1
  201. package/dist/esm/tab-header.entry.js +1 -1
  202. package/dist/esm/{utils-a64ba942.js → utils-d14265f5.js} +1 -1
  203. package/dist/ptcw-design/{p-ad4f4f33.entry.js → p-00e21489.entry.js} +1 -1
  204. package/dist/ptcw-design/{p-17890eea.entry.js → p-04223295.entry.js} +1 -1
  205. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  206. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  207. package/dist/ptcw-design/p-08f607e5.entry.js +1 -0
  208. package/dist/ptcw-design/p-0a86d91a.entry.js +1 -0
  209. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  210. package/dist/ptcw-design/p-0b146b4b.entry.js +1 -0
  211. package/dist/ptcw-design/{p-c80265d9.entry.js → p-0c914932.entry.js} +1 -1
  212. package/dist/ptcw-design/{p-f004e5de.entry.js → p-0ddf2a09.entry.js} +1 -1
  213. package/dist/ptcw-design/{p-f9e57052.entry.js → p-136c990d.entry.js} +1 -1
  214. package/dist/ptcw-design/{p-36d6e662.entry.js → p-13e338a5.entry.js} +1 -1
  215. package/dist/ptcw-design/{p-8cdcfb51.entry.js → p-15e36f30.entry.js} +1 -1
  216. package/dist/ptcw-design/{p-f418ef26.entry.js → p-18d699f0.entry.js} +1 -1
  217. package/dist/ptcw-design/p-1a853854.entry.js +1 -0
  218. package/dist/ptcw-design/{p-908ad455.entry.js → p-1c63c812.entry.js} +1 -1
  219. package/dist/ptcw-design/{p-8482f517.entry.js → p-1cb02c28.entry.js} +1 -1
  220. package/dist/ptcw-design/{p-9a07b9e3.entry.js → p-1e1ed5df.entry.js} +1 -1
  221. package/dist/ptcw-design/{p-752159e2.entry.js → p-1f356fcf.entry.js} +1 -1
  222. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  223. package/dist/ptcw-design/{p-c9762c88.entry.js → p-23cb5b5b.entry.js} +1 -1
  224. package/dist/ptcw-design/p-243075b7.entry.js +1 -0
  225. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  226. package/dist/ptcw-design/p-264cd2d3.entry.js +1 -0
  227. package/dist/ptcw-design/p-27e39236.entry.js +1 -0
  228. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  229. package/dist/ptcw-design/{p-f20e4230.entry.js → p-2a22123e.entry.js} +1 -1
  230. package/dist/ptcw-design/{p-f4ae5a99.entry.js → p-2b08a37d.entry.js} +1 -1
  231. package/dist/ptcw-design/{p-315b7885.entry.js → p-2c287230.entry.js} +1 -1
  232. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  233. package/dist/ptcw-design/p-37f92bb4.entry.js +1 -0
  234. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  235. package/dist/ptcw-design/{p-9050ab76.entry.js → p-3a034cd1.entry.js} +1 -1
  236. package/dist/ptcw-design/p-3a24991d.entry.js +1 -0
  237. package/dist/ptcw-design/p-3ddb6c50.entry.js +1 -0
  238. package/dist/ptcw-design/{p-3c941935.entry.js → p-3e4861a2.entry.js} +1 -1
  239. package/dist/ptcw-design/p-3eccbe24.entry.js +1 -0
  240. package/dist/ptcw-design/p-3ed4a7ed.entry.js +1 -0
  241. package/dist/ptcw-design/{p-3596ce5a.entry.js → p-44eac15a.entry.js} +1 -1
  242. package/dist/ptcw-design/{p-83632220.entry.js → p-45623f8a.entry.js} +1 -1
  243. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  244. package/dist/ptcw-design/p-4ab3249d.entry.js +1 -0
  245. package/dist/ptcw-design/{p-e2da8109.entry.js → p-4c2ffab9.entry.js} +1 -1
  246. package/dist/ptcw-design/{p-efe8563a.entry.js → p-4d14b3b7.entry.js} +1 -1
  247. package/dist/ptcw-design/{p-a1dc7ae5.entry.js → p-4f3dea53.entry.js} +1 -1
  248. package/dist/ptcw-design/{p-ed5a467e.entry.js → p-4f4f97a6.entry.js} +1 -1
  249. package/dist/ptcw-design/{p-91e5c8d4.entry.js → p-506dac1f.entry.js} +1 -1
  250. package/dist/ptcw-design/{p-9e8e2835.entry.js → p-523141fd.entry.js} +1 -1
  251. package/dist/ptcw-design/{p-bca81995.entry.js → p-560b05a5.entry.js} +1 -1
  252. package/dist/ptcw-design/p-567535fb.entry.js +1 -0
  253. package/dist/ptcw-design/{p-a31f22a1.entry.js → p-571d9690.entry.js} +1 -1
  254. package/dist/ptcw-design/{p-c8de7309.entry.js → p-575861b3.entry.js} +1 -1
  255. package/dist/ptcw-design/{p-ec395ae9.entry.js → p-5877f093.entry.js} +1 -1
  256. package/dist/ptcw-design/{p-07b46e6e.entry.js → p-58909b95.entry.js} +1 -1
  257. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  258. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  259. package/dist/ptcw-design/{p-7c6d6a5e.entry.js → p-5dd538c4.entry.js} +1 -1
  260. package/dist/ptcw-design/p-5e4c1edf.entry.js +1 -0
  261. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  262. package/dist/ptcw-design/{p-9220308d.entry.js → p-62c56201.entry.js} +1 -1
  263. package/dist/ptcw-design/p-62dcdd28.entry.js +1 -0
  264. package/dist/ptcw-design/{p-3e13f29c.entry.js → p-66ecd7b9.entry.js} +1 -1
  265. package/dist/ptcw-design/p-6a561487.entry.js +1 -0
  266. package/dist/ptcw-design/{p-575c7fc0.entry.js → p-6aa9ed95.entry.js} +1 -1
  267. package/dist/ptcw-design/p-6abc061b.entry.js +1 -0
  268. package/dist/ptcw-design/{p-32a1c28b.entry.js → p-6d27b5a2.entry.js} +1 -1
  269. package/dist/ptcw-design/p-711bcdad.js +1 -0
  270. package/dist/ptcw-design/{p-c9c55caf.entry.js → p-73fd95da.entry.js} +1 -1
  271. package/dist/ptcw-design/{p-522cb451.entry.js → p-757954b2.entry.js} +1 -1
  272. package/dist/ptcw-design/p-761a31f8.entry.js +1 -0
  273. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  274. package/dist/ptcw-design/{p-2fdd81d4.entry.js → p-7714bbaf.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-af32c90a.entry.js → p-784cae5c.entry.js} +1 -1
  276. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  277. package/dist/ptcw-design/{p-183ba1ca.entry.js → p-7d29a418.entry.js} +1 -1
  278. package/dist/ptcw-design/p-7da19c78.entry.js +1 -0
  279. package/dist/ptcw-design/{p-2fa5814b.entry.js → p-7f4919b7.entry.js} +1 -1
  280. package/dist/ptcw-design/p-80c69354.entry.js +1 -0
  281. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  282. package/dist/ptcw-design/{p-c1302aea.entry.js → p-8340bed4.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-ff369ed7.entry.js → p-84c15835.entry.js} +1 -1
  284. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  285. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  286. package/dist/ptcw-design/{p-ce39cff2.entry.js → p-88d1894d.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-e2e357e7.entry.js → p-8d4572f7.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-cf0f6559.entry.js → p-927373d4.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-e1bd2c43.entry.js → p-92e76318.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-2ba77e9d.entry.js → p-9354b7fd.entry.js} +1 -1
  293. package/dist/ptcw-design/{p-3b481342.entry.js → p-9493dfa0.entry.js} +1 -1
  294. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  295. package/dist/ptcw-design/{p-ce125ef2.entry.js → p-98610430.entry.js} +1 -1
  296. package/dist/ptcw-design/p-99daf693.entry.js +1 -0
  297. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  301. package/dist/ptcw-design/{p-6251a6d6.entry.js → p-9e4e21a4.entry.js} +1 -1
  302. package/dist/ptcw-design/p-9efa8199.entry.js +1 -0
  303. package/dist/ptcw-design/{p-5877ab67.entry.js → p-9fc6a83d.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-afb5bdb9.entry.js → p-a04bedc2.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  306. package/dist/ptcw-design/p-a264f646.entry.js +1 -0
  307. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-b6cc4c2a.entry.js → p-a41c7e39.entry.js} +1 -1
  309. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  310. package/dist/ptcw-design/{p-6f29592a.entry.js → p-a5efeb04.entry.js} +1 -1
  311. package/dist/ptcw-design/{p-991465fb.entry.js → p-a79f33df.entry.js} +1 -1
  312. package/dist/ptcw-design/{p-7123abad.entry.js → p-a7a41de8.entry.js} +1 -1
  313. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-ed53cb3a.entry.js → p-a8304a3e.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-de663192.entry.js → p-a8504f11.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-11e86045.entry.js → p-a9533f9c.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-e50a5a46.entry.js → p-a993c0a6.entry.js} +1 -1
  318. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  319. package/dist/ptcw-design/{p-87f07d6b.entry.js → p-aadf9416.entry.js} +1 -1
  320. package/dist/ptcw-design/{p-6f1cc5e5.entry.js → p-ab4906a7.entry.js} +1 -1
  321. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  322. package/dist/ptcw-design/p-ac766cb3.entry.js +1 -0
  323. package/dist/ptcw-design/{p-e249cd90.entry.js → p-ac7b2779.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  325. package/dist/ptcw-design/p-af9912b6.entry.js +1 -0
  326. package/dist/ptcw-design/p-afc1e1e9.entry.js +1 -0
  327. package/dist/ptcw-design/{p-b82dd7f9.entry.js → p-b19cda95.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-79762cf6.entry.js → p-b436f56d.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-ca039722.entry.js → p-baeee2b4.entry.js} +1 -1
  330. package/dist/ptcw-design/p-bb9a879f.entry.js +1 -0
  331. package/dist/ptcw-design/{p-73293d32.entry.js → p-bf84ecc0.entry.js} +1 -1
  332. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  333. package/dist/ptcw-design/{p-fb0c3eeb.entry.js → p-c061b32d.entry.js} +1 -1
  334. package/dist/ptcw-design/{p-5344a1f4.entry.js → p-c4674bc8.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  339. package/dist/ptcw-design/p-c89030e4.entry.js +1 -0
  340. package/dist/ptcw-design/p-cbbe2bba.entry.js +1 -0
  341. package/dist/ptcw-design/{p-384548ef.entry.js → p-cc652ebe.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-fa045097.entry.js → p-cc92b9ed.entry.js} +1 -1
  343. package/dist/ptcw-design/p-d6ee094b.entry.js +1 -0
  344. package/dist/ptcw-design/{p-75d8b6ec.entry.js → p-d74ccb19.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-81736d6a.entry.js → p-d77531c8.entry.js} +1 -1
  346. package/dist/ptcw-design/p-d8575311.entry.js +1 -0
  347. package/dist/ptcw-design/{p-f5665cfe.entry.js → p-d8b2466d.entry.js} +1 -1
  348. package/dist/ptcw-design/{p-e880b556.entry.js → p-db0fc94d.entry.js} +1 -1
  349. package/dist/ptcw-design/p-e01173ca.entry.js +1 -0
  350. package/dist/ptcw-design/{p-7524411a.entry.js → p-e0d95058.entry.js} +1 -1
  351. package/dist/ptcw-design/p-e0e87d61.entry.js +1 -0
  352. package/dist/ptcw-design/{p-0bb3ea9a.entry.js → p-e235bf27.entry.js} +1 -1
  353. package/dist/ptcw-design/{p-53d2547b.entry.js → p-e3867512.entry.js} +1 -1
  354. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  355. package/dist/ptcw-design/p-e4fe0995.entry.js +1 -0
  356. package/dist/ptcw-design/p-e7220c36.entry.js +1 -0
  357. package/dist/ptcw-design/{p-b1053240.entry.js → p-e73a1a0b.entry.js} +1 -1
  358. package/dist/ptcw-design/{p-b9966f20.entry.js → p-e9684da3.entry.js} +1 -1
  359. package/dist/ptcw-design/p-eb193fd7.entry.js +404 -0
  360. package/dist/ptcw-design/{p-fe56e336.entry.js → p-ee91170c.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-681d26ef.entry.js → p-eeaa2123.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  363. package/dist/ptcw-design/{p-d6271974.entry.js → p-f5d8a3b1.entry.js} +1 -1
  364. package/dist/ptcw-design/{p-fab2fc8d.entry.js → p-fb835c5a.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  366. package/dist/ptcw-design/{p-973c69d8.entry.js → p-fbd9c8fc.entry.js} +1 -1
  367. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  368. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-22cf00e7.js → p-fe497e4a.js} +1 -1
  370. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  371. package/dist/types/components.d.ts +62 -62
  372. package/package.json +1 -1
  373. package/readme.md +1 -1
  374. package/dist/cjs/academic-form-test.cjs.entry.js +0 -82
  375. package/dist/cjs/component-06dda623.js +0 -4665
  376. package/dist/cjs/component-5b5b6a98.js +0 -1819
  377. package/dist/cjs/icon-asset_14.cjs.entry.js +0 -1982
  378. package/dist/cjs/ptc-data-lookup.cjs.entry.js +0 -675
  379. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +0 -4476
  380. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -730
  381. package/dist/esm/academic-form-test.entry.js +0 -78
  382. package/dist/esm/component-274da230.js +0 -4663
  383. package/dist/esm/component-341e4eaa.js +0 -1802
  384. package/dist/esm/icon-asset_14.entry.js +0 -1965
  385. package/dist/esm/ptc-data-lookup.entry.js +0 -671
  386. package/dist/esm/ptc-form-checkbox_2.entry.js +0 -4471
  387. package/dist/esm/ptc-multi-select_2.entry.js +0 -725
  388. package/dist/ptcw-design/p-068b64a1.entry.js +0 -1
  389. package/dist/ptcw-design/p-0824f503.entry.js +0 -1
  390. package/dist/ptcw-design/p-0ec2a26d.entry.js +0 -1
  391. package/dist/ptcw-design/p-1b3394a7.entry.js +0 -1
  392. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  393. package/dist/ptcw-design/p-2bc4bf65.entry.js +0 -1
  394. package/dist/ptcw-design/p-2f82de8f.entry.js +0 -1
  395. package/dist/ptcw-design/p-32bbcb5a.entry.js +0 -1
  396. package/dist/ptcw-design/p-39255f59.entry.js +0 -1
  397. package/dist/ptcw-design/p-47aa1583.entry.js +0 -1
  398. package/dist/ptcw-design/p-53e214a6.entry.js +0 -1
  399. package/dist/ptcw-design/p-5bbfd7b3.entry.js +0 -1
  400. package/dist/ptcw-design/p-7815e38b.entry.js +0 -1
  401. package/dist/ptcw-design/p-79a6e764.entry.js +0 -1
  402. package/dist/ptcw-design/p-7b89a8e1.entry.js +0 -1
  403. package/dist/ptcw-design/p-83c3d6c9.entry.js +0 -1
  404. package/dist/ptcw-design/p-87a9a028.entry.js +0 -1
  405. package/dist/ptcw-design/p-87e4c337.entry.js +0 -1
  406. package/dist/ptcw-design/p-89da867f.entry.js +0 -1
  407. package/dist/ptcw-design/p-9461c4eb.entry.js +0 -1
  408. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  409. package/dist/ptcw-design/p-9d8a9a72.entry.js +0 -1
  410. package/dist/ptcw-design/p-bdb2e42c.entry.js +0 -1
  411. package/dist/ptcw-design/p-be533f0d.js +0 -134
  412. package/dist/ptcw-design/p-bf15988f.entry.js +0 -68
  413. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  414. package/dist/ptcw-design/p-c33fd408.entry.js +0 -1
  415. package/dist/ptcw-design/p-c389eb7d.entry.js +0 -1
  416. package/dist/ptcw-design/p-d428ba40.entry.js +0 -1
  417. package/dist/ptcw-design/p-d8c1a14a.entry.js +0 -1
  418. package/dist/ptcw-design/p-e1373325.entry.js +0 -1
  419. package/dist/ptcw-design/p-e51bb274.entry.js +0 -1
  420. package/dist/ptcw-design/p-eabf87be.entry.js +0 -1
  421. package/dist/ptcw-design/p-edaf241d.entry.js +0 -1
  422. package/dist/ptcw-design/p-fef688c2.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as a,a as i}from"./p-944c5be8.js";const l=class{constructor(e){t(this,e),this.formData={email:"",firstName:"",lastName:"",company:"",country:"",phone:"",inquiryReason:"",howhearselfreport:"",policyChecked:!1}}componentDidLoad(){this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]'),this.firstNameEle=this.el.querySelector('ptc-textfield[field-id="contact-firstname"]'),this.lastNameEle=this.el.querySelector('ptc-textfield[field-id="contact-lastname"]'),this.companyEle=this.el.querySelector('ptc-textfield[field-id="company"]'),this.phoneEle=this.el.querySelector('ptc-textfield[field-id="contact-phone"]')}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.formData.firstName=this.firstNameEle.inputValue,this.formData.lastName=this.lastNameEle.inputValue,this.formData.company=this.companyEle.inputValue,this.formData.phone=this.phoneEle.inputValue,this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t)}else console.log("Form validation failed")}isValid(){const{email:t,firstName:e,lastName:a,company:i,country:l,phone:s,inquiryReason:c,howhearselfreport:m,policyChecked:p}=this.formData,n=document.querySelectorAll(".invalid-field").length;return""!==t&&""!==s&&""!==e&&""!==a&&""!==i&&""!==l&&""!==c&&""!=m&&p&&0===n}render(){return e(a,null,e("div",{class:"ptc-container ptc-section-standard u-flex u-flex-justify-center"},e("div",{class:"form-wrapper"},e("max-width-container",{"max-width":"277",breakpoint:480},e("ptc-title",{type:"h2","text-align":"center","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."),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"small",size:"small"})),e("form",{onSubmit:t=>this.handleSubmit(t)},e("ptc-textfield",{"field-id":"contact-firstname","label-text":"First Name*",type:"text","ptc-data-eloqua-name":"C_FirstName","field-name":"firstname"}),e("ptc-textfield",{"field-id":"contact-lastname","label-text":"Last Name*",type:"text","ptc-data-eloqua-name":"C_LastName","field-name":"lastname"}),e("ptc-textfield",{"field-id":"company","label-text":"Company*",type:"text","ptc-data-eloqua-name":"C_Company","field-name":"company"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"company-email","label-text":"Company Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"companyemail"}),e("ptc-select",{"field-id":"contact-country",label:"Country*","ptc-data-eloqua-name":"C_Country","field-name":"country"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item placehoder-li","data-value":""},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Select a country")),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"USA")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Canada")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"China")))),e("ptc-textfield",{"field-id":"contact-phone","label-text":"Phone*",type:"tel","ptc-data-eloqua-name":"C_BusPhone","field-name":"phone"}),e("ptc-select",{label:"What information are you interested in?*","ptc-data-eloqua-name":"Inquiry_Reason","field-name":"inquiryreason","field-id":"contact-inquiry"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":"Please select a value"},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"Augmented Reality (AR)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Augmented Reality (AR)")),e("li",{class:"mdc-list-item","data-value":"CAD"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Computer Aided Design")),e("li",{class:"mdc-list-item","data-value":"Retail(FlexPLM)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Fashion and Retail Product Lifecycle Management")))),e("ptc-multi-select",{items:[{text:"Item 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tortor metus, auctor id massa nec, tempor consectetur arcu. Ut et orci eget mauris tempor blandit vel et elit. Praesent congue.",selected:!1,ptcDataEloquaName:"item_1",ptcDataTargetEloquaName:"item_target-1"},{text:"Item 2",selected:!1,ptcDataEloquaName:"item_2",ptcDataTargetEloquaName:"item_target-2"},{text:"Item 3",selected:!1,ptcDataEloquaName:"item_3",ptcDataTargetEloquaName:"item_target-3"},{text:"Item 4",selected:!1,ptcDataEloquaName:"item_4",ptcDataTargetEloquaName:"item_target-4"},{text:"Item 5",selected:!1,ptcDataEloquaName:"item_5",ptcDataTargetEloquaName:"item_target-5"},{text:"Item 6",selected:!1,ptcDataEloquaName:"item_6",ptcDataTargetEloquaName:"item_target-6"},{text:"Item 7",selected:!1,ptcDataEloquaName:"item_7",ptcDataTargetEloquaName:"item_target-7"},{text:"Item 8",selected:!1,ptcDataEloquaName:"item_8",ptcDataTargetEloquaName:"item_target-8"},{text:"Item 9",selected:!1,ptcDataEloquaName:"item_9",ptcDataTargetEloquaName:"item_target-9"},{text:"Item 10",selected:!1,ptcDataEloquaName:"item_10",ptcDataTargetEloquaName:"item_target-10"},{text:"Item 11",selected:!1,ptcDataEloquaName:"item_11",ptcDataTargetEloquaName:"item_target-11"},{text:"Item 12",selected:!1,ptcDataEloquaName:"item_12",ptcDataTargetEloquaName:"item_target-12"}],"is-required":"true"}),e("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"}),e("ptc-form-checkbox",{label:"I agree to the policy","checkbox-id":"test"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 48px; display:block;}"},"Submit")))))}get el(){return i(this)}};l.style=":host{display:block}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px}";export{l as ptc_form}
1
+ import{r as t,h as e,H as a,g as i}from"./p-ac75c7ad.js";const l=class{constructor(e){t(this,e),this.formData={email:"",firstName:"",lastName:"",company:"",country:"",phone:"",inquiryReason:"",howhearselfreport:"",policyChecked:!1}}componentDidLoad(){this.formButton=this.el.querySelector(".form-submit"),this.formButton.addEventListener("click",this.handleSubmit.bind(this)),this.emailEle=this.el.querySelector('ptc-textfield[field-id="contact-email"]'),this.firstNameEle=this.el.querySelector('ptc-textfield[field-id="contact-firstname"]'),this.lastNameEle=this.el.querySelector('ptc-textfield[field-id="contact-lastname"]'),this.companyEle=this.el.querySelector('ptc-textfield[field-id="company"]'),this.phoneEle=this.el.querySelector('ptc-textfield[field-id="contact-phone"]')}handleInputChange(t,e){this.formData=Object.assign(Object.assign({},this.formData),{[t]:e})}handleSubmit(t){if(t.preventDefault(),this.formData.email=this.emailEle.inputValue,this.formData.firstName=this.firstNameEle.inputValue,this.formData.lastName=this.lastNameEle.inputValue,this.formData.company=this.companyEle.inputValue,this.formData.phone=this.phoneEle.inputValue,this.isValid()){const t=new CustomEvent("formSubmit",{detail:this.formData,bubbles:!0});this.el.dispatchEvent(t)}else console.log("Form validation failed")}isValid(){const{email:t,firstName:e,lastName:a,company:i,country:l,phone:s,inquiryReason:c,howhearselfreport:m,policyChecked:p}=this.formData,n=document.querySelectorAll(".invalid-field").length;return""!==t&&""!==s&&""!==e&&""!==a&&""!==i&&""!==l&&""!==c&&""!=m&&p&&0===n}render(){return e(a,null,e("div",{class:"ptc-container ptc-section-standard u-flex u-flex-justify-center"},e("div",{class:"form-wrapper"},e("max-width-container",{"max-width":"277",breakpoint:480},e("ptc-title",{type:"h2","text-align":"center","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."),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"small",size:"small"})),e("form",{onSubmit:t=>this.handleSubmit(t)},e("ptc-textfield",{"field-id":"contact-firstname","label-text":"First Name*",type:"text","ptc-data-eloqua-name":"C_FirstName","field-name":"firstname"}),e("ptc-textfield",{"field-id":"contact-lastname","label-text":"Last Name*",type:"text","ptc-data-eloqua-name":"C_LastName","field-name":"lastname"}),e("ptc-textfield",{"field-id":"company","label-text":"Company*",type:"text","ptc-data-eloqua-name":"C_Company","field-name":"company"}),e("ptc-textfield",{"field-id":"contact-email","label-text":"Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"email"}),e("ptc-textfield",{"field-id":"company-email","label-text":"Company Email*",type:"email","ptc-data-eloqua-name":"C_EmailAddress","field-name":"companyemail"}),e("ptc-select",{"field-id":"contact-country",label:"Country*","ptc-data-eloqua-name":"C_Country","field-name":"country"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item placehoder-li","data-value":""},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Select a country")),e("li",{class:"mdc-list-item","data-value":"USA"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"USA")),e("li",{class:"mdc-list-item","data-value":"Canada"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Canada")),e("li",{class:"mdc-list-item","data-value":"China"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"China")))),e("ptc-textfield",{"field-id":"contact-phone","label-text":"Phone*",type:"tel","ptc-data-eloqua-name":"C_BusPhone","field-name":"phone"}),e("ptc-select",{label:"What information are you interested in?*","ptc-data-eloqua-name":"Inquiry_Reason","field-name":"inquiryreason","field-id":"contact-inquiry"},e("ul",{class:"mdc-list"},e("li",{class:"mdc-list-item","data-value":"Please select a value"},e("span",{class:"mdc-list-item__ripple"})),e("li",{class:"mdc-list-item","data-value":"Augmented Reality (AR)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Augmented Reality (AR)")),e("li",{class:"mdc-list-item","data-value":"CAD"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Computer Aided Design")),e("li",{class:"mdc-list-item","data-value":"Retail(FlexPLM)"},e("span",{class:"mdc-list-item__ripple"}),e("span",{class:"mdc-list-item__text"},"Fashion and Retail Product Lifecycle Management")))),e("ptc-multi-select",{items:[{text:"Item 1 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce tortor metus, auctor id massa nec, tempor consectetur arcu. Ut et orci eget mauris tempor blandit vel et elit. Praesent congue.",selected:!1,ptcDataEloquaName:"item_1",ptcDataTargetEloquaName:"item_target-1"},{text:"Item 2",selected:!1,ptcDataEloquaName:"item_2",ptcDataTargetEloquaName:"item_target-2"},{text:"Item 3",selected:!1,ptcDataEloquaName:"item_3",ptcDataTargetEloquaName:"item_target-3"},{text:"Item 4",selected:!1,ptcDataEloquaName:"item_4",ptcDataTargetEloquaName:"item_target-4"},{text:"Item 5",selected:!1,ptcDataEloquaName:"item_5",ptcDataTargetEloquaName:"item_target-5"},{text:"Item 6",selected:!1,ptcDataEloquaName:"item_6",ptcDataTargetEloquaName:"item_target-6"},{text:"Item 7",selected:!1,ptcDataEloquaName:"item_7",ptcDataTargetEloquaName:"item_target-7"},{text:"Item 8",selected:!1,ptcDataEloquaName:"item_8",ptcDataTargetEloquaName:"item_target-8"},{text:"Item 9",selected:!1,ptcDataEloquaName:"item_9",ptcDataTargetEloquaName:"item_target-9"},{text:"Item 10",selected:!1,ptcDataEloquaName:"item_10",ptcDataTargetEloquaName:"item_target-10"},{text:"Item 11",selected:!1,ptcDataEloquaName:"item_11",ptcDataTargetEloquaName:"item_target-11"},{text:"Item 12",selected:!1,ptcDataEloquaName:"item_12",ptcDataTargetEloquaName:"item_target-12"}],"is-required":"true"}),e("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"}),e("ptc-form-checkbox",{label:"I agree to the policy","checkbox-id":"test"}),e("ptc-button",{class:"form-submit",color:"ptc-quaternary",type:"submit",styles:":host{align-self:flex-end; margin-top: 48px; display:block;}"},"Submit")))))}get el(){return i(this)}};l.style=":host{display:block}.form-wrapper{width:433px;display:flex;border-radius:3px;background:#FFF;box-shadow:0px 2px 6px 0px rgba(0, 0, 0, 0.16);flex-direction:column;align-items:center;padding:24px 0px}";export{l as ptc_form}
@@ -1 +1 @@
1
- import{r as t,c as e,h as r,H as a,a as o}from"./p-944c5be8.js";const i=class{constructor(r){t(this,r),this.hoverEvent=e(this,"hoverEvent",7),this.leaveEvent=e(this,"leaveEvent",7),this.cardType=void 0,this.outlineColor=void 0,this.styles=void 0,this.isLoading=!1,this.cardOnDemandVideoTheme="light"}hoverEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("card-on-demand-video")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.add("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.add("mouse-hover-card-bottom")),this.el.classList.contains("event-podcast")&&this.el.nextElementSibling.addClassOnDefaultSlot()}leaveEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("card-on-demand-video")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.remove("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.remove("mouse-hover-card-bottom")),this.el.classList.contains("event-podcast")&&this.el.nextElementSibling.removeClassOnDefaultSlot()}async setHeight(t){this.el.style.height=t+"px",this.el.querySelector("ptc-picture").style.height=t+"px"}async removeInlineHeight(){this.el.style.removeProperty("height");const t=this.el.querySelector("ptc-picture");t&&t.style.removeProperty("height")}render(){const t=this.getCssClassMap();return r(a,Object.assign({part:"card-content",class:t},this.isLoading?{}:{onMouseEnter:this.hoverEventHandler.bind(this)},this.isLoading?{}:{onMouseLeave:this.leaveEventHandler.bind(this)}),this.styles&&r("style",null,this.styles),r("slot",{name:"slot-content"}),r("div",{class:"ptc-card-content-wrapper"},r("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType,[this.outlineColor]:!!this.outlineColor,[this.cardOnDemandVideoTheme]:!!this.cardOnDemandVideoTheme}}get el(){return o(this)}};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}}:host{display:block;height:100%}:host ::slotted([slot=seo-content]){display:none}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper,:host(.card-on-demand-video) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before,:host(.card-on-demand-video) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after,:host(.card-on-demand-video) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}:host(.card-on-demand-video) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.16);border:1px solid rgba(255, 255, 255, 0.08);box-sizing:border-box}:host(.card-on-demand-video) .ptc-card-content-wrapper::after{content:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"46\" height=\"48\" viewBox=\"0 0 46 48\" fill=\"none\"><g filter=\"url(%23filter0_d_2245_7)\"><path d=\"M38 20L8 36V4L38 20Z\" fill=\"white\"/></g><defs><filter id=\"filter0_d_2245_7\" x=\"0\" y=\"0\" width=\"46\" height=\"48\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/><feOffset dy=\"4\"/><feGaussianBlur stdDeviation=\"4\"/><feComposite in2=\"hardAlpha\" operator=\"out\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0\"/><feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_2245_7\"/><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_2245_7\" result=\"shape\"/></filter></defs></svg>');opacity:1;left:0;right:0;top:8px;bottom:0;transform:translate(0%) scale(1);width:100%;height:100%;transform:none;display:flex;align-items:center;justify-content:center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout), transform var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-on-demand-video.mouse-hover) .ptc-card-content-wrapper::before{background:transparent}:host(.card-on-demand-video.mouse-hover) .ptc-card-content-wrapper::after{transform:translate(0%) scale(1.07);transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout), transform var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-on-demand-video:active) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.12)}:host(.card-on-demand-video.dark) .ptc-card-content-wrapper::before{border:1px solid rgba(255, 255, 255, 0.08);box-sizing:border-box}";export{i as ptc_card_content}
1
+ import{r as t,c as e,h as r,H as a,g as o}from"./p-ac75c7ad.js";const i=class{constructor(r){t(this,r),this.hoverEvent=e(this,"hoverEvent",7),this.leaveEvent=e(this,"leaveEvent",7),this.cardType=void 0,this.outlineColor=void 0,this.styles=void 0,this.isLoading=!1,this.cardOnDemandVideoTheme="light"}hoverEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("card-on-demand-video")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.add("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.add("mouse-hover-card-bottom")),this.el.classList.contains("event-podcast")&&this.el.nextElementSibling.addClassOnDefaultSlot()}leaveEventHandler(){this.el.classList.contains("speed-bump")||this.el.classList.contains("card-video-intro")||this.el.classList.contains("card-dynamic")||this.el.classList.contains("card-on-demand-video")||this.el.classList.contains("extra-tall")||(this.hoverEvent.emit(),this.el.classList.remove("mouse-hover"),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||!this.el.nextElementSibling||this.el.nextElementSibling.classList.remove("mouse-hover-card-bottom")),this.el.classList.contains("event-podcast")&&this.el.nextElementSibling.removeClassOnDefaultSlot()}async setHeight(t){this.el.style.height=t+"px",this.el.querySelector("ptc-picture").style.height=t+"px"}async removeInlineHeight(){this.el.style.removeProperty("height");const t=this.el.querySelector("ptc-picture");t&&t.style.removeProperty("height")}render(){const t=this.getCssClassMap();return r(a,Object.assign({part:"card-content",class:t},this.isLoading?{}:{onMouseEnter:this.hoverEventHandler.bind(this)},this.isLoading?{}:{onMouseLeave:this.leaveEventHandler.bind(this)}),this.styles&&r("style",null,this.styles),r("slot",{name:"slot-content"}),r("div",{class:"ptc-card-content-wrapper"},r("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType,[this.outlineColor]:!!this.outlineColor,[this.cardOnDemandVideoTheme]:!!this.cardOnDemandVideoTheme}}get el(){return o(this)}};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}}:host{display:block;height:100%}:host ::slotted([slot=seo-content]){display:none}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-07) var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper,:host(.card-on-demand-video) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before,:host(.card-on-demand-video) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after,:host(.card-on-demand-video) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.extra-tall) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.thumbnail-video-preview) .ptc-card-content-wrapper{cursor:pointer;position:relative}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.thumbnail-video-preview) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:1;top:60%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.extra-tall) .ptc-card-content-wrapper{height:auto}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:auto}:host(.color-outlined){border-radius:var(--ptc-border-radius-large);box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12)}:host(.color-outlined) .ptc-card-content-wrapper{height:235px}:host(.color-outlined) .ptc-card-content-wrapper ::slotted(*){height:235px}@media only screen and (min-width: 480px){:host(.extra-tall) .ptc-card-content-wrapper{height:435px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:435px}}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.extra-tall) .ptc-card-content-wrapper{height:507px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:507px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-content-wrapper{height:663px}:host(.extra-tall) .ptc-card-content-wrapper ::slotted(*){height:663px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}:host(.o-red){border:2px solid var(--color-red-07)}:host(.o-green){border:2px solid var(--color-green-07)}:host(.o-slate-grey){border:2px solid var(--color-gray-07)}:host(.o-orange){border:2px solid var(--color-orange-07)}:host(.o-blue){border:2px solid var(--color-blue-07)}:host(.card-on-demand-video) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.16);border:1px solid rgba(255, 255, 255, 0.08);box-sizing:border-box}:host(.card-on-demand-video) .ptc-card-content-wrapper::after{content:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"46\" height=\"48\" viewBox=\"0 0 46 48\" fill=\"none\"><g filter=\"url(%23filter0_d_2245_7)\"><path d=\"M38 20L8 36V4L38 20Z\" fill=\"white\"/></g><defs><filter id=\"filter0_d_2245_7\" x=\"0\" y=\"0\" width=\"46\" height=\"48\" filterUnits=\"userSpaceOnUse\" color-interpolation-filters=\"sRGB\"><feFlood flood-opacity=\"0\" result=\"BackgroundImageFix\"/><feColorMatrix in=\"SourceAlpha\" type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0\" result=\"hardAlpha\"/><feOffset dy=\"4\"/><feGaussianBlur stdDeviation=\"4\"/><feComposite in2=\"hardAlpha\" operator=\"out\"/><feColorMatrix type=\"matrix\" values=\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0\"/><feBlend mode=\"normal\" in2=\"BackgroundImageFix\" result=\"effect1_dropShadow_2245_7\"/><feBlend mode=\"normal\" in=\"SourceGraphic\" in2=\"effect1_dropShadow_2245_7\" result=\"shape\"/></filter></defs></svg>');opacity:1;left:0;right:0;top:8px;bottom:0;transform:translate(0%) scale(1);width:100%;height:100%;transform:none;display:flex;align-items:center;justify-content:center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout), transform var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-on-demand-video.mouse-hover) .ptc-card-content-wrapper::before{background:transparent}:host(.card-on-demand-video.mouse-hover) .ptc-card-content-wrapper::after{transform:translate(0%) scale(1.07);transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout), transform var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-on-demand-video:active) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.12)}:host(.card-on-demand-video.dark) .ptc-card-content-wrapper::before{border:1px solid rgba(255, 255, 255, 0.08);box-sizing:border-box}";export{i as ptc_card_content}
@@ -1 +1 @@
1
- import{r as t,c as r,h as e,H as a,a as i}from"./p-944c5be8.js";const s=class{constructor(e){t(this,e),this.valueChanged=r(this,"valueChanged",7),this.clicked=r(this,"clicked",7),this.textValue=void 0,this.placeholderLabel=void 0,this.darkTheme=void 0,this.isNews=void 0,this.elevation="small",this.enableClear=!1,this.styles=void 0}textChangedHandler(t){this.valueChanged.emit({sender:this,event:t,searchTerm:this.getSearchValue()})}buttonClickHandler(t){this.clicked.emit({sender:this,event:t,searchTerm:this.getSearchValue()})}keyDownHandler(t){"Enter"==t.key&&this.clicked.emit({sender:this,event:t,searchTerm:this.getSearchValue()}),this.getSearchValue()}keyUpHandler(){this.darkTheme||(this.enableClear=!(""==this.getSearchValue()))}getSearchValue(){let t="",r=this.el.shadowRoot.querySelector("input");return r&&(t=r.value),t}async clearSearchValue(){this.textValue="";let t=this.el.shadowRoot.querySelector("input");t&&(t.value="",this.enableClear=!1)}render(){const t=this.getCssClassMap(),r=this.darkTheme?"white":"black";return e(a,{class:t},this.styles&&e("style",null,this.styles),e("div",{class:"search-div"},e("div",{class:"input-wrap mf-listen",id:"searchTextID"},e("input",{id:"ptc-search-input",type:"text",value:this.textValue,placeholder:this.placeholderLabel,onKeyDown:t=>{this.keyDownHandler(t)},onKeyUp:()=>{this.keyUpHandler()},onChange:t=>{this.textChangedHandler(t)}}),this.enableClear&&e("div",{class:"icon-wrapper"},e("icon-asset",{class:"cls",type:"ptc",color:r,name:"times",size:"xxx-small",onClick:t=>{this.clearSearchValue(),this.buttonClickHandler(t)}}))),e("div",{class:"tracker-div mf-listen",id:"searchBtnID"},e("button",{type:"button",color:"blackgrey",class:"search-btn",onClick:t=>{this.buttonClickHandler(t)}},e("icon-asset",{type:"ptc",size:"medium",name:"new-search",color:"white"})))))}getCssClassMap(){return{dark:!!this.darkTheme,[this.elevation]:!0,"enable-clear":this.enableClear,news:!!this.isNews}}get el(){return i(this)}};s.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 .search-div{position:relative;display:flex;align-items:stretch;height:51px;border-radius:var(--ptc-border-radius-standard)}:host .search-div:focus-visible{outline:5px solid var(--keyboard-nav-outline) !important;border-radius:var(--ptc-border-radius-standard) !important}:host .search-div .input-wrap{position:relative;width:100%;box-sizing:border-box;display:flex}:host .search-div .input-wrap input{height:100%}:host .search-div input{background-color:var(--color-white);height:-webkit-fill-available;border:0 solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);flex-grow:2;padding-left:var(--ptc-element-spacing-04);line-height:var(--ptc-line-height-loose);padding-right:54px;width:100%;box-sizing:border-box;margin-right:0px}:host .search-div input:focus-visible{border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);outline:none}:host .search-div input::-moz-placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div input::placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div div#searchBtnID{z-index:1}:host .search-div .search-btn{cursor:pointer;height:51px;min-width:51px;border-radius:0 var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0;background-color:var(--color-gray-12);border:0 solid var(--color-gray-12);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);margin:0}:host .search-div .search-btn:active{transition:none;background-color:var(--color-black)}:host .search-div .search-btn:hover{background-color:var(--color-gray-10)}:host .search-div .search-btn:focus-visible{z-index:1;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.dark){z-index:999;position:relative;margin-top:20px}:host(.dark) .search-div{height:43px;width:208px}@media (max-width: 480px){:host(.dark) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.dark) .search-div{width:246px}}:host(.dark) .search-div input{background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);color:var(--color-white);padding-left:unset;text-indent:var(--ptc-element-spacing-04);padding-right:2px}:host(.dark) .search-div input::-moz-placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div input::placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div .search-btn{height:43px;width:43px;background-color:var(--color-gray-10);border:1px solid var(--color-gray-08);border-left:0}:host(.dark) .search-div .search-btn:hover{background-color:var(--color-gray-08)}:host(.news){z-index:999;position:relative;margin-top:20px}:host(.news) .search-div{height:43px}@media (max-width: 480px){:host(.news) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.news) .search-div{width:246px}}:host(.news) .search-div .search-btn{height:43px}:host(.x-small) .search-div{box-shadow:var(--ptc-shadow-x-small)}:host(.small) .search-div{box-shadow:var(--ptc-shadow-small)}:host(.medium) .search-div{box-shadow:var(--ptc-shadow-medium)}:host(.large) .search-div{box-shadow:var(--ptc-shadow-large)}:host(.x-large) .search-div{box-shadow:var(--ptc-shadow-x-large)}@media (max-width: 480px){input{width:75%}}.icon-wrapper{padding:16px 20px 0;background-color:transparent;position:absolute;right:0;top:-2px;height:100%;box-sizing:border-box}.icon-wrapper .cls{cursor:pointer;display:block}:host(.dark) .icon-wrapper{padding:12px 20px 0;background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);border-left-width:0;position:initial;right:auto;top:auto}:host(.dark):host(.enable-clear) input{border-right-width:0}@media only screen and (min-width: 992px){.cls{display:none}}.tracker-div{display:inline}";export{s as ptc_search_field}
1
+ import{r as t,c as r,h as a,H as e,g as i}from"./p-ac75c7ad.js";const s=class{constructor(a){t(this,a),this.valueChanged=r(this,"valueChanged",7),this.clicked=r(this,"clicked",7),this.textValue=void 0,this.placeholderLabel=void 0,this.darkTheme=void 0,this.isNews=void 0,this.elevation="small",this.enableClear=!1,this.styles=void 0}textChangedHandler(t){this.valueChanged.emit({sender:this,event:t,searchTerm:this.getSearchValue()})}buttonClickHandler(t){this.clicked.emit({sender:this,event:t,searchTerm:this.getSearchValue()})}keyDownHandler(t){"Enter"==t.key&&this.clicked.emit({sender:this,event:t,searchTerm:this.getSearchValue()}),this.getSearchValue()}keyUpHandler(){this.darkTheme||(this.enableClear=!(""==this.getSearchValue()))}getSearchValue(){let t="",r=this.el.shadowRoot.querySelector("input");return r&&(t=r.value),t}async clearSearchValue(){this.textValue="";let t=this.el.shadowRoot.querySelector("input");t&&(t.value="",this.enableClear=!1)}render(){const t=this.getCssClassMap(),r=this.darkTheme?"white":"black";return a(e,{class:t},this.styles&&a("style",null,this.styles),a("div",{class:"search-div"},a("div",{class:"input-wrap mf-listen",id:"searchTextID"},a("input",{id:"ptc-search-input",type:"text",value:this.textValue,placeholder:this.placeholderLabel,onKeyDown:t=>{this.keyDownHandler(t)},onKeyUp:()=>{this.keyUpHandler()},onChange:t=>{this.textChangedHandler(t)}}),this.enableClear&&a("div",{class:"icon-wrapper"},a("icon-asset",{class:"cls",type:"ptc",color:r,name:"times",size:"xxx-small",onClick:t=>{this.clearSearchValue(),this.buttonClickHandler(t)}}))),a("div",{class:"tracker-div mf-listen",id:"searchBtnID"},a("button",{type:"button",color:"blackgrey",class:"search-btn",onClick:t=>{this.buttonClickHandler(t)}},a("icon-asset",{type:"ptc",size:"medium",name:"new-search",color:"white"})))))}getCssClassMap(){return{dark:!!this.darkTheme,[this.elevation]:!0,"enable-clear":this.enableClear,news:!!this.isNews}}get el(){return i(this)}};s.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 .search-div{position:relative;display:flex;align-items:stretch;height:51px;border-radius:var(--ptc-border-radius-standard)}:host .search-div:focus-visible{outline:5px solid var(--keyboard-nav-outline) !important;border-radius:var(--ptc-border-radius-standard) !important}:host .search-div .input-wrap{position:relative;width:100%;box-sizing:border-box;display:flex}:host .search-div .input-wrap input{height:100%}:host .search-div input{background-color:var(--color-white);height:-webkit-fill-available;border:0 solid var(--color-gray-12);border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);flex-grow:2;padding-left:var(--ptc-element-spacing-04);line-height:var(--ptc-line-height-loose);padding-right:54px;width:100%;box-sizing:border-box;margin-right:0px}:host .search-div input:focus-visible{border-radius:var(--ptc-border-radius-standard) 0 0 var(--ptc-border-radius-standard);outline:none}:host .search-div input::-moz-placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div input::placeholder{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-small);position:relative;top:1px;color:var(--color-gray-10)}:host .search-div div#searchBtnID{z-index:1}:host .search-div .search-btn{cursor:pointer;height:51px;min-width:51px;border-radius:0 var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0;background-color:var(--color-gray-12);border:0 solid var(--color-gray-12);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);margin:0}:host .search-div .search-btn:active{transition:none;background-color:var(--color-black)}:host .search-div .search-btn:hover{background-color:var(--color-gray-10)}:host .search-div .search-btn:focus-visible{z-index:1;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.dark){z-index:999;position:relative;margin-top:20px}:host(.dark) .search-div{height:43px;width:208px}@media (max-width: 480px){:host(.dark) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.dark) .search-div{width:246px}}:host(.dark) .search-div input{background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);color:var(--color-white);padding-left:unset;text-indent:var(--ptc-element-spacing-04);padding-right:2px}:host(.dark) .search-div input::-moz-placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div input::placeholder{color:var(--color-white);font-size:var(--ptc-font-size-x-small)}:host(.dark) .search-div .search-btn{height:43px;width:43px;background-color:var(--color-gray-10);border:1px solid var(--color-gray-08);border-left:0}:host(.dark) .search-div .search-btn:hover{background-color:var(--color-gray-08)}:host(.news){z-index:999;position:relative;margin-top:20px}:host(.news) .search-div{height:43px}@media (max-width: 480px){:host(.news) .search-div{width:100%}}@media only screen and (min-width: 992px){:host(.news) .search-div{width:246px}}:host(.news) .search-div .search-btn{height:43px}:host(.x-small) .search-div{box-shadow:var(--ptc-shadow-x-small)}:host(.small) .search-div{box-shadow:var(--ptc-shadow-small)}:host(.medium) .search-div{box-shadow:var(--ptc-shadow-medium)}:host(.large) .search-div{box-shadow:var(--ptc-shadow-large)}:host(.x-large) .search-div{box-shadow:var(--ptc-shadow-x-large)}@media (max-width: 480px){input{width:75%}}.icon-wrapper{padding:16px 20px 0;background-color:transparent;position:absolute;right:0;top:-2px;height:100%;box-sizing:border-box}.icon-wrapper .cls{cursor:pointer;display:block}:host(.dark) .icon-wrapper{padding:12px 20px 0;background-color:var(--color-gray-12);border:1px solid var(--color-gray-08);border-left-width:0;position:initial;right:auto;top:auto}:host(.dark):host(.enable-clear) input{border-right-width:0}@media only screen and (min-width: 992px){.cls{display:none}}.tracker-div{display:inline}";export{s as ptc_search_field}