@ptcwebops/ptcw-design 6.2.37-beta → 6.2.39-beta

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 (113) hide show
  1. package/dist/cjs/{component-4dd13907.js → component-6a178a16.js} +1 -1
  2. package/dist/cjs/event-jumbotron-example.cjs.entry.js +148 -0
  3. package/dist/cjs/icon-asset.cjs.entry.js +65 -0
  4. package/dist/cjs/list-item.cjs.entry.js +48 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +47 -0
  7. package/dist/cjs/ptc-button.cjs.entry.js +87 -0
  8. package/dist/cjs/ptc-card-bottom_2.cjs.entry.js +156 -0
  9. package/dist/cjs/ptc-card-content.cjs.entry.js +76 -0
  10. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +275 -0
  11. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -1
  12. package/dist/cjs/ptc-form-checkbox_4.cjs.entry.js +1 -1
  13. package/dist/cjs/ptc-hero.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-img.cjs.entry.js +133 -0
  15. package/dist/cjs/ptc-link.cjs.entry.js +87 -0
  16. package/dist/cjs/ptc-minimized-nav.cjs.entry.js +1 -1
  17. package/dist/cjs/ptc-para.cjs.entry.js +127 -0
  18. package/dist/cjs/ptc-scroll-button.cjs.entry.js +136 -0
  19. package/dist/cjs/ptc-spacer.cjs.entry.js +38 -0
  20. package/dist/cjs/ptc-title.cjs.entry.js +152 -0
  21. package/dist/cjs/ptcw-design.cjs.js +1 -1
  22. package/dist/collection/components/ptc-card-wrapper/ptc-card-wrapper.css +7 -0
  23. package/dist/collection/components/ptc-hero/ptc-hero.css +12 -0
  24. package/dist/collection/components/ptc-minimized-nav/ptc-minimized-nav.js +1 -1
  25. package/dist/collection/stories/Dropdown.stories.js +4 -9
  26. package/dist/collection/stories/Hero.stories.js +3 -3
  27. package/dist/collection/stories/ListItem.stories.js +1 -1
  28. package/dist/custom-elements/index.js +4 -4
  29. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  30. package/dist/esm/blog-detail-layout.entry.js +1 -1
  31. package/dist/esm/blogs-search-section.entry.js +1 -1
  32. package/dist/esm/{component-9c921cc6.js → component-80f298b4.js} +1 -1
  33. package/dist/esm/event-jumbotron-example.entry.js +144 -0
  34. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  35. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  36. package/dist/esm/icon-asset.entry.js +61 -0
  37. package/dist/esm/list-item.entry.js +44 -0
  38. package/dist/esm/loader.js +1 -1
  39. package/dist/esm/most-popular-news.entry.js +1 -1
  40. package/dist/esm/my-component.entry.js +1 -1
  41. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  42. package/dist/esm/ptc-background-video.entry.js +1 -1
  43. package/dist/esm/ptc-breadcrumb.entry.js +43 -0
  44. package/dist/esm/ptc-button.entry.js +83 -0
  45. package/dist/esm/ptc-card-bottom_2.entry.js +151 -0
  46. package/dist/esm/ptc-card-content.entry.js +72 -0
  47. package/dist/esm/ptc-close-icon_2.entry.js +270 -0
  48. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  49. package/dist/esm/ptc-data-lookup.entry.js +1 -1
  50. package/dist/esm/ptc-form-checkbox_4.entry.js +2 -2
  51. package/dist/esm/ptc-hero.entry.js +1 -1
  52. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  53. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  54. package/dist/esm/ptc-icon-card.entry.js +1 -1
  55. package/dist/esm/ptc-img.entry.js +129 -0
  56. package/dist/esm/ptc-link.entry.js +83 -0
  57. package/dist/esm/ptc-media-card.entry.js +1 -1
  58. package/dist/esm/ptc-minimized-nav.entry.js +1 -1
  59. package/dist/esm/ptc-para.entry.js +123 -0
  60. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  61. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  62. package/dist/esm/ptc-scroll-button.entry.js +132 -0
  63. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  64. package/dist/esm/ptc-spacer.entry.js +34 -0
  65. package/dist/esm/ptc-title.entry.js +148 -0
  66. package/dist/esm/ptcw-design.js +1 -1
  67. package/dist/esm/{utils-ff65c75b.js → utils-63eab4bd.js} +1 -1
  68. package/dist/ptcw-design/p-01075feb.entry.js +1 -0
  69. package/dist/ptcw-design/{p-4b7f6258.entry.js → p-04ff81ef.entry.js} +1 -1
  70. package/dist/ptcw-design/p-072aa896.entry.js +1 -0
  71. package/dist/ptcw-design/p-0c69ea52.entry.js +1 -0
  72. package/dist/ptcw-design/{p-e0b873d0.entry.js → p-16e70f20.entry.js} +1 -1
  73. package/dist/ptcw-design/{p-ae970a60.entry.js → p-17f6e145.entry.js} +1 -1
  74. package/dist/ptcw-design/p-1ecdea8e.entry.js +1 -0
  75. package/dist/ptcw-design/p-25a25451.entry.js +1 -0
  76. package/dist/ptcw-design/{p-e4000363.entry.js → p-28be539b.entry.js} +1 -1
  77. package/dist/ptcw-design/{p-a3b57ede.entry.js → p-291072b4.entry.js} +1 -1
  78. package/dist/ptcw-design/{p-d9abe7e8.entry.js → p-48c33817.entry.js} +1 -1
  79. package/dist/ptcw-design/{p-e3f8e5d5.entry.js → p-49e54079.entry.js} +1 -1
  80. package/dist/ptcw-design/{p-2c6fc745.entry.js → p-4ee98a3e.entry.js} +1 -1
  81. package/dist/ptcw-design/{p-d10cb999.entry.js → p-627103d8.entry.js} +1 -1
  82. package/dist/ptcw-design/{p-c95f423e.entry.js → p-6a3caf2b.entry.js} +1 -1
  83. package/dist/ptcw-design/{p-7a9611b4.entry.js → p-6f5fecae.entry.js} +1 -1
  84. package/dist/ptcw-design/p-7793babb.entry.js +1 -0
  85. package/dist/ptcw-design/{p-8872161f.js → p-77b1221e.js} +1 -1
  86. package/dist/ptcw-design/p-7fe4d383.entry.js +1 -0
  87. package/dist/ptcw-design/{p-c37a3bd2.entry.js → p-821f0ff9.entry.js} +1 -1
  88. package/dist/ptcw-design/p-92d22c78.entry.js +1 -0
  89. package/dist/ptcw-design/p-99355e65.entry.js +1 -0
  90. package/dist/ptcw-design/p-b651c1cb.entry.js +1 -0
  91. package/dist/ptcw-design/p-b8ee8699.entry.js +1 -0
  92. package/dist/ptcw-design/p-bf18b622.entry.js +1 -0
  93. package/dist/ptcw-design/{p-1b257420.entry.js → p-c01ea76f.entry.js} +1 -1
  94. package/dist/ptcw-design/{p-6d3326da.entry.js → p-cbee4653.entry.js} +1 -1
  95. package/dist/ptcw-design/{p-c66b8926.entry.js → p-d3229458.entry.js} +1 -1
  96. package/dist/ptcw-design/{p-a5c2584e.entry.js → p-d361afd1.entry.js} +1 -1
  97. package/dist/ptcw-design/{p-c0bb1ad0.entry.js → p-e235bf27.entry.js} +1 -1
  98. package/dist/ptcw-design/p-e2abc077.entry.js +1 -0
  99. package/dist/ptcw-design/{p-da82dc93.entry.js → p-e577ad62.entry.js} +1 -1
  100. package/dist/ptcw-design/{p-1118ed9e.entry.js → p-e8e39b10.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-808ec62a.entry.js → p-eec2f3da.entry.js} +1 -1
  102. package/dist/ptcw-design/{p-36007a57.entry.js → p-fd394e84.entry.js} +1 -1
  103. package/dist/ptcw-design/p-feecf6b5.entry.js +1 -0
  104. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  105. package/package.json +1 -1
  106. package/readme.md +1 -1
  107. package/dist/cjs/event-jumbotron-example_15.cjs.entry.js +0 -1433
  108. package/dist/cjs/ptc-card-bottom.cjs.entry.js +0 -67
  109. package/dist/esm/event-jumbotron-example_15.entry.js +0 -1415
  110. package/dist/esm/ptc-card-bottom.entry.js +0 -63
  111. package/dist/ptcw-design/p-5dba6e59.entry.js +0 -1
  112. package/dist/ptcw-design/p-9fe0c27d.entry.js +0 -1
  113. /package/dist/ptcw-design/{p-bcab66bf.js → p-672a349f.js} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { C as CheckDarkFocusState } from './utils-ff65c75b.js';
