@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
@@ -0,0 +1,61 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ const ptcDateCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block}:host(.small) span{font-size:var(--ptc-font-size-xx-small)}:host(.medium) span{font-size:var(--ptc-font-size-x-small)}:host(.primary-grey){color:var(--color-primary-gray-new)}:host(.white) span{color:var(--color-white)}:host(.date-m-top){margin-top:var(--ptc-element-spacing-01)}";
8
+
9
+ const PtcDate = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.year = 1900;
13
+ this.month = 0;
14
+ this.day = 1;
15
+ this.country = 'en-US';
16
+ this.dateString = undefined;
17
+ this.dateColor = undefined;
18
+ this.dateStyles = undefined;
19
+ this.dataSize = 'small';
20
+ this.formatOptions = undefined;
21
+ }
22
+ render() {
23
+ // const newDate = new Date(this.year, this.month, this.day);
24
+ const classMap = this.getCssClassMap();
25
+ return (index.h(index.Host, { class: classMap }, this.dateStyles && index.h("style", null, this.dateStyles), index.h("span", { part: "part-ptc-date" }, this.getDate().toLocaleDateString(this.country, this.getOptions()))));
26
+ }
27
+ getCssClassMap() {
28
+ return {
29
+ [this.dateColor]: !!this.dateColor ? true : false,
30
+ [this.dataSize]: !!this.dataSize ? true : false,
31
+ };
32
+ }
33
+ getOptions() {
34
+ let result = { year: 'numeric', month: 'short', day: 'numeric' };
35
+ if (this.formatOptions) {
36
+ try {
37
+ var json = JSON.parse(this.formatOptions);
38
+ if (json) {
39
+ result = json;
40
+ }
41
+ }
42
+ catch (e) {
43
+ //debugger
44
+ console.log(e);
45
+ }
46
+ }
47
+ return result;
48
+ }
49
+ getDate() {
50
+ if (this.dateString) {
51
+ let newDate = new Date(this.dateString.replace(/-/g, '/'));
52
+ return newDate;
53
+ }
54
+ else {
55
+ return new Date(this.year, this.month - 1, this.day);
56
+ }
57
+ }
58
+ };
59
+ PtcDate.style = ptcDateCss;
60
+
61
+ exports.ptc_date = PtcDate;
@@ -4,6 +4,68 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-63ddc79c.js');
6
6
 
