@ptcwebops/ptcw-design 0.5.4 → 0.5.6

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 (255) hide show
  1. package/LICENSE +21 -21
  2. package/dist/cjs/dropdown-item.cjs.entry.js +21 -0
  3. package/dist/cjs/icon-asset.cjs.entry.js +53 -53
  4. package/dist/cjs/{interfaces-574e6df7.js → interfaces-0ecd8027.js} +9 -9
  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/my-component.cjs.entry.js +13 -13
  9. package/dist/cjs/ptc-announcement_2.cjs.entry.js +112 -112
  10. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +12 -12
  11. package/dist/cjs/ptc-button.cjs.entry.js +65 -65
  12. package/dist/cjs/ptc-card-bottom.cjs.entry.js +31 -31
  13. package/dist/cjs/ptc-card-content.cjs.entry.js +31 -31
  14. package/dist/cjs/ptc-card-plm.cjs.entry.js +16 -16
  15. package/dist/cjs/ptc-card.cjs.entry.js +68 -68
  16. package/dist/cjs/ptc-checkbox.cjs.entry.js +36 -0
  17. package/dist/cjs/ptc-container.cjs.entry.js +33 -20
  18. package/dist/cjs/ptc-date.cjs.entry.js +48 -48
  19. package/dist/cjs/ptc-ellipsis-dropdown.cjs.entry.js +34 -0
  20. package/dist/cjs/ptc-filter-tag.cjs.entry.js +40 -0
  21. package/dist/cjs/ptc-hero-footer-cta.cjs.entry.js +8 -8
  22. package/dist/cjs/ptc-hero.cjs.entry.js +18 -18
  23. package/dist/cjs/ptc-icon-list.cjs.entry.js +32 -32
  24. package/dist/cjs/ptc-img_2.cjs.entry.js +169 -169
  25. package/dist/cjs/ptc-link.cjs.entry.js +42 -42
  26. package/dist/cjs/ptc-list.cjs.entry.js +23 -23
  27. package/dist/cjs/ptc-lottie.cjs.entry.js +12 -12
  28. package/dist/cjs/ptc-minimized-footer.cjs.entry.js +8 -8
  29. package/dist/cjs/ptc-minimized-header.cjs.entry.js +11 -11
  30. package/dist/cjs/ptc-mobile-select.cjs.entry.js +69 -69
  31. package/dist/cjs/ptc-modal.cjs.entry.js +106 -106
  32. package/dist/cjs/ptc-nav-item.cjs.entry.js +83 -83
  33. package/dist/cjs/ptc-nav.cjs.entry.js +8 -8
  34. package/dist/cjs/ptc-para.cjs.entry.js +39 -39
  35. package/dist/cjs/ptc-picture.cjs.entry.js +169 -169
  36. package/dist/cjs/ptc-previous-url.cjs.entry.js +8 -8
  37. package/dist/cjs/ptc-pricing-block.cjs.entry.js +15 -15
  38. package/dist/cjs/ptc-quote.cjs.entry.js +25 -25
  39. package/dist/cjs/ptc-responsive-wrapper.cjs.entry.js +54 -54
  40. package/dist/cjs/ptc-shopping-cart.cjs.entry.js +41 -0
  41. package/dist/cjs/ptc-social-share.cjs.entry.js +64 -64
  42. package/dist/cjs/ptc-spacer.cjs.entry.js +35 -35
  43. package/dist/cjs/ptc-span.cjs.entry.js +23 -23
  44. package/dist/cjs/ptc-tab-list.cjs.entry.js +127 -0
  45. package/dist/cjs/ptc-title.cjs.entry.js +48 -48
  46. package/dist/cjs/ptc-two-column-media.cjs.entry.js +14 -14
  47. package/dist/cjs/ptcw-design.cjs.js +1 -1
  48. package/dist/cjs/tab-content.cjs.entry.js +37 -0
  49. package/dist/cjs/tab-header.cjs.entry.js +54 -0
  50. package/dist/collection/collection-manifest.json +9 -1
  51. package/dist/collection/components/dropdown-item/dropdown-item.css +25 -0
  52. package/dist/collection/components/dropdown-item/dropdown-item.js +56 -0
  53. package/dist/collection/components/icon-asset/icon-asset.css +4 -4
  54. package/dist/collection/components/icon-asset/icon-asset.js +199 -199
  55. package/dist/collection/components/icon-asset/media/brands.svg +1381 -1381
  56. package/dist/collection/components/icon-asset/media/designer.svg +327 -327
  57. package/dist/collection/components/icon-asset/media/regular.svg +463 -463
  58. package/dist/collection/components/icon-asset/media/solid.svg +3013 -3013
  59. package/dist/collection/components/icon-asset/media/svg-with-js.min.css +4 -4
  60. package/dist/collection/components/list-item/list-item.js +103 -103
  61. package/dist/collection/components/my-component/my-component.css +3 -3
  62. package/dist/collection/components/my-component/my-component.js +73 -73
  63. package/dist/collection/components/ptc-announcement/ptc-announcement.js +210 -210
  64. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -21
  65. package/dist/collection/components/ptc-button/ptc-button.js +293 -293
  66. package/dist/collection/components/ptc-card/ptc-card.js +282 -282
  67. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +105 -105
  68. package/dist/collection/components/ptc-card-content/ptc-card-content.js +105 -105
  69. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -97
  70. package/dist/collection/components/ptc-checkbox/ptc-checkbox.css +22 -0
  71. package/dist/collection/components/ptc-checkbox/ptc-checkbox.js +76 -0
  72. package/dist/collection/components/ptc-container/ptc-container.css +29 -6
  73. package/dist/collection/components/ptc-container/ptc-container.js +98 -49
  74. package/dist/collection/components/ptc-date/ptc-date.js +201 -201
  75. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.css +39 -0
  76. package/dist/collection/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.js +77 -0
  77. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.css +18 -0
  78. package/dist/collection/components/ptc-filter-tag/ptc-filter-tag.js +96 -0
  79. package/dist/collection/components/ptc-hero/ptc-hero.js +67 -67
  80. package/dist/collection/components/ptc-hero-footer-cta/ptc-hero-footer-cta.js +77 -77
  81. package/dist/collection/components/ptc-icon-list/ptc-icon-list.js +145 -145
  82. package/dist/collection/components/ptc-img/ptc-img.js +314 -314
  83. package/dist/collection/components/ptc-link/ptc-link.js +198 -198
  84. package/dist/collection/components/ptc-list/ptc-list.js +68 -68
  85. package/dist/collection/components/ptc-lottie/ptc-lottie.css +5 -5
  86. package/dist/collection/components/ptc-lottie/ptc-lottie.js +58 -58
  87. package/dist/collection/components/ptc-minimized-footer/ptc-minimized-footer.js +17 -17
  88. package/dist/collection/components/ptc-minimized-header/ptc-minimized-header.js +80 -80
  89. package/dist/collection/components/ptc-mobile-select/ptc-mobile-select.js +221 -221
  90. package/dist/collection/components/ptc-modal/ptc-modal.js +255 -255
  91. package/dist/collection/components/ptc-nav/ptc-nav.js +21 -21
  92. package/dist/collection/components/ptc-nav-item/ptc-nav-item.js +252 -252
  93. package/dist/collection/components/ptc-overlay/ptc-overlay.js +99 -99
  94. package/dist/collection/components/ptc-para/ptc-para.js +157 -157
  95. package/dist/collection/components/ptc-picture/ptc-picture.js +474 -474
  96. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +54 -54
  97. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.css +11 -11
  98. package/dist/collection/components/ptc-pricing-block/ptc-pricing-block.js +25 -25
  99. package/dist/collection/components/ptc-quote/ptc-quote.js +154 -154
  100. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.css +3 -3
  101. package/dist/collection/components/ptc-responsive-wrapper/ptc-responsive-wrapper.js +62 -62
  102. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.css +28 -0
  103. package/dist/collection/components/ptc-shopping-cart/ptc-shopping-cart.js +69 -0
  104. package/dist/collection/components/ptc-social-share/ptc-social-share.js +206 -206
  105. package/dist/collection/components/ptc-spacer/ptc-spacer.css +322 -322
  106. package/dist/collection/components/ptc-spacer/ptc-spacer.js +99 -99
  107. package/dist/collection/components/ptc-span/ptc-span.js +89 -89
  108. package/dist/collection/components/ptc-svg-btn/ptc-svg-btn.js +71 -71
  109. package/dist/collection/components/ptc-tab-list/ptc-tab-list.css +36 -0
  110. package/dist/collection/components/ptc-tab-list/ptc-tab-list.js +140 -0
  111. package/dist/collection/components/ptc-title/ptc-title.js +236 -236
  112. package/dist/collection/components/ptc-two-column-media/ptc-two-column-media.js +40 -40
  113. package/dist/collection/components/tab-content/tab-content.css +7 -0
  114. package/dist/collection/components/tab-content/tab-content.js +74 -0
  115. package/dist/collection/components/tab-header/tab-header.css +30 -0
  116. package/dist/collection/components/tab-header/tab-header.js +107 -0
  117. package/dist/collection/index.js +1 -1
  118. package/dist/collection/media/svg-imgs/Back-arrow.svg +11 -11
  119. package/dist/collection/media/svg-imgs/close.svg +10 -10
  120. package/dist/collection/media/svg-imgs/ptc-shopping-cart-black.svg +3 -0
  121. package/dist/collection/media/svg-imgs/ptc-shopping-cart-white.svg +3 -0
  122. package/dist/collection/media/svg-imgs/slider-arrow-left.svg +18 -18
  123. package/dist/collection/media/svg-imgs/slider-arrow-right.svg +18 -18
  124. package/dist/collection/utils/interfaces.js +11 -11
  125. package/dist/collection/utils/utils.js +3 -3
  126. package/dist/custom-elements/index.d.ts +48 -0
  127. package/dist/custom-elements/index.js +2386 -2010
  128. package/dist/esm/dropdown-item.entry.js +17 -0
  129. package/dist/esm/icon-asset.entry.js +53 -53
  130. package/dist/esm/{interfaces-7c0243be.js → interfaces-c1c73092.js} +9 -9
  131. package/dist/esm/list-item.entry.js +19 -19
  132. package/dist/esm/loader.js +1 -1
  133. package/dist/esm/lottie-player.entry.js +354 -354
  134. package/dist/esm/my-component.entry.js +13 -13
  135. package/dist/esm/polyfills/core-js.js +0 -0
  136. package/dist/esm/polyfills/dom.js +0 -0
  137. package/dist/esm/polyfills/es5-html-element.js +0 -0
  138. package/dist/esm/polyfills/index.js +0 -0
  139. package/dist/esm/polyfills/system.js +0 -0
  140. package/dist/esm/ptc-announcement_2.entry.js +112 -112
  141. package/dist/esm/ptc-breadcrumb.entry.js +12 -12
  142. package/dist/esm/ptc-button.entry.js +65 -65
  143. package/dist/esm/ptc-card-bottom.entry.js +31 -31
  144. package/dist/esm/ptc-card-content.entry.js +31 -31
  145. package/dist/esm/ptc-card-plm.entry.js +16 -16
  146. package/dist/esm/ptc-card.entry.js +68 -68
  147. package/dist/esm/ptc-checkbox.entry.js +32 -0
  148. package/dist/esm/ptc-container.entry.js +33 -20
  149. package/dist/esm/ptc-date.entry.js +48 -48
  150. package/dist/esm/ptc-ellipsis-dropdown.entry.js +30 -0
  151. package/dist/esm/ptc-filter-tag.entry.js +36 -0
  152. package/dist/esm/ptc-hero-footer-cta.entry.js +8 -8
  153. package/dist/esm/ptc-hero.entry.js +18 -18
  154. package/dist/esm/ptc-icon-list.entry.js +32 -32
  155. package/dist/esm/ptc-img_2.entry.js +169 -169
  156. package/dist/esm/ptc-link.entry.js +42 -42
  157. package/dist/esm/ptc-list.entry.js +23 -23
  158. package/dist/esm/ptc-lottie.entry.js +12 -12
  159. package/dist/esm/ptc-minimized-footer.entry.js +8 -8
  160. package/dist/esm/ptc-minimized-header.entry.js +11 -11
  161. package/dist/esm/ptc-mobile-select.entry.js +69 -69
  162. package/dist/esm/ptc-modal.entry.js +106 -106
  163. package/dist/esm/ptc-nav-item.entry.js +83 -83
  164. package/dist/esm/ptc-nav.entry.js +8 -8
  165. package/dist/esm/ptc-para.entry.js +39 -39
  166. package/dist/esm/ptc-picture.entry.js +169 -169
  167. package/dist/esm/ptc-previous-url.entry.js +8 -8
  168. package/dist/esm/ptc-pricing-block.entry.js +15 -15
  169. package/dist/esm/ptc-quote.entry.js +25 -25
  170. package/dist/esm/ptc-responsive-wrapper.entry.js +54 -54
  171. package/dist/esm/ptc-shopping-cart.entry.js +37 -0
  172. package/dist/esm/ptc-social-share.entry.js +64 -64
  173. package/dist/esm/ptc-spacer.entry.js +35 -35
  174. package/dist/esm/ptc-span.entry.js +23 -23
  175. package/dist/esm/ptc-tab-list.entry.js +123 -0
  176. package/dist/esm/ptc-title.entry.js +48 -48
  177. package/dist/esm/ptc-two-column-media.entry.js +14 -14
  178. package/dist/esm/ptcw-design.js +1 -1
  179. package/dist/esm/tab-content.entry.js +33 -0
  180. package/dist/esm/tab-header.entry.js +50 -0
  181. package/dist/ptcw-design/media/brands.svg +1381 -1381
  182. package/dist/ptcw-design/media/designer.svg +327 -327
  183. package/dist/ptcw-design/media/regular.svg +463 -463
  184. package/dist/ptcw-design/media/solid.svg +3013 -3013
  185. package/dist/ptcw-design/media/svg-with-js.min.css +4 -4
  186. package/dist/ptcw-design/{p-64d01929.entry.js → p-1cfc77eb.entry.js} +1 -1
  187. package/dist/ptcw-design/p-279609f3.entry.js +1 -0
  188. package/dist/ptcw-design/{p-009537ea.entry.js → p-3a41081a.entry.js} +1 -1
  189. package/dist/ptcw-design/p-412ca190.entry.js +1 -0
  190. package/dist/ptcw-design/p-49d34cb8.entry.js +1 -0
  191. package/dist/ptcw-design/p-72e6a3f1.entry.js +1 -0
  192. package/dist/ptcw-design/p-7448f767.entry.js +1 -0
  193. package/dist/ptcw-design/p-8ea08e1d.entry.js +1 -0
  194. package/dist/ptcw-design/p-b238d684.entry.js +1 -0
  195. package/dist/ptcw-design/p-c3e79e54.entry.js +1 -0
  196. package/dist/ptcw-design/p-c5bfb13d.entry.js +1 -0
  197. package/dist/ptcw-design/p-c69933fe.entry.js +1 -0
  198. package/dist/ptcw-design/ptcw-design.css +1 -1
  199. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  200. package/dist/types/components/dropdown-item/dropdown-item.d.ts +5 -0
  201. package/dist/types/components/icon-asset/icon-asset.d.ts +36 -36
  202. package/dist/types/components/list-item/list-item.d.ts +8 -8
  203. package/dist/types/components/my-component/my-component.d.ts +16 -16
  204. package/dist/types/components/ptc-announcement/ptc-announcement.d.ts +43 -43
  205. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -4
  206. package/dist/types/components/ptc-button/ptc-button.d.ts +56 -56
  207. package/dist/types/components/ptc-card/ptc-card.d.ts +50 -50
  208. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +15 -15
  209. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +15 -15
  210. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -8
  211. package/dist/types/components/ptc-checkbox/ptc-checkbox.d.ts +9 -0
  212. package/dist/types/components/ptc-container/ptc-container.d.ts +11 -8
  213. package/dist/types/components/ptc-date/ptc-date.d.ts +41 -41
  214. package/dist/types/components/ptc-ellipsis-dropdown/ptc-ellipsis-dropdown.d.ts +10 -0
  215. package/dist/types/components/ptc-filter-tag/ptc-filter-tag.d.ts +16 -0
  216. package/dist/types/components/ptc-hero/ptc-hero.d.ts +12 -12
  217. package/dist/types/components/ptc-hero-footer-cta/ptc-hero-footer-cta.d.ts +6 -6
  218. package/dist/types/components/ptc-icon-list/ptc-icon-list.d.ts +21 -21
  219. package/dist/types/components/ptc-img/ptc-img.d.ts +51 -51
  220. package/dist/types/components/ptc-link/ptc-link.d.ts +36 -36
  221. package/dist/types/components/ptc-list/ptc-list.d.ts +6 -6
  222. package/dist/types/components/ptc-lottie/ptc-lottie.d.ts +12 -12
  223. package/dist/types/components/ptc-minimized-footer/ptc-minimized-footer.d.ts +3 -3
  224. package/dist/types/components/ptc-minimized-header/ptc-minimized-header.d.ts +6 -6
  225. package/dist/types/components/ptc-mobile-select/ptc-mobile-select.d.ts +40 -40
  226. package/dist/types/components/ptc-modal/ptc-modal.d.ts +46 -46
  227. package/dist/types/components/ptc-nav/ptc-nav.d.ts +3 -3
  228. package/dist/types/components/ptc-nav-item/ptc-nav-item.d.ts +53 -53
  229. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +20 -20
  230. package/dist/types/components/ptc-para/ptc-para.d.ts +28 -28
  231. package/dist/types/components/ptc-picture/ptc-picture.d.ts +93 -93
  232. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +5 -5
  233. package/dist/types/components/ptc-pricing-block/ptc-pricing-block.d.ts +4 -4
  234. package/dist/types/components/ptc-quote/ptc-quote.d.ts +29 -29
  235. package/dist/types/components/ptc-responsive-wrapper/ptc-responsive-wrapper.d.ts +8 -8
  236. package/dist/types/components/ptc-shopping-cart/ptc-shopping-cart.d.ts +6 -0
  237. package/dist/types/components/ptc-social-share/ptc-social-share.d.ts +25 -25
  238. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +16 -16
  239. package/dist/types/components/ptc-span/ptc-span.d.ts +16 -16
  240. package/dist/types/components/ptc-svg-btn/ptc-svg-btn.d.ts +12 -12
  241. package/dist/types/components/ptc-tab-list/ptc-tab-list.d.ts +14 -0
  242. package/dist/types/components/ptc-title/ptc-title.d.ts +41 -41
  243. package/dist/types/components/ptc-two-column-media/ptc-two-column-media.d.ts +9 -9
  244. package/dist/types/components/tab-content/tab-content.d.ts +12 -0
  245. package/dist/types/components/tab-header/tab-header.d.ts +13 -0
  246. package/dist/types/components.d.ts +179 -26
  247. package/dist/types/global.d.ts +1072 -1072
  248. package/dist/types/index.d.ts +1 -1
  249. package/dist/types/utils/interfaces.d.ts +28 -14
  250. package/dist/types/utils/utils.d.ts +1 -1
  251. package/package.json +59 -59
  252. package/readme.md +11 -11
  253. package/dist/ptcw-design/p-4f6c0f75.entry.js +0 -1
  254. package/dist/ptcw-design/p-d3c6d843.entry.js +0 -1
  255. /package/dist/ptcw-design/{p-ee1183b2.js → p-50e52c88.js} +0 -0
@@ -1,87 +1,102 @@
1
- import { HTMLElement, getAssetPath, h, Host, createEvent, proxyCustomElement } from '@stencil/core/internal/client';
1
+ import { HTMLElement, h, getAssetPath, Host, createEvent, proxyCustomElement } from '@stencil/core/internal/client';
2
2
  export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client';
3
3
 
4
+ const dropdownItemCss = ".dropdown-item{padding:0.375rem 1.5rem;transition:background-color ease-out 250ms}.dropdown-item:hover,.dropdown-item:active,.dropdown-item:focus,.dropdown-item:focus-visible{background-color:var(--color-gray-02)}.dropdown-item a{font-family:\"Raleway\";font-style:normal;font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);color:var(--color-gray-12);text-decoration:none}.dropdown-item a:hover,.dropdown-item a:visited,.dropdown-item a:active,.dropdown-item a:focus,.dropdown-item a:focus-visible{color:var(--color-gray-12)}.dropdown-item:first-child a{margin-top:0.75rem}.dropdown-item:last-child a{margin-bottom:0.75rem}";
5
+
6
+ let DropdownItem$1 = class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.linkHref = undefined;
11
+ this.linkTarget = '_self';
12
+ }
13
+ render() {
14
+ return (h("div", { class: "dropdown-item" }, h("slot", null)));
15
+ }
16
+ static get style() { return dropdownItemCss; }
17
+ };
18
+
4
19
  const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.inherit.sc-icon-asset{fill:inherit}";
5
20
 
6
- let IconAsset$1 = class extends HTMLElement {
7
- constructor() {
8
- super();
9
- this.__registerHost();
10
- /**
11
- * Icon Size
12
- */
13
- this.size = 'xx-small';
14
- /**
15
- * Icon Type
16
- */
17
- this.type = 'regular';
18
- /**
19
- * Icon Spin Animation (not valid for ptc type)
20
- */
21
- this.spin = '';
22
- /**
23
- * Icon Pulse Animation (not valid for ptc type)
24
- */
25
- this.pulse = '';
26
- /**
27
- * Icon Color
28
- */
29
- this.color = 'default';
30
- this.regularSprite = getAssetPath('./media/regular.svg');
31
- this.solidSprite = getAssetPath('./media/solid.svg');
32
- this.brandSprite = getAssetPath('./media/brands.svg');
33
- this.ptcSprite = getAssetPath('./media/designer.svg');
34
- }
35
- render() {
36
- const classMap = this.getCssClassMap();
37
- if (this.type == 'brands') {
38
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
39
- }
40
- else if (this.type == 'solid') {
41
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
42
- }
43
- else if (this.type == 'ptc') {
44
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
45
- }
46
- else {
47
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
48
- }
49
- }
50
- getCssClassMap() {
51
- return {
52
- [this.size]: true,
53
- [this.spin]: true,
54
- [this.pulse]: true,
55
- [this.color]: true,
56
- };
57
- }
58
- static get assetsDirs() { return ["media"]; }
59
- static get style() { return iconAssetCss; }
21
+ let IconAsset$1 = class extends HTMLElement {
22
+ constructor() {
23
+ super();
24
+ this.__registerHost();
25
+ /**
26
+ * Icon Size
27
+ */
28
+ this.size = 'xx-small';
29
+ /**
30
+ * Icon Type
31
+ */
32
+ this.type = 'regular';
33
+ /**
34
+ * Icon Spin Animation (not valid for ptc type)
35
+ */
36
+ this.spin = '';
37
+ /**
38
+ * Icon Pulse Animation (not valid for ptc type)
39
+ */
40
+ this.pulse = '';
41
+ /**
42
+ * Icon Color
43
+ */
44
+ this.color = 'default';
45
+ this.regularSprite = getAssetPath('./media/regular.svg');
46
+ this.solidSprite = getAssetPath('./media/solid.svg');
47
+ this.brandSprite = getAssetPath('./media/brands.svg');
48
+ this.ptcSprite = getAssetPath('./media/designer.svg');
49
+ }
50
+ render() {
51
+ const classMap = this.getCssClassMap();
52
+ if (this.type == 'brands') {
53
+ return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
54
+ }
55
+ else if (this.type == 'solid') {
56
+ return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
57
+ }
58
+ else if (this.type == 'ptc') {
59
+ return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
60
+ }
61
+ else {
62
+ return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
63
+ }
64
+ }
65
+ getCssClassMap() {
66
+ return {
67
+ [this.size]: true,
68
+ [this.spin]: true,
69
+ [this.pulse]: true,
70
+ [this.color]: true,
71
+ };
72
+ }
73
+ static get assetsDirs() { return ["media"]; }
74
+ static get style() { return iconAssetCss; }
60
75
  };
61
76
 
62
77
  const listItemCss = ":host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest)}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus,:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}";
63
78
 
64
- let ListItem$1 = class extends HTMLElement {
65
- constructor() {
66
- super();
67
- this.__registerHost();
68
- this.__attachShadow();
69
- this.listType = 'list-primary';
70
- this.linkHref = undefined;
71
- this.flushBefore = false;
72
- this.linkTarget = '_self';
73
- }
74
- render() {
75
- const classMap = this.getCssClassMap();
76
- return (h(Host, { class: classMap }, h("li", null, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {})), h("slot", null))) : (h("slot", null)))));
77
- }
78
- getCssClassMap() {
79
- return {
80
- [this.listType]: true,
81
- ['flush-before']: this.flushBefore ? true : false
82
- };
83
- }
84
- static get style() { return listItemCss; }
79
+ let ListItem$1 = class extends HTMLElement {
80
+ constructor() {
81
+ super();
82
+ this.__registerHost();
83
+ this.__attachShadow();
84
+ this.listType = 'list-primary';
85
+ this.linkHref = undefined;
86
+ this.flushBefore = false;
87
+ this.linkTarget = '_self';
88
+ }
89
+ render() {
90
+ const classMap = this.getCssClassMap();
91
+ return (h(Host, { class: classMap }, h("li", null, this.linkHref ? (h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {})), h("slot", null))) : (h("slot", null)))));
92
+ }
93
+ getCssClassMap() {
94
+ return {
95
+ [this.listType]: true,
96
+ ['flush-before']: this.flushBefore ? true : false
97
+ };
98
+ }
99
+ static get style() { return listItemCss; }
85
100
  };
86
101
 
