@ptcwebops/ptcw-design 3.7.0 → 3.7.2

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 (936) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/academic-form-test.cjs.entry.js +80 -80
  3. package/dist/cjs/author-listing-example.cjs.entry.js +233 -233
  4. package/dist/cjs/bundle-example.cjs.entry.js +44 -44
  5. package/dist/cjs/bundle-jumbotron-example.cjs.entry.js +40 -40
  6. package/dist/cjs/{core-332e5461.js → core-d64db970.js} +117 -39
  7. package/dist/cjs/dropdown-item.cjs.entry.js +12 -12
  8. package/dist/cjs/dynamic-box-bundle.cjs.entry.js +27 -27
  9. package/dist/cjs/embedded-form.cjs.entry.js +105 -105
  10. package/dist/cjs/featured-list.cjs.entry.js +91 -91
  11. package/dist/cjs/fl-tab-content_3.cjs.entry.js +48 -48
  12. package/dist/cjs/footer-form.cjs.entry.js +57 -57
  13. package/dist/cjs/icon-asset_18.cjs.entry.js +1249 -1249
  14. package/dist/cjs/{index-cd9a1b1a.js → index-4b85b38a.js} +72 -1
  15. package/dist/cjs/innovator-toggle-container.cjs.entry.js +23 -23
  16. package/dist/cjs/list-item.cjs.entry.js +37 -37
  17. package/dist/cjs/loader.cjs.js +2 -2
  18. package/dist/cjs/most-popular-news.cjs.entry.js +41 -41
  19. package/dist/cjs/my-component.cjs.entry.js +16 -16
  20. package/dist/cjs/news-search-result.cjs.entry.js +21 -21
  21. package/dist/cjs/{pagination-8d9d474d.js → pagination-468c8158.js} +33 -7
  22. package/dist/cjs/ptc-accordion-item.cjs.entry.js +87 -87
  23. package/dist/cjs/ptc-accordion.cjs.entry.js +41 -41
  24. package/dist/cjs/ptc-announcement.cjs.entry.js +54 -54
  25. package/dist/cjs/ptc-back-to-top.cjs.entry.js +73 -73
  26. package/dist/cjs/ptc-background-video.cjs.entry.js +59 -59
  27. package/dist/cjs/ptc-badge.cjs.entry.js +21 -21
  28. package/dist/cjs/ptc-bio-card.cjs.entry.js +31 -31
  29. package/dist/cjs/ptc-breadcrumb_2.cjs.entry.js +151 -151
  30. package/dist/cjs/ptc-brightcov-video.cjs.entry.js +48 -48
  31. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +117 -117
  32. package/dist/cjs/ptc-card-content.cjs.entry.js +59 -59
  33. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +99 -85
  34. package/dist/cjs/ptc-checkbox-group.cjs.entry.js +41 -41
  35. package/dist/cjs/ptc-checkbox.cjs.entry.js +52 -52
  36. package/dist/cjs/ptc-collapse-list.cjs.entry.js +399 -399
  37. package/dist/cjs/ptc-container.cjs.entry.js +35 -35
  38. package/dist/cjs/ptc-data-lookup.cjs.entry.js +524 -524
  39. package/dist/cjs/ptc-dropdown.cjs.entry.js +66 -66
  40. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +50 -50
  41. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +48 -48
  42. package/dist/cjs/ptc-embedded-quiz.cjs.entry.js +91 -91
  43. package/dist/cjs/ptc-featured-list.cjs.entry.js +97 -97
  44. package/dist/cjs/ptc-filter-dropdown_3.cjs.entry.js +214 -214
  45. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +68 -68
  46. package/dist/cjs/ptc-filter-tag.cjs.entry.js +59 -59
  47. package/dist/cjs/ptc-form-checkbox_3.cjs.entry.js +920 -811
  48. package/dist/cjs/ptc-form.cjs.entry.js +79 -79
  49. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +13 -13
  50. package/dist/cjs/ptc-hero.cjs.entry.js +20 -20
  51. package/dist/cjs/ptc-icon-component.cjs.entry.js +64 -64
  52. package/dist/cjs/ptc-icon-list.cjs.entry.js +23 -23
  53. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +51 -51
  54. package/dist/cjs/ptc-image-download-strip.cjs.entry.js +20 -20
  55. package/dist/cjs/ptc-list.cjs.entry.js +51 -51
  56. package/dist/cjs/ptc-media-card.cjs.entry.js +53 -53
  57. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +14 -14
  58. package/dist/cjs/ptc-mobile-select.cjs.entry.js +166 -148
  59. package/dist/cjs/ptc-modal-quiz.cjs.entry.js +117 -117
  60. package/dist/cjs/ptc-nav-card.cjs.entry.js +38 -38
  61. package/dist/cjs/ptc-nav-link.cjs.entry.js +38 -38
  62. package/dist/cjs/ptc-nav-pills.cjs.entry.js +10 -10
  63. package/dist/cjs/ptc-nav-slider.cjs.entry.js +92 -92
  64. package/dist/cjs/ptc-nav-submenu.cjs.entry.js +39 -39
  65. package/dist/cjs/ptc-nav-tile.cjs.entry.js +11 -11
  66. package/dist/cjs/ptc-news.cjs.entry.js +26 -26
  67. package/dist/cjs/ptc-overlay.cjs.entry.js +25 -25
  68. package/dist/cjs/ptc-pagenation.cjs.entry.js +308 -308
  69. package/dist/cjs/ptc-podcast-card.cjs.entry.js +13 -13
  70. package/dist/cjs/ptc-preferance-center-form.cjs.entry.js +19 -19
  71. package/dist/cjs/ptc-previous-url.cjs.entry.js +13 -13
  72. package/dist/cjs/ptc-pricing-add-on-card.cjs.entry.js +19 -19
  73. package/dist/cjs/ptc-pricing-add-on-section.cjs.entry.js +41 -41
  74. package/dist/cjs/ptc-pricing-block.cjs.entry.js +22 -22
  75. package/dist/cjs/ptc-pricing-packaging-table.cjs.entry.js +361 -361
  76. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +126 -126
  77. package/dist/cjs/ptc-product-card.cjs.entry.js +24 -24
  78. package/dist/cjs/ptc-product-category.cjs.entry.js +12 -12
  79. package/dist/cjs/ptc-product-dropdown.cjs.entry.js +71 -71
  80. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +14 -14
  81. package/dist/cjs/ptc-product-list.cjs.entry.js +142 -142
  82. package/dist/cjs/ptc-product-sidebar.cjs.entry.js +130 -130
  83. package/dist/cjs/ptc-quote.cjs.entry.js +27 -27
  84. package/dist/cjs/ptc-readmore-char.cjs.entry.js +26 -26
  85. package/dist/cjs/ptc-readmore.cjs.entry.js +84 -84
  86. package/dist/cjs/ptc-related-card-rail.cjs.entry.js +151 -151
  87. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +55 -55
  88. package/dist/cjs/ptc-search-field.cjs.entry.js +75 -75
  89. package/dist/cjs/ptc-seo-title.cjs.entry.js +73 -73
  90. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +52 -52
  91. package/dist/cjs/ptc-showcase-card.cjs.entry.js +12 -12
  92. package/dist/cjs/ptc-skeleton.cjs.entry.js +18 -18
  93. package/dist/cjs/ptc-slit-card.cjs.entry.js +27 -27
  94. package/dist/cjs/ptc-square-card.cjs.entry.js +12 -12
  95. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +34 -34
  96. package/dist/cjs/ptc-sticky-section.cjs.entry.js +32 -32
  97. package/dist/cjs/ptc-subnav-card.cjs.entry.js +18 -18
  98. package/dist/cjs/ptc-subnav.cjs.entry.js +26 -26
  99. package/dist/cjs/ptc-svg-btn.cjs.entry.js +97 -97
  100. package/dist/cjs/ptc-tab-list.cjs.entry.js +145 -145
  101. package/dist/cjs/ptc-tab.cjs.entry.js +22 -22
  102. package/dist/cjs/ptc-tabs.cjs.entry.js +49 -49
  103. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +47 -47
  104. package/dist/cjs/ptc-theater-video-modal.cjs.entry.js +83 -83
  105. package/dist/cjs/ptc-two-column-media.cjs.entry.js +17 -17
  106. package/dist/cjs/ptc-value-led-card.cjs.entry.js +12 -12
  107. package/dist/cjs/ptc-value-led-content-highlight.cjs.entry.js +10 -10
  108. package/dist/cjs/ptc-value-led-content.cjs.entry.js +12 -12
  109. package/dist/cjs/ptc-value-led-intro.cjs.entry.js +11 -11
  110. package/dist/cjs/ptc-value-led-layout.cjs.entry.js +221 -221
  111. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +23 -23
  112. package/dist/cjs/ptc-value-prop-card.cjs.entry.js +15 -15
  113. package/dist/cjs/ptc-white-paper.cjs.entry.js +113 -113
  114. package/dist/cjs/ptcw-design.cjs.js +2 -2
  115. package/dist/cjs/sequential-bundle-example.cjs.entry.js +111 -111
  116. package/dist/cjs/sequential-bundle.cjs.entry.js +91 -91
  117. package/dist/cjs/tab-content.cjs.entry.js +29 -29
  118. package/dist/cjs/tab-header.cjs.entry.js +67 -67
  119. package/dist/cjs/{utils-b8cf5ed2.js → utils-03d92070.js} +142 -142
  120. package/dist/collection/collection-manifest.json +1 -1
  121. package/dist/collection/components/dropdown-item/dropdown-item.css +8 -2
  122. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  123. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.css +8 -2
  124. package/dist/collection/components/dynamic-box-bundle/dynamic-box-bundle.js +114 -114
  125. package/dist/collection/components/icon-asset/icon-asset.css +12 -6
  126. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  127. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  128. package/dist/collection/components/icon-asset/media/designer.svg +504 -504
  129. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  130. package/dist/collection/components/icon-asset/media/solid.svg +3016 -3016
  131. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  132. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +8 -2
  133. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.js +89 -89
  134. package/dist/collection/components/list-item/list-item.css +8 -2
  135. package/dist/collection/components/list-item/list-item.js +193 -193
  136. package/dist/collection/components/max-width-container/max-width-container.css +11 -11
  137. package/dist/collection/components/max-width-container/max-width-container.js +146 -146
  138. package/dist/collection/components/my-component/my-component.css +3 -3
  139. package/dist/collection/components/my-component/my-component.js +82 -82
  140. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.css +69 -69
  141. package/dist/collection/components/organism-bundles/author-listing-example/author-listing-example.js +282 -282
  142. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.css +25 -25
  143. package/dist/collection/components/organism-bundles/bundle-example/bundle-example.js +79 -79
  144. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +219 -219
  145. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.js +122 -122
  146. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.css +3 -3
  147. package/dist/collection/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.js +91 -91
  148. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.css +8 -2
  149. package/dist/collection/components/organism-bundles/form/academic-form/academic-form-test.js +94 -94
  150. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.css +8 -2
  151. package/dist/collection/components/organism-bundles/form/embedded-form/embedded-form.js +120 -120
  152. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.css +8 -2
  153. package/dist/collection/components/organism-bundles/form/footer-form/footer-form.js +72 -72
  154. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.css +13 -13
  155. package/dist/collection/components/organism-bundles/form/ptc-form/ptc-form.js +94 -94
  156. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.css +8 -2
  157. package/dist/collection/components/organism-bundles/most-popular-news/most-popular-news.js +62 -62
  158. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.css +8 -2
  159. package/dist/collection/components/organism-bundles/news-search-result/news-search-result.js +40 -40
  160. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.css +8 -2
  161. package/dist/collection/components/organism-bundles/sequential-bundle/sequential-bundle.js +116 -116
  162. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.css +101 -95
  163. package/dist/collection/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.js +160 -160
  164. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.css +8 -2
  165. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +324 -324
  166. package/dist/collection/components/ptc-accordion/ptc-accordion.css +8 -2
  167. package/dist/collection/components/ptc-accordion/ptc-accordion.js +100 -100
  168. package/dist/collection/components/ptc-announcement/ptc-announcement.css +8 -2
  169. package/dist/collection/components/ptc-announcement/ptc-announcement.js +274 -274
  170. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.css +8 -2
  171. package/dist/collection/components/ptc-back-to-top/ptc-back-to-top.js +97 -97
  172. package/dist/collection/components/ptc-background-video/ptc-background-video.css +8 -2
  173. package/dist/collection/components/ptc-background-video/ptc-background-video.js +200 -200
  174. package/dist/collection/components/ptc-badge/ptc-badge.css +8 -2
  175. package/dist/collection/components/ptc-badge/ptc-badge.js +87 -87
  176. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +8 -2
  177. package/dist/collection/components/ptc-bio-card/ptc-bio-card.js +153 -153
  178. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +8 -2
  179. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +121 -121
  180. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.css +8 -2
  181. package/dist/collection/components/ptc-brightcov-video/ptc-brightcov-video.js +79 -79
  182. package/dist/collection/components/ptc-button/ptc-button.css +8 -2
  183. package/dist/collection/components/ptc-button/ptc-button.js +399 -399
  184. package/dist/collection/components/ptc-card/ptc-card.css +8 -2
  185. package/dist/collection/components/ptc-card/ptc-card.js +439 -439
  186. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +8 -2
  187. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  188. package/dist/collection/components/ptc-card-content/ptc-card-content.css +8 -2
  189. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -212
  190. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +8 -2
  191. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +253 -253
  192. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +16 -4
  193. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.js +91 -91
  194. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +8 -2
  195. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -152
  196. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.css +8 -2
  197. package/dist/collection/components/ptc-checkbox-group/ptc-checkbox-group.js +90 -90
  198. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.css +8 -2
  199. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +639 -639
  200. package/dist/collection/components/ptc-container/ptc-container.css +8 -2
  201. package/dist/collection/components/ptc-container/ptc-container.js +138 -138
  202. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.css +11 -2
  203. package/dist/collection/components/ptc-data-lookup/ptc-data-lookup.js +379 -379
  204. package/dist/collection/components/ptc-date/ptc-date.css +8 -2
  205. package/dist/collection/components/ptc-date/ptc-date.js +224 -224
  206. package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +8 -2
  207. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  208. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  209. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.css +8 -2
  210. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +192 -192
  211. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +8 -2
  212. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +137 -137
  213. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.css +8 -2
  214. package/dist/collection/components/ptc-embedded-quiz/ptc-embedded-quiz.js +146 -146
  215. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.css +8 -2
  216. package/dist/collection/components/ptc-featured-list/fl-tab-content/fl-tab-content.js +61 -61
  217. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.css +8 -2
  218. package/dist/collection/components/ptc-featured-list/fl-tab-header/fl-tab-header.js +114 -114
  219. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.css +8 -2
  220. package/dist/collection/components/ptc-featured-list/fl-tab-image/fl-tab-image.js +61 -61
  221. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +8 -2
  222. package/dist/collection/components/ptc-featured-list/ptc-featured-list.js +128 -128
  223. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.css +8 -2
  224. package/dist/collection/components/ptc-filter-dropdown/ptc-filter-dropdown.js +145 -145
  225. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +8 -2
  226. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.js +124 -124
  227. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +8 -2
  228. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  229. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.css +8 -2
  230. package/dist/collection/components/ptc-form-checkbox/ptc-form-checkbox.js +303 -303
  231. package/dist/collection/components/ptc-hero/ptc-hero.css +8 -2
  232. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  233. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.css +8 -2
  234. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  235. package/dist/collection/components/ptc-icon-component/ptc-icon-component.css +16 -4
  236. package/dist/collection/components/ptc-icon-component/ptc-icon-component.js +87 -87
  237. package/dist/collection/components/ptc-icon-list/ptc-icon-list.css +8 -2
  238. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  239. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.css +8 -2
  240. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +160 -160
  241. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.css +8 -2
  242. package/dist/collection/components/ptc-image-download-strip/ptc-image-download-strip.js +51 -51
  243. package/dist/collection/components/ptc-img/ptc-img.css +8 -2
  244. package/dist/collection/components/ptc-img/ptc-img.js +311 -311
  245. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +8 -2
  246. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +355 -355
  247. package/dist/collection/components/ptc-link/ptc-link.css +8 -2
  248. package/dist/collection/components/ptc-link/ptc-link.js +289 -289
  249. package/dist/collection/components/ptc-list/ptc-list.css +8 -2
  250. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  251. package/dist/collection/components/ptc-media-card/ptc-media-card.css +8 -2
  252. package/dist/collection/components/ptc-media-card/ptc-media-card.js +233 -233
  253. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.css +8 -2
  254. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +100 -100
  255. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.css +15 -4
  256. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +199 -199
  257. package/dist/collection/components/ptc-modal/ptc-modal.css +8 -2
  258. package/dist/collection/components/ptc-modal/ptc-modal.js +524 -524
  259. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.css +8 -2
  260. package/dist/collection/components/ptc-modal-quiz/ptc-modal-quiz.js +191 -191
  261. package/dist/collection/components/ptc-nav-card/ptc-nav-card.css +8 -2
  262. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +224 -224
  263. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.css +8 -2
  264. package/dist/collection/components/ptc-nav-pills/ptc-nav-pills.js +18 -18
  265. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.css +8 -2
  266. package/dist/collection/components/ptc-nav-tile/ptc-nav-tile.js +40 -40
  267. package/dist/collection/components/ptc-news/ptc-news.css +8 -2
  268. package/dist/collection/components/ptc-news/ptc-news.js +176 -176
  269. package/dist/collection/components/ptc-overlay/ptc-overlay.css +8 -2
  270. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  271. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +8 -2
  272. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +573 -573
  273. package/dist/collection/components/ptc-para/ptc-para.css +8 -2
  274. package/dist/collection/components/ptc-para/ptc-para.js +268 -268
  275. package/dist/collection/components/ptc-picture/ptc-picture.css +8 -2
  276. package/dist/collection/components/ptc-picture/ptc-picture.js +500 -500
  277. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +8 -2
  278. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.js +78 -78
  279. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.css +8 -2
  280. package/dist/collection/components/ptc-preferance-center-form/ptc-preferance-center-form.js +27 -27
  281. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.css +8 -2
  282. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +79 -79
  283. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +8 -2
  284. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +78 -78
  285. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.css +8 -2
  286. package/dist/collection/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.js +139 -139
  287. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.css +8 -2
  288. package/dist/collection/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.js +94 -94
  289. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +8 -2
  290. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  291. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.css +8 -2
  292. package/dist/collection/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.js +501 -501
  293. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +8 -2
  294. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +272 -272
  295. package/dist/collection/components/ptc-product-card/ptc-product-card.css +8 -2
  296. package/dist/collection/components/ptc-product-card/ptc-product-card.js +162 -162
  297. package/dist/collection/components/ptc-product-category/ptc-product-category.css +8 -2
  298. package/dist/collection/components/ptc-product-category/ptc-product-category.js +60 -60
  299. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.css +8 -2
  300. package/dist/collection/components/ptc-product-dropdown/ptc-product-dropdown.js +185 -185
  301. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +8 -2
  302. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.js +96 -96
  303. package/dist/collection/components/ptc-product-list/ptc-product-list.css +8 -2
  304. package/dist/collection/components/ptc-product-list/ptc-product-list.js +194 -194
  305. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.css +8 -2
  306. package/dist/collection/components/ptc-product-sidebar/ptc-product-sidebar.js +252 -252
  307. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.css +8 -2
  308. package/dist/collection/components/ptc-progress-bar/ptc-progress-bar.js +42 -42
  309. package/dist/collection/components/ptc-quote/ptc-quote.css +8 -2
  310. package/dist/collection/components/ptc-quote/ptc-quote.js +163 -163
  311. package/dist/collection/components/ptc-readmore/ptc-readmore.css +8 -2
  312. package/dist/collection/components/ptc-readmore/ptc-readmore.js +326 -326
  313. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +8 -2
  314. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.js +133 -133
  315. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.css +8 -2
  316. package/dist/collection/components/ptc-related-card-rail/ptc-related-card-rail.js +190 -190
  317. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  318. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  319. package/dist/collection/components/ptc-search-field/ptc-search-field.css +8 -2
  320. package/dist/collection/components/ptc-search-field/ptc-search-field.js +266 -266
  321. package/dist/collection/components/ptc-select/ptc-select.css +8 -2
  322. package/dist/collection/components/ptc-select/ptc-select.js +555 -555
  323. package/dist/collection/components/ptc-seo-title/ptc-seo-title.css +8 -2
  324. package/dist/collection/components/ptc-seo-title/ptc-seo-title.js +314 -314
  325. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +8 -2
  326. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  327. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.css +8 -2
  328. package/dist/collection/components/ptc-showcase-card/ptc-showcase-card.js +60 -60
  329. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +8 -2
  330. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -139
  331. package/dist/collection/components/ptc-slit-card/ptc-slit-card.css +8 -2
  332. package/dist/collection/components/ptc-slit-card/ptc-slit-card.js +181 -181
  333. package/dist/collection/components/ptc-social-share/ptc-social-share.css +8 -2
  334. package/dist/collection/components/ptc-social-share/ptc-social-share.js +267 -267
  335. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  336. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  337. package/dist/collection/components/ptc-span/ptc-span.css +8 -2
  338. package/dist/collection/components/ptc-span/ptc-span.js +107 -107
  339. package/dist/collection/components/ptc-square-card/ptc-square-card.css +8 -2
  340. package/dist/collection/components/ptc-square-card/ptc-square-card.js +60 -60
  341. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.css +8 -2
  342. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  343. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.css +8 -2
  344. package/dist/collection/components/ptc-sticky-section/ptc-sticky-section.js +49 -49
  345. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.css +8 -2
  346. package/dist/collection/components/ptc-sticky-title/ptc-sticky-title.js +89 -89
  347. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.css +8 -2
  348. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +109 -109
  349. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +8 -2
  350. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +214 -214
  351. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  352. package/dist/collection/components/ptc-tabs/ptc-tabs.css +8 -2
  353. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  354. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.css +8 -2
  355. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +219 -219
  356. package/dist/collection/components/ptc-textfield/ptc-textfield.css +59 -36
  357. package/dist/collection/components/ptc-textfield/ptc-textfield.js +602 -602
  358. package/dist/collection/components/ptc-theater-video/ptc-theater-video.css +8 -2
  359. package/dist/collection/components/ptc-theater-video/ptc-theater-video.js +181 -181
  360. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.css +8 -2
  361. package/dist/collection/components/ptc-theater-video-modal/ptc-theater-video-modal.js +128 -128
  362. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.css +8 -2
  363. package/dist/collection/components/ptc-theater-video-playlist/ptc-theater-video-playlist.js +165 -165
  364. package/dist/collection/components/ptc-title/ptc-title.css +8 -2
  365. package/dist/collection/components/ptc-title/ptc-title.js +349 -349
  366. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +8 -2
  367. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +361 -361
  368. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.css +8 -2
  369. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  370. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.css +8 -2
  371. package/dist/collection/components/ptc-value-led-card/ptc-value-led-card.js +60 -60
  372. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.css +8 -2
  373. package/dist/collection/components/ptc-value-led-content/ptc-value-led-content.js +43 -43
  374. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.css +8 -2
  375. package/dist/collection/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.js +18 -18
  376. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.css +8 -2
  377. package/dist/collection/components/ptc-value-led-intro/ptc-value-led-intro.js +42 -42
  378. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.css +8 -2
  379. package/dist/collection/components/ptc-value-led-layout/ptc-value-led-layout.js +325 -325
  380. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +8 -2
  381. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.js +97 -97
  382. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.css +8 -2
  383. package/dist/collection/components/ptc-value-prop-card/ptc-value-prop-card.js +117 -117
  384. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +16 -4
  385. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +215 -215
  386. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.css +8 -2
  387. package/dist/collection/components/subnav/ptc-nav-link/ptc-nav-link.js +131 -131
  388. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.css +8 -2
  389. package/dist/collection/components/subnav/ptc-nav-slider/ptc-nav-slider.js +133 -133
  390. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.css +8 -2
  391. package/dist/collection/components/subnav/ptc-nav-submenu/ptc-nav-submenu.js +121 -121
  392. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.css +8 -2
  393. package/dist/collection/components/subnav/ptc-subnav/ptc-subnav.js +78 -78
  394. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.css +8 -2
  395. package/dist/collection/components/subnav/ptc-subnav-card/ptc-subnav-card.js +151 -151
  396. package/dist/collection/components/tab-content/tab-content.css +8 -2
  397. package/dist/collection/components/tab-content/tab-content.js +84 -84
  398. package/dist/collection/components/tab-header/tab-header.css +8 -2
  399. package/dist/collection/components/tab-header/tab-header.js +183 -183
  400. package/dist/collection/index.js +1 -1
  401. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  402. package/dist/collection/media/svg-imgs/NumberOneGreenBadge.svg +4 -4
  403. package/dist/collection/media/svg-imgs/NumberThreeGreenBadge.svg +4 -4
  404. package/dist/collection/media/svg-imgs/NumberTwoGreenBadge.svg +4 -4
  405. package/dist/collection/media/svg-imgs/close.svg +10 -10
  406. package/dist/collection/media/svg-imgs/nav-active-dotslick.svg +16 -16
  407. package/dist/collection/media/svg-imgs/play-button-dark.svg +20 -20
  408. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  409. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  410. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  411. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  412. package/dist/collection/media/svg-imgs/union.svg +3 -3
  413. package/dist/collection/stories/Accordian.stories.js +205 -205
  414. package/dist/collection/stories/Announcement.stories.js +64 -64
  415. package/dist/collection/stories/BackgroundImage.stories.js +81 -81
  416. package/dist/collection/stories/Breadcrumb.stories.js +50 -50
  417. package/dist/collection/stories/Button.stories.js +119 -119
  418. package/dist/collection/stories/Card.stories.js +234 -234
  419. package/dist/collection/stories/CardWrapper.stories.js +270 -270
  420. package/dist/collection/stories/Checkbox.stories.js +52 -52
  421. package/dist/collection/stories/Date.stories.js +81 -81
  422. package/dist/collection/stories/Dropdown.stories.js +48 -48
  423. package/dist/collection/stories/DynamicCard.stories.js +68 -68
  424. package/dist/collection/stories/FilterTag.stories.js +73 -73
  425. package/dist/collection/stories/FormCheckbox.stories.js +57 -57
  426. package/dist/collection/stories/Hero.stories.js +119 -119
  427. package/dist/collection/stories/Icon.stories.js +71 -71
  428. package/dist/collection/stories/IconList.stories.js +114 -114
  429. package/dist/collection/stories/IconMinimize.stories.js +40 -40
  430. package/dist/collection/stories/Link.stories.js +107 -107
  431. package/dist/collection/stories/ListItem.stories.js +59 -59
  432. package/dist/collection/stories/MaxWidthContainer.stories.js +45 -45
  433. package/dist/collection/stories/MinimizedHeader.stories.js +37 -37
  434. package/dist/collection/stories/MobileSelect.stories.js +79 -79
  435. package/dist/collection/stories/Modal.stories.js +105 -105
  436. package/dist/collection/stories/Overlay.stories.js +48 -48
  437. package/dist/collection/stories/Pagination.stories.js +101 -101
  438. package/dist/collection/stories/Paragraph.stories.js +95 -95
  439. package/dist/collection/stories/Picture.stories.js +139 -139
  440. package/dist/collection/stories/Quote.stories.js +107 -107
  441. package/dist/collection/stories/ReadMore.stories.js +100 -100
  442. package/dist/collection/stories/Select.stories.js +81 -81
  443. package/dist/collection/stories/SocialShare.stories.js +66 -66
  444. package/dist/collection/stories/Spacer.stories.js +48 -48
  445. package/dist/collection/stories/Span.stories.js +57 -57
  446. package/dist/collection/stories/SvgButton.stories.js +34 -34
  447. package/dist/collection/stories/Tabs.stories.js +213 -213
  448. package/dist/collection/stories/TextCopyWithBackground.stories.js +237 -237
  449. package/dist/collection/stories/Textfield.stories.js +81 -81
  450. package/dist/collection/stories/Title.stories.js +115 -115
  451. package/dist/collection/stories/Tooltip.stories.js +112 -112
  452. package/dist/collection/utils/component.js +3 -3
  453. package/dist/collection/utils/elq-lib.js +431 -431
  454. package/dist/collection/utils/interfaces.js +11 -11
  455. package/dist/collection/utils/utils.js +161 -161
  456. package/dist/collection/utils/validation-messages.js +111 -111
  457. package/dist/custom-elements/index.js +10333 -10088
  458. package/dist/esm/academic-form-test.entry.js +80 -80
  459. package/dist/esm/author-listing-example.entry.js +233 -233
  460. package/dist/esm/bundle-example.entry.js +44 -44
  461. package/dist/esm/bundle-jumbotron-example.entry.js +40 -40
  462. package/dist/esm/{core-73ab4867.js → core-ebde74a2.js} +117 -39
  463. package/dist/esm/dropdown-item.entry.js +12 -12
  464. package/dist/esm/dynamic-box-bundle.entry.js +27 -27
  465. package/dist/esm/embedded-form.entry.js +105 -105
  466. package/dist/esm/featured-list.entry.js +91 -91
  467. package/dist/esm/fl-tab-content_3.entry.js +48 -48
  468. package/dist/esm/footer-form.entry.js +57 -57
  469. package/dist/esm/icon-asset_18.entry.js +1249 -1249
  470. package/dist/esm/{index-4025d85a.js → index-3309fc22.js} +72 -1
  471. package/dist/esm/innovator-toggle-container.entry.js +23 -23
  472. package/dist/esm/list-item.entry.js +37 -37
  473. package/dist/esm/loader.js +3 -3
  474. package/dist/esm/most-popular-news.entry.js +40 -40
  475. package/dist/esm/my-component.entry.js +16 -16
  476. package/dist/esm/news-search-result.entry.js +21 -21
  477. package/dist/esm/{pagination-902de0b2.js → pagination-726fafd1.js} +33 -7
  478. package/dist/esm/polyfills/core-js.js +0 -0
  479. package/dist/esm/polyfills/dom.js +0 -0
  480. package/dist/esm/polyfills/es5-html-element.js +0 -0
  481. package/dist/esm/polyfills/index.js +0 -0
  482. package/dist/esm/polyfills/system.js +0 -0
  483. package/dist/esm/ptc-accordion-item.entry.js +87 -87
  484. package/dist/esm/ptc-accordion.entry.js +41 -41
  485. package/dist/esm/ptc-announcement.entry.js +54 -54
  486. package/dist/esm/ptc-back-to-top.entry.js +73 -73
  487. package/dist/esm/ptc-background-video.entry.js +59 -59
  488. package/dist/esm/ptc-badge.entry.js +21 -21
  489. package/dist/esm/ptc-bio-card.entry.js +31 -31
  490. package/dist/esm/ptc-breadcrumb_2.entry.js +151 -151
  491. package/dist/esm/ptc-brightcov-video.entry.js +48 -48
  492. package/dist/esm/ptc-card-bottom_2.entry.js +117 -117
  493. package/dist/esm/ptc-card-content.entry.js +59 -59
  494. package/dist/esm/ptc-case-studies-slider.entry.js +99 -85
  495. package/dist/esm/ptc-checkbox-group.entry.js +41 -41
  496. package/dist/esm/ptc-checkbox.entry.js +52 -52
  497. package/dist/esm/ptc-collapse-list.entry.js +399 -399
  498. package/dist/esm/ptc-container.entry.js +35 -35
  499. package/dist/esm/ptc-data-lookup.entry.js +524 -524
  500. package/dist/esm/ptc-dropdown.entry.js +66 -66
  501. package/dist/esm/ptc-dynamic-card.entry.js +50 -50
  502. package/dist/esm/ptc-ellipsis-dropdown.entry.js +48 -48
  503. package/dist/esm/ptc-embedded-quiz.entry.js +91 -91
  504. package/dist/esm/ptc-featured-list.entry.js +97 -97
  505. package/dist/esm/ptc-filter-dropdown_3.entry.js +214 -214
  506. package/dist/esm/ptc-filter-level-theater.entry.js +68 -68
  507. package/dist/esm/ptc-filter-tag.entry.js +59 -59
  508. package/dist/esm/ptc-form-checkbox_3.entry.js +920 -811
  509. package/dist/esm/ptc-form.entry.js +79 -79
  510. package/dist/esm/ptc-hero-footer-cta.entry.js +13 -13
  511. package/dist/esm/ptc-hero.entry.js +20 -20
  512. package/dist/esm/ptc-icon-component.entry.js +64 -64
  513. package/dist/esm/ptc-icon-list.entry.js +23 -23
  514. package/dist/esm/ptc-icon-minimize.entry.js +51 -51
  515. package/dist/esm/ptc-image-download-strip.entry.js +20 -20
  516. package/dist/esm/ptc-list.entry.js +51 -51
  517. package/dist/esm/ptc-media-card.entry.js +53 -53
  518. package/dist/esm/ptc-minimized-nav.entry.js +14 -14
  519. package/dist/esm/ptc-mobile-select.entry.js +166 -148
  520. package/dist/esm/ptc-modal-quiz.entry.js +117 -117
  521. package/dist/esm/ptc-nav-card.entry.js +38 -38
  522. package/dist/esm/ptc-nav-link.entry.js +38 -38
  523. package/dist/esm/ptc-nav-pills.entry.js +10 -10
  524. package/dist/esm/ptc-nav-slider.entry.js +92 -92
  525. package/dist/esm/ptc-nav-submenu.entry.js +39 -39
  526. package/dist/esm/ptc-nav-tile.entry.js +11 -11
  527. package/dist/esm/ptc-news.entry.js +26 -26
  528. package/dist/esm/ptc-overlay.entry.js +25 -25
  529. package/dist/esm/ptc-pagenation.entry.js +308 -308
  530. package/dist/esm/ptc-podcast-card.entry.js +13 -13
  531. package/dist/esm/ptc-preferance-center-form.entry.js +19 -19
  532. package/dist/esm/ptc-previous-url.entry.js +13 -13
  533. package/dist/esm/ptc-pricing-add-on-card.entry.js +19 -19
  534. package/dist/esm/ptc-pricing-add-on-section.entry.js +41 -41
  535. package/dist/esm/ptc-pricing-block.entry.js +22 -22
  536. package/dist/esm/ptc-pricing-packaging-table.entry.js +361 -361
  537. package/dist/esm/ptc-pricing-tabs.entry.js +126 -126
  538. package/dist/esm/ptc-product-card.entry.js +24 -24
  539. package/dist/esm/ptc-product-category.entry.js +12 -12
  540. package/dist/esm/ptc-product-dropdown.entry.js +71 -71
  541. package/dist/esm/ptc-product-highlight-card.entry.js +14 -14
  542. package/dist/esm/ptc-product-list.entry.js +142 -142
  543. package/dist/esm/ptc-product-sidebar.entry.js +130 -130
  544. package/dist/esm/ptc-quote.entry.js +27 -27
  545. package/dist/esm/ptc-readmore-char.entry.js +26 -26
  546. package/dist/esm/ptc-readmore.entry.js +84 -84
  547. package/dist/esm/ptc-related-card-rail.entry.js +151 -151
  548. package/dist/esm/ptc-responsive-wrapper.entry.js +55 -55
  549. package/dist/esm/ptc-search-field.entry.js +75 -75
  550. package/dist/esm/ptc-seo-title.entry.js +73 -73
  551. package/dist/esm/ptc-shopping-cart.entry.js +52 -52
  552. package/dist/esm/ptc-showcase-card.entry.js +12 -12
  553. package/dist/esm/ptc-skeleton.entry.js +18 -18
  554. package/dist/esm/ptc-slit-card.entry.js +27 -27
  555. package/dist/esm/ptc-square-card.entry.js +12 -12
  556. package/dist/esm/ptc-sticky-icons.entry.js +34 -34
  557. package/dist/esm/ptc-sticky-section.entry.js +32 -32
  558. package/dist/esm/ptc-subnav-card.entry.js +18 -18
  559. package/dist/esm/ptc-subnav.entry.js +26 -26
  560. package/dist/esm/ptc-svg-btn.entry.js +97 -97
  561. package/dist/esm/ptc-tab-list.entry.js +145 -145
  562. package/dist/esm/ptc-tab.entry.js +22 -22
  563. package/dist/esm/ptc-tabs.entry.js +49 -49
  564. package/dist/esm/ptc-text-copy-with-background.entry.js +47 -47
  565. package/dist/esm/ptc-theater-video-modal.entry.js +83 -83
  566. package/dist/esm/ptc-two-column-media.entry.js +17 -17
  567. package/dist/esm/ptc-value-led-card.entry.js +12 -12
  568. package/dist/esm/ptc-value-led-content-highlight.entry.js +10 -10
  569. package/dist/esm/ptc-value-led-content.entry.js +12 -12
  570. package/dist/esm/ptc-value-led-intro.entry.js +11 -11
  571. package/dist/esm/ptc-value-led-layout.entry.js +221 -221
  572. package/dist/esm/ptc-value-led-speed-bump.entry.js +23 -23
  573. package/dist/esm/ptc-value-prop-card.entry.js +15 -15
  574. package/dist/esm/ptc-white-paper.entry.js +113 -113
  575. package/dist/esm/ptcw-design.js +3 -3
  576. package/dist/esm/sequential-bundle-example.entry.js +111 -111
  577. package/dist/esm/sequential-bundle.entry.js +91 -91
  578. package/dist/esm/tab-content.entry.js +29 -29
  579. package/dist/esm/tab-header.entry.js +67 -67
  580. package/dist/esm/{utils-1d586605.js → utils-2f4905df.js} +142 -142
  581. package/dist/ptcw-design/media/brands.svg +1381 -1381
  582. package/dist/ptcw-design/media/designer.svg +504 -504
  583. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  584. package/dist/ptcw-design/media/regular.svg +463 -463
  585. package/dist/ptcw-design/media/solid.svg +3016 -3016
  586. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  587. package/dist/ptcw-design/p-00ba09b4.entry.js +1 -0
  588. package/dist/ptcw-design/p-00d74dc0.entry.js +1 -0
  589. package/dist/ptcw-design/p-054864e7.entry.js +1 -0
  590. package/dist/ptcw-design/p-0723ba49.entry.js +1 -0
  591. package/dist/ptcw-design/p-0c8007ee.entry.js +1 -0
  592. package/dist/ptcw-design/p-1090544d.entry.js +1 -0
  593. package/dist/ptcw-design/{p-d6f2911e.entry.js → p-187101d8.entry.js} +1 -1
  594. package/dist/ptcw-design/p-1b4bae3c.entry.js +1 -0
  595. package/dist/ptcw-design/{p-0e6e5fca.entry.js → p-1ed67cc5.entry.js} +1 -1
  596. package/dist/ptcw-design/p-1fccdca4.entry.js +1 -0
  597. package/dist/ptcw-design/p-24af9a13.entry.js +1 -0
  598. package/dist/ptcw-design/{p-d02f6760.entry.js → p-26a1db5a.entry.js} +1 -1
  599. package/dist/ptcw-design/p-28c93a70.entry.js +1 -0
  600. package/dist/ptcw-design/p-2c47be9a.entry.js +1 -0
  601. package/dist/ptcw-design/p-2e63781e.entry.js +1 -0
  602. package/dist/ptcw-design/p-2f976047.entry.js +1 -0
  603. package/dist/ptcw-design/p-320c9828.entry.js +1 -0
  604. package/dist/ptcw-design/p-32114a6f.entry.js +1 -0
  605. package/dist/ptcw-design/p-3295825a.entry.js +1 -0
  606. package/dist/ptcw-design/{p-b90e324e.entry.js → p-34b82cde.entry.js} +1 -1
  607. package/dist/ptcw-design/p-34e13f1c.entry.js +1 -0
  608. package/dist/ptcw-design/p-393368a4.entry.js +1 -0
  609. package/dist/ptcw-design/{p-acd96d26.entry.js → p-3a2d08a1.entry.js} +1 -1
  610. package/dist/ptcw-design/p-3b03642c.entry.js +1 -0
  611. package/dist/ptcw-design/{p-bc90bb06.entry.js → p-3c307289.entry.js} +1 -1
  612. package/dist/ptcw-design/{p-83cc763f.entry.js → p-3df13196.entry.js} +1 -1
  613. package/dist/ptcw-design/{p-f87cfd1c.entry.js → p-3ed092d8.entry.js} +1 -1
  614. package/dist/ptcw-design/p-3f4bdd1a.entry.js +1 -0
  615. package/dist/ptcw-design/{p-ca22e0a4.entry.js → p-414c3b74.entry.js} +1 -1
  616. package/dist/ptcw-design/{p-ceb171a0.entry.js → p-42d659e1.entry.js} +1 -1
  617. package/dist/ptcw-design/p-42ea22b0.entry.js +1 -0
  618. package/dist/ptcw-design/p-47f7b3a4.entry.js +1 -0
  619. package/dist/ptcw-design/{p-0a923315.entry.js → p-4ae0e239.entry.js} +1 -1
  620. package/dist/ptcw-design/{p-cb96aad2.entry.js → p-4c10e237.entry.js} +1 -1
  621. package/dist/ptcw-design/p-50425210.entry.js +1 -0
  622. package/dist/ptcw-design/p-531619d4.entry.js +1 -0
  623. package/dist/ptcw-design/p-532dd7f0.entry.js +1 -0
  624. package/dist/ptcw-design/p-5596259e.entry.js +1 -0
  625. package/dist/ptcw-design/p-55f20ac7.entry.js +1 -0
  626. package/dist/ptcw-design/{p-062e8486.entry.js → p-5883f603.entry.js} +1 -1
  627. package/dist/ptcw-design/{p-aca960a9.entry.js → p-5e8a4cd8.entry.js} +1 -1
  628. package/dist/ptcw-design/{p-59d640d4.entry.js → p-604178dc.entry.js} +1 -1
  629. package/dist/ptcw-design/p-60cfbce1.entry.js +1 -0
  630. package/dist/ptcw-design/p-60d50f9d.entry.js +1 -0
  631. package/dist/ptcw-design/p-66364007.entry.js +1 -0
  632. package/dist/ptcw-design/{p-daab1426.entry.js → p-68276e72.entry.js} +1 -1
  633. package/dist/ptcw-design/p-6914b70c.js +1 -0
  634. package/dist/ptcw-design/p-69206755.entry.js +1 -0
  635. package/dist/ptcw-design/{p-35a3e726.entry.js → p-6d4c5679.entry.js} +1 -1
  636. package/dist/ptcw-design/p-715d1d8f.entry.js +1 -0
  637. package/dist/ptcw-design/p-71e0d64c.entry.js +1 -0
  638. package/dist/ptcw-design/{p-0c5258f1.entry.js → p-7286b93b.entry.js} +1 -1
  639. package/dist/ptcw-design/{p-739b380f.entry.js → p-75cbe76e.entry.js} +1 -1
  640. package/dist/ptcw-design/{p-68fa130e.entry.js → p-7621bd5a.entry.js} +1 -1
  641. package/dist/ptcw-design/p-782442e6.entry.js +1 -0
  642. package/dist/ptcw-design/p-78828213.entry.js +1 -0
  643. package/dist/ptcw-design/p-79f02292.entry.js +1 -0
  644. package/dist/ptcw-design/p-7ce8fb2a.entry.js +1 -0
  645. package/dist/ptcw-design/p-7dfe8589.entry.js +1 -0
  646. package/dist/ptcw-design/p-81270479.entry.js +1 -0
  647. package/dist/ptcw-design/p-820009a0.entry.js +1 -0
  648. package/dist/ptcw-design/p-82aca032.entry.js +1 -0
  649. package/dist/ptcw-design/p-84b50500.entry.js +1 -0
  650. package/dist/ptcw-design/{p-b222d731.entry.js → p-854c9f75.entry.js} +1 -1
  651. package/dist/ptcw-design/{p-fae9565e.entry.js → p-85c53242.entry.js} +1 -1
  652. package/dist/ptcw-design/p-8f6af405.js +1 -0
  653. package/dist/ptcw-design/p-93737897.entry.js +1 -0
  654. package/dist/ptcw-design/{p-53b7c1b2.entry.js → p-95e1c016.entry.js} +1 -1
  655. package/dist/ptcw-design/{p-9b84c9cc.entry.js → p-9603afb7.entry.js} +1 -1
  656. package/dist/ptcw-design/p-99d9433a.entry.js +1 -0
  657. package/dist/ptcw-design/{p-5cc72d9b.entry.js → p-9d13225e.entry.js} +1 -1
  658. package/dist/ptcw-design/p-9d4f7574.entry.js +1 -0
  659. package/dist/ptcw-design/p-9e730840.entry.js +1 -0
  660. package/dist/ptcw-design/p-a02e27e1.entry.js +68 -0
  661. package/dist/ptcw-design/p-a2fdaff6.entry.js +1 -0
  662. package/dist/ptcw-design/p-ae0ed303.entry.js +1 -0
  663. package/dist/ptcw-design/p-aeae9c92.entry.js +1 -0
  664. package/dist/ptcw-design/p-b102050c.entry.js +1 -0
  665. package/dist/ptcw-design/p-b4cd594a.entry.js +1 -0
  666. package/dist/ptcw-design/{p-6532393f.entry.js → p-b8f9e9b4.entry.js} +1 -1
  667. package/dist/ptcw-design/p-b9815e9e.entry.js +1 -0
  668. package/dist/ptcw-design/p-bdef56ed.entry.js +1 -0
  669. package/dist/ptcw-design/p-bf7f2d16.entry.js +1 -0
  670. package/dist/ptcw-design/p-bf8a6f83.entry.js +1 -0
  671. package/dist/ptcw-design/p-c42d9009.entry.js +1 -0
  672. package/dist/ptcw-design/p-c5bea051.entry.js +1 -0
  673. package/dist/ptcw-design/p-c635f47d.entry.js +1 -0
  674. package/dist/ptcw-design/p-c6e882e1.entry.js +1 -0
  675. package/dist/ptcw-design/p-c9b9029b.entry.js +1 -0
  676. package/dist/ptcw-design/p-cb77c7d2.entry.js +1 -0
  677. package/dist/ptcw-design/p-ce535ac6.entry.js +1 -0
  678. package/dist/ptcw-design/p-cef0c108.entry.js +1 -0
  679. package/dist/ptcw-design/p-d4031650.entry.js +1 -0
  680. package/dist/ptcw-design/p-d49ec51a.entry.js +1 -0
  681. package/dist/ptcw-design/{p-3b91b9de.entry.js → p-d5a3b353.entry.js} +1 -1
  682. package/dist/ptcw-design/{p-0cf85281.entry.js → p-d5e9a7f3.entry.js} +1 -1
  683. package/dist/ptcw-design/p-d6863552.entry.js +1 -0
  684. package/dist/ptcw-design/p-d7a69e1c.entry.js +1 -0
  685. package/dist/ptcw-design/p-db3451b8.entry.js +1 -0
  686. package/dist/ptcw-design/p-dd4ab5a8.entry.js +1 -0
  687. package/dist/ptcw-design/p-e1a2421d.entry.js +1 -0
  688. package/dist/ptcw-design/p-e1da01e7.entry.js +1 -0
  689. package/dist/ptcw-design/p-e44ed276.entry.js +1 -0
  690. package/dist/ptcw-design/p-e84a52f6.entry.js +1 -0
  691. package/dist/ptcw-design/p-e8a19cd0.entry.js +1 -0
  692. package/dist/ptcw-design/p-ea1b6092.entry.js +1 -0
  693. package/dist/ptcw-design/p-ec463060.entry.js +1 -0
  694. package/dist/ptcw-design/{p-d0151211.entry.js → p-ecf78aae.entry.js} +1 -1
  695. package/dist/ptcw-design/p-ee02aea6.entry.js +1 -0
  696. package/dist/ptcw-design/p-ef94dcd5.entry.js +1 -0
  697. package/dist/ptcw-design/p-f2bc4f50.entry.js +1 -0
  698. package/dist/ptcw-design/p-f5b66bb4.entry.js +1 -0
  699. package/dist/ptcw-design/{p-3bdf2bbf.entry.js → p-f8a96b70.entry.js} +1 -1
  700. package/dist/ptcw-design/p-fb1f969e.entry.js +1 -0
  701. package/dist/ptcw-design/ptcw-design.css +2 -2
  702. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  703. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  704. package/dist/types/components/dynamic-box-bundle/dynamic-box-bundle.d.ts +10 -10
  705. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  706. package/dist/types/components/innovator-toggle-container/innovator-toggle-container.d.ts +17 -17
  707. package/dist/types/components/list-item/list-item.d.ts +19 -19
  708. package/dist/types/components/max-width-container/max-width-container.d.ts +16 -16
  709. package/dist/types/components/my-component/my-component.d.ts +16 -16
  710. package/dist/types/components/organism-bundles/author-listing-example/author-listing-example.d.ts +12 -12
  711. package/dist/types/components/organism-bundles/bundle-example/bundle-example.d.ts +14 -14
  712. package/dist/types/components/organism-bundles/bundle-featured-list/featured-list.d.ts +12 -12
  713. package/dist/types/components/organism-bundles/bundle-jumbotron-example/bundle-jumbotron-example.d.ts +5 -5
  714. package/dist/types/components/organism-bundles/form/academic-form/academic-form-test.d.ts +25 -25
  715. package/dist/types/components/organism-bundles/form/embedded-form/embedded-form.d.ts +31 -31
  716. package/dist/types/components/organism-bundles/form/footer-form/footer-form.d.ts +14 -14
  717. package/dist/types/components/organism-bundles/form/ptc-form/ptc-form.d.ts +25 -25
  718. package/dist/types/components/organism-bundles/most-popular-news/most-popular-news.d.ts +6 -6
  719. package/dist/types/components/organism-bundles/news-search-result/news-search-result.d.ts +10 -10
  720. package/dist/types/components/organism-bundles/sequential-bundle/sequential-bundle.d.ts +12 -12
  721. package/dist/types/components/organism-bundles/sequential-bundle-example/sequential-bundle-example.d.ts +16 -16
  722. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +65 -65
  723. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +17 -17
  724. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +59 -59
  725. package/dist/types/components/ptc-back-to-top/ptc-back-to-top.d.ts +10 -10
  726. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +45 -45
  727. package/dist/types/components/ptc-badge/ptc-badge.d.ts +7 -7
  728. package/dist/types/components/ptc-bio-card/ptc-bio-card.d.ts +28 -28
  729. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +24 -24
  730. package/dist/types/components/ptc-brightcov-video/ptc-brightcov-video.d.ts +6 -6
  731. package/dist/types/components/ptc-button/ptc-button.d.ts +77 -77
  732. package/dist/types/components/ptc-card/ptc-card.d.ts +84 -84
  733. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  734. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -19
  735. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +30 -30
  736. package/dist/types/components/ptc-case-studies-slider/ptc-case-studies-slider.d.ts +14 -14
  737. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -14
  738. package/dist/types/components/ptc-checkbox-group/ptc-checkbox-group.d.ts +10 -10
  739. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +60 -60
  740. package/dist/types/components/ptc-container/ptc-container.d.ts +13 -13
  741. package/dist/types/components/ptc-data-lookup/ptc-data-lookup.d.ts +27 -27
  742. package/dist/types/components/ptc-date/ptc-date.d.ts +46 -46
  743. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  744. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +27 -27
  745. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +15 -15
  746. package/dist/types/components/ptc-embedded-quiz/ptc-embedded-quiz.d.ts +21 -21
  747. package/dist/types/components/ptc-featured-list/fl-tab-content/fl-tab-content.d.ts +5 -5
  748. package/dist/types/components/ptc-featured-list/fl-tab-header/fl-tab-header.d.ts +12 -12
  749. package/dist/types/components/ptc-featured-list/fl-tab-image/fl-tab-image.d.ts +5 -5
  750. package/dist/types/components/ptc-featured-list/ptc-featured-list.d.ts +12 -12
  751. package/dist/types/components/ptc-filter-dropdown/ptc-filter-dropdown.d.ts +26 -26
  752. package/dist/types/components/ptc-filter-level-theater/ptc-filter-level-theater.d.ts +17 -17
  753. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  754. package/dist/types/components/ptc-form-checkbox/ptc-form-checkbox.d.ts +27 -27
  755. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  756. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  757. package/dist/types/components/ptc-icon-component/ptc-icon-component.d.ts +17 -17
  758. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  759. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +14 -14
  760. package/dist/types/components/ptc-image-download-strip/ptc-image-download-strip.d.ts +9 -9
  761. package/dist/types/components/ptc-img/ptc-img.d.ts +55 -55
  762. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +26 -26
  763. package/dist/types/components/ptc-link/ptc-link.d.ts +51 -51
  764. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  765. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +52 -52
  766. package/dist/types/components/ptc-minimized-nav/ptc-minimized-nav.d.ts +7 -7
  767. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  768. package/dist/types/components/ptc-modal/ptc-modal.d.ts +80 -80
  769. package/dist/types/components/ptc-modal-quiz/ptc-modal-quiz.d.ts +36 -36
  770. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +46 -46
  771. package/dist/types/components/ptc-nav-pills/ptc-nav-pills.d.ts +3 -3
  772. package/dist/types/components/ptc-nav-tile/ptc-nav-tile.d.ts +7 -7
  773. package/dist/types/components/ptc-news/ptc-news.d.ts +36 -36
  774. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  775. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +40 -40
  776. package/dist/types/components/ptc-para/ptc-para.d.ts +52 -52
  777. package/dist/types/components/ptc-picture/ptc-picture.d.ts +102 -102
  778. package/dist/types/components/ptc-podcast-card/ptc-podcast-card.d.ts +15 -15
  779. package/dist/types/components/ptc-preferance-center-form/ptc-preferance-center-form.d.ts +5 -5
  780. package/dist/types/components/ptc-preloader-section/ptc-preloader-section.d.ts +8 -8
  781. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +9 -9
  782. package/dist/types/components/ptc-pricing-add-on-card/ptc-pricing-add-on-card.d.ts +31 -31
  783. package/dist/types/components/ptc-pricing-add-on-section/ptc-pricing-add-on-section.d.ts +26 -26
  784. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  785. package/dist/types/components/ptc-pricing-packaging-table/ptc-pricing-packaging-table.d.ts +87 -87
  786. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +52 -52
  787. package/dist/types/components/ptc-product-card/ptc-product-card.d.ts +37 -37
  788. package/dist/types/components/ptc-product-category/ptc-product-category.d.ts +5 -5
  789. package/dist/types/components/ptc-product-dropdown/ptc-product-dropdown.d.ts +18 -18
  790. package/dist/types/components/ptc-product-highlight-card/ptc-product-highlight-card.d.ts +23 -23
  791. package/dist/types/components/ptc-product-list/ptc-product-list.d.ts +18 -18
  792. package/dist/types/components/ptc-product-sidebar/ptc-product-sidebar.d.ts +31 -31
  793. package/dist/types/components/ptc-progress-bar/ptc-progress-bar.d.ts +5 -5
  794. package/dist/types/components/ptc-quote/ptc-quote.d.ts +33 -33
  795. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +58 -58
  796. package/dist/types/components/ptc-readmore-char/ptc-readmore-char.d.ts +30 -30
  797. package/dist/types/components/ptc-related-card-rail/ptc-related-card-rail.d.ts +30 -30
  798. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  799. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +24 -24
  800. package/dist/types/components/ptc-select/ptc-select.d.ts +29 -29
  801. package/dist/types/components/ptc-seo-title/ptc-seo-title.d.ts +55 -55
  802. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  803. package/dist/types/components/ptc-showcase-card/ptc-showcase-card.d.ts +5 -5
  804. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  805. package/dist/types/components/ptc-slit-card/ptc-slit-card.d.ts +36 -36
  806. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +37 -37
  807. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  808. package/dist/types/components/ptc-span/ptc-span.d.ts +20 -20
  809. package/dist/types/components/ptc-square-card/ptc-square-card.d.ts +11 -11
  810. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  811. package/dist/types/components/ptc-sticky-section/ptc-sticky-section.d.ts +9 -9
  812. package/dist/types/components/ptc-sticky-title/ptc-sticky-title.d.ts +8 -8
  813. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +20 -20
  814. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +23 -23
  815. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  816. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  817. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +42 -42
  818. package/dist/types/components/ptc-textfield/ptc-textfield.d.ts +40 -40
  819. package/dist/types/components/ptc-theater-video/ptc-theater-video.d.ts +14 -14
  820. package/dist/types/components/ptc-theater-video-modal/ptc-theater-video-modal.d.ts +16 -16
  821. package/dist/types/components/ptc-theater-video-playlist/ptc-theater-video-playlist.d.ts +26 -26
  822. package/dist/types/components/ptc-title/ptc-title.d.ts +61 -61
  823. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +63 -63
  824. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  825. package/dist/types/components/ptc-value-led-card/ptc-value-led-card.d.ts +5 -5
  826. package/dist/types/components/ptc-value-led-content/ptc-value-led-content.d.ts +4 -4
  827. package/dist/types/components/ptc-value-led-content-highlight/ptc-value-led-content-highlight.d.ts +3 -3
  828. package/dist/types/components/ptc-value-led-intro/ptc-value-led-intro.d.ts +4 -4
  829. package/dist/types/components/ptc-value-led-layout/ptc-value-led-layout.d.ts +31 -31
  830. package/dist/types/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.d.ts +10 -10
  831. package/dist/types/components/ptc-value-prop-card/ptc-value-prop-card.d.ts +23 -23
  832. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +41 -41
  833. package/dist/types/components/subnav/ptc-nav-link/ptc-nav-link.d.ts +26 -26
  834. package/dist/types/components/subnav/ptc-nav-slider/ptc-nav-slider.d.ts +11 -11
  835. package/dist/types/components/subnav/ptc-nav-submenu/ptc-nav-submenu.d.ts +23 -23
  836. package/dist/types/components/subnav/ptc-subnav/ptc-subnav.d.ts +11 -11
  837. package/dist/types/components/subnav/ptc-subnav-card/ptc-subnav-card.d.ts +31 -31
  838. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  839. package/dist/types/components/tab-header/tab-header.d.ts +22 -22
  840. package/dist/types/components.d.ts +240 -240
  841. package/dist/types/index.d.ts +1 -1
  842. package/dist/types/stencil-public-runtime.d.ts +11 -0
  843. package/dist/types/utils/component.d.ts +1 -1
  844. package/dist/types/utils/eloqua.d.ts +8 -8
  845. package/dist/types/utils/elq-lib.d.ts +55 -55
  846. package/dist/types/utils/interfaces.d.ts +32 -32
  847. package/dist/types/utils/utils.d.ts +10 -10
  848. package/dist/types/utils/validation-messages.d.ts +111 -111
  849. package/package.json +89 -89
  850. package/readme.md +19 -19
  851. package/dist/ptcw-design/p-03a3faf2.entry.js +0 -1
  852. package/dist/ptcw-design/p-063081df.entry.js +0 -1
  853. package/dist/ptcw-design/p-0a0b01fa.entry.js +0 -1
  854. package/dist/ptcw-design/p-0e575971.entry.js +0 -1
  855. package/dist/ptcw-design/p-0f2f31c0.entry.js +0 -1
  856. package/dist/ptcw-design/p-10b3bda0.entry.js +0 -1
  857. package/dist/ptcw-design/p-12707657.entry.js +0 -1
  858. package/dist/ptcw-design/p-1434eb6b.entry.js +0 -1
  859. package/dist/ptcw-design/p-14d4560b.entry.js +0 -1
  860. package/dist/ptcw-design/p-173adcf0.entry.js +0 -1
  861. package/dist/ptcw-design/p-1a8c7516.entry.js +0 -1
  862. package/dist/ptcw-design/p-1b764b97.entry.js +0 -1
  863. package/dist/ptcw-design/p-2457850d.entry.js +0 -1
  864. package/dist/ptcw-design/p-2af241e3.entry.js +0 -1
  865. package/dist/ptcw-design/p-2aff88e5.entry.js +0 -1
  866. package/dist/ptcw-design/p-2b6e71a3.entry.js +0 -1
  867. package/dist/ptcw-design/p-2e07082b.entry.js +0 -1
  868. package/dist/ptcw-design/p-3b9f1c3b.entry.js +0 -1
  869. package/dist/ptcw-design/p-3d44cf6d.entry.js +0 -1
  870. package/dist/ptcw-design/p-460a79d5.entry.js +0 -1
  871. package/dist/ptcw-design/p-464bd6de.entry.js +0 -1
  872. package/dist/ptcw-design/p-48d2667d.entry.js +0 -1
  873. package/dist/ptcw-design/p-4c0116a8.entry.js +0 -1
  874. package/dist/ptcw-design/p-4cdfcedc.entry.js +0 -1
  875. package/dist/ptcw-design/p-553d840a.js +0 -1
  876. package/dist/ptcw-design/p-5e408067.entry.js +0 -1
  877. package/dist/ptcw-design/p-5f2e3e4e.entry.js +0 -1
  878. package/dist/ptcw-design/p-6136e133.entry.js +0 -1
  879. package/dist/ptcw-design/p-620ec829.entry.js +0 -1
  880. package/dist/ptcw-design/p-639e29b5.entry.js +0 -1
  881. package/dist/ptcw-design/p-6933b129.entry.js +0 -1
  882. package/dist/ptcw-design/p-69978c2c.entry.js +0 -1
  883. package/dist/ptcw-design/p-6e806c72.entry.js +0 -1
  884. package/dist/ptcw-design/p-73f2be9b.entry.js +0 -68
  885. package/dist/ptcw-design/p-7b5fffaa.entry.js +0 -1
  886. package/dist/ptcw-design/p-7bd37b58.entry.js +0 -1
  887. package/dist/ptcw-design/p-800c2f7d.entry.js +0 -1
  888. package/dist/ptcw-design/p-80f30fab.entry.js +0 -1
  889. package/dist/ptcw-design/p-8645c151.entry.js +0 -1
  890. package/dist/ptcw-design/p-86cadc9d.entry.js +0 -1
  891. package/dist/ptcw-design/p-88205520.entry.js +0 -1
  892. package/dist/ptcw-design/p-8b406ad0.entry.js +0 -1
  893. package/dist/ptcw-design/p-949b9334.entry.js +0 -1
  894. package/dist/ptcw-design/p-98778c06.entry.js +0 -1
  895. package/dist/ptcw-design/p-9a43eb16.entry.js +0 -1
  896. package/dist/ptcw-design/p-9a51930f.entry.js +0 -1
  897. package/dist/ptcw-design/p-9a7e2b73.entry.js +0 -1
  898. package/dist/ptcw-design/p-9c431e60.entry.js +0 -1
  899. package/dist/ptcw-design/p-a08ab1a2.entry.js +0 -1
  900. package/dist/ptcw-design/p-a198860c.entry.js +0 -1
  901. package/dist/ptcw-design/p-a3701a87.entry.js +0 -1
  902. package/dist/ptcw-design/p-a480be0c.entry.js +0 -1
  903. package/dist/ptcw-design/p-a67c95e2.entry.js +0 -1
  904. package/dist/ptcw-design/p-a8484a25.entry.js +0 -1
  905. package/dist/ptcw-design/p-a8a9aa7a.entry.js +0 -1
  906. package/dist/ptcw-design/p-a9af2a2a.entry.js +0 -1
  907. package/dist/ptcw-design/p-acf40fea.entry.js +0 -1
  908. package/dist/ptcw-design/p-b2391d26.entry.js +0 -1
  909. package/dist/ptcw-design/p-b577f01c.entry.js +0 -1
  910. package/dist/ptcw-design/p-b6453c28.entry.js +0 -1
  911. package/dist/ptcw-design/p-b88b8d60.entry.js +0 -1
  912. package/dist/ptcw-design/p-bc63338e.entry.js +0 -1
  913. package/dist/ptcw-design/p-c28af48d.entry.js +0 -1
  914. package/dist/ptcw-design/p-c2a1410e.entry.js +0 -1
  915. package/dist/ptcw-design/p-c640003c.entry.js +0 -1
  916. package/dist/ptcw-design/p-c653e4d7.entry.js +0 -1
  917. package/dist/ptcw-design/p-c81504cd.entry.js +0 -1
  918. package/dist/ptcw-design/p-c9a0ea88.entry.js +0 -1
  919. package/dist/ptcw-design/p-ccf417e2.entry.js +0 -1
  920. package/dist/ptcw-design/p-cdfe9613.entry.js +0 -1
  921. package/dist/ptcw-design/p-ce7c2c9b.entry.js +0 -1
  922. package/dist/ptcw-design/p-cfc15e2f.entry.js +0 -1
  923. package/dist/ptcw-design/p-d100f115.js +0 -1
  924. package/dist/ptcw-design/p-d4af7409.entry.js +0 -1
  925. package/dist/ptcw-design/p-de4f3724.entry.js +0 -1
  926. package/dist/ptcw-design/p-e5a0c330.entry.js +0 -1
  927. package/dist/ptcw-design/p-e8f65c00.entry.js +0 -1
  928. package/dist/ptcw-design/p-ed3f6651.entry.js +0 -1
  929. package/dist/ptcw-design/p-efd45916.entry.js +0 -1
  930. package/dist/ptcw-design/p-f0c7b0dd.entry.js +0 -1
  931. package/dist/ptcw-design/p-f123ef82.entry.js +0 -1
  932. package/dist/ptcw-design/p-fc0d8785.entry.js +0 -1
  933. package/dist/ptcw-design/p-fd2a5b91.entry.js +0 -1
  934. package/dist/ptcw-design/p-ff1cbf5a.entry.js +0 -1
  935. /package/dist/ptcw-design/{p-a7fdc2eb.js → p-9e0fd244.js} +0 -0
  936. /package/dist/ptcw-design/{p-6bd403ad.js → p-b422900e.js} +0 -0