7
+ const ptcFilterTagCss = "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-filter-tag{display:block;cursor:pointer;position:relative;margin:0.25rem}.ptc-filter-tag.bubble{margin:0 0.25rem;display:inline-block;color:var(--color-gray-12);font-family:Raleway;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:1.125rem;text-align:left;align-items:center;transition:border-color ease-out 250ms;border:1px solid var(--color-gray-05);border-radius:999px;padding:0.375rem 1.875rem 0.375rem 0.875rem;background:var(--color-white)}.ptc-filter-tag.bubble:hover{border:1px solid var(--color-gray-12)}.ptc-filter-tag.bubble .cls{display:block;position:absolute;top:0.35rem;right:0.8rem}.ptc-filter-tag.link,.ptc-filter-tag.link-lg{display:inline-block;font-family:Raleway;color:var(--color-gray-12);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:right;border-bottom:1px solid transparent;background:var(--color-white)}.ptc-filter-tag.link:hover,.ptc-filter-tag.link-lg:hover{text-decoration:underline}.ptc-filter-tag.link .cls,.ptc-filter-tag.link-lg .cls{display:none}.ptc-filter-tag.link-lg{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold)}.ptc-filter-tag.button{display:inline-block;background-color:var(--color-gray-12);border-radius:var(--ptc-border-radius-standard);padding:0.625rem 1rem;font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-denser);color:var(--color-white);transition:border-color ease-out 250ms}.ptc-filter-tag.button:hover{background-color:var(--color-gray-10)}.ptc-filter-tag.button:active{background-color:var(--color-black)}.ptc-filter-tag.button .cls{display:none}.ptc-filter-tag.standard{display:inline-flex;background:var(--color-gray-12);font-family:\"Raleway\";font-style:normal;font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-denser);color:var(--color-green-07);background-color:transparent}.ptc-filter-tag.standard .cls{display:block;margin-left:0.25rem}";
8
+
9
+ const PtcFilterTag = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.clicked = index.createEvent(this, "clicked", 7);
13
+ this.handleClick = () => {
14
+ this.clicked.emit(this);
15
+ };
16
+ this.theme = 'bubble';
17
+ this.iconColorMap = undefined;
18
+ this.styles = undefined;
19
+ }
20
+ componentWillLoad() {
21
+ this.iconColorMap = {
22
+ 'bubble': {
23
+ 'hover': 'black',
24
+ 'standard': 'light-gray'
25
+ },
26
+ 'standard': {
27
+ 'hover': 'ptc-green',
28
+ 'standard': 'black'
29
+ },
30
+ };
31
+ }
32
+ handleMouseEnter() {
33
+ this.updateIconColor('hover');
34
+ }
35
+ handleMouseLeave() {
36
+ this.updateIconColor('standard');
37
+ }
38
+ updateIconColor(state) {
39
+ let icon = this.el.shadowRoot.querySelector('icon-asset');
40
+ if (icon) {
41
+ if (this.iconColorMap[this.theme]) {
42
+ icon.setAttribute('color', this.iconColorMap[this.theme][state]);
43
+ }
44
+ }
45
+ }
46
+ render() {
47
+ const classMap = this.getCssClassMap();
48
+ let icon;
49
+ switch (this.theme) {
50
+ case 'bubble':
51
+ icon = (index.h("icon-asset", { class: "cls", type: "ptc", color: "light-gray", name: "times", size: "micro" }));
52
+ break;
53
+ case 'standard':
54
+ icon = (index.h("icon-asset", { class: "cls", type: "ptc", color: "black", name: "times", size: "xxx-small" }));
55
+ break;
56
+ }
57
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("span", { class: classMap, onClick: () => this.handleClick(), onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, index.h("slot", null), icon)));
58
+ }
59
+ getCssClassMap() {
60
+ return {
61
+ ['ptc-filter-tag']: true,
62
+ [this.theme]: true
63
+ };
64
+ }
65
+ get el() { return index.getElement(this); }
66
+ };
67
+ PtcFilterTag.style = ptcFilterTagCss;
68
+
7
69
  const ptcPagenationCss = "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}.events-filter{padding:20px 32px 20px 0;text-align:center}@media (min-width: 992px){.events-filter{padding:10px 40px 10px 0px}}.events-filter .pagenation-arrow{width:40px;height:40px;margin:0 15px;vertical-align:middle}.standard-filter{font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-semibold);text-align:center}.standard-filter .standard-filter-item{height:2.5rem;width:2.5rem;display:inline-flex;align-items:center;justify-content:center;margin-right:0.5rem;transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium);background-color:transparent;border-radius:var(--ptc-border-radius-standard);color:var(--color-gray-10);text-decoration:none}.standard-filter .standard-filter-item:hover{background-color:var(--color-gray-02);text-decoration:none}.standard-filter .standard-filter-item:focus{text-decoration:none;outline:3px solid var(--color-blue-07);outline-offset:2px}.standard-filter .standard-filter-item:active{background-color:var(--color-gray-05);text-decoration:none}.standard-filter .standard-filter-item.active{background-color:var(--color-gray-12);color:var(--color-white)}.standard-filter .standard-filter-item.active:hover{background-color:var(--color-gray-12);cursor:default}.standard-filter .standard-filter-item[data-url=last]{margin-right:1.25rem}.standard-filter .next-button,.standard-filter .previous-button{font-size:var(--ptc-font-size-x-small);font-weight:normal;display:inline-flex;align-items:center;justify-content:center;width:1.125rem;height:1.125rem;border:1px solid var(--color-gray-10);border-radius:calc(var(--ptc-border-radius-standard) / 2);transition:background-color var(--ptc-ease-out) var(--ptc-transition-medium), fill var(--ptc-ease-out) var(--ptc-transition-medium), border-color var(--ptc-ease-out) var(--ptc-transition-medium)}.standard-filter .next-button:hover,.standard-filter .previous-button:hover{background-color:var(--color-gray-02);text-decoration:none}.standard-filter .next-button:active,.standard-filter .previous-button:active{background-color:var(--color-gray-05);text-decoration:none}.standard-filter .next-button:focus,.standard-filter .previous-button:focus{text-decoration:none;outline:3px solid var(--color-blue-07);outline-offset:2px}.standard-filter .next-button.disabled,.standard-filter .previous-button.disabled{cursor:default;border-color:var(--color-gray-04);color:var(--color-gray-04);fill:var(--color-gray-04)}.standard-filter .next-button.disabled:hover,.standard-filter .next-button.disabled:active,.standard-filter .previous-button.disabled:hover,.standard-filter .previous-button.disabled:active{background-color:transparent}.standard-filter .previous-button{margin-right:1.25rem}.standard-filter .previous-button icon-asset{transform:rotate(90deg);position:relative;right:2px}.standard-filter .next-button icon-asset{transform:rotate(-90deg);position:relative;left:1px}.standard-filter .standard-filter-dots{margin:0.125rem 0.5rem 0.125rem 0.125rem}@media (768px){.standard-filter .standard-filter-dots{margin:0.125rem 0.5rem 0.125rem 0.125rem}}.show-page{display:inline}.hide-page{display:none}.prev-text{display:none}.last-text{display:none}@media (min-width: 992px){.prev-text{display:inline}.last-text{display:inline}}.events-filter-item{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-semibold);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;padding:6px;color:var(--color-gray-10);text-decoration:none}.events-filter .active{font-family:var(--ptc-font-latin);border-bottom:2px solid var(--color-green-13);font-weight:var(--ptc-font-weight-semibold)}.events-filter-item:hover,.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-green-14)}span.events-filter-item:hover,span.events-filter-item:focus{text-decoration:none;outline:0;color:var(--color-gray-10)}span.events-filter-item.disabled{color:var(--color-white-01)}.events-filter .disabled{color:var(--color-white-01)}.events-filter-dots{padding:0rem;font-weight:var(--ptc-font-weight-extrabold);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-xx-small);font-stretch:normal;font-style:var(--ptc-font-style-normal);line-height:var(--ptc-line-height-denser);letter-spacing:var(--ptc-letter-spacing-normal);text-align:left;color:var(--color-gray-10);text-decoration:none}.events-disable-arrows{opacity:0.35}.events-enable-arrows{opacity:1}.events-small-dots{height:60px;margin-top:-25px}@media (min-width: 992px){.events-small-dots{height:80px;margin-top:-40px}}.last-page{transform:rotate(180deg)}";
