@ptcwebops/ptcw-design 0.9.6 → 0.9.8

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 (334) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/bundle-example.cjs.entry.js +31 -16
  3. package/dist/cjs/dropdown-item.cjs.entry.js +10 -10
  4. package/dist/cjs/icon-asset.cjs.entry.js +42 -42
  5. package/dist/cjs/list-item.cjs.entry.js +19 -19
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/lottie-player.cjs.entry.js +354 -354
  8. package/dist/cjs/max-width-container.cjs.entry.js +29 -29
  9. package/dist/cjs/my-component.cjs.entry.js +15 -15
  10. package/dist/cjs/ptc-accordion-item.cjs.entry.js +83 -83
  11. package/dist/cjs/ptc-accordion.cjs.entry.js +35 -35
  12. package/dist/cjs/ptc-announcement.cjs.entry.js +50 -50
  13. package/dist/cjs/ptc-background-video.cjs.entry.js +16 -16
  14. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
  15. package/dist/cjs/ptc-button.cjs.entry.js +35 -35
  16. package/dist/cjs/ptc-card-bottom_3.cjs.entry.js +124 -132
  17. package/dist/cjs/ptc-card-content.cjs.entry.js +57 -50
  18. package/dist/cjs/ptc-card_6.cjs.entry.js +442 -442
  19. package/dist/cjs/ptc-checkbox.cjs.entry.js +51 -34
  20. package/dist/cjs/ptc-collapse-list.cjs.entry.js +346 -346
  21. package/dist/cjs/ptc-container.cjs.entry.js +32 -32
  22. package/dist/cjs/ptc-dropdown.cjs.entry.js +65 -65
  23. package/dist/cjs/ptc-dynamic-card.cjs.entry.js +46 -46
  24. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +38 -38
  25. package/dist/cjs/ptc-filter-tag.cjs.entry.js +57 -57
  26. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +11 -11
  27. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  28. package/dist/cjs/ptc-icon-list.cjs.entry.js +21 -21
  29. package/dist/cjs/ptc-icon-minimize.cjs.entry.js +36 -36
  30. package/dist/cjs/ptc-link.cjs.entry.js +30 -30
  31. package/dist/cjs/ptc-list.cjs.entry.js +49 -49
  32. package/dist/cjs/ptc-lottie.cjs.entry.js +10 -10
  33. package/dist/cjs/ptc-media-card.cjs.entry.js +24 -24
  34. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  35. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  36. package/dist/cjs/ptc-mobile-select.cjs.entry.js +53 -53
  37. package/dist/cjs/ptc-modal.cjs.entry.js +143 -143
  38. package/dist/cjs/ptc-nav-card.cjs.entry.js +38 -38
  39. package/dist/cjs/ptc-overlay.cjs.entry.js +24 -24
  40. package/dist/cjs/ptc-pagenation.cjs.entry.js +210 -106
  41. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -10
  42. package/dist/cjs/ptc-pricing-block.cjs.entry.js +20 -20
  43. package/dist/cjs/ptc-pricing-tabs.cjs.entry.js +102 -67
  44. package/dist/cjs/ptc-quote.cjs.entry.js +23 -23
  45. package/dist/cjs/ptc-readmore.cjs.entry.js +71 -71
  46. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  47. package/dist/cjs/ptc-search-field.cjs.entry.js +43 -43
  48. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +50 -50
  49. package/dist/cjs/ptc-social-share.cjs.entry.js +59 -59
  50. package/dist/cjs/ptc-span.cjs.entry.js +18 -18
  51. package/dist/cjs/ptc-sticky-icons.cjs.entry.js +32 -32
  52. package/dist/cjs/ptc-svg-btn.cjs.entry.js +73 -73
  53. package/dist/cjs/ptc-tab-list.cjs.entry.js +125 -125
  54. package/dist/cjs/ptc-tab.cjs.entry.js +20 -20
  55. package/dist/cjs/ptc-tabs.cjs.entry.js +47 -47
  56. package/dist/cjs/ptc-text-copy-with-background.cjs.entry.js +27 -27
  57. package/dist/cjs/ptc-title.cjs.entry.js +67 -67
  58. package/dist/cjs/ptc-tooltip.cjs.entry.js +78 -77
  59. package/dist/cjs/ptc-two-column-media.cjs.entry.js +15 -15
  60. package/dist/cjs/ptcw-design.cjs.js +1 -1
  61. package/dist/cjs/tab-content.cjs.entry.js +27 -27
  62. package/dist/cjs/tab-header.cjs.entry.js +45 -45
  63. package/dist/cjs/{utils-9eb22041.js → utils-416c94fe.js} +90 -90
  64. package/dist/collection/components/bundle-example/bundle-example.css +16 -6
  65. package/dist/collection/components/bundle-example/bundle-example.js +58 -32
  66. package/dist/collection/components/dropdown-item/dropdown-item.js +61 -61
  67. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  68. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  69. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  70. package/dist/collection/components/icon-asset/media/designer.svg +387 -387
  71. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  72. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  73. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  74. package/dist/collection/components/list-item/list-item.js +107 -107
  75. package/dist/collection/components/max-width-container/max-width-container.css +7 -7
  76. package/dist/collection/components/max-width-container/max-width-container.js +80 -80
  77. package/dist/collection/components/my-component/my-component.css +3 -3
  78. package/dist/collection/components/my-component/my-component.js +82 -82
  79. package/dist/collection/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.js +287 -287
  80. package/dist/collection/components/ptc-accordion/ptc-accordion.js +78 -78
  81. package/dist/collection/components/ptc-announcement/ptc-announcement.js +238 -238
  82. package/dist/collection/components/ptc-background-video/ptc-background-video.js +102 -102
  83. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +22 -22
  84. package/dist/collection/components/ptc-button/ptc-button.js +283 -283
  85. package/dist/collection/components/ptc-card/ptc-card.css +1 -1
  86. package/dist/collection/components/ptc-card/ptc-card.js +344 -344
  87. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +116 -116
  88. package/dist/collection/components/ptc-card-content/ptc-card-content.js +212 -187
  89. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +11 -7
  90. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.js +214 -197
  91. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +18 -1
  92. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +152 -118
  93. package/dist/collection/components/ptc-collapse-list/ptc-collapse-list.js +586 -586
  94. package/dist/collection/components/ptc-container/ptc-container.js +120 -120
  95. package/dist/collection/components/ptc-date/ptc-date.js +190 -190
  96. package/dist/collection/components/ptc-dropdown/ptc-dropdown.css +1 -1
  97. package/dist/collection/components/ptc-dropdown/ptc-dropdown.js +162 -162
  98. package/dist/collection/components/ptc-dynamic-card/media/nav-active-dotslick.svg +15 -15
  99. package/dist/collection/components/ptc-dynamic-card/ptc-dynamic-card.js +182 -182
  100. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +122 -122
  101. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +113 -113
  102. package/dist/collection/components/ptc-hero/ptc-hero.js +86 -86
  103. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +78 -78
  104. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +127 -127
  105. package/dist/collection/components/ptc-icon-minimize/ptc-icon-minimize.js +87 -87
  106. package/dist/collection/components/ptc-img/ptc-img.js +293 -293
  107. package/dist/collection/components/ptc-link/ptc-link.js +222 -222
  108. package/dist/collection/components/ptc-list/ptc-list.js +99 -99
  109. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  110. package/dist/collection/components/ptc-lottie/ptc-lottie.js +62 -62
  111. package/dist/collection/components/ptc-media-card/ptc-media-card.js +216 -216
  112. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +18 -18
  113. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +81 -81
  114. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +190 -190
  115. package/dist/collection/components/ptc-modal/ptc-modal.js +347 -347
  116. package/dist/collection/components/ptc-nav-card/ptc-nav-card.js +208 -208
  117. package/dist/collection/components/ptc-overlay/ptc-overlay.css +1 -0
  118. package/dist/collection/components/ptc-overlay/ptc-overlay.js +131 -131
  119. package/dist/collection/components/ptc-pagenation/ptc-pagenation.css +86 -0
  120. package/dist/collection/components/ptc-pagenation/ptc-pagenation.js +447 -322
  121. package/dist/collection/components/ptc-para/ptc-para.js +224 -224
  122. package/dist/collection/components/ptc-picture/ptc-picture.js +450 -450
  123. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +60 -60
  124. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +70 -70
  125. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.css +11 -0
  126. package/dist/collection/components/ptc-pricing-tabs/ptc-pricing-tabs.js +217 -148
  127. package/dist/collection/components/ptc-quote/ptc-quote.js +144 -144
  128. package/dist/collection/components/ptc-readmore/ptc-readmore.js +296 -296
  129. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  130. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +65 -65
  131. package/dist/collection/components/ptc-search-field/ptc-search-field.css +19 -1
  132. package/dist/collection/components/ptc-search-field/ptc-search-field.js +140 -140
  133. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +97 -97
  134. package/dist/collection/components/ptc-skeleton/ptc-skeleton.css +1 -1
  135. package/dist/collection/components/ptc-skeleton/ptc-skeleton.js +139 -146
  136. package/dist/collection/components/ptc-social-share/ptc-social-share.js +239 -239
  137. package/dist/collection/components/ptc-spacer/ptc-spacer.css +332 -332
  138. package/dist/collection/components/ptc-spacer/ptc-spacer.js +97 -97
  139. package/dist/collection/components/ptc-span/ptc-span.js +87 -87
  140. package/dist/collection/components/ptc-sticky-icons/ptc-sticky-icons.js +51 -51
  141. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +72 -72
  142. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +177 -177
  143. package/dist/collection/components/ptc-tabs/ptc-tab.js +121 -121
  144. package/dist/collection/components/ptc-tabs/ptc-tabs.js +104 -104
  145. package/dist/collection/components/ptc-text-copy-with-background/ptc-text-copy-with-background.js +166 -166
  146. package/dist/collection/components/ptc-title/ptc-title.js +310 -310
  147. package/dist/collection/components/ptc-tooltip/ptc-tooltip.css +18 -0
  148. package/dist/collection/components/ptc-tooltip/ptc-tooltip.js +265 -246
  149. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +48 -48
  150. package/dist/collection/components/tab-content/tab-content.js +84 -84
  151. package/dist/collection/components/tab-header/tab-header.js +136 -136
  152. package/dist/collection/index.js +1 -1
  153. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  154. package/dist/collection/media/svg-imgs/close.svg +10 -10
  155. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -3
  156. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -3
  157. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  158. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  159. package/dist/collection/media/svg-imgs/union.svg +3 -3
  160. package/dist/collection/utils/component.js +3 -3
  161. package/dist/collection/utils/interfaces.js +11 -11
  162. package/dist/collection/utils/utils.js +92 -92
  163. package/dist/custom-elements/index.js +3927 -3756
  164. package/dist/esm/bundle-example.entry.js +32 -17
  165. package/dist/esm/dropdown-item.entry.js +10 -10
  166. package/dist/esm/icon-asset.entry.js +42 -42
  167. package/dist/esm/list-item.entry.js +19 -19
  168. package/dist/esm/loader.js +1 -1
  169. package/dist/esm/lottie-player.entry.js +354 -354
  170. package/dist/esm/max-width-container.entry.js +29 -29
  171. package/dist/esm/my-component.entry.js +15 -15
  172. package/dist/esm/polyfills/core-js.js +0 -0
  173. package/dist/esm/polyfills/dom.js +0 -0
  174. package/dist/esm/polyfills/es5-html-element.js +0 -0
  175. package/dist/esm/polyfills/index.js +0 -0
  176. package/dist/esm/polyfills/system.js +0 -0
  177. package/dist/esm/ptc-accordion-item.entry.js +83 -83
  178. package/dist/esm/ptc-accordion.entry.js +35 -35
  179. package/dist/esm/ptc-announcement.entry.js +50 -50
  180. package/dist/esm/ptc-background-video.entry.js +16 -16
  181. package/dist/esm/ptc-breadcrumb.entry.js +12 -12
  182. package/dist/esm/ptc-button.entry.js +35 -35
  183. package/dist/esm/ptc-card-bottom_3.entry.js +124 -132
  184. package/dist/esm/ptc-card-content.entry.js +57 -50
  185. package/dist/esm/ptc-card_6.entry.js +442 -442
  186. package/dist/esm/ptc-checkbox.entry.js +51 -34
  187. package/dist/esm/ptc-collapse-list.entry.js +346 -346
  188. package/dist/esm/ptc-container.entry.js +32 -32
  189. package/dist/esm/ptc-dropdown.entry.js +65 -65
  190. package/dist/esm/ptc-dynamic-card.entry.js +46 -46
  191. package/dist/esm/ptc-ellipsis-dropdown.entry.js +38 -38
  192. package/dist/esm/ptc-filter-tag.entry.js +57 -57
  193. package/dist/esm/ptc-hero-footer-cta.entry.js +11 -11
  194. package/dist/esm/ptc-hero.entry.js +18 -18
  195. package/dist/esm/ptc-icon-list.entry.js +21 -21
  196. package/dist/esm/ptc-icon-minimize.entry.js +36 -36
  197. package/dist/esm/ptc-link.entry.js +30 -30
  198. package/dist/esm/ptc-list.entry.js +49 -49
  199. package/dist/esm/ptc-lottie.entry.js +10 -10
  200. package/dist/esm/ptc-media-card.entry.js +24 -24
  201. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  202. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  203. package/dist/esm/ptc-mobile-select.entry.js +53 -53
  204. package/dist/esm/ptc-modal.entry.js +143 -143
  205. package/dist/esm/ptc-nav-card.entry.js +38 -38
  206. package/dist/esm/ptc-overlay.entry.js +24 -24
  207. package/dist/esm/ptc-pagenation.entry.js +210 -106
  208. package/dist/esm/ptc-previous-url.entry.js +10 -10
  209. package/dist/esm/ptc-pricing-block.entry.js +20 -20
  210. package/dist/esm/ptc-pricing-tabs.entry.js +102 -67
  211. package/dist/esm/ptc-quote.entry.js +23 -23
  212. package/dist/esm/ptc-readmore.entry.js +71 -71
  213. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  214. package/dist/esm/ptc-search-field.entry.js +43 -43
  215. package/dist/esm/ptc-shopping-cart.entry.js +50 -50
  216. package/dist/esm/ptc-social-share.entry.js +59 -59
  217. package/dist/esm/ptc-span.entry.js +18 -18
  218. package/dist/esm/ptc-sticky-icons.entry.js +32 -32
  219. package/dist/esm/ptc-svg-btn.entry.js +73 -73
  220. package/dist/esm/ptc-tab-list.entry.js +125 -125
  221. package/dist/esm/ptc-tab.entry.js +20 -20
  222. package/dist/esm/ptc-tabs.entry.js +47 -47
  223. package/dist/esm/ptc-text-copy-with-background.entry.js +27 -27
  224. package/dist/esm/ptc-title.entry.js +67 -67
  225. package/dist/esm/ptc-tooltip.entry.js +78 -77
  226. package/dist/esm/ptc-two-column-media.entry.js +15 -15
  227. package/dist/esm/ptcw-design.js +1 -1
  228. package/dist/esm/tab-content.entry.js +27 -27
  229. package/dist/esm/tab-header.entry.js +45 -45
  230. package/dist/esm/{utils-38decc43.js → utils-f937097d.js} +90 -90
  231. package/dist/ptcw-design/media/brands.svg +1381 -1381
  232. package/dist/ptcw-design/media/designer.svg +387 -387
  233. package/dist/ptcw-design/media/nav-active-dotslick.svg +15 -15
  234. package/dist/ptcw-design/media/regular.svg +463 -463
  235. package/dist/ptcw-design/media/solid.svg +3013 -3013
  236. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  237. package/dist/ptcw-design/{p-631238df.entry.js → p-2881a1ba.entry.js} +1 -1
  238. package/dist/ptcw-design/{p-8bcb2fab.entry.js → p-32b81dde.entry.js} +1 -1
  239. package/dist/ptcw-design/{p-9ae79cae.entry.js → p-3fc703a5.entry.js} +1 -1
  240. package/dist/ptcw-design/{p-b48a3e6f.entry.js → p-45c0076d.entry.js} +1 -1
  241. package/dist/ptcw-design/p-70aaa602.entry.js +1 -0
  242. package/dist/ptcw-design/p-71f68949.entry.js +1 -0
  243. package/dist/ptcw-design/p-7a728178.entry.js +1 -0
  244. package/dist/ptcw-design/p-854cbe46.entry.js +1 -0
  245. package/dist/ptcw-design/{p-fa17a02e.entry.js → p-8d210676.entry.js} +1 -1
  246. package/dist/ptcw-design/p-a4db6bb8.entry.js +1 -0
  247. package/dist/ptcw-design/p-aa19f4cf.entry.js +1 -0
  248. package/dist/ptcw-design/p-ad487b1e.entry.js +1 -0
  249. package/dist/ptcw-design/p-bf48a5e7.entry.js +1 -0
  250. package/dist/ptcw-design/p-fd50c3b4.entry.js +1 -0
  251. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  252. package/dist/types/components/bundle-example/bundle-example.d.ts +10 -5
  253. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -5
  254. package/dist/types/components/icon-asset/icon-asset.d.ts +40 -40
  255. package/dist/types/components/list-item/list-item.d.ts +8 -8
  256. package/dist/types/components/max-width-container/max-width-container.d.ts +9 -9
  257. package/dist/types/components/my-component/my-component.d.ts +16 -16
  258. package/dist/types/components/ptc-accordion/ptc-accordion-item/ptc-accordion-item.d.ts +59 -59
  259. package/dist/types/components/ptc-accordion/ptc-accordion.d.ts +13 -13
  260. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +51 -51
  261. package/dist/types/components/ptc-background-video/ptc-background-video.d.ts +26 -26
  262. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  263. package/dist/types/components/ptc-button/ptc-button.d.ts +60 -60
  264. package/dist/types/components/ptc-card/ptc-card.d.ts +67 -67
  265. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  266. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +19 -18
  267. package/dist/types/components/ptc-card-wrapper/ptc-card-wrapper.d.ts +24 -23
  268. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +14 -11
  269. package/dist/types/components/ptc-collapse-list/ptc-collapse-list.d.ts +56 -56
  270. package/dist/types/components/ptc-container/ptc-container.d.ts +12 -12
  271. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  272. package/dist/types/components/ptc-dropdown/ptc-dropdown.d.ts +19 -19
  273. package/dist/types/components/ptc-dynamic-card/ptc-dynamic-card.d.ts +24 -24
  274. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +12 -12
  275. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +17 -17
  276. package/dist/types/components/ptc-hero/ptc-hero.d.ts +16 -16
  277. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  278. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  279. package/dist/types/components/ptc-icon-minimize/ptc-icon-minimize.d.ts +9 -9
  280. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  281. package/dist/types/components/ptc-link/ptc-link.d.ts +44 -44
  282. package/dist/types/components/ptc-list/ptc-list.d.ts +8 -8
  283. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  284. package/dist/types/components/ptc-media-card/ptc-media-card.d.ts +45 -45
  285. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  286. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  287. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +36 -36
  288. package/dist/types/components/ptc-modal/ptc-modal.d.ts +59 -59
  289. package/dist/types/components/ptc-nav-card/ptc-nav-card.d.ts +42 -42
  290. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +21 -21
  291. package/dist/types/components/ptc-pagenation/ptc-pagenation.d.ts +31 -27
  292. package/dist/types/components/ptc-para/ptc-para.d.ts +43 -43
  293. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  294. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
  295. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +7 -7
  296. package/dist/types/components/ptc-pricing-tabs/ptc-pricing-tabs.d.ts +43 -31
  297. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  298. package/dist/types/components/ptc-readmore/ptc-readmore.d.ts +57 -57
  299. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  300. package/dist/types/components/ptc-search-field/ptc-search-field.d.ts +14 -14
  301. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -6
  302. package/dist/types/components/ptc-skeleton/ptc-skeleton.d.ts +10 -10
  303. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +33 -33
  304. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  305. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  306. package/dist/types/components/ptc-sticky-icons/ptc-sticky-icons.d.ts +7 -7
  307. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  308. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +19 -19
  309. package/dist/types/components/ptc-tabs/ptc-tab.d.ts +9 -9
  310. package/dist/types/components/ptc-tabs/ptc-tabs.d.ts +10 -10
  311. package/dist/types/components/ptc-text-copy-with-background/ptc-text-copy-with-background.d.ts +33 -33
  312. package/dist/types/components/ptc-title/ptc-title.d.ts +54 -54
  313. package/dist/types/components/ptc-tooltip/ptc-tooltip.d.ts +47 -43
  314. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  315. package/dist/types/components/tab-content/tab-content.d.ts +12 -12
  316. package/dist/types/components/tab-header/tab-header.d.ts +14 -14
  317. package/dist/types/components.d.ts +168 -110
  318. package/dist/types/global.d.ts +1072 -1072
  319. package/dist/types/index.d.ts +1 -1
  320. package/dist/types/utils/component.d.ts +1 -1
  321. package/dist/types/utils/interfaces.d.ts +31 -31
  322. package/dist/types/utils/utils.d.ts +5 -5
  323. package/package.json +61 -61
  324. package/readme.md +18 -18
  325. package/dist/ptcw-design/p-001a0b9f.entry.js +0 -1
  326. package/dist/ptcw-design/p-294df3ac.entry.js +0 -1
  327. package/dist/ptcw-design/p-446df289.entry.js +0 -1
  328. package/dist/ptcw-design/p-4882c5fc.entry.js +0 -1
  329. package/dist/ptcw-design/p-5c295f08.entry.js +0 -1
  330. package/dist/ptcw-design/p-915784a1.entry.js +0 -1
  331. package/dist/ptcw-design/p-c177667e.entry.js +0 -1
  332. package/dist/ptcw-design/p-c460476d.entry.js +0 -1
  333. package/dist/ptcw-design/p-fe812eaf.entry.js +0 -1
  334. /package/dist/ptcw-design/{p-36665caa.js → p-ea875d9e.js} +0 -0
