@ptcwebops/ptcw-design 4.5.9 → 4.6.1

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 (130) hide show
  1. package/dist/cjs/blogs-search-section.cjs.entry.js +190 -0
  2. package/dist/cjs/homepage-clickable-tab.cjs.entry.js +2 -2
  3. package/dist/cjs/homepage-jumbotron.cjs.entry.js +118 -0
  4. package/dist/cjs/homepage-toggled-content.cjs.entry.js +91 -3
  5. package/dist/cjs/icon-asset.cjs.entry.js +53 -0
  6. package/dist/cjs/interfaces-574e6df7.js +15 -0
  7. package/dist/cjs/jumbotron-sub-menu.cjs.entry.js +47 -0
  8. package/dist/cjs/loader.cjs.js +1 -1
  9. package/dist/cjs/max-width-container.cjs.entry.js +54 -0
  10. package/dist/cjs/ptc-background-video.cjs.entry.js +70 -0
  11. package/dist/cjs/ptc-button.cjs.entry.js +79 -0
  12. package/dist/cjs/ptc-card_2.cjs.entry.js +30 -48
  13. package/dist/cjs/ptc-date.cjs.entry.js +61 -0
  14. package/dist/cjs/{ptc-pagenation.cjs.entry.js → ptc-filter-tag_2.cjs.entry.js} +63 -0
  15. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  16. package/dist/cjs/ptc-info-tile.cjs.entry.js +26 -0
  17. package/dist/cjs/ptc-jumbotron.cjs.entry.js +127 -0
  18. package/dist/cjs/ptc-para.cjs.entry.js +70 -0
  19. package/dist/cjs/ptc-picture.cjs.entry.js +163 -0
  20. package/dist/cjs/ptc-readmore.cjs.entry.js +1 -1
  21. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  22. package/dist/cjs/ptc-tooltip.cjs.entry.js +107 -0
  23. package/dist/cjs/ptcw-design.cjs.js +1 -1
  24. package/dist/collection/collection-manifest.json +1 -0
  25. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.css +9 -9
  26. package/dist/collection/components/homepage-clickable-tab/homepage-clickable-tab.js +1 -1
  27. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.css +100 -0
  28. package/dist/collection/components/organism-bundles/blogs-search-section/blogs-search-section.js +286 -0
  29. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.css +38 -18
  30. package/dist/collection/components/organism-bundles/homepage-jumbotron/homepage-jumbotron.js +8 -5
  31. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.css +128 -16
  32. package/dist/collection/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.js +95 -3
  33. package/dist/collection/components/ptc-card/ptc-card.js +5 -4
  34. package/dist/collection/components/ptc-info-tile/ptc-info-tile.css +5 -1
  35. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +19 -1
  36. package/dist/collection/components/ptc-readmore/ptc-readmore.js +1 -1
  37. package/dist/custom-elements/index.d.ts +6 -0
  38. package/dist/custom-elements/index.js +301 -21
  39. package/dist/esm/blogs-search-section.entry.js +186 -0
  40. package/dist/esm/homepage-clickable-tab.entry.js +2 -2
  41. package/dist/esm/homepage-jumbotron.entry.js +114 -0
  42. package/dist/esm/homepage-toggled-content.entry.js +91 -3
  43. package/dist/esm/icon-asset.entry.js +49 -0
  44. package/dist/esm/interfaces-4caedd26.js +12 -0
  45. package/dist/esm/jumbotron-sub-menu.entry.js +43 -0
  46. package/dist/esm/loader.js +1 -1
  47. package/dist/esm/max-width-container.entry.js +50 -0
  48. package/dist/esm/most-popular-news.entry.js +1 -1
  49. package/dist/esm/my-component.entry.js +1 -1
  50. package/dist/esm/ptc-background-video.entry.js +66 -0
  51. package/dist/esm/ptc-button.entry.js +75 -0
  52. package/dist/esm/ptc-card_2.entry.js +31 -49
  53. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  54. package/dist/esm/ptc-date.entry.js +57 -0
  55. package/dist/esm/{ptc-pagenation.entry.js → ptc-filter-tag_2.entry.js} +64 -2
  56. package/dist/esm/ptc-form-checkbox_2.entry.js +1 -1
  57. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  58. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  59. package/dist/esm/ptc-img.entry.js +129 -0
  60. package/dist/esm/ptc-info-tile.entry.js +22 -0
  61. package/dist/esm/ptc-jumbotron.entry.js +123 -0
  62. package/dist/esm/ptc-link.entry.js +1 -1
  63. package/dist/esm/ptc-media-card.entry.js +1 -1
  64. package/dist/esm/ptc-multi-select_2.entry.js +1 -1
  65. package/dist/esm/ptc-para.entry.js +66 -0
  66. package/dist/esm/ptc-picture.entry.js +159 -0
  67. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  68. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  69. package/dist/esm/ptc-readmore.entry.js +1 -1
  70. package/dist/esm/ptc-spacer.entry.js +34 -0
  71. package/dist/esm/ptc-title.entry.js +1 -1
  72. package/dist/esm/ptc-tooltip.entry.js +103 -0
  73. package/dist/esm/ptcw-design.js +1 -1
  74. package/dist/esm/{utils-4a9e39a7.js → utils-edb0c4d4.js} +1 -1
  75. package/dist/ptcw-design/p-0390c236.entry.js +1 -0
  76. package/dist/ptcw-design/{p-f44eeac7.entry.js → p-055e0d28.entry.js} +1 -1
  77. package/dist/ptcw-design/{p-48ebe929.entry.js → p-057f7b20.entry.js} +1 -1
  78. package/dist/ptcw-design/p-071a6109.entry.js +1 -0
  79. package/dist/ptcw-design/p-07a4b1ca.entry.js +1 -0
  80. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  81. package/dist/ptcw-design/{p-aa042737.entry.js → p-184a4cda.entry.js} +1 -1
  82. package/dist/ptcw-design/p-1d64a5a8.entry.js +1 -0
  83. package/dist/ptcw-design/{p-febec9ac.entry.js → p-25a1d8c5.entry.js} +1 -1
  84. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  85. package/dist/ptcw-design/p-260ecfef.entry.js +1 -0
  86. package/dist/ptcw-design/p-3885c133.entry.js +1 -0
  87. package/dist/ptcw-design/{p-5557df17.entry.js → p-419abbe1.entry.js} +1 -1
  88. package/dist/ptcw-design/p-463097da.entry.js +1 -0
  89. package/dist/ptcw-design/p-49639b03.entry.js +1 -0
  90. package/dist/ptcw-design/p-4e1088bb.entry.js +1 -0
  91. package/dist/ptcw-design/p-509ba999.entry.js +1 -0
  92. package/dist/ptcw-design/p-62a4a1e1.entry.js +1 -0
  93. package/dist/ptcw-design/p-711bcdad.js +1 -0
  94. package/dist/ptcw-design/p-742d7492.entry.js +1 -0
  95. package/dist/ptcw-design/{p-cdb80c67.entry.js → p-7c3aac08.entry.js} +1 -1
  96. package/dist/ptcw-design/p-7db71d63.entry.js +1 -0
  97. package/dist/ptcw-design/{p-211ece93.entry.js → p-8f5feb90.entry.js} +1 -1
  98. package/dist/ptcw-design/p-9113f580.entry.js +1 -0
  99. package/dist/ptcw-design/{p-3827fcc3.entry.js → p-a1415238.entry.js} +1 -1
  100. package/dist/ptcw-design/{p-e67b618c.entry.js → p-ac504f89.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-41448acc.entry.js → p-ae62e211.entry.js} +1 -1
  102. package/dist/ptcw-design/{p-b8fd8532.js → p-bcbdf9a9.js} +1 -1
  103. package/dist/ptcw-design/p-d3b3d535.entry.js +1 -0
  104. package/dist/ptcw-design/{p-9953eb9e.entry.js → p-d3b615a8.entry.js} +1 -1
  105. package/dist/ptcw-design/p-e21f2874.entry.js +1 -0
  106. package/dist/ptcw-design/p-ed2be934.entry.js +1 -0
  107. package/dist/ptcw-design/p-ee455b1d.entry.js +1 -0
  108. package/dist/ptcw-design/p-f08725b9.entry.js +1 -0
  109. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  110. package/dist/types/components/organism-bundles/blogs-search-section/blogs-search-section.d.ts +21 -0
  111. package/dist/types/components/organism-bundles/homepage-toggled-content/homepage-toggled-content.d.ts +27 -0
  112. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +4 -0
  113. package/dist/types/components.d.ts +28 -0
  114. package/package.json +1 -1
  115. package/readme.md +1 -1
  116. package/dist/cjs/homepage-jumbotron_13.cjs.entry.js +0 -1017
  117. package/dist/cjs/ptc-filter-tag.cjs.entry.js +0 -69
  118. package/dist/cjs/ptc-preloader-section.cjs.entry.js +0 -42
  119. package/dist/esm/homepage-jumbotron_13.entry.js +0 -1001
  120. package/dist/esm/ptc-filter-tag.entry.js +0 -65
  121. package/dist/esm/ptc-preloader-section.entry.js +0 -38
  122. package/dist/ptcw-design/p-0565de99.entry.js +0 -1
  123. package/dist/ptcw-design/p-10fe1d4f.entry.js +0 -1
  124. package/dist/ptcw-design/p-6491d9b9.entry.js +0 -1
  125. package/dist/ptcw-design/p-6f08fa33.entry.js +0 -1
  126. package/dist/ptcw-design/p-73bfe4e6.entry.js +0 -1
  127. package/dist/ptcw-design/p-8d29f34a.entry.js +0 -1
  128. package/dist/ptcw-design/p-9467e22b.entry.js +0 -1
  129. package/dist/ptcw-design/p-acfbc221.entry.js +0 -1
  130. package/dist/ptcw-design/p-b5d8f7d1.entry.js +0 -1
