@ptcwebops/ptcw-design 6.2.3 → 6.2.4-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 (488) 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 +1 -1
  4. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  5. package/dist/cjs/event-jumbotron-example.cjs.entry.js +125 -0
  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 +1 -1
  9. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  10. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  11. package/dist/cjs/list-item.cjs.entry.js +48 -0
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  14. package/dist/cjs/most-popular-news.cjs.entry.js +1 -1
  15. package/dist/cjs/my-component.cjs.entry.js +1 -1
  16. package/dist/cjs/ptc-accordion-item.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-background-video.cjs.entry.js +1 -1
  18. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  20. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  21. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +132 -0
  22. package/dist/cjs/ptc-card-content.cjs.entry.js +68 -0
  23. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +211 -0
  25. package/dist/cjs/ptc-collapse-list.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  27. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  29. package/dist/cjs/ptc-footer.cjs.entry.js +1 -1
  30. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +787 -5
  31. package/dist/cjs/ptc-homepage-image-feature.cjs.entry.js +1 -1
  32. package/dist/cjs/ptc-homepage-video-background.cjs.entry.js +1 -1
  33. package/dist/cjs/ptc-icon-card.cjs.entry.js +8 -2
  34. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  35. package/dist/cjs/ptc-jumbotron.cjs.entry.js +1 -1
  36. package/dist/cjs/ptc-link.cjs.entry.js +98 -0
  37. package/dist/cjs/ptc-media-card.cjs.entry.js +1 -1
  38. package/dist/cjs/ptc-nav-slider.cjs.entry.js +1 -1
  39. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +1 -1
  40. package/dist/cjs/ptc-overlay.cjs.entry.js +34 -0
  41. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  42. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  43. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  44. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +1 -1
  45. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +1 -1
  46. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  47. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  48. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  49. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  50. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  51. package/dist/cjs/ptc-social-icons-footer.cjs.entry.js +7 -2
  52. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  53. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  54. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  55. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  56. package/dist/cjs/ptc-white-paper.cjs.entry.js +1 -1
  57. package/dist/cjs/ptcw-design.cjs.js +1 -1
  58. package/dist/cjs/{utils-87d7b99f.js → utils-ad441b07.js} +9 -0
  59. package/dist/collection/collection-manifest.json +1 -0
  60. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  61. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +20 -5
  62. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +19 -1
  63. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  64. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  65. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +20 -5
  66. package/dist/collection/components/ptc-button/ptc-button.js +4 -1
  67. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +20 -5
  68. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +20 -5
  69. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +20 -5
  70. package/dist/collection/components/ptc-footer/ptc-footer-v2.css +14 -1
  71. package/dist/collection/components/ptc-icon-card/ptc-icon-card.css +10 -0
  72. package/dist/collection/components/ptc-icon-card/ptc-icon-card.js +25 -1
  73. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +20 -5
  74. package/dist/collection/components/ptc-link/ptc-link.css +8 -0
  75. package/dist/collection/components/ptc-link/ptc-link.js +4 -1
  76. package/dist/collection/components/ptc-modal/ptc-modal.css +4 -0
  77. package/dist/collection/components/ptc-modal/ptc-modal.js +2 -2
  78. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  79. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  80. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +20 -5
  81. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  82. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  83. package/dist/collection/components/ptc-product-card/ptc-product-card.css +20 -5
  84. package/dist/collection/components/ptc-product-category/ptc-product-category.css +20 -5
  85. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +20 -5
  86. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +20 -5
  87. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +20 -5
  88. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.css +10 -0
  89. package/dist/collection/components/ptc-social-icons-footer/ptc-social-icons-footer.js +24 -1
  90. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +20 -5
  91. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +20 -5
  92. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +20 -5
  93. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -1
  94. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +7 -0
  95. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  96. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  97. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  98. package/dist/collection/utils/utils.js +8 -0
  99. package/dist/custom-elements/index.d.ts +6 -0
  100. package/dist/custom-elements/index.js +153 -32
  101. package/dist/esm/academic-form-test.entry.js +1 -1
  102. package/dist/esm/author-listing-example.entry.js +1 -1
  103. package/dist/esm/blog-detail-content_2.entry.js +2 -2
  104. package/dist/esm/blog-detail-layout.entry.js +2 -2
  105. package/dist/esm/blogs-search-section.entry.js +2 -2
  106. package/dist/esm/bundle-example.entry.js +1 -1
  107. package/dist/esm/bundle-jumbotron-example.entry.js +1 -1
  108. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  109. package/dist/esm/dropdown-item.entry.js +1 -1
  110. package/dist/esm/dynamic-box-bundle.entry.js +1 -1
  111. package/dist/esm/embedded-form.entry.js +1 -1
  112. package/dist/esm/event-jumbotron-example.entry.js +121 -0
  113. package/dist/esm/featured-events-slider-example.entry.js +1 -1
  114. package/dist/esm/featured-list.entry.js +2 -2
  115. package/dist/esm/fl-tab-content_3.entry.js +1 -1
  116. package/dist/esm/footer-form.entry.js +1 -1
  117. package/dist/esm/homepage-clickable-tab.entry.js +1 -1
  118. package/dist/esm/homepage-jumbotron.entry.js +2 -2
  119. package/dist/esm/homepage-toggled-content.entry.js +2 -2
  120. package/dist/esm/icon-asset.entry.js +61 -0
  121. package/dist/esm/{index-0bf594c4.js → index-c83db688.js} +1 -1
  122. package/dist/esm/innovator-toggle-container.entry.js +2 -2
  123. package/dist/esm/jumbotron-sub-menu.entry.js +1 -1
  124. package/dist/esm/jumbotron-sub-mune.entry.js +1 -1
  125. package/dist/esm/list-item.entry.js +44 -0
  126. package/dist/esm/loader.js +3 -3
  127. package/dist/esm/max-width-container.entry.js +1 -1
  128. package/dist/esm/modal-form-example.entry.js +90 -0
  129. package/dist/esm/most-popular-news.entry.js +2 -2
  130. package/dist/esm/my-component.entry.js +2 -2
  131. package/dist/esm/news-search-result.entry.js +1 -1
  132. package/dist/esm/ptc-accordion-item.entry.js +2 -2
  133. package/dist/esm/ptc-accordion.entry.js +1 -1
  134. package/dist/esm/ptc-announcement.entry.js +1 -1
  135. package/dist/esm/ptc-back-to-top.entry.js +1 -1
  136. package/dist/esm/ptc-background-video.entry.js +2 -2
  137. package/dist/esm/ptc-badge.entry.js +1 -1
  138. package/dist/esm/ptc-bio-card.entry.js +2 -2
  139. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  140. package/dist/esm/ptc-brightcov-video.entry.js +1 -1
  141. package/dist/esm/ptc-button.entry.js +83 -0
  142. package/dist/esm/ptc-card-bottom_2.entry.js +127 -0
  143. package/dist/esm/ptc-card-content.entry.js +64 -0
  144. package/dist/esm/ptc-card_2.entry.js +1 -1
  145. package/dist/esm/ptc-case-studies-slider.entry.js +2 -2
  146. package/dist/esm/ptc-checkbox-group.entry.js +1 -1
  147. package/dist/esm/ptc-checkbox.entry.js +1 -1
  148. package/dist/esm/ptc-close-icon_2.entry.js +206 -0
  149. package/dist/esm/ptc-collapse-list.entry.js +2 -2
  150. package/dist/esm/ptc-container.entry.js +1 -1
  151. package/dist/esm/ptc-countdown.entry.js +1 -1
  152. package/dist/esm/ptc-data-lookup.entry.js +2 -3
  153. package/dist/esm/ptc-date.entry.js +1 -1
  154. package/dist/esm/ptc-dropdown.entry.js +1 -1
  155. package/dist/esm/ptc-dynamic-card.entry.js +1 -1
  156. package/dist/esm/ptc-ellipsis-dropdown.entry.js +1 -1
  157. package/dist/esm/ptc-embedded-quiz.entry.js +1 -1
  158. package/dist/esm/ptc-featured-list.entry.js +2 -2
  159. package/dist/esm/ptc-filter-dropdown_4.entry.js +1 -1
  160. package/dist/esm/ptc-filter-level-theater.entry.js +2 -2
  161. package/dist/esm/ptc-filter-tag_2.entry.js +1 -1
  162. package/dist/esm/ptc-footer.entry.js +2 -2
  163. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +785 -5
  164. package/dist/esm/ptc-form-radio-button.entry.js +1 -1
  165. package/dist/esm/ptc-form-radio-group.entry.js +1 -1
  166. package/dist/esm/ptc-form.entry.js +1 -1
  167. package/dist/esm/ptc-hero-footer-cta.entry.js +1 -1
  168. package/dist/esm/ptc-hero.entry.js +1 -1
  169. package/dist/esm/ptc-homepage-image-feature.entry.js +2 -2
  170. package/dist/esm/ptc-homepage-video-background.entry.js +2 -2
  171. package/dist/esm/ptc-icon-card.entry.js +9 -3
  172. package/dist/esm/ptc-icon-component.entry.js +1 -1
  173. package/dist/esm/ptc-icon-list.entry.js +1 -1
  174. package/dist/esm/ptc-icon-minimize.entry.js +1 -1
  175. package/dist/esm/ptc-image-download-strip.entry.js +1 -1
  176. package/dist/esm/ptc-img.entry.js +129 -0
  177. package/dist/esm/ptc-info-tile.entry.js +1 -1
  178. package/dist/esm/ptc-inline-cta.entry.js +1 -1
  179. package/dist/esm/ptc-jumbotron.entry.js +2 -2
  180. package/dist/esm/ptc-link.entry.js +94 -0
  181. package/dist/esm/ptc-list.entry.js +1 -1
  182. package/dist/esm/ptc-media-card.entry.js +2 -2
  183. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  184. package/dist/esm/ptc-mobile-select.entry.js +1 -1
  185. package/dist/esm/ptc-modal-quiz.entry.js +1 -1
  186. package/dist/esm/ptc-nav-card.entry.js +1 -1
  187. package/dist/esm/ptc-nav-link.entry.js +1 -1
  188. package/dist/esm/ptc-nav-pills.entry.js +1 -1
  189. package/dist/esm/ptc-nav-skip-to-content.entry.js +1 -1
  190. package/dist/esm/ptc-nav-slider.entry.js +2 -2
  191. package/dist/esm/ptc-nav-submenu.entry.js +2 -2
  192. package/dist/esm/ptc-nav-tile.entry.js +1 -1
  193. package/dist/esm/ptc-news.entry.js +1 -1
  194. package/dist/esm/ptc-office-location-card.entry.js +1 -1
  195. package/dist/esm/ptc-office-locations.entry.js +1 -1
  196. package/dist/esm/ptc-overlay.entry.js +30 -0
  197. package/dist/esm/ptc-para.entry.js +123 -0
  198. package/dist/esm/ptc-picture.entry.js +1 -1
  199. package/dist/esm/ptc-podcast-card.entry.js +2 -2
  200. package/dist/esm/ptc-preferance-center-form.entry.js +1 -1
  201. package/dist/esm/ptc-previous-url.entry.js +11 -3
  202. package/dist/esm/ptc-pricing-add-on-card.entry.js +1 -1
  203. package/dist/esm/ptc-pricing-add-on-section.entry.js +1 -1
  204. package/dist/esm/ptc-pricing-block.entry.js +1 -1
  205. package/dist/esm/ptc-pricing-packaging-table.entry.js +2 -2
  206. package/dist/esm/ptc-pricing-tabs.entry.js +2 -2
  207. package/dist/esm/ptc-product-card.entry.js +2 -2
  208. package/dist/esm/ptc-product-category.entry.js +2 -2
  209. package/dist/esm/ptc-product-dropdown.entry.js +1 -1
  210. package/dist/esm/ptc-product-highlight-card.entry.js +2 -2
  211. package/dist/esm/ptc-product-list.entry.js +1 -1
  212. package/dist/esm/ptc-product-sidebar.entry.js +1 -1
  213. package/dist/esm/ptc-progress-bar.entry.js +1 -1
  214. package/dist/esm/ptc-quantity-counter.entry.js +1 -1
  215. package/dist/esm/ptc-quote.entry.js +1 -1
  216. package/dist/esm/ptc-readmore-char.entry.js +2 -2
  217. package/dist/esm/ptc-readmore-new.entry.js +1 -1
  218. package/dist/esm/ptc-readmore-v3.entry.js +2 -2
  219. package/dist/esm/ptc-readmore.entry.js +1 -1
  220. package/dist/esm/ptc-related-card-rail.entry.js +1 -1
  221. package/dist/esm/ptc-responsive-wrapper.entry.js +1 -1
  222. package/dist/esm/ptc-search-field.entry.js +1 -1
  223. package/dist/esm/ptc-seo-title.entry.js +1 -1
  224. package/dist/esm/ptc-shopping-cart.entry.js +1 -1
  225. package/dist/esm/ptc-showcase-card.entry.js +1 -1
  226. package/dist/esm/ptc-skeleton.entry.js +1 -1
  227. package/dist/esm/ptc-slit-card.entry.js +1 -1
  228. package/dist/esm/ptc-social-icons-footer.entry.js +8 -3
  229. package/dist/esm/ptc-social-icons.entry.js +1 -1
  230. package/dist/esm/ptc-spacer.entry.js +34 -0
  231. package/dist/esm/ptc-span.entry.js +1 -1
  232. package/dist/esm/ptc-square-card.entry.js +1 -1
  233. package/dist/esm/ptc-sticky-icons.entry.js +1 -1
  234. package/dist/esm/ptc-sticky-section.entry.js +1 -1
  235. package/dist/esm/ptc-sticky-title.entry.js +1 -1
  236. package/dist/esm/ptc-subnav-card.entry.js +1 -1
  237. package/dist/esm/ptc-subnav.entry.js +1 -1
  238. package/dist/esm/ptc-svg-btn.entry.js +1 -1
  239. package/dist/esm/ptc-tab-list.entry.js +1 -1
  240. package/dist/esm/ptc-tab.entry.js +1 -1
  241. package/dist/esm/ptc-tabs.entry.js +1 -1
  242. package/dist/esm/ptc-text-copy-with-background.entry.js +1 -1
  243. package/dist/esm/ptc-theater-video-modal.entry.js +1 -1
  244. package/dist/esm/ptc-title.entry.js +148 -0
  245. package/dist/esm/ptc-tooltip-v2.entry.js +2 -2
  246. package/dist/esm/ptc-tooltip-v3.entry.js +1 -1
  247. package/dist/esm/ptc-tooltip.entry.js +1 -1
  248. package/dist/esm/ptc-two-column-media.entry.js +1 -1
  249. package/dist/esm/ptc-value-led-card.entry.js +1 -1
  250. package/dist/esm/ptc-value-led-content-highlight.entry.js +1 -1
  251. package/dist/esm/ptc-value-led-content.entry.js +1 -1
  252. package/dist/esm/ptc-value-led-intro.entry.js +1 -1
  253. package/dist/esm/ptc-value-led-layout.entry.js +1 -1
  254. package/dist/esm/ptc-value-led-speed-bump.entry.js +2 -2
  255. package/dist/esm/ptc-value-prop-card.entry.js +1 -1
  256. package/dist/esm/ptc-video-embed.entry.js +1 -1
  257. package/dist/esm/ptc-white-paper.entry.js +2 -2
  258. package/dist/esm/ptcw-design.js +3 -3
  259. package/dist/esm/sequential-bundle-example.entry.js +1 -1
  260. package/dist/esm/sequential-bundle.entry.js +1 -1
  261. package/dist/esm/tab-content.entry.js +1 -1
  262. package/dist/esm/tab-header.entry.js +1 -1
  263. package/dist/esm/{utils-b7c6422e.js → utils-63eab4bd.js} +9 -1
  264. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  265. package/dist/ptcw-design/{p-02f0460b.entry.js → p-03a917f8.entry.js} +1 -1
  266. package/dist/ptcw-design/{p-74a845fd.entry.js → p-04aae3f5.entry.js} +1 -1
  267. package/dist/ptcw-design/{p-c9a73ad1.entry.js → p-04f0b1ba.entry.js} +1 -1
  268. package/dist/ptcw-design/{p-ef0079b0.entry.js → p-071a6109.entry.js} +1 -1
  269. package/dist/ptcw-design/{p-7b75091d.entry.js → p-081e969d.entry.js} +1 -1
  270. package/dist/ptcw-design/p-0a214a22.entry.js +1 -0
  271. package/dist/ptcw-design/{p-e8b51e7d.entry.js → p-0a9ee6c2.entry.js} +1 -1
  272. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  273. package/dist/ptcw-design/p-0d806031.entry.js +1 -0
  274. package/dist/ptcw-design/{p-b3b63f67.entry.js → p-0e5932f0.entry.js} +1 -1
  275. package/dist/ptcw-design/{p-d5fbe774.entry.js → p-0ee01112.entry.js} +1 -1
  276. package/dist/ptcw-design/p-1070f8a3.entry.js +1 -0
  277. package/dist/ptcw-design/{p-f64fadad.entry.js → p-139a02e6.entry.js} +1 -1
  278. package/dist/ptcw-design/{p-d955c44f.entry.js → p-158f6d50.entry.js} +1 -1
  279. package/dist/ptcw-design/p-17f6e145.entry.js +1 -0
  280. package/dist/ptcw-design/{p-d113403b.entry.js → p-1a6759a4.entry.js} +1 -1
  281. package/dist/ptcw-design/p-1d068cc2.entry.js +68 -0
  282. package/dist/ptcw-design/{p-2fd01953.entry.js → p-21fa5abe.entry.js} +1 -1
  283. package/dist/ptcw-design/{p-a22d7ae8.entry.js → p-257a68df.entry.js} +1 -1
  284. package/dist/ptcw-design/p-257deac0.entry.js +1 -0
  285. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  286. package/dist/ptcw-design/{p-d9ec506c.entry.js → p-260ecfef.entry.js} +1 -1
  287. package/dist/ptcw-design/{p-132f71c3.entry.js → p-2657df50.entry.js} +1 -1
  288. package/dist/ptcw-design/{p-d574d14a.entry.js → p-2749c178.entry.js} +1 -1
  289. package/dist/ptcw-design/{p-14c77b5e.entry.js → p-27e47c25.entry.js} +1 -1
  290. package/dist/ptcw-design/{p-78252282.entry.js → p-282b7d4e.entry.js} +1 -1
  291. package/dist/ptcw-design/{p-f7ff8ee1.entry.js → p-28be539b.entry.js} +1 -1
  292. package/dist/ptcw-design/{p-9350450b.entry.js → p-2a70a438.entry.js} +1 -1
  293. package/dist/ptcw-design/p-2ac5ed9c.entry.js +1 -0
  294. package/dist/ptcw-design/{p-54891548.entry.js → p-2c2f895a.entry.js} +1 -1
  295. package/dist/ptcw-design/p-34c50b3e.entry.js +1 -0
  296. package/dist/ptcw-design/{p-794eebdb.entry.js → p-3738a01f.entry.js} +1 -1
  297. package/dist/ptcw-design/{p-a2710bbf.entry.js → p-3872fce7.entry.js} +1 -1
  298. package/dist/ptcw-design/{p-c05e326f.entry.js → p-38a56ed6.entry.js} +1 -1
  299. package/dist/ptcw-design/{p-7edef9ed.entry.js → p-3c3a7b54.entry.js} +1 -1
  300. package/dist/ptcw-design/{p-9dde477c.entry.js → p-3ee2a531.entry.js} +1 -1
  301. package/dist/ptcw-design/p-40160817.entry.js +1 -0
  302. package/dist/ptcw-design/{p-986be938.entry.js → p-40b8c884.entry.js} +1 -1
  303. package/dist/ptcw-design/{p-1d48bad3.entry.js → p-464d8e22.entry.js} +1 -1
  304. package/dist/ptcw-design/{p-1e9f25fc.entry.js → p-46f67bec.entry.js} +1 -1
  305. package/dist/ptcw-design/{p-88379d69.entry.js → p-48815ee0.entry.js} +1 -1
  306. package/dist/ptcw-design/{p-0596f764.entry.js → p-48c33817.entry.js} +1 -1
  307. package/dist/ptcw-design/{p-4f959e8f.entry.js → p-49e54079.entry.js} +1 -1
  308. package/dist/ptcw-design/{p-7e19be10.entry.js → p-4b192f5e.entry.js} +1 -1
  309. package/dist/ptcw-design/p-4cee12b8.entry.js +1 -0
  310. package/dist/ptcw-design/p-4ee98a3e.entry.js +1 -0
  311. package/dist/ptcw-design/{p-f77c7c78.entry.js → p-4f93c631.entry.js} +1 -1
  312. package/dist/ptcw-design/p-50d68602.entry.js +1 -0
  313. package/dist/ptcw-design/{p-5588653b.entry.js → p-56a2a9dc.entry.js} +1 -1
  314. package/dist/ptcw-design/{p-9db0897a.entry.js → p-577dad08.entry.js} +1 -1
  315. package/dist/ptcw-design/{p-3c72e82d.entry.js → p-58e91cb8.entry.js} +1 -1
  316. package/dist/ptcw-design/{p-cab0274c.entry.js → p-5946d7c9.entry.js} +1 -1
  317. package/dist/ptcw-design/{p-807ad5c4.entry.js → p-5980d65d.entry.js} +1 -1
  318. package/dist/ptcw-design/p-5d885144.entry.js +1 -0
  319. package/dist/ptcw-design/{p-9d32f1bc.entry.js → p-5db7f70b.entry.js} +1 -1
  320. package/dist/ptcw-design/p-5ef23b5c.entry.js +1 -0
  321. package/dist/ptcw-design/{p-5fb671ee.entry.js → p-61d28206.entry.js} +1 -1
  322. package/dist/ptcw-design/p-627103d8.entry.js +1 -0
  323. package/dist/ptcw-design/{p-ea8e0b2e.entry.js → p-6a3caf2b.entry.js} +1 -1
  324. package/dist/ptcw-design/{p-1ec32cbc.entry.js → p-6b32020a.entry.js} +1 -1
  325. package/dist/ptcw-design/p-6c2b4fb8.entry.js +1 -0
  326. package/dist/ptcw-design/{p-d2ed7e48.entry.js → p-6f5fecae.entry.js} +1 -1
  327. package/dist/ptcw-design/{p-0b182300.entry.js → p-71360e29.entry.js} +1 -1
  328. package/dist/ptcw-design/{p-5c7faf2d.entry.js → p-72df6678.entry.js} +1 -1
  329. package/dist/ptcw-design/{p-3e13b735.entry.js → p-76d98c5a.entry.js} +1 -1
  330. package/dist/ptcw-design/p-7793babb.entry.js +1 -0
  331. package/dist/ptcw-design/p-77b1221e.js +1 -0
  332. package/dist/ptcw-design/{p-9fa81b74.entry.js → p-77cad16c.entry.js} +1 -1
  333. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  334. package/dist/ptcw-design/{p-ecfc8211.entry.js → p-7a1db471.entry.js} +1 -1
  335. package/dist/ptcw-design/{p-94c59fac.entry.js → p-7b71abaf.entry.js} +1 -1
  336. package/dist/ptcw-design/{p-7fada7ae.entry.js → p-7cc9255e.entry.js} +1 -1
  337. package/dist/ptcw-design/{p-779c3f21.entry.js → p-8038bf31.entry.js} +1 -1
  338. package/dist/ptcw-design/{p-a974f98f.entry.js → p-8191928d.entry.js} +1 -1
  339. package/dist/ptcw-design/{p-affe4655.entry.js → p-8193a2ae.entry.js} +1 -1
  340. package/dist/ptcw-design/{p-5db96118.entry.js → p-821f0ff9.entry.js} +1 -1
  341. package/dist/ptcw-design/{p-3c52fabe.entry.js → p-8533988f.entry.js} +1 -1
  342. package/dist/ptcw-design/{p-b5d0e4a2.entry.js → p-85c29073.entry.js} +1 -1
  343. package/dist/ptcw-design/{p-1ab6201b.entry.js → p-85f32bf5.entry.js} +1 -1
  344. package/dist/ptcw-design/{p-3b6c2a79.entry.js → p-867a808f.entry.js} +1 -1
  345. package/dist/ptcw-design/{p-e75dff95.entry.js → p-89177041.entry.js} +1 -1
  346. package/dist/ptcw-design/{p-bf2f9183.entry.js → p-89ba3dfd.entry.js} +1 -1
  347. package/dist/ptcw-design/{p-212d0145.entry.js → p-8c49d736.entry.js} +1 -1
  348. package/dist/ptcw-design/p-8c692bd6.entry.js +1 -0
  349. package/dist/ptcw-design/p-90c4f08b.entry.js +1 -0
  350. package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
  351. package/dist/ptcw-design/{p-80c56c81.entry.js → p-931650bb.entry.js} +1 -1
  352. package/dist/ptcw-design/p-95187918.entry.js +1 -0
  353. package/dist/ptcw-design/{p-c5886b7b.entry.js → p-97b9f41b.entry.js} +1 -1
  354. package/dist/ptcw-design/p-97eb1025.entry.js +1 -0
  355. package/dist/ptcw-design/{p-139ca5d2.entry.js → p-99b45d23.entry.js} +1 -1
  356. package/dist/ptcw-design/{p-1acd3617.entry.js → p-99daf693.entry.js} +1 -1
  357. package/dist/ptcw-design/{p-761f71c4.entry.js → p-99ee8a0e.entry.js} +1 -1
  358. package/dist/ptcw-design/{p-8eb36507.entry.js → p-9a335b5b.entry.js} +1 -1
  359. package/dist/ptcw-design/p-9a6bd91f.entry.js +1 -0
  360. package/dist/ptcw-design/{p-0abb6e77.entry.js → p-9ac99185.entry.js} +1 -1
  361. package/dist/ptcw-design/{p-298d02ab.entry.js → p-9b0df204.entry.js} +1 -1
  362. package/dist/ptcw-design/{p-290012e3.entry.js → p-9b26ea67.entry.js} +1 -1
  363. package/dist/ptcw-design/p-9d3a7f36.entry.js +1 -0
  364. package/dist/ptcw-design/{p-6d628113.entry.js → p-9de963f8.entry.js} +1 -1
  365. package/dist/ptcw-design/{p-0a558a22.entry.js → p-9e2fd13c.entry.js} +1 -1
  366. package/dist/ptcw-design/p-9e9ae28c.entry.js +1 -0
  367. package/dist/ptcw-design/{p-dadbab48.entry.js → p-a0bf3dd2.entry.js} +1 -1
  368. package/dist/ptcw-design/{p-ac78409e.entry.js → p-a25578e9.entry.js} +1 -1
  369. package/dist/ptcw-design/{p-e2e33ddb.entry.js → p-a37c5209.entry.js} +1 -1
  370. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  371. package/dist/ptcw-design/p-a4f65d28.entry.js +1 -0
  372. package/dist/ptcw-design/{p-dabb1b70.entry.js → p-a54c6da5.entry.js} +1 -1
  373. package/dist/ptcw-design/{p-be00fb74.entry.js → p-a7cb3851.entry.js} +1 -1
  374. package/dist/ptcw-design/{p-c5417010.entry.js → p-aac082cf.entry.js} +1 -1
  375. package/dist/ptcw-design/{p-944c5be8.js → p-ac75c7ad.js} +1 -1
  376. package/dist/ptcw-design/{p-b293a0b1.entry.js → p-aea09a70.entry.js} +1 -1
  377. package/dist/ptcw-design/p-b3bbd17d.entry.js +1 -0
  378. package/dist/ptcw-design/p-b50f71dd.entry.js +1 -0
  379. package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
  380. package/dist/ptcw-design/p-ba8c58a7.entry.js +1 -0
  381. package/dist/ptcw-design/{p-1d00a43a.entry.js → p-bb28bbad.entry.js} +1 -1
  382. package/dist/ptcw-design/{p-0151c2ee.entry.js → p-bb902570.entry.js} +1 -1
  383. package/dist/ptcw-design/{p-031ee788.entry.js → p-bbc706df.entry.js} +1 -1
  384. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  385. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  386. package/dist/ptcw-design/{p-208ec7f3.entry.js → p-bf8fbba7.entry.js} +1 -1
  387. package/dist/ptcw-design/{p-9a28ded2.entry.js → p-bfacfe67.entry.js} +1 -1
  388. package/dist/ptcw-design/p-c01ea76f.entry.js +1 -0
  389. package/dist/ptcw-design/{p-13131b4d.entry.js → p-c0bb1ad0.entry.js} +1 -1
  390. package/dist/ptcw-design/{p-dd38bf84.entry.js → p-c5f42895.entry.js} +1 -1
  391. package/dist/ptcw-design/{p-61a5012d.entry.js → p-c631608f.entry.js} +1 -1
  392. package/dist/ptcw-design/{p-e87a4ff8.entry.js → p-c68d31c6.entry.js} +1 -1
  393. package/dist/ptcw-design/{p-43756439.entry.js → p-c6a0dd99.entry.js} +1 -1
  394. package/dist/ptcw-design/{p-89ba79da.entry.js → p-cbee4653.entry.js} +1 -1
  395. package/dist/ptcw-design/{p-aaf8fb04.entry.js → p-d20cf3c5.entry.js} +1 -1
  396. package/dist/ptcw-design/{p-ace3e87f.entry.js → p-d2825140.entry.js} +1 -1
  397. package/dist/ptcw-design/p-d2cc0297.entry.js +1 -0
  398. package/dist/ptcw-design/p-d2e26642.entry.js +1 -0
  399. package/dist/ptcw-design/p-d3229458.entry.js +1 -0
  400. package/dist/ptcw-design/{p-e1242dd4.entry.js → p-d7275289.entry.js} +1 -1
  401. package/dist/ptcw-design/p-d756db27.entry.js +1 -0
  402. package/dist/ptcw-design/{p-f05be87f.entry.js → p-da02913d.entry.js} +1 -1
  403. package/dist/ptcw-design/{p-bf439f9b.entry.js → p-dbbe35bf.entry.js} +1 -1
  404. package/dist/ptcw-design/{p-afbe8e2c.entry.js → p-dc85c302.entry.js} +1 -1
  405. package/dist/ptcw-design/{p-37899461.entry.js → p-dc8c0a06.entry.js} +1 -1
  406. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  407. package/dist/ptcw-design/{p-d1f57070.entry.js → p-e3bf092e.entry.js} +1 -1
  408. package/dist/ptcw-design/{p-4464123f.entry.js → p-e577ad62.entry.js} +1 -1
  409. package/dist/ptcw-design/p-e89ce54f.entry.js +1 -0
  410. package/dist/ptcw-design/p-e90fbbad.entry.js +1 -0
  411. package/dist/ptcw-design/{p-7267b11d.entry.js → p-ea7369e9.entry.js} +1 -1
  412. package/dist/ptcw-design/p-ecd86dfe.entry.js +1 -0
  413. package/dist/ptcw-design/{p-4b23b4c3.entry.js → p-ee534211.entry.js} +1 -1
  414. package/dist/ptcw-design/{p-ade21638.entry.js → p-eec2f3da.entry.js} +1 -1
  415. package/dist/ptcw-design/{p-f2006b03.entry.js → p-f5c97ab2.entry.js} +1 -1
  416. package/dist/ptcw-design/{p-3b967df1.entry.js → p-f61a3476.entry.js} +1 -1
  417. package/dist/ptcw-design/{p-5da98805.entry.js → p-f731fc96.entry.js} +1 -1
  418. package/dist/ptcw-design/p-f8512dc9.entry.js +1 -0
  419. package/dist/ptcw-design/{p-0ed4609e.entry.js → p-fb8584e4.entry.js} +1 -1
  420. package/dist/ptcw-design/p-fd394e84.entry.js +1 -0
  421. package/dist/ptcw-design/p-fd7e5935.entry.js +1 -0
  422. package/dist/ptcw-design/{p-e6ebc832.entry.js → p-fdee2cdc.entry.js} +1 -1
  423. package/dist/ptcw-design/{p-4335d7f3.entry.js → p-fe907670.entry.js} +1 -1
  424. package/dist/ptcw-design/{p-5b0bc600.entry.js → p-fec1acdf.entry.js} +1 -1
  425. package/dist/ptcw-design/{p-c415ab42.entry.js → p-ffb0ff97.entry.js} +1 -1
  426. package/dist/ptcw-design/ptcw-design.css +2 -2
  427. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  428. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  429. package/dist/types/components/ptc-button/ptc-button.d.ts +1 -0
  430. package/dist/types/components/ptc-icon-card/ptc-icon-card.d.ts +6 -0
  431. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -0
  432. package/dist/types/components/ptc-modal/ptc-modal.d.ts +1 -1
  433. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  434. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  435. package/dist/types/components/ptc-social-icons-footer/ptc-social-icons-footer.d.ts +5 -0
  436. package/dist/types/components.d.ts +35 -4
  437. package/dist/types/utils/utils.d.ts +1 -0
  438. package/package.json +1 -1
  439. package/readme.md +1 -1
  440. package/dist/cjs/component-5b5b6a98.js +0 -1819
  441. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -1238
  442. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -46
  443. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -670
  444. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  445. package/dist/esm/component-341e4eaa.js +0 -1802
  446. package/dist/esm/event-jumbotron-example_15.entry.js +0 -1220
  447. package/dist/esm/ptc-card-bottom.entry.js +0 -42
  448. package/dist/esm/ptc-multi-select_2.entry.js +0 -665
  449. package/dist/esm/validation-messages-adbb6518.js +0 -124
  450. package/dist/ptcw-design/p-03e0fa1d.entry.js +0 -1
  451. package/dist/ptcw-design/p-09431d71.entry.js +0 -1
  452. package/dist/ptcw-design/p-11eb4dd1.entry.js +0 -1
  453. package/dist/ptcw-design/p-18a5a338.js +0 -1
  454. package/dist/ptcw-design/p-212cdacd.entry.js +0 -1
  455. package/dist/ptcw-design/p-2aa419ae.entry.js +0 -1
  456. package/dist/ptcw-design/p-2ead689e.entry.js +0 -1
  457. package/dist/ptcw-design/p-36b5cea1.entry.js +0 -1
  458. package/dist/ptcw-design/p-36c42aae.entry.js +0 -1
  459. package/dist/ptcw-design/p-3717a6e1.entry.js +0 -1
  460. package/dist/ptcw-design/p-3e06f959.entry.js +0 -1
  461. package/dist/ptcw-design/p-520542e2.entry.js +0 -1
  462. package/dist/ptcw-design/p-53d88f2b.entry.js +0 -1
  463. package/dist/ptcw-design/p-6b2fd2f1.entry.js +0 -1
  464. package/dist/ptcw-design/p-6b4c37a1.entry.js +0 -1
  465. package/dist/ptcw-design/p-6f9b7842.entry.js +0 -1
  466. package/dist/ptcw-design/p-72681e91.entry.js +0 -1
  467. package/dist/ptcw-design/p-7c416916.entry.js +0 -1
  468. package/dist/ptcw-design/p-7e8c2655.entry.js +0 -1
  469. package/dist/ptcw-design/p-841b807d.js +0 -1
  470. package/dist/ptcw-design/p-899a1931.entry.js +0 -1
  471. package/dist/ptcw-design/p-973b06d1.entry.js +0 -1
  472. package/dist/ptcw-design/p-99e41dc4.entry.js +0 -1
  473. package/dist/ptcw-design/p-9ae901e2.entry.js +0 -1
  474. package/dist/ptcw-design/p-9b1511b2.entry.js +0 -68
  475. package/dist/ptcw-design/p-a14ef9c4.entry.js +0 -1
  476. package/dist/ptcw-design/p-a2e0ebdf.entry.js +0 -1
  477. package/dist/ptcw-design/p-ac32267c.entry.js +0 -1
  478. package/dist/ptcw-design/p-ac860994.entry.js +0 -1
  479. package/dist/ptcw-design/p-ad4f4f33.entry.js +0 -1
  480. package/dist/ptcw-design/p-be533f0d.js +0 -134
  481. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  482. package/dist/ptcw-design/p-cc62e907.entry.js +0 -1
  483. package/dist/ptcw-design/p-ce6349f1.entry.js +0 -1
  484. package/dist/ptcw-design/p-dd978236.entry.js +0 -1
  485. package/dist/ptcw-design/p-e4c56952.entry.js +0 -1
  486. package/dist/ptcw-design/p-f31ae1ba.entry.js +0 -1
  487. package/dist/ptcw-design/p-f5dd551a.entry.js +0 -1
  488. package/dist/ptcw-design/p-f6c3ae79.entry.js +0 -1