2
+ import { C as CheckDarkFocusState } from './utils-63eab4bd.js';
3
3
 
4
4
  const ptcIconCardCss = "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;height:100%}:host .tracker-div{display:inline}@supports (hyphenate-limit-chars: 10 3 3){:host{hyphenate-limit-chars:10 4 4}}:host a{display:block;padding:20px;background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:2px solid transparent;align-items:center;text-decoration:none;text-align:center;box-sizing:border-box;height:100%;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}@media only screen and (min-width: 992px){:host a{padding:var(--ptc-layout-spacing-03)}}:host a>div{display:flex;width:100%;height:100%;flex-direction:column;text-align:center;justify-content:center;align-items:center}@media only screen and (min-width: 480px){:host a>div{flex-direction:row;text-align:left;justify-content:left}}:host a:hover{background-color:var(--color-gray-08)}:host a:active{transition:none;background-color:var(--color-gray-09)}:host a span{display:block}:host a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .dark-bg a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .card-icon{width:2rem;height:2rem;margin:auto;margin-bottom:1rem;margin-top:0}@media only screen and (min-width: 480px){:host .card-icon{margin:0 var(--ptc-element-spacing-04) 0 0}}:host .card-title{font-weight:var(--ptc-font-weight-extrabold);color:var(--color-white)}";