@@ -1,532 +1,532 @@
1
- import { r as registerInstance, h, a as getElement } from './index-4025d85a.js';
1
+ import { r as registerInstance, h, a as getElement } from './index-3309fc22.js';
2
2
  import { M as MDCSelect } from './component-9c921cc6.js';
3
3
 
4
- // Define the ElqLib class
5
- class ElqLib {
6
- constructor(params) {
7
- this.params = params;
8
- this.url_vars = {};
9
- this.visitor_elq_id = null;
10
- this.field_mappings = [];
11
- this.callback_queue = [];
12
- this.fields_populated = false;
13
- this.user_elq_email = '';
14
- this.user_elq_firstname = '';
15
- this.user_elq_lastname = '';
16
- // Merge defaults with params
17
- const defaults = {
18
- elq_site_id: '',
19
- elq_visitor_lookup_key: '',
20
- elq_recipient_id_lookup_key: '',
21
- elq_contact_lookup_key: '',
22
- elq_field_email_rec_id: 'V_EmailRecipientID',
23
- elq_field_contact_email: 'C_EmailAddress',
24
- elq_field_visitor_email: 'V_Email_Address',
25
- elq_field_visitor_firstname: 'V_First_Name',
26
- elq_field_visitor_lastname: 'V_Last_Name',
27
- notme_link_id: 'not-me-link-id',
28
- notme_fields_class: null,
29
- notme_message: 'Not {name}? Click here.',
30
- notme_message_noname: 'Not your details below? Click here.',
31
- };
32
- this.params = Object.assign(Object.assign({}, defaults), this.params);
33
- this.init();
34
- }
35
- init() {
36
- // Merge defaults with user-provided params if not already done in the constructor
37
- // ...
38
- // Set Eloqua site ID
39
- this.setEloquaSiteId();
40
- // Load Eloqua scripts
41
- this.async_load();
42
- // Store URL variables
43
- this.store_url_vars();
44
- // Store visitor's Eloqua IDgit
45
- this.store_visitor_elq_id();
46
- // init noteme link;
47
- // this.init_notme();
48
- // Set the global Eloqua callback function
49
- window.SetElqContent = this.eloqua_callback.bind(this);
50
- }
51
- setEloquaSiteId() {
52
- if (this.params.elq_site_id) {
53
- ElqLib._elqQ.push(['elqSetSiteId', this.params.elq_site_id]);
54
- ElqLib._elqQ.push(['elqUseFirstPartyCookie', 'tracking.ptc.com']);
55
- ElqLib._elqQ.push(['elqTrackPageView', window.location.href]);
56
- }
57
- }
58
- fire_pageview(url) {
59
- try {
60
- if (typeof url === 'undefined') {
61
- ElqLib._elqQ.push(['elqTrackPageView']);
62
- }
63
- else {
64
- ElqLib._elqQ.push(['elqTrackPageView', url]);
65
- }
66
- console.log('TRACKING: Eloqua pageview fired for URL: ' + (url || 'current page'));
67
- }
68
- catch (e) {
69
- console.log('TRACKING: Could not fire Eloqua pageview: ', e);
70
- }
71
- }
72
- find_eloqua_contact() {
73
- console.log('CONTACT LOOKUP: Attempting to find Eloqua contact...');
74
- // Queue callback action for the return of lookup
75
- this.callback_queue.push(this.handle_visitor_lookup.bind(this));
76
- // Start with a recipient lookup if ID was supplied in URL
77
- if (this.visitor_elq_id !== null) {
78
- this.lookup_visitor_by_recipient_id();
79
- }
80
- else {
81
- // If no visitor ID, attempt to do a visitor lookup with an Eloqua cookie
82
- this.lookup_visitor_by_cookie(); //preference center
83
- this.lookup_contact_by_email();
84
- }
85
- }
86
- add_field_mapping(mapping) {
87
- this.field_mappings.push(mapping);
88
- }
89
- add_queue_action(action) {
90
- this.callback_queue.push(action);
91
- }
92
- store_url_vars() {
93
- // Clear the current url_vars
94
- this.url_vars = {};
95
- // Split the URL by the '?' to get the query string part
96
- const queryString = window.location.search.substring(1);
97
- // Split the query string by '&' to get each key-value pair
98
- queryString.split('&').forEach(paramString => {
99
- // Split the key-value pairs by '=' to separate keys and values
100
- let [key, value] = paramString.split('=');
101
- // Decode URI components to handle URL encoding
102
- key = decodeURIComponent(key);
103
- value = decodeURIComponent(value);
104
- // Store the key-value pair in the url_vars object
105
- this.url_vars[key] = value;
106
- });
107
- // Optionally, log the stored URL variables
108
- console.log('URL variables stored:', this.url_vars);
109
- }
110
- store_visitor_elq_id() {
111
- console.log("INIT: Looking for visitor's Eloqua ID in URL...");
112
- const elqIdParam = this.url_vars['elq'];
113
- if (elqIdParam) {
114
- const elqId = elqIdParam.toUpperCase().replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, '$1-$2-$3-$4-$5');
115
- this.visitor_elq_id = elqId;
116
- console.log(`INIT: ...visitor Eloqua ID found in URL: ${elqId}`);
117
- }
118
- else {
119
- this.visitor_elq_id = null;
120
- console.log('INIT: ...no visitor Eloqua ID found in URL');
121
- }
122
- }
123
- // private merge(root: any, ...sources: any[]): any {
124
- // sources.forEach(source => {
125
- // for (const key in source) {
126
- // if (source.hasOwnProperty(key)) {
127
- // root[key] = source[key];
128
- // }
129
- // }
130
- // });
131
- // return root;
132
- // }
133
- eloqua_callback() {
134
- console.log('LOOKUP: Eloqua lookup finished');
135
- // Process each action in the callback queue
136
- let actionSucceeded = true;
137
- while (actionSucceeded && this.callback_queue.length > 0) {
138
- const action = this.callback_queue.shift();
139
- if (action) {
140
- console.log(`QUEUE: Executing action`);
141
- actionSucceeded = action(); // Execute the action. It must return a boolean indicating success.
142
- if (actionSucceeded) {
143
- console.log('QUEUE: Action executed successfully, removed from queue');
144
- }
145
- else {
146
- console.log('QUEUE: Action failed, re-adding to queue');
147
- this.callback_queue.unshift(action); // Re-add the action to the front of the queue
148
- break; // Break out of the loop if an action fails
149
- }
150
- }
151
- }
152
- // After processing the queue, update user details or perform other operations
153
- if (actionSucceeded) {
154
- this.update_user_details();
155
- this.populate_mapped_fields();
156
- }
157
- // ...additional code to handle the aftermath of callback processing...
158
- }
159
- lookup_visitor_by_cookie() {
160
- if (this.params.elq_visitor_lookup_key != '') {
161
- ElqLib._elqQ.push(['elqDataLookup', escape(this.params.elq_visitor_lookup_key), '']);
162
- console.log('LOOKUP: Visitor lookup sent using Eloqua cookie');
163
- }
164
- else {
165
- console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
166
- }
167
- }
168
- lookup_visitor_by_recipient_id() {
169
- if (this.params.elq_recipient_id_lookup_key != '') {
170
- ElqLib._elqQ.push([
171
- 'elqDataLookup',
172
- escape(this.params.elq_recipient_id_lookup_key),
173
- '<' + this.params.elq_field_email_rec_id + '>' + this.visitor_elq_id + '</' + this.params.elq_field_email_rec_id + '>',
174
- ]);
175
- console.log('LOOKUP: Visitor lookup sent using email recipient id: ' + this.visitor_elq_id);
176
- }
177
- else {
178
- console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
179
- }
180
- }
181
- lookup_contact_by_email() {
182
- if (this.params.elq_contact_lookup_key != '') {
183
- ElqLib._elqQ.push([
184
- 'elqDataLookup',
185
- escape(this.params.elq_contact_lookup_key),
186
- '<' + this.params.elq_field_contact_email + '>' + this.user_elq_email + '</' + this.params.elq_field_contact_email + '>',
187
- ]);
188
- console.log('LOOKUP: Contact lookup sent using email address: ' + this.user_elq_email);
189
- }
190
- else {
191
- console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
192
- }
193
- }
194
- handle_visitor_lookup() {
195
- //console.log('Contact Email: ' + this.params.elq_field_contact_email)
196
- const email = window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email); //it was elq_field_visitor_email ( V_Email_Address)
197
- if (email) {
198
- console.log(`LOOKUP: Found contact email address: ${email}`);
199
- this.user_elq_email = email.trim();
200
- this.lookup_contact_by_email();
201
- this.callback_queue.push(this.handle_contact_lookup.bind(this));
202
- return true;
203
- }
204
- else {
205
- return false;
206
- }
207
- }
208
- handle_contact_lookup() {
209
- if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) != '') {
210
- console.log('LOOKUP: Found contact email address: ' + window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email));
211
- return true;
212
- }
213
- else {
214
- return false;
215
- }
216
- }
217
- populate_mapped_fields() {
218
- console.log('MAPPING: Starting field mapping');
219
- //debugger;
220
- this.field_mappings.forEach(({ elementId, elqFieldName }) => {
221
- const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
222
- if (elementId !== 'contact-country') {
223
- const element = document.getElementById(elementId);
224
- console.log('element ID of field mappings: ' + elementId);
225
- console.log('fieldValue ID of field mappings: ' + fieldValue);
226
- if (element && fieldValue) {
227
- element.value = fieldValue;
228
- //element.style.display = 'none'; // Hide the field.
229
- if (element.closest('ptc-textfield')) {
230
- element.closest('ptc-textfield').style.display = 'none';
231
- element.closest('ptc-textfield').inputValue = fieldValue;
232
- }
233
- else if (element.closest('ptc-select')) {
234
- element.closest('ptc-select').style.display = 'none';
235
- element.closest("ptc-select").selectedValue = fieldValue;
236
- }
237
- this.fields_populated = true;
238
- }
239
- }
240
- else {
241
- const countryEle = document.getElementById(elementId);
242
- const countrySelect = document.querySelector('.mdc-select');
243
- const mdcSelect = new MDCSelect(countrySelect);
244
- if (countryEle && fieldValue) {
245
- countryEle.textContent = fieldValue;
246
- countryEle.closest("ptc-select").selectedValue = fieldValue;
247
- mdcSelect.value = fieldValue;
248
- }
249
- // debugger;
250
- if (countryEle.closest('ptc-select')) {
251
- countryEle.closest('ptc-select').style.display = 'none';
252
- }
253
- }
254
- });
255
- console.log('MAPPING: Finished ');
256
- if (this.fields_populated) {
257
- this.update_notme_link();
258
- }
259
- }
260
- update_user_details() {
261
- console.log('displaying user info...');
262
- if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
263
- document
264
- .querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
265
- .forEach((element) => {
266
- if (element.tagName === 'SPAN') {
267
- const spanText = element;
268
- const spanEloquaName = spanText.getAttribute('data-eloqua-name');
269
- const ptcSelect = spanText.closest('ptc-select');
270
- const mdcSelect = new MDCSelect(ptcSelect.querySelector('.mdc-select'));
271
- if (spanEloquaName !== null) {
272
- const spanElqValue = window.GetElqContentPersonalizationValue(spanEloquaName);
273
- if (spanElqValue !== '' && spanElqValue.length > 0) {
274
- spanText.textContent = spanElqValue;
275
- ptcSelect.selectedValue = spanElqValue;
276
- mdcSelect.value = spanElqValue;
277
- }
278
- }
279
- }
280
- else if (element.className.includes('intl-tel-input')) {
281
- const telInput = element;
282
- const eloquaName = telInput.getAttribute('data-eloqua-name');
283
- if (eloquaName !== null) {
284
- const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
285
- if (elqValue !== '' && elqValue.length > 0) {
286
- setTimeout(() => {
287
- telInput.placeholder = elqValue;
288
- telInput.value = elqValue;
289
- telInput.closest('ptc-textfield').inputValue = elqValue;
290
- }, 1000);
291
- }
292
- }
293
- }
294
- else {
295
- const input = element;
296
- const eloquaName = input.getAttribute('data-eloqua-name');
297
- if (eloquaName !== null) {
298
- const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
299
- if (elqValue !== '' && elqValue.length > 0) {
300
- input.value = elqValue;
301
- input.closest('ptc-textfield').inputValue = elqValue;
302
- }
303
- }
304
- }
305
- });
306
- }
307
- if (this.user_elq_email == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email) != '') {
308
- this.user_elq_email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
309
- }
310
- if (this.user_elq_firstname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname) != '') {
311
- this.user_elq_firstname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
312
- }
313
- if (this.user_elq_lastname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname) != '') {
314
- this.user_elq_lastname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
315
- }
316
- }
317
- update_notme_link() {
318
- // Assuming the user's first and last name are available from Eloqua fields
319
- const firstName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
320
- const lastName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
321
- const topAdditional = document.getElementById('not-me-additional-top');
322
- const bottomAdditional = document.getElementById('not-me-additional-bottom');
323
- if (topAdditional) {
324
- let message = topAdditional.innerHTML;
325
- console.log('first name: ' + firstName);
326
- if (firstName && lastName) {
327
- message = message.replace('{name}', lastName + ' ' + firstName);
328
- }
329
- else {
330
- message = this.params.notme_message_noname;
331
- }
332
- topAdditional.innerHTML = message;
333
- topAdditional.style.display = 'block';
334
- }
335
- if (bottomAdditional) {
336
- //bottomAdditional.innerHTML="Click the button below to recieve email confirmation.";
337
- bottomAdditional.style.display = 'block';
338
- }
339
- const notMeLinkElement = document.getElementById(this.params.notme_link_id);
340
- if (notMeLinkElement) {
341
- notMeLinkElement.style.display = 'block';
342
- notMeLinkElement.onclick = this.remove_user_details.bind(this);
343
- }
344
- }
345
- // private init_notme(): void{
346
- // const topAdditional = document.getElementById('not-me-additional-top');
347
- // const bottomAdditional = document.getElementById('not-me-additional-bottom');
348
- // console.log("top: " + topAdditional)
349
- // if(topAdditional) topAdditional.style.display = 'none';
350
- // if(bottomAdditional) bottomAdditional.style.display = 'none';
351
- // }
352
- remove_user_details(e) {
353
- e.preventDefault();
354
- this.user_elq_email = '';
355
- this.user_elq_firstname = '';
356
- this.user_elq_lastname = '';
357
- // $('.' + this.params.notme_fields_class).val('');
358
- //const linkDiv = document.getElementById(this.params.notme_link_id);
359
- const topAdditional = document.getElementById('not-me-additional-top');
360
- const bottomAdditional = document.getElementById('not-me-additional-bottom');
361
- //linkDiv.querySelector('a').remove();
362
- topAdditional.style.display = 'none';
363
- bottomAdditional.style.display = 'none';
364
- this.refreshForm();
365
- return false;
366
- }
367
- refreshForm() {
368
- this.field_mappings.forEach(({ elementId }) => {
369
- if (elementId !== 'contact-country') {
370
- const element = document.getElementById(elementId);
371
- if (element) {
372
- console.log('element: ' + element);
373
- element.value = ''; // Reset the value
374
- if (element.closest('ptc-textfield')) {
375
- if (element.closest('ptc-textfield').getAttribute('ignore-blind-submit') != "true") {
376
- element.closest('ptc-textfield').style.display = '';
377
- }
378
- }
379
- else if (element.closest('ptc-select')) {
380
- element.closest('ptc-select').style.display = '';
381
- }
382
- else if (element.closest('ptc-form-checkbox')) {
383
- if (element.closest('ptc-form-checkbox').getAttribute('ignore-blind-submit') == "true") {
384
- element.closest('ptc-form-checkbox').style.display = 'none';
385
- }
386
- }
387
- }
388
- }
389
- else {
390
- const countryEle = document.getElementById(elementId);
391
- if (countryEle) {
392
- countryEle.textContent = '';
393
- }
394
- // debugger;
395
- if (countryEle.closest('ptc-select')) {
396
- countryEle.closest('ptc-select').style.display = '';
397
- }
398
- }
399
- });
400
- this.clearEloquaCookie('elq-uid'); // Optionally clear the Eloqua cookie
401
- this.fields_populated = false;
402
- //this.update_notme_link(); // Update the 'Not Me' link if necessary
403
- }
404
- clearEloquaCookie(name) {
405
- document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
406
- console.log('cookie cleared');
407
- }
408
- // Private Method to load Eloqua Scripts
409
- async_load() {
410
- const scriptUrl = 'https://img.en25.com/i/elqCfg.min.js';
411
- const scriptElement = document.createElement('script');
412
- scriptElement.type = 'text/javascript';
413
- scriptElement.async = true;
414
- scriptElement.src = scriptUrl;
415
- // Error handling for script loading
416
- scriptElement.onerror = errorEvent => {
417
- console.log(`Error loading script: ${errorEvent}`);
418
- };
419
- // Append the script element to the head of the document, or before the first script tag found
420
- const firstScriptTag = document.getElementsByTagName('script')[0];
421
- if (firstScriptTag && firstScriptTag.parentNode) {
422
- firstScriptTag.parentNode.insertBefore(scriptElement, firstScriptTag);
423
- }
424
- else {
425
- document.head.appendChild(scriptElement);
426
- }
427
- console.log(`Async loading of script ${scriptUrl} initiated.`);
428
- }
429
- }
430
- ElqLib._elqQ = window['_elqQ'] || [];
431
- // Static member initialization
4
+ // Define the ElqLib class
5
+ class ElqLib {
6
+ constructor(params) {
7
+ this.params = params;
8
+ this.url_vars = {};
9
+ this.visitor_elq_id = null;
10
+ this.field_mappings = [];
11
+ this.callback_queue = [];
12
+ this.fields_populated = false;
13
+ this.user_elq_email = '';
14
+ this.user_elq_firstname = '';
15
+ this.user_elq_lastname = '';
16
+ // Merge defaults with params
17
+ const defaults = {
18
+ elq_site_id: '',
19
+ elq_visitor_lookup_key: '',
20
+ elq_recipient_id_lookup_key: '',
21
+ elq_contact_lookup_key: '',
22
+ elq_field_email_rec_id: 'V_EmailRecipientID',
23
+ elq_field_contact_email: 'C_EmailAddress',
24
+ elq_field_visitor_email: 'V_Email_Address',
25
+ elq_field_visitor_firstname: 'V_First_Name',
26
+ elq_field_visitor_lastname: 'V_Last_Name',
27
+ notme_link_id: 'not-me-link-id',
28
+ notme_fields_class: null,
29
+ notme_message: 'Not {name}? Click here.',
30
+ notme_message_noname: 'Not your details below? Click here.',
31
+ };
32
+ this.params = Object.assign(Object.assign({}, defaults), this.params);
33
+ this.init();
34
+ }
35
+ init() {
36
+ // Merge defaults with user-provided params if not already done in the constructor
37
+ // ...
38
+ // Set Eloqua site ID
39
+ this.setEloquaSiteId();
40
+ // Load Eloqua scripts
41
+ this.async_load();
42
+ // Store URL variables
43
+ this.store_url_vars();
44
+ // Store visitor's Eloqua IDgit
45
+ this.store_visitor_elq_id();
46
+ // init noteme link;
47
+ // this.init_notme();
48
+ // Set the global Eloqua callback function
49
+ window.SetElqContent = this.eloqua_callback.bind(this);
50
+ }
51
+ setEloquaSiteId() {
52
+ if (this.params.elq_site_id) {
53
+ ElqLib._elqQ.push(['elqSetSiteId', this.params.elq_site_id]);
54
+ ElqLib._elqQ.push(['elqUseFirstPartyCookie', 'tracking.ptc.com']);
55
+ ElqLib._elqQ.push(['elqTrackPageView', window.location.href]);
56
+ }
57
+ }
58
+ fire_pageview(url) {
59
+ try {
60
+ if (typeof url === 'undefined') {
61
+ ElqLib._elqQ.push(['elqTrackPageView']);
62
+ }
63
+ else {
64
+ ElqLib._elqQ.push(['elqTrackPageView', url]);
65
+ }
66
+ console.log('TRACKING: Eloqua pageview fired for URL: ' + (url || 'current page'));
67
+ }
68
+ catch (e) {
69
+ console.log('TRACKING: Could not fire Eloqua pageview: ', e);
70
+ }
71
+ }
72
+ find_eloqua_contact() {
73
+ console.log('CONTACT LOOKUP: Attempting to find Eloqua contact...');
74
+ // Queue callback action for the return of lookup
75
+ this.callback_queue.push(this.handle_visitor_lookup.bind(this));
76
+ // Start with a recipient lookup if ID was supplied in URL
77
+ if (this.visitor_elq_id !== null) {
78
+ this.lookup_visitor_by_recipient_id();
79
+ }
80
+ else {
81
+ // If no visitor ID, attempt to do a visitor lookup with an Eloqua cookie
82
+ this.lookup_visitor_by_cookie(); //preference center
83
+ this.lookup_contact_by_email();
84
+ }
85
+ }
86
+ add_field_mapping(mapping) {
87
+ this.field_mappings.push(mapping);
88
+ }
89
+ add_queue_action(action) {
90
+ this.callback_queue.push(action);
91
+ }
92
+ store_url_vars() {
93
+ // Clear the current url_vars
94
+ this.url_vars = {};
95
+ // Split the URL by the '?' to get the query string part
96
+ const queryString = window.location.search.substring(1);
97
+ // Split the query string by '&' to get each key-value pair
98
+ queryString.split('&').forEach(paramString => {
99
+ // Split the key-value pairs by '=' to separate keys and values
100
+ let [key, value] = paramString.split('=');
101
+ // Decode URI components to handle URL encoding
102
+ key = decodeURIComponent(key);
103
+ value = decodeURIComponent(value);
104
+ // Store the key-value pair in the url_vars object
105
+ this.url_vars[key] = value;
106
+ });
107
+ // Optionally, log the stored URL variables
108
+ console.log('URL variables stored:', this.url_vars);
109
+ }
110
+ store_visitor_elq_id() {
111
+ console.log("INIT: Looking for visitor's Eloqua ID in URL...");
112
+ const elqIdParam = this.url_vars['elq'];
113
+ if (elqIdParam) {
114
+ const elqId = elqIdParam.toUpperCase().replace(/(.{8})(.{4})(.{4})(.{4})(.{12})/, '$1-$2-$3-$4-$5');
115
+ this.visitor_elq_id = elqId;
116
+ console.log(`INIT: ...visitor Eloqua ID found in URL: ${elqId}`);
117
+ }
118
+ else {
119
+ this.visitor_elq_id = null;
120
+ console.log('INIT: ...no visitor Eloqua ID found in URL');
121
+ }
122
+ }
123
+ // private merge(root: any, ...sources: any[]): any {
124
+ // sources.forEach(source => {
125
+ // for (const key in source) {
126
+ // if (source.hasOwnProperty(key)) {
127
+ // root[key] = source[key];
128
+ // }
129
+ // }
130
+ // });
131
+ // return root;
132
+ // }
133
+ eloqua_callback() {
134
+ console.log('LOOKUP: Eloqua lookup finished');
135
+ // Process each action in the callback queue
136
+ let actionSucceeded = true;
137
+ while (actionSucceeded && this.callback_queue.length > 0) {
138
+ const action = this.callback_queue.shift();
139
+ if (action) {
140
+ console.log(`QUEUE: Executing action`);
141
+ actionSucceeded = action(); // Execute the action. It must return a boolean indicating success.
142
+ if (actionSucceeded) {
143
+ console.log('QUEUE: Action executed successfully, removed from queue');
144
+ }
145
+ else {
146
+ console.log('QUEUE: Action failed, re-adding to queue');
147
+ this.callback_queue.unshift(action); // Re-add the action to the front of the queue
148
+ break; // Break out of the loop if an action fails
149
+ }
150
+ }
151
+ }
152
+ // After processing the queue, update user details or perform other operations
153
+ if (actionSucceeded) {
154
+ this.update_user_details();
155
+ this.populate_mapped_fields();
156
+ }
157
+ // ...additional code to handle the aftermath of callback processing...
158
+ }
159
+ lookup_visitor_by_cookie() {
160
+ if (this.params.elq_visitor_lookup_key != '') {
161
+ ElqLib._elqQ.push(['elqDataLookup', escape(this.params.elq_visitor_lookup_key), '']);
162
+ console.log('LOOKUP: Visitor lookup sent using Eloqua cookie');
163
+ }
164
+ else {
165
+ console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
166
+ }
167
+ }
168
+ lookup_visitor_by_recipient_id() {
169
+ if (this.params.elq_recipient_id_lookup_key != '') {
170
+ ElqLib._elqQ.push([
171
+ 'elqDataLookup',
172
+ escape(this.params.elq_recipient_id_lookup_key),
173
+ '<' + this.params.elq_field_email_rec_id + '>' + this.visitor_elq_id + '</' + this.params.elq_field_email_rec_id + '>',
174
+ ]);
175
+ console.log('LOOKUP: Visitor lookup sent using email recipient id: ' + this.visitor_elq_id);
176
+ }
177
+ else {
178
+ console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
179
+ }
180
+ }
181
+ lookup_contact_by_email() {
182
+ if (this.params.elq_contact_lookup_key != '') {
183
+ ElqLib._elqQ.push([
184
+ 'elqDataLookup',
185
+ escape(this.params.elq_contact_lookup_key),
186
+ '<' + this.params.elq_field_contact_email + '>' + this.user_elq_email + '</' + this.params.elq_field_contact_email + '>',
187
+ ]);
188
+ console.log('LOOKUP: Contact lookup sent using email address: ' + this.user_elq_email);
189
+ }
190
+ else {
191
+ console.log('LOOKUP: A visitor lookup cannot be performed as no lookup key was defined');
192
+ }
193
+ }
194
+ handle_visitor_lookup() {
195
+ //console.log('Contact Email: ' + this.params.elq_field_contact_email)
196
+ const email = window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email); //it was elq_field_visitor_email ( V_Email_Address)
197
+ if (email) {
198
+ console.log(`LOOKUP: Found contact email address: ${email}`);
199
+ this.user_elq_email = email.trim();
200
+ this.lookup_contact_by_email();
201
+ this.callback_queue.push(this.handle_contact_lookup.bind(this));
202
+ return true;
203
+ }
204
+ else {
205
+ return false;
206
+ }
207
+ }
208
+ handle_contact_lookup() {
209
+ if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) != '') {
210
+ console.log('LOOKUP: Found contact email address: ' + window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email));
211
+ return true;
212
+ }
213
+ else {
214
+ return false;
215
+ }
216
+ }
217
+ populate_mapped_fields() {
218
+ console.log('MAPPING: Starting field mapping');
219
+ //debugger;
220
+ this.field_mappings.forEach(({ elementId, elqFieldName }) => {
221
+ const fieldValue = window.GetElqContentPersonalizationValue(elqFieldName);
222
+ if (elementId !== 'contact-country') {
223
+ const element = document.getElementById(elementId);
224
+ console.log('element ID of field mappings: ' + elementId);
225
+ console.log('fieldValue ID of field mappings: ' + fieldValue);
226
+ if (element && fieldValue) {
227
+ element.value = fieldValue;
228
+ //element.style.display = 'none'; // Hide the field.
229
+ if (element.closest('ptc-textfield')) {
230
+ element.closest('ptc-textfield').style.display = 'none';
231
+ element.closest('ptc-textfield').inputValue = fieldValue;
232
+ }
233
+ else if (element.closest('ptc-select')) {
234
+ element.closest('ptc-select').style.display = 'none';
235
+ element.closest("ptc-select").selectedValue = fieldValue;
236
+ }
237
+ this.fields_populated = true;
238
+ }
239
+ }
240
+ else {
241
+ const countryEle = document.getElementById(elementId);
242
+ const countrySelect = document.querySelector('.mdc-select');
243
+ const mdcSelect = new MDCSelect(countrySelect);
244
+ if (countryEle && fieldValue) {
245
+ countryEle.textContent = fieldValue;
246
+ countryEle.closest("ptc-select").selectedValue = fieldValue;
247
+ mdcSelect.value = fieldValue;
248
+ }
249
+ // debugger;
250
+ if (countryEle.closest('ptc-select')) {
251
+ countryEle.closest('ptc-select').style.display = 'none';
252
+ }
253
+ }
254
+ });
255
+ console.log('MAPPING: Finished ');
256
+ if (this.fields_populated) {
257
+ this.update_notme_link();
258
+ }
259
+ }
260
+ update_user_details() {
261
+ console.log('displaying user info...');
262
+ if (window.GetElqContentPersonalizationValue(this.params.elq_field_contact_email) !== '') {
263
+ document
264
+ .querySelectorAll('input[type=text], input[type=tel], input[name="phonenumber"], input[name="phonenumbertwo"], input[type=email], select, textarea, span.mdc-select__selected-text')
265
+ .forEach((element) => {
266
+ if (element.tagName === 'SPAN') {
267
+ const spanText = element;
268
+ const spanEloquaName = spanText.getAttribute('data-eloqua-name');
269
+ const ptcSelect = spanText.closest('ptc-select');
270
+ const mdcSelect = new MDCSelect(ptcSelect.querySelector('.mdc-select'));
271
+ if (spanEloquaName !== null) {
272
+ const spanElqValue = window.GetElqContentPersonalizationValue(spanEloquaName);
273
+ if (spanElqValue !== '' && spanElqValue.length > 0) {
274
+ spanText.textContent = spanElqValue;
275
+ ptcSelect.selectedValue = spanElqValue;
276
+ mdcSelect.value = spanElqValue;
277
+ }
278
+ }
279
+ }
280
+ else if (element.className.includes('intl-tel-input')) {
281
+ const telInput = element;
282
+ const eloquaName = telInput.getAttribute('data-eloqua-name');
283
+ if (eloquaName !== null) {
284
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
285
+ if (elqValue !== '' && elqValue.length > 0) {
286
+ setTimeout(() => {
287
+ telInput.placeholder = elqValue;
288
+ telInput.value = elqValue;
289
+ telInput.closest('ptc-textfield').inputValue = elqValue;
290
+ }, 1000);
291
+ }
292
+ }
293
+ }
294
+ else {
295
+ const input = element;
296
+ const eloquaName = input.getAttribute('data-eloqua-name');
297
+ if (eloquaName !== null) {
298
+ const elqValue = window.GetElqContentPersonalizationValue(eloquaName);
299
+ if (elqValue !== '' && elqValue.length > 0) {
300
+ input.value = elqValue;
301
+ input.closest('ptc-textfield').inputValue = elqValue;
302
+ }
303
+ }
304
+ }
305
+ });
306
+ }
307
+ if (this.user_elq_email == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email) != '') {
308
+ this.user_elq_email = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_email);
309
+ }
310
+ if (this.user_elq_firstname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname) != '') {
311
+ this.user_elq_firstname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
312
+ }
313
+ if (this.user_elq_lastname == '' && window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname) != '') {
314
+ this.user_elq_lastname = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
315
+ }
316
+ }
317
+ update_notme_link() {
318
+ // Assuming the user's first and last name are available from Eloqua fields
319
+ const firstName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_firstname);
320
+ const lastName = window.GetElqContentPersonalizationValue(this.params.elq_field_visitor_lastname);
321
+ const topAdditional = document.getElementById('not-me-additional-top');
322
+ const bottomAdditional = document.getElementById('not-me-additional-bottom');
323
+ if (topAdditional) {
324
+ let message = topAdditional.innerHTML;
325
+ console.log('first name: ' + firstName);
326
+ if (firstName && lastName) {
327
+ message = message.replace('{name}', lastName + ' ' + firstName);
328
+ }
329
+ else {
330
+ message = this.params.notme_message_noname;
331
+ }
332
+ topAdditional.innerHTML = message;
333
+ topAdditional.style.display = 'block';
334
+ }
335
+ if (bottomAdditional) {
336
+ //bottomAdditional.innerHTML="Click the button below to recieve email confirmation.";
337
+ bottomAdditional.style.display = 'block';
338
+ }
339
+ const notMeLinkElement = document.getElementById(this.params.notme_link_id);
340
+ if (notMeLinkElement) {
341
+ notMeLinkElement.style.display = 'block';
342
+ notMeLinkElement.onclick = this.remove_user_details.bind(this);
343
+ }
344
+ }
345
+ // private init_notme(): void{
346
+ // const topAdditional = document.getElementById('not-me-additional-top');
347
+ // const bottomAdditional = document.getElementById('not-me-additional-bottom');
348
+ // console.log("top: " + topAdditional)
349
+ // if(topAdditional) topAdditional.style.display = 'none';
350
+ // if(bottomAdditional) bottomAdditional.style.display = 'none';
351
+ // }
352
+ remove_user_details(e) {
353
+ e.preventDefault();
354
+ this.user_elq_email = '';
355
+ this.user_elq_firstname = '';
356
+ this.user_elq_lastname = '';
357
+ // $('.' + this.params.notme_fields_class).val('');
358
+ //const linkDiv = document.getElementById(this.params.notme_link_id);
359
+ const topAdditional = document.getElementById('not-me-additional-top');
360
+ const bottomAdditional = document.getElementById('not-me-additional-bottom');
361
+ //linkDiv.querySelector('a').remove();
362
+ topAdditional.style.display = 'none';
363
+ bottomAdditional.style.display = 'none';
364
+ this.refreshForm();
365
+ return false;
366
+ }
367
+ refreshForm() {
368
+ this.field_mappings.forEach(({ elementId }) => {
369
+ if (elementId !== 'contact-country') {
370
+ const element = document.getElementById(elementId);
371
+ if (element) {
372
+ console.log('element: ' + element);
373
+ element.value = ''; // Reset the value
374
+ if (element.closest('ptc-textfield')) {
375
+ if (element.closest('ptc-textfield').getAttribute('ignore-blind-submit') != "true") {
376
+ element.closest('ptc-textfield').style.display = '';
377
+ }
378
+ }
379
+ else if (element.closest('ptc-select')) {
380
+ element.closest('ptc-select').style.display = '';
381
+ }
382
+ else if (element.closest('ptc-form-checkbox')) {
383
+ if (element.closest('ptc-form-checkbox').getAttribute('ignore-blind-submit') == "true") {
384
+ element.closest('ptc-form-checkbox').style.display = 'none';
385
+ }
386
+ }
387
+ }
388
+ }
389
+ else {
390
+ const countryEle = document.getElementById(elementId);
391
+ if (countryEle) {
392
+ countryEle.textContent = '';
393
+ }
394
+ // debugger;
395
+ if (countryEle.closest('ptc-select')) {
396
+ countryEle.closest('ptc-select').style.display = '';
397
+ }
398
+ }
399
+ });
400
+ this.clearEloquaCookie('elq-uid'); // Optionally clear the Eloqua cookie
401
+ this.fields_populated = false;
402
+ //this.update_notme_link(); // Update the 'Not Me' link if necessary
403
+ }
404
+ clearEloquaCookie(name) {
405
+ document.cookie = name + '=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;';
406
+ console.log('cookie cleared');
407
+ }
408
+ // Private Method to load Eloqua Scripts
409
+ async_load() {
410
+ const scriptUrl = 'https://img.en25.com/i/elqCfg.min.js';
411
+ const scriptElement = document.createElement('script');
412
+ scriptElement.type = 'text/javascript';
413
+ scriptElement.async = true;
414
+ scriptElement.src = scriptUrl;
415
+ // Error handling for script loading
416
+ scriptElement.onerror = errorEvent => {
417
+ console.log(`Error loading script: ${errorEvent}`);
418
+ };
419
+ // Append the script element to the head of the document, or before the first script tag found
420
+ const firstScriptTag = document.getElementsByTagName('script')[0];
421
+ if (firstScriptTag && firstScriptTag.parentNode) {
422
+ firstScriptTag.parentNode.insertBefore(scriptElement, firstScriptTag);
423
+ }
424
+ else {
425
+ document.head.appendChild(scriptElement);
426
+ }
427
+ console.log(`Async loading of script ${scriptUrl} initiated.`);
428
+ }
429
+ }
430
+ ElqLib._elqQ = window['_elqQ'] || [];
431
+ // Static member initialization
432
432
  //ElqLib._elqQ = window['_elqQ'] || [];