@@ -1,1001 +0,0 @@
1
- import { r as registerInstance, h, H as Host, g as getElement, a as getAssetPath, c as createEvent } from './index-c83db688.js';
2
- import { S as Swiper } from './core-ebde74a2.js';
3
- import { g as getSeoTagType, s as seoSlotReset } from './utils-4a9e39a7.js';
4
-
5
- const homepageJumbotronCss = "@font-face{font-family:'swiper-icons';src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}.sc-homepage-jumbotron:root{--swiper-theme-color:#007aff}.swiper.sc-homepage-jumbotron,swiper-container.sc-homepage-jumbotron{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{flex-direction:column}.swiper-wrapper.sc-homepage-jumbotron{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron,.swiper-wrapper.sc-homepage-jumbotron{transform:translate3d(0px, 0, 0)}.swiper-horizontal.sc-homepage-jumbotron{touch-action:pan-y}.swiper-vertical.sc-homepage-jumbotron{touch-action:pan-x}.swiper-slide.sc-homepage-jumbotron,swiper-slide.sc-homepage-jumbotron{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank.sc-homepage-jumbotron{visibility:hidden}.swiper-autoheight.sc-homepage-jumbotron,.swiper-autoheight.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{height:auto}.swiper-autoheight.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron{align-items:flex-start;transition-property:transform, height}.swiper-backface-hidden.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron{perspective:1200px}.swiper-3d.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron{transform-style:preserve-3d}.swiper-3d.sc-homepage-jumbotron{perspective:1200px}.swiper-3d.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-left.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-right.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-top.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-bottom.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-cube-shadow.sc-homepage-jumbotron{transform-style:preserve-3d}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-left.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-right.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-top.sc-homepage-jumbotron,.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-bottom.sc-homepage-jumbotron{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow.sc-homepage-jumbotron{background:rgba(0, 0, 0, 0.15)}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-left.sc-homepage-jumbotron{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-right.sc-homepage-jumbotron{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-top.sc-homepage-jumbotron{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d.sc-homepage-jumbotron .swiper-slide-shadow-bottom.sc-homepage-jumbotron{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron::-webkit-scrollbar{display:none}.swiper-css-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron>.swiper-slide.sc-homepage-jumbotron{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron>.swiper-slide.sc-homepage-jumbotron{scroll-snap-align:none}.swiper-centered.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron::before{content:'';flex-shrink:0;order:9999}.swiper-centered.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron>.swiper-slide.sc-homepage-jumbotron{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-centered.swiper-horizontal.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron>.swiper-slide.sc-homepage-jumbotron:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron>.swiper-slide.sc-homepage-jumbotron:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-lazy-preloader.sc-homepage-jumbotron{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper.sc-homepage-jumbotron:not(.swiper-watch-progress) .swiper-lazy-preloader.sc-homepage-jumbotron,swiper-container.sc-homepage-jumbotron:not(.swiper-watch-progress) .swiper-lazy-preloader.sc-homepage-jumbotron,.swiper-watch-progress.sc-homepage-jumbotron .swiper-slide-visible.sc-homepage-jumbotron .swiper-lazy-preloader.sc-homepage-jumbotron{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white.sc-homepage-jumbotron{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black.sc-homepage-jumbotron{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.swiper-virtual.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical.sc-homepage-jumbotron .swiper-wrapper.sc-homepage-jumbotron::after{width:1px;height:var(--swiper-virtual-size)}.sc-homepage-jumbotron:root{--swiper-navigation-size:44px}.swiper-button-prev.sc-homepage-jumbotron,.swiper-button-next.sc-homepage-jumbotron{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled.sc-homepage-jumbotron,.swiper-button-next.swiper-button-disabled.sc-homepage-jumbotron{opacity:0.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden.sc-homepage-jumbotron,.swiper-button-next.swiper-button-hidden.sc-homepage-jumbotron{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled.sc-homepage-jumbotron .swiper-button-prev.sc-homepage-jumbotron,.swiper-navigation-disabled.sc-homepage-jumbotron .swiper-button-next.sc-homepage-jumbotron{display:none !important}.swiper-button-prev.sc-homepage-jumbotron:after,.swiper-button-next.sc-homepage-jumbotron:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none !important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev.sc-homepage-jumbotron,.swiper-rtl.sc-homepage-jumbotron .swiper-button-next.sc-homepage-jumbotron{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-prev.sc-homepage-jumbotron:after,.swiper-rtl.sc-homepage-jumbotron .swiper-button-next.sc-homepage-jumbotron:after{content:'prev'}.swiper-button-next.sc-homepage-jumbotron,.swiper-rtl.sc-homepage-jumbotron .swiper-button-prev.sc-homepage-jumbotron{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next.sc-homepage-jumbotron:after,.swiper-rtl.sc-homepage-jumbotron .swiper-button-prev.sc-homepage-jumbotron:after{content:'next'}.swiper-button-lock.sc-homepage-jumbotron{display:none}.swiper-pagination.sc-homepage-jumbotron{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden.sc-homepage-jumbotron{opacity:0}.swiper-pagination-disabled.sc-homepage-jumbotron>.swiper-pagination.sc-homepage-jumbotron,.swiper-pagination.swiper-pagination-disabled.sc-homepage-jumbotron{display:none !important}.swiper-pagination-fraction.sc-homepage-jumbotron,.swiper-pagination-custom.sc-homepage-jumbotron,.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-bullets.sc-homepage-jumbotron,.swiper-pagination-bullets.swiper-pagination-horizontal.sc-homepage-jumbotron{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active.sc-homepage-jumbotron{transform:scale(1)}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active-main.sc-homepage-jumbotron{transform:scale(1)}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active-prev.sc-homepage-jumbotron{transform:scale(0.66)}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active-prev-prev.sc-homepage-jumbotron{transform:scale(0.33)}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active-next.sc-homepage-jumbotron{transform:scale(0.66)}.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet-active-next-next.sc-homepage-jumbotron{transform:scale(0.33)}.swiper-pagination-bullet.sc-homepage-jumbotron{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet.sc-homepage-jumbotron{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{cursor:pointer}.swiper-pagination-bullet.sc-homepage-jumbotron:only-child{display:none !important}.swiper-pagination-bullet-active.sc-homepage-jumbotron{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-bullets.sc-homepage-jumbotron,.swiper-pagination-vertical.swiper-pagination-bullets.sc-homepage-jumbotron{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-bullets.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron,.swiper-pagination-vertical.swiper-pagination-bullets.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{display:inline-block;transition:200ms transform, 200ms top}.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-bullets.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron,.swiper-pagination-horizontal.swiper-pagination-bullets.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{transition:200ms transform, 200ms left}.swiper-horizontal.swiper-rtl.sc-homepage-jumbotron>.swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron,.swiper-horizontal.swiper-rtl.sc-homepage-jumbotron-h .swiper-pagination-bullets-dynamic.sc-homepage-jumbotron .swiper-pagination-bullet.sc-homepage-jumbotron{transition:200ms transform, 200ms right}.swiper-pagination-fraction.sc-homepage-jumbotron{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar.sc-homepage-jumbotron{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, 0.25));position:absolute}.swiper-pagination-progressbar.sc-homepage-jumbotron .swiper-pagination-progressbar-fill.sc-homepage-jumbotron{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl.sc-homepage-jumbotron .swiper-pagination-progressbar.sc-homepage-jumbotron .swiper-pagination-progressbar-fill.sc-homepage-jumbotron{transform-origin:right top}.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-progressbar.sc-homepage-jumbotron,.swiper-pagination-progressbar.swiper-pagination-horizontal.sc-homepage-jumbotron,.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite.sc-homepage-jumbotron,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite.sc-homepage-jumbotron{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical.sc-homepage-jumbotron>.swiper-pagination-progressbar.sc-homepage-jumbotron,.swiper-pagination-progressbar.swiper-pagination-vertical.sc-homepage-jumbotron,.swiper-horizontal.sc-homepage-jumbotron>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite.sc-homepage-jumbotron,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite.sc-homepage-jumbotron{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock.sc-homepage-jumbotron{display:none}.swiper-scrollbar.sc-homepage-jumbotron{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;-ms-touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, 0.1))}.swiper-scrollbar-disabled.sc-homepage-jumbotron>.swiper-scrollbar.sc-homepage-jumbotron,.swiper-scrollbar.swiper-scrollbar-disabled.sc-homepage-jumbotron{display:none !important}.swiper-horizontal.sc-homepage-jumbotron>.swiper-scrollbar.sc-homepage-jumbotron,.swiper-scrollbar.swiper-scrollbar-horizontal.sc-homepage-jumbotron{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical.sc-homepage-jumbotron>.swiper-scrollbar.sc-homepage-jumbotron,.swiper-scrollbar.swiper-scrollbar-vertical.sc-homepage-jumbotron{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag.sc-homepage-jumbotron{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag.sc-homepage-jumbotron{cursor:move}.swiper-scrollbar-lock.sc-homepage-jumbotron{display:none}.swiper-zoom-container.sc-homepage-jumbotron{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container.sc-homepage-jumbotron>img.sc-homepage-jumbotron,.swiper-zoom-container.sc-homepage-jumbotron>svg.sc-homepage-jumbotron,.swiper-zoom-container.sc-homepage-jumbotron>canvas.sc-homepage-jumbotron{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed.sc-homepage-jumbotron{cursor:move;touch-action:none}.swiper.sc-homepage-jumbotron .swiper-notification.sc-homepage-jumbotron,swiper-container.sc-homepage-jumbotron .swiper-notification.sc-homepage-jumbotron{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{transition-timing-function:ease-out;margin:0 auto}.swiper-grid.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{flex-wrap:wrap}.swiper-grid-column.sc-homepage-jumbotron>.swiper-wrapper.sc-homepage-jumbotron{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{transition-timing-function:ease-out}.swiper-fade.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none;transition-property:opacity}.swiper-fade.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none}.swiper-fade.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron,.swiper-fade.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron{pointer-events:auto}.swiper-cube.sc-homepage-jumbotron{overflow:visible}.swiper-cube.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none}.swiper-cube.swiper-rtl.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{transform-origin:100% 0}.swiper-cube.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron{pointer-events:auto}.swiper-cube.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-next.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-prev.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-next.sc-homepage-jumbotron+.swiper-slide.sc-homepage-jumbotron{pointer-events:auto;visibility:visible}.swiper-cube.sc-homepage-jumbotron .swiper-slide-shadow-top.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-shadow-bottom.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-shadow-left.sc-homepage-jumbotron,.swiper-cube.sc-homepage-jumbotron .swiper-slide-shadow-right.sc-homepage-jumbotron{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube.sc-homepage-jumbotron .swiper-cube-shadow.sc-homepage-jumbotron{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:0.6;z-index:0}.swiper-cube.sc-homepage-jumbotron .swiper-cube-shadow.sc-homepage-jumbotron:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip.sc-homepage-jumbotron{overflow:visible}.swiper-flip.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{pointer-events:none}.swiper-flip.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron,.swiper-flip.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron .swiper-slide-active.sc-homepage-jumbotron{pointer-events:auto}.swiper-flip.sc-homepage-jumbotron .swiper-slide-shadow-top.sc-homepage-jumbotron,.swiper-flip.sc-homepage-jumbotron .swiper-slide-shadow-bottom.sc-homepage-jumbotron,.swiper-flip.sc-homepage-jumbotron .swiper-slide-shadow-left.sc-homepage-jumbotron,.swiper-flip.sc-homepage-jumbotron .swiper-slide-shadow-right.sc-homepage-jumbotron{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform, opacity, height}.swiper-cards.sc-homepage-jumbotron{overflow:visible}.swiper-cards.sc-homepage-jumbotron .swiper-slide.sc-homepage-jumbotron{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden}h1.sc-homepage-jumbotron,h2.sc-homepage-jumbotron,h3.sc-homepage-jumbotron,h4.sc-homepage-jumbotron,h5.sc-homepage-jumbotron,h6.sc-homepage-jumbotron,p.sc-homepage-jumbotron,ul.sc-homepage-jumbotron,li.sc-homepage-jumbotron,ptc-subnav.sc-homepage-jumbotron,ptc-tab-list.sc-homepage-jumbotron,ptc-link.sc-homepage-jumbotron,ptc-square-card.sc-homepage-jumbotron,.hyphenate-text.sc-homepage-jumbotron,ptc-footer.sc-homepage-jumbotron{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-homepage-jumbotron,h2.sc-homepage-jumbotron,h3.sc-homepage-jumbotron,h4.sc-homepage-jumbotron,h5.sc-homepage-jumbotron,h6.sc-homepage-jumbotron,p.sc-homepage-jumbotron,ul.sc-homepage-jumbotron,li.sc-homepage-jumbotron,ptc-subnav.sc-homepage-jumbotron,ptc-tab-list.sc-homepage-jumbotron,ptc-link.sc-homepage-jumbotron,ptc-square-card.sc-homepage-jumbotron,.hyphenate-text.sc-homepage-jumbotron,ptc-footer.sc-homepage-jumbotron{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-homepage-jumbotron-h{display:block;width:100%;height:auto;position:relative;overflow:hidden}ptc-jumbotron.sc-homepage-jumbotron{height:fit-content}@media screen and (min-width: 992px){ptc-jumbotron.sc-homepage-jumbotron{height:86vh}}.hp-sub-title.sc-homepage-jumbotron{color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-regular);line-height:var(--ptc-line-height-p)}.hp-h1.sc-homepage-jumbotron{color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xxxx-large);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest)}.swiper-container.sc-homepage-jumbotron{position:relative;z-index:999;width:100%;height:100%;transform:translateY(-20px);max-width:1200px;margin:0 auto}@media screen and (min-width: 1200px){.swiper-wrapper.sc-homepage-jumbotron{justify-content:center}}.swiper-slide.sc-homepage-jumbotron{display:flex;justify-content:center;align-items:center}.swiper-button-next.sc-homepage-jumbotron,.swiper-button-prev.sc-homepage-jumbotron{color:transparent}";
6
-
7
- const HomepageJumbotron = class {
8
- constructor(hostRef) {
9
- registerInstance(this, hostRef);
10
- this.tileCount = 0;
11
- this.bgVideoSrc = '';
12
- this.bgSrc = 'https://images.unsplash.com/photo-1675285972028-45dc2add07be?crop=entropy&cs=tinysrgb&fm=jpg&ixid=MnwzMjM4NDZ8MHwxfHJhbmRvbXx8fHx8fHx8fDE2Nzc3ODk2NTE&ixlib=rb-4.0.3&q=80';
13
- this.jumbotron = 'light';
14
- this.isIframe = false;
15
- this.playBtnText = 'play';
16
- this.pauseBtnText = 'pause';
17
- this.activeTab = 0;
18
- this.activeBgVideoSrc = undefined;
19
- this.activeMainTitle = undefined;
20
- this.activeSubTitle = undefined;
21
- this.activeButton = undefined;
22
- this.tileElements = [];
23
- this.isTransitioning = undefined;
24
- }
25
- componentWillLoad() {
26
- this.updateDefaultContent();
27
- }
28
- componentDidLoad() {
29
- this.initSlider();
30
- }
31
- initSlider() {
32
- if (this.swiperContainerRef) {
33
- this.mySwiper = new Swiper(this.swiperContainerRef, {
34
- slidesPerView: 1,
35
- //spaceBetween: 2,
36
- initialSlide: 0,
37
- loop: false,
38
- pagination: {
39
- el: '.swiper-pagination',
40
- clickable: true,
41
- },
42
- breakpoints: {
43
- 768: {
44
- initialSlide: 0,
45
- slidesPerView: 2,
46
- },
47
- 1200: {
48
- initialSlide: 1,
49
- slidesPerView: 3,
50
- },
51
- },
52
- });
53
- console.log('running swiper');
54
- }
55
- }
56
- destroySlider() {
57
- if (this.mySwiper) {
58
- this.mySwiper.destroy(true, true);
59
- }
60
- }
61
- handleTileClick(tabIndex) {
62
- this.activeTab = tabIndex;
63
- this.updateActiveContent();
64
- this.updateTileElements();
65
- this.destroySlider();
66
- this.initSlider();
67
- }
68
- updateDefaultContent() {
69
- const defaultBgVideoElement = this.el.querySelector(`[slot="bg-video-src"]`);
70
- const defaultMainTitleElement = this.el.querySelector(`[slot="main-title"]`);
71
- const defaultSubTitleElement = this.el.querySelector(`[slot="hp-sub-title"]`);
72
- const defaultButtonElement = this.el.querySelector(`[slot="j-cta"]`);
73
- this.activeBgVideoSrc = defaultBgVideoElement ? defaultBgVideoElement.getAttribute('src') : this.bgVideoSrc;
74
- this.activeMainTitle = defaultMainTitleElement ? defaultMainTitleElement.innerHTML : '';
75
- this.activeSubTitle = defaultSubTitleElement ? defaultSubTitleElement.innerHTML : '';
76
- this.activeButton = defaultButtonElement ? defaultButtonElement.innerHTML : '';
77
- }
78
- updateActiveContent() {
79
- const activeBgVideoElement = this.el.querySelector(`[slot="bg-video-src-${this.activeTab}"]`);
80
- const activeMainTitleElement = this.el.querySelector(`[slot="main-title-${this.activeTab}"]`);
81
- const activeSubTitleElement = this.el.querySelector(`[slot="sub-title-${this.activeTab}"]`);
82
- const activeButtonElement = this.el.querySelector(`[slot="j-cta-${this.activeTab}"]`);
83
- this.activeBgVideoSrc = activeBgVideoElement ? activeBgVideoElement.getAttribute('src') : '';
84
- this.activeMainTitle = activeMainTitleElement ? activeMainTitleElement.innerHTML : '';
85
- this.activeSubTitle = activeSubTitleElement ? activeSubTitleElement.innerHTML : '';
86
- this.activeButton = activeButtonElement ? activeButtonElement.innerHTML : '';
87
- //this.tileCount = this.el.querySelectorAll(`[slot^="jumbotron-tile-image-${this.activeTab}"]`).length;
88
- //console.log('sub tile counts: ' + this.tileCount + '; this active tab: ' + this.activeTab);
89
- this.updateTileElements();
90
- }
91
- updateTileElements() {
92
- const tiles = Array.from(this.el.querySelectorAll(`[slot^="jumbotron-tile-${this.activeTab}"]`));
93
- this.tileElements = tiles;
94
- //console.log('tile check: ' + tiles[0].outerHTML);
95
- }
96
- onItemSelected(event) {
97
- this.isTransitioning = true;
98
- setTimeout(() => {
99
- this.handleTileClick(event.detail);
100
- this.isTransitioning = false;
101
- }, 250);
102
- }
103
- render() {
104
- return (h(Host, null, h("ptc-jumbotron", Object.assign({ "jumbotron-type": this.jumbotron }, (!!this.activeBgVideoSrc && { bgVideoSrc: this.activeBgVideoSrc }), (!this.bgVideoSrc && !!this.bgSrc && { bgSrc: this.bgSrc }), { "is-iframe": this.isIframe, "is-homepage": "true", "is-transitioning": this.isTransitioning, "sub-title": "" //sub title is coming from slot here
105
- ,
106
- "play-button-title": this.playBtnText, "pause-button-title": this.pauseBtnText, "button-location": "allbp-bottom-right" }), h("slot", { name: "breadcrumb" }), h("h1", { slot: "main-title", class: "hp-h1" }, this.activeMainTitle), h("p", { slot: "hp-sub-title", class: "hp-sub-title" }, this.activeSubTitle), h("div", { slot: "j-cta", innerHTML: this.activeButton })), h("div", { class: "swiper-container", ref: el => (this.swiperContainerRef = el) }, h("div", { class: "swiper-wrapper" }, this.tileElements.map((tile, index) => (h("div", { class: "swiper-slide", key: index, innerHTML: tile.outerHTML })))), h("div", { class: "swiper-pagination" }))));
107
- }
108
- get el() { return getElement(this); }
109
- };
110
- HomepageJumbotron.style = homepageJumbotronCss;
111
-
112
- 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}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}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.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}";
113
-
114
- const IconAsset = class {
115
- constructor(hostRef) {
116
- registerInstance(this, hostRef);
117
- this.regularSprite = getAssetPath('./media/regular.svg');
118
- this.solidSprite = getAssetPath('./media/solid.svg');
119
- this.brandSprite = getAssetPath('./media/brands.svg');
120
- this.ptcSprite = getAssetPath('./media/designer.svg');
121
- this.name = undefined;
122
- this.size = 'xx-small';
123
- this.type = 'regular';
124
- this.spin = '';
125
- this.pulse = '';
126
- this.color = 'default';
127
- this.isMobileSelect = undefined;
128
- this.injectedStyle = undefined;
129
- }
130
- render() {
131
- const classMap = this.getCssClassMap();
132
- if (this.type == 'brands') {
133
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.brandSprite}#${this.name}` }))));
134
- }
135
- else if (this.type == 'solid') {
136
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.solidSprite}#${this.name}` }))));
137
- }
138
- else if (this.type == 'ptc') {
139
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.ptcSprite}#${this.name}` }))));
140
- }
141
- else {
142
- return (h(Host, null, this.injectedStyle && h("style", null, this.injectedStyle), h("svg", { class: classMap }, h("use", { href: `${this.regularSprite}#${this.name}` }))));
143
- }
144
- }
145
- getCssClassMap() {
146
- return {
147
- [this.size]: true,
148
- [this.spin]: true,
149
- [this.pulse]: true,
150
- [this.color]: true,
151
- ['ismobileselect']: this.isMobileSelect ? true : false
152
- };
153
- }
154
- static get assetsDirs() { return ["media"]; }
155
- };
156
- IconAsset.style = iconAssetCss;
157
-
158
- const jumbotronSubMenuCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.menu{display:block;background-color:transparent;color:black;position:relative}.menu-list{list-style:none;margin:0;padding:10px 0;display:none;flex-direction:column;background-color:white;width:240px;position:absolute;top:40px;left:0;margin-top:var(--ptc-element-spacing-03);box-shadow:var(--ptc-shadow-x-small);border-radius:var(--ptc-border-radius-standard)}.menu-list.open{display:flex}.menu-list li{margin:0}.menu-list button{color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);text-decoration:none;border:none;background:none;cursor:pointer;line-height:var(--ptc-line-height-p);position:relative;text-align:left;width:100%;padding:12px 24px}.menu-list button::after{content:\"\";display:block;width:2px;height:24px;background:var(--color-green-07);transition:transform 0.3s ease;transform:scaleX(0);transform-origin:left;position:absolute;top:25%;left:10px}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleX(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:flex;align-items:center;cursor:pointer;font-size:var(--ptc-font-size-x-small);text-align:left;padding:8px 0px;background-color:var(--color-white);border-bottom:3px solid var(--color-white);justify-content:flex-end;width:fit-content;background-color:transparent}.mobile-menu-text{color:var(--color-white);text-align:center;font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);margin-right:var(--ptc-element-spacing-03)}@media (min-width: 992px){.menu{display:flex;justify-content:center;align-items:center;background-color:transparent;padding:0px;color:white;position:relative;font-family:var(--ptc-font-latin);left:0;top:0px}.menu-list{display:flex;flex-direction:row;justify-content:center;gap:32px;background-color:transparent;width:auto;position:relative;top:auto;right:auto;box-shadow:none;border-radius:0;margin-top:0px;padding-top:0px;padding-bottom:0px}.menu-list button{text-align:center;width:auto;padding:0px;font-size:16px;color:white;font-family:var(--ptc-font-latin)}.menu-list button::after{position:absolute;width:100%;height:2px;transform-origin:bottom;bottom:0;margin-top:24px;background:var(--color-white);left:0;transform:scaleY(0)}.menu-list button:hover::after,.menu-list button:focus::after{transform:scaleY(1);font-weight:var(--ptc-font-weight-bold)}.mobile-menu-icon{display:none}}";
159
-
160
- const JumbotronSubMenu = class {
161
- constructor(hostRef) {
162
- registerInstance(this, hostRef);
163
- this.itemSelected = createEvent(this, "itemSelected", 7);
164
- this.isOpen = false;
165
- this.activeItem = 0;
166
- }
167
- toggleMenu() {
168
- this.isOpen = !this.isOpen;
169
- }
170
- selectItem(index) {
171
- this.activeItem = index;
172
- this.isOpen = false;
173
- this.itemSelected.emit(index); // Emit the custom event
174
- }
175
- // getMenuItemContent(index: number): string {
176
- // const slot = this.el.querySelector(`slot[name="menu-item-${index}"]`) as HTMLSlotElement;
177
- // if (slot) {
178
- // const nodes = slot.assignedNodes({ flatten: true });
179
- // if (nodes.length > 0 && nodes[0].nodeType === Node.ELEMENT_NODE) {
180
- // return (nodes[0] as HTMLElement).innerText || '';
181
- // } else if (nodes.length > 0 && nodes[0].nodeType === Node.TEXT_NODE) {
182
- // return nodes[0].textContent || '';
183
- // }
184
- // }
185
- // return '';
186
- // }
187
- render() {
188
- const upArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 8.5L7.34315 2.71178L1.68629 8.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
189
- const downArrow = (h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "11", viewBox: "0 0 15 11", fill: "none" }, h("path", { d: "M13 2.5L7.34315 8.28822L1.68629 2.5", stroke: "white", "stroke-width": "3", "stroke-linecap": "round" })));
190
- const menuItems = Array.from(this.el.querySelectorAll('[slot^="menu-item"]'));
191
- //console.log("menuItems: " + menuItems[0].textContent)
192
- return (h("nav", { class: "menu" }, h("div", { class: "mobile-menu-icon", onClick: () => this.toggleMenu() }, h("span", { class: "mobile-menu-text" }, menuItems[this.activeItem].textContent), h("span", null, this.isOpen ? upArrow : downArrow)), h("ul", { class: `menu-list ${this.isOpen ? 'open' : ''}` }, menuItems.map((_, index) => (h("li", { key: index }, h("button", { onClick: () => this.selectItem(index) }, h("slot", { name: `menu-item-${index}` }))))))));
193
- }
194
- get el() { return getElement(this); }
195
- };
196
- JumbotronSubMenu.style = jumbotronSubMenuCss;
197
-
198
- const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
199
-
200
- const MaxWidthContainer = class {
201
- constructor(hostRef) {
202
- registerInstance(this, hostRef);
203
- this.maxWidthP = undefined;
204
- this.maxWidth = undefined;
205
- this.breakpoint = 768;
206
- this.contentAlign = 'center';
207
- this.styles = undefined;
208
- }
209
- componentDidLoad() {
210
- this.handleResize();
211
- window.addEventListener('resize', this.handleResize.bind(this));
212
- }
213
- disconnectedCallback() {
214
- window.removeEventListener('resize', this.handleResize);
215
- }
216
- render() {
217
- const classMap = this.getCssClassMap();
218
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("slot", null)));
219
- }
220
- getCssClassMap() {
221
- return {
222
- [this.contentAlign]: true,
223
- };
224
- }
225
- handleResize() {
226
- // const selectedContainer = this.el.querySelector('.max-width-container');
227
- if (this.el) {
228
- if (window.innerWidth >= this.breakpoint) {
229
- if (this.maxWidthP) {
230
- this.el.style.maxWidth = `${this.maxWidthP}%`;
231
- }
232
- else {
233
- this.el.style.maxWidth = `${this.maxWidth}px`;
234
- }
235
- }
236
- else {
237
- this.el.style.maxWidth = 'initial';
238
- }
239
- }
240
- }
241
- get el() { return getElement(this); }
242
- };
243
- MaxWidthContainer.style = maxWidthContainerCss;
244
-
245
- const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background:linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:1.5rem;right:1.5rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:3.75rem;right:2rem}:host .play-button ptc-button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button ptc-button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button ptc-button{padding:0}}";
246
-
247
- const PtcBackgroundVideo = class {
248
- constructor(hostRef) {
249
- registerInstance(this, hostRef);
250
- this.videoSrc = undefined;
251
- this.posterSrc = undefined;
252
- this.overlay = true;
253
- this.overlayType = 'standard';
254
- this.playButtonTitle = undefined;
255
- this.pauseButtonTitle = undefined;
256
- this.buttonLocation = 'bottom-right';
257
- this.paused = undefined;
258
- this.type = 'default';
259
- this.isIframe = false;
260
- }
261
- // componentDidLoad() {
262
- // if(this.isIframe){
263
- // const iframe:HTMLIFrameElement = this.el.shadowRoot.querySelector('iframe');
264
- // const iframeDoc = iframe.contentDocument
265
- // const iframeVideo = iframeDoc.querySelector('video');
266
- // console.log("iframe ele: " + iframeDoc.querySelectorAll('video'));
267
- // iframeVideo.style.objectFit = 'cover';
268
- // }
269
- // }
270
- // @Method()
271
- // async toggleVideo() {
272
- // // show a prompt
273
- // this.paused = !this.paused;
274
- // let video = this.el.shadowRoot.querySelector('video') as HTMLVideoElement;
275
- // if (video) {
276
- // if (this.paused) {
277
- // video.pause();
278
- // } else {
279
- // video.play().catch(z => console.error(z));
280
- // }
281
- // }
282
- // console.log('Hello, I am a publish method from ptc-background-video!');
283
- // }
284
- componentWillLoad() {
285
- this.paused = false;
286
- }
287
- render() {
288
- const videoContent = this.isIframe ? (h("div", { class: "iframe-wrapper" }, h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed" }))) : (h("video", { src: this.videoSrc, poster: this.posterSrc, autoplay: true, loop: true, muted: true, playsinline: true }));
289
- return (h(Host, { class: this.type }, videoContent, !!this.videoSrc && this.playButtonTitle && (h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), styles: "button.icon-toggle { padding :0px 8px; }", "aria-label": "Video Play button" }, h("icon-asset", { name: "play", size: "small", type: "ptc", color: "black" })))), !this.paused && !!this.pauseButtonTitle && (h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important;}" }, h("ptc-button", { type: "button", color: "icon-toggle", onClick: e => this.toggleVideoPlay(e), "aria-label": "Video Pause button" }, h("icon-asset", { name: "pause", size: "small", type: "ptc", color: "black" })))))), this.overlay ? h("div", { class: `video-overlay ${this.overlayType}` }) : '', this.type == 'default' ? h("slot", null) : ''));
290
- }
291
- toggleVideoPlay(e) {
292
- e.preventDefault();
293
- this.paused = !this.paused;
294
- let video = this.el.shadowRoot.querySelector('video');
295
- if (video) {
296
- if (this.paused) {
297
- video.pause();
298
- }
299
- else {
300
- video.play().catch(z => console.error(z));
301
- }
302
- }
303
- }
304
- get el() { return getElement(this); }
305
- };
306
- PtcBackgroundVideo.style = ptcBackgroundVideoCss;
307
-
308
- const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}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.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}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)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.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))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.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,.icon-toggle{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,.icon-toggle.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,.icon-toggle.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]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus,.icon-toggle:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle 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.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.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-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.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}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}";
309
-
310
- const PtcButton = class {
311
- constructor(hostRef) {
312
- registerInstance(this, hostRef);
313
- this.clickEvent = createEvent(this, "clickEvent", 7);
314
- this.disabled = false;
315
- this.active = false;
316
- this.type = 'button';
317
- this.color = 'ptc-primary';
318
- this.iconAnimation = '';
319
- this.iconPosition = 'icon-right';
320
- this.linkHref = undefined;
321
- this.linkTitle = undefined;
322
- this.target = '_self';
323
- this.rel = undefined;
324
- this.tabNav = 0;
325
- this.styles = undefined;
326
- this.textAlign = undefined;
327
- this.size = undefined;
328
- this.buttonTitle = undefined;
329
- this.ariaLabel = '';
330
- this.seoCompatibilityMode = false;
331
- this.maintainContent = false;
332
- }
333
- clickEventHandler() {
334
- this.clickEvent.emit();
335
- }
336
- seoCompRender() {
337
- const classMap = this.getCssClassMap();
338
- const Tag = !!this.linkHref ? 'a' : 'button';
339
- const [TagType, firstChild] = getSeoTagType(this.el, Tag);
340
- const html = firstChild && firstChild.innerHTML;
341
- if (this.el == firstChild) {
342
- this.el.innerHTML = '';
343
- }
344
- if (this.maintainContent) {
345
- this.el.innerHTML = html;
346
- }
347
- return (h(Host, null, this.styles && h("style", null, this.styles), h(TagType, 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), h("span", { innerHTML: html }, h("slot", { name: "slot-before-text" }), h("slot", { name: "slot-after-text" })))));
348
- }
349
- standardRender() {
350
- const classMap = this.getCssClassMap();
351
- const Tag = !!this.linkHref ? 'a' : 'button';
352
- 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 }), { title: this.buttonTitle }, (this.ariaLabel !== '' ? { ariaLabel: this.ariaLabel } : {})), this.iconAnimation == 'reveal-down' ?
353
- h("span", null, h("div", { class: "content" }, h("slot", null)), h("div", { class: "icon-wrapper" }, h("div", { class: "icon" }, h("slot", { name: "slot-after-text" })))) :
354
- h("span", null, h("slot", { name: "slot-before-text" }), h("slot", null), h("slot", { name: "slot-after-text" })))));
355
- }
356
- render() {
357
- if (this.seoCompatibilityMode) {
358
- return this.seoCompRender();
359
- }
360
- else {
361
- return this.standardRender();
362
- }
363
- }
364
- getCssClassMap() {
365
- return {
366
- [this.color]: true,
367
- [this.iconAnimation]: true,
368
- [this.iconPosition]: true,
369
- ['disabled']: this.disabled ? true : false,
370
- ['active']: this.active ? true : false,
371
- [this.textAlign]: true,
372
- [this.size]: true
373
- };
374
- }
375
- get el() { return getElement(this); }
376
- };
377
- PtcButton.style = ptcButtonCss;
378
-
379
- let ResponsiveBgVariables = {
380
- envs: ['xs', 'sm', 'md', 'lg'],
381
- selector: '.ptc-img',
382
- interval: 250
383
- };
384
- let ResponsivePictureVariables = {
385
- envs: ['xs', 'sm', 'md', 'lg'],
386
- selector: '.ptc-picture',
387
- interval: 250
388
- };
389
-
390
- const ptcImgCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.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-standard-top{border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-large-top{border-top-left-radius:var(--ptc-border-radius-large);border-top-right-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}}";
391
-
392
- const PtcImg = class {
393
- constructor(hostRef) {
394
- registerInstance(this, hostRef);
395
- this.sizeXs = '510x340';
396
- this.sizeSm = '1240x496';
397
- this.sizeMd = '1366x500';
398
- this.sizeLg = '1920x1080';
399
- this.imgUrl = undefined;
400
- this.imageType = 'smart-bg';
401
- this.borderRadius = '';
402
- this.loadMode = 'lazy-bg';
403
- this.styles = undefined;
404
- }
405
- /**
406
- * Image Z Index
407
- */
408
- // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
409
- WindowResize() {
410
- this.setResponsiveBg();
411
- }
412
- render() {
413
- const classMap = this.getCssClassMap();
414
- return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
415
- }
416
- componentDidLoad() {
417
- this.addIntersectionObserver();
418
- this.setResponsiveBg();
419
- }
420
- componentWillUpdate() {
421
- this.addIntersectionObserver();
422
- this.setResponsiveBg();
423
- }
424
- //responsive image
425
- setResponsiveBg() {
426
- // Define local variables
427
- let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
428
- // Loop through all target elements
429
- for (var i = 0, len = backgrounds.length; i < len; i++) {
430
- // Set current variables
431
- el = backgrounds[i];
432
- elData = el.getAttribute('data-' + currentBreakpoint);
433
- // If the data attribute exists, set the background
434
- if (elData !== null) {
435
- el.style.backgroundImage = "url('" + elData + "')";
436
- }
437
- else {
438
- if (typeof console == 'object') {
439
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
440
- }
441
- }
442
- }
443
- }
444
- //lazy loading
445
- addIntersectionObserver() {
446
- if (!this.imgUrl) {
447
- console.log('no image!');
448
- return;
449
- }
450
- if ('IntersectionObserver' in window) {
451
- let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
452
- let bgObserver = new IntersectionObserver(entries => {
453
- entries.forEach(entry => {
454
- if (entry.isIntersecting) {
455
- const image = entry.target;
456
- image.classList.remove('lazy-bg');
457
- bgObserver.unobserve(image);
458
- }
459
- });
460
- });
461
- lazyLoadBgs.forEach(image => {
462
- bgObserver.observe(image);
463
- });
464
- }
465
- }
466
- getCssClassMap() {
467
- return {
468
- [this.imageType]: true,
469
- 'ptc-img': true,
470
- [this.borderRadius]: true,
471
- [this.loadMode]: true,
472
- // [this.imageZIndex] : true
473
- };
474
- }
475
- getCurrentBreakPoints() {
476
- // Define local variables
477
- let doc = window.document, temp = doc.createElement('div'), env;
478
- // Append test node
479
- doc.body.appendChild(temp);
480
- // Loop through breakpoints
481
- for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
482
- env = ResponsiveBgVariables.envs[i];
483
- // Add classes
484
- temp.className = 'hidden-' + env;
485
- // Found breakpoint
486
- if (temp.offsetParent === null) {
487
- // Remove our test node
488
- doc.body.removeChild(temp);
489
- // Return current breakpoint
490
- return env;
491
- }
492
- }
493
- // Breakpoint not found, try fallback
494
- doc.body.removeChild(temp);
495
- return this.getFallbackBreakpoint();
496
- }
497
- getFallbackBreakpoint() {
498
- if (window.matchMedia('(min-width: 992px)').matches) {
499
- return 'lg';
500
- }
501
- else if (window.matchMedia('(min-width: 768px)').matches) {
502
- return 'md';
503
- }
504
- else if (window.matchMedia('(min-width: 576px)').matches) {
505
- return 'sm';
506
- }
507
- else {
508
- return 'xs';
509
- }
510
- }
511
- get el() { return getElement(this); }
512
- };
513
- PtcImg.style = ptcImgCss;
514
-
515
- const ptcInfoTileCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}.tile{position:relative;background-color:white;border-radius:8px;overflow:hidden;box-shadow:0 4px 8px rgba(0, 0, 0, 0.1);cursor:pointer;transition:border 0.3s;max-width:360px;height:116px}.tile.image{width:373px;display:flex;flex-wrap:nowrap;flex-direction:row;align-items:center;margin:0 auto}.tile.image .tile-content{border-bottom:2px solid var(--color-white);background:#FFF;height:82px;text-align:left;flex:1}.tile.image:hover .tile-content{border-bottom:2px solid var(--Blue-6, #4795CD);background:#FFF}.tile.image:active .tile-content,.tile.image:focus .tile-content{border-bottom:2px solid var(--Blue-6, #4795CD);background:var(--Gray-1, #F6F6F6)}.tile.text{background-color:var(--color-white);border:1px solid var(--color-gray-03);width:268px}.tile.text:hover{background-color:var(--color-gray-01);border:1px solid var(--color-gray-07)}.tile img{width:120px;height:116px}.tile h3{margin:0;font-size:1.2em}.tile p{margin:0.5em 0 0;color:#666}.tile .link-overlay{position:absolute;top:0;left:0;right:0;bottom:0;width:100%;height:100%;z-index:1}.tile .tile-content{padding:16px}.tile .tile-content h3{color:var(--color-blue-07);font-family:Raleway;font-size:14px;font-weight:500}.tile .tile-content p{color:var(--color-gray-10);font-family:Raleway;font-size:16px;font-weight:700;line-height:24px;}::slotted(img[slot=tile-image]){width:120px !important;height:120px !important}::slotted(h3[slot=tile-title]){color:var(--color-blue-07) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-xx-small) !important;font-weight:var(--ptc-font-weight-medium) !important;text-align:left !important}::slotted(p[slot=tile-description]){color:var(--color-gray-10) !important;font-family:var(--ptc-font-latin) !important;font-size:var(--ptc-font-size-x-small) !important;font-weight:var(--ptc-font-weight-bold) !important;line-height:var(--ptc-line-height-p) !important;text-align:left !important}";
516
-
517
- const PtcInfoTile = class {
518
- constructor(hostRef) {
519
- registerInstance(this, hostRef);
520
- this.tileClick = createEvent(this, "tileClick", 7);
521
- this.link = undefined;
522
- this.variant = undefined;
523
- }
524
- handleClick() {
525
- this.tileClick.emit();
526
- }
527
- render() {
528
- const content = (h("div", { class: "tile-content" }, h("h3", null, h("slot", { name: "tile-title" })), h("p", null, h("slot", { name: "tile-description" }))));
529
- return (h(Host, null, h("div", { class: `tile ${this.variant}`, onClick: () => this.handleClick() }, this.variant === 'image' && h("div", { class: "tile-image" }, h("slot", { name: "tile-image" })), content, this.link && (h("a", { href: this.link, class: "link-overlay" })))));
530
- }
531
- };
532
- PtcInfoTile.style = ptcInfoTileCss;
533
-
534
- const ptcJumbotronCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-margin-xxxl{margin:var(--ptc-element-spacing-07) !important}.u-marginTop-xxxl{margin-top:var(--ptc-element-spacing-07) !important}.u-marginLeft-xxxl{margin-left:var(--ptc-element-spacing-07) !important}.u-marginRight-xxxl{margin-right:var(--ptc-element-spacing-07) !important}.u-marginBottom-xxxl{margin-bottom:var(--ptc-element-spacing-07) !important}.u-margin-4xl{margin:var(--ptc-element-spacing-08) !important}.u-marginTop-4xl{margin-top:var(--ptc-element-spacing-08) !important}.u-marginLeft-4xl{margin-left:var(--ptc-element-spacing-08) !important}.u-marginRight-4xl{margin-right:var(--ptc-element-spacing-08) !important}.u-marginBottom-4xl{margin-bottom:var(--ptc-element-spacing-08) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-medium{font-weight:var(--ptc-font-weight-medium)}.u-text-semibold{font-weight:var(--ptc-font-weight-semibold)}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.u-background-white{background-color:var(--color-white)}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}.u-border-radius-standard{border-radius:var(--ptc-border-radius-standard)}.u-border-radius-large{border-radius:var(--ptc-border-radius-large)}.u-border-radius-pill{border-radius:var(--ptc-border-radius-pill)}.u-border-radius-circle{border-radius:var(--ptc-border-radius-circle)}.u-border-none{border:none}.u-shadow-x-small{box-shadow:var(--ptc-shadow-x-small)}.u-shadow-small{box-shadow:var(--ptc-shadow-small)}.u-shadow-medium{box-shadow:var(--ptc-shadow-medium)}.u-shadow-large{box-shadow:var(--ptc-shadow-large)}.u-shadow-x-large{box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}@media only screen and (min-width: 992px){.grid-order-1-lg{order:1}.grid-order-2-lg{order:2}.grid-order-3-lg{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.h-100{height:100%}.grid-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{column-gap:3rem}}.grid-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{column-gap:3rem}}.grid-x-large-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{column-gap:4rem}}.grid-x-large-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{column-gap:4rem}}.grid-medium-col-gap-md{column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{column-gap:2rem}}.grid-medium-col-gap-sm{column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:3rem;padding-bottom:3rem}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.ptc-section-large{padding-top:2.25rem;padding-bottom:2.25rem}@media only screen and (min-width: 992px){.ptc-section-large{padding-top:3.5rem;padding-bottom:3.5rem}}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.flex-align-items-center{align-items:center}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.u-align-self-start{align-self:start}.u-align-self-center{align-self:center}.u-align-self-stretch{align-self:stretch}.u-justify-self-start{justify-self:start}.u-justify-self-center{justify-self:center}.u-justify-self-stretch{justify-self:stretch}.u-flex-justify-center{justify-content:center}.u-flex-justify-flexend{justify-content:flex-end}.u-section-heading-wrapper{max-width:768px;margin-left:auto;margin-right:auto}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.u-justify-space-between{justify-content:space-between}.all-product-banner{padding:50px 0 44px 0px}@media only screen and (min-width: 992px){.all-product-banner{padding:50px 0 72px 0px;display:flex;min-height:300px;justify-content:center;align-items:center}}.all-product-gradient{background:linear-gradient(180deg, #f3f3f3 2.6%, rgba(225, 241, 226, 0.2) 40.63%, #f3f3f3 82.29%), linear-gradient(0deg, #f3f3f3, #f3f3f3)}.menu-right ptc-nav-submenu{position:relative}.media-thumb-feature{display:block}@media only screen and (min-width: 992px){.media-thumb-feature{display:flex;justify-content:space-between}}.media-thumb-feature .media-thumb{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-thumb{width:340px;flex:0 0 340px}}.media-thumb-feature .media-thumb>ptc-picture:not(:last-of-type),.media-thumb-feature .media-thumb>img:not(:last-of-type){margin-bottom:1.5rem}.media-thumb-feature .media-feature{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-feature{width:auto;flex:1 1 auto}}.partner-card-desc h5.description{font-family:var(--ptc-font-latin);color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-medium);margin:0 0 10px 0}.partner-card-desc .tags{margin-bottom:0.75rem}.partner-card-desc .tags .tag:not(:first-child){border-left:2px solid var(--color-green-07);padding:0 8px}.partner-card-desc .tags .tag:first-child{padding:0 8px 0 0}.partner-card-desc .tags .tag{color:var(--color-gray-10);display:inline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-loose);margin:0 0 10px 0;padding:0 8px}.u-3-col-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:1rem;grid-column-gap:1rem}.u-3-col-grid .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid .u-3-col{width:calc(50% - 10.66666666px)}}@media only screen and (min-width: 992px){.u-3-col-grid .u-3-col{width:calc(33.3333333333% - 10.66666666px)}}.u-3-col-grid.u-col-space-lg{grid-row-gap:2rem;grid-column-gap:2rem}.u-3-col-grid.u-col-space-lg .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(50% - 21.3333333px)}}@media only screen and (min-width: 992px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(33.3333333333% - 21.3333333px)}}.u-display-none{display:none}ptc-preloader-section.min-height{min-height:150vh}@media only screen and (min-width: 1200px){.ms-mobile-select{display:none}}.ms-mobile-select.ms-show{position:fixed}.light-font{color:var(--color-white)}.light-font *{color:var(--color-white)}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a),.background-plm-grey a.light-link{color:var(--color-blue-04)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}:host{display:block}@media only screen and (min-width: 992px){:host(:not(.png-jumbotron):not(.text-jumbotron):not(.gif-jumbotron)) .content-container{padding-top:20px;padding-bottom:16px}}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:relative;z-index:1}.hp-adjustments{background-color:var(--color-black)}@media screen and (min-height: 600px){.hp-adjustments{height:90vh}}.hp-adjustments .div1{grid-area:1/1/3/2;min-height:300px}.hp-adjustments .div1.hidden{display:none}.hp-adjustments .div2{display:flex}.hp-adjustments .bg-overlay{background:linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%) !important}@media only screen and (min-width: 992px){.hp-adjustments .div1{grid-area:1/1/2/2;min-height:unset}}.hp-adjustments .div1,.hp-adjustments .main-content-items{transition:opacity ease-out 250ms;opacity:1}.hp-adjustments.transitioning .div1,.hp-adjustments.transitioning .main-content-items{opacity:0}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#F3F3F3}.gif-bg img{width:100%;height:auto}@media only screen and (min-width: 768px){.gif-bg img{width:auto}}.video-ratio{position:relative;overflow:hidden;height:100%}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.content-layout.hp-container{width:100%}@media only screen and (min-width: 1200px){.content-layout.hp-container{width:1136px}}@media only screen and (min-width: 1440px){.content-layout.hp-container{width:1200px}}.gap-adjustment{gap:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-07)}@media only screen and (min-width: 992px){.gap-adjustment{gap:var(--ptc-element-spacing-07)}}.text-adjustment{justify-content:center}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3;display:none;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.desk-gif-adjustment{display:flex}}.desk-gif-adjustment img{width:100%}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}:host(.text-jumbotron) .parent{min-height:120px;padding:48px 0 24px 0}:host(.text-jumbotron) .parent .text-adjustment{margin-bottom:0;margin-top:20px}:host(.png-jumbotron) .desktop-media-image,:host(.png-jumbotron) .mobile-media-image{position:relative}:host(.png-jumbotron) .desktop-media-image .media-image-wrapper,:host(.png-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;width:100%;display:flex;align-items:center;justify-content:center}:host(.png-jumbotron) ::slotted(ptc-svg-btn){position:absolute;left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}@media only screen and (min-width: 992px){:host(.png-jumbotron) max-width-container{box-sizing:border-box;padding-right:2rem}}.dl-img-wrap{position:relative;width:100%;height:100%}:host(.dark-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.dark-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn){left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}";
535
-
536
- const PtcJumbotron = class {
537
- constructor(hostRef) {
538
- registerInstance(this, hostRef);
539
- this.jumbotronType = 'light';
540
- this.hasPopupVideo = false;
541
- this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
542
- this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
543
- this.pngSrc = undefined;
544
- this.gifSrc = undefined;
545
- this.bgVideoSrc = undefined;
546
- this.bgSrc = undefined;
547
- this.isIframe = false;
548
- this.isHomepage = false;
549
- this.playButtonTitle = undefined;
550
- this.pauseButtonTitle = undefined;
551
- this.buttonLocation = undefined;
552
- this.contentBackground = undefined;
553
- this.contentColor = undefined;
554
- this.textAlign = 'left';
555
- this.isMobile = undefined;
556
- this.isTransitioning = undefined;
557
- this.hasCtaSlot = undefined;
558
- }
559
- componentWillLoad() {
560
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
561
- }
562
- handleResize() {
563
- this.getContentBackground();
564
- //this.adjustJumbotronHeight();
565
- }
566
- connectedCallback() {
567
- this.getContentBackground();
568
- }
569
- componentDidLoad() {
570
- //this.adjustJumbotronHeight();
571
- }
572
- render() {
573
- const classMap = this.getCssClassMap();
574
- let mediaElement;
575
- switch (this.jumbotronType) {
576
- case 'png':
577
- mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? h("slot", { name: "video" }) : null)));
578
- break;
579
- case 'gif':
580
- mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
581
- break;
582
- case 'dark-video':
583
- case 'light-video':
584
- mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation }, ' ', this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
585
- break;
586
- case 'dark':
587
- case 'light':
588
- mediaElement = (h("div", { class: 'dl-img-wrap' }, h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, ' ', h("slot", { name: "video" }))) : null));
589
- break;
590
- default:
591
- mediaElement = h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
592
- }
593
- return (h(Host, { class: classMap }, h("div", { class: { 'parent': true, 'light-links': this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video', 'hp-adjustments': this.isHomepage, 'transitioning': this.isTransitioning } }, h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: { "ptc-container": true, "content-layout": true, 'hp-container': this.isHomepage } }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), h("span", { class: "main-content-items" }, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (!this.isHomepage) && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (h("ptc-para", { "font-size": this.jumbotronType === 'text' && this.isMobile ? 'x-small' : 'small', "font-weight": "w-4", "para-margin": `${this.jumbotronType === 'text' ? 'margin-flush' : 'margin-bottom-6'}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === 'text' ? 'center' : 'left' }, h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` }))), this.hasCtaSlot && (h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, h("slot", { name: "j-cta" }))))), this.hasPopupVideo && this.jumbotronType !== 'png' ? h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc }), this.hasPopupVideo ? h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null)))));
594
- }
595
- getCssClassMap() {
596
- return {
597
- // [this.imageZIndex] : true
598
- 'text-jumbotron': this.jumbotronType === 'text' ? true : false,
599
- 'png-jumbotron': this.jumbotronType === 'png' ? true : false,
600
- 'gif-jumbotron': this.jumbotronType === 'gif' ? true : false,
601
- 'dark-video-jumbotron light-links': this.jumbotronType === 'dark-video' ? true : false,
602
- 'light-video-jumbotron': this.jumbotronType === 'light-video' ? true : false,
603
- 'dark-jumbotron light-links': this.jumbotronType === 'dark' ? true : false,
604
- 'light-jumbotron': this.jumbotronType === 'light' ? true : false,
605
- };
606
- }
607
- getContentBackground() {
608
- if (window.innerWidth < 992) {
609
- switch (this.jumbotronType) {
610
- case 'light':
611
- case 'light-video':
612
- this.contentBackground = 'var(--color-white)';
613
- this.contentColor = 'var(--color-gray-10)';
614
- break;
615
- case 'dark':
616
- case 'dark-video':
617
- this.contentBackground = 'var(--color-gray-09)';
618
- this.contentColor = 'var(--color-gray-01)';
619
- break;
620
- default:
621
- this.contentBackground = 'transparent';
622
- this.contentColor = 'var(--color-gray-10)';
623
- }
624
- this.isMobile = true;
625
- }
626
- else {
627
- switch (this.jumbotronType) {
628
- case 'light':
629
- case 'light-video':
630
- this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
631
- this.contentColor = 'var(--color-gray-10)';
632
- break;
633
- case 'dark':
634
- case 'dark-video':
635
- this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
636
- this.contentColor = 'var(--color-gray-01)';
637
- break;
638
- case 'gif':
639
- this.contentBackground = '#F3F3F3';
640
- this.contentColor = 'var(--color-gray-10)';
641
- break;
642
- default:
643
- this.contentBackground = 'transparent';
644
- this.contentColor = 'var(--color-gray-10)';
645
- }
646
- this.isMobile = false;
647
- }
648
- }
649
- get el() { return getElement(this); }
650
- };
651
- PtcJumbotron.style = ptcJumbotronCss;
652
-
653
- const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}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.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-9{font-weight:var(--ptc-font-weight-black)}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}";
654
-
655
- const PtcPara = class {
656
- constructor(hostRef) {
657
- registerInstance(this, hostRef);
658
- this.fontSize = 'x-small';
659
- this.fontWeight = 'w-4';
660
- this.paraStyle = 'default';
661
- this.paraColor = 'primary-grey';
662
- this.paraLineH = 'line-height-normal';
663
- this.paraMargin = undefined;
664
- this.paraAlign = undefined;
665
- this.ellipsisLineCutoff = undefined;
666
- this.paraZIndex = undefined;
667
- this.styles = undefined;
668
- this.seoCompatibilityMode = false;
669
- }
670
- render() {
671
- if (this.seoCompatibilityMode) {
672
- seoSlotReset(this.el);
673
- }
674
- return this.standardRender();
675
- }
676
- standardRender() {
677
- const classMap = this.getCssClassMap();
678
- const colorClass = this.addWhiteClass();
679
- const cutOff = this.getLineCuttoff();
680
- return (h(Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
681
- }
682
- getCssClassMap() {
683
- return {
684
- [this.fontSize]: true,
685
- [this.fontWeight]: true,
686
- [this.paraStyle]: true,
687
- [this.paraMargin]: !!this.paraMargin ? true : false,
688
- [this.paraColor]: true,
689
- [this.paraLineH]: true,
690
- [this.paraAlign]: !!this.paraAlign ? true : false,
691
- ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
692
- };
693
- }
694
- //WEB-2392
695
- addWhiteClass() {
696
- if (this.paraColor == 'white') {
697
- return {
698
- [this.paraColor]: true,
699
- };
700
- }
701
- }
702
- getLineCuttoff() {
703
- let result;
704
- if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
705
- result = {
706
- ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
707
- };
708
- }
709
- return result;
710
- }
711
- get el() { return getElement(this); }
712
- };
713
- PtcPara.style = ptcParaCss;
714
-
715
- const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{object-fit:cover}.fill{object-fit:fill}.contain{object-fit:contain}.scale-down{object-fit:scale-down}.none{object-fit:none}.initial{object-fit:initial}.inherit{object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
716
-
717
- const PtcPicture = class {
718
- constructor(hostRef) {
719
- registerInstance(this, hostRef);
720
- this.src = undefined;
721
- this.alt = 'image';
722
- this.sizeXs = '510x340';
723
- this.sizeSm = '1240x496';
724
- this.sizeMd = '1366x500';
725
- this.sizeLg = '1920x1080';
726
- this.disableResize = false;
727
- this.oldSrc = undefined;
728
- this.imagePosition = 'static';
729
- this.borderRadius = undefined;
730
- this.height = undefined;
731
- this.width = undefined;
732
- this.objectFit = 'cover';
733
- this.isFullHeight = false;
734
- this.isFullWidth = false;
735
- this.styles = undefined;
736
- this.imageAlignment = 'left';
737
- this.maxWidth = undefined;
738
- this.displayImage = 'block';
739
- }
740
- WindowResize() {
741
- this.addIntersectionObserver();
742
- }
743
- componentWillLoad() {
744
- if (this.disableResize) {
745
- this.sizeXs = undefined;
746
- this.sizeSm = undefined;
747
- this.sizeMd = undefined;
748
- this.sizeLg = undefined;
749
- }
750
- }
751
- componentDidLoad() {
752
- this.addIntersectionObserver();
753
- }
754
- componentWillUpdate() {
755
- if (this.src !== this.oldSrc) {
756
- this.addIntersectionObserver();
757
- }
758
- this.oldSrc = this.src;
759
- }
760
- //lazy-loading
761
- addIntersectionObserver() {
762
- if (!this.src) {
763
- return;
764
- }
765
- if ('IntersectionObserver' in window) {
766
- let lazyLoadImages = new IntersectionObserver(entries => {
767
- entries.forEach(entry => {
768
- if (entry.isIntersecting) {
769
- const image = this.el.shadowRoot.querySelector('img');
770
- image.src = this.setResponsiveBg();
771
- lazyLoadImages.unobserve(image);
772
- }
773
- });
774
- });
775
- let tempImg = this.el.shadowRoot.querySelector('img');
776
- if (tempImg) {
777
- lazyLoadImages.observe(tempImg);
778
- }
779
- }
780
- else {
781
- // fall back to setTimeout for Safari and IE
782
- setTimeout(() => {
783
- const image = this.el.shadowRoot.querySelector('img');
784
- image.src = this.setResponsiveBg();
785
- image.onload = () => {
786
- image.removeAttribute('data-src');
787
- console.log('loaded fallback');
788
- };
789
- }, 5000);
790
- }
791
- }
792
- //responsive image
793
- setResponsiveBg() {
794
- // Define local variables
795
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
796
- for (var i = 0, len = backgrounds.length; i < len; i++) {
797
- // Set current variables
798
- el = backgrounds[i];
799
- elData = el.getAttribute('data-' + currentBreakpoint);
800
- if (elData !== null) {
801
- return elData;
802
- }
803
- else {
804
- if (typeof console == 'object') {
805
- console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
806
- }
807
- }
808
- }
809
- }
810
- render() {
811
- const classMap = this.getCssClassMap();
812
- const classMapHost = this.getCssClassMapHost();
813
- 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.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${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)));
814
- }
815
- getCurrentBreakPoints() {
816
- // Define local variables
817
- let doc = window.document, temp = doc.createElement('div'), env;
818
- // Append test node
819
- doc.body.appendChild(temp);
820
- // Loop through breakpoints
821
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
822
- env = ResponsivePictureVariables.envs[i];
823
- // Add classes
824
- temp.className = 'hidden-' + env;
825
- // Found breakpoint
826
- if (temp.offsetParent === null) {
827
- // Remove our test node
828
- doc.body.removeChild(temp);
829
- // Return current breakpoint
830
- return env;
831
- }
832
- }
833
- // Breakpoint not found, try fallback
834
- doc.body.removeChild(temp);
835
- return this.getFallbackBreakpoint();
836
- }
837
- getFallbackBreakpoint() {
838
- if (window.matchMedia('(min-width: 992px)').matches) {
839
- return 'lg';
840
- }
841
- else if (window.matchMedia('(min-width: 768px)').matches) {
842
- return 'md';
843
- }
844
- else if (window.matchMedia('(min-width: 576px)').matches) {
845
- return 'sm';
846
- }
847
- else {
848
- return 'xs';
849
- }
850
- }
851
- getCssClassMap() {
852
- return {
853
- [this.borderRadius]: this.borderRadius ? true : false,
854
- [this.objectFit]: true,
855
- [this.isFullHeight ? 'is-full-height' : 'is-normal-height']: true,
856
- [this.isFullWidth ? 'is-full-width' : 'is-normal-width']: true,
857
- [this.displayImage]: true
858
- };
859
- }
860
- getCssClassMapHost() {
861
- return {
862
- [this.imagePosition]: true,
863
- [this.imageAlignment]: true,
864
- };
865
- }
866
- get el() { return getElement(this); }
867
- };
868
- PtcPicture.style = ptcPictureCss;
869
-
870
- 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.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
871
-
872
- const PtcSpacer = class {
873
- constructor(hostRef) {
874
- registerInstance(this, hostRef);
875
- this.breakpoint = '';
876
- this.size = 'medium';
877
- this.direction = 'vertical';
878
- }
879
- render() {
880
- const classMap = this.getCssClassMap();
881
- return (h(Host, { class: classMap }));
882
- }
883
- getCssClassMap() {
884
- return {
885
- [this.size]: true,
886
- ['ptc-spacer-horizontal']: this.direction === 'horizontal',
887
- ['ptc-spacer-vertical']: this.direction === 'vertical',
888
- ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
889
- ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
890
- ['ptc-spacer-small']: this.breakpoint === 'small',
891
- ['ptc-spacer-medium']: this.breakpoint === 'medium',
892
- ['ptc-spacer-large']: this.breakpoint === 'large',
893
- ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
894
- ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
895
- ['ptc-spacer-xxx-large']: this.breakpoint === 'xxx-large',
896
- };
897
- }
898
- };
899
- PtcSpacer.style = ptcSpacerCss;
900
-
901
- const ptcTooltipCss = "h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}.tooltip.sc-ptc-tooltip span.sc-ptc-tooltip{word-break:initial}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-hyperlink)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}.no-overflow.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{display:none !important}.no-overflow.sc-ptc-tooltip-h .truncated.sc-ptc-tooltip.sc-ptc-tooltip{cursor:pointer}";
902
-
903
- const PtcTooltip = class {
904
- constructor(hostRef) {
905
- registerInstance(this, hostRef);
906
- this.textDisplay = 'inline';
907
- this.maxLength = 45;
908
- this.textLines = undefined;
909
- this.description = 'This is a tooltip text placeholder';
910
- this.zIndex = 'z-auto';
911
- this.position = 'bottom';
912
- this.styles = undefined;
913
- this.mode = 'text-only';
914
- this.theme = 'standard';
915
- this.width = 'default';
916
- this.hideOnMobile = false;
917
- this.isSmallScreen = undefined;
918
- this.noOverflow = false;
919
- }
920
- addTruncatedClass() {
921
- const appRoot = this.el;
922
- const text = appRoot.querySelectorAll('.ellipsis-by-line-boxing');
923
- text.forEach(t => {
924
- t.classList[t.scrollHeight > t.clientHeight ? 'add' : 'remove']('truncated');
925
- });
926
- }
927
- windowResize() {
928
- this.verifiyScreenSize();
929
- }
930
- verifiyScreenSize() {
931
- this.isSmallScreen = window.innerWidth < 768;
932
- }
933
- // Created this function to initialize the truncate function on specific elements like tabs
934
- enableAddTruncatedClass(element) {
935
- const allTabHeaders = document.querySelectorAll(element);
936
- for (const element of Array.from(allTabHeaders)) {
937
- let tabHeader = element;
938
- if (tabHeader) {
939
- tabHeader.addEventListener('click', () => {
940
- setTimeout(() => {
941
- this.addTruncatedClass();
942
- }, 100);
943
- });
944
- }
945
- }
946
- }
947
- componentWillLoad() {
948
- this.verifiyScreenSize();
949
- }
950
- componentDidLoad() {
951
- //this.addTruncatedClass();
952
- setTimeout(() => {
953
- this.addTruncatedClass();
954
- }, 1000);
955
- this.enableAddTruncatedClass('tab-header');
956
- this.enableAddTruncatedClass('ptc-ellipsis-dropdown');
957
- this.enableAddTruncatedClass('ptc-product-card');
958
- document.addEventListener('readystatechange', () => {
959
- if (document.readyState === 'complete') {
960
- this.addTruncatedClass();
961
- }
962
- });
963
- }
964
- render() {
965
- if (this.mode == 'wrapper') {
966
- return (h(Host, { class: this.textDisplay }, this.styles && h("style", null, this.styles), h("div", { class: "wrapper-content" }, h("div", { class: "slot-content" }, h("slot", null)), h("div", { class: `tooltip ${this.position} ${this.theme}` }, h("slot", { name: "description" }), this.description && h("span", { innerHTML: this.description })))));
967
- }
968
- else {
969
- const classMap = this.getCssClassMap();
970
- const cutOff = this.getLineCuttoff();
971
- let truncatedText = this.description.substring(0, this.maxLength);
972
- if (this.description.length > this.maxLength) {
973
- //const lastSpace = truncatedText.lastIndexOf(' ');
974
- //truncatedText = truncatedText.substring(0, lastSpace);
975
- truncatedText += '... ';
976
- }
977
- return (h(Host, { class: { [this.textDisplay]: true, [this.width]: true, 'no-overflow': this.noOverflow } }, this.styles && h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (h("div", null, this.description)) : (h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (h("div", { class: classMap }, truncatedText)), h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
978
- }
979
- }
980
- getCssClassMap() {
981
- return {
982
- // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
983
- ['text-ellipsis']: true,
984
- [this.zIndex]: this.description.length > this.maxLength ? true : false,
985
- ['truncated']: this.description.length > this.maxLength && !this.textLines ? true : false,
986
- };
987
- }
988
- getLineCuttoff() {
989
- let result;
990
- if (this.textLines && this.textLines > 0) {
991
- result = {
992
- ['-webkit-line-clamp']: `${this.textLines}`,
993
- };
994
- }
995
- return result;
996
- }
997
- get el() { return getElement(this); }
998
- };
999
- PtcTooltip.style = ptcTooltipCss;
1000
-
1001
- export { HomepageJumbotron as homepage_jumbotron, IconAsset as icon_asset, JumbotronSubMenu as jumbotron_sub_menu, MaxWidthContainer as max_width_container, PtcBackgroundVideo as ptc_background_video, PtcButton as ptc_button, PtcImg as ptc_img, PtcInfoTile as ptc_info_tile, PtcJumbotron as ptc_jumbotron, PtcPara as ptc_para, PtcPicture as ptc_picture, PtcSpacer as ptc_spacer, PtcTooltip as ptc_tooltip };