5
5
 
@@ -0,0 +1,129 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
+ import { R as ResponsiveBgVariables } from './interfaces-4caedd26.js';
3
+
4
+ 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}}";
5
+
6
+ const PtcImg = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.sizeXs = '510x340';
10
+ this.sizeSm = '1240x496';
11
+ this.sizeMd = '1366x500';
12
+ this.sizeLg = '1920x1080';
13
+ this.imgUrl = undefined;
14
+ this.imageType = 'smart-bg';
15
+ this.borderRadius = '';
16
+ this.loadMode = 'lazy-bg';
17
+ this.styles = undefined;
18
+ }
19
+ /**
20
+ * Image Z Index
21
+ */
22
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
23
+ WindowResize() {
24
+ this.setResponsiveBg();
25
+ }
26
+ render() {
27
+ const classMap = this.getCssClassMap();
28
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == 'smart-bg' ? h("slot", null) : null)));
29
+ }
30
+ componentDidLoad() {
31
+ this.addIntersectionObserver();
32
+ this.setResponsiveBg();
33
+ }
34
+ componentWillUpdate() {
35
+ this.addIntersectionObserver();
36
+ this.setResponsiveBg();
37
+ }
38
+ //responsive image
39
+ setResponsiveBg() {
40
+ // Define local variables
41
+ let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
42
+ // Loop through all target elements
43
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
44
+ // Set current variables
45
+ el = backgrounds[i];
46
+ elData = el.getAttribute('data-' + currentBreakpoint);
47
+ // If the data attribute exists, set the background
48
+ if (elData !== null) {
49
+ el.style.backgroundImage = "url('" + elData + "')";
50
+ }
51
+ else {
52
+ if (typeof console == 'object') {
53
+ console.warn('Data attribute: data-' + currentBreakpoint + ' not found on element:\n\n' + el.outerHTML + '\n\n\n');
54
+ }
55
+ }
56
+ }
57
+ }
58
+ //lazy loading
59
+ addIntersectionObserver() {
60
+ if (!this.imgUrl) {
61
+ console.log('no image!');
62
+ return;
63
+ }
64
+ if ('IntersectionObserver' in window) {
65
+ let lazyLoadBgs = (this.el || document).querySelectorAll('.lazy-bg');
66
+ let bgObserver = new IntersectionObserver(entries => {
67
+ entries.forEach(entry => {
68
+ if (entry.isIntersecting) {
69
+ const image = entry.target;
70
+ image.classList.remove('lazy-bg');
71
+ bgObserver.unobserve(image);
72
+ }
73
+ });
74
+ });
75
+ lazyLoadBgs.forEach(image => {
76
+ bgObserver.observe(image);
77
+ });
78
+ }
79
+ }
80
+ getCssClassMap() {
81
+ return {
82
+ [this.imageType]: true,
83
+ 'ptc-img': true,
84
+ [this.borderRadius]: true,
85
+ [this.loadMode]: true,
86
+ // [this.imageZIndex] : true
87
+ };
88
+ }
89
+ getCurrentBreakPoints() {
90
+ // Define local variables
91
+ let doc = window.document, temp = doc.createElement('div'), env;
92
+ // Append test node
93
+ doc.body.appendChild(temp);
94
+ // Loop through breakpoints
95
+ for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
96
+ env = ResponsiveBgVariables.envs[i];
97
+ // Add classes
98
+ temp.className = 'hidden-' + env;
99
+ // Found breakpoint
100
+ if (temp.offsetParent === null) {
101
+ // Remove our test node
102
+ doc.body.removeChild(temp);
103
+ // Return current breakpoint
104
+ return env;
105
+ }
106
+ }
107
+ // Breakpoint not found, try fallback
108
+ doc.body.removeChild(temp);
109
+ return this.getFallbackBreakpoint();
110
+ }
111
+ getFallbackBreakpoint() {
112
+ if (window.matchMedia('(min-width: 992px)').matches) {
113
+ return 'lg';
114
+ }
115
+ else if (window.matchMedia('(min-width: 768px)').matches) {
116
+ return 'md';
117
+ }
118
+ else if (window.matchMedia('(min-width: 576px)').matches) {
119
+ return 'sm';
120
+ }
121
+ else {
122
+ return 'xs';
123
+ }
124
+ }
125
+ get el() { return getElement(this); }
126
+ };
127
+ PtcImg.style = ptcImgCss;
128
+
129
+ export { PtcImg as ptc_img };
@@ -0,0 +1,83 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
+ import { C as CheckDarkFocusState, c as getSeoTagType } from './utils-63eab4bd.js';
3
+
4
+ const ptcLinkCss = "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}.disabled{pointer-events:none;cursor:default;text-decoration:none}.ptc-link{display:inline-block;color:var(--color-gray-10);font-weight:var(--ptc-font-weight-extrabold);position:relative;line-height:var(--ptc-line-height-densest);outline:none;text-decoration:none;transition:color var(--ptc-transition-fast) var(--ptc-ease-inout)}.ptc-link.focus-state-dark-background{border:2px solid transparent;margin:-2px}.ptc-link:active{transition:none}.ptc-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-link:focus-visible .focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.simple{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple.focus-state-dark-background{border:2px solid transparent;margin:-2px}.simple:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:active{transition:none}.simple:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.simple:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.global{font-style:var(--ptc-letter-spacing-normal);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-x-small);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out)}.global:visited{color:var(--color-blue-10)}.global:active,.global:visited:active{color:var(--color-blue-09);transition:none}.global:hover,.global:visited:hover{color:var(--color-blue-08)}.global.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.product-link{font-weight:var(--ptc-font-weight-extrabold);text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:hover{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.product-link:active{transition:none}.underline{border-bottom:2px solid var(--color-green-06)}.underline:hover{color:#00890B;border-bottom:2px solid #00890B}.underline:active{transition:none}.small{font-size:var(--ptc-font-size-xx-small)}.medium{font-size:var(--ptc-font-size-x-small)}.medium-large{font-size:var(--ptc-font-size-small)}.large{font-size:var(--ptc-font-size-medium)}.nav-title:focus,.nav-title-link:focus,.nav-card-link:focus,.primary-nav-link:focus,.secondary-nav-link:focus,.footer-nav-link:focus,.copyright-link:focus{outline:3px solid var(--color-blue-07);outline-offset:2px}.nav-title:active,.nav-title-link:active,.nav-card-link:active,.primary-nav-link:active,.secondary-nav-link:active,.footer-nav-link:active,.copyright-link:active{transition:none}.nav-title{box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin-bottom:var(--ptc-element-spacing-02);text-align:left}.primary-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-01);display:inline-block;font-size:var(--ptc-font-size-x-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-dense);list-style:none;margin:var(--ptc-element-spacing-01) var(--ptc-element-spacing-03);padding:var(--ptc-element-spacing-02) var(--ptc-element-spacing-06);position:relative;text-decoration:none;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.primary-nav-link:hover{border-radius:var(--ptc-border-radius-standard);background-color:var(--color-gray-12);text-decoration:none;outline:none}.primary-nav-link:active{transition:none}.nav-title-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration-color:var(--color-white);text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;display:inline-block}.nav-title-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06)}.nav-title-link:active{transition:none}.nav-card-link{background-color:transparent;box-sizing:border-box;color:var(--color-white);font-stretch:100%;font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-white);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 1200px){.nav-card-link{font-size:var(--ptc-font-size-xxx-small)}}.nav-card-link:hover{color:var(--color-white);text-decoration:underline var(--color-green-06) solid 1px;text-underline-offset:2px}.nav-card-link:active{transition:none}.secondary-nav-link{display:inline-block;background-color:transparent;box-sizing:border-box;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-stretch:100%;font-style:normal;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);list-style:none;margin-bottom:var(--ptc-element-spacing-03);text-align:left;text-decoration:none;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1.5px solid transparent;white-space:nowrap}.secondary-nav-link:hover{color:var(--color-white);border-bottom:1.5px solid var(--color-green-06);border-radius:0;text-decoration:none}.secondary-nav-link:active{transition:none}.footer-nav-link{color:var(--color-white);transition:border var(--ptc-transition-medium) var(--ptc-ease-inout), color var(--ptc-transition-medium) var(--ptc-ease-inout);border-bottom:1px solid transparent;outline:none;text-decoration:none;font-weight:var(--ptc-font-weight-semibold);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-densest);text-align:left;font-size:var(--ptc-font-size-x-small)}.footer-nav-link:hover{outline:none;text-decoration:none;border-bottom:0.1rem solid var(--color-green-06);color:var(--color-green-06)}.footer-nav-link:active{transition:none}.copyright-link{color:var(--color-white);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-normal);line-height:var(--ptc-line-height-loose);display:inline-block}.d-green-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);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)}.d-green-underline:hover{color:var(--color-green-06)}.d-green-underline:active{transition:none}.d-green-underline:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline);transition:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.d-green-underline:focus-visible.focus-state-dark-background{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none;text-decoration-line:none}.d-white-underline{color:var(--color-white);font-weight:var(--ptc-font-weight-extrabold);line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-white);text-underline-offset:5px}.link-area-cover-parent{position:static}.link-area-cover-parent::after{content:\"\";position:absolute;width:100%;height:100%;inset:0;z-index:2}.standard-link,.blog-link{font-weight:800;line-height:1;display:flex;align-items:center;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)}.standard-link:hover,.blog-link:hover{color:var(--color-green-06)}.standard-link:active,.blog-link:active{transition:none}.w-thin{font-weight:var(--ptc-font-weight-thin)}.w-regular{font-weight:var(--ptc-font-weight-regular)}.w-medium{font-weight:var(--ptc-font-weight-medium)}.w-semibold{font-weight:var(--ptc-font-weight-semibold)}.w-bold{font-weight:var(--ptc-font-weight-bold)}.w-extrabold{font-weight:var(--ptc-font-weight-extrabold)}.w-black{font-weight:var(--ptc-font-weight-black)}.utility-nav-link{background-color:transparent;box-sizing:border-box;color:var(--color-gray-13);font-stretch:100%;font-weight:var(--ptc-font-weight-semibold);line-height:var(--ptc-line-height-densest);list-style:none;text-align:left;text-decoration:none;text-decoration-color:var(--color-green-06);transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout);display:inline-block;font-size:var(--ptc-font-size-x-small)}.utility-nav-link:hover{text-decoration:underline;text-underline-offset:5px;text-decoration-color:var(--color-green-06);text-decoration-thickness:2px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.utility-nav-link:active{transition:none}.tracker-div{display:inline}:host(.event-podcast) a{color:var(--color-green-06);transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}";
5
+
6
+ const PtcLink = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.disabled = false;
10
+ this.external = false;
11
+ this.href = undefined;
12
+ this.target = '_self';
13
+ this.linkTitle = undefined;
14
+ this.theme = 'simple';
15
+ this.fontSize = 'medium';
16
+ this.fontWeight = undefined;
17
+ this.linkArea = undefined;
18
+ this.seoCompatibilityMode = false;
19
+ this.styles = undefined;
20
+ this.trackerId = undefined;
21
+ this.tabNav = 0;
22
+ this.darkFocusState = false;
23
+ }
24
+ componentWillLoad() {
25
+ CheckDarkFocusState(this, this.el);
26
+ }
27
+ seoCompRender() {
28
+ const classMap = this.getCssClassMap();
29
+ const [TagType, firstChild] = getSeoTagType(this.el, "a");
30
+ const html = firstChild && firstChild.innerHTML;
31
+ if (this.el == firstChild) {
32
+ this.el.innerHTML = '';
33
+ }
34
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h(TagType, Object.assign({ class: classMap, innerHTML: html, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("slot", null)))));
35
+ }
36
+ standardRender() {
37
+ const classMap = this.getCssClassMap();
38
+ return (h(Host, null, this.styles && h("style", null, this.styles), h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, h("a", Object.assign({ class: classMap, href: this.href, target: this.external ? '_blank' : this.target, title: this.linkTitle }, (!!this.tabNav ? { tabindex: -1 } : { tabindex: 0 })), h("slot", null)))));
39
+ }
40
+ render() {
41
+ if (this.seoCompatibilityMode) {
42
+ return this.seoCompRender();
43
+ }
44
+ else {
45
+ return this.standardRender();
46
+ }
47
+ }
48
+ getCssClassMap() {
49
+ const classOptions = [
50
+ 'simple',
51
+ 'underline',
52
+ 'nav-title',
53
+ 'primary-nav-link',
54
+ 'nav-title-link',
55
+ 'nav-card-link',
56
+ 'secondary-nav-link',
57
+ 'footer-nav-link',
58
+ 'copyright-link',
59
+ 'product-link',
60
+ 'd-green-underline',
61
+ 'd-white-underline',
62
+ 'global',
63
+ 'utility-nav-link'
64
+ ];
65
+ let mainClass = this.theme;
66
+ if (classOptions.indexOf(mainClass) < 0) {
67
+ mainClass = 'simple'; // fallback to simple class if theme is unavailable
68
+ }
69
+ return {
70
+ ['ptc-link']: true,
71
+ [mainClass]: true,
72
+ ['disabled']: this.disabled,
73
+ [this.fontSize]: true,
74
+ [this.linkArea]: this.linkArea ? true : false,
75
+ [this.fontWeight]: this.fontWeight ? true : false,
76
+ ['focus-state-dark-background']: this.darkFocusState
77
+ };
78
+ }
79
+ get el() { return getElement(this); }
80
+ };
81
+ PtcLink.style = ptcLinkCss;
82
+
83
+ export { PtcLink as ptc_link };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
- import { c as getFileExtension } from './utils-ff65c75b.js';
2
+ import { b as getFileExtension } from './utils-63eab4bd.js';
3
3
 
