@ptcwebops/ptcw-design 0.2.8 → 0.2.9

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 (142) hide show
  1. package/dist/cjs/icon-asset_16.cjs.entry.js +812 -0
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{ptc-announcement_2.cjs.entry.js → ptc-announcement.cjs.entry.js} +0 -25
  4. package/dist/cjs/ptc-list.cjs.entry.js +2 -3
  5. package/dist/cjs/ptc-svg-btn.cjs.entry.js +31 -0
  6. package/dist/cjs/ptcw-design.cjs.js +1 -1
  7. package/dist/collection/collection-manifest.json +5 -0
  8. package/dist/collection/components/icon-asset/media/designer.svg +33 -0
  9. package/dist/collection/components/list-item/list-item.css +39 -1
  10. package/dist/collection/components/list-item/list-item.js +26 -5
  11. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.css +19 -0
  12. package/dist/collection/components/ptc-breadcrumb/ptc-breadcrumb.js +21 -0
  13. package/dist/collection/components/ptc-button/ptc-button.css +12 -1
  14. package/dist/collection/components/ptc-button/ptc-button.js +29 -7
  15. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.css +12 -0
  16. package/dist/collection/components/ptc-card-bottom/ptc-card-bottom.js +41 -0
  17. package/dist/collection/components/ptc-card-content/ptc-card-content.css +61 -0
  18. package/dist/collection/components/ptc-card-content/ptc-card-content.js +81 -0
  19. package/dist/collection/components/ptc-card-plm/ptc-card-plm.css +19 -0
  20. package/dist/collection/components/ptc-card-plm/ptc-card-plm.js +97 -0
  21. package/dist/collection/components/ptc-hero/ptc-hero.css +13 -0
  22. package/dist/collection/components/ptc-hero/ptc-hero.js +43 -0
  23. package/dist/collection/components/ptc-img/ptc-img.js +6 -1
  24. package/dist/collection/components/ptc-link/ptc-link.css +25 -3
  25. package/dist/collection/components/ptc-link/ptc-link.js +3 -2
  26. package/dist/collection/components/ptc-list/ptc-list.css +8 -4
  27. package/dist/collection/components/ptc-list/ptc-list.js +5 -8
  28. package/dist/collection/components/ptc-overlay/ptc-overlay.css +81 -0
  29. package/dist/collection/components/ptc-overlay/ptc-overlay.js +88 -3
  30. package/dist/collection/components/ptc-para/ptc-para.css +59 -0
  31. package/dist/collection/components/ptc-para/ptc-para.js +53 -7
  32. package/dist/collection/components/ptc-picture/ptc-picture.css +28 -1
  33. package/dist/collection/components/ptc-picture/ptc-picture.js +27 -9
  34. package/dist/collection/components/ptc-spacer/ptc-spacer.css +11 -0
  35. package/dist/collection/components/ptc-spacer/ptc-spacer.js +2 -2
  36. package/dist/collection/components/ptc-span/ptc-span.css +26 -1
  37. package/dist/collection/components/ptc-span/ptc-span.js +6 -3
  38. package/dist/collection/components/ptc-title/ptc-title.css +108 -11
  39. package/dist/collection/components/ptc-title/ptc-title.js +62 -4
  40. package/dist/custom-elements/index.d.ts +30 -0
  41. package/dist/custom-elements/index.js +199 -35
  42. package/dist/esm/icon-asset_16.entry.js +793 -0
  43. package/dist/esm/{index-eb8ce23d.js → index-6ce5b664.js} +1 -1
  44. package/dist/esm/loader.js +2 -2
  45. package/dist/esm/lottie-player.entry.js +1 -1
  46. package/dist/esm/my-component.entry.js +1 -1
  47. package/dist/esm/{ptc-announcement_2.entry.js → ptc-announcement.entry.js} +2 -26
  48. package/dist/esm/ptc-avatar.entry.js +1 -1
  49. package/dist/esm/ptc-card.entry.js +1 -1
  50. package/dist/esm/ptc-countdown.entry.js +1 -1
  51. package/dist/esm/ptc-date.entry.js +1 -1
  52. package/dist/esm/ptc-footer.entry.js +1 -1
  53. package/dist/esm/ptc-form.entry.js +1 -1
  54. package/dist/esm/ptc-input.entry.js +1 -1
  55. package/dist/esm/ptc-list.entry.js +3 -4
  56. package/dist/esm/ptc-lottie.entry.js +1 -1
  57. package/dist/esm/ptc-nav-item.entry.js +1 -1
  58. package/dist/esm/ptc-nav.entry.js +1 -1
  59. package/dist/esm/ptc-select.entry.js +1 -1
  60. package/dist/esm/ptc-svg-btn.entry.js +27 -0
  61. package/dist/esm/ptcw-design.js +2 -2
  62. package/dist/ptcw-design/media/designer.svg +33 -0
  63. package/dist/ptcw-design/{p-63b55aba.entry.js → p-281824f5.entry.js} +1 -1
  64. package/dist/ptcw-design/p-31b2af1d.entry.js +1 -0
  65. package/dist/ptcw-design/{p-f94c4594.entry.js → p-3437fbce.entry.js} +1 -1
  66. package/dist/ptcw-design/{p-e8650244.entry.js → p-542939d4.entry.js} +1 -1
  67. package/dist/ptcw-design/{p-ef6acb81.entry.js → p-5c78913c.entry.js} +1 -1
  68. package/dist/ptcw-design/{p-3f42afb6.entry.js → p-5eb74dc3.entry.js} +1 -1
  69. package/dist/ptcw-design/p-609dec21.entry.js +1 -0
  70. package/dist/ptcw-design/{p-1b3b0193.entry.js → p-6ff80c95.entry.js} +1 -1
  71. package/dist/ptcw-design/p-8bbb4277.entry.js +1 -0
  72. package/dist/ptcw-design/p-9a35c9e2.entry.js +1 -0
  73. package/dist/ptcw-design/{p-22fd400f.entry.js → p-aafe51df.entry.js} +1 -1
  74. package/dist/ptcw-design/{p-75dc7328.entry.js → p-ac57feca.entry.js} +1 -1
  75. package/dist/ptcw-design/{p-2ca3c085.js → p-b1afaef3.js} +1 -1
  76. package/dist/ptcw-design/p-b85eda19.entry.js +1 -0
  77. package/dist/ptcw-design/p-bac826ad.entry.js +1 -0
  78. package/dist/ptcw-design/{p-e4b96b46.entry.js → p-da7ee0ba.entry.js} +1 -1
  79. package/dist/ptcw-design/{p-32ef3a79.entry.js → p-e2492128.entry.js} +1 -1
  80. package/dist/ptcw-design/p-e266fc0b.entry.js +1 -0
  81. package/dist/ptcw-design/ptcw-design.css +2 -2
  82. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  83. package/dist/types/components/list-item/list-item.d.ts +2 -1
  84. package/dist/types/components/ptc-breadcrumb/ptc-breadcrumb.d.ts +4 -0
  85. package/dist/types/components/ptc-button/ptc-button.d.ts +7 -3
  86. package/dist/types/components/ptc-card-bottom/ptc-card-bottom.d.ts +5 -0
  87. package/dist/types/components/ptc-card-content/ptc-card-content.d.ts +11 -0
  88. package/dist/types/components/ptc-card-plm/ptc-card-plm.d.ts +8 -0
  89. package/dist/types/components/ptc-hero/ptc-hero.d.ts +5 -0
  90. package/dist/types/components/ptc-img/ptc-img.d.ts +3 -0
  91. package/dist/types/components/ptc-link/ptc-link.d.ts +1 -1
  92. package/dist/types/components/ptc-list/ptc-list.d.ts +1 -1
  93. package/dist/types/components/ptc-overlay/ptc-overlay.d.ts +17 -0
  94. package/dist/types/components/ptc-para/ptc-para.d.ts +11 -3
  95. package/dist/types/components/ptc-picture/ptc-picture.d.ts +5 -1
  96. package/dist/types/components/ptc-spacer/ptc-spacer.d.ts +1 -1
  97. package/dist/types/components/ptc-span/ptc-span.d.ts +4 -1
  98. package/dist/types/components/ptc-title/ptc-title.d.ts +14 -2
  99. package/dist/types/components.d.ts +229 -28
  100. package/package.json +1 -1
  101. package/readme.md +1 -1
  102. package/dist/cjs/icon-asset.cjs.entry.js +0 -64
  103. package/dist/cjs/interfaces-0ecd8027.js +0 -15
  104. package/dist/cjs/list-item.cjs.entry.js +0 -27
  105. package/dist/cjs/ptc-button.cjs.entry.js +0 -72
  106. package/dist/cjs/ptc-img.cjs.entry.js +0 -155
  107. package/dist/cjs/ptc-link.cjs.entry.js +0 -53
  108. package/dist/cjs/ptc-overlay.cjs.entry.js +0 -19
  109. package/dist/cjs/ptc-para.cjs.entry.js +0 -40
  110. package/dist/cjs/ptc-picture.cjs.entry.js +0 -159
  111. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -46
  112. package/dist/cjs/ptc-span.cjs.entry.js +0 -31
  113. package/dist/cjs/ptc-title.cjs.entry.js +0 -49
  114. package/dist/esm/icon-asset.entry.js +0 -60
  115. package/dist/esm/interfaces-3cb94654.js +0 -12
  116. package/dist/esm/list-item.entry.js +0 -23
  117. package/dist/esm/ptc-button.entry.js +0 -68
  118. package/dist/esm/ptc-img.entry.js +0 -151
  119. package/dist/esm/ptc-link.entry.js +0 -49
  120. package/dist/esm/ptc-overlay.entry.js +0 -15
  121. package/dist/esm/ptc-para.entry.js +0 -36
  122. package/dist/esm/ptc-picture.entry.js +0 -155
  123. package/dist/esm/ptc-spacer.entry.js +0 -42
  124. package/dist/esm/ptc-span.entry.js +0 -27
  125. package/dist/esm/ptc-title.entry.js +0 -45
  126. package/dist/ptcw-design/p-01f4bf71.entry.js +0 -1
  127. package/dist/ptcw-design/p-08827128.entry.js +0 -1
  128. package/dist/ptcw-design/p-1bf9750d.entry.js +0 -1
  129. package/dist/ptcw-design/p-23d07898.entry.js +0 -1
  130. package/dist/ptcw-design/p-240733ce.js +0 -1
  131. package/dist/ptcw-design/p-29c54eb0.entry.js +0 -1
  132. package/dist/ptcw-design/p-2b59ce7a.entry.js +0 -1
  133. package/dist/ptcw-design/p-389a5670.entry.js +0 -1
  134. package/dist/ptcw-design/p-51443fbb.entry.js +0 -1
  135. package/dist/ptcw-design/p-54794e45.entry.js +0 -1
  136. package/dist/ptcw-design/p-5ae43421.entry.js +0 -1
  137. package/dist/ptcw-design/p-6b5c0d9d.entry.js +0 -1
  138. package/dist/ptcw-design/p-7076b32f.entry.js +0 -1
  139. package/dist/ptcw-design/p-a86452af.entry.js +0 -1
  140. package/dist/ptcw-design/p-d3f9852f.entry.js +0 -1
  141. package/dist/ptcw-design/p-d80b24c9.entry.js +0 -1
  142. package/dist/ptcw-design/p-fd29d9dd.entry.js +0 -1