433
433
 
434
- const ptcDataLookupCss = "h1,h2,h3,h4,h5,h6,p,ul,li{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{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}#not-me-link-id{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-03);position:relative}#not-me-link-id a{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;text-decoration-line:underline}.not-me-additional-text{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-regular);line-height:normal;margin-bottom:var(--ptc-element-spacing-03)}.not-me-additional-text#not-me-additional-bottom{margin-bottom:unset;margin-top:var(--ptc-element-spacing-03)}.ptc-embedded-form>div{max-width:273px;overflow-wrap:break-word}.ptc-embedded-form .iti__country-name{color:var(--color-gray-12)}.ptc-embedded-form .iti--separate-dial-code.iti--show-flags .iti__selected-dial-code{color:var(--color-gray-12)}.ptc-embedded-form .mdc-menu-surface--open{z-index:99999}";
434
+ const ptcDataLookupCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link{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{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}#not-me-link-id{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;margin-bottom:var(--ptc-element-spacing-03);position:relative}#not-me-link-id a{color:var(--color-blue-07);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:normal;text-decoration-line:underline}.not-me-additional-text{color:var(--color-gray-10);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-medium);font-style:normal;font-weight:var(--ptc-font-weight-regular);line-height:normal;margin-bottom:var(--ptc-element-spacing-03)}.not-me-additional-text p{font-size:var(--ptc-font-size-medium)}.not-me-additional-text#not-me-additional-bottom{margin-bottom:unset;margin-top:var(--ptc-element-spacing-03)}.ptc-embedded-form>div{max-width:273px;overflow-wrap:break-word}.ptc-embedded-form .iti__country-name{color:var(--color-gray-12)}.ptc-embedded-form .iti--separate-dial-code.iti--show-flags .iti__selected-dial-code{color:var(--color-gray-12)}.ptc-embedded-form .mdc-menu-surface--open{z-index:99999}";
435
435
 
436
- const PtcDataLookup = class {
437
- constructor(hostRef) {
438
- registerInstance(this, hostRef);
439
- this.elqSiteId = undefined;
440
- this.elqVisitorLookupKey = undefined;
441
- this.elqRecipientIdLookupKey = undefined;
442
- this.elqContactLookupKey = undefined;
443
- this.elqFieldEmailRecId = 'V_EmailRecipientID';
444
- this.elqFieldContactEmail = 'C_EmailAddress';
445
- this.elqFieldVisitorEmail = 'V_Email_Address';
446
- this.elqFieldVisitorFirstname = 'C_FirstName';
447
- this.elqFieldVisitorLastname = 'C_LastName';
448
- this.notmeLinkId = undefined;
449
- this.notmeFieldsClass = undefined;
450
- this.notmeMessage = undefined;
451
- this.notmeMessageNoname = undefined;
452
- this.isBlindSubmit = true;
453
- this.isInitialized = false;
454
- }
455
- componentWillLoad() {
456
- this.initializeElqLib();
457
- if (this.isBlindSubmit) {
458
- this.populateBlindField();
459
- }
460
- }
461
- componentDidLoad() {
462
- this.init_notme();
463
- }
464
- initializeElqLib() {
465
- this.elqLib = new ElqLib({
466
- elq_site_id: this.elqSiteId,
467
- elq_visitor_lookup_key: this.elqVisitorLookupKey,
468
- elq_recipient_id_lookup_key: this.elqRecipientIdLookupKey,
469
- elq_contact_lookup_key: this.elqContactLookupKey,
470
- elq_field_email_rec_id: this.elqFieldEmailRecId,
471
- elq_field_contact_email: this.elqFieldContactEmail,
472
- elq_field_visitor_email: this.elqFieldVisitorEmail,
473
- elq_field_visitor_firstname: this.elqFieldVisitorFirstname,
474
- elq_field_visitor_lastname: this.elqFieldVisitorLastname,
475
- notme_link_id: this.notmeLinkId,
476
- notme_fields_class: this.notmeFieldsClass,
477
- notme_message: this.notmeMessage,
478
- notme_message_noname: this.notmeMessageNoname,
479
- });
480
- this.isInitialized = true;
481
- }
482
- populateBlindField() {
483
- this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
484
- this.elqLib.add_field_mapping({ elementId: 'contact-email', elqFieldName: 'C_EmailAddress' });
485
- this.elqLib.add_field_mapping({ elementId: 'contact-firstname', elqFieldName: 'C_FirstName' });
486
- this.elqLib.add_field_mapping({ elementId: 'contact-lastname', elqFieldName: 'C_LastName' });
487
- this.elqLib.add_field_mapping({ elementId: 'contact-country', elqFieldName: 'C_Country' });
488
- this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
489
- this.elqLib.add_field_mapping({ elementId: 'company', elqFieldName: 'C_Company' });
490
- this.elqLib.add_field_mapping({ elementId: 'contact-state', elqFieldName: 'C_State_Prov' });
491
- this.elqLib.add_field_mapping({ elementId: 'contact-zipcode', elqFieldName: 'C_Zip_Postal' });
492
- this.elqLib.add_field_mapping({ elementId: 'contact-job-category', elqFieldName: 'C_Job_Role1' });
493
- this.elqLib.add_field_mapping({ elementId: 'contact-job-function', elqFieldName: 'C_Job_Function1' });
494
- this.elqLib.add_field_mapping({ elementId: 'contact-jp-job-title', elqFieldName: 'C_Title' });
495
- }
496
- getCookie(name) {
497
- let cookieValue = null;
498
- if (document.cookie) {
499
- const cookies = document.cookie.split(';');
500
- for (let cookie of cookies) {
501
- const [key, value] = cookie.trim().split('=');
502
- if (key === name) {
503
- cookieValue = decodeURIComponent(value);
504
- break;
505
- }
506
- }
507
- }
508
- return cookieValue;
509
- }
510
- init_notme() {
511
- const topAdditional = document.getElementById('not-me-additional-top');
512
- const bottomAdditional = document.getElementById('not-me-additional-bottom');
513
- console.log("top: " + topAdditional);
514
- if (topAdditional)
515
- topAdditional.style.display = 'none';
516
- if (bottomAdditional)
517
- bottomAdditional.style.display = 'none';
518
- }
519
- async performDataLookup() {
520
- if (this.isInitialized) {
521
- this.elqLib.user_elq_email = this.getCookie('elq-uid');
522
- this.elqLib.find_eloqua_contact();
523
- }
524
- }
525
- render() {
526
- return h("slot", null);
527
- }
528
- get el() { return getElement(this); }
529
- };
436
+ const PtcDataLookup = class {
437
+ constructor(hostRef) {
438
+ registerInstance(this, hostRef);
439
+ this.elqSiteId = undefined;
440
+ this.elqVisitorLookupKey = undefined;
441
+ this.elqRecipientIdLookupKey = undefined;
442
+ this.elqContactLookupKey = undefined;
443
+ this.elqFieldEmailRecId = 'V_EmailRecipientID';
444
+ this.elqFieldContactEmail = 'C_EmailAddress';
445
+ this.elqFieldVisitorEmail = 'V_Email_Address';
446
+ this.elqFieldVisitorFirstname = 'C_FirstName';
447
+ this.elqFieldVisitorLastname = 'C_LastName';
448
+ this.notmeLinkId = undefined;
449
+ this.notmeFieldsClass = undefined;
450
+ this.notmeMessage = undefined;
451
+ this.notmeMessageNoname = undefined;
452
+ this.isBlindSubmit = true;
453
+ this.isInitialized = false;
454
+ }
455
+ componentWillLoad() {
456
+ this.initializeElqLib();
457
+ if (this.isBlindSubmit) {
458
+ this.populateBlindField();
459
+ }
460
+ }
461
+ componentDidLoad() {
462
+ this.init_notme();
463
+ }
464
+ initializeElqLib() {
465
+ this.elqLib = new ElqLib({
466
+ elq_site_id: this.elqSiteId,
467
+ elq_visitor_lookup_key: this.elqVisitorLookupKey,
468
+ elq_recipient_id_lookup_key: this.elqRecipientIdLookupKey,
469
+ elq_contact_lookup_key: this.elqContactLookupKey,
470
+ elq_field_email_rec_id: this.elqFieldEmailRecId,
471
+ elq_field_contact_email: this.elqFieldContactEmail,
472
+ elq_field_visitor_email: this.elqFieldVisitorEmail,
473
+ elq_field_visitor_firstname: this.elqFieldVisitorFirstname,
474
+ elq_field_visitor_lastname: this.elqFieldVisitorLastname,
475
+ notme_link_id: this.notmeLinkId,
476
+ notme_fields_class: this.notmeFieldsClass,
477
+ notme_message: this.notmeMessage,
478
+ notme_message_noname: this.notmeMessageNoname,
479
+ });
480
+ this.isInitialized = true;
481
+ }
482
+ populateBlindField() {
483
+ this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
484
+ this.elqLib.add_field_mapping({ elementId: 'contact-email', elqFieldName: 'C_EmailAddress' });
485
+ this.elqLib.add_field_mapping({ elementId: 'contact-firstname', elqFieldName: 'C_FirstName' });
486
+ this.elqLib.add_field_mapping({ elementId: 'contact-lastname', elqFieldName: 'C_LastName' });
487
+ this.elqLib.add_field_mapping({ elementId: 'contact-country', elqFieldName: 'C_Country' });
488
+ this.elqLib.add_field_mapping({ elementId: 'contact-phone', elqFieldName: 'C_BusPhone' });
489
+ this.elqLib.add_field_mapping({ elementId: 'company', elqFieldName: 'C_Company' });
490
+ this.elqLib.add_field_mapping({ elementId: 'contact-state', elqFieldName: 'C_State_Prov' });
491
+ this.elqLib.add_field_mapping({ elementId: 'contact-zipcode', elqFieldName: 'C_Zip_Postal' });
492
+ this.elqLib.add_field_mapping({ elementId: 'contact-job-category', elqFieldName: 'C_Job_Role1' });
493
+ this.elqLib.add_field_mapping({ elementId: 'contact-job-function', elqFieldName: 'C_Job_Function1' });
494
+ this.elqLib.add_field_mapping({ elementId: 'contact-jp-job-title', elqFieldName: 'C_Title' });
495
+ }
496
+ getCookie(name) {
497
+ let cookieValue = null;
498
+ if (document.cookie) {
499
+ const cookies = document.cookie.split(';');
500
+ for (let cookie of cookies) {
501
+ const [key, value] = cookie.trim().split('=');
502
+ if (key === name) {
503
+ cookieValue = decodeURIComponent(value);
504
+ break;
505
+ }
506
+ }
507
+ }
508
+ return cookieValue;
509
+ }
510
+ init_notme() {
511
+ const topAdditional = document.getElementById('not-me-additional-top');
512
+ const bottomAdditional = document.getElementById('not-me-additional-bottom');
513
+ console.log("top: " + topAdditional);
514
+ if (topAdditional)
515
+ topAdditional.style.display = 'none';
516
+ if (bottomAdditional)
517
+ bottomAdditional.style.display = 'none';
518
+ }
519
+ async performDataLookup() {
520
+ if (this.isInitialized) {
521
+ this.elqLib.user_elq_email = this.getCookie('elq-uid');
522
+ this.elqLib.find_eloqua_contact();
523
+ }
524
+ }
525
+ render() {
526
+ return h("slot", null);
527
+ }
528
+ get el() { return getElement(this); }
529
+ };
530
530
  PtcDataLookup.style = ptcDataLookupCss;
531
531
 
532
532
  export { PtcDataLookup as ptc_data_lookup };