4
4
  const ptcMediaCardCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative;width:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}:host .anchor-wrap{height:100%;width:100%;display:block;text-decoration:none;position:relative}:host .anchor-wrap:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host video{object-fit:cover;height:100%;width:100%;z-index:0;position:absolute;left:0;right:0;top:0;bottom:0;display:none}:host(.media-card) ::slotted([slot=seo-content]){display:none}:host(.media-card) .card-wrap{display:flex;height:100%;width:100%;position:relative;z-index:1;min-height:329px;align-items:end}:host(.media-card) .card-wrap .car-content{padding:20px 30px 30px 30px}:host(.media-card) .card-wrap .car-content p,:host(.media-card) .card-wrap .car-content h3{color:#fff}:host(.media-card) .card-wrap .car-content h3{position:relative;margin-bottom:0;font-size:var(--ptc-font-size-medium);text-shadow:1px 3px 30px #000;line-height:var(--ptc-line-height-densest);display:inline}@media only screen and (min-width: 768px){:host(.media-card) .card-wrap .car-content h3{font-size:var(--ptc-font-size-large)}}:host(.media-card) .card-wrap .car-content h3::before{content:\"\";width:100%;height:3px;background-image:url(\"data:image/svg+xml,%3Csvg width='60' height='1' viewBox='0 0 60 1' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='30' height='1' fill='%2333A13C'/%3E%3C/svg%3E\");background-repeat:repeat;position:absolute;background-size:initial;top:-10px}:host(.media-card) .card-wrap .car-content p{text-shadow:1px 3px 30px var(--color-black);font-weight:var(--ptc-font-weight-semibold);display:block;font-size:var(--ptc-font-size-x-small)}:host(.bureau-card){height:100%;position:relative}:host(.case-study-icon){width:296px}:host(.case-study-icon) ::slotted([slot=seo-content]){display:none}:host(.case-study-icon) .tracker-div{display:inline}:host(.case-study-icon) .case-study-img-anchor{position:relative;width:296px;height:396px;display:flex;justify-content:center;align-items:center;transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-bg-img{display:flex;width:296px;height:396px;flex-direction:column;justify-content:center;align-items:center;border-radius:4px;object-fit:cover;position:absolute;z-index:1;box-shadow:var(--ptc-shadow-large)}:host(.case-study-icon) .case-study-img-anchor .after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:4px;z-index:2;background:rgba(0, 0, 0, 0.5);transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor .case-study-icon-img{position:absolute;z-index:3;width:92px;height:42px;border-radius:4px;background:#FFF;padding:24px;box-shadow:0px 1px 4px 0px rgba(0, 0, 0, 0.24);transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-webkit-transition:var(--ptc-transition-medium) var(--ptc-ease-inout);-o-transition:var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.case-study-icon) .case-study-img-anchor:hover .after{display:block;background:rgba(0, 0, 0, 0.07)}:host(.case-study-icon) .case-study-img-anchor:hover .case-study-icon-img{width:96px;height:46px}:host(.case-study-icon) .case-study-img-anchor:active,:host(.case-study-icon) .case-study-img-anchor:focus{transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:active .after,:host(.case-study-icon) .case-study-img-anchor:focus .after{display:block;background:rgba(0, 0, 0, 0.2);transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:active .case-study-icon-img,:host(.case-study-icon) .case-study-img-anchor:focus .case-study-icon-img{transition:none !important;-webkit-transition:none !important;-o-transition:none !important}:host(.case-study-icon) .case-study-img-anchor:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}@media (min-width: 768px){:host(.case-study-icon){width:373px}:host(.case-study-icon) .case-study-img-anchor{width:373px;height:500px}:host(.case-study-icon) .case-study-img-anchor .case-study-bg-img{width:373px;height:500px}}";
5
5
 
@@ -12,7 +12,7 @@ const PtcMinimizedNav = class {
12
12
  this.trackerId = undefined;
13
13
  }
14
14
  render() {
15
- return (h(Host, null, this.navType == 'minimized-header' ? (h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "ptc-container mf-listen", id: this.trackerId }, h("a", { class: "mini-navbar-logo", href: this.linkUrl, tabindex: "0" }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == 'minimized-footer' ? (h("div", { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null))))) : null));
15
+ return (h(Host, null, this.navType == 'minimized-header' ? (h("div", { class: "minimized-header" }, h("div", { class: "header" }, h("div", { class: "ptc-container" }, h("a", { class: "mini-navbar-logo mf-listen", href: this.linkUrl, tabindex: "0", id: this.trackerId }, h("img", { src: this.imgSrc, alt: this.imgAlt })))))) : null, this.navType == 'minimized-footer' ? (h("div", { class: "ptc-min-footer mini-footer" }, h("div", { class: "min-footer-copyright-wrapper" }, h("ul", { class: "min-footer-nav-list min-footer-copyright-list" }, h("slot", null))))) : null));
16
16
  }