@@ -0,0 +1,812 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-0b899fc6.js');
6
+
7
+ const iconAssetCss = "/*!\n * Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n */.svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg{vertical-align:-.225em}.svg-inline--fa.fa-w-1{width:.0625em}.svg-inline--fa.fa-w-2{width:.125em}.svg-inline--fa.fa-w-3{width:.1875em}.svg-inline--fa.fa-w-4{width:.25em}.svg-inline--fa.fa-w-5{width:.3125em}.svg-inline--fa.fa-w-6{width:.375em}.svg-inline--fa.fa-w-7{width:.4375em}.svg-inline--fa.fa-w-8{width:.5em}.svg-inline--fa.fa-w-9{width:.5625em}.svg-inline--fa.fa-w-10{width:.625em}.svg-inline--fa.fa-w-11{width:.6875em}.svg-inline--fa.fa-w-12{width:.75em}.svg-inline--fa.fa-w-13{width:.8125em}.svg-inline--fa.fa-w-14{width:.875em}.svg-inline--fa.fa-w-15{width:.9375em}.svg-inline--fa.fa-w-16{width:1em}.svg-inline--fa.fa-w-17{width:1.0625em}.svg-inline--fa.fa-w-18{width:1.125em}.svg-inline--fa.fa-w-19{width:1.1875em}.svg-inline--fa.fa-w-20{width:1.25em}.svg-inline--fa.fa-pull-left{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right{margin-left:.3em;width:auto}.svg-inline--fa.fa-border{height:1.5em}.svg-inline--fa.fa-li{width:2em}.svg-inline--fa.fa-fw{width:1.25em}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers-text{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{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{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{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{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs{font-size:.75em}.fa-sm{font-size:.875em}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul>li{position:relative}.fa-li{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left{float:left}.fa-pull-right{float:right}.fa.fa-pull-left,.fab.fa-pull-left,.fal.fa-pull-left,.far.fa-pull-left,.fas.fa-pull-left{margin-right:.3em}.fa.fa-pull-right,.fab.fa-pull-right,.fal.fa-pull-right,.far.fa-pull-right,.fas.fa-pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse{-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{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical,.fa-flip-vertical{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}:root .fa-flip-both,:root .fa-flip-horizontal,:root .fa-flip-vertical,:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270{-webkit-filter:none;filter:none}.fa-stack{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:#fff}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable:active,.sr-only-focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fad.fa-inverse{color:#fff}icon-asset{vertical-align:middle}svg.x-small{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.large{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.xx-large{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.white{fill:var(--color-white)}svg.black{fill:var(--color-black)}svg.ptc-green{fill:var(--color-primary-green)}svg.inherit{fill:inherit}";
8
+
9
+ let IconAsset = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ /**
13
+ * Icon Size
14
+ */
15
+ this.size = 'small';
16
+ /**
17
+ * Icon Type
18
+ */
19
+ this.type = 'regular';
20
+ /**
21
+ * Icon Spin Animation (not valid for ptc type)
22
+ */
23
+ this.spin = '';
24
+ /**
25
+ * Icon Pulse Animation (not valid for ptc type)
26
+ */
27
+ this.pulse = '';
28
+ /**
29
+ * Icon Color
30
+ */
31
+ this.color = 'default';
32
+ this.regularSprite = index.getAssetPath('./media/regular.svg');
33
+ this.solidSprite = index.getAssetPath('./media/solid.svg');
34
+ this.brandSprite = index.getAssetPath('./media/brands.svg');
35
+ this.ptcSprite = index.getAssetPath('./media/designer.svg');
36
+ }
37
+ render() {
38
+ const classMap = this.getCssClassMap();
39
+ if (this.type == 'brands') {
40
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.brandSprite}#${this.name}` }))));
41
+ }
42
+ else if (this.type == 'solid') {
43
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.solidSprite}#${this.name}` }))));
44
+ }
45
+ else if (this.type == 'ptc') {
46
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
+ }
48
+ else {
49
+ return (index.h(index.Host, null, index.h("svg", { class: classMap }, index.h("use", { href: `${this.regularSprite}#${this.name}` }))));
50
+ }
51
+ }
52
+ getCssClassMap() {
53
+ return {
54
+ [this.size]: true,
55
+ [this.spin]: true,
56
+ [this.pulse]: true,
57
+ [this.color]: true,
58
+ };
59
+ }
60
+ static get assetsDirs() { return ["media"]; }
61
+ };
62
+ IconAsset.style = iconAssetCss;
63
+
64
+ const listItemCss = ":host(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:white;font-weight:700;font-size:12px;line-height:14px}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0}:host(.breadcrumb) li a.item-link{color:white;font-weight:var(-ptc-font-weight-bold) !important;font-size:var(-ptc-font-size-x-small) !important;line-height:14px;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:#3DAB49;outline:none}";
65
+
66
+ let ListItem = class {
67
+ constructor(hostRef) {
68
+ index.registerInstance(this, hostRef);
69
+ this.listType = 'list-primary';
70
+ this.linkHref = undefined;
71
+ this.flushBefore = false;
72
+ }
73
+ render() {
74
+ const classMap = this.getCssClassMap();
75
+ return (index.h(index.Host, { class: classMap }, index.h("li", null, this.linkHref ? (index.h("a", Object.assign({ class: "item-link" }, (this.linkHref ? { href: this.linkHref } : {})), index.h("slot", null))) : (index.h("slot", null)))));
76
+ }
77
+ getCssClassMap() {
78
+ return {
79
+ [this.listType]: true,
80
+ ['flush-before']: this.flushBefore ? true : false
81
+ };
82
+ }
83
+ };
84
+ ListItem.style = listItemCss;
85
+
86
+ const ptcBreadcrumbCss = ":host{display:block;margin-top:21px}::slotted(*){transform:translate(-3px, 0px)}@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm){::slotted(*){transform:translate(-3px, 4px)}}@-moz-document url-prefix(){::slotted(*){transform:translate(-3px, 0px)}}";
87
+
88
+ let PtcBreadcrumb = class {
89
+ constructor(hostRef) {
90
+ index.registerInstance(this, hostRef);
91
+ }
92
+ render() {
93
+ const classMap = this.getCssClassMap();
94
+ return (index.h(index.Host, { class: classMap }, index.h("list-item", { listType: 'breadcrumb', flushBefore: true, "link-href": "https://www.ptc.com" }, index.h("icon-asset", { type: "ptc", size: "large", name: "icon-home", color: "white" })), index.h("slot", null)));
95
+ }
96
+ getCssClassMap() {
97
+ return {};
98
+ }
99
+ };
100
+ PtcBreadcrumb.style = ptcBreadcrumbCss;
101
+
102
+ const ptcButtonCss = "button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-primary-uigrey);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:3px}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-standard-ease);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:0.86}.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-primary-uigrey);background-image:linear-gradient(285deg, var(--color-primary-uigrey) 155%, #6e717c 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 #5bb73b;background-image:linear-gradient(285deg, #5bb73b 155%, #178642 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-primary-uigrey);background-image:linear-gradient(to right, #ffffff, #d3d3d3, #e5e5e5)}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-primary-uigrey)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:4px;margin-top:4px;box-shadow:0 0 25.8px 3.2px rgba(0, 0, 0, 0.5);border:solid 2.5px var(--color-secondary-tutlegreen-dark);background-image:linear-gradient(to right, var(--color-secondary-turtlegreen), var(--color-secondary-tutlegreen-dark))}.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-secondary-tutlegreen-dark), var(--color-secondary-turtlegreen));opacity:0;transition:opacity 0.6s cubic-bezier(0, 0, 0.23, 1);border-radius:2px}.legacy-green:hover{box-shadow:0 0 49px 6.1px rgba(0, 0, 0, 0.55)}.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-medium)}@media screen and (min-width: 768px){.legacy-green span{font-size:19px;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:3px;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 ease-out 0.25s;position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}.nav{font-family:var(--ptc-font-latin);background-color:#323b42;border-radius:var(--ptc-border-radius-medium);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:13px;font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:26px;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-decelerated-ease)}.nav:focus{outline:3px solid #0092d1;outline-offset:2px}.nav:hover{background-color:#20262a}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary{padding:var(--ptc-font-size-small) var(--ptc-font-size-large);transition:background-color var(--ptc-standard-ease) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled{pointer-events:none;border-color:#a8aaaf;background:#e1e2e4}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span{color:#a8aaaf}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]){fill:#a8aaaf !important}.ptc-primary:focus,.ptc-quaternary:focus,.ptc-secondary:focus,.ptc-tertiary:focus{outline:3px solid #0092d1;outline-offset:2px}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:17px;line-height:20px;letter-spacing:normal}.ptc-primary{background:#1f2024;border:2px solid #5bb73a;border-radius:var(--ptc-border-radius-medium)}.ptc-primary:hover{background-color:#33353a}.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:#1f2024;border:2px solid #6d707b;border-radius:var(--ptc-border-radius-medium)}.ptc-secondary:hover{background-color:#33353a}.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-primary-grey);border-radius:var(--ptc-border-radius-medium)}.ptc-tertiary:hover{background-color:#e1e2e4}.ptc-tertiary:active{background-color:#c5c5ca}.ptc-tertiary span{color:var(--color-primary-grey)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-primary-grey) !important}.ptc-quaternary{background:#158542;border:2px solid #459e67;border-radius:var(--ptc-border-radius-medium)}.ptc-quaternary:hover{background-color:#17713a}.ptc-quaternary:active{background-color:#186135}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}";
103
+
104
+ let PtcButton = class {
105
+ constructor(hostRef) {
106
+ index.registerInstance(this, hostRef);
107
+ this.clickEvent = index.createEvent(this, "clickEvent", 7);
108
+ /**
109
+ * Disabled button
110
+ */
111
+ this.disabled = false;
112
+ /**
113
+ * Button type
114
+ */
115
+ this.type = 'button';
116
+ /**
117
+ * Button theme color
118
+ */
119
+ this.color = 'ptc-primary';
120
+ /**
121
+ * Icon Animation
122
+ */
123
+ this.iconAnimation = '';
124
+ /**
125
+ * Icon Position
126
+ */
127
+ this.iconPosition = 'icon-right';
128
+ /**
129
+ * Link URL
130
+ */
131
+ this.linkHref = undefined;
132
+ /**
133
+ * link Title
134
+ */
135
+ this.linkTitle = undefined;
136
+ /**
137
+ * Link target
138
+ * */
139
+ this.target = '_self';
140
+ /**
141
+ * Link rel
142
+ * */
143
+ this.rel = undefined;
144
+ /**
145
+ * (optional) tab-nav.
146
+ * indicates that its element can be focused, and where it participates in sequential keyboard navigation.
147
+ * A negative value (usually tabindex="-1") means that the element is not reachable via sequential keyboard navigation
148
+ */
149
+ this.tabNav = 0;
150
+ }
151
+ clickEventHandler() {
152
+ this.clickEvent.emit();
153
+ //console.log('click!');
154
+ }
155
+ render() {
156
+ const classMap = this.getCssClassMap();
157
+ const Tag = !!this.linkHref ? 'a' : 'button';
158
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.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 })), index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))));
159
+ }
160
+ getCssClassMap() {
161
+ return {
162
+ [this.color]: true,
163
+ [this.iconAnimation]: true,
164
+ [this.iconPosition]: true,
165
+ ['disabled']: this.disabled ? true : false,
166
+ };
167
+ }
168
+ };
169
+ PtcButton.style = ptcButtonCss;
170
+
171
+ const ptcCardBottomCss = ":host{display:block}:host(.card-tall) .ptc-card-bottom-wrapper,:host(.card-wide) .ptc-card-bottom-wrapper{position:absolute;bottom:0;left:0;padding:0 var(--ptc-element-spacing-04) var(--ptc-element-spacing-05) var(--ptc-element-spacing-04);z-index:2}";
172
+
173
+ let PtcCardBottom = class {
174
+ constructor(hostRef) {
175
+ index.registerInstance(this, hostRef);
176
+ }
177
+ render() {
178
+ const classMap = this.getCssClassMap();
179
+ return (index.h(index.Host, { class: classMap }, index.h("div", { class: "ptc-card-bottom-wrapper" }, index.h("slot", null))));
180
+ }
181
+ getCssClassMap() {
182
+ return {
183
+ [this.cardType]: this.cardType ? true : false
184
+ };
185
+ }
186
+ };
187
+ PtcCardBottom.style = ptcCardBottomCss;
188
+
189
+ const ptcCardContentCss = ":host{display:block}:host(.speed-bump){border:1px solid #6a6a6a;border-radius:12px;padding:var(--ptc-element-spacing-06) var(--ptc-element-spacing-06);text-align:center}@media screen and (min-width: 768px){:host(.speed-bump){text-align:left}}:host(.card-tall) .ptc-card-content-wrapper,:host(.card-video) .ptc-card-content-wrapper,:host(.card-wide) .ptc-card-content-wrapper{border-radius:var(--ptc-border-radius-x-large);position:relative}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-video) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before{content:\"\";position:absolute;width:100%;height:97.5%;border-radius:var(--ptc-border-radius-x-large);top:0;left:0;background:transparent;z-index:1;box-shadow:0px 4px 4px rgba(0, 0, 0, 0.12);transition:background var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.card-tall) .ptc-card-content-wrapper::after,:host(.card-video) .ptc-card-content-wrapper::after,:host(.card-wide) .ptc-card-content-wrapper::after{content:url(\"data:image/svg+xml,%3Csvg width='54' height='56' viewBox='0 0 54 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg filter='url(%23filter0_d_126_10476)'%3E%3Cpath d='M42 20L12 36V4L42 20Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3Cfilter id='filter0_d_126_10476' x='0' y='0' width='54' height='56' filterUnits='userSpaceOnUse' color-interpolation-filters='sRGB'%3E%3CfeFlood flood-opacity='0' result='BackgroundImageFix'/%3E%3CfeColorMatrix in='SourceAlpha' type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0' result='hardAlpha'/%3E%3CfeOffset dy='8'/%3E%3CfeGaussianBlur stdDeviation='6'/%3E%3CfeComposite in2='hardAlpha' operator='out'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3CfeBlend mode='normal' in2='BackgroundImageFix' result='effect1_dropShadow_126_10476'/%3E%3CfeBlend mode='normal' in='SourceGraphic' in2='effect1_dropShadow_126_10476' result='shape'/%3E%3C/filter%3E%3C/defs%3E%3C/svg%3E%0A\");position:absolute;opacity:0;top:50%;left:50%;transform:translate(-50%, -50%);z-index:2;transition:opacity var(--ptc-transition-medium) var(--ptc-acceletated-ease)}:host(.mouse-hover) .ptc-card-content-wrapper::before{background:rgba(0, 0, 0, 0.6)}:host(.mouse-hover) .ptc-card-content-wrapper::after{opacity:1}:host(.card-tall) .ptc-card-content-wrapper::before,:host(.card-wide) .ptc-card-content-wrapper::before{height:100%}";
190
+
191
+ let PtcCardContent = class {
192
+ constructor(hostRef) {
193
+ index.registerInstance(this, hostRef);
194
+ this.hoverEvent = index.createEvent(this, "hoverEvent", 7);
195
+ this.leaveEvent = index.createEvent(this, "leaveEvent", 7);
196
+ }
197
+ hoverEventHandler() {
198
+ this.hoverEvent.emit();
199
+ this.el.classList.add('mouse-hover');
200
+ }
201
+ leaveEventHandler() {
202
+ this.hoverEvent.emit();
203
+ this.el.classList.remove('mouse-hover');
204
+ }
205
+ render() {
206
+ const classMap = this.getCssClassMap();
207
+ return (index.h(index.Host, { class: classMap, onMouseEnter: this.hoverEventHandler.bind(this), onMouseLeave: this.leaveEventHandler.bind(this) }, index.h("div", { class: "ptc-card-content-wrapper" }, index.h("slot", null))));
208
+ }
209
+ getCssClassMap() {
210
+ return {
211
+ [this.cardType]: !!this.cardType ? true : false,
212
+ };
213
+ }
214
+ get el() { return index.getElement(this); }
215
+ };
216
+ PtcCardContent.style = ptcCardContentCss;
217
+
218
+ const ptcCardPlmCss = ":host{display:block}:host(.card-tall),:host(.card-wide),:host(.card-video){position:relative}:host(.card-tall) a,:host(.card-wide) a,:host(.card-video) a{text-decoration:none}:host(.card-tall) a:hover,:host(.card-wide) a:hover,:host(.card-video) a:hover{text-decoration:none}";
219
+
220
+ let PtcCardPlm = class {
221
+ constructor(hostRef) {
222
+ index.registerInstance(this, hostRef);
223
+ this.linkTarget = '_self';
224
+ }
225
+ render() {
226
+ const classMap = this.getCssClassMap();
227
+ const Tag = !!this.cardLink ? 'a' : 'div';
228
+ return (index.h(index.Host, { class: classMap }, index.h(Tag, Object.assign({}, (!!this.cardLink ? { href: this.cardLink } : {}), (!!this.linkTarget && !!this.cardLink ? { target: this.linkTarget } : {}), (!!this.cardLink ? { title: this.linkTitle ? this.linkTitle : this.cardLink } : {})), index.h("slot", null))));
229
+ }
230
+ getCssClassMap() {
231
+ return {
232
+ [this.cardType]: this.cardType ? true : false
233
+ };
234
+ }
235
+ };
236
+ PtcCardPlm.style = ptcCardPlmCss;
237
+
238
+ const ptcHeroCss = ":host{display:block;position:relative}:host(.jumbotron) .ptc-hero-wrapper,:host(.footer-cta) .ptc-hero-wrapper{position:relative}:host(.footer-cta) .ptc-hero-wrapper div>*{text-align:center}";
239
+
240
+ let PtcHero = class {
241
+ constructor(hostRef) {
242
+ index.registerInstance(this, hostRef);
243
+ }
244
+ render() {
245
+ const classMap = this.getCssClassMap();
246
+ return (index.h(index.Host, { class: classMap }, index.h("div", { class: "ptc-hero-wrapper" }, index.h("ptc-img", { "image-type": "smart-bg", "img-url": "http://s7d1.scene7.com/is/image/ptcinc/cs-boeing-planes-runway", "size-xs": "600x450", "size-sm": "1108x658", "size-md": "1920x1080", "size-lg": "2700x1500" }, this.heroType == 'jumbotron' ? ([index.h("ptc-overlay", { "filter-color": "black-1-xs" }), index.h("ptc-overlay", { "filter-color": "black-2-xs" })]) : this.heroType == 'footer-cta' ? (index.h("ptc-overlay", { "filter-color": "black-3" })) : null, index.h("slot", null)))));
247
+ }
248
+ getCssClassMap() {
249
+ return {
250
+ [this.heroType]: this.heroType ? true : false,
251
+ };
252
+ }
253
+ };
254
+ PtcHero.style = ptcHeroCss;
255
+
256
+ let ResponsiveBgVariables = {
257
+ envs: ['xs', 'sm', 'md', 'lg'],
258
+ selector: '.ptc-img',
259
+ interval: 250
260
+ };
261
+ let ResponsivePictureVariables = {
262
+ envs: ['xs', 'sm', 'md', 'lg'],
263
+ selector: '.ptc-picture',
264
+ interval: 250
265
+ };
266
+
267
+ const ptcImgCss = ".smart-bg{width:100%;height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.smart-img{position:absolute;display:block;width:100%;height:100%;top:0;left:0;background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.radius-sm{border-radius:var(--ptc-border-radius-small)}.radius-md{border-radius:var(--ptc-border-radius-medium)}.radius-lg{border-radius:var(--ptc-border-radius-large)}.lazy-bg{background-image:none !important;background-color:var(--color-primary-lightgrey)}@media (max-width: 767px){.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 (min-width: 1200px){.hidden-lg{display:none !important}}";
268
+
269
+ let PtcImg = class {
270
+ constructor(hostRef) {
271
+ index.registerInstance(this, hostRef);
272
+ /**
273
+ * Image size for smallest screen
274
+ * <=767px
275
+ */
276
+ this.sizeXs = '510x340';
277
+ /**
278
+ * Image size for small screen
279
+ * >=768px and <=991px
280
+ */
281
+ this.sizeSm = '1240x496';
282
+ /**
283
+ * Image size for medium screen
284
+ * >=992px and <=1199px
285
+ */
286
+ this.sizeMd = '1366x500';
287
+ /**
288
+ * Image solution for large screen
289
+ * >=1200px
290
+ */
291
+ this.sizeLg = '1920x1080';
292
+ /**
293
+ * Image type
294
+ */
295
+ this.imageType = 'smart-bg';
296
+ /**
297
+ * Image border shape
298
+ */
299
+ this.borderRadius = '';
300
+ /**
301
+ * Lazy loading option
302
+ */
303
+ this.loadMode = 'lazy-bg';
304
+ }
305
+ /**
306
+ * Image Z Index
307
+ */
308
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
309
+ WindowResize() {
310
+ this.setResponsiveBg();
311
+ }
312
+ render() {
313
+ const classMap = this.getCssClassMap();
314
+ return (index.h(index.Host, null, index.h("div", { class: classMap, "data-xs": `${this.imgUrl}:${this.sizeXs}`, "data-sm": `${this.imgUrl}:${this.sizeSm}`, "data-md": `${this.imgUrl}:${this.sizeMd}`, "data-lg": `${this.imgUrl}:${this.sizeLg}` }, this.imageType == 'smart-bg' ? index.h("slot", null) : null)));
315
+ }
316
+ componentDidLoad() {
317
+ this.addIntersectionObserver();
318
+ this.setResponsiveBg();
319
+ }
320
+ componentWillUpdate() {
321
+ // console.log('componentWillUpdate!');
322
+ this.addIntersectionObserver();
323
+ this.setResponsiveBg();
324
+ }
325
+ //responsive image
326
+ setResponsiveBg() {
327
+ // Define local variables
328
+ let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
329
+ // console.log('current breakpoint: ' + currentBreakpoint);
330
+ // Loop through all target elements
331
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
332
+ // Set current variables
333
+ el = backgrounds[i];
334
+ elData = el.getAttribute('data-' + currentBreakpoint);
335
+ // If the data attribute exists, set the background
336
+ if (elData !== null) {
337
+ el.style.backgroundImage = "url('" + elData + "')";
338
+ }
339
+ else {
340
+ if (typeof console == 'object') {
341
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
342
+ }
343
+ }
344
+ }
345
+ }
346
+ //lazy loading
347
+ addIntersectionObserver() {
348
+ if (!this.imgUrl) {
349
+ console.log('no image!');
350
+ return;
351
+ }
352
+ if ('IntersectionObserver' in window) {
353
+ let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
354
+ let bgObserver = new IntersectionObserver(entries => {
355
+ entries.forEach(entry => {
356
+ if (entry.isIntersecting) {
357
+ const image = entry.target;
358
+ image.classList.remove('lazy-bg');
359
+ // console.log('loaded');
360
+ bgObserver.unobserve(image);
361
+ }
362
+ });
363
+ });
364
+ lazyLoadBgs.forEach(image => {
365
+ bgObserver.observe(image);
366
+ });
367
+ }
368
+ }
369
+ getCssClassMap() {
370
+ return {
371
+ [this.imageType]: true,
372
+ 'ptc-img': true,
373
+ [this.borderRadius]: true,
374
+ [this.loadMode]: true,
375
+ // [this.imageZIndex] : true
376
+ };
377
+ }
378
+ getCurrentBreakPoints() {
379
+ // Define local variables
380
+ let doc = window.document, temp = doc.createElement('div'), env;
381
+ // Append test node
382
+ doc.body.appendChild(temp);
383
+ // Loop through breakpoints
384
+ for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
385
+ env = ResponsiveBgVariables.envs[i];
386
+ // Add classes
387
+ temp.className = 'hidden-' + env;
388
+ // Found breakpoint
389
+ if (temp.offsetParent === null) {
390
+ // Remove our test node
391
+ doc.body.removeChild(temp);
392
+ console.log('remove test node');
393
+ // Return current breakpoint
394
+ return env;
395
+ }
396
+ }
397
+ // Breakpoint not found, try fallback
398
+ doc.body.removeChild(temp);
399
+ return this.getFallbackBreakpoint();
400
+ }
401
+ getFallbackBreakpoint() {
402
+ if (window.matchMedia('(min-width: 992px)').matches) {
403
+ return 'lg';
404
+ }
405
+ else if (window.matchMedia('(min-width: 768px)').matches) {
406
+ return 'md';
407
+ }
408
+ else if (window.matchMedia('(min-width: 576px)').matches) {
409
+ return 'sm';
410
+ }
411
+ else {
412
+ return 'xs';
413
+ }
414
+ }
415
+ get el() { return index.getElement(this); }
416
+ };
417
+ PtcImg.style = ptcImgCss;
418
+
419
+ const ptcLinkCss = ":host{display:block}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal);outline:none;text-decoration:none}.simple::after{content:\"\";position:absolute;width:100%;left:0px;bottom:2px;transition:opacity var(--ptc-transition-fast) var(--ptc-standard-ease);border-bottom:2px solid var(--color-primary-green);opacity:0}.simple:hover.simple::after{opacity:1}.arrow{margin-right:var(--ptc-element-spacing-01)}.arrow::after{position:absolute;display:block;content:\"\";width:var(--ptc-element-spacing-06);border-bottom:2px solid var(--color-primary-green);bottom:1px;transition:width var(--ptc-transition-fast) var(--ptc-standard-ease)}.arrow:hover.arrow::after{width:100%}.uppercase{text-transform:uppercase}.small{font-size:var(--ptc-font-size-small)}.medium{font-size:var(--ptc-font-size-medium)}.large{font-size:var(--ptc-font-size-large)}.ptc-link.arrow icon-asset{position:absolute;right:-25px;transition:transform var(--ptc-transition-fast) var(--ptc-standard-ease)}.ptc-link.arrow icon-asset svg{fill:var(--color-primary-green) !important}.ptc-link.arrow-plm icon-asset{position:absolute;right:-6.75px;transform:translate(100%, 8%)}.ptc-link.arrow-plm svg{fill:#3DAB49 !important}.ptc-link:hover.arrow icon-asset{transform:translateX(var(--ptc-element-spacing-04))}.nav-title:focus,.nav-title-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid #0092d1;outline-offset:2px}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.15px;line-height:25.05px;list-style:none;margin-bottom:10px;text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:#f3f3f4;display:inline-block;font-size:15px;font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0.3px;line-height:25.95px;list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-05);padding-bottom:7px;position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-decelerated-ease)}.primary-nav-link:hover{border-radius:4px;background-color:#20262a;text-decoration:none;outline:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:15px;list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-secondary-turtlegreen)}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:0.12px;line-height:14.4px;list-style:none;margin-bottom:12px;text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-decelerated-ease);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid #74c34d;border-radius:0;text-decoration:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-standard-ease), color var(--ptc-transition-medium) var(--ptc-standard-ease);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);line-height:1.73;letter-spacing:1.13px;text-align:left;font-size:15px}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-secondary-turtlegreen);color:var(--color-secondary-turtlegreen)}.copyright-link{color:var(--color-white);font-size:13px;font-weight:var(--ptc-font-weight-normal);line-height:2;display:inline-block}.arrow-plm{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-19);text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:transparent;text-underline-offset:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-acceletated-ease)}.arrow-plm:hover{text-decoration-color:#3DAB49}";
420
+
421
+ let PtcLink = class {
422
+ constructor(hostRef) {
423
+ index.registerInstance(this, hostRef);
424
+ /**
425
+ * Disabled link
426
+ */
427
+ this.disabled = false;
428
+ /**
429
+ * Rxternal link
430
+ * */
431
+ this.external = false;
432
+ /**
433
+ * Target
434
+ */
435
+ this.target = '_self';
436
+ /**
437
+ * Theme
438
+ */
439
+ this.theme = 'simple';
440
+ /**
441
+ * Uppercase
442
+ */
443
+ this.uppercase = false;
444
+ /**
445
+ * Font Size
446
+ */
447
+ this.fontSize = 'medium';
448
+ }
449
+ render() {
450
+ const classMap = this.getCssClassMap();
451
+ return (index.h(index.Host, null, index.h("a", { class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, this.theme == 'arrow' ? index.h("icon-asset", { type: "solid", size: "small", name: "arrow-right" }) : '', this.theme == 'arrow-plm' ? index.h("icon-asset", { type: "ptc", size: "x-small", name: "button-arrow-right" }) : '', index.h("slot", null))));
452
+ }
453
+ getCssClassMap() {
454
+ return {
455
+ ['ptc-link']: true,
456
+ [this.theme]: true,
457
+ ['uppercase']: this.uppercase,
458
+ ['disabled']: this.disabled,
459
+ [this.fontSize]: true,
460
+ };
461
+ }
462
+ };
463
+ PtcLink.style = ptcLinkCss;
464
+
465
+ const ptcOverlayCss = ":host{display:block;position:absolute;top:0;left:0;width:100%;height:100%}:host(.blue){background:linear-gradient(180deg, rgba(25, 123, 192, 0.2) 0%, #197BC0 100%)}:host(.red){background:linear-gradient(180deg, rgba(209, 44, 58, 0.2) 0%, #D12C3A 100%)}:host(.orange){background:linear-gradient(180deg, rgba(195, 119, 41, 0.2) 0%, #C37729 100%)}:host(.green){background:linear-gradient(180deg, rgba(0, 137, 11, 0.2) 0%, #00890B 100%)}:host(.black-1-sm){background:linear-gradient(270deg, rgba(32, 38, 42, 0) 33.33%, #20262A 100%)}:host(.black-2-sm){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}:host(.black-1-xs){background:linear-gradient(270deg, rgba(32, 38, 42, 0.32) 33.33%, #20262A 100%)}:host(.black-2-xs){background:linear-gradient(180deg, rgba(32, 38, 42, 0) 0%, #20262A 100%)}:host(.black-3){background:linear-gradient(180deg, #20262A 0%, rgba(32, 38, 42, 0.55) 100%)}:host(.slate-grey){background:linear-gradient(180deg, rgba(97, 116, 128, 0.2) 0%, #617480 100%)}:host(.radius-sm){border-radius:var(--ptc-border-radius-small)}:host(.radius-md){border-radius:var(--ptc-border-radius-medium)}:host(.radius-lg){border-radius:var(--ptc-border-radius-large)}:host(.radius-x-lg){border-radius:var(--ptc-border-radius-x-large)}:host(.z-index-auto){z-index:auto}:host(.z-index-n-1){z-index:-1}:host(.z-index-n-2){z-index:-2}:host(.z-index-p-1){z-index:1}:host(.z-index-p-2){z-index:2}";
466
+
467
+ let PtcOverlay = class {
468
+ constructor(hostRef) {
469
+ index.registerInstance(this, hostRef);
470
+ /**
471
+ * Overlay z-index
472
+ */
473
+ this.overlayZIndex = 'z-index-auto';
474
+ }
475
+ render() {
476
+ const classMap = this.getCssClassMap();
477
+ return index.h(index.Host, { class: classMap });
478
+ }
479
+ getCssClassMap() {
480
+ return {
481
+ [this.filterColor]: !!this.filterColor ? true : false,
482
+ [this.borderRadius]: !!this.borderRadius ? true : false,
483
+ [this.overlayZIndex]: true
484
+ };
485
+ }
486
+ };
487
+ PtcOverlay.style = ptcOverlayCss;
488
+
489
+ const ptcParaCss = ":host{z-index:1}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-primary-grey)}p.primary-grey{color:var(--color-primary-grey)}p.white{color:var(--color-white)}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.font-size-15{font-size:var(--ptc-font-size-15)}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-3{margin-top:var(--ptc-element-spacing-03)}p.margin-top-4{margin-top:var(--ptc-element-spacing-04)}p.margin-top-5{margin-top:var(--ptc-element-spacing-05)}p.margin-top-6{margin-top:var(--ptc-element-spacing-06)}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03)}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04)}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05)}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06)}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-17{line-height:var(--ptc-line-height-17)}p.line-height-18{line-height:var(--ptc-line-height-18)}p.line-height-19{line-height:var(--ptc-line-height-19)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-secondary-grey);line-height:var(--ptc-line-height-looser);letter-spacing:1px}";
490
+
491
+ let PtcPara = class {
492
+ constructor(hostRef) {
493
+ index.registerInstance(this, hostRef);
494
+ /**
495
+ * Paragraph font size
496
+ **/
497
+ this.fontSize = "medium";
498
+ /**
499
+ * Paragraph font weight
500
+ **/
501
+ this.fontWeight = 'w-4';
502
+ /**
503
+ * Paragraph Style
504
+ **/
505
+ this.paraStyle = 'default';
506
+ /**
507
+ * Paragraph Color
508
+ */
509
+ this.paraColor = 'primary-grey';
510
+ /**
511
+ * line height
512
+ */
513
+ this.paraLineH = 'line-height-normal';
514
+ }
515
+ render() {
516
+ const classMap = this.getCssClassMap();
517
+ return (index.h("p", { class: classMap, part: "part-para" }, index.h("slot", null)));
518
+ }
519
+ getCssClassMap() {
520
+ return {
521
+ [this.fontSize]: true,
522
+ [this.fontWeight]: true,
523
+ [this.paraStyle]: true,
524
+ [this.paraMargin]: !!this.paraMargin ? true : false,
525
+ [this.paraColor]: true,
526
+ [this.paraLineH]: true
527
+ };
528
+ }
529
+ };
530
+ PtcPara.style = ptcParaCss;
531
+
532
+ const ptcPictureCss = ":host{display:block;overflow:hidden}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:static}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-sm{border-radius:var(--ptc-border-radius-small)}.radius-md{border-radius:var(--ptc-border-radius-medium)}.radius-lg{border-radius:var(--ptc-border-radius-large)}.radius-x-lg{border-radius:var(--ptc-border-radius-x-large)}";
533
+
534
+ let PtcPicture = class {
535
+ constructor(hostRef) {
536
+ index.registerInstance(this, hostRef);
537
+ /**
538
+ * Image alt
539
+ */
540
+ this.alt = "image";
541
+ /**
542
+ * Image size for smallest screen
543
+ * <=767px
544
+ */
545
+ this.sizeXs = '510x340';
546
+ /**
547
+ * Image size for small screen
548
+ * >=768px and <=991px
549
+ */
550
+ this.sizeSm = '1240x496';
551
+ /**
552
+ * Image size for medium screen
553
+ * >=992px and <=1199px
554
+ */
555
+ this.sizeMd = '1366x500';
556
+ /**
557
+ * Image solution for large screen
558
+ * >=1200px
559
+ */
560
+ this.sizeLg = '1920x1080';
561
+ /**
562
+ * Image Position
563
+ */
564
+ this.imagePosition = 'static';
565
+ /**
566
+ * Object Fit
567
+ * Default: cover
568
+ */
569
+ this.objectFit = 'cover';
570
+ }
571
+ WindowResize() {
572
+ this.addIntersectionObserver();
573
+ }
574
+ componentDidLoad() {
575
+ this.addIntersectionObserver();
576
+ }
577
+ componentWillUpdate() {
578
+ if (this.src !== this.oldSrc) {
579
+ this.addIntersectionObserver();
580
+ }
581
+ this.oldSrc = this.src;
582
+ }
583
+ //lazy-loading
584
+ addIntersectionObserver() {
585
+ if (!this.src) {
586
+ return;
587
+ }
588
+ if ('IntersectionObserver' in window) {
589
+ let lazyLoadImages = new IntersectionObserver(entries => {
590
+ entries.forEach(entry => {
591
+ if (entry.isIntersecting) {
592
+ const image = this.el.shadowRoot.querySelector('img');
593
+ image.src = this.setResponsiveBg();
594
+ console.log('loaded');
595
+ lazyLoadImages.unobserve(image);
596
+ }
597
+ });
598
+ });
599
+ lazyLoadImages.observe(this.el.shadowRoot.querySelector('img'));
600
+ }
601
+ else {
602
+ // fall back to setTimeout for Safari and IE
603
+ setTimeout(() => {
604
+ const image = this.el.shadowRoot.querySelector('img');
605
+ image.src = this.setResponsiveBg();
606
+ image.onload = () => {
607
+ image.removeAttribute('data-src');
608
+ console.log('loaded fallback');
609
+ };
610
+ }, 5000);
611
+ }
612
+ }
613
+ //responsive image
614
+ setResponsiveBg() {
615
+ // Define local variables
616
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll('img'), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
617
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
618
+ // Set current variables
619
+ el = backgrounds[i];
620
+ elData = el.getAttribute('data-' + currentBreakpoint);
621
+ if (elData !== null) {
622
+ // console.log('img src= ' + elData);
623
+ return elData;
624
+ }
625
+ else {
626
+ if (typeof console == 'object') {
627
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
628
+ }
629
+ }
630
+ }
631
+ }
632
+ render() {
633
+ const classMap = this.getCssClassMap();
634
+ return (index.h(index.Host, { class: this.imagePosition }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}:${this.sizeXs}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}:${this.sizeSm}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}:${this.sizeMd}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}:${this.sizeLg}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt })), index.h("slot", null)));
635
+ }
636
+ getCurrentBreakPoints() {
637
+ // Define local variables
638
+ let doc = window.document, temp = doc.createElement('div'), env;
639
+ // Append test node
640
+ doc.body.appendChild(temp);
641
+ // Loop through breakpoints
642
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
643
+ env = ResponsivePictureVariables.envs[i];
644
+ // Add classes
645
+ temp.className = 'hidden-' + env;
646
+ // Found breakpoint
647
+ if (temp.offsetParent === null) {
648
+ // Remove our test node
649
+ doc.body.removeChild(temp);
650
+ console.log('remove test node');
651
+ // Return current breakpoint
652
+ return env;
653
+ }
654
+ }
655
+ // Breakpoint not found, try fallback
656
+ doc.body.removeChild(temp);
657
+ return this.getFallbackBreakpoint();
658
+ }
659
+ getFallbackBreakpoint() {
660
+ if (window.matchMedia('(min-width: 992px)').matches) {
661
+ return 'lg';
662
+ }
663
+ else if (window.matchMedia('(min-width: 768px)').matches) {
664
+ return 'md';
665
+ }
666
+ else if (window.matchMedia('(min-width: 576px)').matches) {
667
+ return 'sm';
668
+ }
669
+ else {
670
+ return 'xs';
671
+ }
672
+ }
673
+ getCssClassMap() {
674
+ return {
675
+ [this.borderRadius]: this.borderRadius ? true : false,
676
+ [this.objectFit]: true,
677
+ };
678
+ }
679
+ get el() { return index.getElement(this); }
680
+ };
681
+ PtcPicture.style = ptcPictureCss;
682
+
683
+ 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-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.ptc-spacer-xx-large){display:block}}";
684
+
685
+ let PtcSpacer = class {
686
+ constructor(hostRef) {
687
+ index.registerInstance(this, hostRef);
688
+ /**
689
+ * Breakpoint
690
+ */
691
+ this.breakpoint = '';
692
+ /**
693
+ * Spacing Size
694
+ */
695
+ this.size = 'medium';
696
+ /**
697
+ * Direction
698
+ */
699
+ this.direction = 'vertical';
700
+ }
701
+ render() {
702
+ const classMap = this.getCssClassMap();
703
+ return (index.h(index.Host, { class: classMap }));
704
+ }
705
+ getCssClassMap() {
706
+ return {
707
+ [this.size]: true,
708
+ ['ptc-spacer-horizontal']: this.direction === 'horizontal',
709
+ ['ptc-spacer-vertical']: this.direction === 'vertical',
710
+ ['ptc-spacer-xx-small']: this.breakpoint === 'xx-small',
711
+ ['ptc-spacer-x-small']: this.breakpoint === 'x-small',
712
+ ['ptc-spacer-small']: this.breakpoint === 'small',
713
+ ['ptc-spacer-medium']: this.breakpoint === 'medium',
714
+ ['ptc-spacer-large']: this.breakpoint === 'large',
715
+ ['ptc-spacer-x-large']: this.breakpoint === 'x-large',
716
+ ['ptc-spacer-xx-large']: this.breakpoint === 'xx-large',
717
+ };
718
+ }
719
+ };
720
+ PtcSpacer.style = ptcSpacerCss;
721
+
722
+ const ptcSpanCss = ":host{z-index:1}:host span{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}:host(.link-style) span{color:var(--color-primary-uigrey);font-weight:var(--ptc-font-weight-black);position:relative;line-height:var(--ptc-line-height-normal)}:host(.nav-style) span{display:block;color:#cac8c8;font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-dense);text-transform:capitalize;padding-left:var(--ptc-element-spacing-05);font-size:17px;padding-bottom:var(--ptc-element-spacing-03)}:host(.tag-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-dense);font-weight:var(--ptc-font-weight-regular);color:var(--color-primary-grey)}:host(.plm-hub-style) span{font-size:var(--ptc-font-size-medium);line-height:var(--ptc-line-height-19);font-weight:var(--ptc-font-weight-medium);color:var(--color-white)}:host(.inline) span{display:inline}:host(.block) span{display:block}:host(.inline-block) span{display:inline-block}:host(.white) span{color:var(--color-white)}:host(.primary-grey) span{color:var(--color-primary-grey)}";
723
+
724
+ let PtcSpan = class {
725
+ constructor(hostRef) {
726
+ index.registerInstance(this, hostRef);
727
+ /**
728
+ * Span Style
729
+ */
730
+ this.spanStyle = 'tag-style';
731
+ /**
732
+ * Display
733
+ */
734
+ this.display = 'inline';
735
+ }
736
+ render() {
737
+ const classMap = this.getCssClassMap();
738
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("span", { part: "part-ptc-span" }, index.h("slot", null))));
739
+ }
740
+ getCssClassMap() {
741
+ return {
742
+ [this.spanStyle]: true,
743
+ [this.display]: true,
744
+ };
745
+ }
746
+ };
747
+ PtcSpan.style = ptcSpanCss;
748
+
749
+ const ptcTitleCss = "div.center.sc-ptc-title{text-align:center}div.center.dotted.sc-ptc-title h1.sc-ptc-title::before,div.center.dotted.sc-ptc-title h2.sc-ptc-title::before,div.center.dotted.sc-ptc-title h3.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left}div.left.dotted.sc-ptc-title h1.sc-ptc-title::before,div.left.dotted.sc-ptc-title h2.sc-ptc-title::before,div.left.dotted.sc-ptc-title h3.sc-ptc-title::before{left:0%}div.right.sc-ptc-title{text-align:right}div.right.dotted.sc-ptc-title h1.sc-ptc-title::before,div.right.dotted.sc-ptc-title h2.sc-ptc-title::before,div.right.dotted.sc-ptc-title h3.sc-ptc-title::before{right:0%}div.inherit.sc-ptc-title{text-align:inherit}div.dotted.sc-ptc-title h1.sc-ptc-title::before,div.dotted.sc-ptc-title h2.sc-ptc-title::before,div.dotted.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed #5bb73b}div.solid.sc-ptc-title h1.sc-ptc-title::before,div.solid.sc-ptc-title h2.sc-ptc-title::before,div.solid.sc-ptc-title h3.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-secondary-grey);opacity:0.9;left:0px}div.solid.sc-ptc-title h1.sc-ptc-title::after,div.solid.sc-ptc-title h2.sc-ptc-title::after,div.solid.sc-ptc-title h3.sc-ptc-title::after{content:\"\";position:absolute;width:20%;height:2px;background-color:var(--color-primary-green);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:46px;line-height:52px;font-weight:800;letter-spacing:0px;color:var(--color-primary-grey)}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:28px;line-height:32px;font-weight:800;color:var(--color-primary-grey)}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title,div.is-plm-hub.sc-ptc-title h2.sc-ptc-title,div.is-plm-hub.sc-ptc-title h3.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px}div.is-plm-hub.sc-ptc-title h1.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:50px;line-height:59px;color:var(--color-white)}div.is-plm-hub.sc-ptc-title h2.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-large);line-height:28px;color:var(--color-white)}div.is-plm-hub.sc-ptc-title h3.sc-ptc-title{font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-large);line-height:23px;color:var(--color-white)}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02)}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03)}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04)}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05)}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06)}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02)}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03)}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04)}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05)}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06)}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}";
750
+
751
+ let PtcTitle = class {
752
+ constructor(hostRef) {
753
+ index.registerInstance(this, hostRef);
754
+ /**
755
+ * Is this title using on the PLM Hub page
756
+ */
757
+ this.isPlmHub = false;
758
+ /**
759
+ * Title Tag Type
760
+ */
761
+ this.type = 'h2';
762
+ /**
763
+ * Text Align
764
+ */
765
+ this.textAlign = 'left';
766
+ /**
767
+ * Upperline Style
768
+ */
769
+ this.upperline = 'dotted';
770
+ }
771
+ render() {
772
+ const classMap = this.getCssClassMap();
773
+ let TagType;
774
+ switch (this.type) {
775
+ case 'h1':
776
+ TagType = 'h1';
777
+ break;
778
+ case 'h3':
779
+ TagType = 'h3';
780
+ break;
781
+ default:
782
+ TagType = 'h2';
783
+ }
784
+ return (index.h(index.Host, null, index.h("div", { class: classMap }, index.h(TagType, null, index.h("slot", null)))));
785
+ }
786
+ getCssClassMap() {
787
+ return {
788
+ [this.textAlign]: true,
789
+ [this.upperline]: true,
790
+ [this.isPlmHub ? 'is-plm-hub' : 'is-standard']: true,
791
+ [this.titleMargin]: !!this.titleMargin ? true : false
792
+ };
793
+ }
794
+ };
795
+ PtcTitle.style = ptcTitleCss;
796
+
797
+ exports.icon_asset = IconAsset;
798
+ exports.list_item = ListItem;
799
+ exports.ptc_breadcrumb = PtcBreadcrumb;
800
+ exports.ptc_button = PtcButton;
801
+ exports.ptc_card_bottom = PtcCardBottom;
802
+ exports.ptc_card_content = PtcCardContent;
803
+ exports.ptc_card_plm = PtcCardPlm;
804
+ exports.ptc_hero = PtcHero;
805
+ exports.ptc_img = PtcImg;
806
+ exports.ptc_link = PtcLink;
807
+ exports.ptc_overlay = PtcOverlay;
808
+ exports.ptc_para = PtcPara;
809
+ exports.ptc_picture = PtcPicture;
810
+ exports.ptc_spacer = PtcSpacer;
811
+ exports.ptc_span = PtcSpan;
812
+ exports.ptc_title = PtcTitle;