@@ -1 +1 @@
1
- import{r as t,h as e,H as l,a as i,F as a}from"./p-944c5be8.js";import{b as s,d as r}from"./p-841b807d.js";const o=class{constructor(e){t(this,e),this.verticalScrollContentClipperHeightOptions={withSubNav:{desktop:104,mobile:80},withoutSubNav:{desktop:40,mobile:24}},this.handleVerticalScroll=()=>{let t=this.el.shadowRoot.querySelector("#vertical-scroll-content-clipper"),e=this.el.shadowRoot.querySelector("#table-container"),l=this.el.shadowRoot.querySelector("#table-body"),i=this.el.shadowRoot.querySelector("#table-header-placeholder"),a=this.el.shadowRoot.querySelector("#table-header");const s=window.scrollY||document.documentElement.scrollTop;s<this.lastScrollTop?(i.getBoundingClientRect().top>=this.stickyTopAt&&(this.headerType="normal",a.style.top="0px"),"sticky"===this.headerType&&e.getBoundingClientRect().bottom>a.getBoundingClientRect().bottom&&a.getBoundingClientRect().top<this.stickyTopAt&&(a.style.top=`${Math.min(e.getBoundingClientRect().bottom-a.clientHeight,this.stickyTopAt)}px`,t.style.top=a.getBoundingClientRect().top-t.clientHeight+"px")):s>this.lastScrollTop&&(i.getBoundingClientRect().top<this.stickyTopAt&&(this.headerType="sticky",a.style.top=`${this.stickyTopAt}px`,a.style.width=`${l.getBoundingClientRect().width}px`),"sticky"===this.headerType&&e.getBoundingClientRect().bottom<=a.getBoundingClientRect().bottom&&(a.style.top=e.getBoundingClientRect().bottom-a.clientHeight+"px",t.style.top=a.getBoundingClientRect().top-t.clientHeight+"px")),this.getHashKey()||this.refreshHorizontalPosition(),this.lastScrollTop=s<=0?0:s},this.handleHorizontalScroll=()=>{this.refreshHorizontalPosition(),this.handleScrollButtonsVisibility()},this.handleScrollButtonsVisibility=()=>{let t=this.el.shadowRoot.querySelector("#table-body"),e=this.el.shadowRoot.querySelector("#previous-scroll-button"),l=this.el.shadowRoot.querySelector("#next-scroll-button"),i=this.el.shadowRoot.querySelector("#horizontal-scroll-shadow");0===t.scrollLeft?(e.style.visibility="hidden",i.style.visibility="hidden"):(e.style.visibility="visible",i.style.visibility="visible"),l.style.visibility=[-1,0,1].includes(Math.trunc(t.scrollWidth-t.scrollLeft)-Math.trunc(t.getBoundingClientRect().width))?"hidden":"visible"},this.handleForwardScroll=()=>{let t=0,e=this.el.shadowRoot.querySelector("#table-body"),l=setInterval((()=>{t+=this.scrollAmount,(t==this.scrollLimit||[-1,0,1].includes(Math.trunc(e.scrollWidth-e.scrollLeft)-Math.trunc(e.getBoundingClientRect().width)))&&clearInterval(l),e.scrollLeft+=t}),this.scrollTimeInterval)},this.handleBackwardScroll=()=>{let t=0,e=this.el.shadowRoot.querySelector("#pricing-table"),l=this.el.shadowRoot.querySelector("#table-body"),i=setInterval((()=>{t+=this.scrollAmount,(t==this.scrollLimit||e.getBoundingClientRect().left>=l.getBoundingClientRect().right)&&clearInterval(i),l.scrollLeft-=t}),this.scrollTimeInterval)},this.setFillerCellWidth=t=>{this.el.style.setProperty("--filler-cell-width",`${t}px`)},this.expandTableCells=()=>{let t=this.el.shadowRoot.querySelector("#pricing-table"),e=this.el.shadowRoot.querySelector(".desktop-header-first-cell"),l=(t.getBoundingClientRect().width-e.getBoundingClientRect().width)/this.dataCols;this.isDesktopView?(this.el.style.setProperty("--cell-width-xxs",`${this.cellWidthXXS}px`),this.el.style.setProperty("--cell-width-md",l-this.cellLeftRightPadding+"px")):(this.el.style.setProperty("--cell-width-xxs",l-this.cellLeftRightPadding+"px"),this.el.style.setProperty("--cell-width-md",`${this.cellWidthMD}px`))},this.handleFillEmptySpace=()=>{let t=this.el.shadowRoot.querySelector("#pricing-table");this.el.shadowRoot.querySelector("#table-header-placeholder").getBoundingClientRect().right<t.getBoundingClientRect().right&&(this.hasEmptySpace=!0,this.expandTableCells())},this.resetWidthVariables=()=>{this.el.style.setProperty("--cell-width-xxs",`${this.cellWidthXXS}px`),this.el.style.setProperty("--cell-width-md",`${this.cellWidthMD}px`)},this.handleTableReset=()=>{let t=this.el.shadowRoot.querySelector("#vertical-scroll-content-clipper"),e=this.el.shadowRoot.querySelector("#table-header"),l=this.el.shadowRoot.querySelector("#table-body"),i=this.el.shadowRoot.querySelector("#next-scroll-button"),a=this.el.shadowRoot.querySelector(".desktop-header-first-cell"),s=this.el.shadowRoot.querySelector("#horizontal-scroll-shadow");this.isDesktopView=window.innerWidth>=992,this.resetWidthVariables(),this.stickyTopAt=this.pageWithSubnav?this.isDesktopView?this.verticalScrollContentClipperHeightOptions.withSubNav.desktop:this.verticalScrollContentClipperHeightOptions.withSubNav.mobile:this.isDesktopView?this.verticalScrollContentClipperHeightOptions.withoutSubNav.desktop:this.verticalScrollContentClipperHeightOptions.withoutSubNav.mobile,this.el.style.setProperty("--sticky-stop-at",`${this.stickyTopAt}px`);const r=window.getComputedStyle(document.body,null).getPropertyValue("background-color");t.style.backgroundColor="rgba(0, 0, 0, 0)"===r?"white":r,t.style.width=`${l.getBoundingClientRect().width+20}px`,t.style.transform="translateX(-10px)",e.style.width=`${l.getBoundingClientRect().width}px`,e.scrollLeft=l.scrollLeft,i.style.left=`${l.getBoundingClientRect().width}px`,s.style.left=`${a.getBoundingClientRect().width}px`,this.handleScrollButtonsVisibility(),this.handleFillEmptySpace()},this.handleAutoScrollOnFocus=(t,e="")=>{var l,i;let a,s,r=t.target;a=e?null===(i=null===(l=this.el)||void 0===l?void 0:l.shadowRoot)||void 0===i?void 0:i.querySelector(`div.table-cell[data-cell-slot="${e}"]`):r.parentElement,s=a?a.getBoundingClientRect():r.getBoundingClientRect();let o=this.el.shadowRoot.querySelector("#table-body"),h=this.el.shadowRoot.querySelector("#previous-scroll-button").getBoundingClientRect(),n=this.el.shadowRoot.querySelector("#next-scroll-button").getBoundingClientRect(),c=this.el.shadowRoot.querySelector("#table-header");c&&c.classList.contains("sticky")&&a.scrollIntoView({block:"center",inline:"nearest"}),s.left+.2*s.width<h.left&&(o.scrollLeft-=h.left-s.left),s.left+.8*s.width>n.right&&(o.scrollLeft+=s.right-n.right)},this.handleScrollButtonClick=(t,e)=>{"Enter"===t.key&&(-1===e?this.handleBackwardScroll():1===e&&this.handleForwardScroll())},this.preProcessTableDescription=()=>{let t=this.el.querySelector('[slot="table-description"]');t&&(this.tableDescription=t)},this.preProcessDesktopHeaderFirstCell=()=>{let t=this.el.querySelector('[slot="desktop-header-first-cell"]');this.el.insertAdjacentHTML("afterbegin",`<span slot="placeholder-desktop-header-first-cell">${t.innerHTML}</span>`)},this.preProcessColumnHeaders=()=>{let t=this.el.querySelectorAll('[slot^="column-header"]');for(let e=0;e<this.dataCols;e++){let l=t[e].getAttribute("slot");this.el.insertAdjacentHTML("afterbegin",`<span slot="placeholder-${l}">${t[e].innerHTML}</span>`)}},this.preProcessHeaderLinks=()=>{let t;for(let e=0;e<this.dataCols;e++)if(t=this.el.querySelector(`[slot^="header-link-${e+1}"]`),t){let e=t.getAttribute("href"),l=t.innerHTML,i=t.getAttribute("target"),a=t.getAttribute("title");this.columnHeaderLinks.push({linkHref:e,linkText:l,linkTarget:i,linkTitle:a}),t.remove()}else this.columnHeaderLinks.push(null)},this.preProcessRowHeaders=()=>{let t;for(let e=0;e<this.dataRows;e++){t=this.el.querySelector(`[slot^="row-header-${e+1}"]`);let l=t.querySelectorAll(".table-row-header-p");for(let t=0;t<l.length;t++){let e=document.createElement("h4");e.setAttribute("class","row-header-h4"),e.innerHTML=l[t].innerHTML,l[t].replaceWith(e)}let i=t.getAttribute("slot"),a=t.innerHTML;this.el.insertAdjacentHTML("afterbegin",`<div slot="desktop-${i}">${a}</div><div slot="mobile-${i}">${a}</div>`),t.remove()}},this.preProcessCtaButtons=()=>{let t;this.showCtaButtonsRow=!1;for(let e=0;e<this.dataCols;e++)if(t=this.el.querySelector(`[slot^="cta-button-${e+1}"]`),t){let e=t.getAttribute("href"),l=t.innerHTML,i=t.getAttribute("target"),a=t.getAttribute("title");this.ctaButtons.push({linkHref:e,linkText:l,linkTarget:i,linkTitle:a}),t.remove(),this.showCtaButtonsRow=!0}else this.ctaButtons.push(null)},this.preProcessDisclaimers=()=>{let t=this.el.querySelectorAll('[slot^="disclaimer"]');for(let e=0;e<this.disclaimerCount;e++)this.disclaimers.push(t[e].innerHTML)},this.pageWithSubnav=!1,this.tableTitle=void 0,this.tableSubTitle="",this.dataRows=void 0,this.dataCols=void 0,this.disclaimerCount=0,this.moreText="More",this.LessText="Less",this.sectionId="",this.isDesktopView=void 0,this.hashKey=void 0,this.debouncedHashEnable=void 0,this.cellWidthXXS=180,this.cellWidthMD=225,this.cellLeftRightPadding=48,this.headerType="normal",this.lastScrollTop=void 0,this.scrollTimeInterval=25,this.scrollAmount=5,this.scrollLimit=50,this.stickyTopAt=void 0,this.columnHeaderLinks=[],this.hasEmptySpace=!1,this.showFillerCells=!1,this.showCtaButtonsRow=void 0,this.ctaButtons=[],this.disclaimers=[],this.tableDescription=void 0}refreshHorizontalPosition(){let t=0,e=this.el.shadowRoot.querySelector("#table-header"),l=this.el.shadowRoot.querySelector("#table-body"),i=()=>{e.scrollLeft=l.scrollLeft,t++,t<5&&window.requestAnimationFrame(i)};window.requestAnimationFrame(i)}getHashKey(){let t=window;return this.hashKey||(this.hashKey=s()),t.ppptHashes||(t.ppptHashes={}),1==t.ppptHashes[this.hashKey]}setHashKey(t){let e=window;this.hashKey||(this.hashKey=s()),e.ppptHashes||(e.ppptHashes={}),e.ppptHashes[this.hashKey]=t}componentWillLoad(){this.setHashKey(!1),this.preProcessTableDescription(),this.preProcessDesktopHeaderFirstCell(),this.preProcessColumnHeaders(),this.preProcessHeaderLinks(),this.preProcessRowHeaders(),this.preProcessCtaButtons(),this.preProcessDisclaimers()}componentDidLoad(){let t=this;this.handleTableReset(),this.debouncedHashEnable=r((()=>{t.setHashKey(!1)}),2e3,this),window.addEventListener("scroll",(()=>this.handleVerticalScroll())),window.addEventListener("resize",(()=>this.handleTableReset())),window.addEventListener("popstate",(()=>{t.setHashKey(!0),this.debouncedHashEnable()})),setTimeout((()=>{this.handleTableReset()}),3100)}render(){return e(l,null,e("div",{id:"pricing-table"},e((()=>this.tableTitle&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large",upperline:"no-upperline","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8"},this.tableTitle)),this.tableSubTitle?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"x-small"}),e("ptc-spacer",{breakpoint:"x-small",size:"small"})):this.tableDescription?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"})):null)),null),e((()=>this.tableSubTitle&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large",upperline:"no-upperline","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7"},this.tableSubTitle)),e("ptc-spacer",{breakpoint:"small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"large"}))),null),e((()=>this.tableDescription&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-para",{"font-size":"small","font-weight":"w-4","para-align":"center","para-line-h":"line-height-p","para-margin":"margin-flush"},this.tableDescription.innerText.length<=500?e("slot",{name:"table-description"}):e("ptc-readmore",{"is-content-slotted":!0,"more-text":this.moreText,"less-text":this.LessText},e("slot",{name:"table-description"})))))),null),e("ptc-spacer",{breakpoint:"small",size:"xx-large"}),e("ptc-spacer",{breakpoint:"small",size:"xx-small"}),e("ptc-spacer",{breakpoint:"x-small",size:"xxx-large"}),e("ptc-spacer",{breakpoint:"x-small",size:"xx-small"}),e("div",{id:"vertical-scroll-content-clipper",class:this.headerType}),e("div",{id:"table-container"},e("div",{id:"horizontal-scroll-shadow"}),e("div",{id:"table-body",onScroll:()=>this.handleHorizontalScroll()},e((()=>e("div",{id:"table-header",class:this.headerType,onScroll:()=>this.handleHorizontalScroll()},e("div",{class:"desktop-header-first-cell"},this.isDesktopView?e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:"desktop-header-first-cell"})):null,e("div",{class:"scroll-button mf-listen",id:"previous-scroll-button"},e("div",{class:"mf-listen",onClick:()=>this.handleBackwardScroll(),onKeyDown:t=>this.handleScrollButtonClick(t,-1),tabIndex:0,id:`previous-scroll-button-${this.sectionId}`},e("icon-asset",{type:"solid",size:"medium",name:"chevron-left",color:"primary-gray"}),e("ptc-para",{"font-size":"small","font-weight":"w-6","para-align":"justify","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},this.moreText))),e("div",{class:"scroll-button mf-listen",id:"next-scroll-button"},e("div",{class:"mf-listen",onClick:()=>this.handleForwardScroll(),onKeyDown:t=>this.handleScrollButtonClick(t,1),tabIndex:0,id:`next-scroll-button-${this.sectionId}`},e("ptc-para",{"font-size":"small","font-weight":"w-6","para-align":"justify","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},this.moreText),e("icon-asset",{type:"solid",size:"medium",name:"chevron-right",color:"primary-gray"})))),[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"center","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush","para-z-index":"z-1"},e("slot",{name:`column-header-${t+1}`})),this.columnHeaderLinks.length===this.dataCols&&this.columnHeaderLinks[t]?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-link",{"dark-focus-state":!0,"font-size":"medium","font-weight":"w-extrabold",href:`${this.columnHeaderLinks[t].linkHref}`,"link-area":"undefined",target:`${this.columnHeaderLinks[t].linkTarget}`,theme:"d-green-underline",styles:"a.ptc-link {line-height: var(--ptc-line-height-p);}","link-title":this.columnHeaderLinks[t].linkTitle,onFocus:t=>this.handleAutoScrollOnFocus(t),"tracker-id":`column-header-${t+1}-link-${this.sectionId}`},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.columnHeaderLinks[t].linkText,position:"top"}):this.columnHeaderLinks[t].linkText)):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")}))),null),e((()=>e("div",{id:"table-header-placeholder",class:this.headerType},e("div",{class:"desktop-header-first-cell"},this.isDesktopView?e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:"placeholder-desktop-header-first-cell"})):null),[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"center","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush","para-z-index":"z-1"},e("slot",{name:`placeholder-column-header-${t+1}`})),this.columnHeaderLinks.length===this.dataCols&&this.columnHeaderLinks[t]?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-link",{"font-size":"medium","font-weight":"w-extrabold",href:`${this.columnHeaderLinks[t].linkHref}`,"link-area":"undefined",target:`${this.columnHeaderLinks[t].linkTarget}`,theme:"d-green-underline",styles:"a.ptc-link {line-height: var(--ptc-line-height-p);}","link-title":this.columnHeaderLinks[t].linkTitle,"tab-nav":"-1"},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.columnHeaderLinks[t].linkText,position:"top"}):this.columnHeaderLinks[t].linkText)):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")}))),null),e((()=>[...Array(this.dataRows).keys()].map((t=>e(a,null,e("div",{class:"mobile-sticky-row-header"},e("slot",{name:`mobile-row-header-${t+1}`})),e("div",{class:"mf-listen table-row "+(this.isDesktopView&&t%2!=0?"desktop-alternate-row":"")},this.isDesktopView?e("div",{class:"desktop-sticky-row-header "+(this.isDesktopView&&t%2!=0?"desktop-alternate-row":"")},e("slot",{name:`desktop-row-header-${t+1}`})):null,[...Array(this.dataCols).keys()].map((l=>e("div",{class:"table-cell "+(l+1===this.dataCols?"table-last-cell":""),"data-cell-slot":`cell-r${t+1}-c${l+1}`,onFocusin:e=>this.handleAutoScrollOnFocus(e,`cell-r${t+1}-c${l+1}`)},e("slot",{name:`cell-r${t+1}-c${l+1}`})))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")})))))),null),e((()=>this.showCtaButtonsRow?e("div",{class:"table-cta-row"},this.isDesktopView?e("div",{class:"desktop-sticky-row-header"}):null,[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},this.ctaButtons[t]?e("ptc-button",{"tracker-id":`pricing-cta-${t}-${this.sectionId}`,type:"link",color:"ptc-tertiary","link-href":this.ctaButtons[t].linkHref,target:`${this.ctaButtons[t].linkTarget}`,"link-title":this.ctaButtons[t].linkTitle,onFocus:this.handleAutoScrollOnFocus},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.ctaButtons[t].linkText,position:"top"}):this.ctaButtons[t].linkText):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")})):null),null))),e((()=>this.disclaimerCount>0&&e(a,null,e("ptc-spacer",{breakpoint:"small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"large"}),this.disclaimers.map(((t,l)=>e(a,null,e("ptc-para",{"font-size":"xx-small","font-weight":"w-6","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:`disclaimer-${l+1}`})),l!=this.disclaimerCount-1?e("ptc-spacer",{size:"xx-small"}):null))))),null)))}get el(){return i(this)}};o.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}:host #pricing-table{position:relative;overflow-wrap:break-word}:host #vertical-scroll-content-clipper.normal{display:none}:host #vertical-scroll-content-clipper.sticky{display:block;z-index:20;position:fixed;top:0;width:100%;height:var(--sticky-stop-at, 50px)}:host #table-container{width:100%;overflow-x:auto;border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-small);position:relative}:host #table-body{width:100%;overflow-x:scroll;position:relative}:host .scroll-button{display:flex;align-items:center;position:absolute;z-index:15;height:100%}:host .scroll-button#previous-scroll-button div{margin-right:var(--ptc-element-spacing-02);border-radius:0px var(--ptc-element-spacing-01) var(--ptc-element-spacing-01) 0px}:host .scroll-button#previous-scroll-button div ptc-para{margin-right:var(--ptc-element-spacing-04)}:host .scroll-button#next-scroll-button{transform:translateX(-100%)}:host .scroll-button#next-scroll-button div{margin-left:var(--ptc-element-spacing-02);border-radius:var(--ptc-element-spacing-01) 0px 0px var(--ptc-element-spacing-01)}:host .scroll-button#next-scroll-button div ptc-para{margin-left:var(--ptc-element-spacing-04)}:host .scroll-button div{display:inline-block;width:fit-content;height:36px;background-color:white;color:black;box-shadow:var(--ptc-shadow-x-medium);display:flex;justify-content:center;align-items:center}:host .scroll-button div icon-asset{display:flex;justify-content:center;align-items:center;width:36px;height:100%}:host .scroll-button div ptc-para{display:none;white-space:nowrap}:host .scroll-button div:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .table-filler-cell{display:none;min-width:var(--filler-cell-width, 0px);max-width:var(--filler-cell-width, 0px);height:100%;box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-bottom:1px solid var(--color-gray-02)}:host .table-filler-cell.show{display:table-cell}:host #table-header{display:table-row;background:var(--color-gray-10);color:white;z-index:10}:host #table-header.normal{position:relative}:host #table-header.sticky{position:fixed;top:var(--sticky-stop-at, 50px);border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard);overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 16px 16px -16px grey}:host #table-header.sticky::-webkit-scrollbar{display:none}:host #table-header .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header .table-cell.table-last-cell{border-right:none}:host #table-header .table-cell ptc-link a.ptc-link{line-height:var(--ptc-line-height-p)}:host #table-header .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host #table-header-placeholder.normal{position:absolute;top:0;display:table-row;opacity:0}:host #table-header-placeholder.sticky{position:relative;display:table-row;opacity:0;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header-placeholder .table-cell.table-last-cell{border-right:none}:host #table-header-placeholder .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host .desktop-header-first-cell{display:table-cell;position:sticky;left:0;z-index:10}:host .mobile-sticky-row-header{display:block;position:sticky;left:0;background-color:var(--color-gray-01);border-bottom:1px solid var(--color-gray-02);padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}:host .table-row{display:table-row;background-color:white}:host .table-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-row .table-cell.table-last-cell{border-right:none}:host .table-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}:host .table-cta-row{display:table-row;background-color:white}:host .table-cta-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-cta-row .table-cell.table-last-cell{border-right:none}:host .table-cta-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}@media only screen and (min-width: 768px){:host .table-descriptor{max-width:768px;margin:auto}}@media only screen and (min-width: 992px){:host .scroll-button{height:100%;top:0}:host .scroll-button div ptc-para{display:none}:host .scroll-button div:hover{cursor:pointer}:host .scroll-button div:hover ptc-para{display:block}:host .scroll-button#previous-scroll-button{right:0;transform:translateX(100%)}:host #horizontal-scroll-shadow{display:block;position:absolute;top:0;left:0;height:100%;width:var(--ptc-element-spacing-06);background:linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);z-index:1}:host #table-header.sticky{box-shadow:none}:host #table-header .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header .last-column-tooltip .tooltip{right:4px}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header-placeholder .last-column-tooltip .tooltip{right:-4px}:host .desktop-sticky-row-header{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);display:table-cell;vertical-align:middle;position:sticky;left:0;background-color:white;z-index:5}:host .desktop-sticky-row-header.desktop-alternate-row{background-color:var(--color-gray-01)}:host .desktop-header-first-cell{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);display:table-cell;vertical-align:middle;position:sticky;left:0;z-index:10;background:var(--color-gray-10)}:host .table-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-row.desktop-alternate-row{background-color:var(--color-gray-01)}:host .mobile-sticky-row-header{display:none}:host .table-cta-row{display:table-row}:host .table-cta-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-cta-row .last-column-tooltip .tooltip{right:-4px}}";export{o as ptc_pricing_packaging_table}
1
+ import{r as t,h as e,H as l,g as i,F as a}from"./p-ac75c7ad.js";import{g as s,d as r}from"./p-77b1221e.js";const o=class{constructor(e){t(this,e),this.verticalScrollContentClipperHeightOptions={withSubNav:{desktop:104,mobile:80},withoutSubNav:{desktop:40,mobile:24}},this.handleVerticalScroll=()=>{let t=this.el.shadowRoot.querySelector("#vertical-scroll-content-clipper"),e=this.el.shadowRoot.querySelector("#table-container"),l=this.el.shadowRoot.querySelector("#table-body"),i=this.el.shadowRoot.querySelector("#table-header-placeholder"),a=this.el.shadowRoot.querySelector("#table-header");const s=window.scrollY||document.documentElement.scrollTop;s<this.lastScrollTop?(i.getBoundingClientRect().top>=this.stickyTopAt&&(this.headerType="normal",a.style.top="0px"),"sticky"===this.headerType&&e.getBoundingClientRect().bottom>a.getBoundingClientRect().bottom&&a.getBoundingClientRect().top<this.stickyTopAt&&(a.style.top=`${Math.min(e.getBoundingClientRect().bottom-a.clientHeight,this.stickyTopAt)}px`,t.style.top=a.getBoundingClientRect().top-t.clientHeight+"px")):s>this.lastScrollTop&&(i.getBoundingClientRect().top<this.stickyTopAt&&(this.headerType="sticky",a.style.top=`${this.stickyTopAt}px`,a.style.width=`${l.getBoundingClientRect().width}px`),"sticky"===this.headerType&&e.getBoundingClientRect().bottom<=a.getBoundingClientRect().bottom&&(a.style.top=e.getBoundingClientRect().bottom-a.clientHeight+"px",t.style.top=a.getBoundingClientRect().top-t.clientHeight+"px")),this.getHashKey()||this.refreshHorizontalPosition(),this.lastScrollTop=s<=0?0:s},this.handleHorizontalScroll=()=>{this.refreshHorizontalPosition(),this.handleScrollButtonsVisibility()},this.handleScrollButtonsVisibility=()=>{let t=this.el.shadowRoot.querySelector("#table-body"),e=this.el.shadowRoot.querySelector("#previous-scroll-button"),l=this.el.shadowRoot.querySelector("#next-scroll-button"),i=this.el.shadowRoot.querySelector("#horizontal-scroll-shadow");0===t.scrollLeft?(e.style.visibility="hidden",i.style.visibility="hidden"):(e.style.visibility="visible",i.style.visibility="visible"),l.style.visibility=[-1,0,1].includes(Math.trunc(t.scrollWidth-t.scrollLeft)-Math.trunc(t.getBoundingClientRect().width))?"hidden":"visible"},this.handleForwardScroll=()=>{let t=0,e=this.el.shadowRoot.querySelector("#table-body"),l=setInterval((()=>{t+=this.scrollAmount,(t==this.scrollLimit||[-1,0,1].includes(Math.trunc(e.scrollWidth-e.scrollLeft)-Math.trunc(e.getBoundingClientRect().width)))&&clearInterval(l),e.scrollLeft+=t}),this.scrollTimeInterval)},this.handleBackwardScroll=()=>{let t=0,e=this.el.shadowRoot.querySelector("#pricing-table"),l=this.el.shadowRoot.querySelector("#table-body"),i=setInterval((()=>{t+=this.scrollAmount,(t==this.scrollLimit||e.getBoundingClientRect().left>=l.getBoundingClientRect().right)&&clearInterval(i),l.scrollLeft-=t}),this.scrollTimeInterval)},this.setFillerCellWidth=t=>{this.el.style.setProperty("--filler-cell-width",`${t}px`)},this.expandTableCells=()=>{let t=this.el.shadowRoot.querySelector("#pricing-table"),e=this.el.shadowRoot.querySelector(".desktop-header-first-cell"),l=(t.getBoundingClientRect().width-e.getBoundingClientRect().width)/this.dataCols;this.isDesktopView?(this.el.style.setProperty("--cell-width-xxs",`${this.cellWidthXXS}px`),this.el.style.setProperty("--cell-width-md",l-this.cellLeftRightPadding+"px")):(this.el.style.setProperty("--cell-width-xxs",l-this.cellLeftRightPadding+"px"),this.el.style.setProperty("--cell-width-md",`${this.cellWidthMD}px`))},this.handleFillEmptySpace=()=>{let t=this.el.shadowRoot.querySelector("#pricing-table");this.el.shadowRoot.querySelector("#table-header-placeholder").getBoundingClientRect().right<t.getBoundingClientRect().right&&(this.hasEmptySpace=!0,this.expandTableCells())},this.resetWidthVariables=()=>{this.el.style.setProperty("--cell-width-xxs",`${this.cellWidthXXS}px`),this.el.style.setProperty("--cell-width-md",`${this.cellWidthMD}px`)},this.handleTableReset=()=>{let t=this.el.shadowRoot.querySelector("#vertical-scroll-content-clipper"),e=this.el.shadowRoot.querySelector("#table-header"),l=this.el.shadowRoot.querySelector("#table-body"),i=this.el.shadowRoot.querySelector("#next-scroll-button"),a=this.el.shadowRoot.querySelector(".desktop-header-first-cell"),s=this.el.shadowRoot.querySelector("#horizontal-scroll-shadow");this.isDesktopView=window.innerWidth>=992,this.resetWidthVariables(),this.stickyTopAt=this.pageWithSubnav?this.isDesktopView?this.verticalScrollContentClipperHeightOptions.withSubNav.desktop:this.verticalScrollContentClipperHeightOptions.withSubNav.mobile:this.isDesktopView?this.verticalScrollContentClipperHeightOptions.withoutSubNav.desktop:this.verticalScrollContentClipperHeightOptions.withoutSubNav.mobile,this.el.style.setProperty("--sticky-stop-at",`${this.stickyTopAt}px`);const r=window.getComputedStyle(document.body,null).getPropertyValue("background-color");t.style.backgroundColor="rgba(0, 0, 0, 0)"===r?"white":r,t.style.width=`${l.getBoundingClientRect().width+20}px`,t.style.transform="translateX(-10px)",e.style.width=`${l.getBoundingClientRect().width}px`,e.scrollLeft=l.scrollLeft,i.style.left=`${l.getBoundingClientRect().width}px`,s.style.left=`${a.getBoundingClientRect().width}px`,this.handleScrollButtonsVisibility(),this.handleFillEmptySpace()},this.handleAutoScrollOnFocus=(t,e="")=>{var l,i;let a,s,r=t.target;a=e?null===(i=null===(l=this.el)||void 0===l?void 0:l.shadowRoot)||void 0===i?void 0:i.querySelector(`div.table-cell[data-cell-slot="${e}"]`):r.parentElement,s=a?a.getBoundingClientRect():r.getBoundingClientRect();let o=this.el.shadowRoot.querySelector("#table-body"),h=this.el.shadowRoot.querySelector("#previous-scroll-button").getBoundingClientRect(),n=this.el.shadowRoot.querySelector("#next-scroll-button").getBoundingClientRect(),c=this.el.shadowRoot.querySelector("#table-header");c&&c.classList.contains("sticky")&&a.scrollIntoView({block:"center",inline:"nearest"}),s.left+.2*s.width<h.left&&(o.scrollLeft-=h.left-s.left),s.left+.8*s.width>n.right&&(o.scrollLeft+=s.right-n.right)},this.handleScrollButtonClick=(t,e)=>{"Enter"===t.key&&(-1===e?this.handleBackwardScroll():1===e&&this.handleForwardScroll())},this.preProcessTableDescription=()=>{let t=this.el.querySelector('[slot="table-description"]');t&&(this.tableDescription=t)},this.preProcessDesktopHeaderFirstCell=()=>{let t=this.el.querySelector('[slot="desktop-header-first-cell"]');this.el.insertAdjacentHTML("afterbegin",`<span slot="placeholder-desktop-header-first-cell">${t.innerHTML}</span>`)},this.preProcessColumnHeaders=()=>{let t=this.el.querySelectorAll('[slot^="column-header"]');for(let e=0;e<this.dataCols;e++){let l=t[e].getAttribute("slot");this.el.insertAdjacentHTML("afterbegin",`<span slot="placeholder-${l}">${t[e].innerHTML}</span>`)}},this.preProcessHeaderLinks=()=>{let t;for(let e=0;e<this.dataCols;e++)if(t=this.el.querySelector(`[slot^="header-link-${e+1}"]`),t){let e=t.getAttribute("href"),l=t.innerHTML,i=t.getAttribute("target"),a=t.getAttribute("title");this.columnHeaderLinks.push({linkHref:e,linkText:l,linkTarget:i,linkTitle:a}),t.remove()}else this.columnHeaderLinks.push(null)},this.preProcessRowHeaders=()=>{let t;for(let e=0;e<this.dataRows;e++){t=this.el.querySelector(`[slot^="row-header-${e+1}"]`);let l=t.querySelectorAll(".table-row-header-p");for(let t=0;t<l.length;t++){let e=document.createElement("h4");e.setAttribute("class","row-header-h4"),e.innerHTML=l[t].innerHTML,l[t].replaceWith(e)}let i=t.getAttribute("slot"),a=t.innerHTML;this.el.insertAdjacentHTML("afterbegin",`<div slot="desktop-${i}">${a}</div><div slot="mobile-${i}">${a}</div>`),t.remove()}},this.preProcessCtaButtons=()=>{let t;this.showCtaButtonsRow=!1;for(let e=0;e<this.dataCols;e++)if(t=this.el.querySelector(`[slot^="cta-button-${e+1}"]`),t){let e=t.getAttribute("href"),l=t.innerHTML,i=t.getAttribute("target"),a=t.getAttribute("title");this.ctaButtons.push({linkHref:e,linkText:l,linkTarget:i,linkTitle:a}),t.remove(),this.showCtaButtonsRow=!0}else this.ctaButtons.push(null)},this.preProcessDisclaimers=()=>{let t=this.el.querySelectorAll('[slot^="disclaimer"]');for(let e=0;e<this.disclaimerCount;e++)this.disclaimers.push(t[e].innerHTML)},this.pageWithSubnav=!1,this.tableTitle=void 0,this.tableSubTitle="",this.dataRows=void 0,this.dataCols=void 0,this.disclaimerCount=0,this.moreText="More",this.LessText="Less",this.sectionId="",this.isDesktopView=void 0,this.hashKey=void 0,this.debouncedHashEnable=void 0,this.cellWidthXXS=180,this.cellWidthMD=225,this.cellLeftRightPadding=48,this.headerType="normal",this.lastScrollTop=void 0,this.scrollTimeInterval=25,this.scrollAmount=5,this.scrollLimit=50,this.stickyTopAt=void 0,this.columnHeaderLinks=[],this.hasEmptySpace=!1,this.showFillerCells=!1,this.showCtaButtonsRow=void 0,this.ctaButtons=[],this.disclaimers=[],this.tableDescription=void 0}refreshHorizontalPosition(){let t=0,e=this.el.shadowRoot.querySelector("#table-header"),l=this.el.shadowRoot.querySelector("#table-body"),i=()=>{e.scrollLeft=l.scrollLeft,t++,t<5&&window.requestAnimationFrame(i)};window.requestAnimationFrame(i)}getHashKey(){let t=window;return this.hashKey||(this.hashKey=s()),t.ppptHashes||(t.ppptHashes={}),1==t.ppptHashes[this.hashKey]}setHashKey(t){let e=window;this.hashKey||(this.hashKey=s()),e.ppptHashes||(e.ppptHashes={}),e.ppptHashes[this.hashKey]=t}componentWillLoad(){this.setHashKey(!1),this.preProcessTableDescription(),this.preProcessDesktopHeaderFirstCell(),this.preProcessColumnHeaders(),this.preProcessHeaderLinks(),this.preProcessRowHeaders(),this.preProcessCtaButtons(),this.preProcessDisclaimers()}componentDidLoad(){let t=this;this.handleTableReset(),this.debouncedHashEnable=r((()=>{t.setHashKey(!1)}),2e3,this),window.addEventListener("scroll",(()=>this.handleVerticalScroll())),window.addEventListener("resize",(()=>this.handleTableReset())),window.addEventListener("popstate",(()=>{t.setHashKey(!0),this.debouncedHashEnable()})),setTimeout((()=>{this.handleTableReset()}),3100)}render(){return e(l,null,e("div",{id:"pricing-table"},e((()=>this.tableTitle&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large",upperline:"no-upperline","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8"},this.tableTitle)),this.tableSubTitle?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"x-small"}),e("ptc-spacer",{breakpoint:"x-small",size:"small"})):this.tableDescription?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"})):null)),null),e((()=>this.tableSubTitle&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large",upperline:"no-upperline","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7"},this.tableSubTitle)),e("ptc-spacer",{breakpoint:"small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"large"}))),null),e((()=>this.tableDescription&&e(a,null,e("div",{class:"table-descriptor"},e("ptc-para",{"font-size":"small","font-weight":"w-4","para-align":"center","para-line-h":"line-height-p","para-margin":"margin-flush"},this.tableDescription.innerText.length<=500?e("slot",{name:"table-description"}):e("ptc-readmore",{"is-content-slotted":!0,"more-text":this.moreText,"less-text":this.LessText},e("slot",{name:"table-description"})))))),null),e("ptc-spacer",{breakpoint:"small",size:"xx-large"}),e("ptc-spacer",{breakpoint:"small",size:"xx-small"}),e("ptc-spacer",{breakpoint:"x-small",size:"xxx-large"}),e("ptc-spacer",{breakpoint:"x-small",size:"xx-small"}),e("div",{id:"vertical-scroll-content-clipper",class:this.headerType}),e("div",{id:"table-container"},e("div",{id:"horizontal-scroll-shadow"}),e("div",{id:"table-body",onScroll:()=>this.handleHorizontalScroll()},e((()=>e("div",{id:"table-header",class:this.headerType,onScroll:()=>this.handleHorizontalScroll()},e("div",{class:"desktop-header-first-cell"},this.isDesktopView?e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:"desktop-header-first-cell"})):null,e("div",{class:"scroll-button mf-listen",id:"previous-scroll-button"},e("div",{class:"mf-listen",onClick:()=>this.handleBackwardScroll(),onKeyDown:t=>this.handleScrollButtonClick(t,-1),tabIndex:0,id:`previous-scroll-button-${this.sectionId}`},e("icon-asset",{type:"solid",size:"medium",name:"chevron-left",color:"primary-gray"}),e("ptc-para",{"font-size":"small","font-weight":"w-6","para-align":"justify","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},this.moreText))),e("div",{class:"scroll-button mf-listen",id:"next-scroll-button"},e("div",{class:"mf-listen",onClick:()=>this.handleForwardScroll(),onKeyDown:t=>this.handleScrollButtonClick(t,1),tabIndex:0,id:`next-scroll-button-${this.sectionId}`},e("ptc-para",{"font-size":"small","font-weight":"w-6","para-align":"justify","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},this.moreText),e("icon-asset",{type:"solid",size:"medium",name:"chevron-right",color:"primary-gray"})))),[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"center","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush","para-z-index":"z-1"},e("slot",{name:`column-header-${t+1}`})),this.columnHeaderLinks.length===this.dataCols&&this.columnHeaderLinks[t]?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-link",{"dark-focus-state":!0,"font-size":"medium","font-weight":"w-extrabold",href:`${this.columnHeaderLinks[t].linkHref}`,"link-area":"undefined",target:`${this.columnHeaderLinks[t].linkTarget}`,theme:"d-green-underline",styles:"a.ptc-link {line-height: var(--ptc-line-height-p);}","link-title":this.columnHeaderLinks[t].linkTitle,onFocus:t=>this.handleAutoScrollOnFocus(t),"tracker-id":`column-header-${t+1}-link-${this.sectionId}`},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.columnHeaderLinks[t].linkText,position:"top"}):this.columnHeaderLinks[t].linkText)):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")}))),null),e((()=>e("div",{id:"table-header-placeholder",class:this.headerType},e("div",{class:"desktop-header-first-cell"},this.isDesktopView?e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"left","para-color":"white","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:"placeholder-desktop-header-first-cell"})):null),[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},e("ptc-para",{"font-size":"medium","font-weight":"w-7","para-align":"center","para-color":"white","para-line-h":"line-height-densest","para-margin":"margin-flush","para-z-index":"z-1"},e("slot",{name:`placeholder-column-header-${t+1}`})),this.columnHeaderLinks.length===this.dataCols&&this.columnHeaderLinks[t]?e(a,null,e("ptc-spacer",{breakpoint:"small",size:"small"}),e("ptc-spacer",{breakpoint:"x-small",size:"medium"}),e("ptc-link",{"font-size":"medium","font-weight":"w-extrabold",href:`${this.columnHeaderLinks[t].linkHref}`,"link-area":"undefined",target:`${this.columnHeaderLinks[t].linkTarget}`,theme:"d-green-underline",styles:"a.ptc-link {line-height: var(--ptc-line-height-p);}","link-title":this.columnHeaderLinks[t].linkTitle,"tab-nav":"-1"},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.columnHeaderLinks[t].linkText,position:"top"}):this.columnHeaderLinks[t].linkText)):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")}))),null),e((()=>[...Array(this.dataRows).keys()].map((t=>e(a,null,e("div",{class:"mobile-sticky-row-header"},e("slot",{name:`mobile-row-header-${t+1}`})),e("div",{class:"mf-listen table-row "+(this.isDesktopView&&t%2!=0?"desktop-alternate-row":"")},this.isDesktopView?e("div",{class:"desktop-sticky-row-header "+(this.isDesktopView&&t%2!=0?"desktop-alternate-row":"")},e("slot",{name:`desktop-row-header-${t+1}`})):null,[...Array(this.dataCols).keys()].map((l=>e("div",{class:"table-cell "+(l+1===this.dataCols?"table-last-cell":""),"data-cell-slot":`cell-r${t+1}-c${l+1}`,onFocusin:e=>this.handleAutoScrollOnFocus(e,`cell-r${t+1}-c${l+1}`)},e("slot",{name:`cell-r${t+1}-c${l+1}`})))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")})))))),null),e((()=>this.showCtaButtonsRow?e("div",{class:"table-cta-row"},this.isDesktopView?e("div",{class:"desktop-sticky-row-header"}):null,[...Array(this.dataCols).keys()].map((t=>e("div",{class:"table-cell "+(t+1===this.dataCols?"table-last-cell":"")},this.ctaButtons[t]?e("ptc-button",{"tracker-id":`pricing-cta-${t}-${this.sectionId}`,type:"link",color:"ptc-tertiary","link-href":this.ctaButtons[t].linkHref,target:`${this.ctaButtons[t].linkTarget}`,"link-title":this.ctaButtons[t].linkTitle,onFocus:this.handleAutoScrollOnFocus},this.isDesktopView?e("ptc-tooltip",{class:t===this.dataCols-1?"last-column-tooltip":"","text-display":"inline","max-length":"30","z-index":"z-2",description:this.ctaButtons[t].linkText,position:"top"}):this.ctaButtons[t].linkText):null))),e("div",{class:"table-filler-cell "+(this.showFillerCells?"show":"")})):null),null))),e((()=>this.disclaimerCount>0&&e(a,null,e("ptc-spacer",{breakpoint:"small",size:"medium"}),e("ptc-spacer",{breakpoint:"x-small",size:"large"}),this.disclaimers.map(((t,l)=>e(a,null,e("ptc-para",{"font-size":"xx-small","font-weight":"w-6","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush"},e("slot",{name:`disclaimer-${l+1}`})),l!=this.disclaimerCount-1?e("ptc-spacer",{size:"xx-small"}):null))))),null)))}get el(){return i(this)}};o.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}:host #pricing-table{position:relative;overflow-wrap:break-word}:host #vertical-scroll-content-clipper.normal{display:none}:host #vertical-scroll-content-clipper.sticky{display:block;z-index:20;position:fixed;top:0;width:100%;height:var(--sticky-stop-at, 50px)}:host #table-container{width:100%;overflow-x:auto;border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-small);position:relative}:host #table-body{width:100%;overflow-x:scroll;position:relative}:host .scroll-button{display:flex;align-items:center;position:absolute;z-index:15;height:100%}:host .scroll-button#previous-scroll-button div{margin-right:var(--ptc-element-spacing-02);border-radius:0px var(--ptc-element-spacing-01) var(--ptc-element-spacing-01) 0px}:host .scroll-button#previous-scroll-button div ptc-para{margin-right:var(--ptc-element-spacing-04)}:host .scroll-button#next-scroll-button{transform:translateX(-100%)}:host .scroll-button#next-scroll-button div{margin-left:var(--ptc-element-spacing-02);border-radius:var(--ptc-element-spacing-01) 0px 0px var(--ptc-element-spacing-01)}:host .scroll-button#next-scroll-button div ptc-para{margin-left:var(--ptc-element-spacing-04)}:host .scroll-button div{display:inline-block;width:fit-content;height:36px;background-color:white;color:black;box-shadow:var(--ptc-shadow-x-medium);display:flex;justify-content:center;align-items:center}:host .scroll-button div icon-asset{display:flex;justify-content:center;align-items:center;width:36px;height:100%}:host .scroll-button div ptc-para{display:none;white-space:nowrap}:host .scroll-button div:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .table-filler-cell{display:none;min-width:var(--filler-cell-width, 0px);max-width:var(--filler-cell-width, 0px);height:100%;box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-bottom:1px solid var(--color-gray-02)}:host .table-filler-cell.show{display:table-cell}:host #table-header{display:table-row;background:var(--color-gray-10);color:white;z-index:10}:host #table-header.normal{position:relative}:host #table-header.sticky{position:fixed;top:var(--sticky-stop-at, 50px);border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard);overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 16px 16px -16px grey}:host #table-header.sticky::-webkit-scrollbar{display:none}:host #table-header .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header .table-cell.table-last-cell{border-right:none}:host #table-header .table-cell ptc-link a.ptc-link{line-height:var(--ptc-line-height-p)}:host #table-header .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host #table-header-placeholder.normal{position:absolute;top:0;display:table-row;opacity:0}:host #table-header-placeholder.sticky{position:relative;display:table-row;opacity:0;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header-placeholder .table-cell.table-last-cell{border-right:none}:host #table-header-placeholder .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host .desktop-header-first-cell{display:table-cell;position:sticky;left:0;z-index:10}:host .mobile-sticky-row-header{display:block;position:sticky;left:0;background-color:var(--color-gray-01);border-bottom:1px solid var(--color-gray-02);padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}:host .table-row{display:table-row;background-color:white}:host .table-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-row .table-cell.table-last-cell{border-right:none}:host .table-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}:host .table-cta-row{display:table-row;background-color:white}:host .table-cta-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-cta-row .table-cell.table-last-cell{border-right:none}:host .table-cta-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}@media only screen and (min-width: 768px){:host .table-descriptor{max-width:768px;margin:auto}}@media only screen and (min-width: 992px){:host .scroll-button{height:100%;top:0}:host .scroll-button div ptc-para{display:none}:host .scroll-button div:hover{cursor:pointer}:host .scroll-button div:hover ptc-para{display:block}:host .scroll-button#previous-scroll-button{right:0;transform:translateX(100%)}:host #horizontal-scroll-shadow{display:block;position:absolute;top:0;left:0;height:100%;width:var(--ptc-element-spacing-06);background:linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);z-index:1}:host #table-header.sticky{box-shadow:none}:host #table-header .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header .last-column-tooltip .tooltip{right:4px}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header-placeholder .last-column-tooltip .tooltip{right:-4px}:host .desktop-sticky-row-header{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);display:table-cell;vertical-align:middle;position:sticky;left:0;background-color:white;z-index:5}:host .desktop-sticky-row-header.desktop-alternate-row{background-color:var(--color-gray-01)}:host .desktop-header-first-cell{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);display:table-cell;vertical-align:middle;position:sticky;left:0;z-index:10;background:var(--color-gray-10)}:host .table-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-row.desktop-alternate-row{background-color:var(--color-gray-01)}:host .mobile-sticky-row-header{display:none}:host .table-cta-row{display:table-row}:host .table-cta-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-cta-row .last-column-tooltip .tooltip{right:-4px}}";export{o as ptc_pricing_packaging_table}
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as a,a as n,F as s}from"./p-944c5be8.js";const l=class{constructor(e){t(this,e),this.optionClick=i(this,"optionClick",7),this.focusFirstRadio=()=>{var t;let i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".radio");i&&i.focus()},this.handleKeyClick=(t,i,e)=>{if(t instanceof KeyboardEvent){const a=()=>{var i,e;if(t.shiftKey){let t=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(".restart-quiz-button");t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},n=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ptc-button");if(a){let t=null===(i=a.shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},s=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("ptc-button");if(a.length>0){let t=null===(i=a[a.length-1].shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".restart-quiz-button");t&&t.focus()}},l=()=>{t.preventDefault(),document.activeElement.blur(),i(),setTimeout((()=>{"result"===this.slide["slide-type"]?n():this.focusFirstRadio()}),500)},r=t=>{var i;t===this.slide.options.length?t=0:t<0&&(t=this.slide.options.length-1);let e=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(`.radio[data-key="${t}"]`);e&&e.focus()};switch(t.key){case"Tab":switch(e){case-1:break;case-2:t.shiftKey&&(t.preventDefault(),"result"===this.slide["slide-type"]?s():this.focusFirstRadio());break;default:e>=0&&(t.preventDefault(),a())}break;case" ":switch(e){case-1:case-2:break;case-3:l();break;default:e>=0&&l()}break;case"Enter":switch(e){case-1:case-2:case-3:l();break;default:e>=0&&l()}break;case"ArrowRight":case"ArrowDown":e>=0&&r(e+1);break;case"ArrowLeft":case"ArrowUp":e>=0&&r(e-1)}}},this.getQuizEndpoint=void 0,this.quiz=null,this.slide=null,this.traversal=[],this.restartQuizText=void 0,this.previousButtonText=void 0,this.startButtonText=void 0}handleStartButtonClick(){this.slide=this.slide.next,this.traversal.push("next")}handleRestartButtonClick(){this.slide=this.quiz,this.traversal=[]}handlePreviousButtonClick(){let t=this.quiz;for(let i of this.traversal.slice(0,this.traversal.length-3))t=t[i];this.slide=t,this.traversal=this.traversal.slice(0,this.traversal.length-3)}handleQuestionOptionClick(t){let i=this.el.shadowRoot.getElementById(`radio-${t}`);i.classList.add("clicked"),setTimeout((()=>{let[e,a]=[null,null],n=this.slide.options;for(let i in n)if(n[i]["data-model-id"]===t){e=n[i],a=i;break}if(this.optionClick.emit(e),null!=e.next){this.traversal=[...this.traversal,"options",a,"next"];let t=new Image;t.src=e.next.image,t.onload=()=>{this.slide=e.next,i.classList.remove("clicked")}}}),200)}componentWillLoad(){fetch(this.getQuizEndpoint).then((t=>t.json())).then((t=>{this.quiz=t,this.slide=this.quiz})).catch((t=>console.log("Quiz retireval error: ",t)))}render(){const t=()=>e("div",{class:"right-button-container"},e("div",{id:"restart-quiz-button",class:"restart-quiz-button mf-listen",onClick:()=>this.handleRestartButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleRestartButtonClick()),-1),tabIndex:0},e("icon-asset",{id:"restart-arrow",type:"ptc",size:"small",name:"quiz-arrow-restart"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.restartQuizText||"Restart"))),i=t=>e("div",{class:"center-button-container"},e("div",{id:"previous-slide-button",class:"previous-slide-button mf-listen "+(t.invisible?"invisible":""),onClick:()=>this.handlePreviousButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handlePreviousButtonClick()),-2),tabIndex:0},e("icon-asset",{id:"left-arrow",type:"ptc",size:"medium",name:"quiz-arrow-left",onClick:()=>{}}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.previousButtonText||"Previous"))),n=()=>e("div",{class:"quiz-slide-initial"},e("div",{class:"quiz-slide-content"},e("div",{id:"initial-quiz-h2",class:"quiz-slide-text-container"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8","is-plm-hub":"false"},this.slide.h2)),e("ptc-spacer",{size:"medium",breakpoint:"small"}),e("ptc-spacer",{size:"large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-h3",class:"quiz-slide-text-container"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.h3)),e("ptc-spacer",{size:"x-large",breakpoint:"small"}),e("ptc-spacer",{size:"xx-large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-p",class:"quiz-slide-text-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.slide.p)),e("div",{class:"center-button-container"},e("div",{id:"quiz-start-button",onClick:()=>this.handleStartButtonClick()},e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"",target:"_blank",onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleStartButtonClick()),-3),"tracker-id":"quiz-start-button"},this.startButtonText||"Start"))))),l=()=>e("div",{class:"quiz-slide-question"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.question),e("div",{class:"options-container"},this.slide.options.map(((t,i)=>e("div",{id:`option-${t["data-model-id"]}`,class:"radio-input mf-listen",onClick:()=>this.handleQuestionOptionClick(t["data-model-id"]),onKeyDown:e=>this.handleKeyClick(e,(()=>this.handleQuestionOptionClick(t["data-model-id"])),i),"data-key":i},e("span",{id:`radio-${t["data-model-id"]}`,class:"radio",tabIndex:0,"data-key":i}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},t["data-value"]))))))))),r=()=>e("div",{class:"quiz-slide-result"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.title),e("ptc-spacer",{size:"large",breakpoint:"small"}),e("ptc-spacer",{size:"x-large",breakpoint:"x-small"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.description),e("div",{class:"cta-container"},this.slide["cta-quaternary"]&&e("ptc-button",{type:"link",target:this.slide["cta-quaternary"].target,color:"ptc-quaternary","link-href":this.slide["cta-quaternary"].href,"tracker-id":"final-cta-quaternary"},this.slide["cta-quaternary"].text),this.slide["cta-tertiary"]&&e("ptc-button",{type:"link",target:this.slide["cta-tertiary"].target,color:"ptc-tertiary","link-href":this.slide["cta-tertiary"].href,"tracker-id":"final-cta-tertiary"},this.slide["cta-tertiary"].text))))));return e(a,null,this.quiz&&e("div",{class:"quiz-slide-container"},e("div",{class:"quiz-slide-background"}),e("slot",{name:"seo-content"}),(()=>{switch(this.slide["slide-type"]){case"initial":return e(n,null);case"question":return e(s,null,e(t,null),e(l,null),this.traversal.length>1?e(i,null):null);case"result":return e(s,null,e(t,null),e(r,null),e(i,null));default:return null}})()))}get el(){return n(this)}};l.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}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url("https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .right-button-container .restart-quiz-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .previous-slide-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);border-radius:50%}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}::slotted([slot=seo-content]){display:none}';export{l as ptc_embedded_quiz}
1
+ import{r as t,c as i,h as e,H as a,g as n,F as s}from"./p-ac75c7ad.js";const l=class{constructor(e){t(this,e),this.optionClick=i(this,"optionClick",7),this.focusFirstRadio=()=>{var t;let i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".radio");i&&i.focus()},this.handleKeyClick=(t,i,e)=>{if(t instanceof KeyboardEvent){const a=()=>{var i,e;if(t.shiftKey){let t=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(".restart-quiz-button");t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},n=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ptc-button");if(a){let t=null===(i=a.shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".previous-slide-button");t&&t.focus()}},s=()=>{var t,i,e;let a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelectorAll("ptc-button");if(a.length>0){let t=null===(i=a[a.length-1].shadowRoot)||void 0===i?void 0:i.querySelector('a[tabindex="0"]');t&&t.focus()}else{let t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".restart-quiz-button");t&&t.focus()}},l=()=>{t.preventDefault(),document.activeElement.blur(),i(),setTimeout((()=>{"result"===this.slide["slide-type"]?n():this.focusFirstRadio()}),500)},r=t=>{var i;t===this.slide.options.length?t=0:t<0&&(t=this.slide.options.length-1);let e=null===(i=this.el.shadowRoot)||void 0===i?void 0:i.querySelector(`.radio[data-key="${t}"]`);e&&e.focus()};switch(t.key){case"Tab":switch(e){case-1:break;case-2:t.shiftKey&&(t.preventDefault(),"result"===this.slide["slide-type"]?s():this.focusFirstRadio());break;default:e>=0&&(t.preventDefault(),a())}break;case" ":switch(e){case-1:case-2:break;case-3:l();break;default:e>=0&&l()}break;case"Enter":switch(e){case-1:case-2:case-3:l();break;default:e>=0&&l()}break;case"ArrowRight":case"ArrowDown":e>=0&&r(e+1);break;case"ArrowLeft":case"ArrowUp":e>=0&&r(e-1)}}},this.getQuizEndpoint=void 0,this.quiz=null,this.slide=null,this.traversal=[],this.restartQuizText=void 0,this.previousButtonText=void 0,this.startButtonText=void 0}handleStartButtonClick(){this.slide=this.slide.next,this.traversal.push("next")}handleRestartButtonClick(){this.slide=this.quiz,this.traversal=[]}handlePreviousButtonClick(){let t=this.quiz;for(let i of this.traversal.slice(0,this.traversal.length-3))t=t[i];this.slide=t,this.traversal=this.traversal.slice(0,this.traversal.length-3)}handleQuestionOptionClick(t){let i=this.el.shadowRoot.getElementById(`radio-${t}`);i.classList.add("clicked"),setTimeout((()=>{let[e,a]=[null,null],n=this.slide.options;for(let i in n)if(n[i]["data-model-id"]===t){e=n[i],a=i;break}if(this.optionClick.emit(e),null!=e.next){this.traversal=[...this.traversal,"options",a,"next"];let t=new Image;t.src=e.next.image,t.onload=()=>{this.slide=e.next,i.classList.remove("clicked")}}}),200)}componentWillLoad(){fetch(this.getQuizEndpoint).then((t=>t.json())).then((t=>{this.quiz=t,this.slide=this.quiz})).catch((t=>console.log("Quiz retireval error: ",t)))}render(){const t=()=>e("div",{class:"right-button-container"},e("div",{id:"restart-quiz-button",class:"restart-quiz-button mf-listen",onClick:()=>this.handleRestartButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleRestartButtonClick()),-1),tabIndex:0},e("icon-asset",{id:"restart-arrow",type:"ptc",size:"small",name:"quiz-arrow-restart"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.restartQuizText||"Restart"))),i=t=>e("div",{class:"center-button-container"},e("div",{id:"previous-slide-button",class:"previous-slide-button mf-listen "+(t.invisible?"invisible":""),onClick:()=>this.handlePreviousButtonClick(),onKeyDown:t=>this.handleKeyClick(t,(()=>this.handlePreviousButtonClick()),-2),tabIndex:0},e("icon-asset",{id:"left-arrow",type:"ptc",size:"medium",name:"quiz-arrow-left",onClick:()=>{}}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.previousButtonText||"Previous"))),n=()=>e("div",{class:"quiz-slide-initial"},e("div",{class:"quiz-slide-content"},e("div",{id:"initial-quiz-h2",class:"quiz-slide-text-container"},e("ptc-title",{type:"h2","text-align":"center","title-size":"xx-large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-8","is-plm-hub":"false"},this.slide.h2)),e("ptc-spacer",{size:"medium",breakpoint:"small"}),e("ptc-spacer",{size:"large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-h3",class:"quiz-slide-text-container"},e("ptc-title",{type:"h3","text-align":"center","title-size":"large","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.h3)),e("ptc-spacer",{size:"x-large",breakpoint:"small"}),e("ptc-spacer",{size:"xx-large",breakpoint:"x-small"}),e("div",{id:"initial-quiz-p",class:"quiz-slide-text-container"},e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"center","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},this.slide.p)),e("div",{class:"center-button-container"},e("div",{id:"quiz-start-button",onClick:()=>this.handleStartButtonClick()},e("ptc-button",{type:"link",color:"ptc-tertiary","link-href":"",target:"_blank",onKeyDown:t=>this.handleKeyClick(t,(()=>this.handleStartButtonClick()),-3),"tracker-id":"quiz-start-button"},this.startButtonText||"Start"))))),l=()=>e("div",{class:"quiz-slide-question"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.question),e("div",{class:"options-container"},this.slide.options.map(((t,i)=>e("div",{id:`option-${t["data-model-id"]}`,class:"radio-input mf-listen",onClick:()=>this.handleQuestionOptionClick(t["data-model-id"]),onKeyDown:e=>this.handleKeyClick(e,(()=>this.handleQuestionOptionClick(t["data-model-id"])),i),"data-key":i},e("span",{id:`radio-${t["data-model-id"]}`,class:"radio",tabIndex:0,"data-key":i}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-flush","para-style":"","para-z-index":"z-1",styles:""},t["data-value"]))))))))),r=()=>e("div",{class:"quiz-slide-result"},e("div",{class:"quiz-slide-content"},e("div",{class:"quiz-slide-dual-layout"},e("div",{class:"image-container"},e("img",{alt:"",src:this.slide.image})),e("div",{class:"content-container"},e("ptc-title",{type:"h4","text-align":"left","title-size":"medium","title-color":"gray",upperline:"no-upperline","title-display":"inline-block","title-shadow":"","title-height":"densest","title-margin":"margin-flush","title-weight":"w-7","is-plm-hub":"false"},this.slide.title),e("ptc-spacer",{size:"large",breakpoint:"small"}),e("ptc-spacer",{size:"x-large",breakpoint:"x-small"}),e("ptc-para",{"ellipsis-line-cutoff":"0","font-size":"x-small","font-weight":"w-4","para-align":"left","para-color":"primary-grey","para-line-h":"line-height-p","para-margin":"margin-bottom-6","para-style":"","para-z-index":"z-1",styles:""},this.slide.description),e("div",{class:"cta-container"},this.slide["cta-quaternary"]&&e("ptc-button",{type:"link",target:this.slide["cta-quaternary"].target,color:"ptc-quaternary","link-href":this.slide["cta-quaternary"].href,"tracker-id":"final-cta-quaternary"},this.slide["cta-quaternary"].text),this.slide["cta-tertiary"]&&e("ptc-button",{type:"link",target:this.slide["cta-tertiary"].target,color:"ptc-tertiary","link-href":this.slide["cta-tertiary"].href,"tracker-id":"final-cta-tertiary"},this.slide["cta-tertiary"].text))))));return e(a,null,this.quiz&&e("div",{class:"quiz-slide-container"},e("div",{class:"quiz-slide-background"}),e("slot",{name:"seo-content"}),(()=>{switch(this.slide["slide-type"]){case"initial":return e(n,null);case"question":return e(s,null,e(t,null),e(l,null),this.traversal.length>1?e(i,null):null);case"result":return e(s,null,e(t,null),e(r,null),e(i,null));default:return null}})()))}get el(){return n(this)}};l.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}:host .quiz-slide-container{position:relative;width:100%;border:1px solid var(--color-gray-12);background-color:white;z-index:1}:host .quiz-slide-container .quiz-slide-text-container{max-width:calc(24 * var(--ptc-element-spacing-07))}:host .quiz-slide-background{position:absolute;top:0;left:0;width:100%;height:100%;background:url("https://www.ptc.com/-/media/Development/Embedded-Vuforia-Quiz/vuforia-background-guide-01.svg");background-size:cover;background-position:center;opacity:0.2;z-index:-1}:host .quiz-slide-initial{padding:var(--ptc-element-spacing-08);display:flex;justify-content:center}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-result .cta-container{display:flex;flex-direction:column;align-items:center}:host .quiz-slide-result .cta-container ptc-button{flex:1 0 100%;margin:0 0 var(--ptc-element-spacing-05) 0}:host .right-button-container{display:flex;justify-content:right}:host .right-button-container .restart-quiz-button{display:flex;margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) 0 0;transition:var(--ptc-transition-slow)}:host .right-button-container .restart-quiz-button #restart-arrow{display:flex;align-items:center}:host .right-button-container .restart-quiz-button #restart-arrow svg{z-index:2;margin-right:var(--ptc-element-spacing-03)}:host .right-button-container .restart-quiz-button:hover{cursor:pointer}:host .right-button-container .restart-quiz-button:hover #restart-arrow svg{transform:rotate(270deg)}:host .right-button-container .restart-quiz-button:hover ptc-para{opacity:0.7}:host .right-button-container .restart-quiz-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .center-button-container{display:flex;justify-content:center}:host .previous-slide-button{display:flex;align-items:center;margin:0 0 var(--ptc-element-spacing-06) 0;transition:var(--ptc-transition-slow)}:host .previous-slide-button icon-asset{z-index:2;display:flex;align-items:center;margin-right:var(--ptc-element-spacing-03)}:host .previous-slide-button:hover{cursor:pointer}:host .previous-slide-button:hover icon-asset svg{transform:translateX(-8px)}:host .previous-slide-button:hover ptc-para{opacity:0.7}:host .previous-slide-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .quiz-slide-dual-layout .image-container{padding-top:var(--ptc-element-spacing-06);display:flex;justify-content:center;height:calc(4 * var(--ptc-element-spacing-08));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:100%}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08) var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .content-container .options-container{margin-top:var(--ptc-element-spacing-06);padding-left:var(--ptc-element-spacing-05);display:flex;flex-wrap:wrap;z-index:2}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 100%;margin-bottom:var(--ptc-element-spacing-06);display:flex;align-items:start;display:flex;align-items:flex-start}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio{width:16px;height:16px;border-radius:var(--ptc-border-radius-circle);border:var(--color-gray-10) solid 1px;z-index:2;padding:3px;box-sizing:border-box;flex-shrink:0;margin-top:var(--ptc-element-spacing-01);background-color:white}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio.clicked{border:var(--color-blue-08) solid 1px;background:var(--color-blue-08);background-clip:content-box, padding-box}:host .quiz-slide-dual-layout .content-container .options-container .radio-input .radio:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);border-radius:50%}:host .quiz-slide-dual-layout .content-container .options-container .radio-input ptc-para{padding:0 var(--ptc-element-spacing-02) 0 var(--ptc-element-spacing-03)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover{cursor:pointer}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:hover .radio{box-shadow:var(--ptc-shadow-x-small)}@media only screen and (min-width: 768px){:host .quiz-slide-container{min-height:calc(10 * var(--ptc-element-spacing-08));position:relative}:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout{margin:0 var(--ptc-element-spacing-06) 0 var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .image-container{height:calc(9 * var(--ptc-element-spacing-06));width:100%}:host .quiz-slide-dual-layout .image-container img{height:100%;width:auto}:host .quiz-slide-dual-layout .content-container{margin:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-08) var(--ptc-element-spacing-06)}:host .quiz-slide-dual-layout .content-container .options-container .radio-input{flex:1 0 48%}}@media only screen and (min-width: 992px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-08) + var(--ptc-element-spacing-04)) 0}:host .quiz-slide-dual-layout .image-container{height:calc(8 * var(--ptc-element-spacing-07));width:auto}}@media only screen and (min-width: 1200px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 calc(var(--ptc-element-spacing-01) + var(--ptc-element-spacing-06)) 0}:host .quiz-slide-result .cta-container{flex-direction:row}:host .quiz-slide-result .cta-container ptc-button{flex:none;margin:0 var(--ptc-element-spacing-05) 0 0}:host .quiz-slide-dual-layout{display:flex;margin-bottom:var(--ptc-element-spacing-08)}:host .quiz-slide-dual-layout .image-container{flex-shrink:0;display:flex;align-items:center;height:calc(7 * var(--ptc-element-spacing-07));width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .image-container img{height:100%;max-height:calc(7 * var(--ptc-element-spacing-07));max-width:calc(15 * var(--ptc-element-spacing-07))}:host .quiz-slide-dual-layout .content-container .options-container{padding-left:0}:host .quiz-slide-dual-layout .content-container .options-container .radio-input:nth-of-type(odd){margin-right:4%}}@media only screen and (min-width: 1440px){:host .quiz-slide-initial #initial-quiz-p{padding:0 0 var(--ptc-element-spacing-07) 0}}::slotted([slot=seo-content]){display:none}';export{l as ptc_embedded_quiz}