17
17
  };
18
18
  PtcMinimizedNav.style = ptcMinimizedNavCss;
@@ -0,0 +1,123 @@
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-c83db688.js';
2
+ import { s as seoSlotReset } from './utils-63eab4bd.js';
3
+
4
+ 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 .tooltip-enabled{position:relative}: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.primary-green{color:var(--color-green-06)}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-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}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.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}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}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
5
+
6
+ const PtcPara = class {
7
+ constructor(hostRef) {
8
+ registerInstance(this, hostRef);
9
+ this.fontSize = 'x-small';
10
+ this.fontWeight = 'w-4';
11
+ this.paraStyle = 'default';
12
+ this.paraColor = 'primary-grey';
13
+ this.paraLineH = 'line-height-normal';
14
+ this.paraMargin = undefined;
15
+ this.paraAlign = undefined;
16
+ this.ellipsisLineCutoff = undefined;
17
+ this.paraZIndex = undefined;
18
+ this.styles = undefined;
19
+ this.seoCompatibilityMode = false;
20
+ this.tooltipZIndex = 'auto';
21
+ this.tooltipPosition = 'bottom';
22
+ this.tooltipTheme = 'standard';
23
+ this.enableTooltip = false;
24
+ this.maxChars = undefined;
25
+ this.maxLines = undefined;
26
+ this.hideTooltipOnMobile = false;
27
+ this.ismob = undefined;
28
+ this.noOverflow = false;
29
+ this.tooltipWidth = 'default';
30
+ }
31
+ // Tooltip Properties ends
32
+ render() {
33
+ if (this.seoCompatibilityMode) {
34
+ seoSlotReset(this.el);
35
+ }
36
+ return this.standardRender();
37
+ }
38
+ //tooltip code
39
+ getSortedText(content) {
40
+ if (!this.enableTooltip)
41
+ return;
42
+ const trimmedContent = content.trim();
43
+ const shouldTruncate = (trimmedContent.length > this.maxChars) && !this.maxLines;
44
+ return shouldTruncate ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026` : trimmedContent;
45
+ }
46
+ componentDidLoad() {
47
+ if (this.hideTooltipOnMobile) {
48
+ this.el.classList.add('hide-tooltip-on-mobile');
49
+ }
50
+ this.el.addEventListener('mouseenter', () => { this.toggleTitleTooltip(true); });
51
+ this.el.addEventListener('mouseleave', () => { this.toggleTitleTooltip(false); });
52
+ if (this.enableTooltip) {
53
+ let paraContent = this.el.innerText || this.el.textContent;
54
+ this.tooltipText = paraContent.trim();
55
+ this.el.innerText = this.getSortedText(paraContent);
56
+ }
57
+ }
58
+ toggleTitleTooltip(show) {
59
+ const tooltipClass = 'tooltip-box';
60
+ const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
61
+ const text = this.el.shadowRoot.querySelectorAll('.line-clamp-title');
62
+ let maxLinesShowCheck = false;
63
+ if (text) {
64
+ text.forEach(t => {
65
+ maxLinesShowCheck = t.scrollHeight > t.clientHeight;
66
+ });
67
+ }
68
+ const ifCharExceeds = this.maxChars ? (this.tooltipText.length > this.maxChars) && !this.maxLines : false;
69
+ const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
70
+ if (show && this.enableTooltip) {
71
+ if (((!existingTooltip && ifCharExceeds) || (!existingTooltip && ifLinesExceeds)) && !this.noOverflow) {
72
+ const tooltipMarkup = document.createElement('div');
73
+ tooltipMarkup.className = tooltipClass;
74
+ tooltipMarkup.innerText = this.tooltipText;
75
+ tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
76
+ tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
77
+ if (this.hideTooltipOnMobile) {
78
+ tooltipMarkup.classList.add('hide-tooltip-mobile');
79
+ }
80
+ this.el.appendChild(tooltipMarkup);
81
+ }
82
+ }
83
+ else {
84
+ existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
85
+ }
86
+ }
87
+ //tooltip code ends
88
+ standardRender() {
89
+ const classMap = this.getCssClassMap();
90
+ const colorClass = this.addWhiteClass();
91
+ const cutOff = this.getLineCuttoff();
92
+ return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
93
+ }
94
+ getCssClassMap() {
95
+ return {
96
+ [this.fontSize]: true,
97
+ [this.fontWeight]: true,
98
+ [this.paraStyle]: true,
99
+ [this.paraMargin]: !!this.paraMargin ? true : false,
100
+ [this.paraColor]: true,
101
+ [this.paraLineH]: true,
102
+ [this.paraAlign]: !!this.paraAlign ? true : false,
103
+ ['ellipsis-boxing']: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
104
+ ['line-clamp-title']: this.maxLines && this.maxLines > 0, //tooltip code,
105
+ };
106
+ }
107
+ //WEB-2392
108
+ addWhiteClass() {
109
+ if (this.paraColor == 'white') {
110
+ return {
111
+ [this.paraColor]: true,
112
+ };
113
+ }
114
+ }
115
+ getLineCuttoff() {
116
+ const lineClamp = this.ellipsisLineCutoff > 0 ? this.ellipsisLineCutoff : this.maxLines;
117
+ return lineClamp > 0 ? { '-webkit-line-clamp': `${lineClamp}` } : {};
118
+ }
119
+ get el() { return getElement(this); }
120
+ };
121
+ PtcPara.style = ptcParaCss;
122
+
123
+ export { PtcPara as ptc_para };
@@ -1,5 +1,5 @@
1
1
  import { r as registerInstance, h, H as Host, g as getElement, F as Fragment } from './index-c83db688.js';
2
- import { b as generateUUID, d as debounce } from './utils-ff65c75b.js';
2
+ import { g as generateUUID, d as debounce } from './utils-63eab4bd.js';
3
3
 
4
4
  const ptcPricingPackagingTableCss = "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 #pricing-table{position:relative;overflow-wrap:break-word}:host #vertical-scroll-content-clipper.normal{display:none}:host #vertical-scroll-content-clipper.sticky{display:block;z-index:20;position:fixed;top:0;width:100%;height:var(--sticky-stop-at, 50px)}:host #table-container{width:100%;overflow-x:auto;border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-small);position:relative}:host #table-body{width:100%;overflow-x:scroll;position:relative}:host .scroll-button{display:flex;align-items:center;position:absolute;z-index:15;height:100%}:host .scroll-button#previous-scroll-button div{margin-right:var(--ptc-element-spacing-02);border-radius:0px var(--ptc-element-spacing-01) var(--ptc-element-spacing-01) 0px}:host .scroll-button#previous-scroll-button div ptc-para{margin-right:var(--ptc-element-spacing-04)}:host .scroll-button#next-scroll-button{transform:translateX(-100%)}:host .scroll-button#next-scroll-button div{margin-left:var(--ptc-element-spacing-02);border-radius:var(--ptc-element-spacing-01) 0px 0px var(--ptc-element-spacing-01)}:host .scroll-button#next-scroll-button div ptc-para{margin-left:var(--ptc-element-spacing-04)}:host .scroll-button div{display:inline-block;width:fit-content;height:36px;background-color:white;color:black;box-shadow:var(--ptc-shadow-x-medium);display:flex;justify-content:center;align-items:center}:host .scroll-button div icon-asset{display:flex;justify-content:center;align-items:center;width:36px;height:100%}:host .scroll-button div ptc-para{display:none;white-space:nowrap}:host .scroll-button div:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .table-filler-cell{display:none;min-width:var(--filler-cell-width, 0px);max-width:var(--filler-cell-width, 0px);height:100%;box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-bottom:1px solid var(--color-gray-02)}:host .table-filler-cell.show{display:table-cell}:host #table-header{display:table-row;background:var(--color-gray-10);color:white;z-index:10}:host #table-header.normal{position:relative}:host #table-header.sticky{position:fixed;top:var(--sticky-stop-at, 50px);border-top-left-radius:var(--ptc-border-radius-standard);border-top-right-radius:var(--ptc-border-radius-standard);overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none;box-shadow:0 16px 16px -16px grey}:host #table-header.sticky::-webkit-scrollbar{display:none}:host #table-header .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header .table-cell.table-last-cell{border-right:none}:host #table-header .table-cell ptc-link a.ptc-link{line-height:var(--ptc-line-height-p)}:host #table-header .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host #table-header-placeholder.normal{position:absolute;top:0;display:table-row;opacity:0}:host #table-header-placeholder.sticky{position:relative;display:table-row;opacity:0;overflow-x:hidden;-ms-overflow-style:none;scrollbar-width:none}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);text-align:center;display:table-cell;vertical-align:middle}:host #table-header-placeholder .table-cell.table-last-cell{border-right:none}:host #table-header-placeholder .table-filler-cell{border-bottom:none;border-left:1px solid var(--color-gray-07)}:host .desktop-header-first-cell{display:table-cell;position:sticky;left:0;z-index:10}:host .mobile-sticky-row-header{display:block;position:sticky;left:0;background-color:var(--color-gray-01);border-bottom:1px solid var(--color-gray-02);padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}:host .table-row{display:table-row;background-color:white}:host .table-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-row .table-cell.table-last-cell{border-right:none}:host .table-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}:host .table-cta-row{display:table-row;background-color:white}:host .table-cta-row .table-cell{min-width:var(--cell-width-xxs, 180px);max-width:var(--cell-width-xxs, 180px);box-sizing:content-box;padding:var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);text-align:center;display:table-cell;vertical-align:middle}:host .table-cta-row .table-cell.table-last-cell{border-right:none}:host .table-cta-row .table-filler-cell{border-left:1px solid var(--color-gray-02)}@media only screen and (min-width: 768px){:host .table-descriptor{max-width:768px;margin:auto}}@media only screen and (min-width: 992px){:host .scroll-button{height:100%;top:0}:host .scroll-button div ptc-para{display:none}:host .scroll-button div:hover{cursor:pointer}:host .scroll-button div:hover ptc-para{display:block}:host .scroll-button#previous-scroll-button{right:0;transform:translateX(100%)}:host #horizontal-scroll-shadow{display:block;position:absolute;top:0;left:0;height:100%;width:var(--ptc-element-spacing-06);background:linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%);z-index:1}:host #table-header.sticky{box-shadow:none}:host #table-header .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header .last-column-tooltip .tooltip{right:4px}:host #table-header-placeholder .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host #table-header-placeholder .last-column-tooltip .tooltip{right:-4px}:host .desktop-sticky-row-header{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-02);border-bottom:1px solid var(--color-gray-02);display:table-cell;vertical-align:middle;position:sticky;left:0;background-color:white;z-index:5}:host .desktop-sticky-row-header.desktop-alternate-row{background-color:var(--color-gray-01)}:host .desktop-header-first-cell{min-width:var(--desktop-row-header-cell-width-md, 275px);max-width:var(--desktop-row-header-cell-width-md, 275px);box-sizing:content-box;padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06) var(--ptc-element-spacing-04) var(--ptc-element-spacing-06);border-right:1px solid var(--color-gray-07);display:table-cell;vertical-align:middle;position:sticky;left:0;z-index:10;background:var(--color-gray-10)}:host .table-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-row.desktop-alternate-row{background-color:var(--color-gray-01)}:host .mobile-sticky-row-header{display:none}:host .table-cta-row{display:table-row}:host .table-cta-row .table-cell{min-width:var(--cell-width-md, 225px);max-width:var(--cell-width-md, 225px)}:host .table-cta-row .last-column-tooltip .tooltip{right:-4px}}";
5
5