87
102
  function createCommonjsModule(fn, basedir, module) {
@@ -13197,1129 +13212,1237 @@ var PlayMode;
13197
13212
 
13198
13213
  const lottiePlayerCss = ":host{--lottie-player-toolbar-height:35px;--lottie-player-toolbar-background-color:transparent;--lottie-player-toolbar-icon-color:#999;--lottie-player-toolbar-icon-hover-color:#222;--lottie-player-toolbar-icon-active-color:#555;--lottie-player-seeker-track-color:#CCC;--lottie-player-seeker-thumb-color:rgba(0, 107, 120, 0.8);display:block;width:100%;height:100%}.main{box-sizing:border-box;display:inline-grid;grid-auto-columns:auto;grid-template-rows:auto;position:relative;height:inherit;width:inherit}.main.controls{grid-template-rows:1fr var(--lottie-player-toolbar-height)}.animation{overflow:hidden;height:calc(1fr - var(--lottie-player-toolbar-height))}.toolbar{display:grid;grid-template-columns:32px 32px 1fr 32px 32px;align-items:center;justify-items:center;background-color:var(--lottie-player-toolbar-background-color)}.toolbar button{cursor:pointer;fill:var(--lottie-player-toolbar-icon-color);display:flex;background:none;border:0;padding:0;outline:none;height:100%}.toolbar button:hover{fill:var(--lottie-player-toolbar-icon-hover-color)}.toolbar button.active{fill:var(--lottie-player-toolbar-icon-active-color)}.toolbar button.disabled svg{display:none}.toolbar a{filter:grayscale(100%);display:flex;transition:filter .5s, opacity 0.5s;opacity:0.4;height:100%;align-items:center}.toolbar a:hover{filter:none;display:flex;opacity:1}.seeker{-webkit-appearance:none;width:95%;outline:none}.seeker::-webkit-slider-runnable-track{width:100%;height:5px;cursor:pointer;background:var(--lottie-player-seeker-track-color);border-radius:3px}.seeker::-webkit-slider-thumb{height:15px;width:15px;border-radius:50%;background:var(--lottie-player-seeker-thumb-color);cursor:pointer;-webkit-appearance:none;margin-top:-5px}.seeker:focus::-webkit-slider-runnable-track{background:#999}.seeker::-moz-range-track{width:100%;height:5px;cursor:pointer;background:var(--lottie-player-seeker-track-color);border-radius:3px}.seeker::-moz-range-thumb{height:15px;width:15px;border-radius:50%;background:var(--lottie-player-seeker-thumb-color);cursor:pointer}.seeker::-ms-track{width:100%;height:5px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}.seeker::-ms-fill-lower{background:var(--lottie-player-seeker-track-color);border-radius:3px}.seeker::-ms-fill-upper{background:var(--lottie-player-seeker-track-color);border-radius:3px}.seeker::-ms-thumb{border:0;height:15px;width:15px;border-radius:50%;background:var(--lottie-player-seeker-thumb-color);cursor:pointer}.seeker:focus::-ms-fill-lower{background:var(--lottie-player-seeker-track-color)}.seeker:focus::-ms-fill-upper{background:var(--lottie-player-seeker-track-color)}.error{display:flex;justify-content:center;height:100%;align-items:center}";
13199
13214
 
13200
- let LottiePlayer$1 = class extends HTMLElement {
13201
- constructor() {
13202
- super();
13203
- this.__registerHost();
13204
- this.__attachShadow();
13205
- this.error = createEvent(this, "error", 7);
13206
- this.frame = createEvent(this, "frame", 7);
13207
- this.complete = createEvent(this, "complete", 7);
13208
- this.looped = createEvent(this, "looped", 7);
13209
- this.ready = createEvent(this, "ready", 7);
13210
- this.loaded = createEvent(this, "loaded", 7);
13211
- this.playing = createEvent(this, "playing", 7);
13212
- this.paused = createEvent(this, "paused", 7);
13213
- this.stopped = createEvent(this, "stopped", 7);
13214
- this.freezed = createEvent(this, "freezed", 7);
13215
- /**
13216
- * Play mode.
13217
- */
13218
- this.mode = PlayMode.Normal;
13219
- /**
13220
- * Autoplay animation on load
13221
- */
13222
- this.autoplay = false;
13223
- /**
13224
- * Background color.
13225
- */
13226
- this.background = 'transparent';
13227
- /**
13228
- * Show controls.
13229
- */
13230
- this.controls = false;
13231
- /**
13232
- * Direction of animation
13233
- */
13234
- this.direction = 1;
13235
- /**
13236
- * Whether to play on mouse hover
13237
- */
13238
- this.hover = false;
13239
- /**
13240
- * Whether to loop animation
13241
- */
13242
- this.loop = false;
13243
- /**
13244
- * Renderer to use.
13245
- */
13246
- this.renderer = 'svg';
13247
- /**
13248
- * Animation speed.
13249
- */
13250
- this.speed = 1;
13251
- /**
13252
- * Player state.
13253
- */
13254
- this.currentState = PlayerState.Loading;
13255
- this.intermission = 1;
13256
- this._counter = 0;
13257
- }
13258
- componentDidLoad() {
13259
- // Add intersection observer for detecting component being out-of-view.
13260
- if ('IntersectionObserver' in window) {
13261
- this._io = new IntersectionObserver((entries) => {
13262
- if (entries[0].isIntersecting) {
13263
- if (this.currentState === PlayerState.Frozen) {
13264
- this.play();
13265
- }
13266
- }
13267
- else if (this.currentState === PlayerState.Playing) {
13268
- this.freeze();
13269
- }
13270
- });
13271
- this._io.observe(this.container);
13272
- }
13273
- // Add listener for Visibility API's change event.
13274
- if (typeof document.hidden !== 'undefined') {
13275
- document.addEventListener('visibilitychange', () => this.onVisibilityChange());
13276
- }
13277
- // Setup lottie player
13278
- if (this.src) {
13279
- this.load(this.src);
13280
- }
13281
- }
13282
- load(src) {
13283
- const options = {
13284
- container: this.container,
13285
- loop: false,
13286
- autoplay: false,
13287
- renderer: this.renderer,
13288
- rendererSettings: {
13289
- scaleMode: 'noScale',
13290
- clearCanvas: false,
13291
- progressiveLoad: true,
13292
- hideOnTransparent: true,
13293
- },
13294
- };
13295
- try {
13296
- const srcParsed = parseSrc(src);
13297
- const srcAttrib = typeof srcParsed === 'string' ? 'path' : 'animationData';
13298
- // Clear previous animation, if any
13299
- if (this._lottie) {
13300
- this._lottie.destroy();
13301
- }
13302
- // Initialize lottie player and load animation
13303
- this._lottie = lottie_svg.loadAnimation(Object.assign(Object.assign({}, options), { [srcAttrib]: srcParsed }));
13304
- }
13305
- catch (err) {
13306
- this.currentState = PlayerState.Error;
13307
- this.error.emit();
13308
- return;
13309
- }
13310
- if (this._lottie) {
13311
- // Calculate and save the current progress of the animation
13312
- this._lottie.addEventListener('enterFrame', () => {
13313
- this.seeker = (this._lottie.currentFrame / this._lottie.totalFrames) * 100;
13314
- this.frame.emit({
13315
- frame: this._lottie.currentFrame,
13316
- seeker: this.seeker
13317
- });
13318
- });
13319
- // Handle animation play complete
13320
- this._lottie.addEventListener('complete', () => {
13321
- if (this.currentState !== PlayerState.Playing) {
13322
- this.complete.emit();
13323
- return;
13324
- }
13325
- if (!this.loop || (this.count && this._counter >= this.count)) {
13326
- this.complete.emit();
13327
- return;
13328
- }
13329
- if (this.mode === PlayMode.Bounce) {
13330
- if (this.count) {
13331
- this._counter += 0.5;
13332
- }
13333
- setTimeout(() => {
13334
- this.looped.emit();
13335
- if (this.currentState === PlayerState.Playing) {
13336
- this._lottie.setDirection(this._lottie.playDirection * -1);
13337
- this._lottie.play();
13338
- }
13339
- }, this.intermission);
13340
- }
13341
- else {
13342
- if (this.count) {
13343
- this._counter += 1;
13344
- }
13345
- window.setTimeout(() => {
13346
- this.looped.emit();
13347
- if (this.currentState === PlayerState.Playing) {
13348
- this._lottie.stop();
13349
- this._lottie.play();
13350
- }
13351
- }, this.intermission);
13352
- }
13353
- });
13354
- // Handle lottie-web ready event
13355
- this._lottie.addEventListener('DOMLoaded', () => {
13356
- this.ready.emit();
13357
- });
13358
- // Handle animation data load complete
13359
- this._lottie.addEventListener('data_ready', () => {
13360
- this.loaded.emit();
13361
- });
13362
- // Set error state when animation load fail event triggers
13363
- this._lottie.addEventListener('data_failed', () => {
13364
- this.currentState = PlayerState.Error;
13365
- this.error.emit();
13366
- });
13367
- // Set handlers to auto play animation on hover if enabled
13368
- this.container.addEventListener('mouseenter', () => {
13369
- if (this.hover && this.currentState !== PlayerState.Playing) {
13370
- this.play();
13371
- }
13372
- });
13373
- this.container.addEventListener('mouseleave', () => {
13374
- if (this.hover && this.currentState === PlayerState.Playing) {
13375
- this.stop();
13376
- }
13377
- });
13378
- // Set initial playback speed and direction
13379
- this.setSpeed(this.speed);
13380
- this.setDirection(this.direction);
13381
- // Start playing if autoplay is enabled
13382
- if (this.autoplay) {
13383
- this.play();
13384
- }
13385
- }
13386
- }
13387
- /**
13388
- * Start playing animation.
13389
- */
13390
- async play() {
13391
- if (!this._lottie) {
13392
- return;
13393
- }
13394
- this._lottie.play();
13395
- this.currentState = PlayerState.Playing;
13396
- this.playing.emit();
13397
- }
13398
- /**
13399
- * Stop playing animation.
13400
- */
13401
- async pause() {
13402
- if (!this._lottie) {
13403
- return;
13404
- }
13405
- this._lottie.pause();
13406
- this.currentState = PlayerState.Paused;
13407
- this.paused.emit();
13408
- }
13409
- /**
13410
- * Stops animation play.
13411
- */
13412
- async stop() {
13413
- if (!this._lottie) {
13414
- return;
13415
- }
13416
- this._counter = 0;
13417
- this._lottie.stop();
13418
- this.currentState = PlayerState.Stopped;
13419
- this.stopped.emit();
13420
- }
13421
- /**
13422
- * Seek to a given frame.
13423
- */
13424
- async seek(value) {
13425
- if (!this._lottie) {
13426
- return;
13427
- }
13428
- // Extract frame number from either number or percentage value
13429
- const matches = value.toString().match(/^([0-9]+)(%?)$/);
13430
- if (!matches) {
13431
- return;
13432
- }
13433
- // Calculate and set the frame number
13434
- const frame = matches[2] === '%'
13435
- ? this._lottie.totalFrames * Number(matches[1]) / 100
13436
- : matches[1];
13437
- // Set seeker to new frame number
13438
- this.seeker = frame;
13439
- // Send lottie player to the new frame
13440
- if (this.currentState === PlayerState.Playing) {
13441
- this._lottie.goToAndPlay(frame, true);
13442
- }
13443
- else {
13444
- this._lottie.goToAndStop(frame, true);
13445
- this._lottie.pause();
13446
- }
13447
- }
13448
- /**
13449
- * Freeze animation play.
13450
- * This internal state pauses animation and is used to differentiate between
13451
- * user requested pauses and component instigated pauses.
13452
- */
13453
- freeze() {
13454
- if (!this._lottie) {
13455
- return;
13456
- }
13457
- this.currentState = PlayerState.Frozen;
13458
- this.freezed.emit();
13459
- }
13460
- async getLottie() {
13461
- return this._lottie;
13462
- }
13463
- /**
13464
- * Sets animation play speed
13465
- * @param value Playback speed.
13466
- */
13467
- async setSpeed(value = 1) {
13468
- if (!this._lottie) {
13469
- return;
13470
- }
13471
- this._lottie.setSpeed(value);
13472
- }
13473
- /**
13474
- * Animation play direction.
13475
- * @param value Direction values.
13476
- */
13477
- async setDirection(value) {
13478
- if (!this._lottie) {
13479
- return;
13480
- }
13481
- this._lottie.setDirection(value);
13482
- }
13483
- /**
13484
- * Sets the looping of the animation.
13485
- *
13486
- * @param value Whether to enable looping. Boolean true enables looping.
13487
- */
13488
- async setLooping(value) {
13489
- if (this._lottie) {
13490
- this.loop = value;
13491
- this._lottie.loop = value;
13492
- }
13493
- }
13494
- /**
13495
- * Toggle playing state.
13496
- */
13497
- async togglePlay() {
13498
- return this.currentState === PlayerState.Playing
13499
- ? this.pause()
13500
- : this.play();
13501
- }
13502
- /**
13503
- * Toggles animation looping.
13504
- */
13505
- async toggleLooping() {
13506
- this.setLooping(!this.loop);
13507
- }
13508
- renderButtonIcon(isPlaying) {
13509
- if (isPlaying) {
13510
- return (h("svg", { width: "24", height: "24" }, h("path", { d: "M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" })));
13511
- }
13512
- return (h("svg", { width: "24", height: "24" }, h("path", { d: "M8.016 5.016L18.985 12 8.016 18.984V5.015z" })));
13513
- }
13514
- renderControls() {
13515
- const isPlaying = this.currentState === PlayerState.Playing;
13516
- const isPaused = this.currentState === PlayerState.Paused;
13517
- const isStopped = this.currentState === PlayerState.Stopped;
13518
- return (h("div", { class: 'toolbar' }, h("button", { class: {
13519
- active: isPlaying || isPaused
13520
- }, onClick: () => this.togglePlay() }, this.renderButtonIcon(isPlaying)), h("button", { class: {
13521
- active: isStopped
13522
- }, onClick: () => this.stop() }, h("svg", { width: "24", height: "24" }, h("path", { d: "M6 6h12v12H6V6z" }))), h("input", { class: "seeker", type: "range", min: "0", step: "1", max: "100", value: this.seeker, onInput: e => this.handleSeekChange(e), onMouseDown: () => { this._prevState = this.currentState; this.freeze(); }, onMouseUp: () => { this._prevState === PlayerState.Playing && this.play(); } }), h("button", { class: {
13523
- 'active': this.loop
13524
- }, onClick: () => this.toggleLooping() }, h("svg", { width: "24", height: "24" }, h("path", { d: "M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z" }))), h("a", { href: "https://www.lottiefiles.com/", target: "_blank" }, h("svg", { width: "24", height: "24", viewBox: "0 0 320 320", "fill-rule": "nonzero" }, h("rect", { fill: "#adadad", x: ".5", y: ".5", width: "100%", height: "100%", rx: "26.73" }), h("path", { d: "M251.304 65.44a16.55 16.55 0 0 1 13.927 18.789c-1.333 9.04-9.73 15.292-18.762 13.954-15.992-2.37-39.95 22.534-66.77 73.74-34.24 65.37-66.113 96.517-99.667 94.032-9.102-.674-15.93-8.612-15.258-17.723s8.592-15.96 17.695-15.286c16.57 1.227 40.908-24.737 67.97-76.4 34.46-65.79 66.764-96.157 100.866-91.105z", fill: "#fff" })))));
13525
- }
13526
- render() {
13527
- return (h("div", { class: {
13528
- main: true,
13529
- controls: this.controls
13530
- } }, h("div", { class: "animation", style: {
13531
- background: this.background
13532
- }, ref: ref => this.container = ref }, this.currentState === PlayerState.Error ? h("div", { class: "error" }, "\u26A0\uFE0F") : undefined), this.controls ? this.renderControls() : undefined));
13533
- }
13534
- /**
13535
- * Handle visibility change events.
13536
- */
13537
- onVisibilityChange() {
13538
- if (document.hidden === true && this.currentState === PlayerState.Playing) {
13539
- this.freeze();
13540
- }
13541
- else if (this.currentState === PlayerState.Frozen) {
13542
- this.play();
13543
- }
13544
- }
13545
- /**
13546
- * Handles click and drag actions on the progress track.
13547
- */
13548
- handleSeekChange(e) {
13549
- if (!this._lottie || isNaN(e.target.value)) {
13550
- return;
13551
- }
13552
- const frame = ((e.target.value / 100) * this._lottie.totalFrames);
13553
- this.seek(frame);
13554
- }
13555
- static get style() { return lottiePlayerCss; }
13215
+ let LottiePlayer$1 = class extends HTMLElement {
13216
+ constructor() {
13217
+ super();
13218
+ this.__registerHost();
13219
+ this.__attachShadow();
13220
+ this.error = createEvent(this, "error", 7);
13221
+ this.frame = createEvent(this, "frame", 7);
13222
+ this.complete = createEvent(this, "complete", 7);
13223
+ this.looped = createEvent(this, "looped", 7);
13224
+ this.ready = createEvent(this, "ready", 7);
13225
+ this.loaded = createEvent(this, "loaded", 7);
13226
+ this.playing = createEvent(this, "playing", 7);
13227
+ this.paused = createEvent(this, "paused", 7);
13228
+ this.stopped = createEvent(this, "stopped", 7);
13229
+ this.freezed = createEvent(this, "freezed", 7);
13230
+ /**
13231
+ * Play mode.
13232
+ */
13233
+ this.mode = PlayMode.Normal;
13234
+ /**
13235
+ * Autoplay animation on load
13236
+ */
13237
+ this.autoplay = false;
13238
+ /**
13239
+ * Background color.
13240
+ */
13241
+ this.background = 'transparent';
13242
+ /**
13243
+ * Show controls.
13244
+ */
13245
+ this.controls = false;
13246
+ /**
13247
+ * Direction of animation
13248
+ */
13249
+ this.direction = 1;
13250
+ /**
13251
+ * Whether to play on mouse hover
13252
+ */
13253
+ this.hover = false;
13254
+ /**
13255
+ * Whether to loop animation
13256
+ */
13257
+ this.loop = false;
13258
+ /**
13259
+ * Renderer to use.
13260
+ */
13261
+ this.renderer = 'svg';
13262
+ /**
13263
+ * Animation speed.
13264
+ */
13265
+ this.speed = 1;
13266
+ /**
13267
+ * Player state.
13268
+ */
13269
+ this.currentState = PlayerState.Loading;
13270
+ this.intermission = 1;
13271
+ this._counter = 0;
13272
+ }
13273
+ componentDidLoad() {
13274
+ // Add intersection observer for detecting component being out-of-view.
13275
+ if ('IntersectionObserver' in window) {
13276
+ this._io = new IntersectionObserver((entries) => {
13277
+ if (entries[0].isIntersecting) {
13278
+ if (this.currentState === PlayerState.Frozen) {
13279
+ this.play();
13280
+ }
13281
+ }
13282
+ else if (this.currentState === PlayerState.Playing) {
13283
+ this.freeze();
13284
+ }
13285
+ });
13286
+ this._io.observe(this.container);
13287
+ }
13288
+ // Add listener for Visibility API's change event.
13289
+ if (typeof document.hidden !== 'undefined') {
13290
+ document.addEventListener('visibilitychange', () => this.onVisibilityChange());
13291
+ }
13292
+ // Setup lottie player
13293
+ if (this.src) {
13294
+ this.load(this.src);
13295
+ }
13296
+ }
13297
+ load(src) {
13298
+ const options = {
13299
+ container: this.container,
13300
+ loop: false,
13301
+ autoplay: false,
13302
+ renderer: this.renderer,
13303
+ rendererSettings: {
13304
+ scaleMode: 'noScale',
13305
+ clearCanvas: false,
13306
+ progressiveLoad: true,
13307
+ hideOnTransparent: true,
13308
+ },
13309
+ };
13310
+ try {
13311
+ const srcParsed = parseSrc(src);
13312
+ const srcAttrib = typeof srcParsed === 'string' ? 'path' : 'animationData';
13313
+ // Clear previous animation, if any
13314
+ if (this._lottie) {
13315
+ this._lottie.destroy();
13316
+ }
13317
+ // Initialize lottie player and load animation
13318
+ this._lottie = lottie_svg.loadAnimation(Object.assign(Object.assign({}, options), { [srcAttrib]: srcParsed }));
13319
+ }
13320
+ catch (err) {
13321
+ this.currentState = PlayerState.Error;
13322
+ this.error.emit();
13323
+ return;
13324
+ }
13325
+ if (this._lottie) {
13326
+ // Calculate and save the current progress of the animation
13327
+ this._lottie.addEventListener('enterFrame', () => {
13328
+ this.seeker = (this._lottie.currentFrame / this._lottie.totalFrames) * 100;
13329
+ this.frame.emit({
13330
+ frame: this._lottie.currentFrame,
13331
+ seeker: this.seeker
13332
+ });
13333
+ });
13334
+ // Handle animation play complete
13335
+ this._lottie.addEventListener('complete', () => {
13336
+ if (this.currentState !== PlayerState.Playing) {
13337
+ this.complete.emit();
13338
+ return;
13339
+ }
13340
+ if (!this.loop || (this.count && this._counter >= this.count)) {
13341
+ this.complete.emit();
13342
+ return;
13343
+ }
13344
+ if (this.mode === PlayMode.Bounce) {
13345
+ if (this.count) {
13346
+ this._counter += 0.5;
13347
+ }
13348
+ setTimeout(() => {
13349
+ this.looped.emit();
13350
+ if (this.currentState === PlayerState.Playing) {
13351
+ this._lottie.setDirection(this._lottie.playDirection * -1);
13352
+ this._lottie.play();
13353
+ }
13354
+ }, this.intermission);
13355
+ }
13356
+ else {
13357
+ if (this.count) {
13358
+ this._counter += 1;
13359
+ }
13360
+ window.setTimeout(() => {
13361
+ this.looped.emit();
13362
+ if (this.currentState === PlayerState.Playing) {
13363
+ this._lottie.stop();
13364
+ this._lottie.play();
13365
+ }
13366
+ }, this.intermission);
13367
+ }
13368
+ });
13369
+ // Handle lottie-web ready event
13370
+ this._lottie.addEventListener('DOMLoaded', () => {
13371
+ this.ready.emit();
13372
+ });
13373
+ // Handle animation data load complete
13374
+ this._lottie.addEventListener('data_ready', () => {
13375
+ this.loaded.emit();
13376
+ });
13377
+ // Set error state when animation load fail event triggers
13378
+ this._lottie.addEventListener('data_failed', () => {
13379
+ this.currentState = PlayerState.Error;
13380
+ this.error.emit();
13381
+ });
13382
+ // Set handlers to auto play animation on hover if enabled
13383
+ this.container.addEventListener('mouseenter', () => {
13384
+ if (this.hover && this.currentState !== PlayerState.Playing) {
13385
+ this.play();
13386
+ }
13387
+ });
13388
+ this.container.addEventListener('mouseleave', () => {
13389
+ if (this.hover && this.currentState === PlayerState.Playing) {
13390
+ this.stop();
13391
+ }
13392
+ });
13393
+ // Set initial playback speed and direction
13394
+ this.setSpeed(this.speed);
13395
+ this.setDirection(this.direction);
13396
+ // Start playing if autoplay is enabled
13397
+ if (this.autoplay) {
13398
+ this.play();
13399
+ }
13400
+ }
13401
+ }
13402
+ /**
13403
+ * Start playing animation.
13404
+ */
13405
+ async play() {
13406
+ if (!this._lottie) {
13407
+ return;
13408
+ }
13409
+ this._lottie.play();
13410
+ this.currentState = PlayerState.Playing;
13411
+ this.playing.emit();
13412
+ }
13413
+ /**
13414
+ * Stop playing animation.
13415
+ */
13416
+ async pause() {
13417
+ if (!this._lottie) {
13418
+ return;
13419
+ }
13420
+ this._lottie.pause();
13421
+ this.currentState = PlayerState.Paused;
13422
+ this.paused.emit();
13423
+ }
13424
+ /**
13425
+ * Stops animation play.
13426
+ */
13427
+ async stop() {
13428
+ if (!this._lottie) {
13429
+ return;
13430
+ }
13431
+ this._counter = 0;
13432
+ this._lottie.stop();
13433
+ this.currentState = PlayerState.Stopped;
13434
+ this.stopped.emit();
13435
+ }
13436
+ /**
13437
+ * Seek to a given frame.
13438
+ */
13439
+ async seek(value) {
13440
+ if (!this._lottie) {
13441
+ return;
13442
+ }
13443
+ // Extract frame number from either number or percentage value
13444
+ const matches = value.toString().match(/^([0-9]+)(%?)$/);
13445
+ if (!matches) {
13446
+ return;
13447
+ }
13448
+ // Calculate and set the frame number
13449
+ const frame = matches[2] === '%'
13450
+ ? this._lottie.totalFrames * Number(matches[1]) / 100
13451
+ : matches[1];
13452
+ // Set seeker to new frame number
13453
+ this.seeker = frame;
13454
+ // Send lottie player to the new frame
13455
+ if (this.currentState === PlayerState.Playing) {
13456
+ this._lottie.goToAndPlay(frame, true);
13457
+ }
13458
+ else {
13459
+ this._lottie.goToAndStop(frame, true);
13460
+ this._lottie.pause();
13461
+ }
13462
+ }
13463
+ /**
13464
+ * Freeze animation play.
13465
+ * This internal state pauses animation and is used to differentiate between
13466
+ * user requested pauses and component instigated pauses.
13467
+ */
13468
+ freeze() {
13469
+ if (!this._lottie) {
13470
+ return;
13471
+ }
13472
+ this.currentState = PlayerState.Frozen;
13473
+ this.freezed.emit();
13474
+ }
13475
+ async getLottie() {
13476
+ return this._lottie;
13477
+ }
13478
+ /**
13479
+ * Sets animation play speed
13480
+ * @param value Playback speed.
13481
+ */
13482
+ async setSpeed(value = 1) {
13483
+ if (!this._lottie) {
13484
+ return;
13485
+ }
13486
+ this._lottie.setSpeed(value);
13487
+ }
13488
+ /**
13489
+ * Animation play direction.
13490
+ * @param value Direction values.
13491
+ */
13492
+ async setDirection(value) {
13493
+ if (!this._lottie) {
13494
+ return;
13495
+ }
13496
+ this._lottie.setDirection(value);
13497
+ }
13498
+ /**
13499
+ * Sets the looping of the animation.
13500
+ *
13501
+ * @param value Whether to enable looping. Boolean true enables looping.
13502
+ */
13503
+ async setLooping(value) {
13504
+ if (this._lottie) {
13505
+ this.loop = value;
13506
+ this._lottie.loop = value;
13507
+ }
13508
+ }
13509
+ /**
13510
+ * Toggle playing state.
13511
+ */
13512
+ async togglePlay() {
13513
+ return this.currentState === PlayerState.Playing
13514
+ ? this.pause()
13515
+ : this.play();
13516
+ }
13517
+ /**
13518
+ * Toggles animation looping.
13519
+ */
13520
+ async toggleLooping() {
13521
+ this.setLooping(!this.loop);
13522
+ }
13523
+ renderButtonIcon(isPlaying) {
13524
+ if (isPlaying) {
13525
+ return (h("svg", { width: "24", height: "24" }, h("path", { d: "M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z" })));
13526
+ }
13527
+ return (h("svg", { width: "24", height: "24" }, h("path", { d: "M8.016 5.016L18.985 12 8.016 18.984V5.015z" })));
13528
+ }
13529
+ renderControls() {
13530
+ const isPlaying = this.currentState === PlayerState.Playing;
13531
+ const isPaused = this.currentState === PlayerState.Paused;
13532
+ const isStopped = this.currentState === PlayerState.Stopped;
13533
+ return (h("div", { class: 'toolbar' }, h("button", { class: {
13534
+ active: isPlaying || isPaused
13535
+ }, onClick: () => this.togglePlay() }, this.renderButtonIcon(isPlaying)), h("button", { class: {
13536
+ active: isStopped
13537
+ }, onClick: () => this.stop() }, h("svg", { width: "24", height: "24" }, h("path", { d: "M6 6h12v12H6V6z" }))), h("input", { class: "seeker", type: "range", min: "0", step: "1", max: "100", value: this.seeker, onInput: e => this.handleSeekChange(e), onMouseDown: () => { this._prevState = this.currentState; this.freeze(); }, onMouseUp: () => { this._prevState === PlayerState.Playing && this.play(); } }), h("button", { class: {
13538
+ 'active': this.loop
13539
+ }, onClick: () => this.toggleLooping() }, h("svg", { width: "24", height: "24" }, h("path", { d: "M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z" }))), h("a", { href: "https://www.lottiefiles.com/", target: "_blank" }, h("svg", { width: "24", height: "24", viewBox: "0 0 320 320", "fill-rule": "nonzero" }, h("rect", { fill: "#adadad", x: ".5", y: ".5", width: "100%", height: "100%", rx: "26.73" }), h("path", { d: "M251.304 65.44a16.55 16.55 0 0 1 13.927 18.789c-1.333 9.04-9.73 15.292-18.762 13.954-15.992-2.37-39.95 22.534-66.77 73.74-34.24 65.37-66.113 96.517-99.667 94.032-9.102-.674-15.93-8.612-15.258-17.723s8.592-15.96 17.695-15.286c16.57 1.227 40.908-24.737 67.97-76.4 34.46-65.79 66.764-96.157 100.866-91.105z", fill: "#fff" })))));
13540
+ }
13541
+ render() {
13542
+ return (h("div", { class: {
13543
+ main: true,
13544
+ controls: this.controls
13545
+ } }, h("div", { class: "animation", style: {
13546
+ background: this.background
13547
+ }, ref: ref => this.container = ref }, this.currentState === PlayerState.Error ? h("div", { class: "error" }, "\u26A0\uFE0F") : undefined), this.controls ? this.renderControls() : undefined));
13548
+ }
13549
+ /**
13550
+ * Handle visibility change events.
13551
+ */
13552
+ onVisibilityChange() {
13553
+ if (document.hidden === true && this.currentState === PlayerState.Playing) {
13554
+ this.freeze();
13555
+ }
13556
+ else if (this.currentState === PlayerState.Frozen) {
13557
+ this.play();
13558
+ }
13559
+ }
13560
+ /**
13561
+ * Handles click and drag actions on the progress track.
13562
+ */
13563
+ handleSeekChange(e) {
13564
+ if (!this._lottie || isNaN(e.target.value)) {
13565
+ return;
13566
+ }
13567
+ const frame = ((e.target.value / 100) * this._lottie.totalFrames);
13568
+ this.seek(frame);
13569
+ }
13570
+ static get style() { return lottiePlayerCss; }
13556
13571
  };
13557
13572
 
13558
- function format(first, middle, last) {
13559
- return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
13573
+ function format(first, middle, last) {
13574
+ return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
13560
13575
  }
13561
13576
 
13562
13577
  const myComponentCss = ":host{display:block}";
13563
13578
 
13564
- let MyComponent$1 = class extends HTMLElement {
13565
- constructor() {
13566
- super();
13567
- this.__registerHost();
13568
- this.__attachShadow();
13569
- }
13570
- getText() {
13571
- return format(this.first, this.middle, this.last);
13572
- }
13573
- render() {
13574
- return h("div", null, "Hello, World! I'm ", this.getText());
13575
- }
13576
- static get style() { return myComponentCss; }
13579
+ let MyComponent$1 = class extends HTMLElement {
13580
+ constructor() {
13581
+ super();
13582
+ this.__registerHost();
13583
+ this.__attachShadow();
13584
+ }
13585
+ getText() {
13586
+ return format(this.first, this.middle, this.last);
13587
+ }
13588
+ render() {
13589
+ return h("div", null, "Hello, World! I'm ", this.getText());
13590
+ }
13591
+ static get style() { return myComponentCss; }
13577
13592
  };
13578
13593
 
13579
13594
  const ptcAnnouncementCss = ":host{display:block}.announcement{width:100%;position:relative;background-color:var(--color-gray-02);z-index:860;background-size:cover;background-repeat:repeat-x;border:1px solid var(--color-green-06);box-shadow:var(--ptc-shadow-small);z-index:999;display:none}.visible{display:block}.content-wrapper{display:flex;padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-03);margin:0 auto;align-items:center;justify-content:space-between}@media only screen and (min-width: 768px){.content-wrapper{padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-04)}}@media only screen and (min-width: 768px){.temp-container{width:750px}}@media only screen and (min-width: 992px){.temp-container{width:970px}}@media only screen and (min-width: 1200px){.temp-container{width:1170px}}@media only screen and (min-width: 1440px){.temp-container{width:1400px}}@media only screen and (min-width: 1600px){.temp-container{width:1560px}}.left-content{display:flex;flex-basis:82%;flex-direction:column}@media only screen and (min-width: 768px){.left-content{align-items:flex-start;justify-content:flex-start}}.title{flex-basis:18%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose);text-align:left;color:var(--color-gray-10);text-transform:uppercase}.ptc-svg-btn{flex-basis:18%}.bar-close{padding-right:var(--ptc-element-spacing-04)}.description{flex-basis:82%;font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-medium);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;text-align:left;color:var(--color-gray-10)}a{color:var(--color-blue-07);-webkit-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);-o-transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);transition:color var(--ptc-transition-slow) var(--ptc-ease-inout);font-weight:var(--ptc-font-weight-bold);text-decoration:underline;white-space:nowrap;margin-left:var(--ptc-element-spacing-04)}a:hover{color:var(--color-blue-08)}a:focus{outline:3px solid var(--color-blue-07);outline-offset:0.25rem;border-radius:var(--ptc-border-radius-standard)}a:visited{color:var(--color-blue-09)}@media only screen and (min-width: 768px){.bar-close{padding-right:0px}}@media only screen and (min-width: 992px){.left-content{flex-direction:row;align-items:center}.title{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-loose)}.description{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense)}}";
13580
13595
 
13581
- let PtcAnnouncement$1 = class extends HTMLElement {
13582
- constructor() {
13583
- super();
13584
- this.__registerHost();
13585
- this.__attachShadow();
13586
- this.close = createEvent(this, "close", 7);
13587
- /**
13588
- * bar title
13589
- */
13590
- this.barTitle = "";
13591
- /**
13592
- * bar description
13593
- */
13594
- this.Description = "";
13595
- /**
13596
- * Link Url
13597
- */
13598
- this.linkUrl = '#';
13599
- /**
13600
- * Target
13601
- */
13602
- this.target = '_self';
13603
- this.closeClick = () => {
13604
- this.visible = false;
13605
- this.close.emit();
13606
- };
13607
- }
13608
- render() {
13609
- var _a;
13610
- const classMap = this.getCssClassMap();
13611
- return (h(Host, null, h("div", { class: classMap, part: "part-announcement" }, h("div", { class: this.tempContainer ? 'content-wrapper temp-container' : 'content-wrapper' }, h("div", { class: "left-content", part: "part-left-content" }, !!this.barTitle ? h("div", { class: "title" }, this.barTitle) : null, h("div", { class: "description" }, !!this.Description ? h("span", null, this.Description) : null, !!this.linkText ? (h("a", { href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target }, this.linkText)) : null)), h("ptc-svg-btn", { class: "bar-close", "svg-name": "close", onClick: this.closeClick })))));
13612
- }
13613
- getCssClassMap() {
13614
- return {
13615
- ['announcement']: true,
13616
- [this.visible ? 'visible' : '']: true,
13617
- };
13618
- }
13619
- static get style() { return ptcAnnouncementCss; }
13596
+ let PtcAnnouncement$1 = class extends HTMLElement {
13597
+ constructor() {
13598
+ super();
13599
+ this.__registerHost();
13600
+ this.__attachShadow();
13601
+ this.close = createEvent(this, "close", 7);
13602
+ /**
13603
+ * bar title
13604
+ */
13605
+ this.barTitle = "";
13606
+ /**
13607
+ * bar description
13608
+ */
13609
+ this.Description = "";
13610
+ /**
13611
+ * Link Url
13612
+ */
13613
+ this.linkUrl = '#';
13614
+ /**
13615
+ * Target
13616
+ */
13617
+ this.target = '_self';
13618
+ this.closeClick = () => {
13619
+ this.visible = false;
13620
+ this.close.emit();
13621
+ };
13622
+ }
13623
+ render() {
13624
+ var _a;
13625
+ const classMap = this.getCssClassMap();
13626
+ return (h(Host, null, h("div", { class: classMap, part: "part-announcement" }, h("div", { class: this.tempContainer ? 'content-wrapper temp-container' : 'content-wrapper' }, h("div", { class: "left-content", part: "part-left-content" }, !!this.barTitle ? h("div", { class: "title" }, this.barTitle) : null, h("div", { class: "description" }, !!this.Description ? h("span", null, this.Description) : null, !!this.linkText ? (h("a", { href: this.linkUrl, title: (_a = this.linkTitle) !== null && _a !== void 0 ? _a : this.linkText, target: this.target }, this.linkText)) : null)), h("ptc-svg-btn", { class: "bar-close", "svg-name": "close", onClick: this.closeClick })))));
13627
+ }
13628
+ getCssClassMap() {
13629
+ return {
13630
+ ['announcement']: true,
13631
+ [this.visible ? 'visible' : '']: true,
13632
+ };
13633
+ }
13634
+ static get style() { return ptcAnnouncementCss; }
13620
13635
  };
13621
13636
 
13622
13637
  const ptcBreadcrumbCss = ":host{display:block;margin-top:var(--ptc-layout-spacing-02)}::slotted(*){transform:translate(-2px, -2px)}";
13623
13638
 
13624
- let PtcBreadcrumb$1 = class extends HTMLElement {
13625
- constructor() {
13626
- super();
13627
- this.__registerHost();
13628
- this.__attachShadow();
13629
- }
13630
- render() {
13631
- const classMap = this.getCssClassMap();
13632
- return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: "white" })), h("slot", null)));
13633
- }
13634
- getCssClassMap() {
13635
- return {};
13636
- }
13637
- static get style() { return ptcBreadcrumbCss; }
13639
+ let PtcBreadcrumb$1 = class extends HTMLElement {
13640
+ constructor() {
13641
+ super();
13642
+ this.__registerHost();
13643
+ this.__attachShadow();
13644
+ }
13645
+ render() {
13646
+ const classMap = this.getCssClassMap();
13647
+ return (h(Host, { class: classMap }, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: "white" })), h("slot", null)));
13648
+ }
13649
+ getCssClassMap() {
13650
+ return {};
13651
+ }
13652
+ static get style() { return ptcBreadcrumbCss; }
13638
13653
  };