@@ -1 +1 @@
1
- export { Components, JSX } from './components';
1
+ export { Components, JSX } from './components';
@@ -1 +1 @@
1
- export declare const hasSlot: (HTMLElement: any, string?: any) => boolean;
1
+ export declare const hasSlot: (HTMLElement: any, string?: any) => boolean;
@@ -1,31 +1,31 @@
1
- type CssClassMap = {
2
- [className: string]: boolean;
3
- };
4
- type StylesMap = {
5
- [key: string]: string;
6
- };
7
- declare let ResponsiveBgVariables: {
8
- envs: string[];
9
- selector: string;
10
- interval: number;
11
- };
12
- declare let ResponsivePictureVariables: {
13
- envs: string[];
14
- selector: string;
15
- interval: number;
16
- };
17
- export { StylesMap, CssClassMap, ResponsiveBgVariables, ResponsivePictureVariables };
18
- export interface ITabData {
19
- select: () => void;
20
- unselect: () => void;
21
- name: string;
22
- }
23
- export interface ITabHeaderData extends ITabData {
24
- id: string;
25
- }
26
- export interface ITabContentData extends ITabData {
27
- }
28
- export interface ITabGroup {
29
- header: ITabHeaderData;
30
- content: ITabContentData;
31
- }
1
+ type CssClassMap = {
2
+ [className: string]: boolean;
3
+ };
4
+ type StylesMap = {
5
+ [key: string]: string;
6
+ };
7
+ declare let ResponsiveBgVariables: {
8
+ envs: string[];
9
+ selector: string;
10
+ interval: number;
11
+ };
12
+ declare let ResponsivePictureVariables: {
13
+ envs: string[];
14
+ selector: string;
15
+ interval: number;
16
+ };
17
+ export { StylesMap, CssClassMap, ResponsiveBgVariables, ResponsivePictureVariables };
18
+ export interface ITabData {
19
+ select: () => void;
20
+ unselect: () => void;
21
+ name: string;
22
+ }
23
+ export interface ITabHeaderData extends ITabData {
24
+ id: string;
25
+ }
26
+ export interface ITabContentData extends ITabData {
27
+ }
28
+ export interface ITabGroup {
29
+ header: ITabHeaderData;
30
+ content: ITabContentData;
31
+ }
@@ -1,5 +1,5 @@
1
- export declare function format(first: string, middle: string, last: string): string;
2
- export declare function MapDOM(domElement: HTMLElement, selector?: string, toString?: boolean): any;
3
- export declare function generateUUID(): string;
4
- export declare function debounce(func: Function, wait: number, referer?: any): (e: any) => void;
5
- export declare function getFileExtension(filePath: string): string;
1
+ export declare function format(first: string, middle: string, last: string): string;
2
+ export declare function MapDOM(domElement: HTMLElement, selector?: string, toString?: boolean): any;
3
+ export declare function generateUUID(): string;
4
+ export declare function debounce(func: Function, wait: number, referer?: any): (e: any) => void;
5
+ export declare function getFileExtension(filePath: string): string;
package/package.json CHANGED
@@ -1,61 +1,61 @@
1
- {
2
- "name": "@ptcwebops/ptcw-design",
3
- "version": "0.9.6",
4
- "description": "Stencil Component Starter",
5
- "main": "dist/index.cjs.js",
6
- "module": "./dist/index.js",
7
- "es2015": "dist/esm/index.mjs",
8
- "es2017": "dist/esm/index.mjs",
9
- "types": "dist/custom-elements/index.d.ts",
10
- "collection": "dist/collection/collection-manifest.json",
11
- "collection:main": "dist/collection/index.js",
12
- "unpkg": "dist/ptcw-design/ptcw-design.esm.js",
13
- "files": [
14
- "dist/",
15
- "loader/"
16
- ],
17
- "scripts": {
18
- "build": "stencil build --docs",
19
- "start": "stencil build --dev --watch --serve",
20
- "test": "stencil test --spec --e2e",
21
- "test.watch": "stencil test --spec --e2e --watchAll",
22
- "test.unit": "stencil test --spec",
23
- "test.end-to-end": "stencil test --e2e",
24
- "test.unit.watch": "stencil test --spec --watch",
25
- "generate": "stencil generate",
26
- "prepare": "stencil build --docs"
27
- },
28
- "dependencies": {
29
- "@daveberning/griddle": "^0.3.0",
30
- "@stencil/core": "^2.20.0",
31
- "@teamhive/lottie-player": "^1.0.0",
32
- "ellipsize": "^0.5.1",
33
- "enquire.js": "^2.1.6",
34
- "npmrc": "^1.1.1",
35
- "resize-observer-polyfill": "^1.5.1"
36
- },
37
- "license": "MIT",
38
- "devDependencies": {
39
- "@stencil/sass": "^1.4.1",
40
- "@types/jest": "^27.0.3",
41
- "jest": "^27.4.5",
42
- "jest-cli": "^27.4.5",
43
- "mobile-select": "^1.1.2",
44
- "puppeteer": "^10.0.0",
45
- "stencil-inline-svg": "^1.1.0"
46
- },
47
- "directories": {
48
- "doc": "docs"
49
- },
50
- "repository": {
51
- "type": "git",
52
- "url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
53
- },
54
- "keywords": [
55
- "design system",
56
- "web components",
57
- "stenciljs"
58
- ],
59
- "author": "Yunfeng Qian",
60
- "homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme"
61
- }
1
+ {
2
+ "name": "@ptcwebops/ptcw-design",
3
+ "version": "0.9.8",
4
+ "description": "Stencil Component Starter",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "./dist/index.js",
7
+ "es2015": "dist/esm/index.mjs",
8
+ "es2017": "dist/esm/index.mjs",
9
+ "types": "dist/custom-elements/index.d.ts",
10
+ "collection": "dist/collection/collection-manifest.json",
11
+ "collection:main": "dist/collection/index.js",
12
+ "unpkg": "dist/ptcw-design/ptcw-design.esm.js",
13
+ "files": [
14
+ "dist/",
15
+ "loader/"
16
+ ],
17
+ "scripts": {
18
+ "build": "stencil build --docs",
19
+ "start": "stencil build --dev --watch --serve",
20
+ "test": "stencil test --spec --e2e",
21
+ "test.watch": "stencil test --spec --e2e --watchAll",
22
+ "test.unit": "stencil test --spec",
23
+ "test.end-to-end": "stencil test --e2e",
24
+ "test.unit.watch": "stencil test --spec --watch",
25
+ "generate": "stencil generate",
26
+ "prepare": "stencil build --docs"
27
+ },
28
+ "dependencies": {
29
+ "@daveberning/griddle": "^0.3.0",
30
+ "@stencil/core": "^2.20.0",
31
+ "@teamhive/lottie-player": "^1.0.0",
32
+ "ellipsize": "^0.5.1",
33
+ "enquire.js": "^2.1.6",
34
+ "npmrc": "^1.1.1",
35
+ "resize-observer-polyfill": "^1.5.1"
36
+ },
37
+ "license": "MIT",
38
+ "devDependencies": {
39
+ "@stencil/sass": "^1.4.1",
40
+ "@types/jest": "^27.0.3",
41
+ "jest": "^27.4.5",
42
+ "jest-cli": "^27.4.5",
43
+ "mobile-select": "^1.1.2",
44
+ "puppeteer": "^10.0.0",
45
+ "stencil-inline-svg": "^1.1.0"
46
+ },
47
+ "directories": {
48
+ "doc": "docs"
49
+ },
50
+ "repository": {
51
+ "type": "git",
52
+ "url": "git+https://@bitbucket.org/ptc-sitecore-workspace/ptc-design-system.git"
53
+ },
54
+ "keywords": [
55
+ "design system",
56
+ "web components",
57
+ "stenciljs"
58
+ ],
59
+ "author": "Yunfeng Qian",
60
+ "homepage": "https://bitbucket.org/ptc-sitecore-workspace/ptc-design-system#readme"
61
+ }
package/readme.md CHANGED
@@ -1,18 +1,18 @@
1
- ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
-
3
- # PTC Design 0.9.6
4
- The site is the place for documentation on PTC Design System
5
-
6
- ## Building the Site
7
-
8
- To build the site from the source, ensure you're using the most recent versions of Node and Npm, and pull the latest from master. Next, run `npm install`, `npm run docs` to build the docs files and `npm run start` to launch the site in development mode.
9
-
10
- ## Project Tools
11
-
12
- * stenciljs 2.20.0
13
- * Node 18.13.0
14
- * npm 8.19.3
15
- * jest 27.4.5
16
- * puppeteer 10.0.0
17
-
18
- ## License
1
+ ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square)
2
+
3
+ # PTC Design 0.9.8
4
+ The site is the place for documentation on PTC Design System
5
+
6
+ ## Building the Site
7
+
8
+ To build the site from the source, ensure you're using the most recent versions of Node and Npm, and pull the latest from master. Next, run `npm install`, `npm run docs` to build the docs files and `npm run start` to launch the site in development mode.
9
+
10
+ ## Project Tools
11
+
12
+ * stenciljs 2.20.0
13
+ * Node 18.13.0
14
+ * npm 8.19.3
15
+ * jest 27.4.5
16
+ * puppeteer 10.0.0
17
+
18
+ ## License
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i}from"./p-9fb2ab8c.js";const s=class{constructor(i){t(this,i),this.pageClicked=e(this,"pageClicked",7),this.handleClick=()=>{this.clickedPageNumber<this.getPageCount()&&(this.clickedPageNumber+1<=this.maxPageNumber?this.handleClickPage(this.clickedPageNumber+1):(this.minPageNumber=this.minPageNumber+4,this.clickedPageNumber=this.clickedPageNumber+1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.handleClickPrev=()=>{this.clickedPageNumber>1&&(this.clickedPageNumber-1>=this.minPageNumber?this.handleClickPage(this.clickedPageNumber-1):(this.minPageNumber=this.minPageNumber-4,this.clickedPageNumber=this.clickedPageNumber-1,this.appendArray=!0,this.pageNumbers=[...this.pageNumbers],this.pageClicked.emit(this.clickedPageNumber)))},this.getPageCount=()=>{let t=0;return 0!=this.totalCount&&(t=this.totalCount%this.numberOfItems==0?this.totalCount/this.numberOfItems:this.totalCount/this.numberOfItems+1),Math.floor(t)},this.getIndex=t=>{if(t){let t=this.getPageCount();this.maxPageNumber=t>=this.minPageNumber+3?this.minPageNumber+3:t,this.pageNumbers=[];for(let t=this.minPageNumber;t<=this.maxPageNumber;t++){let e=!1;t==this.clickedPageNumber&&(e=!0),this.pageNumbers=[...this.pageNumbers,{id:t+"Id",isActive:e,dataPage:t}]}}return this.pageNumbers},this.totalCount=void 0,this.numberOfItems=9,this.previousValue="Previous",this.lastValue="Next",this.pageNumbers=[],this.minPageNumber=1,this.maxPageNumber=4,this.clickedPageNumber=1,this.appendArray=!0,this.prevArrowImg="/dist/ptc/images/sidescroll-left-curved.svg",this.nextArrowImg="/dist/ptc/images/sidescroll-right-curved.svg"}render(){let t=this.getPageCount();return this.pageNumbers=[...this.getIndex(this.appendArray)],i("div",{class:"events-filter"},i("span",{class:1==this.clickedPageNumber?"events-filter-item disabled prev-text":"events-filter-item prev-text"},this.previousValue),i("img",{src:this.prevArrowImg,onClick:this.handleClickPrev,class:1==this.clickedPageNumber?"pagenation-arrow prev-page events-disable-arrows":"pagenation-arrow prev-page"}),this.pageNumbers.map((t=>i("a",{href:"#","data-url":t.id,"data-page":t.dataPage,class:t.isActive?"events-filter-item active":"events-filter-item",onClick:()=>this.handleClickPage(t.dataPage)},t.dataPage))),t>this.maxPageNumber?i("span",{class:"events-filter-dots"},". . ."):null,i("img",{src:this.nextArrowImg,onClick:this.handleClick,class:this.clickedPageNumber==t?"pagenation-arrow last-page events-disable-arrows":"pagenation-arrow last-page"}),i("span",{class:this.clickedPageNumber==t?"events-filter-item disabled last-text":"events-filter-item last-text"},this.lastValue))}handleClickPage(t){this.clickedPageNumber=t;let e=[];this.appendArray=!1,e=[...this.pageNumbers],e.map((e=>{e.isActive=e.dataPage==t})),this.pageNumbers=null,this.pageNumbers=[...e],this.pageClicked.emit(t)}};s.style=":host{display:block}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline}.last-text{display:inline}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-10);text-decoration:none}.events-filter .active{font-family:var(--ptc-font-latin);border-bottom:2px solid var(--color-green-13);font-weight:var(--ptc-font-weight-semibold)}.events-filter-item:hover,.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-green-14)}span.events-filter-item:hover,span.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-gray-10)}span.events-filter-item.disabled{color:var(--color-white-01)}.events-filter .disabled{color:var(--color-white-01)}.events-filter-dots{padding:0rem;font-weight:var(--ptc-font-weight-extrabold);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);text-decoration:none}.events-disable-arrows{opacity:0.35}.events-enable-arrows{opacity:1}.events-small-dots{height:60px;margin-top:-25px}@media (min-width: 992px){.events-small-dots{height:80px;margin-top:-40px}}.last-page{transform:rotate(180deg)}";export{s as ptc_pagenation}
@@ -1 +0,0 @@
1
- import{r as t,c as a,h as e,H as o,g as i}from"./p-9fb2ab8c.js";const s=class{constructor(e){t(this,e),this.hoverEvent=a(this,"hoverEvent",7),this.leaveEvent=a(this,"leaveEvent",7),this.cardType=void 0,this.styles=void 0}hoverEventHandler(){this.hoverEvent.emit(),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||this.el.classList.contains("extra-tall")||(this.el.previousElementSibling.classList.add("mouse-hover"),this.el.classList.add("mouse-hover-card-bottom"))}leaveEventHandler(){this.hoverEvent.emit(),this.el.classList.contains("card-video")||this.el.classList.contains("card-playlist")||this.el.classList.contains("extra-tall")||(this.el.previousElementSibling.classList.remove("mouse-hover"),this.el.classList.remove("mouse-hover-card-bottom"))}render(){const t=this.getCssClassMap();return e(o,{part:"card-bottom",class:t,onMouseEnter:this.hoverEventHandler.bind(this),onMouseLeave:this.leaveEventHandler.bind(this)},this.styles&&e("style",null,this.styles),e("div",{class:"ptc-card-bottom-wrapper"},e("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType}}get el(){return i(this)}};s.style=":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-07) var(--ptc-element-spacing-07) var(--ptc-element-spacing-06);z-index:2}:host(.card-2up) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0px 24px 24px 16px}:host(.card-playlist){flex:72% 2 1;align-self:center}:host(.mouse-hover-card-bottom) .ptc-card-bottom-wrapper{z-index:5;cursor:pointer}:host(.extra-tall){position:absolute;top:0;left:0}:host(.extra-tall) .ptc-card-bottom-wrapper{position:relative;top:0px;left:0px;bottom:0px;right:0px;display:flex;flex-direction:column;align-items:center;width:calc(100% - 64px);padding:var(--ptc-layout-spacing-05) var(--ptc-element-spacing-07);padding-bottom:calc(var(--ptc-layout-spacing-03) + var(--ptc-layout-spacing-05));z-index:2}@media only screen and (min-width: 768px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-bottom:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 1200px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-04) + var(--ptc-layout-spacing-05))}}@media only screen and (min-width: 1440px){:host(.extra-tall) .ptc-card-bottom-wrapper{padding-top:calc(var(--ptc-layout-spacing-05) * 2)}}:host(.color-outlined) .ptc-card-bottom-wrapper{position:absolute;top:50%;transform:translateY(-50%);display:flex;justify-content:center;flex-direction:column;align-items:center;width:calc(100% - 80px);height:100%;padding:0px var(--ptc-element-spacing-08)}@media only screen and (min-width: 768px){:host(.card-2up) .ptc-card-bottom-wrapper{padding:0 32px 32px 24px}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:20% 2 1;justify-content:flex-end}:host(.card-video-intro) .ptc-card-bottom-wrapper{display:flex;justify-content:flex-end}}@media only screen and (min-width: 1440px){:host(.card-2up) .ptc-card-bottom-wrapper{width:70%}}@media only screen and (min-width: 1980px){:host(.card-2up) .ptc-card-bottom-wrapper{width:60%}}";const r=class{constructor(e){t(this,e),this.hoverEvent=a(this,"hoverEvent",7),this.leaveEvent=a(this,"leaveEvent",7),this.cardType=void 0,this.cardLink=void 0,this.linkTitle=void 0,this.linkTarget="_self"}handleResize(){this.checkScreenSize()}hoverEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.add("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-5"))}leaveEventHandler(){this.el.classList.contains("extra-tall")&&(this.hoverEvent.emit(),this.el.classList.remove("extraT-overlay")),this.el.classList.contains("color-outlined")&&(this.hoverEvent.emit(),this.el.querySelector("ptc-overlay").setOverlay("black-4"))}componentDidLoad(){this.checkScreenSize()}render(){const t=this.getCssClassMap(),a=this.cardLink?"a":"div";return e(o,{class:t,onMouseEnter:this.hoverEventHandler.bind(this),onMouseLeave:this.leaveEventHandler.bind(this)},e(a,Object.assign({},this.cardLink?{href:this.cardLink}:{},this.linkTarget&&this.cardLink?{target:this.linkTarget}:{},this.cardLink?{title:this.linkTitle?this.linkTitle:this.cardLink}:{}),e("slot",null)))}getCssClassMap(){return{[this.cardType]:!!this.cardType}}getBtmContentHeight(){return this.el.querySelector("ptc-card-bottom").offsetHeight}checkScreenSize(){if("extra-tall"===this.cardType)if(window.innerWidth<768){const t=this.el.querySelector("ptc-card-content");t&&t.setHeight(this.getBtmContentHeight())}else{const t=this.el.querySelector("ptc-card-content");t&&t.removeInlineHeight()}}get el(){return i(this)}};r.style=':host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video),:host(.card-playlist),:host(.card-2up){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a,:host(.card-playlist) a,:host(.card-2up) a{text-decoration:none !important}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover,:host(.card-playlist) a:hover,:host(.card-2up) a:hover{text-decoration:none}:host(.card-tall) a:focus,:host(.card-wide) a:focus,:host(.card-video) a:focus,:host(.card-playlist) a:focus,:host(.card-2up) a:focus{outline:none;text-decoration:none}:host(.card-tall) a:focus-visible,:host(.card-wide) a:focus-visible,:host(.card-video) a:focus-visible,:host(.card-playlist) a:focus-visible,:host(.card-2up) a:focus-visible{outline:none;text-decoration:none}:host(.card-playlist) div,:host(.card-playlist) a{display:flex;text-decoration:none;outline:none}:host(.card-playlist) div:hover,:host(.card-playlist) a:hover{text-decoration:none;outline:none}:host(.card-video-intro){border-bottom-left-radius:var(--ptc-border-radius-large);border-bottom-right-radius:var(--ptc-border-radius-large)}:host(.card-video-intro) div{display:block}:host(.card-video-shadow){box-shadow:var(--ptc-shadow-x-small)}:host(.extra-tall){position:relative}:host(.extra-tall) a{position:relative;display:block;width:100%;height:100%;inset:0px}:host(.color-outlined){position:relative;border-radius:var(--ptc-border-radius-large)}:host(.card-video-p){padding:var(--ptc-element-spacing-05);padding-bottom:var(--ptc-element-spacing-06)}:host(.card-m-right){margin-right:var(--ptc-element-spacing-02)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-02)}:host(.extraT-overlay) a::after{content:"";position:absolute;width:100%;height:100%;background:rgba(0, 0, 0, 0.6);bottom:0;left:0;border-radius:var(--ptc-border-radius-large)}@media only screen and (min-width: 768px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-03)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-m-right){margin-right:var(--ptc-element-spacing-04)}:host(.card-m-left){margin-left:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro) div{display:flex}}';const n=class{constructor(a){t(this,a),this.isLoading=!0,this.animated=!1,this.width="100%",this.borderRadius=void 0,this.topMargin="0px",this.btmMargin="0px"}render(){const t=this.borderRadius||getComputedStyle(document.documentElement).getPropertyValue("--ptc-border-radius-large");return e("div",{class:"content "+(this.animated&&this.isLoading?"animated":""),style:{width:this.width,marginTop:this.topMargin,marginBottom:this.btmMargin}},this.isLoading?e("div",{class:"placeholder",style:{borderRadius:t}}):e("slot",null))}get el(){return i(this)}};n.style=".content{display:flex;align-items:center;justify-content:center;height:100%;}.placeholder{width:100%;height:100%;min-height:1em;background:linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.06) 50%, rgba(255, 255, 255, 0.08) 100%);background-size:400% 100%}@keyframes loading{0%{background-position:200% 0}100%{background-position:-200% 0}}.animated .placeholder{animation:loading 2.5s ease-in-out infinite}";export{s as ptc_card_bottom,r as ptc_card_wrapper,n as ptc_skeleton}
@@ -1 +0,0 @@
1
- import{r,h as a,H as g}from"./p-9fb2ab8c.js";const e=class{constructor(a){r(this,a),this.filterColor=void 0,this.borderRadius=void 0,this.overlayZIndex="z-index-auto",this.styles=void 0}async setOverlay(r){this.filterColor=r}render(){const r=this.getCssClassMap();return a(g,{class:r})}getCssClassMap(){return{[this.filterColor]:!!this.filterColor,[this.borderRadius]:!!this.borderRadius,[this.overlayZIndex]:!0}}};e.style=":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, var(--color-blue-07) 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, var(--color-red-07) 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, var(--color-orange-07) 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, var(--color-green-07) 100%)}:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}:host(.black-4){background:rgba(0, 0, 0, 0.66)}:host(.black-5){background:rgba(0, 0, 0, 0.76)}@media only screen and (min-width: 768px){:host(.black-1){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, var(--color-gray-12) 100%)}:host(.black-2){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, var(--color-gray-12) 100%)}}:host(.black-3){background:linear-gradient(180deg, var(--color-gray-12) 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, var(--color-gray-07) 100%)}:host(.bright-blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.72) 0%, rgba(25, 123, 192, 0.85) 69.27%, rgba(25, 123, 192, 0.4) 100%)}:host(.bright-red){background:linear-gradient(180deg, rgba(211, 62, 62, 0.72) 0%, rgba(211, 62, 62, 0.85) 69.27%, rgba(211, 62, 62, 0.4) 100%)}:host(.bright-orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.72) 0%, rgba(195, 119, 41, 0.85) 69.27%, rgba(195, 119, 41, 0.4) 100%)}:host(.bright-green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.72) 0%, rgba(0, 137, 11, 0.85) 69.27%, rgba(0, 137, 11, 0.4) 100%)}:host(.bright-slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.72) 0%, rgba(97, 116, 128, 0.85) 69.27%, rgba(97, 116, 128, 0.4) 100%)}:host(.radius-standard){border-radius:var(--ptc-border-radius-standard)}:host(.radius-large){border-radius:var(--ptc-border-radius-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";export{e as ptc_overlay}
@@ -1 +0,0 @@
1
- import{r as t,h as i,H as e,g as a}from"./p-9fb2ab8c.js";const r=class{constructor(i){t(this,i),this.cardType="custom-card",this.cardHref=void 0,this.target="_self",this.rel=void 0,this.hasImage=!1,this.hasVideo=!1,this.hasLottie=!1,this.heading=void 0,this.headingTransform="none",this.cardDate=void 0,this.styles=void 0,this.ribbonText=void 0,this.eventType=void 0,this.cardLogo=void 0,this.titleLineCutOff=void 0}render(){const t=this.cardHref?"a":"div",a=this.getCssClassMap(),r=this.getLineCuttoff();let o="";return this.titleLineCutOff&&this.titleLineCutOff>0&&(o=" clamp-title"),i(e,Object.assign({},this.cardType?{class:this.cardType}:{}),this.styles&&i("style",null,this.styles),i("div",{class:"card-border",part:"border-wrapper"},i(t,Object.assign({class:a,part:"card-layout"},this.cardHref?{href:this.cardHref}:{},this.target&&this.cardHref?{target:this.target}:{},this.rel&&this.cardHref?{rel:this.rel}:{},this.ribbonText?{rel:this.ribbonText}:{}),this.hasImage||this.hasLottie||this.hasVideo?i("div",{class:"card-media",part:"media-wrapper"},this.getMediaSlot?i("slot",{name:this.getMediaSlot()}):null):null,this.ribbonText&&"resource-center-card"==this.cardType?i("div",{class:"ribbon-text"},`${this.ribbonText}`):null,i("div",{class:"card-body",part:"body-wrapper"},!this.cardDate||"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType?null:i("div",{class:"card-date-text"},this.eventType?i("span",{class:"small"},`${this.cardDate}`,"   |   ",`${this.eventType}`):i("span",{class:"small"},`${this.cardDate}`)),"case-studies-card"===this.cardType?Object.assign({},this.cardLogo?i("div",{class:"card-logo-container"},i("ptc-picture",{alt:"","object-fit":"contain",src:this.cardLogo,height:"40"})):i("div",{class:"card-logo-none"})):null,i("slot",{name:"slot-before-heading"}),this.heading?[i("h3",{class:`ptc-h3 ${this.headingTransform}${o}`,style:r,part:"card-heading"},this.heading),i("slot",{name:"slot-after-heading"})]:null,i("slot",{name:"slot-description"}),this.cardDate&&"listing-card"!==this.cardType&&"listing-card-horizontal"!==this.cardType&&"hightlight-card"!==this.cardType?i("ptc-date",{"date-string":`${this.cardDate}`,"date-styles":"span{color:#40434a;font-size:var(--ptc-font-size-x-small);margin-top:var(--ptc-element-spacing-06);display:inline-block;}"}):null))))}getCssClassMap(){return{"card-layout":!0,"link-wrapper":!!this.cardType}}getMediaSlot(){return this.hasLottie?"slot-lottie":this.hasVideo?"slot-video":this.hasImage?"slot-image":null}getLineCuttoff(){let t;return this.titleLineCutOff&&this.titleLineCutOff>0&&(t={"-webkit-line-clamp":`${this.titleLineCutOff}`}),t}};r.style=':host{display:block}:host(.lottie-card) .card-border{box-shadow:var(--ptc-shadow-small);border:1px solid var(--color-gray-03);border-radius:10px;position:relative;overflow:hidden}:host(.lottie-card) .card-border::after{content:"";height:40%;width:4px;position:absolute;top:30%;right:-2px;background-color:var(--color-green-06);z-index:2;display:block}:host(.lottie-card) .card-border:hover{box-shadow:var(--ptc-shadow-x-large)}:host(.lottie-card) .card-border:hover .card-body h3{border-bottom:2px solid var(--color-green-07)}:host(.lottie-card) .card-layout{display:block}@media only screen and (min-width: 768px){:host(.lottie-card) .card-layout{display:flex;flex-flow:nowrap row;justify-content:center}}:host(.lottie-card) .link-wrapper{outline:none;text-decoration:none}:host(.lottie-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.lottie-card) .card-media{flex-basis:40%;border-right:1px solid var(--color-gray-03);display:flex}:host(.lottie-card) .card-body{flex-basis:60%;align-self:center;padding:0 30px 10px}:host(.lottie-card) .card-body h3{display:inline-block;line-height:var(--ptc-line-height-densest);color:var(--color-gray-10);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);border-bottom:2px solid transparent;margin-bottom:var(--ptc-element-spacing-02)}:host(.simple-card) .card-layout{display:block}:host(.simple-card) .link-wrapper{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.simple-card) .link-wrapper:hover .card-body h3::before{width:100%}:host(.simple-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-04)}:host(.simple-card) .card-body h3{color:var(--color-gray-10);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-black);line-height:var(--ptc-line-height-dense);position:relative;margin-bottom:var(--ptc-element-spacing-02);display:inline-block}:host(.simple-card) .card-body h3::before{display:block;position:absolute;content:"";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-06);bottom:1px;transition:width var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.simple-card) ::slotted([slot=slot-after-heading]){margin-left:var(--ptc-element-spacing-01);transition:margin-left var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .card-border{overflow:hidden;filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 3px 6px);width:100%}:host(.clip-edge-card) .card-border:hover{filter:drop-shadow(rgba(0, 0, 0, 0.32) 0px 6px 12px)}:host(.clip-edge-card) .card-layout{display:block}:host(.clip-edge-card) .link-wrapper{outline:none;text-decoration:none}:host(.clip-edge-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.clip-edge-card) .card-media{position:relative;width:100%;height:124px;overflow:hidden;border-radius:var(--ptc-border-radius-standard)}:host(.clip-edge-card) .card-body{transform:translateY(calc(-1 * var(--ptc-element-spacing-04)));overflow:hidden;width:calc(95% - var(--ptc-element-spacing-04) - var(--ptc-element-spacing-04));font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);clip-path:var(--ptc-clip-path-bottom-right);background-color:var(--color-white);border-radius:var(--ptc-border-radius-standard);padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}:host(.clip-edge-card) .card-body h3{display:inline-block;margin:0px;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10);text-decoration:none;border-bottom:2px solid transparent;transition:border-bottom var(--ptc-transition-medium) var(--ptc-ease-inout), margin var(--ptc-transition-medium) var(--ptc-ease-inout);margin:var(--ptc-element-spacing-03) 0 var(--ptc-element-spacing-03) 0}:host(.clip-edge-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-image]){display:block;width:100%;height:100%;transform:scale(1);transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transform-origin:top center}:host(.clip-edge-card) ::slotted([slot=slot-after-heading]){position:absolute;top:var(--ptc-element-spacing-03);left:var(--ptc-element-spacing-04);opacity:1;transform:scale(1);height:44px;transform-origin:bottom center;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) ::slotted([slot=slot-before-heading]){display:block;opacity:0;height:24px;transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.clip-edge-card) .link-wrapper:hover .card-body h3{border-bottom:2px solid var(--color-green-06)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:60px;opacity:1}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-image]){transform:scale(1.1)}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-after-heading]){opacity:0;transform:scale(0);height:0}:host(.clip-edge-card) .link-wrapper:hover ::slotted([slot=slot-before-heading]){opacity:1}:host(.hightlight-card) .card-border{width:100%;border-radius:var(--ptc-border-radius-standard);overflow:hidden}:host(.hightlight-card) .card-border:hover .card-media{transform:scale(1.1)}:host(.hightlight-card) .card-layout{display:block;position:relative}:host(.hightlight-card) .link-wrapper{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:96px;opacity:1}@media only screen and (min-width: 768px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}@media only screen and (min-width: 992px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-06)}}@media only screen and (min-width: 1440px){:host(.hightlight-card) .link-wrapper:hover ::slotted([slot=slot-description]){height:var(--ptc-layout-spacing-05)}}:host(.hightlight-card) .card-media{width:100%;height:auto;min-height:450px;position:relative;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.hightlight-card) .card-body{position:absolute;bottom:0;top:auto;left:0;right:auto;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-07);background-color:var(--color-white);box-sizing:border-box}:host(.hightlight-card) .card-body h3{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-bold);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.hightlight-card) ::slotted([slot=slot-description]){height:0;opacity:0;transition:height var(--ptc-transition-medium) var(--ptc-ease-inout), opacity var(--ptc-transition-fast) var(--ptc-ease-inout);transition-delay:var(--ptc-delay-5)}:host(.horizontal-card){margin-bottom:var(--ptc-layout-spacing-02)}:host(.horizontal-card) .card-layout{position:relative}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-layout{display:grid;grid-template-columns:42% 58%;direction:ltr;grid-auto-rows:1fr}}:host(.horizontal-card) .link-wrapper{outline:none;text-decoration:none;transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .link-wrapper:hover{box-shadow:var(--ptc-shadow-large);transition:var(--ptc-transition-slow) linear;background-color:var(--color-white)}:host(.horizontal-card) .link-wrapper:hover h3{border-color:var(--color-green-06);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) .card-media{display:flex;align-self:center}:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-05) var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.horizontal-card) .card-body{padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-07)}}:host(.horizontal-card) .card-body h3{margin-top:0;font-size:var(--ptc-font-size-x-small);color:var(--color-gray-10);border-bottom:1px solid transparent;padding-bottom:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-02);transition:var(--ptc-transition-slow) linear}:host(.horizontal-card) ::slotted([slot=slot-image]){box-shadow:var(--ptc-shadow-medium);width:100%}:host(.listing-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:487px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.listing-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card) .card-border{width:432px;height:487px}}@media (min-width: 768px){:host(.listing-card) .card-border{width:348px;height:456px}}@media (min-width: 992px){:host(.listing-card) .card-border{margin-left:4px;margin-right:4px;width:288px;height:440px}}@media (min-width: 1200px){:host(.listing-card) .card-border{width:260px;height:420px}}@media (min-width: 1440px){:host(.listing-card) .card-border{width:260px;height:420px}}:host(.listing-card) .card-layout{display:block;position:relative;width:100%;height:100%}:host(.listing-card) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card) .card-media{width:100%;height:288px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.listing-card) .card-media .smart-img{height:288px}@media (min-width: 768px){:host(.listing-card) .card-media .smart-img{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media .smart-img{height:170px}}@media (min-width: 768px){:host(.listing-card) .card-media{height:232px}}@media (min-width: 992px){:host(.listing-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.listing-card) .card-media{height:170px}}:host(.listing-card) .card-body{padding:16px 20px 0px 20px}:host(.listing-card) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block;margin-top:0rem}:host(.listing-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:14px;margin-top:0rem}:host(.listing-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}:host(.listing-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.listing-card-horizontal) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:220px}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{margin-bottom:0.5rem}}@media (min-width: 1200px) and (max-width: 1439){:host(.listing-card-horizontal) .card-border{margin-left:16px}}:host(.listing-card-horizontal) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.listing-card-horizontal) .card-border:hover .card-media{background:var(--color-white)}:host(.listing-card-horizontal) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.listing-card-horizontal) .card-border{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-border{width:704px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-border{width:688px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-border{width:779px;height:200px}}:host(.listing-card-horizontal) .card-layout{display:flex;flex-direction:row;width:325px;height:220px}@media (min-width: 480px){:host(.listing-card-horizontal) .card-layout{width:432px;height:178px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-layout{width:704px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-layout{width:688px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-layout{width:779px;height:200px}}:host(.listing-card-horizontal) .link-wrapper{outline:none;text-decoration:none}:host(.listing-card-horizontal) .link-wrapper:hover{outline:none;text-decoration:none}:host(.listing-card-horizontal) .card-media{width:325px;height:224px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium);display:none}:host(.listing-card-horizontal) .card-media .smart-img{height:224px;width:325px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media .smart-img{width:275px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media .smart-img{width:224px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media .smart-img{width:260px;height:200px}}@media (min-width: 768px){:host(.listing-card-horizontal) .card-media{display:block;width:275px;height:210px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-media{width:224px;height:200px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-media{width:260px;height:200px}}:host(.listing-card-horizontal) .card-body{padding:16px 24px 0px 24px}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body{padding:24px 32px 0px 32px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body{padding:8px 16px 0px 16px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body{padding:14px 32px 0px 32px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body{width:505px}}:host(.listing-card-horizontal) .card-body .card-date-text{display:flex;flex-direction:row}:host(.listing-card-horizontal) .card-body .card-date-text p{font-size:var(--ptc-font-size-xx-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:12px;display:inline-block;margin-top:0rem;margin-block-start:0rem}@media only screen and (min-width: 1200px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:20px}}@media only screen and (min-width: 1440px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:24px}}@media only screen and (min-width: 1600px){:host(.listing-card-horizontal) .card-body .card-date-text p{margin-bottom:32px}}:host(.listing-card-horizontal) .card-body .small{font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:16px;display:inline-block}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body .small{margin-bottom:16px}}:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);line-height:19px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}@media (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media (min-width: 992px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:12px}}@media (min-width: 1200px){:host(.listing-card-horizontal) .card-body h3{margin-bottom:16px}}@media only screen and (min-width: 768px){:host(.listing-card-horizontal) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:8px;margin-top:0rem}}:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:19px;margin-top:0rem;margin-block-start:0rem}:host(.listing-card-horizontal) ::slotted([slot=slot-description]) p{margin-block-start:0rem}@media (max-width: 767px){:host(.listing-card-horizontal) ::slotted([slot=slot-description]){font-weight:400;font-size:14px;line-height:16px}}:host(.resource-center-card) .card-border{width:325px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:442px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.resource-center-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.resource-center-card) .card-border:hover .card-media{background:var(--color-white)}:host(.resource-center-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.resource-center-card) .card-border{width:433px;height:442px}}@media (min-width: 768px){:host(.resource-center-card) .card-border{width:336px;height:396px}}@media (min-width: 992px){:host(.resource-center-card) .card-border{width:287px;height:396px}}@media (min-width: 1200px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media (min-width: 1440px){:host(.resource-center-card) .card-border{width:260px;height:396px}}@media only screen and (min-width: 768px){:host(.resource-center-card) .card-border{margin-left:4px;margin-right:4px}}:host(.resource-center-card) .card-layout{display:block;position:relative}:host(.resource-center-card) .card-layout .ribbon-text{position:absolute;top:0;left:0;margin-top:24px;background-color:var(--color-white);padding:4px 24px;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);color:var(--color-gray-11);border-radius:0px 3px 3px 0px;box-shadow:var(--ptc-shadow-small);max-width:70%;max-height:20px;overflow:hidden}:host(.resource-center-card) .link-wrapper{outline:none;text-decoration:none}:host(.resource-center-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.resource-center-card) .card-media{width:100%;height:250px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.resource-center-card) .card-media .smart-img{height:250px}@media (min-width: 480px){:host(.resource-center-card) .card-media .smart-img{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media .smart-img{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media .smart-img{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media .smart-img{height:173px}}@media (min-width: 480px){:host(.resource-center-card) .card-media{height:285px}}@media (min-width: 768px){:host(.resource-center-card) .card-media{height:221px}}@media (min-width: 992px){:host(.resource-center-card) .card-media{height:189px}}@media (min-width: 1200px){:host(.resource-center-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.resource-center-card) .card-media{height:173px}}:host(.resource-center-card) .card-body{padding:16px 24px 0px 24px}@media (min-width: 768px){:host(.resource-center-card) .card-body{padding:14px 24px 0px 24px}}@media (min-width: 1200px){:host(.resource-center-card) .card-body{padding:14px 20px 0px 21px}}:host(.resource-center-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.resource-center-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin-bottom:12px;margin-top:0rem}:host(.resource-center-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) p{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.resource-center-card) ::slotted([slot=slot-description]) span{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin-bottom:39px}:host(.case-studies-card) .card-border{width:320px;overflow:hidden;background:var(--color-white);box-shadow:var(--ptc-shadow-small);border-radius:3px;height:447px;display:flex;flex-direction:row;margin-bottom:0.5rem}:host(.case-studies-card) .card-border:hover{background:var(--color-gray-02);box-shadow:var(--ptc-shadow-large)}:host(.case-studies-card) .card-border:hover .card-media{background:var(--color-white)}:host(.case-studies-card) .card-border:hover .card-media .smart-img{background:var(--color-white)}@media (min-width: 480px){:host(.case-studies-card) .card-border{width:431px;height:536px}}@media (min-width: 768px){:host(.case-studies-card) .card-border{width:335px;height:452px}}@media (min-width: 992px){:host(.case-studies-card) .card-border{width:288px;height:452px}}@media (min-width: 1200px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media (min-width: 1440px){:host(.case-studies-card) .card-border{width:260px;height:452px}}@media only screen and (min-width: 768px){:host(.case-studies-card) .card-border{margin-left:4px;margin-right:4px}}:host(.case-studies-card) .card-layout{display:block;position:relative}:host(.case-studies-card) .link-wrapper{outline:none;text-decoration:none}:host(.case-studies-card) .link-wrapper:hover{outline:none;text-decoration:none}:host(.case-studies-card) .card-media{width:100%;height:200px;transform:scale(1);transform-origin:center bottom;transition:transform var(--ptc-transition-medium) var(--ptc-standard-ease);transition-delay:var(--ptc-delay-medium)}:host(.case-studies-card) .card-media .smart-img{width:100%;height:200px}@media (min-width: 480px){:host(.case-studies-card) .card-media .smart-img{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media .smart-img{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media .smart-img{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media .smart-img{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media .smart-img{height:170px}}@media (min-width: 480px){:host(.case-studies-card) .card-media{height:286px}}@media (min-width: 768px){:host(.case-studies-card) .card-media{height:224px}}@media (min-width: 992px){:host(.case-studies-card) .card-media{height:192px}}@media (min-width: 1200px){:host(.case-studies-card) .card-media{height:173px}}@media (min-width: 1440px){:host(.case-studies-card) .card-media{height:170px}}:host(.case-studies-card) .card-body .card-logo-container{padding:8px 20px;border-bottom:1px solid #E4E7E9}:host(.case-studies-card) .card-body .card-logo-none{padding-top:16px}:host(.case-studies-card) .card-body .card-logo{max-width:280px;width:auto;height:40px;object-fit:cover;border:1px solid #E4E7E9;margin-bottom:8px}:host(.case-studies-card) .card-body .small{font-size:var(--ptc-font-size-x-small);font-weight:400;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) .card-body h3{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-loose);line-height:21px;color:var(--color-gray-11);margin:8px 20px 12px 20px}:host(.case-studies-card) ::slotted([slot=slot-date]){font-weight:400;font-size:16px;line-height:19px;color:#282F35;margin-bottom:24px;display:inline-block}:host(.case-studies-card) ::slotted([slot=slot-description]){font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-weight:400;font-size:1rem;line-height:19px;color:var(--color-gray-11);margin:0px 20px 39px 20px}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}';const o=class{constructor(i){t(this,i),this.year=1900,this.month=0,this.day=1,this.country="en-US",this.dateString=void 0,this.dateColor=void 0,this.dateStyles=void 0,this.dataSize="small"}render(){const t=this.getCssClassMap();return i(e,{class:t},this.dateStyles&&i("style",null,this.dateStyles),i("span",{part:"part-ptc-date"},this.getDate().toLocaleDateString(this.country,{year:"numeric",month:"short",day:"numeric"})))}getCssClassMap(){return{[this.dateColor]:!!this.dateColor,[this.dataSize]:!!this.dataSize}}getDate(){return this.dateString?new Date(this.dateString.replace(/-/g,"/")):new Date(this.year,this.month-1,this.day)}};o.style=":host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";let s={envs:["xs","sm","md","lg"],selector:".ptc-img",interval:250},n={envs:["xs","sm","md","lg"],selector:".ptc-picture",interval:250};const d=class{constructor(i){t(this,i),this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.imgUrl=void 0,this.imageType="smart-bg",this.borderRadius="",this.loadMode="lazy-bg"}WindowResize(){this.setResponsiveBg()}render(){const t=this.getCssClassMap();return i(e,null,i("div",{class:t,"data-xs":`${this.imgUrl}:${this.sizeXs}`,"data-sm":`${this.imgUrl}:${this.sizeSm}`,"data-md":`${this.imgUrl}:${this.sizeMd}`,"data-lg":`${this.imgUrl}:${this.sizeLg}`},"smart-bg"==this.imageType?i("slot",null):null))}componentDidLoad(){this.addIntersectionObserver(),this.setResponsiveBg()}componentWillUpdate(){this.addIntersectionObserver(),this.setResponsiveBg()}setResponsiveBg(){let t,i,e=(this.el||document).querySelectorAll(s.selector),a=this.getCurrentBreakPoints();for(var r=0,o=e.length;r<o;r++)t=e[r],i=t.getAttribute("data-"+a),null!==i?t.style.backgroundImage="url('"+i+"')":"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}addIntersectionObserver(){if(this.imgUrl){if("IntersectionObserver"in window){let t=(this.el||document).querySelectorAll(".lazy-bg"),i=new IntersectionObserver((t=>{t.forEach((t=>{if(t.isIntersecting){const e=t.target;e.classList.remove("lazy-bg"),i.unobserve(e)}}))}));t.forEach((t=>{i.observe(t)}))}}else console.log("no image!")}getCssClassMap(){return{[this.imageType]:!0,"ptc-img":!0,[this.borderRadius]:!0,[this.loadMode]:!0}}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let a=s.envs.length-1;a>=0;a--)if(t=s.envs[a],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),t;return i.body.removeChild(e),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}get el(){return a(this)}};d.style=".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-gray-03)}@media only screen and (min-width: 768px){.hidden-xs{display:none !important}}@media (min-width: 768px) and (max-width: 991px){.hidden-sm{display:none !important}}@media (min-width: 992px) and (max-width: 1199px){.hidden-md{display:none !important}}@media only screen and (min-width: 768px){.hidden-lg{display:none !important}}";const h=class{constructor(i){t(this,i),this.fontSize="x-small",this.fontWeight="w-4",this.paraStyle="default",this.paraColor="primary-grey",this.paraLineH="line-height-normal",this.paraMargin=void 0,this.paraAlign=void 0,this.ellipsisLineCutoff=void 0,this.paraZIndex=void 0}render(){const t=this.getCssClassMap(),a=this.addWhiteClass(),r=this.getLineCuttoff();return i(e,{class:`${a} ${this.paraZIndex}`},i("p",{class:t,part:"part-para",style:r},i("slot",null)))}getCssClassMap(){return{[this.fontSize]:!0,[this.fontWeight]:!0,[this.paraStyle]:!0,[this.paraMargin]:!!this.paraMargin,[this.paraColor]:!0,[this.paraLineH]:!0,[this.paraAlign]:!!this.paraAlign,"ellipsis-boxing":this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0}}addWhiteClass(){if("white"==this.paraColor)return{[this.paraColor]:!0}}getLineCuttoff(){let t;return this.ellipsisLineCutoff&&this.ellipsisLineCutoff>0&&(t={"-webkit-line-clamp":`${this.ellipsisLineCutoff}`}),t}get el(){return a(this)}};h.style=":host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";const c=class{constructor(i){t(this,i),this.src=void 0,this.alt="image",this.sizeXs="510x340",this.sizeSm="1240x496",this.sizeMd="1366x500",this.sizeLg="1920x1080",this.oldSrc=void 0,this.imagePosition="static",this.borderRadius=void 0,this.height=void 0,this.width=void 0,this.objectFit="cover",this.isFullHeight=!1,this.isFullWidth=!1,this.styles=void 0,this.imageAlignment="left",this.maxWidth=void 0}WindowResize(){this.addIntersectionObserver()}componentDidLoad(){this.addIntersectionObserver()}componentWillUpdate(){this.src!==this.oldSrc&&this.addIntersectionObserver(),this.oldSrc=this.src}addIntersectionObserver(){if(this.src)if("IntersectionObserver"in window){let t=new IntersectionObserver((i=>{i.forEach((i=>{if(i.isIntersecting){const i=this.el.shadowRoot.querySelector("img");i.src=this.setResponsiveBg(),t.unobserve(i)}}))}));t.observe(this.el.shadowRoot.querySelector("img"))}else setTimeout((()=>{const t=this.el.shadowRoot.querySelector("img");t.src=this.setResponsiveBg(),t.onload=()=>{t.removeAttribute("data-src"),console.log("loaded fallback")}}),5e3)}setResponsiveBg(){let t,i,e=(this.el.shadowRoot||document).querySelectorAll("img"),a=this.getCurrentBreakPoints();for(var r=0,o=e.length;r<o;r++){if(t=e[r],i=t.getAttribute("data-"+a),null!==i)return i;"object"==typeof console&&console.warn("Data attribute: data-"+a+" not found on element:\n\n"+t.outerHTML+"\n\n\n")}}render(){const t=this.getCssClassMap(),a=this.getCssClassMapHost();return i(e,{class:a},this.styles&&i("style",null,this.styles),i("img",Object.assign({class:t,"data-xs":this.sizeXs?`${this.src}:${this.sizeXs}`:`${this.src}`,"data-sm":this.sizeSm?`${this.src}:${this.sizeSm}`:`${this.src}`,"data-md":this.sizeMd?`${this.src}:${this.sizeMd}`:`${this.src}`,"data-lg":this.sizeLg?`${this.src}:${this.sizeLg}`:`${this.src}`},this.width?{width:this.width}:{},this.height?{height:this.height}:{},{alt:this.alt,style:Object.assign({},this.maxWidth?{maxWidth:this.maxWidth+"px"}:{})})),i("slot",null))}getCurrentBreakPoints(){let t,i=window.document,e=i.createElement("div");i.body.appendChild(e);for(let a=n.envs.length-1;a>=0;a--)if(t=n.envs[a],e.className="hidden-"+t,null===e.offsetParent)return i.body.removeChild(e),t;return i.body.removeChild(e),this.getFallbackBreakpoint()}getFallbackBreakpoint(){return window.matchMedia("(min-width: 992px)").matches?"lg":window.matchMedia("(min-width: 768px)").matches?"md":window.matchMedia("(min-width: 576px)").matches?"sm":"xs"}getCssClassMap(){return{[this.borderRadius]:!!this.borderRadius,[this.objectFit]:!0,[this.isFullHeight?"is-full-height":"is-normal-height"]:!0,[this.isFullWidth?"is-full-width":"is-normal-width"]:!0}}getCssClassMapHost(){return{[this.imagePosition]:!0,[this.imageAlignment]:!0}}get el(){return a(this)}};c.style=":host{display:block;overflow:hidden}:host img{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";const l=class{constructor(i){t(this,i),this.breakpoint="",this.size="medium",this.direction="vertical"}render(){const t=this.getCssClassMap();return i(e,{class:t})}getCssClassMap(){return{[this.size]:!0,"ptc-spacer-horizontal":"horizontal"===this.direction,"ptc-spacer-vertical":"vertical"===this.direction,"ptc-spacer-xx-small":"xx-small"===this.breakpoint,"ptc-spacer-x-small":"x-small"===this.breakpoint,"ptc-spacer-small":"small"===this.breakpoint,"ptc-spacer-medium":"medium"===this.breakpoint,"ptc-spacer-large":"large"===this.breakpoint,"ptc-spacer-x-large":"x-large"===this.breakpoint,"ptc-spacer-xx-large":"xx-large"===this.breakpoint,"ptc-spacer-xxx-large":"xxx-large"===this.breakpoint}}};l.style=":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";export{r as ptc_card,o as ptc_date,d as ptc_img,h as ptc_para,c as ptc_picture,l as ptc_spacer}
@@ -1 +0,0 @@
1
- import{r as c,c as t,h as e,H as o,g as h}from"./p-9fb2ab8c.js";const s=class{constructor(e){c(this,e),this.checkedChanged=t(this,"checkedChanged",7),this.handleClick=c=>{let t=this.host.shadowRoot.querySelector("input");this.checked="unchecked"==this.checked?"checked":"unchecked",this.checkedChanged.emit({event:c,sender:t,value:this.value,checked:this.checked})},this.checked="unchecked",this.value=void 0,this.inputName=void 0}componentDidLoad(){this.host.shadowRoot.querySelector("input").checked="checked"==this.checked}render(){return e(o,null,e("label",{class:"ptc-checkbox"},e("slot",null),e("input",{type:"checkbox",checked:"checked"==this.checked,name:this.inputName,value:this.value,onChange:c=>this.handleClick(c)}),e("span",{class:"check"},e("span",{class:"mark"},e("icon-asset",{type:"ptc",color:"white",size:"xx-small",name:"checkmark"})))))}get host(){return h(this)}};s.style=":host{display:block}:host .ptc-checkbox{display:block;position:relative;user-select:none;cursor:pointer;font-family:var(--ptc-font-latin);font-style:normal;color:var(--color-gray-10);padding-left:var(--spacing-lg);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);height:1.375rem}:host .ptc-checkbox input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}:host .ptc-checkbox .check{position:absolute;top:0;left:0;height:1.375rem;width:1.375rem;background-color:var(--color-white);border:1px solid var(--color-gray-07);line-height:var(--ptc-line-height-densest);box-sizing:border-box;border-radius:4px}:host .ptc-checkbox .check .mark{position:absolute;transition:opacity ease-out 250ms;opacity:0;left:3px;top:2px;width:1.375rem;height:1.375rem}:host .ptc-checkbox input:checked~.check{background-color:var(--color-gray-12)}:host .ptc-checkbox input:checked~.check .mark{opacity:1}:host .ptc-checkbox:hover input~.check{background-color:var(--color-gray-02)}:host .ptc-checkbox:hover input:checked~.check{background-color:var(--color-gray-12)}";export{s as ptc_checkbox}
@@ -1 +0,0 @@
1
- import{r as t,h as o,H as i,g as s}from"./p-9fb2ab8c.js";const e=class{constructor(o){t(this,o),this.textDisplay="inline",this.maxLength=45,this.textLines=void 0,this.description="Lorem ipsum dolor sit amet, consectetur adipiscing elit.",this.zIndex="z-auto",this.position="bottom",this.styles=void 0,this.mode="text-only"}addTruncatedClass(){this.el.shadowRoot.querySelectorAll(".ellipsis-by-line-boxing").forEach((t=>{t.classList[t.scrollHeight>t.clientHeight?"add":"remove"]("truncated")}))}enableAddTruncatedClass(t){const o=document.querySelectorAll(t);for(let t=0;t<o.length;t++){let i=o[t];i&&i.addEventListener("click",(()=>{setTimeout((()=>{this.addTruncatedClass()}),100)}))}}componentDidLoad(){this.addTruncatedClass(),setTimeout((()=>{this.addTruncatedClass()}),1e3),this.enableAddTruncatedClass("tab-header"),this.enableAddTruncatedClass("ptc-ellipsis-dropdown")}render(){if("wrapper"==this.mode)return o(i,{class:this.textDisplay},this.styles&&o("style",null,this.styles),o("div",{class:"wrapper-content"},o("slot",null),o("div",{class:`tooltip ${this.position}`},this.description)));{const t=this.getCssClassMap(),s=this.getLineCuttoff();let e=this.description.substring(0,this.maxLength);if(this.description.length>this.maxLength){const t=e.lastIndexOf(" ");e=e.substring(0,t),e+="... "}return o(i,{class:this.textDisplay},this.styles&&o("style",null,this.styles),this.textLines>0&&this.textLines?o("div",{class:"ellipsis-by-line-boxing",style:s},this.description):o("div",{class:t},e),o("div",{class:`tooltip ${this.position}`},this.description))}}getCssClassMap(){return{"text-ellipsis":!0,[this.zIndex]:this.description.length>this.maxLength,truncated:this.description.length>this.maxLength&&!this.textLines}}getLineCuttoff(){let t;return this.textLines&&this.textLines>0&&(t={"-webkit-line-clamp":`${this.textLines}`}),t}get el(){return s(this)}};e.style=':host{position:relative}:host(.inline){display:inline}:host(.block){display:block}.text-ellipsis{position:relative;display:inline}.text-ellipsis:not(.truncated){z-index:auto !important}.z-auto{z-index:auto}.z-1{z-index:1}.z-2{z-index:2}.z-3{z-index:3}.z-999{z-index:999}.tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:273px;height:auto;visibility:hidden;text-align:left;text-shadow:none}.tooltip.bottom{bottom:-12px;transform:translateY(100%)}.tooltip.bottom::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right{bottom:-12px;transform:translateY(100%);right:0px}.tooltip.right::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top{top:-8px;transform:translateY(-100%)}.tooltip.top::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.truncated{cursor:help}.truncated:hover+.tooltip{visibility:visible;z-index:9999}.wrapper-content{display:inline-block;position:relative}.wrapper-content .tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content slot:hover+.tooltip{visibility:visible;z-index:9999}.tooltip::after{content:"";position:absolute}.ellipsis-by-line-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}';export{e as ptc_tooltip}