8
70
 
9
71
  const PtcPagenation = class {
@@ -314,4 +376,5 @@ const PtcPagenation = class {
314
376
  };
315
377
  PtcPagenation.style = ptcPagenationCss;
316
378
 
379
+ exports.ptc_filter_tag = PtcFilterTag;
317
380
  exports.ptc_pagenation = PtcPagenation;
@@ -0,0 +1,133 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const interfaces = require('./interfaces-574e6df7.js');
7
+
8
+ 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}}";
9
+
10
+ const PtcImg = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.sizeXs = '510x340';
14
+ this.sizeSm = '1240x496';
15
+ this.sizeMd = '1366x500';
16
+ this.sizeLg = '1920x1080';
17
+ this.imgUrl = undefined;
18
+ this.imageType = 'smart-bg';
19
+ this.borderRadius = '';
20
+ this.loadMode = 'lazy-bg';
21
+ this.styles = undefined;
22
+ }
23
+ /**
24
+ * Image Z Index
25
+ */
26
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
27
+ WindowResize() {
28
+ this.setResponsiveBg();
29
+ }
30
+ render() {
31
+ const classMap = this.getCssClassMap();
32
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == 'smart-bg' ? index.h("slot", null) : null)));
33
+ }
34
+ componentDidLoad() {
35
+ this.addIntersectionObserver();
36
+ this.setResponsiveBg();
37
+ }
38
+ componentWillUpdate() {
39
+ this.addIntersectionObserver();
40
+ this.setResponsiveBg();
41
+ }
42
+ //responsive image
43
+ setResponsiveBg() {
44
+ // Define local variables
45
+ let backgrounds = (this.el || document).querySelectorAll(interfaces.ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
46
+ // Loop through all target elements
47
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
48
+ // Set current variables
49
+ el = backgrounds[i];
50
+ elData = el.getAttribute('data-' + currentBreakpoint);
51
+ // If the data attribute exists, set the background
52
+ if (elData !== null) {
53
+ el.style.backgroundImage = "url('" + elData + "')";
54
+ }
55
+ else {
56
+ if (typeof console == 'object') {
57
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
58
+ }
59
+ }
60
+ }
61
+ }
62
+ //lazy loading
63
+ addIntersectionObserver() {
64
+ if (!this.imgUrl) {
65
+ console.log('no image!');
66
+ return;
67
+ }
68
+ if ('IntersectionObserver' in window) {
69
+ let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
70
+ let bgObserver = new IntersectionObserver(entries => {
71
+ entries.forEach(entry => {
72
+ if (entry.isIntersecting) {
73
+ const image = entry.target;
74
+ image.classList.remove('lazy-bg');
75
+ bgObserver.unobserve(image);
76
+ }
77
+ });
78
+ });
79
+ lazyLoadBgs.forEach(image => {
80
+ bgObserver.observe(image);
81
+ });
82
+ }
83
+ }
84
+ getCssClassMap() {
85
+ return {
86
+ [this.imageType]: true,
87
+ 'ptc-img': true,
88
+ [this.borderRadius]: true,
89
+ [this.loadMode]: true,
90
+ // [this.imageZIndex] : true
91
+ };
92
+ }
93
+ getCurrentBreakPoints() {
94
+ // Define local variables
95
+ let doc = window.document, temp = doc.createElement('div'), env;
96
+ // Append test node
97
+ doc.body.appendChild(temp);
98
+ // Loop through breakpoints
99
+ for (let i = interfaces.ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
100
+ env = interfaces.ResponsiveBgVariables.envs[i];
101
+ // Add classes
102
+ temp.className = 'hidden-' + env;
103
+ // Found breakpoint
104
+ if (temp.offsetParent === null) {
105
+ // Remove our test node
106
+ doc.body.removeChild(temp);
107
+ // Return current breakpoint
108
+ return env;
109
+ }
110
+ }
111
+ // Breakpoint not found, try fallback
112
+ doc.body.removeChild(temp);
113
+ return this.getFallbackBreakpoint();
114
+ }
115
+ getFallbackBreakpoint() {
116
+ if (window.matchMedia('(min-width: 992px)').matches) {
117
+ return 'lg';
118
+ }
119
+ else if (window.matchMedia('(min-width: 768px)').matches) {
120
+ return 'md';
121
+ }
122
+ else if (window.matchMedia('(min-width: 576px)').matches) {
123
+ return 'sm';
124
+ }
125
+ else {
126
+ return 'xs';
127
+ }
128
+ }
129
+ get el() { return index.getElement(this); }
130
+ };
131
+ PtcImg.style = ptcImgCss;
132
+
133
+ exports.ptc_img = PtcImg;
@@ -0,0 +1,26 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ 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;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;box-shadow:0 4px 8px rgba(0, 0, 0, 0.1)}.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{border:1px solid var(--color-gray-07)}.tile.text:focus,.tile.text:active{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;margin:0px !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}";
8
+
9
+ const PtcInfoTile = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.tileClick = index.createEvent(this, "tileClick", 7);
13
+ this.link = undefined;
14
+ this.variant = undefined;
15
+ }
16
+ handleClick() {
17
+ this.tileClick.emit();
18
+ }
19
+ render() {
20
+ const content = (index.h("div", { class: "tile-content" }, index.h("h3", null, index.h("slot", { name: "tile-title" })), index.h("p", null, index.h("slot", { name: "tile-description" }))));
21
+ return (index.h(index.Host, null, index.h("div", { class: `tile ${this.variant}`, onClick: () => this.handleClick() }, this.variant === 'image' && index.h("div", { class: "tile-image" }, index.h("slot", { name: "tile-image" })), content, this.link && (index.h("a", { href: this.link, class: "link-overlay" })))));
22
+ }
23
+ };
24
+ PtcInfoTile.style = ptcInfoTileCss;
25
+
26
+ exports.ptc_info_tile = PtcInfoTile;
@@ -0,0 +1,127 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+
7
+ 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}";
8
+
9
+ const PtcJumbotron = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.jumbotronType = 'light';
13
+ this.hasPopupVideo = false;
14
+ this.mainTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur';
15
+ this.subTitle = 'Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet';
16
+ this.pngSrc = undefined;
17
+ this.gifSrc = undefined;
18
+ this.bgVideoSrc = undefined;
19
+ this.bgSrc = undefined;
20
+ this.isIframe = false;
21
+ this.isHomepage = false;
22
+ this.playButtonTitle = undefined;
23
+ this.pauseButtonTitle = undefined;
24
+ this.buttonLocation = undefined;
25
+ this.contentBackground = undefined;
26
+ this.contentColor = undefined;
27
+ this.textAlign = 'left';
28
+ this.isMobile = undefined;
29
+ this.isTransitioning = undefined;
30
+ this.styles = undefined;
31
+ this.hasCtaSlot = undefined;
32
+ }
33
+ componentWillLoad() {
34
+ this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
35
+ }
36
+ handleResize() {
37
+ this.getContentBackground();
38
+ //this.adjustJumbotronHeight();
39
+ }
40
+ connectedCallback() {
41
+ this.getContentBackground();
42
+ }
43
+ componentDidLoad() {
44
+ //this.adjustJumbotronHeight();
45
+ }
46
+ render() {
47
+ const classMap = this.getCssClassMap();
48
+ let mediaElement;
49
+ switch (this.jumbotronType) {
50
+ case 'png':
51
+ mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? index.h("slot", { name: "video" }) : null)));
52
+ break;
53
+ case 'gif':
54
+ mediaElement = (index.h("div", { class: "mobile-media-image gif-bg" }, index.h("img", { src: this.gifSrc })));
55
+ break;
56
+ case 'dark-video':
57
+ case 'light-video':
58
+ mediaElement = (index.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 ? (index.h("div", { class: "mobile-modal-play-btn" }, ' ', index.h("slot", { name: "video" }))) : null));
59
+ break;
60
+ case 'dark':
61
+ case 'light':
62
+ mediaElement = (index.h("div", { class: 'dl-img-wrap' }, index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (index.h("div", { class: "mobile-modal-play-btn" }, ' ', index.h("slot", { name: "video" }))) : null));
63
+ break;
64
+ default:
65
+ mediaElement = index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" });
66
+ }
67
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("div", { class: { 'parent': true, 'light-links': this.jumbotronType === 'dark' || this.jumbotronType === 'dark-video', 'hp-adjustments': this.isHomepage, 'transitioning': this.isTransitioning } }, index.h("div", { class: `div1 image-container ${this.jumbotronType === 'text' ? 'hidden' : ''}` }, mediaElement), index.h("div", { class: "div2 content-container" }, index.h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), index.h("div", { class: { "ptc-container": true, "content-layout": true, 'hp-container': this.isHomepage } }, index.h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === 'text' ? 'center' : this.textAlign, styles: ":host{z-index: 999}" }, index.h("slot", { name: "breadcrumb" }), index.h("span", { class: "main-content-items" }, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("slot", { name: "main-title" }), index.h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== 'text' || (this.jumbotronType === 'text' && this.subTitle)) && (!this.isHomepage) && (index.h("div", null, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (index.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' }, index.h("ptc-tooltip", { "text-lines": "8", description: this.subTitle, position: "right", styles: `.ellipsis-by-line-boxing{color: ${this.contentColor};}` }))), this.hasCtaSlot && (index.h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === 'text' ? ' text-adjustment' : ''}` }, index.h("slot", { name: "j-cta" }))))), this.hasPopupVideo && this.jumbotronType !== 'png' ? index.h("slot", { name: "video" }) : null, this.jumbotronType === 'png' ? (index.h("div", { class: "desktop-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc }), this.hasPopupVideo ? index.h("slot", { name: "video" }) : null))) : null, this.jumbotronType === 'gif' ? (index.h("div", { class: "desktop-media-image desk-gif-adjustment" }, index.h("img", { src: this.gifSrc }))) : null)))));
68
+ }
69
+ getCssClassMap() {
70
+ return {
71
+ // [this.imageZIndex] : true
72
+ 'text-jumbotron': this.jumbotronType === 'text' ? true : false,
73
+ 'png-jumbotron': this.jumbotronType === 'png' ? true : false,
74
+ 'gif-jumbotron': this.jumbotronType === 'gif' ? true : false,
75
+ 'dark-video-jumbotron light-links': this.jumbotronType === 'dark-video' ? true : false,
76
+ 'light-video-jumbotron': this.jumbotronType === 'light-video' ? true : false,
77
+ 'dark-jumbotron light-links': this.jumbotronType === 'dark' ? true : false,
78
+ 'light-jumbotron': this.jumbotronType === 'light' ? true : false,
79
+ };
80
+ }
81
+ getContentBackground() {
82
+ if (window.innerWidth < 992) {
83
+ switch (this.jumbotronType) {
84
+ case 'light':
85
+ case 'light-video':
86
+ this.contentBackground = 'var(--color-white)';
87
+ this.contentColor = 'var(--color-gray-10)';
88
+ break;
89
+ case 'dark':
90
+ case 'dark-video':
91
+ this.contentBackground = 'var(--color-gray-09)';
92
+ this.contentColor = 'var(--color-gray-01)';
93
+ break;
94
+ default:
95
+ this.contentBackground = 'transparent';
96
+ this.contentColor = 'var(--color-gray-10)';
97
+ }
98
+ this.isMobile = true;
99
+ }
100
+ else {
101
+ switch (this.jumbotronType) {
102
+ case 'light':
103
+ case 'light-video':
104
+ this.contentBackground = 'linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)';
105
+ this.contentColor = 'var(--color-gray-10)';
106
+ break;
107
+ case 'dark':
108
+ case 'dark-video':
109
+ this.contentBackground = 'linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)';
110
+ this.contentColor = 'var(--color-gray-01)';
111
+ break;
112
+ case 'gif':
113
+ this.contentBackground = '#F3F3F3';
114
+ this.contentColor = 'var(--color-gray-10)';
115
+ break;
116
+ default:
117
+ this.contentBackground = 'transparent';
118
+ this.contentColor = 'var(--color-gray-10)';
119
+ }
120
+ this.isMobile = false;
121
+ }
122
+ }
123
+ get el() { return index.getElement(this); }
124
+ };
125
+ PtcJumbotron.style = ptcJumbotronCss;
126
+
127
+ exports.ptc_jumbotron = PtcJumbotron;
@@ -0,0 +1,70 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const utils = require('./utils-fe61106d.js');
7
+
8
+ 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}";
9
+
10
+ const PtcPara = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.fontSize = 'x-small';
14
+ this.fontWeight = 'w-4';
15
+ this.paraStyle = 'default';
16
+ this.paraColor = 'primary-grey';
17
+ this.paraLineH = 'line-height-normal';
18
+ this.paraMargin = undefined;
19
+ this.paraAlign = undefined;
20
+ this.ellipsisLineCutoff = undefined;
21
+ this.paraZIndex = undefined;
22
+ this.styles = undefined;
23
+ this.seoCompatibilityMode = false;
24
+ }
25
+ render() {
26
+ if (this.seoCompatibilityMode) {
27
+ utils.seoSlotReset(this.el);
28
+ }
29
+ return this.standardRender();
30
+ }
31
+ standardRender() {
32
+ const classMap = this.getCssClassMap();
33
+ const colorClass = this.addWhiteClass();
34
+ const cutOff = this.getLineCuttoff();
35
+ return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex}` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
36
+ }
37
+ getCssClassMap() {
38
+ return {
39
+ [this.fontSize]: true,
40
+ [this.fontWeight]: true,
41
+ [this.paraStyle]: true,
42
+ [this.paraMargin]: !!this.paraMargin ? true : false,
43
+ [this.paraColor]: true,
44
+ [this.paraLineH]: true,
45
+ [this.paraAlign]: !!this.paraAlign ? true : false,
46
+ ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
47
+ };
48
+ }
49
+ //WEB-2392
50
+ addWhiteClass() {
51
+ if (this.paraColor == 'white') {
52
+ return {
53
+ [this.paraColor]: true,
54
+ };
55
+ }
56
+ }
57
+ getLineCuttoff() {
58
+ let result;
59
+ if (this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0) {
60
+ result = {
61
+ ['-webkit-line-clamp']: `${this.ellipsisLineCutoff}`,
62
+ };
63
+ }
64
+ return result;
65
+ }
66
+ get el() { return index.getElement(this); }
67
+ };
68
+ PtcPara.style = ptcParaCss;
69
+
70
+ exports.ptc_para = PtcPara;