13639
13654
 
13640
13655
  const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary{background:var(--color-gray-10);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-12)}.ptc-primary:active{background-color:var(--color-black)}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-10);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-12)}.ptc-secondary:active{background-color:var(--color-black)}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03)}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09)}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
13641
13656
 
13642
- let PtcButton$1 = class extends HTMLElement {
13643
- constructor() {
13644
- super();
13645
- this.__registerHost();
13646
- this.__attachShadow();
13647
- this.clickEvent = createEvent(this, "clickEvent", 7);
13648
- /**
13649
- * Disabled button
13650
- */
13651
- this.disabled = false;
13652
- /**
13653
- * Button type
13654
- */
13655
- this.type = 'button';
13656
- /**
13657
- * Button theme color
13658
- */
13659
- this.color = 'ptc-primary';
13660
- /**
13661
- * Icon Animation
13662
- */
13663
- this.iconAnimation = '';
13664
- /**
13665
- * Icon Position
13666
- */
13667
- this.iconPosition = 'icon-right';
13668
- /**
13669
- * Link URL
13670
- */
13671
- this.linkHref = undefined;
13672
- /**
13673
- * link Title
13674
- */
13675
- this.linkTitle = undefined;
13676
- /**
13677
- * Link target
13678
- * */
13679
- this.target = '_self';
13680
- /**
13681
- * Link rel
13682
- * */
13683
- this.rel = undefined;
13684
- /**
13685
- * (optional) tab-nav.
13686
- * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
13687
- * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
13688
- */
13689
- this.tabNav = 0;
13690
- }
13691
- clickEventHandler() {
13692
- this.clickEvent.emit();
13693
- //console.log('click!');
13694
- }
13695
- render() {
13696
- const classMap = this.getCssClassMap();
13697
- const Tag = !!this.linkHref ? 'a' : 'button';
13698
- return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
13699
- }
13700
- getCssClassMap() {
13701
- return {
13702
- [this.color]: true,
13703
- [this.iconAnimation]: true,
13704
- [this.iconPosition]: true,
13705
- ['disabled']: this.disabled ? true : false,
13706
- };
13707
- }
13708
- static get style() { return ptcButtonCss; }
13657
+ let PtcButton$1 = class extends HTMLElement {
13658
+ constructor() {
13659
+ super();
13660
+ this.__registerHost();
13661
+ this.__attachShadow();
13662
+ this.clickEvent = createEvent(this, "clickEvent", 7);
13663
+ /**
13664
+ * Disabled button
13665
+ */
13666
+ this.disabled = false;
13667
+ /**
13668
+ * Button type
13669
+ */
13670
+ this.type = 'button';
13671
+ /**
13672
+ * Button theme color
13673
+ */
13674
+ this.color = 'ptc-primary';
13675
+ /**
13676
+ * Icon Animation
13677
+ */
13678
+ this.iconAnimation = '';
13679
+ /**
13680
+ * Icon Position
13681
+ */
13682
+ this.iconPosition = 'icon-right';
13683
+ /**
13684
+ * Link URL
13685
+ */
13686
+ this.linkHref = undefined;
13687
+ /**
13688
+ * link Title
13689
+ */
13690
+ this.linkTitle = undefined;
13691
+ /**
13692
+ * Link target
13693
+ * */
13694
+ this.target = '_self';
13695
+ /**
13696
+ * Link rel
13697
+ * */
13698
+ this.rel = undefined;
13699
+ /**
13700
+ * (optional) tab-nav.
13701
+ * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
13702
+ * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
13703
+ */
13704
+ this.tabNav = 0;
13705
+ }
13706
+ clickEventHandler() {
13707
+ this.clickEvent.emit();
13708
+ //console.log('click!');
13709
+ }
13710
+ render() {
13711
+ const classMap = this.getCssClassMap();
13712
+ const Tag = !!this.linkHref ? 'a' : 'button';
13713
+ return (h(Host, null, this.styles && h("style", null, this.styles), h(Tag, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref ? { target: this.target } : {}), (!!this.rel && !!this.linkHref ? { rel: this.rel } : {}), (!!this.linkHref ? { title: this.linkTitle ? this.linkTitle : this.linkHref } : {}), (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
13714
+ }
13715
+ getCssClassMap() {
13716
+ return {
13717
+ [this.color]: true,
13718
+ [this.iconAnimation]: true,
13719
+ [this.iconPosition]: true,
13720
+ ['disabled']: this.disabled ? true : false,
13721
+ };
13722
+ }
13723
+ static get style() { return ptcButtonCss; }
13709
13724
  };
13710
13725
 
13711
13726
  const ptcCardCss = ":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:var(--ptc-layout-spacing-05);opacity:1}: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)}.ptc-h3.uppercase{text-transform:uppercase}.ptc-h3.capitalize{text-transform:capitalize}.ptc-h3.lowercase{text-transform:lowercase}.ptc-h3.none{text-transform:none}";
13712
13727
 
13713
- let PtcCard$1 = class extends HTMLElement {
13714
- constructor() {
13715
- super();
13716
- this.__registerHost();
13717
- this.__attachShadow();
13718
- /**
13719
- * Card Type
13720
- * Specify Card Type, default to simple card
13721
- */
13722
- this.cardType = 'custom-card';
13723
- /**
13724
- * Card Link URL (Optional)
13725
- */
13726
- this.cardHref = undefined;
13727
- /**
13728
- * (optional) Link card target
13729
- * */
13730
- this.target = '_self';
13731
- /**
13732
- * (optional) Link card rel
13733
- * */
13734
- this.rel = undefined;
13735
- /**
13736
- * If this card has Image
13737
- */
13738
- this.hasImage = false;
13739
- /**
13740
- * If this card has Video
13741
- */
13742
- this.hasVideo = false;
13743
- /**
13744
- * If this card has Lottie Image
13745
- */
13746
- this.hasLottie = false;
13747
- /**
13748
- * Card heading text transform
13749
- */
13750
- this.headingTransform = 'none';
13751
- }
13752
- render() {
13753
- const Tag = !!this.cardHref ? 'a' : 'div';
13754
- const classMap = this.getCssClassMap();
13755
- return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.getMediaSlot ? h("slot", { name: this.getMediaSlot() }) : null)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h("slot", { name: "slot-before-heading" }), !!this.heading
13756
- ? [
13757
- h("h3", { class: `ptc-h3 ${this.headingTransform}`, part: "card-heading" }, this.heading),
13758
- h("slot", { name: "slot-after-heading" }),
13759
- ]
13760
- : null, h("slot", { name: "slot-description" }), !!this.cardDate ? h("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)))));
13761
- }
13762
- getCssClassMap() {
13763
- return {
13764
- ['card-layout']: true,
13765
- ['link-wrapper']: !!this.cardType ? true : false,
13766
- };
13767
- }
13768
- getMediaSlot() {
13769
- if (this.hasLottie) {
13770
- return 'slot-lottie';
13771
- }
13772
- else if (this.hasVideo) {
13773
- return 'slot-video';
13774
- }
13775
- else if (this.hasImage) {
13776
- return 'slot-image';
13777
- }
13778
- else {
13779
- return null;
13780
- }
13781
- }
13782
- static get style() { return ptcCardCss; }
13728
+ let PtcCard$1 = class extends HTMLElement {
13729
+ constructor() {
13730
+ super();
13731
+ this.__registerHost();
13732
+ this.__attachShadow();
13733
+ /**
13734
+ * Card Type
13735
+ * Specify Card Type, default to simple card
13736
+ */
13737
+ this.cardType = 'custom-card';
13738
+ /**
13739
+ * Card Link URL (Optional)
13740
+ */
13741
+ this.cardHref = undefined;
13742
+ /**
13743
+ * (optional) Link card target
13744
+ * */
13745
+ this.target = '_self';
13746
+ /**
13747
+ * (optional) Link card rel
13748
+ * */
13749
+ this.rel = undefined;
13750
+ /**
13751
+ * If this card has Image
13752
+ */
13753
+ this.hasImage = false;
13754
+ /**
13755
+ * If this card has Video
13756
+ */
13757
+ this.hasVideo = false;
13758
+ /**
13759
+ * If this card has Lottie Image
13760
+ */
13761
+ this.hasLottie = false;
13762
+ /**
13763
+ * Card heading text transform
13764
+ */
13765
+ this.headingTransform = 'none';
13766
+ }
13767
+ render() {
13768
+ const Tag = !!this.cardHref ? 'a' : 'div';
13769
+ const classMap = this.getCssClassMap();
13770
+ return (h(Host, Object.assign({}, (!!this.cardType ? { class: this.cardType } : {})), this.styles && h("style", null, this.styles), h("div", { class: "card-border", part: "border-wrapper" }, h(Tag, Object.assign({ class: classMap, part: "card-layout" }, (!!this.cardHref ? { href: this.cardHref } : {}), (!!this.target && !!this.cardHref ? { target: this.target } : {}), (!!this.rel && !!this.cardHref ? { rel: this.rel } : {})), this.hasImage || this.hasLottie || this.hasVideo ? (h("div", { class: "card-media", part: "media-wrapper" }, this.getMediaSlot ? h("slot", { name: this.getMediaSlot() }) : null)) : null, h("div", { class: "card-body", part: "body-wrapper" }, h("slot", { name: "slot-before-heading" }), !!this.heading
13771
+ ? [
13772
+ h("h3", { class: `ptc-h3 ${this.headingTransform}`, part: "card-heading" }, this.heading),
13773
+ h("slot", { name: "slot-after-heading" }),
13774
+ ]
13775
+ : null, h("slot", { name: "slot-description" }), !!this.cardDate ? h("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)))));
13776
+ }
13777
+ getCssClassMap() {
13778
+ return {
13779
+ ['card-layout']: true,
13780
+ ['link-wrapper']: !!this.cardType ? true : false,
13781
+ };
13782
+ }
13783
+ getMediaSlot() {
13784
+ if (this.hasLottie) {
13785
+ return 'slot-lottie';
13786
+ }
13787
+ else if (this.hasVideo) {
13788
+ return 'slot-video';
13789
+ }
13790
+ else if (this.hasImage) {
13791
+ return 'slot-image';
13792
+ }
13793
+ else {
13794
+ return null;
13795
+ }
13796
+ }
13797
+ static get style() { return ptcCardCss; }
13783
13798
  };
13784
13799
 
13785
13800
  const ptcCardBottomCss = ":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}@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%}}";
13786
13801
 
13787
- let PtcCardBottom$1 = class extends HTMLElement {
13788
- constructor() {
13789
- super();
13790
- this.__registerHost();
13791
- this.__attachShadow();
13792
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
13793
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
13794
- }
13795
- hoverEventHandler() {
13796
- this.hoverEvent.emit();
13797
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13798
- this.el.previousElementSibling.classList.add('mouse-hover');
13799
- this.el.classList.add('mouse-hover-card-bottom');
13800
- }
13801
- }
13802
- leaveEventHandler() {
13803
- this.hoverEvent.emit();
13804
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13805
- this.el.previousElementSibling.classList.remove('mouse-hover');
13806
- this.el.classList.remove('mouse-hover-card-bottom');
13807
- }
13808
- }
13809
- render() {
13810
- const classMap = this.getCssClassMap();
13811
- return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
13812
- }
13813
- getCssClassMap() {
13814
- return {
13815
- [this.cardType]: this.cardType ? true : false,
13816
- };
13817
- }
13818
- get el() { return this; }
13819
- static get style() { return ptcCardBottomCss; }
13802
+ let PtcCardBottom$1 = class extends HTMLElement {
13803
+ constructor() {
13804
+ super();
13805
+ this.__registerHost();
13806
+ this.__attachShadow();
13807
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
13808
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
13809
+ }
13810
+ hoverEventHandler() {
13811
+ this.hoverEvent.emit();
13812
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13813
+ this.el.previousElementSibling.classList.add('mouse-hover');
13814
+ this.el.classList.add('mouse-hover-card-bottom');
13815
+ }
13816
+ }
13817
+ leaveEventHandler() {
13818
+ this.hoverEvent.emit();
13819
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13820
+ this.el.previousElementSibling.classList.remove('mouse-hover');
13821
+ this.el.classList.remove('mouse-hover-card-bottom');
13822
+ }
13823
+ }
13824
+ render() {
13825
+ const classMap = this.getCssClassMap();
13826
+ return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-bottom-wrapper" }, h("slot", null))));
13827
+ }
13828
+ getCssClassMap() {
13829
+ return {
13830
+ [this.cardType]: this.cardType ? true : false,
13831
+ };
13832
+ }
13833
+ get el() { return this; }
13834
+ static get style() { return ptcCardBottomCss; }
13820
13835
  };
13821
13836
 
13822
13837
  const ptcCardContentCss = ":host{display:block}:host(.speed-bump){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-06) 28px var(--ptc-element-spacing-06) 28px;text-align:center}:host(.speed-bump-2){border:1px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-large);padding:var(--ptc-element-spacing-05);text-align:center}@media only screen and (min-width: 768px){:host(.speed-bump){text-align:left}}@media only screen and (min-width: 768px){:host(.speed-bump-2){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper,:host(.card-playlist) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-playlist) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after,:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-large);position:relative}:host(.card-2up) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:100%;border-radius:var(--ptc-border-radius-large);top:0;left:0;background:transparent;z-index:1;box-shadow:var(--ptc-shadow-x-small);transition:background var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-2up) .ptc-card-content-wrapper::after{content:\"\";position:absolute;opacity:0;top:52.5%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='46' height='48' viewBox='0 0 46 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10337)'%3E%3Cpath d='M34 16L12 28V4L34 16Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10337' x='0' y='0' width='46' height='48' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10337'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10337' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");width:40px;height:30px;top:50%}:host(.card-video) .ptc-card-content-wrapper::after{top:59.5%}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before,:host(.card-2up) .ptc-card-content-wrapper::before{height:100%}:host(.card-playlist){flex:1 2 0%;margin-right:var(--ptc-element-spacing-04)}@media only screen and (min-width: 768px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-03)}}@media only screen and (min-width: 992px){:host(.card-playlist) .ptc-card-content-wrapper{width:88px;height:88px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:88px;height:88px}}@media only screen and (min-width: 768px){:host(.card-playlist) .ptc-card-content-wrapper{width:112px;height:112px}:host(.card-playlist) .ptc-card-content-wrapper::before{width:112px;height:112px}}@media screen and (min-width: 1981px){:host(.card-playlist){margin-right:var(--ptc-element-spacing-04)}}@media only screen and (min-width: 1200px){:host(.card-video-intro){flex:80% 8 1}}:host(.card-video) .ptc-card-content-wrapper{padding-bottom:56.25%}:host(.card-video) .ptc-card-content-wrapper ::slotted(*){position:absolute;width:100%;height:100%;top:0;left:0}:host(.card-tall) .ptc-card-content-wrapper{height:322px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:322px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:322px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:322px}@media only screen and (min-width: 768px){:host(.card-tall) .ptc-card-content-wrapper{height:325px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:325px}:host(.card-wide) .ptc-card-content-wrapper{height:268px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:268px}:host(.card-2up) .ptc-card-content-wrapper{height:268px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:268px}}@media only screen and (min-width: 992px){:host(.card-tall) .ptc-card-content-wrapper{height:380px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:380px}}@media only screen and (min-width: 1980px){:host(.card-tall) .ptc-card-content-wrapper{height:546px}:host(.card-tall) .ptc-card-content-wrapper ::slotted(*){height:546px}:host(.card-wide) .ptc-card-content-wrapper{height:376px}:host(.card-wide) .ptc-card-content-wrapper ::slotted(*){height:376px}:host(.card-2up) .ptc-card-content-wrapper{height:376px}:host(.card-2up) .ptc-card-content-wrapper ::slotted(*){height:376px}}";
13823
13838
 
13824
- let PtcCardContent$1 = class extends HTMLElement {
13825
- constructor() {
13826
- super();
13827
- this.__registerHost();
13828
- this.__attachShadow();
13829
- this.hoverEvent = createEvent(this, "hoverEvent", 7);
13830
- this.leaveEvent = createEvent(this, "leaveEvent", 7);
13831
- }
13832
- hoverEventHandler() {
13833
- this.hoverEvent.emit();
13834
- this.el.classList.add('mouse-hover');
13835
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13836
- this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
13837
- }
13838
- }
13839
- leaveEventHandler() {
13840
- this.hoverEvent.emit();
13841
- this.el.classList.remove('mouse-hover');
13842
- if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13843
- this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
13844
- }
13845
- }
13846
- render() {
13847
- const classMap = this.getCssClassMap();
13848
- return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
13849
- }
13850
- getCssClassMap() {
13851
- return {
13852
- [this.cardType]: !!this.cardType ? true : false,
13853
- };
13854
- }
13855
- get el() { return this; }
13856
- static get style() { return ptcCardContentCss; }
13839
+ let PtcCardContent$1 = class extends HTMLElement {
13840
+ constructor() {
13841
+ super();
13842
+ this.__registerHost();
13843
+ this.__attachShadow();
13844
+ this.hoverEvent = createEvent(this, "hoverEvent", 7);
13845
+ this.leaveEvent = createEvent(this, "leaveEvent", 7);
13846
+ }
13847
+ hoverEventHandler() {
13848
+ this.hoverEvent.emit();
13849
+ this.el.classList.add('mouse-hover');
13850
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13851
+ this.el.nextElementSibling.classList.add('mouse-hover-card-bottom');
13852
+ }
13853
+ }
13854
+ leaveEventHandler() {
13855
+ this.hoverEvent.emit();
13856
+ this.el.classList.remove('mouse-hover');
13857
+ if (!this.el.classList.contains('card-video') && !this.el.classList.contains('card-playlist')) {
13858
+ this.el.nextElementSibling.classList.remove('mouse-hover-card-bottom');
13859
+ }
13860
+ }
13861
+ render() {
13862
+ const classMap = this.getCssClassMap();
13863
+ return (h(Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, this.styles && h("style", null, this.styles), h("div", { class: "ptc-card-content-wrapper" }, h("slot", null))));
13864
+ }
13865
+ getCssClassMap() {
13866
+ return {
13867
+ [this.cardType]: !!this.cardType ? true : false,
13868
+ };
13869
+ }
13870
+ get el() { return this; }
13871
+ static get style() { return ptcCardContentCss; }
13857
13872
  };
13858
13873
 
13859
13874
  const ptcCardPlmCss = ":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(.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)}@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}}";
13860
13875
 
13861
- let PtcCardPlm$1 = class extends HTMLElement {
13862
- constructor() {
13863
- super();
13864
- this.__registerHost();
13865
- this.__attachShadow();
13866
- this.linkTarget = '_self';
13867
- }
13868
- render() {
13869
- const classMap = this.getCssClassMap();
13870
- const Tag = !!this.cardLink ? 'a' : 'div';
13871
- return (h(Host, { class: classMap }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
13872
- }
13873
- getCssClassMap() {
13874
- return {
13875
- [this.cardType]: this.cardType ? true : false
13876
- };
13877
- }
13878
- static get style() { return ptcCardPlmCss; }
13876
+ let PtcCardPlm$1 = class extends HTMLElement {
13877
+ constructor() {
13878
+ super();
13879
+ this.__registerHost();
13880
+ this.__attachShadow();
13881
+ this.linkTarget = '_self';
13882
+ }
13883
+ render() {
13884
+ const classMap = this.getCssClassMap();
13885
+ const Tag = !!this.cardLink ? 'a' : 'div';
13886
+ return (h(Host, { class: classMap }, h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), h("slot", null))));
13887
+ }
13888
+ getCssClassMap() {
13889
+ return {
13890
+ [this.cardType]: this.cardType ? true : false
13891
+ };
13892
+ }
13893
+ static get style() { return ptcCardPlmCss; }
13879
13894
  };
13880
13895
 
13881
- const ptcContainerCss = ".white{box-shadow:0px 1px 4px rgba(0, 0, 0, 0.24);border-radius:4px;background:#FFFFFF;margin-top:5rem}div{padding:1rem;font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0em;text-align:left}";
13896
+ const ptcCheckboxCss = ":host{display:block}:host .ptc-checkbox icon-asset{vertical-align:middle}:host .ptc-checkbox .ptc-checkbox-label{vertical-align:middle;margin-left:0.5rem}:host .ptc-checkbox.checked .unchecked-icon{display:none}:host .ptc-checkbox.checked .checked-icon{display:inline-block}:host .ptc-checkbox.unchecked .unchecked-icon{display:inline-block}:host .ptc-checkbox.unchecked .checked-icon{display:none}";
13882
13897
 
13883
- let PtcContainer$1 = class extends HTMLElement {
13884
- constructor() {
13885
- super();
13886
- this.__registerHost();
13887
- this.__attachShadow();
13888
- /**
13889
- * Theme
13890
- */
13891
- this.backgroundColor = 'white';
13892
- }
13893
- render() {
13894
- const classMap = this.getCssClassMap();
13895
- return (h(Host, { class: classMap }, h("div", { class: "white" }, h("slot", null))));
13896
- }
13897
- getCssClassMap() {
13898
- return {
13899
- ['ptc-container']: true,
13900
- [this.backgroundColor]: true
13901
- };
13902
- }
13903
- static get style() { return ptcContainerCss; }
13898
+ let PtcCheckbox$1 = class extends HTMLElement {
13899
+ constructor() {
13900
+ super();
13901
+ this.__registerHost();
13902
+ this.__attachShadow();
13903
+ this.clickedItem = createEvent(this, "clickedItem", 7);
13904
+ this.checked = 'unchecked';
13905
+ this.handleClick = () => {
13906
+ if (this.checked == 'unchecked') {
13907
+ this.checked = 'checked';
13908
+ }
13909
+ else {
13910
+ this.checked = 'unchecked';
13911
+ }
13912
+ };
13913
+ }
13914
+ render() {
13915
+ const classMap = this.getCssClassMap();
13916
+ return (h(Host, null, h("div", { class: classMap, onClick: this.handleClick }, h("icon-asset", { type: "solid", size: "large", name: "check-square", class: "checked-icon" }), h("icon-asset", { type: "solid", size: "large", name: "square", color: "white", class: "unchecked-icon" }), h("span", { class: "ptc-checkbox-label" }, h("slot", null)))));
13917
+ }
13918
+ getCssClassMap() {
13919
+ return {
13920
+ ['ptc-checkbox']: true,
13921
+ [this.checked]: true
13922
+ };
13923
+ }
13924
+ static get style() { return ptcCheckboxCss; }
13925
+ };
13926
+
13927
+ const ptcContainerCss = ":host{display:block;position:relative}.white{border-radius:4px;background-color:var(--color-white)}.gray{border-radius:4px;background-color:var(--color-white-gray)}.content-wrapper{padding:3rem;font-family:Raleway;font-size:16px;font-weight:400;line-height:24px;letter-spacing:0;text-align:left}.content-wrapper.x-small{box-shadow:var(--ptc-shadow-x-small)}.content-wrapper.small{box-shadow:var(--ptc-shadow-small)}.content-wrapper.medium{box-shadow:var(--ptc-shadow-medium)}.content-wrapper.large{box-shadow:var(--ptc-shadow-large)}.content-wrapper.x-large{box-shadow:var(--ptc-shadow-x-large)}";
13928
+
13929
+ let PtcContainer$1 = class extends HTMLElement {
13930
+ constructor() {
13931
+ super();
13932
+ this.__registerHost();
13933
+ this.__attachShadow();
13934
+ /**
13935
+ * Theme
13936
+ */
13937
+ this.backgroundColor = 'white';
13938
+ this.elevation = 'small';
13939
+ this.containerType = 'normal';
13940
+ }
13941
+ render() {
13942
+ const classMap = this.getCssClassMap();
13943
+ return (h(Host, { class: this.getContainerClass() }, h("div", { class: classMap }, h("slot", null))));
13944
+ }
13945
+ getContainerClass() {
13946
+ switch (this.containerType) {
13947
+ case 'large':
13948
+ return 'ptc-container-lg';
13949
+ case 'none':
13950
+ return undefined;
13951
+ default:
13952
+ return 'ptc-container';
13953
+ }
13954
+ }
13955
+ getCssClassMap() {
13956
+ return {
13957
+ ['content-wrapper']: true,
13958
+ [this.backgroundColor]: true,
13959
+ [this.elevation]: true
13960
+ };
13961
+ }
13962
+ static get style() { return ptcContainerCss; }
13904
13963
  };
13905
13964
 
13906
13965
  const ptcDateCss = ":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)}";
13907
13966
 
13908
- let PtcDate$1 = class extends HTMLElement {
13909
- constructor() {
13910
- super();
13911
- this.__registerHost();
13912
- this.__attachShadow();
13913
- /**
13914
- * Year
13915
- */
13916
- this.year = 1900;
13917
- /**
13918
- * Month
13919
- * An integer between 1 (January) and 12 (December) representing the month.If omitted, defaults to 0.
13920
- */
13921
- this.month = 0;
13922
- /**
13923
- * Day
13924
- * An integer between 1 and 31 representing the day of the month. If omitted, defaults to 1.
13925
- */
13926
- this.day = 1;
13927
- /**
13928
- * Country
13929
- * examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES
13930
- */
13931
- this.country = 'en-US';
13932
- /**
13933
- * Date Font Size
13934
- */
13935
- this.dataSize = 'small';
13936
- }
13937
- render() {
13938
- // const newDate = new Date(this.year, this.month, this.day);
13939
- const classMap = this.getCssClassMap();
13940
- return (h(Host, { class: classMap }, this.dateStyles && h("style", null, this.dateStyles), h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, { year: 'numeric', month: 'short', day: 'numeric' }))));
13941
- }
13942
- getCssClassMap() {
13943
- return {
13944
- [this.dateColor]: !!this.dateColor ? true : false,
13945
- [this.dataSize]: !!this.dataSize ? true : false,
13946
- };
13947
- }
13948
- getDate() {
13949
- if (this.dateString) {
13950
- let newDate = new Date(this.dateString.replace(/-/g, '/'));
13951
- return newDate;
13952
- }
13953
- else {
13954
- return new Date(this.year, this.month - 1, this.day);
13955
- }
13956
- }
13957
- static get style() { return ptcDateCss; }
13967
+ let PtcDate$1 = class extends HTMLElement {
13968
+ constructor() {
13969
+ super();
13970
+ this.__registerHost();
13971
+ this.__attachShadow();
13972
+ /**
13973
+ * Year
13974
+ */
13975
+ this.year = 1900;
13976
+ /**
13977
+ * Month
13978
+ * An integer between 1 (January) and 12 (December) representing the month.If omitted, defaults to 0.
13979
+ */
13980
+ this.month = 0;
13981
+ /**
13982
+ * Day
13983
+ * An integer between 1 and 31 representing the day of the month. If omitted, defaults to 1.
13984
+ */
13985
+ this.day = 1;
13986
+ /**
13987
+ * Country
13988
+ * examples: en-US, zh-CN, zh-TW, fr-FR, ja-JP, ru-RU, de-DE, ko-KR, it-IT, es-ES
13989
+ */
13990
+ this.country = 'en-US';
13991
+ /**
13992
+ * Date Font Size
13993
+ */
13994
+ this.dataSize = 'small';
13995
+ }
13996
+ render() {
13997
+ // const newDate = new Date(this.year, this.month, this.day);
13998
+ const classMap = this.getCssClassMap();
13999
+ return (h(Host, { class: classMap }, this.dateStyles && h("style", null, this.dateStyles), h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, { year: 'numeric', month: 'short', day: 'numeric' }))));
14000
+ }
14001
+ getCssClassMap() {
14002
+ return {
14003
+ [this.dateColor]: !!this.dateColor ? true : false,
14004
+ [this.dataSize]: !!this.dataSize ? true : false,
14005
+ };
14006
+ }
14007
+ getDate() {
14008
+ if (this.dateString) {
14009
+ let newDate = new Date(this.dateString.replace(/-/g, '/'));
14010
+ return newDate;
14011
+ }
14012
+ else {
14013
+ return new Date(this.year, this.month - 1, this.day);
14014
+ }
14015
+ }
14016
+ static get style() { return ptcDateCss; }
14017
+ };
14018
+
14019
+ const ptcEllipsisDropdownCss = ".ellipsis-icon{border:1px solid #6E717C;border-radius:2px;vertical-align:middle;height:18px;width:18px;text-align:center}.ellipsis-icon icon-asset{display:inline-block}.ellipsis-icon icon-asset svg{margin:0 auto;display:block}.ptc-ellipsis-dropdown{position:relative;display:inline-block}.dropdown-container{display:none;margin-top:16px;box-shadow:0px 6px 16px rgba(0, 0, 0, 0.24);border-radius:4px;position:absolute;z-index:100;background:#FFF;padding:0.8rem 0;right:0;left:auto;min-width:max-content;width:100%}.show .dropdown-container{display:inline-block}";
14020
+
14021
+ let PtcEllipsisDropdown$1 = class extends HTMLElement {
14022
+ constructor() {
14023
+ super();
14024
+ this.__registerHost();
14025
+ this.__attachShadow();
14026
+ this.itemSelected = createEvent(this, "itemSelected", 7);
14027
+ this.dataItems = [];
14028
+ this.isDropdownOpen = false;
14029
+ }
14030
+ dropdownToggle(e) {
14031
+ e.currentTarget.classList.toggle("show");
14032
+ }
14033
+ onItemSelected(e) {
14034
+ this.itemSelected.emit(e);
14035
+ }
14036
+ render() {
14037
+ return (h("div", { class: "ptc-ellipsis-dropdown", onClick: (e) => this.dropdownToggle(e) }, h("div", { class: "ellipsis-icon" }, h("icon-asset", { type: "solid", size: "xxx-small", name: "ellipsis-h" })), h("div", { class: "dropdown-container" }, h("slot", { name: "dropdown" }), this.dataItems.map(dataItem => {
14038
+ return (h("dropdown-item", null, h("a", { href: "#", onClick: (e) => {
14039
+ e.preventDefault();
14040
+ this.onItemSelected(dataItem);
14041
+ } }, dataItem.text)));
14042
+ }))));
14043
+ }
14044
+ get host() { return this; }
14045
+ static get style() { return ptcEllipsisDropdownCss; }
14046
+ };
14047
+
14048
+ const ptcFilterTagCss = ".bubble{font-family:Raleway;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0em;text-align:left;border:1px solid #9AA6AD;border-radius:999px;padding-top:0.5rem;padding-bottom:0.5rem;padding-left:1rem;padding-right:1rem;background:#FFFFFF}.bubble icon-asset{vertical-align:middle}";
14049
+
14050
+ let PtcFilterTag$1 = class extends HTMLElement {
14051
+ constructor() {
14052
+ super();
14053
+ this.__registerHost();
14054
+ this.__attachShadow();
14055
+ /**
14056
+ * Theme
14057
+ */
14058
+ this.theme = 'bubble';
14059
+ /**
14060
+ * Uppercase
14061
+ */
14062
+ this.uppercase = false;
14063
+ /**
14064
+ * Font Size
14065
+ */
14066
+ this.fontSize = 'medium';
14067
+ }
14068
+ render() {
14069
+ const classMap = this.getCssClassMap();
14070
+ return (h(Host, { class: classMap }, h("span", { class: "bubble" }, h("slot", null), h("icon-asset", { type: "solid", size: "x-small", name: "times" }))));
14071
+ }
14072
+ getCssClassMap() {
14073
+ return {
14074
+ ['ptc-filter-tag']: true,
14075
+ [this.theme]: true,
14076
+ ['uppercase']: this.uppercase,
14077
+ [this.fontSize]: true,
14078
+ };
14079
+ }
14080
+ static get style() { return ptcFilterTagCss; }
13958
14081
  };
13959
14082
 
13960
14083
  const ptcHeroCss = ":host{display:block;position:relative}:host(.jumbotron) .ptc-hero-wrapper,:host(.footer-cta) .ptc-hero-wrapper{position:relative}:host(.footer-cta) .ptc-hero-wrapper div>*{text-align:center}";
13961
14084
 
13962
- let PtcHero$1 = class extends HTMLElement {
13963
- constructor() {
13964
- super();
13965
- this.__registerHost();
13966
- this.__attachShadow();
13967
- /**
13968
- * Hero Background Image URL
13969
- */
13970
- this.bgUrl = undefined;
13971
- }
13972
- render() {
13973
- const classMap = this.getCssClassMap();
13974
- return (h(Host, { class: classMap }, h("div", { class: "ptc-hero-wrapper" }, h("ptc-img", Object.assign({ "image-type": "smart-bg" }, (!!this.bgUrl ? { imgUrl: this.bgUrl } : {}), { "size-xs": "600x450", "size-sm": "1108x658", "size-md": "1920x1080", "size-lg": "2700x1500" }), this.heroType == 'jumbotron' ? ([h("ptc-overlay", { "filter-color": "black-1" }), h("ptc-overlay", { "filter-color": "black-2" })]) : this.heroType == 'footer-cta' ? (h("ptc-overlay", { "filter-color": "black-3" })) : null, h("slot", null)))));
13975
- }
13976
- getCssClassMap() {
13977
- return {
13978
- [this.heroType]: this.heroType ? true : false,
13979
- };
13980
- }
13981
- static get style() { return ptcHeroCss; }
14085
+ let PtcHero$1 = class extends HTMLElement {
14086
+ constructor() {
14087
+ super();
14088
+ this.__registerHost();
14089
+ this.__attachShadow();
14090
+ /**
14091
+ * Hero Background Image URL
14092
+ */
14093
+ this.bgUrl = undefined;
14094
+ }
14095
+ render() {
14096
+ const classMap = this.getCssClassMap();
14097
+ return (h(Host, { class: classMap }, h("div", { class: "ptc-hero-wrapper" }, h("ptc-img", Object.assign({ "image-type": "smart-bg" }, (!!this.bgUrl ? { imgUrl: this.bgUrl } : {}), { "size-xs": "600x450", "size-sm": "1108x658", "size-md": "1920x1080", "size-lg": "2700x1500" }), this.heroType == 'jumbotron' ? ([h("ptc-overlay", { "filter-color": "black-1" }), h("ptc-overlay", { "filter-color": "black-2" })]) : this.heroType == 'footer-cta' ? (h("ptc-overlay", { "filter-color": "black-3" })) : null, h("slot", null)))));
14098
+ }
14099
+ getCssClassMap() {
14100
+ return {
14101
+ [this.heroType]: this.heroType ? true : false,
14102
+ };
14103
+ }
14104
+ static get style() { return ptcHeroCss; }
13982
14105
  };
13983
14106
 
13984
14107
  const ptcHeroFooterCtaCss = ".sc-ptc-hero-footer-cta-h{display:block}.hero-footer-cta.sc-ptc-hero-footer-cta{position:relative;padding:var(--ptc-layout-spacing-05) 0;background-position:50%;background-size:cover;background-repeat:no-repeat;position:relative}.hero-footer-cta.sc-ptc-hero-footer-cta .is-grid.sc-ptc-hero-footer-cta{align-items:center;position:relative;z-index:10;margin:auto}.hero-footer-cta.sc-ptc-hero-footer-cta h2.sc-ptc-hero-footer-cta,.hero-footer-cta.sc-ptc-hero-footer-cta p.sc-ptc-hero-footer-cta{color:var(--color-white);text-shadow:1px 1px 20px rgba(0, 0, 0, 0.5);font-stretch:normal;font-style:normal;text-align:left;color:var(--color-white)}.hero-footer-cta.sc-ptc-hero-footer-cta h2.sc-ptc-hero-footer-cta{font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-black);letter-spacing:var(--ptc-letter-spacing-loose);margin:var(--ptc-element-spacing-04) 0}@media only screen and (min-width: 992px){.hero-footer-cta.sc-ptc-hero-footer-cta h2.sc-ptc-hero-footer-cta{font-size:var(--ptc-font-size-xxxx-large);font-weight:var(--ptc-font-weight-extrabold)}}.hero-footer-cta.sc-ptc-hero-footer-cta p.sc-ptc-hero-footer-cta{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-p);letter-spacing:var(--ptc-letter-spacing-normal)}@media only screen and (min-width: 768px){.hero-footer-cta.sc-ptc-hero-footer-cta p.sc-ptc-hero-footer-cta{max-width:70%}}@media only screen and (min-width: 992px){.hero-footer-cta.sc-ptc-hero-footer-cta p.sc-ptc-hero-footer-cta{font-size:var(--ptc-font-size-medium);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser)}}.hero-footer-cta.sc-ptc-hero-footer-cta .cta-overlay.sc-ptc-hero-footer-cta{position:absolute;top:0;bottom:0;right:0;left:0;background:rgba(0, 0, 0, 0.35)}.hero-footer-cta.sc-ptc-hero-footer-cta .btm-cta-cut.sc-ptc-hero-footer-cta{position:absolute;top:-1px;right:0;fill:var(--color-white);z-index:100;transform:scaleY(-1)}@media only screen and (min-width: 992px){.hero-footer-cta.sc-ptc-hero-footer-cta .cta-left-padding.sc-ptc-hero-footer-cta{padding-left:var(--ptc-element-spacing-08)}}";
13985
14108
 
13986
- let PtcHeroFooterCta$1 = class extends HTMLElement {
13987
- constructor() {
13988
- super();
13989
- this.__registerHost();
13990
- }
13991
- render() {
13992
- return (h(Host, null, h("div", { class: "hero-footer-cta ", style: { backgroundImage: `url(${this.backgroundImage})` } }, h("svg", { class: "btm-cta-cut", xmlns: "http://www.w3.org/2000/svg", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179" }, h("path", { fill: "#F3F3F3", id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "path-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), h("div", { class: "cta-overlay" }), h("div", { class: "ptc-container is-grid has-p-lg" }, h("div", { class: "is-col-8-lg cta-left-padding" }, h("h2", null, this.ctaTitle), h("p", null, this.description)), h("div", { class: "is-col-4-lg cta-section" }, h("slot", { name: "cta" }))))));
13993
- }
13994
- static get style() { return ptcHeroFooterCtaCss; }
14109
+ let PtcHeroFooterCta$1 = class extends HTMLElement {
14110
+ constructor() {
14111
+ super();
14112
+ this.__registerHost();
14113
+ }
14114
+ render() {
14115
+ return (h(Host, null, h("div", { class: "hero-footer-cta ", style: { backgroundImage: `url(${this.backgroundImage})` } }, h("svg", { class: "btm-cta-cut", xmlns: "http://www.w3.org/2000/svg", width: "320.963", height: "28.179", viewBox: "0 0 320.963 28.179" }, h("path", { fill: "#F3F3F3", id: "Path_8770", d: "M737.02 463.856v27.8H416.057v.378h102.38l47.607-28.179z", class: "path-1", "data-name": "Path 8770", transform: "translate(-416.057 -463.856)" })), h("div", { class: "cta-overlay" }), h("div", { class: "ptc-container is-grid has-p-lg" }, h("div", { class: "is-col-8-lg cta-left-padding" }, h("h2", null, this.ctaTitle), h("p", null, this.description)), h("div", { class: "is-col-4-lg cta-section" }, h("slot", { name: "cta" }))))));
14116
+ }
14117
+ static get style() { return ptcHeroFooterCtaCss; }
13995
14118
  };
13996
14119
 
13997
14120
  const ptcIconListCss = ":host{display:block;padding-bottom:var(--ptc-element-spacing-03)}:host .ptc-icon-list{display:flex;align-items:center}:host .ptc-icon-list .value-text{font-size:var(--ptc-font-size-small)}:host .ptc-icon-list .ptc-numbered-values{margin-left:var(--ptc-element-spacing-03);font-family:var(--ptc-font-secondary-latin)}:host .ptc-icon-list .ptc-numbered-subtitle{margin:0;font-size:var(--ptc-font-size-medium);font-family:var(--ptc-font-secondary-latin)}@media only screen and (min-width: 992px){:host .ptc-icon-list .ptc-numbered-subtitle{font-size:var(--ptc-font-size-large)}}:host .ptc-icon-list .ptc-content{font-family:var(--ptc-font-secondary-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);margin:0 0 0 var(--ptc-element-spacing-03);line-height:var(--ptc-line-height-densest)}:host .ptc-icon-list .ptc-content-simple{margin:0 0 0 var(--ptc-element-spacing-03);font-size:var(--ptc-font-size-small);font-stretch:normal;font-style:normal;line-height:var(--ptc-line-height-dense);letter-spacing:normal;text-align:left;color:var(--color-gray-10);line-height:var(--ptc-line-height-densest)}:host ::slotted(icon-asset){display:flex;align-self:center}:host(.last-item){margin-bottom:var(--ptc-layout-spacing-03)}";
13998
14121
 
13999
- let PtcIconList$1 = class extends HTMLElement {
14000
- constructor() {
14001
- super();
14002
- this.__registerHost();
14003
- this.__attachShadow();
14004
- /**
14005
- * List item type
14006
- */
14007
- this.listType = 'simple-icon-list';
14008
- /**
14009
- * List value with unit Example: 60%
14010
- */
14011
- this.valueWithUnit = '';
14012
- /**
14013
- * List value text Example: up to
14014
- */
14015
- this.valueText = '';
14016
- /**
14017
- * List value with unit Example: Increase in Operator Productivity
14018
- */
14019
- this.listContent = '';
14020
- this.isLastItem = false;
14021
- }
14022
- render() {
14023
- const classMap = this.getCssClassMap();
14024
- return (h(Host, { class: classMap }, this.listType == "stat-icon-list" ? (h("div", { class: "ptc-icon-list" }, h("slot", { name: "icon" }), h("div", { class: "ptc-numbered-values" }, h("span", { class: "value-text" }, this.valueText, "\u00A0"), h("span", { class: "ptc-numbered-subtitle" }, this.valueWithUnit)), h("p", { class: "ptc-content" }, "- \u00A0", this.listContent))) : (h("div", { class: "ptc-icon-list" }, h("slot", { name: "icon" }), h("p", { class: "ptc-content-simple" }, this.listContent, " ")))));
14025
- }
14026
- getCssClassMap() {
14027
- return {
14028
- [this.listType]: this.listType ? true : false,
14029
- ['last-item']: this.isLastItem ? true : false
14030
- };
14031
- }
14032
- static get style() { return ptcIconListCss; }
14122
+ let PtcIconList$1 = class extends HTMLElement {
14123
+ constructor() {
14124
+ super();
14125
+ this.__registerHost();
14126
+ this.__attachShadow();
14127
+ /**
14128
+ * List item type
14129
+ */
14130
+ this.listType = 'simple-icon-list';
14131
+ /**
14132
+ * List value with unit Example: 60%
14133
+ */
14134
+ this.valueWithUnit = '';
14135
+ /**
14136
+ * List value text Example: up to
14137
+ */
14138
+ this.valueText = '';
14139
+ /**
14140
+ * List value with unit Example: Increase in Operator Productivity
14141
+ */
14142
+ this.listContent = '';
14143
+ this.isLastItem = false;
14144
+ }
14145
+ render() {
14146
+ const classMap = this.getCssClassMap();
14147
+ return (h(Host, { class: classMap }, this.listType == "stat-icon-list" ? (h("div", { class: "ptc-icon-list" }, h("slot", { name: "icon" }), h("div", { class: "ptc-numbered-values" }, h("span", { class: "value-text" }, this.valueText, "\u00A0"), h("span", { class: "ptc-numbered-subtitle" }, this.valueWithUnit)), h("p", { class: "ptc-content" }, "- \u00A0", this.listContent))) : (h("div", { class: "ptc-icon-list" }, h("slot", { name: "icon" }), h("p", { class: "ptc-content-simple" }, this.listContent, " ")))));
14148
+ }
14149
+ getCssClassMap() {
14150
+ return {
14151
+ [this.listType]: this.listType ? true : false,
14152
+ ['last-item']: this.isLastItem ? true : false
14153
+ };
14154
+ }
14155
+ static get style() { return ptcIconListCss; }
14033
14156
  };
14034
14157
 
14035
- let ResponsiveBgVariables = {
14036
- envs: ['xs', 'sm', 'md', 'lg'],
14037
- selector: '.ptc-img',
14038
- interval: 250
14039
- };
14040
- let ResponsivePictureVariables = {
14041
- envs: ['xs', 'sm', 'md', 'lg'],
14042
- selector: '.ptc-picture',
14043
- interval: 250
14158
+ let ResponsiveBgVariables = {
14159
+ envs: ['xs', 'sm', 'md', 'lg'],
14160
+ selector: '.ptc-img',
14161
+ interval: 250
14162
+ };
14163
+ let ResponsivePictureVariables = {
14164
+ envs: ['xs', 'sm', 'md', 'lg'],
14165
+ selector: '.ptc-picture',
14166
+ interval: 250
14044
14167
  };
14045
14168
 
14046
14169
  const ptcImgCss = ".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}}";
14047
14170
 
14048
- let PtcImg$1 = class extends HTMLElement {
14049
- constructor() {
14050
- super();
14051
- this.__registerHost();
14052
- /**
14053
- * Image size for smallest screen
14054
- * <=767px
14055
- */
14056
- this.sizeXs = '510x340';
14057
- /**
14058
- * Image size for small screen
14059
- * >=768px and <=991px
14060
- */
14061
- this.sizeSm = '1240x496';
14062
- /**
14063
- * Image size for medium screen
14064
- * >=992px and <=1199px
14065
- */
14066
- this.sizeMd = '1366x500';
14067
- /**
14068
- * Image solution for large screen
14069
- * >=1200px
14070
- */
14071
- this.sizeLg = '1920x1080';
14072
- /**
14073
- * Image type
14074
- */
14075
- this.imageType = 'smart-bg';
14076
- /**
14077
- * Image border shape
14078
- */
14079
- this.borderRadius = '';
14080
- /**
14081
- * Lazy loading option
14082
- */
14083
- this.loadMode = 'lazy-bg';
14084
- }
14085
- /**
14086
- * Image Z Index
14087
- */
14088
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
14089
- WindowResize() {
14090
- this.setResponsiveBg();
14091
- }
14092
- render() {
14093
- const classMap = this.getCssClassMap();
14094
- return (h(Host, null, h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
14095
- }
14096
- componentDidLoad() {
14097
- this.addIntersectionObserver();
14098
- this.setResponsiveBg();
14099
- }
14100
- componentWillUpdate() {
14101
- // console.log('componentWillUpdate!');
14102
- this.addIntersectionObserver();
14103
- this.setResponsiveBg();
14104
- }
14105
- //responsive image
14106
- setResponsiveBg() {
14107
- // Define local variables
14108
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
14109
- // console.log('current breakpoint: ' + currentBreakpoint);
14110
- // Loop through all target elements
14111
- for (var i = 0, len = backgrounds.length; i < len; i++) {
14112
- // Set current variables
14113
- el = backgrounds[i];
14114
- elData = el.getAttribute('data-' + currentBreakpoint);
14115
- // If the data attribute exists, set the background
14116
- if (elData !== null) {
14117
- el.style.backgroundImage = "url('" + elData + "')";
14118
- }
14119
- else {
14120
- if (typeof console == 'object') {
14121
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
14122
- }
14123
- }
14124
- }
14125
- }
14126
- //lazy loading
14127
- addIntersectionObserver() {
14128
- if (!this.imgUrl) {
14129
- console.log('no image!');
14130
- return;
14131
- }
14132
- if ('IntersectionObserver' in window) {
14133
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
14134
- let bgObserver = new IntersectionObserver(entries => {
14135
- entries.forEach(entry => {
14136
- if (entry.isIntersecting) {
14137
- const image = entry.target;
14138
- image.classList.remove('lazy-bg');
14139
- // console.log('loaded');
14140
- bgObserver.unobserve(image);
14141
- }
14142
- });
14143
- });
14144
- lazyLoadBgs.forEach(image => {
14145
- bgObserver.observe(image);
14146
- });
14147
- }
14148
- }
14149
- getCssClassMap() {
14150
- return {
14151
- [this.imageType]: true,
14152
- 'ptc-img': true,
14153
- [this.borderRadius]: true,
14154
- [this.loadMode]: true,
14155
- // [this.imageZIndex] : true
14156
- };
14157
- }
14158
- getCurrentBreakPoints() {
14159
- // Define local variables
14160
- let doc = window.document, temp = doc.createElement('div'), env;
14161
- // Append test node
14162
- doc.body.appendChild(temp);
14163
- // Loop through breakpoints
14164
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
14165
- env = ResponsiveBgVariables.envs[i];
14166
- // Add classes
14167
- temp.className = 'hidden-' + env;
14168
- // Found breakpoint
14169
- if (temp.offsetParent === null) {
14170
- // Remove our test node
14171
- doc.body.removeChild(temp);
14172
- console.log('remove test node');
14173
- // Return current breakpoint
14174
- return env;
14175
- }
14176
- }
14177
- // Breakpoint not found, try fallback
14178
- doc.body.removeChild(temp);
14179
- return this.getFallbackBreakpoint();
14180
- }
14181
- getFallbackBreakpoint() {
14182
- if (window.matchMedia('(min-width: 992px)').matches) {
14183
- return 'lg';
14184
- }
14185
- else if (window.matchMedia('(min-width: 768px)').matches) {
14186
- return 'md';
14187
- }
14188
- else if (window.matchMedia('(min-width: 576px)').matches) {
14189
- return 'sm';
14190
- }
14191
- else {
14192
- return 'xs';
14193
- }
14194
- }
14195
- get el() { return this; }
14196
- static get style() { return ptcImgCss; }
14171
+ let PtcImg$1 = class extends HTMLElement {
14172
+ constructor() {
14173
+ super();
14174
+ this.__registerHost();
14175
+ /**
14176
+ * Image size for smallest screen
14177
+ * <=767px
14178
+ */
14179
+ this.sizeXs = '510x340';
14180
+ /**
14181
+ * Image size for small screen
14182
+ * >=768px and <=991px
14183
+ */
14184
+ this.sizeSm = '1240x496';
14185
+ /**
14186
+ * Image size for medium screen
14187
+ * >=992px and <=1199px
14188
+ */
14189
+ this.sizeMd = '1366x500';
14190
+ /**
14191
+ * Image solution for large screen
14192
+ * >=1200px
14193
+ */
14194
+ this.sizeLg = '1920x1080';
14195
+ /**
14196
+ * Image type
14197
+ */
14198
+ this.imageType = 'smart-bg';
14199
+ /**
14200
+ * Image border shape
14201
+ */
14202
+ this.borderRadius = '';
14203
+ /**
14204
+ * Lazy loading option
14205
+ */
14206
+ this.loadMode = 'lazy-bg';
14207
+ }
14208
+ /**
14209
+ * Image Z Index
14210
+ */
14211
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
14212
+ WindowResize() {
14213
+ this.setResponsiveBg();
14214
+ }
14215
+ render() {
14216
+ const classMap = this.getCssClassMap();
14217
+ return (h(Host, null, h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
14218
+ }
14219
+ componentDidLoad() {
14220
+ this.addIntersectionObserver();
14221
+ this.setResponsiveBg();
14222
+ }
14223
+ componentWillUpdate() {
14224
+ // console.log('componentWillUpdate!');
14225
+ this.addIntersectionObserver();
14226
+ this.setResponsiveBg();
14227
+ }
14228
+ //responsive image
14229
+ setResponsiveBg() {
14230
+ // Define local variables
14231
+ let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
14232
+ // console.log('current breakpoint: ' + currentBreakpoint);
14233
+ // Loop through all target elements
14234
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
14235
+ // Set current variables
14236
+ el = backgrounds[i];
14237
+ elData = el.getAttribute('data-' + currentBreakpoint);
14238
+ // If the data attribute exists, set the background
14239
+ if (elData !== null) {
14240
+ el.style.backgroundImage = "url('" + elData + "')";
14241
+ }
14242
+ else {
14243
+ if (typeof console == 'object') {
14244
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
14245
+ }
14246
+ }
14247
+ }
14248
+ }
14249
+ //lazy loading
14250
+ addIntersectionObserver() {
14251
+ if (!this.imgUrl) {
14252
+ console.log('no image!');
14253
+ return;
14254
+ }
14255
+ if ('IntersectionObserver' in window) {
14256
+ let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
14257
+ let bgObserver = new IntersectionObserver(entries => {
14258
+ entries.forEach(entry => {
14259
+ if (entry.isIntersecting) {
14260
+ const image = entry.target;
14261
+ image.classList.remove('lazy-bg');
14262
+ // console.log('loaded');
14263
+ bgObserver.unobserve(image);
14264
+ }
14265
+ });
14266
+ });
14267
+ lazyLoadBgs.forEach(image => {
14268
+ bgObserver.observe(image);
14269
+ });
14270
+ }
14271
+ }
14272
+ getCssClassMap() {
14273
+ return {
14274
+ [this.imageType]: true,
14275
+ 'ptc-img': true,
14276
+ [this.borderRadius]: true,
14277
+ [this.loadMode]: true,
14278
+ // [this.imageZIndex] : true
14279
+ };
14280
+ }
14281
+ getCurrentBreakPoints() {
14282
+ // Define local variables
14283
+ let doc = window.document, temp = doc.createElement('div'), env;
14284
+ // Append test node
14285
+ doc.body.appendChild(temp);
14286
+ // Loop through breakpoints
14287
+ for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
14288
+ env = ResponsiveBgVariables.envs[i];
14289
+ // Add classes
14290
+ temp.className = 'hidden-' + env;
14291
+ // Found breakpoint
14292
+ if (temp.offsetParent === null) {
14293
+ // Remove our test node
14294
+ doc.body.removeChild(temp);
14295
+ console.log('remove test node');
14296
+ // Return current breakpoint
14297
+ return env;
14298
+ }
14299
+ }
14300
+ // Breakpoint not found, try fallback
14301
+ doc.body.removeChild(temp);
14302
+ return this.getFallbackBreakpoint();
14303
+ }
14304
+ getFallbackBreakpoint() {
14305
+ if (window.matchMedia('(min-width: 992px)').matches) {
14306
+ return 'lg';
14307
+ }
14308
+ else if (window.matchMedia('(min-width: 768px)').matches) {
14309
+ return 'md';
14310
+ }
14311
+ else if (window.matchMedia('(min-width: 576px)').matches) {
14312
+ return 'sm';
14313
+ }
14314
+ else {
14315
+ return 'xs';
14316
+ }
14317
+ }
14318
+ get el() { return this; }
14319
+ static get style() { return ptcImgCss; }
14197
14320
  };
14198
14321
 
14199
14322
  const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);outline:none;text-decoration:none}.simple::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-ease-inout);border-bottom:2px solid var(--color-green-07);opacity:0}.simple:hover.simple::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-07);border-bottom:2px solid var(--color-green-07);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-ease-inout)}.arrow:hover.arrow::after{width:100%}.underline{border-bottom:2px solid var(--color-green-07)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.large{font-size:var(--ptc-font-size-medium)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-ease-inout);transform:translateY(2px)}.ptc-link.arrow icon-asset svg{fill:var(--color-green-07) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 8%)}.ptc-link.arrow-plm svg{fill:var(--color-green-07) !important}.ptc-link:hover.arrow icon-asset{transform:translate(var(--ptc-element-spacing-04), 2px)}.nav-title:focus,.nav-title-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.arrow-plm:hover{text-decoration-color:var(--color-green-07)}";
14200
14323
 
14201
- let PtcLink$1 = class extends HTMLElement {
14202
- constructor() {
14203
- super();
14204
- this.__registerHost();
14205
- this.__attachShadow();
14206
- /**
14207
- * Disabled link
14208
- */
14209
- this.disabled = false;
14210
- /**
14211
- * Rxternal link
14212
- * */
14213
- this.external = false;
14214
- /**
14215
- * Target
14216
- */
14217
- this.target = '_self';
14218
- /**
14219
- * Theme
14220
- */
14221
- this.theme = 'simple';
14222
- /**
14223
- * Uppercase
14224
- */
14225
- this.uppercase = false;
14226
- /**
14227
- * Font Size
14228
- */
14229
- this.fontSize = 'medium';
14230
- }
14231
- render() {
14232
- const classMap = this.getCssClassMap();
14233
- return (h(Host, null, h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? h("icon-asset", { type: "solid", size: "x-small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? h("icon-asset", { type: "ptc", size: "x-small", name: "button-arrow-right" }) : '', h("slot", null))));
14234
- }
14235
- getCssClassMap() {
14236
- return {
14237
- ['ptc-link']: true,
14238
- [this.theme]: true,
14239
- ['uppercase']: this.uppercase,
14240
- ['disabled']: this.disabled,
14241
- [this.fontSize]: true,
14242
- };
14243
- }
14244
- static get style() { return ptcLinkCss; }
14324
+ let PtcLink$1 = class extends HTMLElement {
14325
+ constructor() {
14326
+ super();
14327
+ this.__registerHost();
14328
+ this.__attachShadow();
14329
+ /**
14330
+ * Disabled link
14331
+ */
14332
+ this.disabled = false;
14333
+ /**
14334
+ * Rxternal link
14335
+ * */
14336
+ this.external = false;
14337
+ /**
14338
+ * Target
14339
+ */
14340
+ this.target = '_self';
14341
+ /**
14342
+ * Theme
14343
+ */
14344
+ this.theme = 'simple';
14345
+ /**
14346
+ * Uppercase
14347
+ */
14348
+ this.uppercase = false;
14349
+ /**
14350
+ * Font Size
14351
+ */
14352
+ this.fontSize = 'medium';
14353
+ }
14354
+ render() {
14355
+ const classMap = this.getCssClassMap();
14356
+ return (h(Host, null, h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? h("icon-asset", { type: "solid", size: "x-small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? h("icon-asset", { type: "ptc", size: "x-small", name: "button-arrow-right" }) : '', h("slot", null))));
14357
+ }
14358
+ getCssClassMap() {
14359
+ return {
14360
+ ['ptc-link']: true,
14361
+ [this.theme]: true,
14362
+ ['uppercase']: this.uppercase,
14363
+ ['disabled']: this.disabled,
14364
+ [this.fontSize]: true,
14365
+ };
14366
+ }
14367
+ static get style() { return ptcLinkCss; }
14245
14368
  };
14246
14369
 
14247
14370
  const ptcListCss = ":host{display:block}:host(.list-primary) li{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-normal);letter-spacing:var(--ptc-letter-spacing-normal);list-style:none}:host(.list-primary) li:not(:last-child){margin-bottom:0.625rem}:host(.list-primary) li a{color:var(--color-white);outline:none;text-decoration:none;font-family:Rajdhani;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-normal);text-transform:uppercase;letter-spacing:var(--ptc-letter-spacing-normal)}:host(.list-primary) li a:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-07)}";
14248
14371
 
14249
- let PtcList$1 = class extends HTMLElement {
14250
- constructor() {
14251
- super();
14252
- this.__registerHost();
14253
- this.__attachShadow();
14254
- this.listType = 'list-primary';
14255
- this.listItems = [];
14256
- }
14257
- render() {
14258
- const classMap = this.getCssClassMap();
14259
- const listItems = this.listItems;
14260
- //console.log(this.listItems.length);
14261
- if (!listItems || listItems.length === 0) {
14262
- return null;
14263
- }
14264
- return (h(Host, { class: classMap }, h("ul", null, listItems.map(listItem => {
14265
- h("li", null, listItem);
14266
- }))));
14267
- }
14268
- getCssClassMap() {
14269
- return {
14270
- [this.listType]: this.listItems ? true : false,
14271
- };
14272
- }
14273
- static get style() { return ptcListCss; }
14372
+ let PtcList$1 = class extends HTMLElement {
14373
+ constructor() {
14374
+ super();
14375
+ this.__registerHost();
14376
+ this.__attachShadow();
14377
+ this.listType = 'list-primary';
14378
+ this.listItems = [];
14379
+ }
14380
+ render() {
14381
+ const classMap = this.getCssClassMap();
14382
+ const listItems = this.listItems;
14383
+ //console.log(this.listItems.length);
14384
+ if (!listItems || listItems.length === 0) {
14385
+ return null;
14386
+ }
14387
+ return (h(Host, { class: classMap }, h("ul", null, listItems.map(listItem => {
14388
+ h("li", null, listItem);
14389
+ }))));
14390
+ }
14391
+ getCssClassMap() {
14392
+ return {
14393
+ [this.listType]: this.listItems ? true : false,
14394
+ };
14395
+ }
14396
+ static get style() { return ptcListCss; }
14274
14397
  };
14275
14398
 
14276
14399
  const ptcLottieCss = ":host{display:block;width:100%;height:auto}";
14277
14400
 
14278
- let PtcLottie$1 = class extends HTMLElement {
14279
- constructor() {
14280
- super();
14281
- this.__registerHost();
14282
- this.__attachShadow();
14283
- /**
14284
- * Animation speed
14285
- */
14286
- this.speed = 1;
14287
- }
14288
- render() {
14289
- return (h("lottie-player", { autoplay: true, loop: true, src: this.jsonSrc, speed: this.speed }));
14290
- }
14291
- static get style() { return ptcLottieCss; }
14401
+ let PtcLottie$1 = class extends HTMLElement {
14402
+ constructor() {
14403
+ super();
14404
+ this.__registerHost();
14405
+ this.__attachShadow();
14406
+ /**
14407
+ * Animation speed
14408
+ */
14409
+ this.speed = 1;
14410
+ }
14411
+ render() {
14412
+ return (h("lottie-player", { autoplay: true, loop: true, src: this.jsonSrc, speed: this.speed }));
14413
+ }
14414
+ static get style() { return ptcLottieCss; }
14292
14415
  };
14293
14416
 
14294
14417
  const ptcMinimizedFooterCss = ":host{box-shadow:var(--ptc-shadow-medium);color:var(--color-white);position:relative;overflow:hidden;position:relative;z-index:1000;padding:0;height:60px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;background-color:var(--color-gray-10)}.min-footer-nav-list{margin:0;padding:0;list-style:none}.min-footer-copyright-wrapper{text-align:center;position:relative;z-index:20}.min-footer-copyright-wrapper .min-footer-copyright-list{padding:var(--ptc-element-spacing-04) 0;display:flex;flex-direction:row}@media screen-sm{.min-footer-copyright-wrapper .min-footer-copyright-list{padding:var(--ptc-element-spacing-04) 0}}";
14295
14418
 
14296
- let PtcMinimizedFooter$1 = class extends HTMLElement {
14297
- constructor() {
14298
- super();
14299
- this.__registerHost();
14300
- this.__attachShadow();
14301
- }
14302
- render() {
14303
- return (h(Host, { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null)))));
14304
- }
14305
- static get style() { return ptcMinimizedFooterCss; }
14419
+ let PtcMinimizedFooter$1 = class extends HTMLElement {
14420
+ constructor() {
14421
+ super();
14422
+ this.__registerHost();
14423
+ this.__attachShadow();
14424
+ }
14425
+ render() {
14426
+ return (h(Host, { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null)))));
14427
+ }
14428
+ static get style() { return ptcMinimizedFooterCss; }
14306
14429
  };
14307
14430
 
14308
14431
  const ptcMinimizedHeaderCss = ":host{display:block}.minimized-header .header{overflow:hidden;height:48px;background-color:var(--color-gray-10);display:flex;align-items:center;justify-content:center}.minimized-header .header a{float:left;color:var(--color-black);text-align:center;padding:0px 0;text-decoration:none;font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-p);border-radius:var(--ptc-border-radius-standard)}.minimized-header .header a.mini-navbar-logo{font-size:var(--ptc-font-size-large);font-weight:var(--ptc-font-weight-bold)}.minimized-header .header a.mini-navbar-logo img{width:65px;vertical-align:middle;border:0;height:auto}.mini-navbar-logo{outline:3px solid transparent}.mini-navbar-logo:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}@media only screen and (min-width: 768px){.temp-container{width:750px}}@media only screen and (min-width: 992px){.temp-container{width:970px}}@media only screen and (min-width: 1200px){.temp-container{width:1170px}}@media only screen and (min-width: 1440px){.temp-container{width:1400px}}@media only screen and (min-width: 1600px){.temp-container{width:1560px}}@media screen-xs{.minimized-header .header a{float:none;display:block;text-align:left}}";
14309
14432
 
14310
- let PtcMinimizedHeader$1 = class extends HTMLElement {
14311
- constructor() {
14312
- super();
14313
- this.__registerHost();
14314
- this.__attachShadow();
14315
- this.linkUrl = '#';
14316
- this.imgSrc = '';
14317
- this.imgAlt = 'PTC';
14318
- }
14319
- render() {
14320
- return (h(Host, null, h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "temp-container" }, h("a", { class: "mini-navbar-logo", href: this.linkUrl }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))));
14321
- }
14322
- static get style() { return ptcMinimizedHeaderCss; }
14433
+ let PtcMinimizedHeader$1 = class extends HTMLElement {
14434
+ constructor() {
14435
+ super();
14436
+ this.__registerHost();
14437
+ this.__attachShadow();
14438
+ this.linkUrl = '#';
14439
+ this.imgSrc = '';
14440
+ this.imgAlt = 'PTC';
14441
+ }
14442
+ render() {
14443
+ return (h(Host, null, h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "temp-container" }, h("a", { class: "mini-navbar-logo", href: this.linkUrl }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))));
14444
+ }
14445
+ static get style() { return ptcMinimizedHeaderCss; }
14323
14446
  };
14324
14447
 
14325
14448
  var mobileSelect = createCommonjsModule(function (module, exports) {
@@ -15038,967 +15161,1205 @@ var mobileSelect = createCommonjsModule(function (module, exports) {
15038
15161
 
15039
15162
  const ptcMobileSelectCss = ".mobileSelect{position:relative;z-index:0;opacity:0;visibility:hidden;-webkit-transition:opacity 0.4s, z-index 0.4s;transition:opacity 0.4s, z-index 0.4s}.mobileSelect *{margin:0;padding:0;-webkit-box-sizing:border-box;box-sizing:border-box}.mobileSelect .grayLayer{position:fixed;top:0;left:0;bottom:0;right:0;background:#eee;background:rgba(0, 0, 0, 0.7);z-index:888;display:block}.mobileSelect .content{width:100%;display:block;position:fixed;z-index:889;color:black;-webkit-transition:all 0.4s;transition:all 0.4s;bottom:-350px;left:0;background:white}.mobileSelect .content .fixWidth{width:90%;margin:0 auto;position:relative}.mobileSelect .content .fixWidth:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.mobileSelect .content .btnBar{border-bottom:1px solid #DCDCDC;font-size:15px;height:45px;position:relative;text-align:center;line-height:45px}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure{height:45px;width:55px;cursor:pointer;position:absolute;top:0}.mobileSelect .content .btnBar .cancel{left:0;color:#666}.mobileSelect .content .btnBar .ensure{right:0;color:#1e83d3}.mobileSelect .content .btnBar .title{font-size:15px;padding:0 15%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mobileSelect .content .panel:after{content:\".\";display:block;height:0;clear:both;visibility:hidden}.mobileSelect .content .panel .wheels{width:100%;height:200px;overflow:hidden}.mobileSelect .content .panel .wheel{position:relative;z-index:0;float:left;width:50%;height:200px;overflow:hidden;-webkit-transition:width 0.3s ease;transition:width 0.3s ease}.mobileSelect .content .panel .wheel .selectContainer{display:block;text-align:center;-webkit-transition:-webkit-transform 0.18s ease-out;transition:-webkit-transform 0.18s ease-out;transition:transform 0.18s ease-out;transition:transform 0.18s ease-out, -webkit-transform 0.18s ease-out}.mobileSelect .content .panel .wheel .selectContainer li{font-size:15px;display:block;height:40px;line-height:40px;cursor:pointer;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.mobileSelect .content .panel .selectLine{height:40px;width:100%;position:absolute;top:80px;pointer-events:none;-webkit-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #DCDCDC;border-bottom:1px solid #DCDCDC}.mobileSelect .content .panel .shadowMask{position:absolute;top:0;width:100%;height:200px;background:-webkit-gradient(linear, left top, left bottom, from(#ffffff), color-stop(rgba(255, 255, 255, 0)), to(#ffffff));background:-webkit-linear-gradient(top, #ffffff, rgba(255, 255, 255, 0), #ffffff);background:linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0), #ffffff);opacity:0.9;pointer-events:none}.mobileSelect-show{opacity:1;z-index:10000;visibility:visible}.mobileSelect-show .content{bottom:0}.mobile-select-wrapper{display:block}.mobile-select-wrapper div{display:inline;margin-right:var(--ptc-element-spacing-03);width:100%;font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);color:var(--color-white);height:18px}.mobileSelect .content{top:auto}.mobileSelect .content .btnBar{border-color:var(--color-gray-10)}.mobileSelect .content .btnBar .cancel,.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .title{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest)}.mobileSelect .content .btnBar .ensure,.mobileSelect .content .btnBar .cancel{transform:translateY(12.5px);width:125px}.mobileSelect .content .panel .wheel .selectContainer li{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);height:45px}ptc-responsive-wrapper.xsmall .mobile-select-wrapper,ptc-responsive-wrapper.small .mobile-select-wrapper{display:block}ptc-responsive-wrapper.medium .mobile-select-wrapper,ptc-responsive-wrapper.large .mobile-select-wrapper,ptc-responsive-wrapper.xlarge .mobile-select-wrapper,ptc-responsive-wrapper.xxlarge .mobile-select-wrapper,ptc-responsive-wrapper.large2k .mobile-select-wrapper,ptc-responsive-wrapper.large4k .mobile-select-wrapper{display:none}";
15040
15163
 
15041
- let PtcMobileSelect$1 = class extends HTMLElement {
15042
- constructor() {
15043
- super();
15044
- this.__registerHost();
15045
- /**
15046
- * Selected Id
15047
- * - initialize the id(string) of default wheel
15048
- */
15049
- this.selectedId = '';
15050
- /**
15051
- * Confirm Text
15052
- * - translation goes here
15053
- */
15054
- this.ensureBtnText = 'Confirm';
15055
- /**
15056
- * Cancel Text
15057
- * - translation goes here
15058
- */
15059
- this.cancelBtnText = 'Cancel';
15060
- /**
15061
- * Mobile select list title (Optional)
15062
- */
15063
- this.listTitle = undefined;
15064
- /**
15065
- * link url
15066
- */
15067
- this.linkUrl = undefined;
15068
- }
15069
- render() {
15070
- return (h("div", { class: "mobile-select-wrapper" }, h("div", { id: this.triggerName }, this.selectedText, h("icon-asset", { "injected-style": "svg.sc-icon-asset{transform:translateX(10px);}", type: "ptc", size: "x-small", name: "chevron-down", color: "white" }))));
15071
- }
15072
- componentDidRender() {
15073
- let currentId = this.selectedId; //input current lang
15074
- let storeIndex = 0;
15075
- new mobileSelect({
15076
- trigger: `#${this.triggerName}`,
15077
- title: `${this.listTitle ? this.listTitle : ''}`,
15078
- wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
15079
- position: [0],
15080
- ensureBtnText: this.ensureBtnText,
15081
- cancelBtnText: this.cancelBtnText,
15082
- ensureBtnColor: 'var(--color-gray-12)',
15083
- cancelBtnColor: 'var(--color-gray-12)',
15084
- titleColor: 'var(--color-gray-12)',
15085
- onShow: function (e) {
15086
- if (currentId) {
15087
- let liEle = document.querySelectorAll('.selectContainer li');
15088
- liEle.forEach((currentValue, currentIndex) => {
15089
- if (currentValue.getAttribute('data-id') == currentId) {
15090
- storeIndex = currentIndex;
15091
- return;
15092
- }
15093
- });
15094
- e.locatePosition(0, storeIndex);
15095
- }
15096
- else {
15097
- return;
15098
- }
15099
- },
15100
- callback: function (indexArr, data) {
15101
- if (this.linkUrl !== undefined) {
15102
- window.location.href = this.linkUrl + '/' + data[0].id;
15103
- }
15104
- else {
15105
- console.log('index: ' + indexArr + ', id: ' + data[0].id + '; No link url founded!');
15106
- }
15107
- }.bind(this),
15108
- });
15109
- }
15110
- static get style() { return ptcMobileSelectCss; }
15164
+ let PtcMobileSelect$1 = class extends HTMLElement {
15165
+ constructor() {
15166
+ super();
15167
+ this.__registerHost();
15168
+ /**
15169
+ * Selected Id
15170
+ * - initialize the id(string) of default wheel
15171
+ */
15172
+ this.selectedId = '';
15173
+ /**
15174
+ * Confirm Text
15175
+ * - translation goes here
15176
+ */
15177
+ this.ensureBtnText = 'Confirm';
15178
+ /**
15179
+ * Cancel Text
15180
+ * - translation goes here
15181
+ */
15182
+ this.cancelBtnText = 'Cancel';
15183
+ /**
15184
+ * Mobile select list title (Optional)
15185
+ */
15186
+ this.listTitle = undefined;
15187
+ /**
15188
+ * link url
15189
+ */
15190
+ this.linkUrl = undefined;
15191
+ }
15192
+ render() {
15193
+ return (h("div", { class: "mobile-select-wrapper" }, h("div", { id: this.triggerName }, this.selectedText, h("icon-asset", { "injected-style": "svg.sc-icon-asset{transform:translateX(10px);}", type: "ptc", size: "x-small", name: "chevron-down", color: "white" }))));
15194
+ }
15195
+ componentDidRender() {
15196
+ let currentId = this.selectedId; //input current lang
15197
+ let storeIndex = 0;
15198
+ new mobileSelect({
15199
+ trigger: `#${this.triggerName}`,
15200
+ title: `${this.listTitle ? this.listTitle : ''}`,
15201
+ wheels: this.wheelData ? [{ data: this.wheelData }] : [{ data: ['test1', 'test2'] }],
15202
+ position: [0],
15203
+ ensureBtnText: this.ensureBtnText,
15204
+ cancelBtnText: this.cancelBtnText,
15205
+ ensureBtnColor: 'var(--color-gray-12)',
15206
+ cancelBtnColor: 'var(--color-gray-12)',
15207
+ titleColor: 'var(--color-gray-12)',
15208
+ onShow: function (e) {
15209
+ if (currentId) {
15210
+ let liEle = document.querySelectorAll('.selectContainer li');
15211
+ liEle.forEach((currentValue, currentIndex) => {
15212
+ if (currentValue.getAttribute('data-id') == currentId) {
15213
+ storeIndex = currentIndex;
15214
+ return;
15215
+ }
15216
+ });
15217
+ e.locatePosition(0, storeIndex);
15218
+ }
15219
+ else {
15220
+ return;
15221
+ }
15222
+ },
15223
+ callback: function (indexArr, data) {
15224
+ if (this.linkUrl !== undefined) {
15225
+ window.location.href = this.linkUrl + '/' + data[0].id;
15226
+ }
15227
+ else {
15228
+ console.log('index: ' + indexArr + ', id: ' + data[0].id + '; No link url founded!');
15229
+ }
15230
+ }.bind(this),
15231
+ });
15232
+ }
15233
+ static get style() { return ptcMobileSelectCss; }
15111
15234
  };
15112
15235
 
15113
15236
  const ptcModalCss = ":host{display:block}.wrapper{position:fixed;width:100vw;height:100%;top:0;left:0;z-index:3000;display:none}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:3020;transform:translateY(-100%)}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup .close{margin-right:var(--ptc-element-spacing-03);margin-top:var(--ptc-element-spacing-03)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:3010;display:block;background-color:rgba(0, 0, 0, 0.6)}";
15114
15237
 
15115
- let PtcModal$1 = class extends HTMLElement {
15116
- constructor() {
15117
- super();
15118
- this.__registerHost();
15119
- this.__attachShadow();
15120
- this.closed = createEvent(this, "closed", 7);
15121
- this.opened = createEvent(this, "opened", 7);
15122
- /**
15123
- * Sets if popup should close if click on outside
15124
- */
15125
- this.size = 'sm';
15126
- /**
15127
- * Set whether or not to display modal
15128
- */
15129
- this.show = false;
15130
- /**
15131
- * Sets if popup should overlay
15132
- */
15133
- this.overlay = true;
15134
- /**
15135
- * Sets if popup should close if click on outside
15136
- */
15137
- this.closeOnBlur = false;
15138
- }
15139
- fireOnClosed(modal) {
15140
- this.closed.emit(modal);
15141
- }
15142
- fireOnOpened(modal) {
15143
- this.opened.emit(modal);
15144
- }
15145
- componentWillLoad() {
15146
- let body = document.querySelector('body');
15147
- this.bodyOverflowSetting = {
15148
- //overflow: body.style['overflow'],
15149
- overflowY: body.style['overflowY'],
15150
- overflowX: body.style['overflowX'],
15151
- };
15152
- }
15153
- componentWillRender() {
15154
- let body = document.querySelector('body');
15155
- if (body) {
15156
- if (this.show) {
15157
- //body.style['overflow'] = 'hidden';
15158
- body.style['overflowY'] = 'scroll';
15159
- body.style['overflowX'] = 'hidden';
15160
- }
15161
- else {
15162
- //body.style['overflow'] = this.bodyOverflowSetting.overflow;
15163
- body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
15164
- body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
15165
- }
15166
- }
15167
- }
15168
- componentDidLoad() {
15169
- if (this.show) {
15170
- this.fireOnOpened(this);
15171
- }
15172
- }
15173
- componentDidUpdate() {
15174
- if (this.show) {
15175
- this.fireOnOpened(this);
15176
- }
15177
- else {
15178
- this.fireOnClosed(this);
15179
- }
15180
- }
15181
- resizeIframe(e) {
15182
- let iFrame = e.target;
15183
- setTimeout(() => {
15184
- try {
15185
- iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
15186
- }
15187
- catch (error) {
15188
- console.log(error);
15189
- iFrame.height = '616px'; //default
15190
- iFrame.removeAttribute('scrolling');
15191
- }
15192
- iFrame.classList.add('ready');
15193
- }, 50);
15194
- }
15195
- close() {
15196
- this.show = false;
15197
- }
15198
- render() {
15199
- let content;
15200
- let overlay;
15201
- let type = this.iframeUrl ? 'frame' : 'html';
15202
- if (this.iframeUrl) {
15203
- content = (h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
15204
- }
15205
- else {
15206
- content = (h("slot", null));
15207
- }
15208
- if (this.overlay) {
15209
- if (this.closeOnBlur) {
15210
- overlay = h("div", { class: "overlay", onClick: (_) => this.close() });
15211
- }
15212
- else {
15213
- overlay = h("div", { class: "overlay" });
15214
- }
15215
- }
15216
- return (h(Host, null, h("div", { class: `wrapper ${this.show ? "show" : "hide"}` }, overlay, h("div", { class: `modal-popup ${this.size} ${type}` }, h("div", { class: "close" }, h("a", { href: "#", onClick: (e) => {
15217
- e.preventDefault();
15218
- this.close();
15219
- } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { d: "M1 1L13 13", stroke: "black" }), h("path", { d: "M13 1L1 13", stroke: "black" })))), h("div", { class: "modal-body" }, content)))));
15220
- }
15221
- get el() { return this; }
15222
- static get style() { return ptcModalCss; }
15238
+ let PtcModal$1 = class extends HTMLElement {
15239
+ constructor() {
15240
+ super();
15241
+ this.__registerHost();
15242
+ this.__attachShadow();
15243
+ this.closed = createEvent(this, "closed", 7);
15244
+ this.opened = createEvent(this, "opened", 7);
15245
+ /**
15246
+ * Sets if popup should close if click on outside
15247
+ */
15248
+ this.size = 'sm';
15249
+ /**
15250
+ * Set whether or not to display modal
15251
+ */
15252
+ this.show = false;
15253
+ /**
15254
+ * Sets if popup should overlay
15255
+ */
15256
+ this.overlay = true;
15257
+ /**
15258
+ * Sets if popup should close if click on outside
15259
+ */
15260
+ this.closeOnBlur = false;
15261
+ }
15262
+ fireOnClosed(modal) {
15263
+ this.closed.emit(modal);
15264
+ }
15265
+ fireOnOpened(modal) {
15266
+ this.opened.emit(modal);
15267
+ }
15268
+ componentWillLoad() {
15269
+ let body = document.querySelector('body');
15270
+ this.bodyOverflowSetting = {
15271
+ //overflow: body.style['overflow'],
15272
+ overflowY: body.style['overflowY'],
15273
+ overflowX: body.style['overflowX'],
15274
+ };
15275
+ }
15276
+ componentWillRender() {
15277
+ let body = document.querySelector('body');
15278
+ if (body) {
15279
+ if (this.show) {
15280
+ //body.style['overflow'] = 'hidden';
15281
+ body.style['overflowY'] = 'scroll';
15282
+ body.style['overflowX'] = 'hidden';
15283
+ }
15284
+ else {
15285
+ //body.style['overflow'] = this.bodyOverflowSetting.overflow;
15286
+ body.style['overflowY'] = this.bodyOverflowSetting.overflowY;
15287
+ body.style['overflowX'] = this.bodyOverflowSetting.overflowX;
15288
+ }
15289
+ }
15290
+ }
15291
+ componentDidLoad() {
15292
+ if (this.show) {
15293
+ this.fireOnOpened(this);
15294
+ }
15295
+ }
15296
+ componentDidUpdate() {
15297
+ if (this.show) {
15298
+ this.fireOnOpened(this);
15299
+ }
15300
+ else {
15301
+ this.fireOnClosed(this);
15302
+ }
15303
+ }
15304
+ resizeIframe(e) {
15305
+ let iFrame = e.target;
15306
+ setTimeout(() => {
15307
+ try {
15308
+ iFrame.height = `${iFrame.contentDocument.body.scrollHeight}px`;
15309
+ }
15310
+ catch (error) {
15311
+ console.log(error);
15312
+ iFrame.height = '616px'; //default
15313
+ iFrame.removeAttribute('scrolling');
15314
+ }
15315
+ iFrame.classList.add('ready');
15316
+ }, 50);
15317
+ }
15318
+ close() {
15319
+ this.show = false;
15320
+ }
15321
+ render() {
15322
+ let content;
15323
+ let overlay;
15324
+ let type = this.iframeUrl ? 'frame' : 'html';
15325
+ if (this.iframeUrl) {
15326
+ content = (h("iframe", { src: this.iframeUrl, frameBorder: 0, allowFullScreen: false, height: "100%", width: "100%", scrolling: "no", onLoad: this.resizeIframe }));
15327
+ }
15328
+ else {
15329
+ content = (h("slot", null));
15330
+ }
15331
+ if (this.overlay) {
15332
+ if (this.closeOnBlur) {
15333
+ overlay = h("div", { class: "overlay", onClick: (_) => this.close() });
15334
+ }
15335
+ else {
15336
+ overlay = h("div", { class: "overlay" });
15337
+ }
15338
+ }
15339
+ return (h(Host, null, h("div", { class: `wrapper ${this.show ? "show" : "hide"}` }, overlay, h("div", { class: `modal-popup ${this.size} ${type}` }, h("div", { class: "close" }, h("a", { href: "#", onClick: (e) => {
15340
+ e.preventDefault();
15341
+ this.close();
15342
+ } }, h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "14", height: "14", viewBox: "0 0 14 14", fill: "none" }, h("path", { d: "M1 1L13 13", stroke: "black" }), h("path", { d: "M13 1L1 13", stroke: "black" })))), h("div", { class: "modal-body" }, content)))));
15343
+ }
15344
+ get el() { return this; }
15345
+ static get style() { return ptcModalCss; }
15223
15346
  };
15224
15347
 
15225
15348
  const ptcNavCss = ":host{display:block}.nav-style{background-color:var(--color-gray-11);display:block}@media only screen and (min-width: 992px){.nav-style{display:grid;grid-template-columns:auto fit-content(76px);grid-template-rows:fit-content(22px) 1fr;grid-template-areas:\"secondary secondary\" \"primary language\"}.primary-nav{grid-area:primary}.secondary-nav{grid-area:secondary}.language-nav{grid-area:language}}";
15226
15349
 
15227
- let PtcNav$1 = class extends HTMLElement {
15228
- constructor() {
15229
- super();
15230
- this.__registerHost();
15231
- this.__attachShadow();
15232
- }
15233
- render() {
15234
- return (h(Host, null, h("nav", { class: "nav-style" }, h("div", { class: "primary-nav", part: "primary-nav-part" }, h("slot", { name: "primary-nav-content" })), h("div", { class: "secondary-nav", part: "secondary-nav-part" }, h("slot", { name: "secondary-nav-content" })), h("div", { class: "language-nav", part: "language-nav-part" }, h("slot", { name: "language-nav-content" })))));
15235
- }
15236
- static get style() { return ptcNavCss; }
15350
+ let PtcNav$1 = class extends HTMLElement {
15351
+ constructor() {
15352
+ super();
15353
+ this.__registerHost();
15354
+ this.__attachShadow();
15355
+ }
15356
+ render() {
15357
+ return (h(Host, null, h("nav", { class: "nav-style" }, h("div", { class: "primary-nav", part: "primary-nav-part" }, h("slot", { name: "primary-nav-content" })), h("div", { class: "secondary-nav", part: "secondary-nav-part" }, h("slot", { name: "secondary-nav-content" })), h("div", { class: "language-nav", part: "language-nav-part" }, h("slot", { name: "language-nav-content" })))));
15358
+ }
15359
+ static get style() { return ptcNavCss; }
15237
15360
  };
15238
15361
 
15239
15362
  const ptcNavItemCss = ":host{display:block;width:100%}@media only screen and (min-width: 992px){:host{width:auto}}:host([depth=\"2\"]) a{font-family:var(--ptc-font-secondary-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);margin-bottom:var(--ptc-element-spacing-03);padding-left:50px}@media only screen and (min-width: 992px){:host([depth=\"2\"]) a{padding-left:0px}}:host([depth=\"1\"]) a{font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-dense);letter-spacing:var(--ptc-letter-spacing-dense);padding:20px 25px}:host([nav-type=secondary-nav]) a{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-thin)}:host([nav-type=language-nav]) a{font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-thin)}@media only screen and (min-width: 992px){.primary-nav~.ptc-nav-children{position:absolute;left:0}.primary-nav~.ptc-nav-children ::slotted(.nav-tab){background-color:var(--color-gray-11);display:flex;width:100vw}.language-nav~.ptc-nav-children{position:absolute;background-color:var(--color-gray-11)}}a[aria-expanded=true]~.ptc-nav-children{padding-top:var(--ptc-element-spacing-04);max-height:2000px}@media only screen and (min-width: 992px){a[aria-expanded=true]~.ptc-nav-children{padding-top:0}}.ptc-nav-children{overflow:hidden;max-height:0;transition:max-height var(--ptc-transition-medium) var(--ptc-ease-inout), padding-top var(--ptc-transition-medium) var(--ptc-ease-inout)}a{color:var(--color-white);text-transform:uppercase;display:block;outline:none;text-decoration:none}";
15240
15363
 
15241
- let PtcNavItem$1 = class extends HTMLElement {
15242
- constructor() {
15243
- super();
15244
- this.__registerHost();
15245
- this.__attachShadow();
15246
- this.menuItemToggled = createEvent(this, "menuItemToggled", 7);
15247
- /**
15248
- * Link URL
15249
- */
15250
- this.url = undefined;
15251
- /**
15252
- * Nav Description
15253
- */
15254
- this.label = '';
15255
- /**
15256
- * If the current nav item is expanded
15257
- */
15258
- this.ariaExpanded = false;
15259
- /**
15260
- * Depth of the current nav item
15261
- */
15262
- this.depth = 0;
15263
- /**
15264
- * If the current nav item has children nav items
15265
- */
15266
- this.hasChildren = false;
15267
- /**
15268
- * If the parent nav item of the current one is expanded
15269
- */
15270
- this.parentExpanded = false;
15271
- /**
15272
- * Nav Item Type
15273
- */
15274
- this.navType = undefined;
15275
- }
15276
- /**
15277
- * Watch
15278
- */
15279
- expandedHandler(newValue) {
15280
- const children = Array.prototype.slice.call(this.el.children);
15281
- children.forEach(child => {
15282
- child.parentExpanded = newValue;
15283
- });
15284
- this.menuItemToggled.emit({ expanded: this.ariaExpanded });
15285
- }
15286
- /**
15287
- * Event Listener
15288
- */
15289
- handleClick(e) {
15290
- if (this.hasChildren) {
15291
- e.preventDefault();
15292
- this.ariaExpanded = !this.ariaExpanded;
15293
- }
15294
- }
15295
- handleResize(ev) {
15296
- console.log('the body was scrolled', ev);
15297
- }
15298
- /**
15299
- * Lifecycle method
15300
- */
15301
- componentWillRender() {
15302
- this.hasChildren = !!this.el.hasChildNodes();
15303
- let parentMenu = this.el.closest('ptc-nav-item');
15304
- let nextParentMenu;
15305
- this.depth = 0;
15306
- while (parentMenu) {
15307
- nextParentMenu = parentMenu.parentElement.closest('ptc-nav-item');
15308
- if (nextParentMenu === parentMenu) {
15309
- break;
15310
- }
15311
- else {
15312
- parentMenu = nextParentMenu;
15313
- this.depth = this.depth + 1;
15314
- }
15315
- }
15316
- }
15317
- render() {
15318
- //const leftIndent = this.depth > 1 ? 25 * this.depth + 'px' : '25px';
15319
- return (h(Host, { role: "none" }, h("a", { role: "menuitem", href: this.url, tabIndex: this.parentExpanded || this.depth === 1 ? 0 : -1, "aria-depth": this.depth, "aria-haspopup": this.hasChildren.toString(), "aria-expanded": this.hasChildren ? this.ariaExpanded.toString() : this.ariaExpanded, onClick: e => this.handleClick(e), class: this.navType }, h("span", null, this.label)), this.hasChildren && (h("div", { class: "ptc-nav-children", role: "menu", part: this.navType, "aria-label": this.label }, h("slot", null)))));
15320
- }
15321
- get el() { return this; }
15322
- static get watchers() { return {
15323
- "ariaExpanded": ["expandedHandler"]
15324
- }; }
15325
- static get style() { return ptcNavItemCss; }
15364
+ let PtcNavItem$1 = class extends HTMLElement {
15365
+ constructor() {
15366
+ super();
15367
+ this.__registerHost();
15368
+ this.__attachShadow();
15369
+ this.menuItemToggled = createEvent(this, "menuItemToggled", 7);
15370
+ /**
15371
+ * Link URL
15372
+ */
15373
+ this.url = undefined;
15374
+ /**
15375
+ * Nav Description
15376
+ */
15377
+ this.label = '';
15378
+ /**
15379
+ * If the current nav item is expanded
15380
+ */
15381
+ this.ariaExpanded = false;
15382
+ /**
15383
+ * Depth of the current nav item
15384
+ */
15385
+ this.depth = 0;
15386
+ /**
15387
+ * If the current nav item has children nav items
15388
+ */
15389
+ this.hasChildren = false;
15390
+ /**
15391
+ * If the parent nav item of the current one is expanded
15392
+ */
15393
+ this.parentExpanded = false;
15394
+ /**
15395
+ * Nav Item Type
15396
+ */
15397
+ this.navType = undefined;
15398
+ }
15399
+ /**
15400
+ * Watch
15401
+ */
15402
+ expandedHandler(newValue) {
15403
+ const children = Array.prototype.slice.call(this.el.children);
15404
+ children.forEach(child => {
15405
+ child.parentExpanded = newValue;
15406
+ });
15407
+ this.menuItemToggled.emit({ expanded: this.ariaExpanded });
15408
+ }
15409
+ /**
15410
+ * Event Listener
15411
+ */
15412
+ handleClick(e) {
15413
+ if (this.hasChildren) {
15414
+ e.preventDefault();
15415
+ this.ariaExpanded = !this.ariaExpanded;
15416
+ }
15417
+ }
15418
+ handleResize(ev) {
15419
+ console.log('the body was scrolled', ev);
15420
+ }
15421
+ /**
15422
+ * Lifecycle method
15423
+ */
15424
+ componentWillRender() {
15425
+ this.hasChildren = !!this.el.hasChildNodes();
15426
+ let parentMenu = this.el.closest('ptc-nav-item');
15427
+ let nextParentMenu;
15428
+ this.depth = 0;
15429
+ while (parentMenu) {
15430
+ nextParentMenu = parentMenu.parentElement.closest('ptc-nav-item');
15431
+ if (nextParentMenu === parentMenu) {
15432
+ break;
15433
+ }
15434
+ else {
15435
+ parentMenu = nextParentMenu;
15436
+ this.depth = this.depth + 1;
15437
+ }
15438
+ }
15439
+ }
15440
+ render() {
15441
+ //const leftIndent = this.depth > 1 ? 25 * this.depth + 'px' : '25px';
15442
+ return (h(Host, { role: "none" }, h("a", { role: "menuitem", href: this.url, tabIndex: this.parentExpanded || this.depth === 1 ? 0 : -1, "aria-depth": this.depth, "aria-haspopup": this.hasChildren.toString(), "aria-expanded": this.hasChildren ? this.ariaExpanded.toString() : this.ariaExpanded, onClick: e => this.handleClick(e), class: this.navType }, h("span", null, this.label)), this.hasChildren && (h("div", { class: "ptc-nav-children", role: "menu", part: this.navType, "aria-label": this.label }, h("slot", null)))));
15443
+ }
15444
+ get el() { return this; }
15445
+ static get watchers() { return {
15446
+ "ariaExpanded": ["expandedHandler"]
15447
+ }; }
15448
+ static get style() { return ptcNavItemCss; }
15326
15449
  };
15327
15450
 
15328
15451
  const ptcOverlayCss = ":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%)}@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(.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}";
15329
15452
 
15330
- let PtcOverlay$1 = class extends HTMLElement {
15331
- constructor() {
15332
- super();
15333
- this.__registerHost();
15334
- this.__attachShadow();
15335
- /**
15336
- * Overlay z-index
15337
- */
15338
- this.overlayZIndex = 'z-index-auto';
15339
- }
15340
- render() {
15341
- const classMap = this.getCssClassMap();
15342
- return h(Host, { class: classMap });
15343
- }
15344
- getCssClassMap() {
15345
- return {
15346
- [this.filterColor]: !!this.filterColor ? true : false,
15347
- [this.borderRadius]: !!this.borderRadius ? true : false,
15348
- [this.overlayZIndex]: true
15349
- };
15350
- }
15351
- static get style() { return ptcOverlayCss; }
15453
+ let PtcOverlay$1 = class extends HTMLElement {
15454
+ constructor() {
15455
+ super();
15456
+ this.__registerHost();
15457
+ this.__attachShadow();
15458
+ /**
15459
+ * Overlay z-index
15460
+ */
15461
+ this.overlayZIndex = 'z-index-auto';
15462
+ }
15463
+ render() {
15464
+ const classMap = this.getCssClassMap();
15465
+ return h(Host, { class: classMap });
15466
+ }
15467
+ getCssClassMap() {
15468
+ return {
15469
+ [this.filterColor]: !!this.filterColor ? true : false,
15470
+ [this.borderRadius]: !!this.borderRadius ? true : false,
15471
+ [this.overlayZIndex]: true
15472
+ };
15473
+ }
15474
+ static get style() { return ptcOverlayCss; }
15352
15475
  };
15353
15476
 
15354
15477
  const ptcParaCss = ":host{z-index:1}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-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.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)}";
15355
15478
 
15356
- let PtcPara$1 = class extends HTMLElement {
15357
- constructor() {
15358
- super();
15359
- this.__registerHost();
15360
- this.__attachShadow();
15361
- /**
15362
- * Paragraph font size
15363
- **/
15364
- this.fontSize = "x-small";
15365
- /**
15366
- * Paragraph font weight
15367
- **/
15368
- this.fontWeight = 'w-4';
15369
- /**
15370
- * Paragraph Style
15371
- **/
15372
- this.paraStyle = 'default';
15373
- /**
15374
- * Paragraph Color
15375
- */
15376
- this.paraColor = 'primary-grey';
15377
- /**
15378
- * line height
15379
- */
15380
- this.paraLineH = 'line-height-normal';
15381
- }
15382
- render() {
15383
- const classMap = this.getCssClassMap();
15384
- return (h("p", { class: classMap, part: "part-para" }, h("slot", null)));
15385
- }
15386
- getCssClassMap() {
15387
- return {
15388
- [this.fontSize]: true,
15389
- [this.fontWeight]: true,
15390
- [this.paraStyle]: true,
15391
- [this.paraMargin]: !!this.paraMargin ? true : false,
15392
- [this.paraColor]: true,
15393
- [this.paraLineH]: true
15394
- };
15395
- }
15396
- static get style() { return ptcParaCss; }
15479
+ let PtcPara$1 = class extends HTMLElement {
15480
+ constructor() {
15481
+ super();
15482
+ this.__registerHost();
15483
+ this.__attachShadow();
15484
+ /**
15485
+ * Paragraph font size
15486
+ **/
15487
+ this.fontSize = "x-small";
15488
+ /**
15489
+ * Paragraph font weight
15490
+ **/
15491
+ this.fontWeight = 'w-4';
15492
+ /**
15493
+ * Paragraph Style
15494
+ **/
15495
+ this.paraStyle = 'default';
15496
+ /**
15497
+ * Paragraph Color
15498
+ */
15499
+ this.paraColor = 'primary-grey';
15500
+ /**
15501
+ * line height
15502
+ */
15503
+ this.paraLineH = 'line-height-normal';
15504
+ }
15505
+ render() {
15506
+ const classMap = this.getCssClassMap();
15507
+ return (h("p", { class: classMap, part: "part-para" }, h("slot", null)));
15508
+ }
15509
+ getCssClassMap() {
15510
+ return {
15511
+ [this.fontSize]: true,
15512
+ [this.fontWeight]: true,
15513
+ [this.paraStyle]: true,
15514
+ [this.paraMargin]: !!this.paraMargin ? true : false,
15515
+ [this.paraColor]: true,
15516
+ [this.paraLineH]: true
15517
+ };
15518
+ }
15519
+ static get style() { return ptcParaCss; }
15397
15520
  };
15398
15521
 
15399
15522
  const ptcPictureCss = ":host{display:block;overflow:hidden}: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}";
15400
15523
 
15401
- let PtcPicture$1 = class extends HTMLElement {
15402
- constructor() {
15403
- super();
15404
- this.__registerHost();
15405
- this.__attachShadow();
15406
- /**
15407
- * Image alt
15408
- */
15409
- this.alt = "image";
15410
- /**
15411
- * Image size for smallest screen
15412
- * <=767px
15413
- */
15414
- this.sizeXs = '510x340';
15415
- /**
15416
- * Image size for small screen
15417
- * >=768px and <=991px
15418
- */
15419
- this.sizeSm = '1240x496';
15420
- /**
15421
- * Image size for medium screen
15422
- * >=992px and <=1199px
15423
- */
15424
- this.sizeMd = '1366x500';
15425
- /**
15426
- * Image solution for large screen
15427
- * >=1200px
15428
- */
15429
- this.sizeLg = '1920x1080';
15430
- /**
15431
- * Image Position
15432
- */
15433
- this.imagePosition = 'static';
15434
- /**
15435
- * Object Fit
15436
- * Default: cover
15437
- */
15438
- this.objectFit = 'cover';
15439
- /**
15440
- * Stretch height to 100%?
15441
- */
15442
- this.isFullHeight = false;
15443
- /**
15444
- * Stretch width to 100%?
15445
- */
15446
- this.isFullWidth = false;
15447
- /**
15448
- * (optional) Image alignment
15449
- **/
15450
- this.imageAlignment = 'left';
15451
- }
15452
- WindowResize() {
15453
- this.addIntersectionObserver();
15454
- }
15455
- componentDidLoad() {
15456
- this.addIntersectionObserver();
15457
- }
15458
- componentWillUpdate() {
15459
- if (this.src !== this.oldSrc) {
15460
- this.addIntersectionObserver();
15461
- }
15462
- this.oldSrc = this.src;
15463
- }
15464
- //lazy-loading
15465
- addIntersectionObserver() {
15466
- if (!this.src) {
15467
- return;
15468
- }
15469
- if ('IntersectionObserver' in window) {
15470
- let lazyLoadImages = new IntersectionObserver(entries => {
15471
- entries.forEach(entry => {
15472
- if (entry.isIntersecting) {
15473
- const image = this.el.shadowRoot.querySelector('img');
15474
- image.src = this.setResponsiveBg();
15475
- console.log('loaded');
15476
- lazyLoadImages.unobserve(image);
15477
- }
15478
- });
15479
- });
15480
- lazyLoadImages.observe(this.el.shadowRoot.querySelector('img'));
15481
- }
15482
- else {
15483
- // fall back to setTimeout for Safari and IE
15484
- setTimeout(() => {
15485
- const image = this.el.shadowRoot.querySelector('img');
15486
- image.src = this.setResponsiveBg();
15487
- image.onload = () => {
15488
- image.removeAttribute('data-src');
15489
- console.log('loaded fallback');
15490
- };
15491
- }, 5000);
15492
- }
15493
- }
15494
- //responsive image
15495
- setResponsiveBg() {
15496
- // Define local variables
15497
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
15498
- for (var i = 0, len = backgrounds.length; i < len; i++) {
15499
- // Set current variables
15500
- el = backgrounds[i];
15501
- elData = el.getAttribute('data-' + currentBreakpoint);
15502
- if (elData !== null) {
15503
- // console.log('img src= ' + elData);
15504
- return elData;
15505
- }
15506
- else {
15507
- if (typeof console == 'object') {
15508
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
15509
- }
15510
- }
15511
- }
15512
- }
15513
- render() {
15514
- const classMap = this.getCssClassMap();
15515
- const classMapHost = this.getCssClassMapHost();
15516
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "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' } : {})) })), h("slot", null)));
15517
- }
15518
- getCurrentBreakPoints() {
15519
- // Define local variables
15520
- let doc = window.document, temp = doc.createElement('div'), env;
15521
- // Append test node
15522
- doc.body.appendChild(temp);
15523
- // Loop through breakpoints
15524
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
15525
- env = ResponsivePictureVariables.envs[i];
15526
- // Add classes
15527
- temp.className = 'hidden-' + env;
15528
- // Found breakpoint
15529
- if (temp.offsetParent === null) {
15530
- // Remove our test node
15531
- doc.body.removeChild(temp);
15532
- console.log('remove test node');
15533
- // Return current breakpoint
15534
- return env;
15535
- }
15536
- }
15537
- // Breakpoint not found, try fallback
15538
- doc.body.removeChild(temp);
15539
- return this.getFallbackBreakpoint();
15540
- }
15541
- getFallbackBreakpoint() {
15542
- if (window.matchMedia('(min-width: 992px)').matches) {
15543
- return 'lg';
15544
- }
15545
- else if (window.matchMedia('(min-width: 768px)').matches) {
15546
- return 'md';
15547
- }
15548
- else if (window.matchMedia('(min-width: 576px)').matches) {
15549
- return 'sm';
15550
- }
15551
- else {
15552
- return 'xs';
15553
- }
15554
- }
15555
- getCssClassMap() {
15556
- return {
15557
- [this.borderRadius]: this.borderRadius ? true : false,
15558
- [this.objectFit]: true,
15559
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
15560
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true
15561
- };
15562
- }
15563
- getCssClassMapHost() {
15564
- return {
15565
- [this.imagePosition]: true,
15566
- [this.imageAlignment]: true
15567
- };
15568
- }
15569
- get el() { return this; }
15570
- static get style() { return ptcPictureCss; }
15524
+ let PtcPicture$1 = class extends HTMLElement {
15525
+ constructor() {
15526
+ super();
15527
+ this.__registerHost();
15528
+ this.__attachShadow();
15529
+ /**
15530
+ * Image alt
15531
+ */
15532
+ this.alt = "image";
15533
+ /**
15534
+ * Image size for smallest screen
15535
+ * <=767px
15536
+ */
15537
+ this.sizeXs = '510x340';
15538
+ /**
15539
+ * Image size for small screen
15540
+ * >=768px and <=991px
15541
+ */
15542
+ this.sizeSm = '1240x496';
15543
+ /**
15544
+ * Image size for medium screen
15545
+ * >=992px and <=1199px
15546
+ */
15547
+ this.sizeMd = '1366x500';
15548
+ /**
15549
+ * Image solution for large screen
15550
+ * >=1200px
15551
+ */
15552
+ this.sizeLg = '1920x1080';
15553
+ /**
15554
+ * Image Position
15555
+ */
15556
+ this.imagePosition = 'static';
15557
+ /**
15558
+ * Object Fit
15559
+ * Default: cover
15560
+ */
15561
+ this.objectFit = 'cover';
15562
+ /**
15563
+ * Stretch height to 100%?
15564
+ */
15565
+ this.isFullHeight = false;
15566
+ /**
15567
+ * Stretch width to 100%?
15568
+ */
15569
+ this.isFullWidth = false;
15570
+ /**
15571
+ * (optional) Image alignment
15572
+ **/
15573
+ this.imageAlignment = 'left';
15574
+ }
15575
+ WindowResize() {
15576
+ this.addIntersectionObserver();
15577
+ }
15578
+ componentDidLoad() {
15579
+ this.addIntersectionObserver();
15580
+ }
15581
+ componentWillUpdate() {
15582
+ if (this.src !== this.oldSrc) {
15583
+ this.addIntersectionObserver();
15584
+ }
15585
+ this.oldSrc = this.src;
15586
+ }
15587
+ //lazy-loading
15588
+ addIntersectionObserver() {
15589
+ if (!this.src) {
15590
+ return;
15591
+ }
15592
+ if ('IntersectionObserver' in window) {
15593
+ let lazyLoadImages = new IntersectionObserver(entries => {
15594
+ entries.forEach(entry => {
15595
+ if (entry.isIntersecting) {
15596
+ const image = this.el.shadowRoot.querySelector('img');
15597
+ image.src = this.setResponsiveBg();
15598
+ console.log('loaded');
15599
+ lazyLoadImages.unobserve(image);
15600
+ }
15601
+ });
15602
+ });
15603
+ lazyLoadImages.observe(this.el.shadowRoot.querySelector('img'));
15604
+ }
15605
+ else {
15606
+ // fall back to setTimeout for Safari and IE
15607
+ setTimeout(() => {
15608
+ const image = this.el.shadowRoot.querySelector('img');
15609
+ image.src = this.setResponsiveBg();
15610
+ image.onload = () => {
15611
+ image.removeAttribute('data-src');
15612
+ console.log('loaded fallback');
15613
+ };
15614
+ }, 5000);
15615
+ }
15616
+ }
15617
+ //responsive image
15618
+ setResponsiveBg() {
15619
+ // Define local variables
15620
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
15621
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
15622
+ // Set current variables
15623
+ el = backgrounds[i];
15624
+ elData = el.getAttribute('data-' + currentBreakpoint);
15625
+ if (elData !== null) {
15626
+ // console.log('img src= ' + elData);
15627
+ return elData;
15628
+ }
15629
+ else {
15630
+ if (typeof console == 'object') {
15631
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
15632
+ }
15633
+ }
15634
+ }
15635
+ }
15636
+ render() {
15637
+ const classMap = this.getCssClassMap();
15638
+ const classMapHost = this.getCssClassMapHost();
15639
+ return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "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' } : {})) })), h("slot", null)));
15640
+ }
15641
+ getCurrentBreakPoints() {
15642
+ // Define local variables
15643
+ let doc = window.document, temp = doc.createElement('div'), env;
15644
+ // Append test node
15645
+ doc.body.appendChild(temp);
15646
+ // Loop through breakpoints
15647
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
15648
+ env = ResponsivePictureVariables.envs[i];
15649
+ // Add classes
15650
+ temp.className = 'hidden-' + env;
15651
+ // Found breakpoint
15652
+ if (temp.offsetParent === null) {
15653
+ // Remove our test node
15654
+ doc.body.removeChild(temp);
15655
+ console.log('remove test node');
15656
+ // Return current breakpoint
15657
+ return env;
15658
+ }
15659
+ }
15660
+ // Breakpoint not found, try fallback
15661
+ doc.body.removeChild(temp);
15662
+ return this.getFallbackBreakpoint();
15663
+ }
15664
+ getFallbackBreakpoint() {
15665
+ if (window.matchMedia('(min-width: 992px)').matches) {
15666
+ return 'lg';
15667
+ }
15668
+ else if (window.matchMedia('(min-width: 768px)').matches) {
15669
+ return 'md';
15670
+ }
15671
+ else if (window.matchMedia('(min-width: 576px)').matches) {
15672
+ return 'sm';
15673
+ }
15674
+ else {
15675
+ return 'xs';
15676
+ }
15677
+ }
15678
+ getCssClassMap() {
15679
+ return {
15680
+ [this.borderRadius]: this.borderRadius ? true : false,
15681
+ [this.objectFit]: true,
15682
+ [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
15683
+ [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true
15684
+ };
15685
+ }
15686
+ getCssClassMapHost() {
15687
+ return {
15688
+ [this.imagePosition]: true,
15689
+ [this.imageAlignment]: true
15690
+ };
15691
+ }
15692
+ get el() { return this; }
15693
+ static get style() { return ptcPictureCss; }
15571
15694
  };
15572
15695
 
15573
15696
  const ptcPreviousUrlCss = ":host{display:block;margin-top:var(--ptc-element-spacing-03)}.back-to-videos{display:inline-block;font-family:var(--ptc-font-latin);font-style:normal;font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-dense)}.back-to-videos:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}::slotted(*){transform:translate(-2px, -2px)}.backarrow:hover+.back-to-videos{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}";
15574
15697
 
15575
- let PtcPreviousUrl$1 = class extends HTMLElement {
15576
- constructor() {
15577
- super();
15578
- this.__registerHost();
15579
- this.__attachShadow();
15580
- }
15581
- render() {
15582
- return (h(Host, null, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)), h("slot", null)));
15583
- }
15584
- static get style() { return ptcPreviousUrlCss; }
15698
+ let PtcPreviousUrl$1 = class extends HTMLElement {
15699
+ constructor() {
15700
+ super();
15701
+ this.__registerHost();
15702
+ this.__attachShadow();
15703
+ }
15704
+ render() {
15705
+ return (h(Host, null, h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": this.href }, h("ptc-svg-btn", { class: "backarrow", "svg-name": "back-arrow", display: "inline-block" }), h("a", { class: "back-to-videos" }, this.text)), h("slot", null)));
15706
+ }
15707
+ static get style() { return ptcPreviousUrlCss; }
15585
15708
  };
15586
15709
 
15587
- const ptcPricingBlockCss = ":host .ptc-pricing-block{width:373px;background:#E4E7E9;border-radius:4px;padding:1rem;font-family:Raleway;font-size:18px;font-weight:500;line-height:27px;letter-spacing:0em;vertical-align:middle;display:table}:host .right-text{font-family:Raleway;font-size:18px;font-weight:800;line-height:27px;letter-spacing:0em;text-align:right;vertical-align:middle;float:right;text-align:right}:host .left-text{font-family:Raleway;font-size:18px;font-weight:500;line-height:27px;letter-spacing:0em;text-align:right;vertical-align:middle}";
15710
+ const ptcPricingBlockCss = ":host{display:block}:host .ptc-pricing-block{width:100%;background:#E4E7E9;border-radius:4px;font-family:Raleway;font-size:18px;font-weight:500;line-height:27px;display:block;margin-bottom:12px}:host .right-text{font-family:Raleway;font-size:18px;font-weight:800;line-height:27px;text-align:right;float:right;margin:15px;display:inline-block}:host .left-text{font-family:Raleway;font-size:18px;font-weight:500;line-height:27px;text-align:left;margin:15px;display:inline-block}";
15588
15711
 
15589
- let PtcPricingBlock$1 = class extends HTMLElement {
15590
- constructor() {
15591
- super();
15592
- this.__registerHost();
15593
- this.__attachShadow();
15594
- }
15595
- render() {
15596
- const classMap = this.getCssClassMap();
15597
- return (h(Host, null, h("div", { class: classMap }, h("span", { class: "left-text" }, h("slot", { name: "left-text" })), h("span", { class: "right-text" }, h("slot", { name: "right-text" })))));
15598
- }
15599
- getCssClassMap() {
15600
- return {
15601
- ['ptc-pricing-block']: true
15602
- };
15603
- }
15604
- static get style() { return ptcPricingBlockCss; }
15712
+ let PtcPricingBlock$1 = class extends HTMLElement {
15713
+ constructor() {
15714
+ super();
15715
+ this.__registerHost();
15716
+ this.__attachShadow();
15717
+ }
15718
+ render() {
15719
+ const classMap = this.getCssClassMap();
15720
+ return (h(Host, null, h("div", { class: classMap }, h("span", { class: "left-text" }, h("slot", { name: "left-text" })), h("span", { class: "right-text" }, h("slot", { name: "right-text" })))));
15721
+ }
15722
+ getCssClassMap() {
15723
+ return {
15724
+ ['ptc-pricing-block']: true
15725
+ };
15726
+ }
15727
+ static get style() { return ptcPricingBlockCss; }
15605
15728
  };
15606
15729
 
15607
15730
  const QuotationMark = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48.12 32.76"><defs><style>.cls-1{isolation:isolate;}.cls-2{fill:#cac8c8;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g class="cls-1"><g class="cls-1"><path class="cls-2" d="M24,0,18,15.12h5.4L19.68,32.76H0l3.72-18L11.4,0ZM48.12,0l-6,15.12h5.4L43.8,32.76H24.12l3.72-18L35.52,0Z"/></g></g></g></g></svg>`;
15608
15731
 
15609
15732
  const ptcQuoteCss = ":host{display:flex;width:100%;position:relative;overflow:hidden;flex-direction:column;flex-wrap:nowrap;align-items:center;justify-content:flex-start}:host(.image-quote) .quote-media{position:relative;flex-basis:auto}:host(.image-quote) .quote-media img{width:100%}:host(.image-quote) .quote-media .our-leadership{width:89%;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-04) var(--ptc-element-spacing-02) var(--ptc-element-spacing-04);top:0px;margin:0px auto;display:flex;position:relative;box-shadow:var(--ptc-shadow-large);background-color:var(--color-white);transform:translateY(-50%)}:host(.image-quote) .quote-media .our-leadership p{font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-black);color:var(--color-gray-10);line-height:var(--ptc-line-height-p);letter-spacing:var(--ptc-letter-spacing-loose);margin-block-end:0;margin-block-start:0}:host(.image-quote) .quote-media .our-leadership .line{height:2px;width:82%;position:absolute;top:20%}:host(.image-quote) .quote-media .our-leadership .line .green-line{width:30%;height:2px;background-color:var(--color-green-05);display:inline-block;position:absolute}:host(.image-quote) .quote-media .our-leadership .line .grey-line{width:70%;height:1px;background-color:var(--color-gray-03);display:inline-block;position:absolute;left:30%}:host(.image-quote) .quote-content{flex-basis:auto;display:flex;flex-flow:column nowrap}:host(.image-quote) .quote-content .quotemarks{flex-basis:7%;width:15%;margin-bottom:var(--ptc-element-spacing-03);max-width:2.5rem}:host(.image-quote) .quote-content blockquote{flex-basis:93%;margin-block-start:calc(-1 * var(--ptc-element-spacing-04));margin-inline-start:0;margin-inline-end:0}:host(.image-quote) .quote-content blockquote p{font-weight:var(--ptc-font-weight-medium);font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-p);font-style:var(--ptc-font-style-italic);color:var(--color-gray-10);letter-spacing:var(--ptc-letter-spacing-loose);margin:var(--ptc-element-spacing-04) 0}:host(.image-quote) .quote-content .quote-name{display:block;margin-bottom:var(--ptc-element-spacing-07);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium)}@media only screen and (min-width: 768px){:host(.image-quote) .quote-media .our-leadership{width:65%;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06) var(--ptc-element-spacing-03) var(--ptc-element-spacing-06);transform:translateY(-25%)}:host(.image-quote) .quote-media .our-leadership p{font-size:var(--ptc-font-size-large)}:host(.image-quote) .quote-content .quotemarks{width:10%}:host(.image-quote) .quote-content blockquote p{font-size:var(--ptc-font-size-medium);letter-spacing:var(--ptc-letter-spacing-normal)}:host(.image-quote) .quote-content .quote-name{font-size:var(--ptc-font-size-medium);letter-spacing:var(--ptc-letter-spacing-normal)}}@media only screen and (min-width: 992px){:host(.image-quote) .quote-content{margin-right:5%;margin-left:5%}:host(.image-quote) .quote-content blockquote p{font-size:var(--ptc-font-size-large)}:host(.image-quote) .quote-content .quote-name{font-size:var(--ptc-font-size-large)}}@media only screen and (min-width: 1200px){:host(.image-quote){flex-direction:row}:host(.image-quote) .quote-media{flex-basis:40%;padding:unset;margin:var(--ptc-layout-spacing-05) 0px 0px calc(var(--ptc-layout-spacing-06) * 2);padding-right:var(--ptc-element-spacing-08)}:host(.image-quote) .quote-media .our-leadership{width:78%;transform:translateY(-50%)}:host(.image-quote) .quote-media .our-leadership .line{top:18%}:host(.image-quote) .quote-content{flex-basis:58%;flex-flow:row nowrap;margin-left:unset;margin-right:unset}:host(.image-quote) .quote-content .quotemarks{flex-basis:8%;margin-right:var(--ptc-element-spacing-03)}}:host(.plain-quote) blockquote{margin:0 auto;padding:0 0 var(--ptc-element-spacing-04) var(--ptc-element-spacing-04);border-left:5px solid var(--color-green-05)}:host(.plain-quote) blockquote p{font-weight:var(--ptc-font-weight-regular);font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-p);font-style:var(--ptc-font-style-italic);color:var(--color-gray-10);margin:var(--ptc-element-spacing-04) 0}:host(.plain-quote) .quote-content{flex-basis:auto}:host(.plain-quote) .quote-content .quote-name{display:block;margin-bottom:var(--ptc-element-spacing-07);font-size:var(--ptc-font-size-x-small)}";
15610
15733
 
15611
- let PtcQuote$1 = class extends HTMLElement {
15612
- constructor() {
15613
- super();
15614
- this.__registerHost();
15615
- this.__attachShadow();
15616
- /**
15617
- * Quote Type
15618
- */
15619
- this.quoteType = "image-quote";
15620
- /**
15621
- * Quote Name
15622
- */
15623
- this.quoteName = 'John Smith';
15624
- }
15625
- getImageTitle() {
15626
- return (h("div", { class: "our-leadership" }, h("div", { class: "line" }, h("div", { class: "green-line" }), h("div", { class: "grey-line" })), h("p", null, this.imgTitle)));
15627
- }
15628
- render() {
15629
- const classMap = this.getCssClassMap();
15630
- return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
15631
- }
15632
- getCssClassMap() {
15633
- return {
15634
- [this.quoteType]: true
15635
- };
15636
- }
15637
- static get style() { return ptcQuoteCss; }
15734
+ let PtcQuote$1 = class extends HTMLElement {
15735
+ constructor() {
15736
+ super();
15737
+ this.__registerHost();
15738
+ this.__attachShadow();
15739
+ /**
15740
+ * Quote Type
15741
+ */
15742
+ this.quoteType = "image-quote";
15743
+ /**
15744
+ * Quote Name
15745
+ */
15746
+ this.quoteName = 'John Smith';
15747
+ }
15748
+ getImageTitle() {
15749
+ return (h("div", { class: "our-leadership" }, h("div", { class: "line" }, h("div", { class: "green-line" }), h("div", { class: "grey-line" })), h("p", null, this.imgTitle)));
15750
+ }
15751
+ render() {
15752
+ const classMap = this.getCssClassMap();
15753
+ return (h(Host, { class: classMap }, this.imgSrc ? (h("div", { class: "quote-media" }, this.imgSrc ? h("img", { src: this.imgSrc, alt: this.imgTitle ? this.imgTitle : 'quote Image' }) : null, this.imgTitle ? this.getImageTitle() : null)) : null, h("div", { class: "quote-content" }, this.quoteType == 'image-quote' ? h("div", { class: 'quotemarks', innerHTML: QuotationMark }) : null, h("blockquote", null, h("p", null, h("slot", null)), h("span", { class: "quote-name" }, this.quoteName ? this.quoteName : null), this.ctaText && this.ctaUrl ? (h("ptc-button", { type: "link", color: "ptc-secondary", "link-href": this.ctaUrl }, this.ctaText)) : null))));
15754
+ }
15755
+ getCssClassMap() {
15756
+ return {
15757
+ [this.quoteType]: true
15758
+ };
15759
+ }
15760
+ static get style() { return ptcQuoteCss; }
15638
15761
  };
15639
15762
 
15640
15763
  const ptcResponsiveWrapperCss = ":host{display:block}";
15641
15764
 
15642
- let PtcResponsiveWrapper$1 = class extends HTMLElement {
15643
- constructor() {
15644
- super();
15645
- this.__registerHost();
15646
- this.__attachShadow();
15647
- }
15648
- componentDidLoad() {
15649
- this.ro = new ResizeObserver(entries => {
15650
- for (const entry of entries) {
15651
- this.applySizeClasses(entry.contentRect.width);
15652
- }
15653
- });
15654
- this.ro.observe(this.element);
15655
- }
15656
- disconnectedCallback() {
15657
- this.ro.disconnect();
15658
- }
15659
- applySizeClasses(size) {
15660
- let xsmall = false;
15661
- let small = false;
15662
- let medium = false;
15663
- let large = false;
15664
- let xlarge = false;
15665
- let xxlarge = false;
15666
- let large2k = false;
15667
- let large4k = false;
15668
- if (size >= 2600)
15669
- large4k = true;
15670
- else if (size >= 1980)
15671
- large2k = true;
15672
- else if (size >= 1600)
15673
- xxlarge = true;
15674
- else if (size >= 1440)
15675
- xlarge = true;
15676
- else if (size >= 1200)
15677
- large = true;
15678
- else if (size >= 992)
15679
- medium = true;
15680
- else if (size >= 768)
15681
- small = true;
15682
- else
15683
- xsmall = true;
15684
- this.element.classList.toggle("xsmall", xsmall);
15685
- this.element.classList.toggle("small", small);
15686
- this.element.classList.toggle("medium", medium);
15687
- this.element.classList.toggle("large", large);
15688
- this.element.classList.toggle("xlarge", xlarge);
15689
- this.element.classList.toggle("xxlarge", xxlarge);
15690
- this.element.classList.toggle("large2k", large2k);
15691
- this.element.classList.toggle("large4k", large4k);
15692
- }
15693
- render() {
15694
- return (h("div", null, h("slot", null)));
15695
- }
15696
- get element() { return this; }
15697
- static get style() { return ptcResponsiveWrapperCss; }
15765
+ let PtcResponsiveWrapper$1 = class extends HTMLElement {
15766
+ constructor() {
15767
+ super();
15768
+ this.__registerHost();
15769
+ this.__attachShadow();
15770
+ }
15771
+ componentDidLoad() {
15772
+ this.ro = new ResizeObserver(entries => {
15773
+ for (const entry of entries) {
15774
+ this.applySizeClasses(entry.contentRect.width);
15775
+ }
15776
+ });
15777
+ this.ro.observe(this.element);
15778
+ }
15779
+ disconnectedCallback() {
15780
+ this.ro.disconnect();
15781
+ }
15782
+ applySizeClasses(size) {
15783
+ let xsmall = false;
15784
+ let small = false;
15785
+ let medium = false;
15786
+ let large = false;
15787
+ let xlarge = false;
15788
+ let xxlarge = false;
15789
+ let large2k = false;
15790
+ let large4k = false;
15791
+ if (size >= 2600)
15792
+ large4k = true;
15793
+ else if (size >= 1980)
15794
+ large2k = true;
15795
+ else if (size >= 1600)
15796
+ xxlarge = true;
15797
+ else if (size >= 1440)
15798
+ xlarge = true;
15799
+ else if (size >= 1200)
15800
+ large = true;
15801
+ else if (size >= 992)
15802
+ medium = true;
15803
+ else if (size >= 768)
15804
+ small = true;
15805
+ else
15806
+ xsmall = true;
15807
+ this.element.classList.toggle("xsmall", xsmall);
15808
+ this.element.classList.toggle("small", small);
15809
+ this.element.classList.toggle("medium", medium);
15810
+ this.element.classList.toggle("large", large);
15811
+ this.element.classList.toggle("xlarge", xlarge);
15812
+ this.element.classList.toggle("xxlarge", xxlarge);
15813
+ this.element.classList.toggle("large2k", large2k);
15814
+ this.element.classList.toggle("large4k", large4k);
15815
+ }
15816
+ render() {
15817
+ return (h("div", null, h("slot", null)));
15818
+ }
15819
+ get element() { return this; }
15820
+ static get style() { return ptcResponsiveWrapperCss; }
15821
+ };
15822
+
15823
+ const ShoppingCartBlack = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
15824
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="#20262A"/>
15825
+ </svg>
15826
+ `;
15827
+
15828
+ const ShoppingCartWhite = `<svg width="26" height="24" viewBox="0 0 26 24" fill="none" xmlns="http://www.w3.org/2000/svg">
15829
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M22.0047 16.9625H7.80762L6.89267 18.9387H22.1419V20.4358H21.288C21.5163 20.7841 21.6448 21.1863 21.66 21.6002C21.6753 22.0141 21.5767 22.4243 21.3747 22.7879C21.1726 23.1514 20.8746 23.4548 20.5118 23.6662C20.1491 23.8776 19.735 23.9892 19.3132 23.9892C18.8914 23.9892 18.4773 23.8776 18.1146 23.6662C17.7518 23.4548 17.4538 23.1514 17.2517 22.7879C17.0497 22.4243 16.9511 22.0141 16.9663 21.6002C16.9816 21.1863 17.1101 20.7841 17.3384 20.4358H9.27155C9.47218 20.7382 9.59773 21.0825 9.63811 21.4412C9.67848 21.7998 9.63255 22.1627 9.50401 22.5008C9.37547 22.8388 9.16791 23.1425 8.89803 23.3875C8.62815 23.6324 8.30348 23.8117 7.95014 23.911C7.5968 24.0103 7.22465 24.0268 6.86364 23.9591C6.50263 23.8915 6.16283 23.7416 5.87158 23.5215C5.58033 23.3014 5.34576 23.0173 5.18674 22.692C5.02772 22.3667 4.94869 22.0093 4.95601 21.6485C4.96201 21.221 5.08301 20.8027 5.30675 20.4358H4.33079L6.49619 14.9713H18.6041V13.7137H6.23695L2.33314 2.08101L0 1.25759V0L3.20235 1.10788L4.43754 4.49139H26L22.0047 16.9625ZM6.64528 22.5946C6.83586 22.7196 7.05993 22.7863 7.28915 22.7863C7.59652 22.7863 7.8913 22.6665 8.10865 22.4531C8.32599 22.2397 8.44809 21.9503 8.44809 21.6485C8.44809 21.4235 8.38012 21.2035 8.25278 21.0164C8.12543 20.8293 7.94443 20.6834 7.73266 20.5973C7.52089 20.5112 7.28786 20.4887 7.06305 20.5326C6.83824 20.5765 6.63173 20.6848 6.46965 20.844C6.30757 21.0031 6.19719 21.2058 6.15247 21.4265C6.10776 21.6473 6.13071 21.876 6.21843 22.0839C6.30614 22.2919 6.45469 22.4696 6.64528 22.5946ZM18.6769 22.5946C18.8675 22.7196 19.0916 22.7863 19.3208 22.7863C19.6282 22.7863 19.923 22.6665 20.1403 22.4531C20.3577 22.2397 20.4798 21.9503 20.4798 21.6485C20.4798 21.4235 20.4118 21.2035 20.2845 21.0164C20.1571 20.8293 19.9761 20.6834 19.7643 20.5973C19.5526 20.5112 19.3195 20.4887 19.0947 20.5326C18.8699 20.5765 18.6634 20.6848 18.5013 20.844C18.3392 21.0031 18.2289 21.2058 18.1841 21.4265C18.1394 21.6473 18.1624 21.876 18.2501 22.0839C18.3378 22.2919 18.4864 22.4696 18.6769 22.5946ZM19.3206 21.1395C19.2138 21.1365 19.1086 21.1651 19.0185 21.2215C18.9284 21.278 18.8577 21.3596 18.8154 21.456C18.7731 21.5523 18.7613 21.6589 18.7814 21.7619C18.8015 21.8649 18.8526 21.9596 18.9282 22.0338C19.0037 22.108 19.1002 22.1582 19.2051 22.1779C19.3101 22.1977 19.4186 22.186 19.5167 22.1445C19.6149 22.103 19.698 22.0336 19.7555 21.9451C19.813 21.8567 19.8421 21.7534 19.8391 21.6485C19.8391 21.5135 19.7845 21.384 19.6872 21.2886C19.59 21.1931 19.4581 21.1395 19.3206 21.1395ZM7.28896 21.1395C7.18276 21.1395 7.07899 21.1707 6.99092 21.2289C6.90285 21.2872 6.83449 21.3699 6.79458 21.4665C6.75467 21.5632 6.74503 21.6693 6.76689 21.7713C6.78875 21.8734 6.84111 21.9667 6.91729 22.0393C6.99347 22.112 7.08999 22.1607 7.1945 22.1791C7.29902 22.1976 7.40678 22.1851 7.504 22.1431C7.60122 22.1012 7.68348 22.0317 7.74025 21.9436C7.79702 21.8555 7.82572 21.7527 7.82269 21.6485C7.81872 21.5121 7.76074 21.3827 7.66107 21.2876C7.56141 21.1926 7.42791 21.1394 7.28896 21.1395Z" fill="white"/>
15830
+ </svg>
15831
+ `;
15832
+
15833
+ const ptcShoppingCartCss = ":host .cart .cart__count{position:relative;background:#D33E3E;height:20px;width:20px;text-align:center;border-radius:50%;color:white;left:18px;bottom:38px;vertical-align:middle;display:flex;justify-content:center;align-items:center;text-align:center;font-family:Raleway;font-size:14px;font-weight:600;line-height:21px;letter-spacing:0em}:host .black-background{background:rgba(0, 0, 0, 0.54);border-radius:4px;display:inline-block;padding:0.45rem;max-height:28px}";
15834
+
15835
+ let PtcShoppingCart$1 = class extends HTMLElement {
15836
+ constructor() {
15837
+ super();
15838
+ this.__registerHost();
15839
+ this.__attachShadow();
15840
+ this.color = 'white';
15841
+ }
15842
+ render() {
15843
+ const classMap = this.getCssClassMap();
15844
+ if (this.color == 'black') {
15845
+ return (h(Host, { class: classMap }, this.cartCount ? (h("div", { class: "cart", innerHTML: ShoppingCartBlack }, h("div", { class: "cart__count" }, this.cartCount))) : (h("div", { innerHTML: ShoppingCartBlack }))));
15846
+ }
15847
+ else if (this.color == 'white') {
15848
+ return (h(Host, { class: classMap }, this.cartCount ? (h("div", { class: "cart black-background", innerHTML: ShoppingCartWhite }, h("div", { class: "cart__count" }, this.cartCount))) : (h("div", { innerHTML: ShoppingCartWhite, class: "black-background" }))));
15849
+ }
15850
+ }
15851
+ getCssClassMap() {
15852
+ return {
15853
+ ['ptc-shopping-cart']: true,
15854
+ };
15855
+ }
15856
+ static get style() { return ptcShoppingCartCss; }
15698
15857
  };
15699
15858
 
15700
15859
  const ptcSocialShareCss = ":host(.inline-block){display:inline-block}:host(.block){display:block}:host(.inline){display:inline}:host(.flex){display:flex}:host(.ptc-social-share){cursor:pointer}@media only screen and (min-width: 1200px){:host(.ptc-social-m-left){margin-left:var(--ptc-element-spacing-04)}}";
15701
15860
 
15702
- let PtcSocialShare$1 = class extends HTMLElement {
15703
- constructor() {
15704
- super();
15705
- this.__registerHost();
15706
- this.__attachShadow();
15707
- this.display = 'inline-block';
15708
- this.shareType = 'twitter';
15709
- /**
15710
- * Optional - source for linkedin
15711
- */
15712
- this.source = '';
15713
- /**
15714
- * Email recipient.
15715
- * If you want to use mail share, you need to use this property
15716
- */
15717
- this.recipient = '';
15718
- /**
15719
- * is hover or not
15720
- */
15721
- this.isHover = false;
15722
- }
15723
- render() {
15724
- const classMap = this.getCssClassMap();
15725
- return (h(Host, { class: classMap }, h("div", { onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle() }, this.shareType == 'mail' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-mail" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-linkedin" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-twitter" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-fb" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'share-api' ? h("icon-asset", Object.assign({ type: "solid", size: "large", name: "share-square" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null)));
15726
- }
15727
- getCssClassMap() {
15728
- return {
15729
- ['ptc-social-share']: true,
15730
- [this.display]: true,
15731
- };
15732
- }
15733
- hoverToggle() {
15734
- this.isHover = !this.isHover;
15735
- }
15736
- share() {
15737
- if (this.shareType == 'twitter') {
15738
- window.open(`https://twitter.com/share?text=${this.text}&url=${this.url}`);
15739
- }
15740
- if (this.shareType == 'facebook') {
15741
- window.open(`https://www.facebook.com/sharer/sharer.php?u=${this.url}`);
15742
- }
15743
- if (this.shareType == 'linkedin') {
15744
- window.open(`https://www.linkedin.com/shareArticle?mini=true&url=${this.url}&title=${this.shareTitle}&summary=${this.text}&source=${this.source}`);
15745
- }
15746
- if (this.shareType == 'mail') {
15747
- window.open(`mailto:${this.recipient}?subject=${this.text}&body=${this.url}`);
15748
- }
15749
- if (this.shareType == 'share-api') {
15750
- if (navigator.share) {
15751
- navigator
15752
- .share({
15753
- title: this.shareTitle,
15754
- text: this.text,
15755
- url: this.url,
15756
- })
15757
- .then(() => console.log('Successful share'))
15758
- .catch(error => console.log('Error sharing', error));
15759
- }
15760
- else {
15761
- // fallback to sharing to twitter
15762
- window.open(`http://twitter.com/share?text=${this.text}&url=${this.url}`);
15763
- }
15764
- }
15765
- }
15766
- get el() { return this; }
15767
- static get style() { return ptcSocialShareCss; }
15861
+ let PtcSocialShare$1 = class extends HTMLElement {
15862
+ constructor() {
15863
+ super();
15864
+ this.__registerHost();
15865
+ this.__attachShadow();
15866
+ this.display = 'inline-block';
15867
+ this.shareType = 'twitter';
15868
+ /**
15869
+ * Optional - source for linkedin
15870
+ */
15871
+ this.source = '';
15872
+ /**
15873
+ * Email recipient.
15874
+ * If you want to use mail share, you need to use this property
15875
+ */
15876
+ this.recipient = '';
15877
+ /**
15878
+ * is hover or not
15879
+ */
15880
+ this.isHover = false;
15881
+ }
15882
+ render() {
15883
+ const classMap = this.getCssClassMap();
15884
+ return (h(Host, { class: classMap }, h("div", { onClick: () => this.share(), onMouseEnter: () => this.hoverToggle(), onMouseLeave: () => this.hoverToggle() }, this.shareType == 'mail' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-mail" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'linkedin' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-linkedin" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'twitter' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-twitter" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'facebook' ? h("icon-asset", Object.assign({ type: "ptc", size: "large", name: "plm-fb" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null, this.shareType == 'share-api' ? h("icon-asset", Object.assign({ type: "solid", size: "large", name: "share-square" }, (this.isHover ? { color: 'gray' } : { color: 'white' }))) : null)));
15885
+ }
15886
+ getCssClassMap() {
15887
+ return {
15888
+ ['ptc-social-share']: true,
15889
+ [this.display]: true,
15890
+ };
15891
+ }
15892
+ hoverToggle() {
15893
+ this.isHover = !this.isHover;
15894
+ }
15895
+ share() {
15896
+ if (this.shareType == 'twitter') {
15897
+ window.open(`https://twitter.com/share?text=${this.text}&url=${this.url}`);
15898
+ }
15899
+ if (this.shareType == 'facebook') {
15900
+ window.open(`https://www.facebook.com/sharer/sharer.php?u=${this.url}`);
15901
+ }
15902
+ if (this.shareType == 'linkedin') {
15903
+ window.open(`https://www.linkedin.com/shareArticle?mini=true&url=${this.url}&title=${this.shareTitle}&summary=${this.text}&source=${this.source}`);
15904
+ }
15905
+ if (this.shareType == 'mail') {
15906
+ window.open(`mailto:${this.recipient}?subject=${this.text}&body=${this.url}`);
15907
+ }
15908
+ if (this.shareType == 'share-api') {
15909
+ if (navigator.share) {
15910
+ navigator
15911
+ .share({
15912
+ title: this.shareTitle,
15913
+ text: this.text,
15914
+ url: this.url,
15915
+ })
15916
+ .then(() => console.log('Successful share'))
15917
+ .catch(error => console.log('Error sharing', error));
15918
+ }
15919
+ else {
15920
+ // fallback to sharing to twitter
15921
+ window.open(`http://twitter.com/share?text=${this.text}&url=${this.url}`);
15922
+ }
15923
+ }
15924
+ }
15925
+ get el() { return this; }
15926
+ static get style() { return ptcSocialShareCss; }
15768
15927
  };
15769
15928
 
15770
15929
  const ptcSpacerCss = ":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.9375em){: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: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";
15771
15930
 
15772
- let PtcSpacer$1 = class extends HTMLElement {
15773
- constructor() {
15774
- super();
15775
- this.__registerHost();
15776
- this.__attachShadow();
15777
- /**
15778
- * Breakpoint
15779
- */
15780
- this.breakpoint = '';
15781
- /**
15782
- * Spacing Size
15783
- */
15784
- this.size = 'medium';
15785
- /**
15786
- * Direction
15787
- */
15788
- this.direction = 'vertical';
15789
- }
15790
- render() {
15791
- const classMap = this.getCssClassMap();
15792
- return (h(Host, { class: classMap }));
15793
- }
15794
- getCssClassMap() {
15795
- return {
15796
- [this.size]: true,
15797
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
15798
- ['ptc-spacer-vertical']: this.direction === 'vertical',
15799
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
15800
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
15801
- ['ptc-spacer-small']: this.breakpoint === 'small',
15802
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
15803
- ['ptc-spacer-large']: this.breakpoint === 'large',
15804
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
15805
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
15806
- };
15807
- }
15808
- static get style() { return ptcSpacerCss; }
15931
+ let PtcSpacer$1 = class extends HTMLElement {
15932
+ constructor() {
15933
+ super();
15934
+ this.__registerHost();
15935
+ this.__attachShadow();
15936
+ /**
15937
+ * Breakpoint
15938
+ */
15939
+ this.breakpoint = '';
15940
+ /**
15941
+ * Spacing Size
15942
+ */
15943
+ this.size = 'medium';
15944
+ /**
15945
+ * Direction
15946
+ */
15947
+ this.direction = 'vertical';
15948
+ }
15949
+ render() {
15950
+ const classMap = this.getCssClassMap();
15951
+ return (h(Host, { class: classMap }));
15952
+ }
15953
+ getCssClassMap() {
15954
+ return {
15955
+ [this.size]: true,
15956
+ ['ptc-spacer-horizontal']: this.direction === 'horizontal',
15957
+ ['ptc-spacer-vertical']: this.direction === 'vertical',
15958
+ ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
15959
+ ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
15960
+ ['ptc-spacer-small']: this.breakpoint === 'small',
15961
+ ['ptc-spacer-medium']: this.breakpoint === 'medium',
15962
+ ['ptc-spacer-large']: this.breakpoint === 'large',
15963
+ ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
15964
+ ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
15965
+ };
15966
+ }
15967
+ static get style() { return ptcSpacerCss; }
15809
15968
  };
15810
15969
 
15811
15970
  const ptcSpanCss = ":host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-gray-10);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:var(--color-gray-03);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-06);font-size:var(--ptc-font-size-small);padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-gray-10)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-x-small);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-gray-10)}";
15812
15971
 
15813
- let PtcSpan$1 = class extends HTMLElement {
15814
- constructor() {
15815
- super();
15816
- this.__registerHost();
15817
- this.__attachShadow();
15818
- /**
15819
- * Span Style
15820
- */
15821
- this.spanStyle = 'tag-style';
15822
- /**
15823
- * Display
15824
- */
15825
- this.display = 'inline';
15826
- }
15827
- render() {
15828
- const classMap = this.getCssClassMap();
15829
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("span", { part: "part-ptc-span" }, h("slot", null))));
15830
- }
15831
- getCssClassMap() {
15832
- return {
15833
- [this.spanStyle]: true,
15834
- [this.display]: true,
15835
- };
15836
- }
15837
- static get style() { return ptcSpanCss; }
15972
+ let PtcSpan$1 = class extends HTMLElement {
15973
+ constructor() {
15974
+ super();
15975
+ this.__registerHost();
15976
+ this.__attachShadow();
15977
+ /**
15978
+ * Span Style
15979
+ */
15980
+ this.spanStyle = 'tag-style';
15981
+ /**
15982
+ * Display
15983
+ */
15984
+ this.display = 'inline';
15985
+ }
15986
+ render() {
15987
+ const classMap = this.getCssClassMap();
15988
+ return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("span", { part: "part-ptc-span" }, h("slot", null))));
15989
+ }
15990
+ getCssClassMap() {
15991
+ return {
15992
+ [this.spanStyle]: true,
15993
+ [this.display]: true,
15994
+ };
15995
+ }
15996
+ static get style() { return ptcSpanCss; }
15838
15997
  };
15839
15998
 
15840
- const closeSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
15841
- <g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
15842
- <path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
15843
- <path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>
15844
- <path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>
15845
- <path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>
15846
- <path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>
15847
- <path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>
15848
- <path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>
15849
- </g>
15999
+ const closeSvg = `<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 42 41.485">
16000
+ <g id="Group_1042" data-name="Group 1042" transform="rotate(180 108.25 87.993)">
16001
+ <path id="Line_446" d="M0 0v39.486" class="cls-1" data-name="Line 446"></path>
16002
+ <path id="Line_447" d="M0 0h40" class="cls-1" data-name="Line 447"></path>
16003
+ <path id="Line_448" d="M0 33.592V0" class="cls-1" data-name="Line 448"></path>
16004
+ <path id="Line_449" d="M23.994 0H0" class="cls-1" data-name="Line 449"></path>
16005
+ <path id="Line_450" d="M0 0l17.596 17.596" class="cls-2" data-name="Line 450" transform="translate(187.229 147.226)"></path>
16006
+ <path id="Line_451" d="M0 7.198L7.199 0" class="cls-2" data-name="Line 451" transform="translate(197.55 147.312)"></path>
16007
+ <path id="Path_114" d="M0 7.2L7.2 0" class="cls-2" data-name="Path 114" transform="translate(187.313 157.549)"></path>
16008
+ </g>
15850
16009
  </svg>`;
15851
16010
 
15852
- const arrowSvgLeft = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
15853
- <g filter="url(#filter0_d_494_37)">
15854
- <circle cx="24" cy="22" r="20" fill="white"/>
15855
- <path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>
15856
- </g>
15857
- <defs>
15858
- <filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
15859
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15860
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
15861
- <feOffset dy="2"/>
15862
- <feGaussianBlur stdDeviation="2"/>
15863
- <feComposite in2="hardAlpha" operator="out"/>
15864
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
15865
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>
15866
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>
15867
- </filter>
15868
- </defs>
15869
- </svg>
16011
+ const arrowSvgLeft = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
16012
+ <g filter="url(#filter0_d_494_37)">
16013
+ <circle cx="24" cy="22" r="20" fill="white"/>
16014
+ <path d="M23.1444 16L23.1444 20.5762L31 20.5762L31 23.4239L23.1444 23.4239L23.1444 28L17 21.9669L23.1444 16Z" class="arrow"/>
16015
+ </g>
16016
+ <defs>
16017
+ <filter id="filter0_d_494_37" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
16018
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
16019
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16020
+ <feOffset dy="2"/>
16021
+ <feGaussianBlur stdDeviation="2"/>
16022
+ <feComposite in2="hardAlpha" operator="out"/>
16023
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
16024
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_37"/>
16025
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_37" result="shape"/>
16026
+ </filter>
16027
+ </defs>
16028
+ </svg>
15870
16029
  `;
15871
16030
 
15872
- const arrowSvgRight = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
15873
- <g filter="url(#filter0_d_494_34)">
15874
- <circle cx="24" cy="22" r="20" fill="white"/>
15875
- <path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>
15876
- </g>
15877
- <defs>
15878
- <filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
15879
- <feFlood flood-opacity="0" result="BackgroundImageFix"/>
15880
- <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
15881
- <feOffset dy="2"/>
15882
- <feGaussianBlur stdDeviation="2"/>
15883
- <feComposite in2="hardAlpha" operator="out"/>
15884
- <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
15885
- <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>
15886
- <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>
15887
- </filter>
15888
- </defs>
15889
- </svg>
16031
+ const arrowSvgRight = `<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
16032
+ <g filter="url(#filter0_d_494_34)">
16033
+ <circle cx="24" cy="22" r="20" fill="white"/>
16034
+ <path d="M24.8556 16L24.8556 20.5762L17 20.5762L17 23.4239L24.8556 23.4239L24.8556 28L31 21.9669L24.8556 16Z" class="arrow"/>
16035
+ </g>
16036
+ <defs>
16037
+ <filter id="filter0_d_494_34" x="0" y="0" width="48" height="48" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
16038
+ <feFlood flood-opacity="0" result="BackgroundImageFix"/>
16039
+ <feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
16040
+ <feOffset dy="2"/>
16041
+ <feGaussianBlur stdDeviation="2"/>
16042
+ <feComposite in2="hardAlpha" operator="out"/>
16043
+ <feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"/>
16044
+ <feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_494_34"/>
16045
+ <feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_494_34" result="shape"/>
16046
+ </filter>
16047
+ </defs>
16048
+ </svg>
15890
16049
  `;
15891
16050
 
15892
- const backarrow = `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">
15893
- <defs>
15894
- <style>
15895
- .cls-1 {
15896
- fill: #fff;
15897
- fill-rule: evenodd;
15898
- }
15899
- </style>
15900
- </defs>
15901
- <path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>
15902
- </svg>
16051
+ const backarrow = `<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 311 512">
16052
+ <defs>
16053
+ <style>
16054
+ .cls-1 {
16055
+ fill: #fff;
16056
+ fill-rule: evenodd;
16057
+ }
16058
+ </style>
16059
+ </defs>
16060
+ <path class="cls-1" d="M251.762,512L311,452.638,114.774,256,311,59.362,251.762,0,0,252.29Z"/>
16061
+ </svg>
15903
16062
  `;
15904
16063
 
15905
16064
  const ptcSvgBtnCss = ":host{cursor:pointer}:host(.block){display:block}:host(.inline){display:inline}:host(.inline-block){display:inline-block}:host(.flex){display:flex}:host(:focus-visible){outline:none}:host(.backarrow){margin:8px 8px 0px -2px}:focus-visible{outline:none}.svg-close svg .cls-1,.svg-close svg .cls-2{fill:none;stroke-width:2px}.svg-close svg .cls-1{stroke:var(--color-gray-10);stroke-linecap:square}.svg-close svg .cls-2{stroke:var(--color-gray-10)}.svg-close svg path{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.svg-close svg .cls-1:first-child{-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close svg .cls-1:nth-child(2){-webkit-transform:translate(175.5px, 174.985px);-ms-transform:translate(175.5px, 174.985px);transform:translate(175.5px, 174.985px)}.svg-close svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 141.393px);-ms-transform:translate(215.5px, 141.393px);transform:translate(215.5px, 141.393px)}.svg-close svg .cls-1:nth-child(4){-webkit-transform:translate(175.5px, 135.5px);-ms-transform:translate(175.5px, 135.5px);transform:translate(175.5px, 135.5px)}.svg-close:hover svg .cls-1:first-child{-webkit-transform:translate(175.5px, 162px);-ms-transform:translate(175.5px, 162px);transform:translate(175.5px, 162px)}.svg-close:hover svg .cls-1:nth-child(2){-webkit-transform:translate(149px, 174.985px);-ms-transform:translate(149px, 174.985px);transform:translate(149px, 174.985px)}.svg-close:hover svg .cls-1:nth-child(3){-webkit-transform:translate(215.5px, 174px);-ms-transform:translate(215.5px, 174px);transform:translate(215.5px, 174px)}.svg-close:hover svg .cls-1:nth-child(4){-webkit-transform:translate(152.5px, 135.5px);-ms-transform:translate(152.5px, 135.5px);transform:translate(152.5px, 135.5px)}.svg-close.svg-close-white .cls-1{stroke:var(--color-white)}.slider-left,.slider-right{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}.slider-left svg .arrow,.slider-right svg .arrow{fill:var(--color-gray-10)}.slider-left:hover svg .arrow,.slider-right:hover svg .arrow{fill:var(--color-green-06)}.back-arrow{display:inline-block;fill:none;stroke-width:30px;stroke:var(--color-gray-10);stroke-linecap:square;height:10px;width:20px;position:relative;top:1px;text-align:center}@media only screen and (max-width: 1024px) and (min-width: 576px){:host(.back-arrow){margin:8px 8px 16px -2px}}";
15906
16065
 
15907
- let PtcSvgBtn$1 = class extends HTMLElement {
15908
- constructor() {
15909
- super();
15910
- this.__registerHost();
15911
- this.__attachShadow();
15912
- /**
15913
- * Display
15914
- */
15915
- this.display = 'block';
15916
- }
15917
- render() {
15918
- const classMap = this.getCssClassMap();
15919
- return (h(Host, { class: classMap }, !!this.svgName && this.svgName === 'close' ? h("div", { class: 'svg-close', innerHTML: closeSvg }) : null, !!this.svgName && this.svgName === 'slider-left' ? h("div", { class: 'slider-left', innerHTML: arrowSvgLeft }) : null, !!this.svgName && this.svgName === 'slider-right' ? h("div", { class: 'slider-right', innerHTML: arrowSvgRight }) : null, !!this.svgName && this.svgName === 'back-arrow' ? h("div", { class: 'back-arrow', innerHTML: backarrow }) : null));
15920
- }
15921
- getCssClassMap() {
15922
- return {
15923
- [this.display]: true
15924
- };
15925
- }
15926
- static get style() { return ptcSvgBtnCss; }
16066
+ let PtcSvgBtn$1 = class extends HTMLElement {
16067
+ constructor() {
16068
+ super();
16069
+ this.__registerHost();
16070
+ this.__attachShadow();
16071
+ /**
16072
+ * Display
16073
+ */
16074
+ this.display = 'block';
16075
+ }
16076
+ render() {
16077
+ const classMap = this.getCssClassMap();
16078
+ return (h(Host, { class: classMap }, !!this.svgName && this.svgName === 'close' ? h("div", { class: 'svg-close', innerHTML: closeSvg }) : null, !!this.svgName && this.svgName === 'slider-left' ? h("div", { class: 'slider-left', innerHTML: arrowSvgLeft }) : null, !!this.svgName && this.svgName === 'slider-right' ? h("div", { class: 'slider-right', innerHTML: arrowSvgRight }) : null, !!this.svgName && this.svgName === 'back-arrow' ? h("div", { class: 'back-arrow', innerHTML: backarrow }) : null));
16079
+ }
16080
+ getCssClassMap() {
16081
+ return {
16082
+ [this.display]: true
16083
+ };
16084
+ }
16085
+ static get style() { return ptcSvgBtnCss; }
16086
+ };
16087
+
16088
+ const ptcTabListCss = "ptc-tab-list{display:block;position:relative}.tabs-header-container{overflow:hidden;width:100%;border-bottom:2px solid #E4E7E9}.tabs-header{display:flex;padding-left:2rem;padding-right:2rem;transition:opacity ease-out 250ms;opacity:0;width:95%}.tabs-header.active{opacity:1}.tabs-content{padding:20px}.ellipsis-btn{position:absolute;top:1rem;right:1rem;display:none}.ellipsis-btn.active{display:block}";
16089
+
16090
+ let PtcTabList$1 = class extends HTMLElement {
16091
+ constructor() {
16092
+ super();
16093
+ this.__registerHost();
16094
+ }
16095
+ componentDidLoad() {
16096
+ this.createGroup();
16097
+ this.calculateHeaderTabsRendering();
16098
+ /*const [group] = this.tabGroup;
16099
+ this.selectGroup(group);*/
16100
+ }
16101
+ onSelectedTab(event) {
16102
+ let self = this;
16103
+ this.tabGroup.forEach(group => {
16104
+ event.detail.then(res => {
16105
+ if (group.header.name === res.name) {
16106
+ self.selectGroup(group);
16107
+ }
16108
+ });
16109
+ });
16110
+ }
16111
+ calculateHeaderTabsRendering() {
16112
+ let header = this.host.querySelector('.tabs-header');
16113
+ let dropdown = this.host.querySelector('.ellipsis-btn');
16114
+ let tabs = header.children;
16115
+ let activateDropDown = false;
16116
+ let hiddenTabs = [];
16117
+ header.classList.remove('active');
16118
+ for (let index = 0; index < tabs.length; index++) {
16119
+ tabs[index].style.removeProperty('display');
16120
+ }
16121
+ for (let index = tabs.length - 1; index >= 0; index--) {
16122
+ let tab = tabs[index];
16123
+ if (header.scrollWidth > header.clientWidth) {
16124
+ tab.style.display = 'none';
16125
+ activateDropDown = true;
16126
+ hiddenTabs.push({
16127
+ value: tab.getAttribute('name'),
16128
+ text: tab.textContent
16129
+ });
16130
+ }
16131
+ }
16132
+ header.classList.add('active');
16133
+ if (activateDropDown) {
16134
+ dropdown.classList.add('active');
16135
+ dropdown.dataItems = hiddenTabs.reverse();
16136
+ }
16137
+ else {
16138
+ dropdown.classList.remove('active');
16139
+ dropdown.dataItems = [];
16140
+ }
16141
+ }
16142
+ createGroup() {
16143
+ let self = this;
16144
+ let headerComplete = false;
16145
+ let contentComplete = false;
16146
+ let headerCount = 0;
16147
+ let contentCount = 0;
16148
+ let headerData = [];
16149
+ let contentData = [];
16150
+ const tabsHeaderEl = Array.from(this.host.querySelectorAll('tab-header'));
16151
+ this.tabsHeader = tabsHeaderEl.map(el => el.getChild().then(res => {
16152
+ headerCount++;
16153
+ if (headerCount === tabsHeaderEl.length) {
16154
+ headerComplete = true;
16155
+ }
16156
+ headerData.push(res);
16157
+ }));
16158
+ this.tabsHeader = headerData;
16159
+ const tabsContentEl = Array.from(this.host.querySelectorAll('tab-content'));
16160
+ this.tabsContent = tabsContentEl.map(el => el.getChild().then(res => {
16161
+ contentCount++;
16162
+ if (contentCount === tabsContentEl.length) {
16163
+ contentComplete = true;
16164
+ }
16165
+ contentData.push(res);
16166
+ }));
16167
+ this.tabsContent = contentData;
16168
+ let myInterval = setInterval(() => {
16169
+ if (headerComplete && contentComplete) {
16170
+ clearInterval(myInterval);
16171
+ self.tabGroup = self.tabsHeader.map(header => {
16172
+ const content = self.tabsContent.find(content => content.name === header.name);
16173
+ return {
16174
+ header: header,
16175
+ content: content
16176
+ };
16177
+ });
16178
+ const group = self.tabGroup[0];
16179
+ self.selectGroup(group);
16180
+ }
16181
+ }, 100);
16182
+ }
16183
+ selectGroup(group) {
16184
+ let self = this;
16185
+ self.tabGroup.forEach(_ => {
16186
+ _.header.unselect();
16187
+ _.content.unselect();
16188
+ });
16189
+ group.header.select();
16190
+ group.content.select();
16191
+ }
16192
+ onDropdownItemSelected(selectedItem) {
16193
+ if (selectedItem) {
16194
+ let selectedTabGroub = this.tabGroup.find((group) => {
16195
+ return group.header.name == selectedItem.value;
16196
+ });
16197
+ if (selectedTabGroub) {
16198
+ this.selectGroup(selectedTabGroub);
16199
+ }
16200
+ }
16201
+ }
16202
+ render() {
16203
+ return (h(Host, null, h("div", { class: "tabs-header-container" }, h("div", { class: "tabs-header" }, h("slot", { name: "header" }))), h("div", { class: "tabs-content" }, h("slot", { name: "content" })), h("ptc-ellipsis-dropdown", { class: "ellipsis-btn", onItemSelected: (e) => { this.onDropdownItemSelected(e.detail); } })));
16204
+ }
16205
+ get host() { return this; }
16206
+ static get style() { return ptcTabListCss; }
15927
16207
  };
15928
16208
 
15929
16209
  const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-07);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-grey-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}";
15930
16210
 
15931
- let PtcTitle$1 = class extends HTMLElement {
15932
- constructor() {
15933
- super();
15934
- this.__registerHost();
15935
- /**
15936
- * Is this title using on the PLM Hub page
15937
- */
15938
- this.isPlmHub = false;
15939
- /**
15940
- * Title Tag Type
15941
- */
15942
- this.type = 'h2';
15943
- /**
15944
- * Upperline Style
15945
- */
15946
- this.upperline = 'dotted';
15947
- /**
15948
- * Title line height
15949
- */
15950
- this.titleHeight = 'paragraph';
15951
- }
15952
- render() {
15953
- const classMap = this.getCssClassMap();
15954
- let TagType;
15955
- switch (this.type) {
15956
- case 'h1':
15957
- TagType = 'h1';
15958
- break;
15959
- case 'h3':
15960
- TagType = 'h3';
15961
- break;
15962
- default:
15963
- TagType = 'h2';
15964
- }
15965
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, null, h("slot", null)))));
15966
- }
15967
- getCssClassMap() {
15968
- return {
15969
- [this.textAlign]: !!this.textAlign ? true : false,
15970
- [this.upperline]: true,
15971
- [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
15972
- [this.titleMargin]: !!this.titleMargin ? true : false,
15973
- [this.titleShadow]: !!this.titleShadow ? true : false,
15974
- [this.titleWeight]: !!this.titleWeight ? true : false,
15975
- [this.titleSize]: !!this.titleSize ? true : false,
15976
- [this.titleHeight]: !!this.titleHeight ? true : false
15977
- };
15978
- }
15979
- static get style() { return ptcTitleCss; }
16211
+ let PtcTitle$1 = class extends HTMLElement {
16212
+ constructor() {
16213
+ super();
16214
+ this.__registerHost();
16215
+ /**
16216
+ * Is this title using on the PLM Hub page
16217
+ */
16218
+ this.isPlmHub = false;
16219
+ /**
16220
+ * Title Tag Type
16221
+ */
16222
+ this.type = 'h2';
16223
+ /**
16224
+ * Upperline Style
16225
+ */
16226
+ this.upperline = 'dotted';
16227
+ /**
16228
+ * Title line height
16229
+ */
16230
+ this.titleHeight = 'paragraph';
16231
+ }
16232
+ render() {
16233
+ const classMap = this.getCssClassMap();
16234
+ let TagType;
16235
+ switch (this.type) {
16236
+ case 'h1':
16237
+ TagType = 'h1';
16238
+ break;
16239
+ case 'h3':
16240
+ TagType = 'h3';
16241
+ break;
16242
+ default:
16243
+ TagType = 'h2';
16244
+ }
16245
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap }, h(TagType, null, h("slot", null)))));
16246
+ }
16247
+ getCssClassMap() {
16248
+ return {
16249
+ [this.textAlign]: !!this.textAlign ? true : false,
16250
+ [this.upperline]: true,
16251
+ [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
16252
+ [this.titleMargin]: !!this.titleMargin ? true : false,
16253
+ [this.titleShadow]: !!this.titleShadow ? true : false,
16254
+ [this.titleWeight]: !!this.titleWeight ? true : false,
16255
+ [this.titleSize]: !!this.titleSize ? true : false,
16256
+ [this.titleHeight]: !!this.titleHeight ? true : false
16257
+ };
16258
+ }
16259
+ static get style() { return ptcTitleCss; }
15980
16260
  };
15981
16261
 
15982
16262
  const ptcTwoColumnMediaCss = ":host{display:block;padding:var(--ptc-layout-spacing-02) 0}@media only screen and (min-width: 992px){:host{padding:var(--ptc-layout-spacing-04) 0}}";
15983
16263
 
15984
- let PtcTwoColumnMedia$1 = class extends HTMLElement {
15985
- constructor() {
15986
- super();
15987
- this.__registerHost();
15988
- this.__attachShadow();
15989
- }
15990
- render() {
15991
- const classMap = this.getCssClassMap();
15992
- return (h(Host, { class: classMap }, h("slot", null)));
15993
- }
15994
- getCssClassMap() {
15995
- return {
15996
- [this.componentType]: this.componentType ? true : false
15997
- };
15998
- }
15999
- static get style() { return ptcTwoColumnMediaCss; }
16264
+ let PtcTwoColumnMedia$1 = class extends HTMLElement {
16265
+ constructor() {
16266
+ super();
16267
+ this.__registerHost();
16268
+ this.__attachShadow();
16269
+ }
16270
+ render() {
16271
+ const classMap = this.getCssClassMap();
16272
+ return (h(Host, { class: classMap }, h("slot", null)));
16273
+ }
16274
+ getCssClassMap() {
16275
+ return {
16276
+ [this.componentType]: this.componentType ? true : false
16277
+ };
16278
+ }
16279
+ static get style() { return ptcTwoColumnMediaCss; }
16280
+ };
16281
+
16282
+ const tabContentCss = ".tab-content{display:none}.tab-content-selected{display:block}";
16283
+
16284
+ let TabContent$1 = class extends HTMLElement {
16285
+ constructor() {
16286
+ super();
16287
+ this.__registerHost();
16288
+ this.isSelected = false;
16289
+ }
16290
+ async getChild() {
16291
+ return {
16292
+ select: this.select.bind(this),
16293
+ unselect: this.unselect.bind(this),
16294
+ name: this.name
16295
+ };
16296
+ }
16297
+ unselect() {
16298
+ this.isSelected = false;
16299
+ }
16300
+ select() {
16301
+ this.isSelected = true;
16302
+ }
16303
+ render() {
16304
+ const classes = {
16305
+ 'tab-content': true,
16306
+ 'tab-content-selected': this.isSelected
16307
+ };
16308
+ return (h("div", { class: classes }, h("slot", null)));
16309
+ }
16310
+ static get style() { return tabContentCss; }
16311
+ };
16312
+
16313
+ const tabHeaderCss = ".tab-header{min-height:40px;min-width:100px;padding:5px;cursor:pointer;display:flex;justify-content:center;align-items:center;border-bottom:2px solid transparent;font-family:\"Raleway\";font-style:normal;font-weight:700;font-size:18px;line-height:27px;white-space:nowrap;text-align:center;color:#617480}@media (max-width: 599px){.tab-header{min-width:100px}}.tab-header-selected{border-bottom:2px solid #00890B;color:#323B42;font-weight:700}";
16314
+
16315
+ let TabHeader$1 = class extends HTMLElement {
16316
+ constructor() {
16317
+ super();
16318
+ this.__registerHost();
16319
+ this.__attachShadow();
16320
+ this.tabClicked = createEvent(this, "tabClicked", 7);
16321
+ this.id = this.generateId();
16322
+ this.isSelected = false;
16323
+ }
16324
+ async getChild() {
16325
+ let self = this;
16326
+ let myPromise = new Promise(function (resolve) {
16327
+ let data = {
16328
+ select: self.select.bind(self),
16329
+ unselect: self.unselect.bind(self),
16330
+ name: self.name,
16331
+ id: self.id
16332
+ };
16333
+ resolve(data);
16334
+ });
16335
+ let result = await myPromise;
16336
+ return result;
16337
+ }
16338
+ unselect() {
16339
+ this.isSelected = false;
16340
+ }
16341
+ select() {
16342
+ this.isSelected = true;
16343
+ }
16344
+ onClick() {
16345
+ this.tabClicked.emit(this.getChild());
16346
+ }
16347
+ generateId() {
16348
+ return Math.random().toString(36).substring(2, 10);
16349
+ }
16350
+ render() {
16351
+ const classes = {
16352
+ 'tab-header': true,
16353
+ 'tab-header-selected': this.isSelected
16354
+ };
16355
+ return [
16356
+ h("div", { class: classes, onClick: this.onClick.bind(this) }, h("slot", null)),
16357
+ ];
16358
+ }
16359
+ static get style() { return tabHeaderCss; }
16000
16360
  };
16001
16361
 
16362
+ const DropdownItem = /*@__PURE__*/proxyCustomElement(DropdownItem$1, [4,"dropdown-item",{"linkHref":[1,"link-href"],"linkTarget":[1,"link-target"]}]);
16002
16363
  const IconAsset = /*@__PURE__*/proxyCustomElement(IconAsset$1, [2,"icon-asset",{"name":[1],"size":[1],"type":[1],"spin":[1],"pulse":[1],"color":[1],"injectedStyle":[1,"injected-style"]}]);
16003
16364
  const ListItem = /*@__PURE__*/proxyCustomElement(ListItem$1, [1,"list-item",{"listType":[1,"list-type"],"linkHref":[1,"link-href"],"flushBefore":[4,"flush-before"],"linkTarget":[1,"link-target"]}]);
16004
16365
  const LottiePlayer = /*@__PURE__*/proxyCustomElement(LottiePlayer$1, [1,"lottie-player",{"mode":[1],"autoplay":[4],"background":[513],"controls":[4],"count":[2],"direction":[2],"hover":[4],"loop":[516],"renderer":[1],"speed":[2],"src":[1],"currentState":[1,"current-state"],"seeker":[8],"intermission":[2]}]);
@@ -16010,8 +16371,11 @@ const PtcCard = /*@__PURE__*/proxyCustomElement(PtcCard$1, [1,"ptc-card",{"cardT
16010
16371
  const PtcCardBottom = /*@__PURE__*/proxyCustomElement(PtcCardBottom$1, [1,"ptc-card-bottom",{"cardType":[1,"card-type"],"styles":[1]}]);
16011
16372
  const PtcCardContent = /*@__PURE__*/proxyCustomElement(PtcCardContent$1, [1,"ptc-card-content",{"cardType":[1,"card-type"],"styles":[1]}]);
16012
16373
  const PtcCardPlm = /*@__PURE__*/proxyCustomElement(PtcCardPlm$1, [1,"ptc-card-plm",{"cardType":[1,"card-type"],"cardLink":[1,"card-link"],"linkTitle":[1,"link-title"],"linkTarget":[1,"link-target"]}]);
16013
- const PtcContainer = /*@__PURE__*/proxyCustomElement(PtcContainer$1, [1,"ptc-container",{"backgroundColor":[1,"background-color"]}]);
16374
+ const PtcCheckbox = /*@__PURE__*/proxyCustomElement(PtcCheckbox$1, [1,"ptc-checkbox",{"checked":[1],"selectedItem":[32]}]);
16375
+ const PtcContainer = /*@__PURE__*/proxyCustomElement(PtcContainer$1, [1,"ptc-container",{"backgroundColor":[1,"background-color"],"elevation":[1],"containerType":[1,"container-type"]}]);
16014
16376
  const PtcDate = /*@__PURE__*/proxyCustomElement(PtcDate$1, [1,"ptc-date",{"year":[2],"month":[2],"day":[2],"country":[1],"dateString":[1,"date-string"],"dateColor":[1,"date-color"],"dateStyles":[1,"date-styles"],"dataSize":[1,"data-size"]}]);
16377
+ const PtcEllipsisDropdown = /*@__PURE__*/proxyCustomElement(PtcEllipsisDropdown$1, [1,"ptc-ellipsis-dropdown",{"dataItems":[16],"isDropdownOpen":[32]}]);
16378
+ const PtcFilterTag = /*@__PURE__*/proxyCustomElement(PtcFilterTag$1, [1,"ptc-filter-tag",{"theme":[1],"uppercase":[4],"fontSize":[1,"font-size"]}]);
16015
16379
  const PtcHero = /*@__PURE__*/proxyCustomElement(PtcHero$1, [1,"ptc-hero",{"heroType":[1,"hero-type"],"bgUrl":[1,"bg-url"]}]);
16016
16380
  const PtcHeroFooterCta = /*@__PURE__*/proxyCustomElement(PtcHeroFooterCta$1, [6,"ptc-hero-footer-cta",{"ctaTitle":[1,"cta-title"],"description":[1],"backgroundImage":[1,"background-image"]}]);
16017
16381
  const PtcIconList = /*@__PURE__*/proxyCustomElement(PtcIconList$1, [1,"ptc-icon-list",{"listType":[1,"list-type"],"valueWithUnit":[1,"value-with-unit"],"valueText":[1,"value-text"],"listContent":[1,"list-content"],"isLastItem":[4,"is-last-item"]}]);
@@ -16032,16 +16396,21 @@ const PtcPreviousUrl = /*@__PURE__*/proxyCustomElement(PtcPreviousUrl$1, [1,"ptc
16032
16396
  const PtcPricingBlock = /*@__PURE__*/proxyCustomElement(PtcPricingBlock$1, [1,"ptc-pricing-block"]);
16033
16397
  const PtcQuote = /*@__PURE__*/proxyCustomElement(PtcQuote$1, [1,"ptc-quote",{"quoteType":[1025,"quote-type"],"quoteName":[1025,"quote-name"],"ctaText":[1,"cta-text"],"ctaUrl":[1,"cta-url"],"imgSrc":[1,"img-src"],"imgTitle":[1,"img-title"]}]);
16034
16398
  const PtcResponsiveWrapper = /*@__PURE__*/proxyCustomElement(PtcResponsiveWrapper$1, [1,"ptc-responsive-wrapper"]);
16399
+ const PtcShoppingCart = /*@__PURE__*/proxyCustomElement(PtcShoppingCart$1, [1,"ptc-shopping-cart",{"cartCount":[1,"cart-count"],"color":[1]}]);
16035
16400
  const PtcSocialShare = /*@__PURE__*/proxyCustomElement(PtcSocialShare$1, [1,"ptc-social-share",{"display":[1],"shareType":[1,"share-type"],"shareTitle":[1,"share-title"],"text":[1],"url":[1],"source":[1],"recipient":[1],"isHover":[32]}]);
16036
16401
  const PtcSpacer = /*@__PURE__*/proxyCustomElement(PtcSpacer$1, [1,"ptc-spacer",{"breakpoint":[1],"size":[1],"direction":[1]}]);
16037
16402
  const PtcSpan = /*@__PURE__*/proxyCustomElement(PtcSpan$1, [1,"ptc-span",{"spanStyle":[1,"span-style"],"display":[1],"styles":[1]}]);
16038
16403
  const PtcSvgBtn = /*@__PURE__*/proxyCustomElement(PtcSvgBtn$1, [1,"ptc-svg-btn",{"svgName":[1,"svg-name"],"display":[1]}]);
16404
+ const PtcTabList = /*@__PURE__*/proxyCustomElement(PtcTabList$1, [4,"ptc-tab-list",null,[[0,"tabClicked","onSelectedTab"],[9,"resize","calculateHeaderTabsRendering"]]]);
16039
16405
  const PtcTitle = /*@__PURE__*/proxyCustomElement(PtcTitle$1, [6,"ptc-title",{"isPlmHub":[4,"is-plm-hub"],"type":[1],"textAlign":[1,"text-align"],"upperline":[1],"titleShadow":[1,"title-shadow"],"titleMargin":[1,"title-margin"],"titleWeight":[1,"title-weight"],"titleSize":[1,"title-size"],"titleHeight":[1,"title-height"],"styles":[1]}]);
16040
16406
  const PtcTwoColumnMedia = /*@__PURE__*/proxyCustomElement(PtcTwoColumnMedia$1, [1,"ptc-two-column-media",{"componentType":[1,"component-type"]}]);
16407
+ const TabContent = /*@__PURE__*/proxyCustomElement(TabContent$1, [4,"tab-content",{"name":[1],"isSelected":[32]}]);
16408
+ const TabHeader = /*@__PURE__*/proxyCustomElement(TabHeader$1, [1,"tab-header",{"name":[1],"isSelected":[32]}]);
16041
16409
  const defineCustomElements = (opts) => {
16042
16410
  if (typeof customElements !== 'undefined') {
16043
16411
  [
16044
- IconAsset,
16412
+ DropdownItem,
16413
+ IconAsset,
16045
16414
  ListItem,
16046
16415
  LottiePlayer,
16047
16416
  MyComponent,
@@ -16052,8 +16421,11 @@ const defineCustomElements = (opts) => {
16052
16421
  PtcCardBottom,
16053
16422
  PtcCardContent,
16054
16423
  PtcCardPlm,
16424
+ PtcCheckbox,
16055
16425
  PtcContainer,
16056
16426
  PtcDate,
16427
+ PtcEllipsisDropdown,
16428
+ PtcFilterTag,
16057
16429
  PtcHero,
16058
16430
  PtcHeroFooterCta,
16059
16431
  PtcIconList,
@@ -16074,12 +16446,16 @@ const defineCustomElements = (opts) => {
16074
16446
  PtcPricingBlock,
16075
16447
  PtcQuote,
16076
16448
  PtcResponsiveWrapper,
16449
+ PtcShoppingCart,
16077
16450
  PtcSocialShare,
16078
16451
  PtcSpacer,
16079
16452
  PtcSpan,
16080
16453
  PtcSvgBtn,
16454
+ PtcTabList,
16081
16455
  PtcTitle,
16082
- PtcTwoColumnMedia
16456
+ PtcTwoColumnMedia,
16457
+ TabContent,
16458
+ TabHeader
16083
16459
  ].forEach(cmp => {
16084
16460
  if (!customElements.get(cmp.is)) {
16085
16461
  customElements.define(cmp.is, cmp, opts);
@@ -16088,4 +16464,4 @@ const defineCustomElements = (opts) => {
16088
16464
  }
16089
16465
  };
16090
16466
 
16091
- export { IconAsset, ListItem, LottiePlayer, MyComponent, PtcAnnouncement, PtcBreadcrumb, PtcButton, PtcCard, PtcCardBottom, PtcCardContent, PtcCardPlm, PtcContainer, PtcDate, PtcHero, PtcHeroFooterCta, PtcIconList, PtcImg, PtcLink, PtcList, PtcLottie, PtcMinimizedFooter, PtcMinimizedHeader, PtcMobileSelect, PtcModal, PtcNav, PtcNavItem, PtcOverlay, PtcPara, PtcPicture, PtcPreviousUrl, PtcPricingBlock, PtcQuote, PtcResponsiveWrapper, PtcSocialShare, PtcSpacer, PtcSpan, PtcSvgBtn, PtcTitle, PtcTwoColumnMedia, defineCustomElements };
16467
+ export { DropdownItem, IconAsset, ListItem, LottiePlayer, MyComponent, PtcAnnouncement, PtcBreadcrumb, PtcButton, PtcCard, PtcCardBottom, PtcCardContent, PtcCardPlm, PtcCheckbox, PtcContainer, PtcDate, PtcEllipsisDropdown, PtcFilterTag, PtcHero, PtcHeroFooterCta, PtcIconList, PtcImg, PtcLink, PtcList, PtcLottie, PtcMinimizedFooter, PtcMinimizedHeader, PtcMobileSelect, PtcModal, PtcNav, PtcNavItem, PtcOverlay, PtcPara, PtcPicture, PtcPreviousUrl, PtcPricingBlock, PtcQuote, PtcResponsiveWrapper, PtcShoppingCart, PtcSocialShare, PtcSpacer, PtcSpan, PtcSvgBtn, PtcTabList, PtcTitle, PtcTwoColumnMedia, TabContent, TabHeader, defineCustomElements };