@ptcwebops/ptcw-design 6.4.12 → 6.4.13

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 (114) hide show
  1. package/dist/cjs/{component-35540bfb.js → component-06dda623.js} +1 -1
  2. package/dist/cjs/{component-1b8ad4d2.js → component-5b5b6a98.js} +1 -1
  3. package/dist/cjs/icon-asset_14.cjs.entry.js +1911 -0
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/cjs/ptc-data-lookup.cjs.entry.js +2 -2
  6. package/dist/cjs/ptc-form-checkbox_2.cjs.entry.js +1 -1
  7. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +2 -2
  8. package/dist/cjs/ptc-search-field.cjs.entry.js +95 -0
  9. package/dist/cjs/ptcw-design.cjs.js +1 -1
  10. package/dist/collection/components/ptc-subnav-v2/ptc-subnav-v2.js +2 -1
  11. package/dist/custom-elements/index.js +3 -2
  12. package/dist/esm/blog-detail-content_2.entry.js +1 -1
  13. package/dist/esm/blog-detail-layout.entry.js +1 -1
  14. package/dist/esm/blogs-search-section.entry.js +1 -1
  15. package/dist/esm/{component-8c53e377.js → component-274da230.js} +1 -1
  16. package/dist/esm/{component-9beac35b.js → component-341e4eaa.js} +1 -1
  17. package/dist/esm/homepage-jumbotron.entry.js +1 -1
  18. package/dist/esm/homepage-toggled-content.entry.js +1 -1
  19. package/dist/esm/icon-asset_14.entry.js +1894 -0
  20. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/esm/most-popular-news.entry.js +1 -1
  23. package/dist/esm/my-component.entry.js +1 -1
  24. package/dist/esm/ptc-accordion-item.entry.js +1 -1
  25. package/dist/esm/ptc-collapse-list.entry.js +1 -1
  26. package/dist/esm/ptc-data-lookup.entry.js +2 -2
  27. package/dist/esm/ptc-form-checkbox_2.entry.js +2 -2
  28. package/dist/esm/ptc-homepage-image-feature.entry.js +1 -1
  29. package/dist/esm/ptc-homepage-video-background.entry.js +1 -1
  30. package/dist/esm/ptc-icon-card.entry.js +1 -1
  31. package/dist/esm/ptc-link.entry.js +1 -1
  32. package/dist/esm/ptc-media-card.entry.js +1 -1
  33. package/dist/esm/ptc-multi-select_2.entry.js +3 -3
  34. package/dist/esm/ptc-pricing-packaging-table.entry.js +1 -1
  35. package/dist/esm/ptc-pricing-tabs.entry.js +1 -1
  36. package/dist/esm/ptc-search-field.entry.js +91 -0
  37. package/dist/esm/ptc-social-icons-footer.entry.js +1 -1
  38. package/dist/esm/ptcw-design.js +1 -1
  39. package/dist/esm/{utils-bdd0cc16.js → utils-a64ba942.js} +1 -1
  40. package/dist/ptcw-design/{p-2efd18d8.entry.js → p-0824f503.entry.js} +1 -1
  41. package/dist/ptcw-design/{p-bb86265c.entry.js → p-140c134e.entry.js} +1 -1
  42. package/dist/ptcw-design/{p-c7e948b2.js → p-22cf00e7.js} +1 -1
  43. package/dist/ptcw-design/{p-a318a793.entry.js → p-2fa5814b.entry.js} +1 -1
  44. package/dist/ptcw-design/{p-c101aeb5.entry.js → p-32bbcb5a.entry.js} +1 -1
  45. package/dist/ptcw-design/{p-b154bbdb.entry.js → p-3596ce5a.entry.js} +1 -1
  46. package/dist/ptcw-design/{p-2f7b6437.entry.js → p-681d26ef.entry.js} +1 -1
  47. package/dist/ptcw-design/{p-7777753a.entry.js → p-7524411a.entry.js} +1 -1
  48. package/dist/ptcw-design/p-809f3878.entry.js +1 -0
  49. package/dist/ptcw-design/{p-850e6e8c.entry.js → p-83632220.entry.js} +1 -1
  50. package/dist/ptcw-design/{p-87215e3a.entry.js → p-87a9a028.entry.js} +1 -1
  51. package/dist/ptcw-design/{p-a81833cd.entry.js → p-9461c4eb.entry.js} +1 -1
  52. package/dist/ptcw-design/{p-804dac0c.entry.js → p-a31f22a1.entry.js} +1 -1
  53. package/dist/ptcw-design/{p-d3c11c68.entry.js → p-b9966f20.entry.js} +1 -1
  54. package/dist/ptcw-design/{p-75c8fceb.entry.js → p-bdb2e42c.entry.js} +1 -1
  55. package/dist/ptcw-design/{p-98844b50.js → p-be533f0d.js} +1 -1
  56. package/dist/ptcw-design/{p-19832538.entry.js → p-bf15988f.entry.js} +1 -1
  57. package/dist/ptcw-design/{p-8234aa2a.entry.js → p-c1302aea.entry.js} +1 -1
  58. package/dist/ptcw-design/{p-03a1e1a5.entry.js → p-d8c1a14a.entry.js} +1 -1
  59. package/dist/ptcw-design/{p-83dabf2e.entry.js → p-e2da8109.entry.js} +1 -1
  60. package/dist/ptcw-design/p-e50a5a46.entry.js +1 -0
  61. package/dist/ptcw-design/{p-a28ff90b.entry.js → p-e51bb274.entry.js} +1 -1
  62. package/dist/ptcw-design/p-eabf87be.entry.js +1 -0
  63. package/dist/ptcw-design/{p-e65cbdb9.entry.js → p-edaf241d.entry.js} +1 -1
  64. package/dist/ptcw-design/{p-5b00a563.entry.js → p-fa045097.entry.js} +1 -1
  65. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  66. package/package.json +1 -1
  67. package/readme.md +1 -1
  68. package/dist/cjs/icon-asset_2.cjs.entry.js +0 -154
  69. package/dist/cjs/interfaces-574e6df7.js +0 -15
  70. package/dist/cjs/list-item.cjs.entry.js +0 -52
  71. package/dist/cjs/max-width-container.cjs.entry.js +0 -54
  72. package/dist/cjs/ptc-background-video.cjs.entry.js +0 -152
  73. package/dist/cjs/ptc-breadcrumb.cjs.entry.js +0 -53
  74. package/dist/cjs/ptc-button.cjs.entry.js +0 -117
  75. package/dist/cjs/ptc-img.cjs.entry.js +0 -136
  76. package/dist/cjs/ptc-jumbotron.cjs.entry.js +0 -184
  77. package/dist/cjs/ptc-para.cjs.entry.js +0 -139
  78. package/dist/cjs/ptc-picture.cjs.entry.js +0 -185
  79. package/dist/cjs/ptc-spacer.cjs.entry.js +0 -38
  80. package/dist/cjs/ptc-subnav-v2.cjs.entry.js +0 -533
  81. package/dist/cjs/ptc-title.cjs.entry.js +0 -161
  82. package/dist/cjs/ptc-tooltip.cjs.entry.js +0 -113
  83. package/dist/esm/icon-asset_2.entry.js +0 -149
  84. package/dist/esm/interfaces-4caedd26.js +0 -12
  85. package/dist/esm/list-item.entry.js +0 -48
  86. package/dist/esm/max-width-container.entry.js +0 -50
  87. package/dist/esm/ptc-background-video.entry.js +0 -148
  88. package/dist/esm/ptc-breadcrumb.entry.js +0 -49
  89. package/dist/esm/ptc-button.entry.js +0 -113
  90. package/dist/esm/ptc-img.entry.js +0 -132
  91. package/dist/esm/ptc-jumbotron.entry.js +0 -180
  92. package/dist/esm/ptc-para.entry.js +0 -135
  93. package/dist/esm/ptc-picture.entry.js +0 -181
  94. package/dist/esm/ptc-spacer.entry.js +0 -34
  95. package/dist/esm/ptc-subnav-v2.entry.js +0 -529
  96. package/dist/esm/ptc-title.entry.js +0 -157
  97. package/dist/esm/ptc-tooltip.entry.js +0 -109
  98. package/dist/ptcw-design/p-07b1afd5.entry.js +0 -1
  99. package/dist/ptcw-design/p-1acd3617.entry.js +0 -1
  100. package/dist/ptcw-design/p-2e288e60.entry.js +0 -1
  101. package/dist/ptcw-design/p-4313edfb.entry.js +0 -1
  102. package/dist/ptcw-design/p-474a9967.entry.js +0 -1
  103. package/dist/ptcw-design/p-561a622f.entry.js +0 -1
  104. package/dist/ptcw-design/p-674c828e.entry.js +0 -1
  105. package/dist/ptcw-design/p-6785dc81.entry.js +0 -1
  106. package/dist/ptcw-design/p-709cc1f0.entry.js +0 -1
  107. package/dist/ptcw-design/p-711bcdad.js +0 -1
  108. package/dist/ptcw-design/p-7226670f.entry.js +0 -1
  109. package/dist/ptcw-design/p-98e2b403.entry.js +0 -1
  110. package/dist/ptcw-design/p-9df3c31f.entry.js +0 -1
  111. package/dist/ptcw-design/p-b3cd2410.entry.js +0 -1
  112. package/dist/ptcw-design/p-d9ec506c.entry.js +0 -1
  113. package/dist/ptcw-design/p-ec22d0b8.entry.js +0 -1
  114. /package/dist/ptcw-design/{p-98426799.js → p-c1513c3f.js} +0 -0
@@ -0,0 +1,1911 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-63ddc79c.js');
6
+ const utils = require('./utils-0ff09a53.js');
7
+
8
+ const iconAssetCss = ".svg-inline--fa.sc-icon-asset,svg.sc-icon-asset:not(:root).svg-inline--fa{overflow:visible}.svg-inline--fa.sc-icon-asset{display:inline-block;font-size:inherit;height:1em;vertical-align:-.125em}.svg-inline--fa.fa-lg.sc-icon-asset{vertical-align:-.225em}.svg-inline--fa.fa-w-1.sc-icon-asset{width:.0625em}.svg-inline--fa.fa-w-2.sc-icon-asset{width:.125em}.svg-inline--fa.fa-w-3.sc-icon-asset{width:.1875em}.svg-inline--fa.fa-w-4.sc-icon-asset{width:.25em}.svg-inline--fa.fa-w-5.sc-icon-asset{width:.3125em}.svg-inline--fa.fa-w-6.sc-icon-asset{width:.375em}.svg-inline--fa.fa-w-7.sc-icon-asset{width:.4375em}.svg-inline--fa.fa-w-8.sc-icon-asset{width:.5em}.svg-inline--fa.fa-w-9.sc-icon-asset{width:.5625em}.svg-inline--fa.fa-w-10.sc-icon-asset{width:.625em}.svg-inline--fa.fa-w-11.sc-icon-asset{width:.6875em}.svg-inline--fa.fa-w-12.sc-icon-asset{width:.75em}.svg-inline--fa.fa-w-13.sc-icon-asset{width:.8125em}.svg-inline--fa.fa-w-14.sc-icon-asset{width:.875em}.svg-inline--fa.fa-w-15.sc-icon-asset{width:.9375em}.svg-inline--fa.fa-w-16.sc-icon-asset{width:1em}.svg-inline--fa.fa-w-17.sc-icon-asset{width:1.0625em}.svg-inline--fa.fa-w-18.sc-icon-asset{width:1.125em}.svg-inline--fa.fa-w-19.sc-icon-asset{width:1.1875em}.svg-inline--fa.fa-w-20.sc-icon-asset{width:1.25em}.svg-inline--fa.fa-pull-left.sc-icon-asset{margin-right:.3em;width:auto}.svg-inline--fa.fa-pull-right.sc-icon-asset{margin-left:.3em;width:auto}.svg-inline--fa.fa-border.sc-icon-asset{height:1.5em}.svg-inline--fa.fa-li.sc-icon-asset{width:2em}.svg-inline--fa.fa-fw.sc-icon-asset{width:1.25em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers.sc-icon-asset{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers.sc-icon-asset svg.svg-inline--fa.sc-icon-asset{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset,.fa-layers-text.sc-icon-asset{display:inline-block;position:absolute;text-align:center}.fa-layers-text.sc-icon-asset{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter.sc-icon-asset{background-color:#ff253a;border-radius:1em;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;height:1.5em;line-height:1;max-width:5em;min-width:1.5em;overflow:hidden;padding:.25em;right:0;text-overflow:ellipsis;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right.sc-icon-asset{bottom:0;right:0;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left.sc-icon-asset{bottom:0;left:0;right:auto;top:auto;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right.sc-icon-asset{right:0;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left.sc-icon-asset{left:0;right:auto;top:0;-webkit-transform:scale(.25);transform:scale(.25);-webkit-transform-origin:top left;transform-origin:top left}.fa-lg.sc-icon-asset{font-size:1.33333em;line-height:.75em;vertical-align:-.0667em}.fa-xs.sc-icon-asset{font-size:.75em}.fa-sm.sc-icon-asset{font-size:.875em}.fa-1x.sc-icon-asset{font-size:1em}.fa-2x.sc-icon-asset{font-size:2em}.fa-3x.sc-icon-asset{font-size:3em}.fa-4x.sc-icon-asset{font-size:4em}.fa-5x.sc-icon-asset{font-size:5em}.fa-6x.sc-icon-asset{font-size:6em}.fa-7x.sc-icon-asset{font-size:7em}.fa-8x.sc-icon-asset{font-size:8em}.fa-9x.sc-icon-asset{font-size:9em}.fa-10x.sc-icon-asset{font-size:10em}.fa-fw.sc-icon-asset{text-align:center;width:1.25em}.fa-ul.sc-icon-asset{list-style-type:none;margin-left:2.5em;padding-left:0}.fa-ul.sc-icon-asset>li.sc-icon-asset{position:relative}.fa-li.sc-icon-asset{left:-2em;position:absolute;text-align:center;width:2em;line-height:inherit}.fa-border.sc-icon-asset{border:.08em solid #eee;border-radius:.1em;padding:.2em .25em .15em}.fa-pull-left.sc-icon-asset{float:left}.fa-pull-right.sc-icon-asset{float:right}.fa.fa-pull-left.sc-icon-asset,.fab.fa-pull-left.sc-icon-asset,.fal.fa-pull-left.sc-icon-asset,.far.fa-pull-left.sc-icon-asset,.fas.fa-pull-left.sc-icon-asset{margin-right:.3em}.fa.fa-pull-right.sc-icon-asset,.fab.fa-pull-right.sc-icon-asset,.fal.fa-pull-right.sc-icon-asset,.far.fa-pull-right.sc-icon-asset,.fas.fa-pull-right.sc-icon-asset{margin-left:.3em}.fa-spin.sc-icon-asset{-webkit-animation:fa-spin 2s linear infinite;animation:fa-spin 2s linear infinite}.fa-pulse.sc-icon-asset{-webkit-animation:fa-spin 1s steps(8) infinite;animation:fa-spin 1s steps(8) infinite}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=1)\";-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2)\";-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=3)\";-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)\";-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical.sc-icon-asset{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset,.fa-flip-vertical.sc-icon-asset{-ms-filter:\"progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)\"}.fa-flip-both.sc-icon-asset,.fa-flip-horizontal.fa-flip-vertical.sc-icon-asset{-webkit-transform:scale(-1);transform:scale(-1)}.sc-icon-asset:root .fa-flip-both.sc-icon-asset,.sc-icon-asset:root .fa-flip-horizontal.sc-icon-asset,.sc-icon-asset:root .fa-flip-vertical.sc-icon-asset,.sc-icon-asset:root .fa-rotate-90.sc-icon-asset,.sc-icon-asset:root .fa-rotate-180.sc-icon-asset,.sc-icon-asset:root .fa-rotate-270.sc-icon-asset{-webkit-filter:none;filter:none}.fa-stack.sc-icon-asset{display:inline-block;height:2em;position:relative;width:2.5em}.fa-stack-1x.sc-icon-asset,.fa-stack-2x.sc-icon-asset{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.svg-inline--fa.fa-stack-1x.sc-icon-asset{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x.sc-icon-asset{height:2em;width:2.5em}.fa-inverse.sc-icon-asset{color:#fff}.sr-only.sc-icon-asset{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.sr-only-focusable.sc-icon-asset:active,.sr-only-focusable.sc-icon-asset:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.svg-inline--fa.sc-icon-asset .fa-primary.sc-icon-asset{fill:var(--fa-primary-color,currentColor);opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa.sc-icon-asset .fa-secondary.sc-icon-asset,.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-primary.sc-icon-asset{opacity:.4;opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity.sc-icon-asset .fa-secondary.sc-icon-asset{opacity:1;opacity:var(--fa-primary-opacity,1)}.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-primary.sc-icon-asset,.svg-inline--fa.sc-icon-asset mask.sc-icon-asset .fa-secondary.sc-icon-asset{fill:#000}.fad.fa-inverse.sc-icon-asset{color:#fff}h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-icon-asset,h2.sc-icon-asset,h3.sc-icon-asset,h4.sc-icon-asset,h5.sc-icon-asset,h6.sc-icon-asset,p.sc-icon-asset,ul.sc-icon-asset,li.sc-icon-asset,ptc-subnav.sc-icon-asset,ptc-tab-list.sc-icon-asset,ptc-link.sc-icon-asset,ptc-square-card.sc-icon-asset,.hyphenate-text.sc-icon-asset,ptc-footer.sc-icon-asset{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}icon-asset.sc-icon-asset{vertical-align:middle}svg.sc-icon-asset{transition:all var(--ptc-transition-medium) var(--ptc-ease-inout)}svg.micro.sc-icon-asset{width:calc(var(--ptc-font-size-x-small) / 2);height:calc(var(--ptc-font-size-x-small) / 2)}svg.xxx-small.sc-icon-asset{width:var(--ptc-font-size-xxx-small);height:var(--ptc-font-size-xxx-small)}svg.xx-small.sc-icon-asset{width:var(--ptc-font-size-xx-small);height:var(--ptc-font-size-xx-small)}svg.x-small.sc-icon-asset{width:var(--ptc-font-size-x-small);height:var(--ptc-font-size-x-small)}svg.small.sc-icon-asset{width:var(--ptc-font-size-small);height:var(--ptc-font-size-small)}svg.medium.sc-icon-asset{width:var(--ptc-font-size-medium);height:var(--ptc-font-size-medium)}svg.large.sc-icon-asset{width:var(--ptc-font-size-large);height:var(--ptc-font-size-large)}svg.x-large.sc-icon-asset{width:var(--ptc-font-size-x-large);height:var(--ptc-font-size-x-large)}svg.xx-large.sc-icon-asset{width:var(--ptc-font-size-xx-large);height:var(--ptc-font-size-xx-large)}svg.xxx-large.sc-icon-asset{width:var(--ptc-font-size-xxx-large);height:var(--ptc-font-size-xxx-large)}svg.xxxx-large.sc-icon-asset{width:var(--ptc-font-size-xxxx-large);height:var(--ptc-font-size-xxxx-large)}svg.white.sc-icon-asset{fill:var(--color-white)}svg.white.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.white.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-white)}svg.black.sc-icon-asset{fill:var(--color-black)}svg.black.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.black.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-black)}svg.ptc-green.sc-icon-asset{fill:var(--color-green-07)}svg.ptc-green.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.ptc-green.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-green-07)}svg.gray.sc-icon-asset{fill:var(--color-gray-06)}svg.gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-06)}svg.light-gray.sc-icon-asset{fill:var(--color-gray-05)}svg.light-gray.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.light-gray.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-05)}svg.disabled.sc-icon-asset{fill:var(--color-gray-03)}svg.disabled.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.disabled.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.disabled.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:var(--color-gray-03)}svg.primary-gray.sc-icon-asset{fill:var(--color-gray-10)}svg.inherit.sc-icon-asset{fill:inherit}svg.inherit.sc-icon-asset use[href$=\"#minus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#plus\"].sc-icon-asset,svg.inherit.sc-icon-asset use[href$=\"#checkmark\"].sc-icon-asset{stroke:inherit}svg.sc-icon-asset:focus{outline:none !important}svg[tabIndex=\"0\"].sc-icon-asset:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}svg[tabIndex=\"0\"].sc-icon-asset:focus{outline:none !important}";
9
+
10
+ const IconAsset = class {
11
+ constructor(hostRef) {
12
+ index.registerInstance(this, hostRef);
13
+ this.ready = index.createEvent(this, "ready", 7);
14
+ this.regularSprite = index.getAssetPath("./media/regular.svg");
15
+ this.solidSprite = index.getAssetPath("./media/solid.svg");
16
+ this.brandSprite = index.getAssetPath("./media/brands.svg");
17
+ this.ptcSprite = index.getAssetPath("./media/designer-v6.0.7.svg");
18
+ this.name = undefined;
19
+ this.size = "xx-small";
20
+ this.type = "regular";
21
+ this.spin = "";
22
+ this.pulse = "";
23
+ this.color = "default";
24
+ this.isMobileSelect = undefined;
25
+ this.injectedStyle = undefined;
26
+ this.focusOn = false;
27
+ this.trackerId = "";
28
+ }
29
+ componentDidLoad() {
30
+ this.ready.emit({
31
+ "regular-icons": this.regularSprite,
32
+ "sold-icons": this.solidSprite,
33
+ "brand-icons": this.brandSprite,
34
+ "ptc-icons": this.ptcSprite,
35
+ });
36
+ }
37
+ render() {
38
+ const classMap = this.getCssClassMap();
39
+ if (this.type == "brands") {
40
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), 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, this.injectedStyle && index.h("style", null, this.injectedStyle), 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, this.injectedStyle && index.h("style", null, this.injectedStyle), index.h("svg", { class: classMap, "aria-hidden": this.isMobileSelect && "true", tabindex: this.focusOn ? 0 : -1, id: this.trackerId }, index.h("use", { href: `${this.ptcSprite}#${this.name}` }))));
47
+ }
48
+ else {
49
+ return (index.h(index.Host, null, this.injectedStyle && index.h("style", null, this.injectedStyle), 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
+ ["ismobileselect"]: this.isMobileSelect ? true : false,
59
+ ["mf-listen"]: this.trackerId !== "" ? true : false,
60
+ };
61
+ }
62
+ static get assetsDirs() { return ["media"]; }
63
+ };
64
+ IconAsset.style = iconAssetCss;
65
+
66
+ const listItemCss = "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(.list-primary){display:block}:host(.flush-before) li::before{content:\"\" !important}:host(.breadcrumb){display:inline-block}:host(.breadcrumb) li{position:relative;display:inline-block;color:var(--color-white);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);display:flex;align-items:baseline}:host(.breadcrumb) li::before{content:\"/\";top:0;left:0;margin-left:2px}:host(.breadcrumb) li a.item-link{color:var(--color-white);font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host(.breadcrumb) li a.item-link:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}:host(.breadcrumb) li a.item-link:focus-visible{transition:none;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);padding-bottom:5px;padding-right:5px}:host(.breadcrumb-center) li{display:inline}:host(.list-green){display:block;margin-bottom:16px}:host(.list-green) li a{font-size:var(--ptc-font-size-xx-small);color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:1.5px;text-decoration-color:var(--color-green-04);font-weight:var(--ptc-font-weight-bold);transition:color var(--ptc-transition-medium) var(--ptc-ease-inout);line-height:var(--ptc-line-height-p);text-underline-offset:4px}:host(.list-green) li a:hover{color:var(--color-green-04)}:host(:not(.flush-before)) li::before{margin-right:2px}:host(.list-footer) li{display:inline-block;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-regular);font-style:normal;font-stretch:normal;line-height:var(--ptc-line-height-denser);letter-spacing:normal;color:var(--color-white);margin:0 0.5rem}:host(.list-footer) li a{color:var(--color-white-grey);border-bottom:1px solid transparent;display:inline-block;text-decoration:none}:host(.list-footer) li a:hover,:host(.list-footer) li a:focus{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey);transition:border var(--ptc-ease-inout) var(--ptc-transition-medium)}:host(.list-footer) li a:active{text-decoration:none;border-bottom:1px solid var(--color-green-06);color:var(--color-white-grey)}:host(.list-footer) li a:focus{outline:3px solid var(--color-blue-07);outline-offset:2px;border-radius:var(--ptc-border-radius-standard);text-decoration:none;border-color:transparent !important}:host(.list-footer) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);transition:none !important;border-color:white !important}:host(.white) li{color:var(--color-white)}:host(.white) li a.item-link{color:var(--color-white)}:host(.light-gray) li{color:var(--color-gray-01)}:host(.light-gray) li a.item-link{color:var(--color-gray-01)}:host(.primary-gray) li{color:var(--color-gray-10)}:host(.primary-gray) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li{color:var(--color-gray-10);list-style:none;-webkit-text-decoration:underline 1px solid;text-decoration:underline 1px solid;text-underline-offset:2px;line-height:var(--ptc-line-height-p)}:host(.list-underline) li a{display:inline-block;padding:4px 0}:host(.list-underline) li a.item-link{color:var(--color-gray-10)}:host(.list-underline) li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host li .has-before-home-icon{display:block}@media only screen and (min-width: 480px){:host li .has-before-home-icon{display:none}}";
67
+
68
+ const ListItem = class {
69
+ constructor(hostRef) {
70
+ index.registerInstance(this, hostRef);
71
+ this.listType = "list-primary";
72
+ this.linkHref = undefined;
73
+ this.flushBefore = false;
74
+ this.linkTarget = "_self";
75
+ this.hasBeforeHomeIcon = false;
76
+ this.trackerId = undefined;
77
+ this.color = undefined;
78
+ this.styles = undefined;
79
+ this.ariaLabel = "";
80
+ }
81
+ render() {
82
+ const classMap = this.getCssClassMap();
83
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("li", { id: this.trackerId }, this.linkHref ? (index.h("a", Object.assign({ class: "item-link", target: this.linkTarget }, (this.linkHref ? { href: this.linkHref } : {}), (this.ariaLabel !== ""
84
+ ? { "aria-label": this.ariaLabel }
85
+ : {}), { tabindex: "0" }), index.h("slot", null))) : (index.h("slot", null)))));
86
+ }
87
+ getCssClassMap() {
88
+ let bcEnable = false;
89
+ if (this.hostElement && this.hostElement.parentElement) {
90
+ try {
91
+ bcEnable =
92
+ this.hostElement.parentElement.classList.contains("center") &&
93
+ this.hostElement.parentElement.tagName === "PTC-BREADCRUMB";
94
+ }
95
+ catch (err) {
96
+ console.log(err);
97
+ }
98
+ }
99
+ return {
100
+ [this.listType]: true,
101
+ ["flush-before"]: this.flushBefore ? true : false,
102
+ [this.color]: !!this.color ? true : false,
103
+ ["breadcrumb-center"]: bcEnable,
104
+ ["mf-listen"]: true,
105
+ };
106
+ }
107
+ get hostElement() { return index.getElement(this); }
108
+ };
109
+ ListItem.style = listItemCss;
110
+
111
+ const maxWidthContainerCss = ":host{display:block}:host(.left){margin:auto auto auto 0}:host(.right){margin:auto 0 auto auto}:host(.center){margin:0 auto}";
112
+
113
+ const MaxWidthContainer = class {
114
+ constructor(hostRef) {
115
+ index.registerInstance(this, hostRef);
116
+ this.maxWidthP = undefined;
117
+ this.maxWidth = undefined;
118
+ this.breakpoint = 768;
119
+ this.contentAlign = "center";
120
+ this.styles = undefined;
121
+ }
122
+ componentDidLoad() {
123
+ this.handleResize();
124
+ window.addEventListener("resize", this.handleResize.bind(this));
125
+ }
126
+ disconnectedCallback() {
127
+ window.removeEventListener("resize", this.handleResize);
128
+ }
129
+ render() {
130
+ const classMap = this.getCssClassMap();
131
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("slot", null)));
132
+ }
133
+ getCssClassMap() {
134
+ return {
135
+ [this.contentAlign]: true,
136
+ };
137
+ }
138
+ handleResize() {
139
+ // const selectedContainer = this.el.querySelector('.max-width-container');
140
+ if (this.el) {
141
+ if (window.innerWidth >= this.breakpoint) {
142
+ if (this.maxWidthP) {
143
+ this.el.style.maxWidth = `${this.maxWidthP}%`;
144
+ }
145
+ else {
146
+ this.el.style.maxWidth = `${this.maxWidth}px`;
147
+ }
148
+ }
149
+ else {
150
+ this.el.style.maxWidth = "initial";
151
+ }
152
+ }
153
+ }
154
+ get el() { return index.getElement(this); }
155
+ };
156
+ MaxWidthContainer.style = maxWidthContainerCss;
157
+
158
+ const ptcBackgroundVideoCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;position:relative}:host video{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100;-o-object-fit:cover;object-fit:cover}:host .video-overlay{z-index:1;display:block;position:absolute;width:100%;height:100%;top:0;left:0;opacity:0.8;background-image:linear-gradient(270deg, rgba(30, 38, 38, 0) 26%, #1e2626)}:host .video-overlay.dark{background-color:rgba(0, 0, 0, 0.6)}:host(.legacy){display:block;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host(.legacy) video{-o-object-fit:cover;object-fit:cover;position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden}:host .iframe-wrapper{position:absolute;top:0px;left:0px;right:0;width:100%;height:100%;overflow:hidden;pointer-events:none;z-index:-100}:host .iframe-wrapper .background-video-embed{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:100%;height:100%}:host .iframe-wrapper .player .vp-video-wrapper .vp-telecine-cover video{-o-object-fit:cover;object-fit:cover}:host .play-button{position:absolute;top:1.5rem;right:1.5rem;width:34px;height:34px;z-index:99}@media (min-width: 768px){:host .play-button.top-right{top:2rem;right:2rem}}:host .play-button.top-left{right:unset;top:1.5rem;left:1.5rem}@media (min-width: 768px){:host .play-button.top-left{bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-left{top:unset;right:unset;bottom:3.75rem;left:2rem}}@media (min-width: 768px){:host .play-button.bottom-right{top:unset;bottom:3.75rem;right:2rem}}:host .play-button.allbp-bottom-right{top:unset;bottom:4.75rem;right:2rem}:host .play-button button{display:inline-block;padding:5px;position:relative;top:-5px;left:-5px;cursor:pointer}@media only screen and (min-width: 768px){:host .play-button button{top:auto;left:auto}}@media only screen and (min-width: 992px){:host .play-button button{padding:0}}:host .play-button button.bg-svg-play,:host .play-button button.bg-svg-pause{background-repeat:no-repeat;background-size:18px 18px;background-position:center;background-color:var(--color-white);width:34px;height:34px;box-shadow:0px 4px 8px 0px rgba(0, 0, 0, 0.24);border-radius:4px;border:2px solid var(--color-gray-10)}:host .play-button button.bg-svg-play:hover,:host .play-button button.bg-svg-pause:hover{background-color:var(--color-gray-02)}:host .play-button button.bg-svg-play:active,:host .play-button button.bg-svg-pause:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play.active:hover,:host .play-button button.bg-svg-pause.active:hover{background-color:var(--color-gray-05)}:host .play-button button.bg-svg-play.active:active,:host .play-button button.bg-svg-pause.active:active{transition:none;background-color:var(--color-gray-03)}:host .play-button button.bg-svg-play:focus,:host .play-button button.bg-svg-pause:focus{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host .play-button button.bg-svg-play{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 12 18\" id=\"play\"><path d=\"M11.9625 9L0.0374756 0V18L11.9625 9Z\"></path></svg>')}:host .play-button button.bg-svg-pause{background-image:url('data:image/svg+xml,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 14 18\" id=\"pause\"><path id=\"rect28\" d=\"M 0,0 H 4 V 18 H 0 Z\"></path><path id=\"rect30\" d=\"m 10,0 h 4 v 18 h -4 z\"></path></svg>')}:host{display:block;position:relative}:host .media{position:absolute;inset:0;overflow:hidden}:host .background-video,:host .bg-fallback{position:absolute;inset:0;width:100%;height:100%;-o-object-fit:cover;object-fit:cover}:host .bg-fallback{display:block}";
159
+
160
+ const PtcBackgroundVideo = class {
161
+ constructor(hostRef) {
162
+ index.registerInstance(this, hostRef);
163
+ /** Ensure the first frame is painted and paused. */
164
+ this.showFirstFrame = (v) => {
165
+ v.preload = "auto";
166
+ v.removeAttribute("autoplay");
167
+ v.loop = false;
168
+ const paint = () => {
169
+ try {
170
+ //v.currentTime = 0;
171
+ // If a browser still paints black, try this tiny nudge:
172
+ v.currentTime = 0.1;
173
+ }
174
+ catch (_a) { }
175
+ v.pause();
176
+ };
177
+ if (v.readyState >= 2 /* HAVE_CURRENT_DATA, have enough data */) {
178
+ paint();
179
+ }
180
+ else {
181
+ const onLoaded = () => {
182
+ v.removeEventListener("loadeddata", onLoaded);
183
+ paint();
184
+ };
185
+ v.addEventListener("loadeddata", onLoaded, { once: true });
186
+ v.load();
187
+ }
188
+ };
189
+ this.videoSrc = undefined;
190
+ this.posterSrc = undefined;
191
+ this.overlay = true;
192
+ this.overlayType = "standard";
193
+ this.playButtonTitle = undefined;
194
+ this.pauseButtonTitle = undefined;
195
+ this.buttonLocation = "bottom-right";
196
+ this.buttonTabIndex = 0;
197
+ this.trackerId = undefined;
198
+ this.defer = undefined;
199
+ this.type = "default";
200
+ this.isIframe = false;
201
+ this.paused = undefined;
202
+ this.loadedTrue = false;
203
+ this.reducedMotion = false;
204
+ }
205
+ componentWillLoad() {
206
+ this.paused = false;
207
+ this.reducedMotion = utils.isReducedMotion();
208
+ }
209
+ componentDidLoad() {
210
+ const afterMount = () => {
211
+ this.loadedTrue = true;
212
+ this.syncPlaybackWithPreference();
213
+ };
214
+ if (this.defer) {
215
+ utils.nextUserInteractionEvent(this).then(afterMount);
216
+ }
217
+ else {
218
+ afterMount();
219
+ }
220
+ this.offMotionListener = utils.onReducedMotionChange((reduced) => {
221
+ this.reducedMotion = reduced;
222
+ // Wait a tick for render to reflect state, then sync playback.
223
+ setTimeout(() => this.syncPlaybackWithPreference(), 0);
224
+ });
225
+ }
226
+ disconnectedCallback() {
227
+ var _a;
228
+ (_a = this.offMotionListener) === null || _a === void 0 ? void 0 : _a.call(this);
229
+ }
230
+ syncPlaybackWithPreference() {
231
+ if (this.isIframe) {
232
+ return;
233
+ }
234
+ const v = this.videoEl;
235
+ if (!v)
236
+ return;
237
+ if (this.reducedMotion) {
238
+ // Animations OFF, freeze first frame
239
+ this.showFirstFrame(v);
240
+ this.paused = true; //sync icon state
241
+ }
242
+ else {
243
+ // Animations ON, autoplay unless user paused
244
+ v.preload = "auto";
245
+ v.loop = true;
246
+ if (!this.paused) {
247
+ v.setAttribute("autoplay", "");
248
+ v.play().catch(() => { });
249
+ this.paused = false; //sync icon state
250
+ }
251
+ else {
252
+ v.pause();
253
+ this.paused = true; //sync icon state
254
+ }
255
+ }
256
+ }
257
+ // ------------ Render ------------
258
+ render() {
259
+ const canMountMedia = this.loadedTrue;
260
+ const videoNode = !this.isIframe && canMountMedia && (index.h("video", { class: "background-video", src: this.videoSrc, muted: true, playsinline: true, autoplay: !this.reducedMotion && !this.paused, loop: !this.reducedMotion, preload: "auto", "aria-hidden": "true", tabindex: "-1", ref: (el) => (this.videoEl = el) }));
261
+ const iframeNode = this.isIframe && canMountMedia && (index.h("div", { class: "iframe-wrapper" }, index.h("iframe", { id: "jumbotron-iframe", src: this.videoSrc, frameborder: 0, allow: "autoplay", allowFullScreen: true, class: "background-video-embed", "aria-hidden": "true", tabindex: "-1" })));
262
+ return (index.h(index.Host, { class: this.type }, index.h("div", { class: "media" }, videoNode, iframeNode), !!this.videoSrc && this.playButtonTitle && (index.h("div", { class: `play-button ${this.buttonLocation}` }, this.paused && (index.h("ptc-tooltip", { class: "play-btn", mode: "wrapper", description: this.playButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
263
+ ? "side-left"
264
+ : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h("button", { class: "bg-svg-play", type: "button", tabindex: this.buttonTabIndex, onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Play button" })))), !this.paused && !!this.pauseButtonTitle && (index.h("ptc-tooltip", { class: "pause-btn", mode: "wrapper", description: this.pauseButtonTitle, position: this.buttonLocation === "allbp-bottom-right"
265
+ ? "side-left"
266
+ : "bottom-right", styles: ".wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{min-width:unset!important; white-space: nowrap}" }, index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, index.h("button", { class: "bg-svg-pause", tabindex: this.buttonTabIndex, type: "button", onClick: (e) => this.toggleVideoPlay(e), "aria-label": "Video Pause button" })))))), this.overlay ? index.h("div", { class: `video-overlay ${this.overlayType}` }) : "", this.type === "default" ? index.h("slot", null) : ""));
267
+ }
268
+ toggleVideoPlay(e) {
269
+ e.preventDefault();
270
+ this.paused = !this.paused;
271
+ const v = this.videoEl;
272
+ if (!v)
273
+ return;
274
+ if (this.paused) {
275
+ v.pause();
276
+ }
277
+ else {
278
+ v.loop = true;
279
+ if (!this.reducedMotion)
280
+ v.setAttribute("autoplay", "");
281
+ v.play().catch((z) => console.error(z));
282
+ }
283
+ }
284
+ async pauseVideo() {
285
+ var _a;
286
+ this.paused = true;
287
+ (_a = this.videoEl) === null || _a === void 0 ? void 0 : _a.pause();
288
+ }
289
+ async playVideo() {
290
+ this.paused = false;
291
+ if (this.videoEl) {
292
+ this.videoEl.loop = true;
293
+ if (!this.reducedMotion)
294
+ this.videoEl.setAttribute("autoplay", "");
295
+ this.videoEl.play().catch((z) => console.error(z));
296
+ }
297
+ }
298
+ get el() { return index.getElement(this); }
299
+ };
300
+ PtcBackgroundVideo.style = ptcBackgroundVideoCss;
301
+
302
+ const ptcBreadcrumbCss = "h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-breadcrumb,h2.sc-ptc-breadcrumb,h3.sc-ptc-breadcrumb,h4.sc-ptc-breadcrumb,h5.sc-ptc-breadcrumb,h6.sc-ptc-breadcrumb,p.sc-ptc-breadcrumb,ul.sc-ptc-breadcrumb,li.sc-ptc-breadcrumb,ptc-subnav.sc-ptc-breadcrumb,ptc-tab-list.sc-ptc-breadcrumb,ptc-link.sc-ptc-breadcrumb,ptc-square-card.sc-ptc-breadcrumb,.hyphenate-text.sc-ptc-breadcrumb,ptc-footer.sc-ptc-breadcrumb{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-breadcrumb-h{margin-top:var(--ptc-element-spacing-05);display:flex;align-items:flex-start}.sc-ptc-breadcrumb-h .visually-hidden.sc-ptc-breadcrumb{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{position:relative;list-style:none;margin:0;padding:0 0 0 22px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{position:relative;display:inline;font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-xxx-small);line-height:var(--ptc-line-height-densest);word-break:initial;color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb::before{content:\"/\";margin:0 3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:absolute;left:0;margin-top:-3px}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb::before{display:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{font-weight:var(--ptc-font-weight-bold) !important;font-size:var(--ptc-font-size-xxx-small) !important;line-height:var(--ptc-line-height-densest);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:2px;text-decoration-thickness:1px;outline:none;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout);color:var(--color-white)}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:active{transition:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb:hover{text-decoration:underline;text-decoration-color:var(--color-green-07);outline:none}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline);display:inline-block}.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.breadcrumb-item-link.sc-ptc-breadcrumb:focus-visible.dark-mode-link:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-white)}.white.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-white)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-black)}.black.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-black)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-green-07)}.ptc-green.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-green-07)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-06)}.gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-06)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-05)}.light-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-05)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{color:var(--color-gray-10)}.primary-gray.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb a.sc-ptc-breadcrumb{color:var(--color-gray-10)}.left.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-start;align-items:flex-end}.center.sc-ptc-breadcrumb-h{display:flex;justify-content:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb{padding:0;text-align:center}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.sc-ptc-breadcrumb{display:inline-block}.center.sc-ptc-breadcrumb-h .ptc-breadcrumb-ol.sc-ptc-breadcrumb li.home-link.sc-ptc-breadcrumb{position:relative;left:auto;margin-top:0;vertical-align:text-bottom;margin-bottom:-1px}.right.sc-ptc-breadcrumb-h{display:flex;justify-content:flex-end}.remove-top-margin.sc-ptc-breadcrumb-h{margin-top:0px !important}";
303
+
304
+ const PtcBreadcrumb = class {
305
+ constructor(hostRef) {
306
+ index.registerInstance(this, hostRef);
307
+ this.position = undefined;
308
+ this.removeTopMargin = false;
309
+ this.color = "white";
310
+ this.isDarkMode = false;
311
+ this.styles = undefined;
312
+ }
313
+ componentWillLoad() {
314
+ this.listItems = this.hostElement.querySelectorAll("list-item");
315
+ }
316
+ componentDidLoad() {
317
+ if (this.listItems) {
318
+ this.hostElement.querySelectorAll("list-item").forEach((item) => {
319
+ item.remove();
320
+ });
321
+ }
322
+ }
323
+ render() {
324
+ const classMap = this.getCssClassMap();
325
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("nav", { "aria-label": "Breadcrumb" }, index.h("ol", { class: "ptc-breadcrumb-ol" }, index.h("li", { class: "home-link mf-listen", id: "homeLinkID" }, index.h("a", { href: "/", "aria-label": "Home Link", class: {
326
+ ["breadcrumb-item-link"]: true,
327
+ ["dark-mode-link"]: this.isDarkMode,
328
+ } }, index.h("icon-asset", { type: "ptc", size: "medium", name: "icon-home", color: this.color }))), Array.from(this.listItems).map((item, index$1, array) => {
329
+ const textContent = item.textContent.trim();
330
+ const href = item.getAttribute("link-href");
331
+ return (index.h("li", { key: index$1, class: "mf-listen", id: `breadcrumb` + index$1 + `ID` }, index$1 < array.length - 1 ? (index.h("a", { href: href, target: "_self", class: {
332
+ ["breadcrumb-item-link"]: true,
333
+ ["dark-mode-link"]: this.isDarkMode,
334
+ } }, textContent)) : (textContent), index.h("span", { class: "visually-hidden" }, "/")));
335
+ })))));
336
+ }
337
+ getCssClassMap() {
338
+ return {
339
+ [this.position]: !!this.position && this.position !== undefined ? true : false,
340
+ ["remove-top-margin"]: this.removeTopMargin ? true : false,
341
+ [this.color]: true,
342
+ };
343
+ }
344
+ get hostElement() { return index.getElement(this); }
345
+ };
346
+ PtcBreadcrumb.style = ptcBreadcrumbCss;
347
+
348
+ const ptcButtonCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}button.disabled{pointer-events:none;opacity:0.6}button{background-color:var(--color-gray-10);display:inline-block;border-style:solid;border-width:1px;white-space:normal;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;cursor:pointer;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard)}button.reveal-down .content{transition:opacity var(--ptc-transition-medium) var(--ptc-ease-out);opacity:0;font-size:var(--ptc-font-size-xx-small)}button.reveal-down .icon-wrapper{position:relative;display:flex;align-items:center;justify-content:center;align-content:center;height:16px}button.reveal-down .icon-wrapper .icon{transition:top var(--ptc-transition-fast) var(--ptc-ease-out);position:absolute;display:inline-block;top:-12px}button:hover.reveal-down .content{opacity:1}button:hover.reveal-down .icon-wrapper .icon{top:4px}button.animation-right ::slotted([slot=slot-after-text]),button.animation-right ::slotted([slot=slot-before-text]),button.animation-down ::slotted([slot=slot-after-text]),button.animation-down ::slotted([slot=slot-before-text]){transition:transform var(--ptc-transition-medium) var(--ptc-ease-inout);position:relative;display:inline-block}button:hover.animation-right ::slotted([slot=slot-after-text]),button:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}button:hover.animation-down ::slotted([slot=slot-after-text]),button:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}button span{font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-small);font-weight:bold;line-height:var(--ptc-line-height-densest)}button.left{text-align:left}button.right{text-align:right}button.center{text-align:center}.icon-left ::slotted([slot=slot-before-text]){margin-right:var(--ptc-element-spacing-01)}.icon-right ::slotted([slot=slot-after-text]){margin-left:var(--ptc-element-spacing-01)}.blackgrey{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(285deg, var(--color-gray-10) 155%, var(--color-gray-07) 62%)}.blackgrey:hover{box-shadow:var(--ptc-shadow-x-large)}.blackgrey span{color:var(--color-white)}.turtlegreen{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-green-07);background-image:linear-gradient(285deg, var(--color-green-07) 155%, var(--color-green-07) 62%)}.turtlegreen:hover{box-shadow:var(--ptc-shadow-x-large)}.turtlegreen span{color:var(--color-white)}.offwhite{box-shadow:var(--ptc-shadow-x-small);border:solid 1px var(--color-gray-10);background-image:linear-gradient(to right, var(--color-white), var(--color-gray-02), var(--color-gray-01))}.offwhite:hover{box-shadow:var(--ptc-shadow-x-large)}.offwhite span{color:var(--color-gray-10)}.legacy-green{margin-left:10px;padding:10px 20px;margin-bottom:var(--ptc-element-spacing-01);margin-top:var(--ptc-element-spacing-01);box-shadow:var(--ptc-shadow-large);border:solid 2.5px var(--color-green-08);background-image:linear-gradient(to right, var(--color-green-06), var(--color-green-08))}.legacy-green:after{position:absolute;content:\"\";top:-1px;left:0;bottom:0;right:0;width:100%;height:103%;background-image:linear-gradient(to right, var(--color-green-08), var(--color-green-06));opacity:0;transition:opacity var(--ptc-transition-x-slow) var(--ptc-ease-inout);border-radius:2px}.legacy-green:hover{box-shadow:var(--ptc-shadow-x-large)}.legacy-green:hover span{color:var(--color-white)}.legacy-green:hover:after{opacity:1}.legacy-green span{font-family:var(--ptc-font-secondary-latin);color:var(--color-white);z-index:100;position:relative;text-transform:uppercase;font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-normal);font-size:var(--ptc-font-size-x-small)}@media only screen and (min-width: 768px){.legacy-green span{font-size:var(--ptc-font-size-small);letter-spacing:var(--ptc-letter-spacing-loose)}}.legacy-green icon-asset{display:inline}a{border-style:solid;border-width:1px;position:relative;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;padding:9.4px 17.5px;border-radius:var(--ptc-border-radius-standard);display:inline-block;position:relative}a.animation-right ::slotted([slot=slot-after-text]),a.animation-right ::slotted([slot=slot-before-text]),a.animation-down ::slotted([slot=slot-after-text]),a.animation-down ::slotted([slot=slot-before-text]){transition:all var(--ptc-ease-inout) var(--ptc-transition-medium);position:relative;display:inline-block;margin-left:5px}a:hover.animation-right ::slotted([slot=slot-after-text]),a:hover.animation-right ::slotted([slot=slot-before-text]){transform:translateX(var(--ptc-element-spacing-02))}a:hover.animation-down ::slotted([slot=slot-after-text]),a:hover.animation-down ::slotted([slot=slot-before-text]){transform:translateY(var(--ptc-element-spacing-02))}a.left{text-align:left}a.right{text-align:right}a.center{text-align:center}.nav{font-family:var(--ptc-font-latin);background-color:var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);border:1px solid var(--color-white);border-bottom-style:solid;border-bottom-width:1px;box-sizing:border-box;color:var(--color-white);display:inline-block;font-size:var(--ptc-font-size-xx-small);font-stretch:100%;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-loose);list-style:none;padding:3px var(--ptc-element-spacing-04);position:relative;text-align:center;text-decoration:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;transition:background-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.nav:focus-visible{border-radius:4px !important;border:2px solid #fff !important;outline:5px solid #003dd6 !important;background-color:transparent !important;outline-offset:0px !important}.nav:focus{text-decoration:none;border:solid 2px transparent;outline:none}.nav:hover{background-color:var(--color-gray-12)}.ptc-primary,.ptc-quaternary,.ptc-secondary,.ptc-tertiary,.icon-toggle{padding:var(--ptc-font-size-xx-small) var(--ptc-font-size-medium);transition:background-color var(--ptc-ease-inout) var(--ptc-transition-medium);line-height:20px}.ptc-primary.disabled,.ptc-quaternary.disabled,.ptc-secondary.disabled,.ptc-tertiary.disabled,.icon-toggle.disabled{pointer-events:none;border-color:var(--color-gray-03);background:var(--color-gray-02)}.ptc-primary.disabled span,.ptc-quaternary.disabled span,.ptc-secondary.disabled span,.ptc-tertiary.disabled span,.icon-toggle.disabled span{color:var(--color-gray-03)}.ptc-primary.disabled ::slotted([slot=slot-after-text]),.ptc-quaternary.disabled ::slotted([slot=slot-after-text]),.ptc-secondary.disabled ::slotted([slot=slot-after-text]),.ptc-tertiary.disabled ::slotted([slot=slot-after-text]),.icon-toggle.disabled ::slotted([slot=slot-after-text]){fill:var(--color-gray-03) !important}.ptc-primary:focus-visible,.ptc-quaternary:focus-visible,.ptc-secondary:focus-visible,.ptc-tertiary:focus-visible,.icon-toggle:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}.ptc-primary span,.ptc-quaternary span,.ptc-secondary span,.ptc-tertiary span,.icon-toggle span{font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-bold);font-size:var(--ptc-font-size-small);line-height:var(--ptc-line-height-densest);letter-spacing:normal}.ptc-primary.small,.ptc-quaternary.small,.ptc-secondary.small,.ptc-tertiary.small,.icon-toggle.small{padding:var(--ptc-element-spacing-03) var(--ptc-element-spacing-04)}.ptc-primary.small span,.ptc-quaternary.small span,.ptc-secondary.small span,.ptc-tertiary.small span,.icon-toggle.small span{font-size:var(--ptc-font-size-xx-small)}.ptc-primary.medium,.ptc-quaternary.medium,.ptc-secondary.medium,.ptc-tertiary.medium,.icon-toggle.medium{padding:14px 20px}.ptc-primary.medium span,.ptc-quaternary.medium span,.ptc-secondary.medium span,.ptc-tertiary.medium span,.icon-toggle.medium span{font-size:var(--ptc-font-size-small)}.ptc-primary.large,.ptc-quaternary.large,.ptc-secondary.large,.ptc-tertiary.large,.icon-toggle.large{padding:var(--ptc-element-spacing-04) var(--ptc-element-spacing-06)}.ptc-primary.large span,.ptc-quaternary.large span,.ptc-secondary.large span,.ptc-tertiary.large span,.icon-toggle.large span{font-size:var(--ptc-font-size-large)}.ptc-primary.acc-alt-style:focus-visible,.ptc-quaternary.acc-alt-style:focus-visible,.ptc-secondary.acc-alt-style:focus-visible,.ptc-tertiary.acc-alt-style:focus-visible,.icon-toggle.acc-alt-style:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-primary{background:var(--color-gray-12);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard)}.ptc-primary:hover{background-color:var(--color-gray-10)}.ptc-primary:active{background-color:var(--color-black);transition:none}.ptc-primary span{color:var(--color-white)}.ptc-primary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-secondary{background:var(--color-gray-12);border:2px solid var(--color-gray-08);border-radius:var(--ptc-border-radius-standard)}.ptc-secondary:hover{background-color:var(--color-gray-10)}.ptc-secondary:active{background-color:var(--color-black);transition:none}.ptc-secondary span{color:var(--color-white)}.ptc-secondary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.ptc-tertiary{background:var(--color-white);border:2px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard)}.ptc-tertiary:hover{background-color:var(--color-gray-02)}.ptc-tertiary:active{background-color:var(--color-gray-03);transition:none}.ptc-tertiary span{color:var(--color-gray-10)}.ptc-tertiary ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.ptc-tertiary ::slotted(a){color:var(--color-gray-10) !important;text-decoration-line:none !important}.ptc-quaternary{background:var(--color-green-07);border:2px solid var(--color-green-07);border-radius:var(--ptc-border-radius-standard);cursor:pointer}.ptc-quaternary:hover{background-color:var(--color-green-08)}.ptc-quaternary:active{background-color:var(--color-green-09);transition:none}.ptc-quaternary span{color:var(--color-white)}.ptc-quaternary ::slotted([slot=slot-after-text]){fill:var(--color-white) !important}.icon-toggle{background:var(--color-white);border:1px solid var(--color-gray-10);border-radius:var(--ptc-border-radius-standard);padding:0;height:2.125rem;width:2.125rem;box-shadow:var(--ptc-shadow-medium)}.icon-toggle:hover{background-color:var(--color-gray-02)}.icon-toggle:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle.active{background-color:var(--color-gray-04)}.icon-toggle.active:hover{background-color:var(--color-gray-05)}.icon-toggle.active:active{transition:none;background-color:var(--color-gray-03)}.icon-toggle:focus{outline:2px solid var(--color-blue-07);outline-offset:1px}.icon-toggle span{color:var(--color-gray-10);padding:0}.icon-toggle ::slotted([slot=slot-after-text]){fill:var(--color-gray-10) !important}.icon-toggle ::slotted(icon-asset){display:block;margin:auto;height:18px;width:18px}.clear-search{border:none;padding:0px;line-height:var(----ptc-line-height-densest);background-color:transparent}.clear-search:hover{text-decoration:underline;text-decoration-color:var(--color-white)}.clear-search span{color:var(--color-white);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-x-small);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased}.tracker-div{display:inline;display:inline-block}.focus-state-dark-background:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.secondary-cta-light,.secondary-cta-dark,.primary-cta{padding:0.875rem 1.25rem;font-size:var(--ptc-font-size-small);font-style:normal;font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);color:var(--color-white);border:2px solid transparent;text-decoration:none}.medium.secondary-cta-light,.medium.secondary-cta-dark,.medium.primary-cta{padding:0.75rem 1rem}.medium.secondary-cta-light span,.medium.secondary-cta-dark span,.medium.primary-cta span{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold)}.small.secondary-cta-light,.small.secondary-cta-dark,.small.primary-cta{padding:0.5rem 0.75rem}.small.secondary-cta-light span,.small.secondary-cta-dark span,.small.primary-cta span{font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-extrabold)}.disabled.secondary-cta-light,.disabled.secondary-cta-dark,.disabled.primary-cta{pointer-events:none;color:var(--color-gray-03);border-color:var(--color-gray-03);background-color:var(--color-gray-02)}.disabled.secondary-cta-light icon-asset svg,.disabled.secondary-cta-dark icon-asset svg,.disabled.primary-cta icon-asset svg{fill:var(--color-gray-03)}.disabled.secondary-cta-light:focus-visible,.disabled.secondary-cta-dark:focus-visible,.disabled.primary-cta:focus-visible{background-color:var(--color-gray-02)}.secondary-cta-light:focus-visible,.secondary-cta-dark:focus-visible,.primary-cta:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.full-width.secondary-cta-light,.full-width.secondary-cta-dark,.full-width.primary-cta{width:100%}.secondary-cta-light .cta-content-wrap,.secondary-cta-dark .cta-content-wrap,.primary-cta .cta-content-wrap{display:flex;justify-content:center;align-items:center;text-align:center}.secondary-cta-light .cta-content-wrap icon-asset,.secondary-cta-dark .cta-content-wrap icon-asset,.primary-cta .cta-content-wrap icon-asset{margin-right:8px;line-height:0}.secondary-cta-light .cta-content-wrap icon-asset+span,.secondary-cta-dark .cta-content-wrap icon-asset+span,.primary-cta .cta-content-wrap icon-asset+span{text-align:left}.primary-cta{background-color:var(--color-green-07);border-color:var(--color-green-07);transition:all 0.2s ease}.primary-cta:hover{background-color:var(--color-green-08)}.primary-cta:active{background-color:var(--color-green-09)}.primary-cta:focus-visible{background-color:var(--color-green-07)}.secondary-cta-dark{background-color:var(--color-gray-12);border-color:var(--color-gray-08)}.secondary-cta-dark:hover{background-color:var(--color-gray-10)}.secondary-cta-dark:active{background-color:var(--color-black)}.secondary-cta-dark:focus-visible{background-color:var(--color-gray-12)}.secondary-cta-light{background-color:var(--color-white);border-color:var(--color-gray-10);color:var(--color-gray-10)}.secondary-cta-light:hover{background-color:var(--color-gray-02)}.secondary-cta-light:active{background-color:var(--color-gray-03)}.secondary-cta-light:focus-visible{background-color:var(--color-white)}";
349
+
350
+ const PtcButton = class {
351
+ constructor(hostRef) {
352
+ index.registerInstance(this, hostRef);
353
+ this.clickEvent = index.createEvent(this, "clickEvent", 7);
354
+ this.disabled = false;
355
+ this.active = false;
356
+ this.type = "button";
357
+ this.color = "ptc-primary";
358
+ this.iconAnimation = "";
359
+ this.iconPosition = "icon-right";
360
+ this.linkHref = undefined;
361
+ this.linkTitle = undefined;
362
+ this.target = "_self";
363
+ this.rel = undefined;
364
+ this.tabNav = 0;
365
+ this.styles = undefined;
366
+ this.textAlign = undefined;
367
+ this.enableAccessibilityAltStyle = false;
368
+ this.size = undefined;
369
+ this.buttonTitle = undefined;
370
+ this.ariaLabel = "";
371
+ this.seoCompatibilityMode = false;
372
+ this.maintainContent = false;
373
+ this.trackerId = undefined;
374
+ this.darkFocusState = false;
375
+ this.ctaWidth = "default";
376
+ }
377
+ clickEventHandler() {
378
+ this.clickEvent.emit();
379
+ }
380
+ componentWillLoad() {
381
+ utils.CheckDarkFocusState(this, this.el);
382
+ }
383
+ seoCompRender() {
384
+ const classMap = this.getCssClassMap();
385
+ const Tag = !!this.linkHref ? "a" : "button";
386
+ const [TagType, firstChild] = utils.getSeoTagType(this.el, Tag);
387
+ const html = firstChild && firstChild.innerHTML;
388
+ if (this.el == firstChild) {
389
+ this.el.innerHTML = "";
390
+ }
391
+ if (this.maintainContent) {
392
+ this.el.innerHTML = html;
393
+ }
394
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", Object.assign({ id: this.trackerId, class: "tracker-div mf-listen" }, (this.ctaWidth === "full-width"
395
+ ? { style: { display: "block" } }
396
+ : {})), index.h(TagType, Object.assign({ class: classMap, onClick: this.clickEventHandler.bind(this) }, (!!this.linkHref ? { href: this.linkHref } : {}), (!this.linkHref ? { type: this.type } : {}), (!!this.target && !!this.linkHref
397
+ ? { target: this.target }
398
+ : {}), (!!this.rel && !!this.linkHref
399
+ ? { rel: this.rel }
400
+ : {}), (!!this.linkHref
401
+ ? {
402
+ title: this.linkTitle
403
+ ? this.linkTitle
404
+ : this.linkHref,
405
+ }
406
+ : {}), (!!this.tabNav
407
+ ? { tabindex: -1 }
408
+ : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== ""
409
+ ? { ariaLabel: this.ariaLabel }
410
+ : {})), index.h("span", { innerHTML: html, class: "cta-content-wrap" }, index.h("slot", { name: "slot-before-text" }), index.h("slot", { name: "slot-after-text" }))))));
411
+ }
412
+ standardRender() {
413
+ const classMap = this.getCssClassMap();
414
+ const Tag = !!this.linkHref ? "a" : "button";
415
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { id: this.trackerId, class: "tracker-div mf-listen" }, 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
416
+ ? { target: this.target }
417
+ : {}), (!!this.rel && !!this.linkHref
418
+ ? { rel: this.rel }
419
+ : {}), (!!this.linkHref
420
+ ? {
421
+ title: this.linkTitle
422
+ ? this.linkTitle
423
+ : this.linkHref,
424
+ }
425
+ : {}), (!!this.tabNav
426
+ ? { tabindex: -1 }
427
+ : { tabindex: 0 }), { title: this.buttonTitle }, (this.ariaLabel !== ""
428
+ ? { ariaLabel: this.ariaLabel }
429
+ : {})), this.iconAnimation == "reveal-down" ? (index.h("span", null, index.h("div", { class: "content" }, index.h("slot", null)), index.h("div", { class: "icon-wrapper" }, index.h("div", { class: "icon" }, index.h("slot", { name: "slot-after-text" }))))) : (index.h("span", null, index.h("slot", { name: "slot-before-text" }), index.h("slot", null), index.h("slot", { name: "slot-after-text" })))))));
430
+ }
431
+ render() {
432
+ if (this.seoCompatibilityMode) {
433
+ return this.seoCompRender();
434
+ }
435
+ else {
436
+ return this.standardRender();
437
+ }
438
+ }
439
+ getCssClassMap() {
440
+ return {
441
+ [this.color]: true,
442
+ [this.iconAnimation]: true,
443
+ [this.iconPosition]: true,
444
+ ["disabled"]: this.disabled ? true : false,
445
+ ["active"]: this.active ? true : false,
446
+ [this.textAlign]: true,
447
+ [this.size]: true,
448
+ ["acc-alt-style"]: this.enableAccessibilityAltStyle,
449
+ ["focus-state-dark-background"]: this.darkFocusState,
450
+ [this.ctaWidth]: true,
451
+ };
452
+ }
453
+ get el() { return index.getElement(this); }
454
+ };
455
+ PtcButton.style = ptcButtonCss;
456
+
457
+ let ResponsiveBgVariables = {
458
+ envs: ['xs', 'sm', 'md', 'lg'],
459
+ selector: '.ptc-img',
460
+ interval: 250
461
+ };
462
+ let ResponsivePictureVariables = {
463
+ envs: ['xs', 'sm', 'md', 'lg'],
464
+ selector: '.ptc-picture',
465
+ interval: 250
466
+ };
467
+
468
+ 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}}";
469
+
470
+ const PtcImg = class {
471
+ constructor(hostRef) {
472
+ index.registerInstance(this, hostRef);
473
+ this.sizeXs = "510x340";
474
+ this.sizeSm = "1240x496";
475
+ this.sizeMd = "1366x500";
476
+ this.sizeLg = "1920x1080";
477
+ this.imgUrl = undefined;
478
+ this.imageType = "smart-bg";
479
+ this.borderRadius = "";
480
+ this.loadMode = "lazy-bg";
481
+ this.styles = undefined;
482
+ }
483
+ /**
484
+ * Image Z Index
485
+ */
486
+ // @Prop() imageZIndex: 'z-index-auto' | 'z-index-n-2' | 'z-index-n-1' | 'z-index-p-1' | 'z-index-p-2' = 'z-index-auto';
487
+ WindowResize() {
488
+ this.setResponsiveBg();
489
+ }
490
+ render() {
491
+ const classMap = this.getCssClassMap();
492
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap, "data-xs": `${this.imgUrl}`, "data-sm": `${this.imgUrl}`, "data-md": `${this.imgUrl}`, "data-lg": `${this.imgUrl}` }, this.imageType == "smart-bg" ? index.h("slot", null) : null)));
493
+ }
494
+ componentDidLoad() {
495
+ this.addIntersectionObserver();
496
+ this.setResponsiveBg();
497
+ }
498
+ componentWillUpdate() {
499
+ this.addIntersectionObserver();
500
+ this.setResponsiveBg();
501
+ }
502
+ //responsive image
503
+ setResponsiveBg() {
504
+ // Define local variables
505
+ let backgrounds = (this.el || document).querySelectorAll(ResponsiveBgVariables.selector), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
506
+ // Loop through all target elements
507
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
508
+ // Set current variables
509
+ el = backgrounds[i];
510
+ elData = el.getAttribute("data-" + currentBreakpoint);
511
+ // If the data attribute exists, set the background
512
+ if (elData !== null) {
513
+ el.style.backgroundImage = "url('" + elData + "')";
514
+ }
515
+ else {
516
+ if (typeof console == "object") {
517
+ console.warn("Data attribute: data-" +
518
+ currentBreakpoint +
519
+ " not found on element:\n\n" +
520
+ el.outerHTML +
521
+ "\n\n\n");
522
+ }
523
+ }
524
+ }
525
+ }
526
+ //lazy loading
527
+ addIntersectionObserver() {
528
+ if (!this.imgUrl) {
529
+ return;
530
+ }
531
+ if ("IntersectionObserver" in window) {
532
+ let lazyLoadBgs = (this.el || document).querySelectorAll(".lazy-bg");
533
+ let bgObserver = new IntersectionObserver((entries) => {
534
+ entries.forEach((entry) => {
535
+ if (entry.isIntersecting) {
536
+ const image = entry.target;
537
+ image.classList.remove("lazy-bg");
538
+ bgObserver.unobserve(image);
539
+ }
540
+ });
541
+ });
542
+ lazyLoadBgs.forEach((image) => {
543
+ bgObserver.observe(image);
544
+ });
545
+ }
546
+ }
547
+ getCssClassMap() {
548
+ return {
549
+ [this.imageType]: true,
550
+ "ptc-img": true,
551
+ [this.borderRadius]: true,
552
+ [this.loadMode]: true,
553
+ // [this.imageZIndex] : true
554
+ };
555
+ }
556
+ getCurrentBreakPoints() {
557
+ // Define local variables
558
+ let doc = window.document, temp = doc.createElement("div"), env;
559
+ // Append test node
560
+ doc.body.appendChild(temp);
561
+ // Loop through breakpoints
562
+ for (let i = ResponsiveBgVariables.envs.length - 1; i >= 0; i--) {
563
+ env = ResponsiveBgVariables.envs[i];
564
+ // Add classes
565
+ temp.className = "hidden-" + env;
566
+ // Found breakpoint
567
+ if (temp.offsetParent === null) {
568
+ // Remove our test node
569
+ doc.body.removeChild(temp);
570
+ // Return current breakpoint
571
+ return env;
572
+ }
573
+ }
574
+ // Breakpoint not found, try fallback
575
+ doc.body.removeChild(temp);
576
+ return this.getFallbackBreakpoint();
577
+ }
578
+ getFallbackBreakpoint() {
579
+ if (window.matchMedia("(min-width: 992px)").matches) {
580
+ return "lg";
581
+ }
582
+ else if (window.matchMedia("(min-width: 768px)").matches) {
583
+ return "md";
584
+ }
585
+ else if (window.matchMedia("(min-width: 576px)").matches) {
586
+ return "sm";
587
+ }
588
+ else {
589
+ return "xs";
590
+ }
591
+ }
592
+ get el() { return index.getElement(this); }
593
+ };
594
+ PtcImg.style = ptcImgCss;
595
+
596
+ const ptcJumbotronCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.ptc-container{padding-right:24px;padding-left:24px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 1200px){.ptc-container{padding-left:0;padding-right:0;max-width:1136px}}@media only screen and (min-width: 1440px){.ptc-container{padding-left:0;padding-right:0;max-width:1200px}}.ptc-container-lg{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media only screen and (min-width: 480px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-03);padding-right:var(--ptc-layout-spacing-03)}}@media only screen and (min-width: 768px){.ptc-container-lg{padding-left:var(--ptc-layout-spacing-04);padding-right:var(--ptc-layout-spacing-04)}}@media only screen and (min-width: 992px){.ptc-container-lg{padding-left:var(--ptc-element-spacing-08);padding-right:var(--ptc-element-spacing-08)}}@media only screen and (min-width: 1980px){.ptc-container-lg{padding-left:0;padding-right:0;max-width:1900px}}.ptc-container-fluid{width:100%}.u-para-sm{font-size:var(--ptc-font-size-small) !important}.u-para-md{font-size:var(--ptc-font-size-medium) !important}.u-para-lg{font-size:var(--ptc-font-size-large) !important}.u-para-xl{font-size:var(--ptc-font-size-x-large) !important}.u-para-xxl{font-size:var(--ptc-font-size-xx-large) !important}.u-para-xxxl{font-size:var(--ptc-font-size-xxx-large) !important}@media only screen and (min-width: 768px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.05vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.05vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.05vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.05vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.05vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.05vw) !important}}@media only screen and (min-width: 992px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.1vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.1vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.1vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.1vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.1vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.1vw) !important}}@media only screen and (min-width: 1200px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.15vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.15vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.15vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.15vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.15vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.15vw) !important}}@media only screen and (min-width: 1440px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.2vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.2vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.2vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.2vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.2vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.2vw) !important}}@media only screen and (min-width: 1600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.25vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.25vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.25vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.25vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.25vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.25vw) !important}}@media only screen and (min-width: 1980px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.3vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.3vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.3vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.3vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.3vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.3vw) !important}}@media only screen and (min-width: 2600px){.u-para-sm{font-size:calc(var(--ptc-font-size-small) + 0.35vw) !important}.u-para-md{font-size:calc(var(--ptc-font-size-medium) + 0.35vw) !important}.u-para-lg{font-size:calc(var(--ptc-font-size-large) + 0.35vw) !important}.u-para-xl{font-size:calc(var(--ptc-font-size-x-large) + 0.35vw) !important}.u-para-xxl{font-size:calc(var(--ptc-font-size-xx-large) + 0.35vw) !important}.u-para-xxxl{font-size:calc(var(--ptc-font-size-xxx-large) + 0.35vw) !important}}.u-para-body{font-size:var(--ptc-font-size-medium) !important}.u-color-white{color:var(--color-white) !important}.u-uppercase{text-transform:uppercase !important}.u-margin-flush{margin:0 !important}.u-marginTop-flush{margin-top:0 !important}.u-marginLeft-flush{margin-left:0 !important}.u-marginRight-flush{margin-right:0 !important}.u-marginBottom-flush{margin-bottom:0 !important}.u-padding-flush{padding:0 !important}.u-paddingTop-flush{padding-top:0 !important}.u-paddingLeft-flush{padding-left:0 !important}.u-paddingRight-flush{padding-right:0 !important}.u-paddingBottom-flush{padding-bottom:0 !important}.u-margin-xs{margin:var(--ptc-element-spacing-01) !important}.u-marginTop-xs{margin-top:var(--ptc-element-spacing-01) !important}.u-marginLeft-xs{margin-left:var(--ptc-element-spacing-01) !important}.u-marginRight-xs{margin-right:var(--ptc-element-spacing-01) !important}.u-marginBottom-xs{margin-bottom:var(--ptc-element-spacing-01) !important}.u-margin-sm{margin:var(--ptc-element-spacing-02) !important}.u-marginTop-sm{margin-top:var(--ptc-element-spacing-02) !important}.u-marginLeft-sm{margin-left:var(--ptc-element-spacing-02) !important}.u-marginRight-sm{margin-right:var(--ptc-element-spacing-02) !important}.u-marginBottom-sm{margin-bottom:var(--ptc-element-spacing-02) !important}.u-margin-md{margin:var(--ptc-element-spacing-03) !important}.u-marginTop-md{margin-top:var(--ptc-element-spacing-03) !important}.u-marginLeft-md{margin-left:var(--ptc-element-spacing-03) !important}.u-marginRight-md{margin-right:var(--ptc-element-spacing-03) !important}.u-marginBottom-md{margin-bottom:var(--ptc-element-spacing-03) !important}.u-margin-lg{margin:var(--ptc-element-spacing-04) !important}.u-marginTop-lg{margin-top:var(--ptc-element-spacing-04) !important}.u-marginLeft-lg{margin-left:var(--ptc-element-spacing-04) !important}.u-marginRight-lg{margin-right:var(--ptc-element-spacing-04) !important}.u-marginBottom-lg{margin-bottom:var(--ptc-element-spacing-04) !important}.u-margin-xl{margin:var(--ptc-element-spacing-05) !important}.u-marginTop-xl{margin-top:var(--ptc-element-spacing-05) !important}.u-marginLeft-xl{margin-left:var(--ptc-element-spacing-05) !important}.u-marginRight-xl{margin-right:var(--ptc-element-spacing-05) !important}.u-marginBottom-xl{margin-bottom:var(--ptc-element-spacing-05) !important}.u-margin-xxl{margin:var(--ptc-element-spacing-06) !important}.u-marginTop-xxl{margin-top:var(--ptc-element-spacing-06) !important}.u-marginLeft-xxl{margin-left:var(--ptc-element-spacing-06) !important}.u-marginRight-xxl{margin-right:var(--ptc-element-spacing-06) !important}.u-marginBottom-xxl{margin-bottom:var(--ptc-element-spacing-06) !important}.u-margin-xxxl{margin:var(--ptc-element-spacing-07) !important}.u-marginTop-xxxl{margin-top:var(--ptc-element-spacing-07) !important}.u-marginLeft-xxxl{margin-left:var(--ptc-element-spacing-07) !important}.u-marginRight-xxxl{margin-right:var(--ptc-element-spacing-07) !important}.u-marginBottom-xxxl{margin-bottom:var(--ptc-element-spacing-07) !important}.u-margin-4xl{margin:var(--ptc-element-spacing-08) !important}.u-marginTop-4xl{margin-top:var(--ptc-element-spacing-08) !important}.u-marginLeft-4xl{margin-left:var(--ptc-element-spacing-08) !important}.u-marginRight-4xl{margin-right:var(--ptc-element-spacing-08) !important}.u-marginBottom-4xl{margin-bottom:var(--ptc-element-spacing-08) !important}.u-textAlign-ctr{text-align:center !important}.u-textAlign-right{text-align:right !important}.u-textAlign-left{text-align:left !important}.u-textWhite{color:var(--color-white) !important}.u-textGreen1{color:var(--color-green-07) !important}.u-textGreen2{color:var(--color-green-06) !important}.u-text-nowrap{white-space:nowrap}.u-text-medium{font-weight:var(--ptc-font-weight-medium)}.u-text-semibold{font-weight:var(--ptc-font-weight-semibold)}.u-text-bold{font-weight:var(--ptc-font-weight-bold)}.u-text-thin{font-weight:var(--ptc-font-weight-thin)}.u-textStyle-normal{font-style:normal !important}.u-no-scroll{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.u-background-white{background-color:var(--color-white)}.u-background-reset{background-color:transparent !important}.u-white-overylay{background:rgba(242, 242, 242, 0.9)}.u-cursor-pointer{cursor:pointer}.u-clear{clear:both}.u-border-radius-standard{border-radius:var(--ptc-border-radius-standard)}.u-border-radius-large{border-radius:var(--ptc-border-radius-large)}.u-border-radius-pill{border-radius:var(--ptc-border-radius-pill)}.u-border-radius-circle{border-radius:var(--ptc-border-radius-circle)}.u-border-none{border:none}.u-shadow-x-small{box-shadow:var(--ptc-shadow-x-small)}.u-shadow-small{box-shadow:var(--ptc-shadow-small)}.u-shadow-medium{box-shadow:var(--ptc-shadow-medium)}.u-shadow-large{box-shadow:var(--ptc-shadow-large)}.u-shadow-x-large{box-shadow:var(--ptc-shadow-x-large)}@media only screen and (min-width: 768px){.u-hero-width{width:525px}.u-margin-center{margin:0 auto}.u-justify-self-end{justify-self:flex-end}}.u-hero-pushup{transform:translateY(-120px)}@media only screen and (min-width: 768px){.u-hero-pushup{transform:translateY(-144px)}}@media only screen and (min-width: 768px){.grid-order-1-md{order:1}.grid-order-2-md{order:2}.grid-order-3-md{order:3}}@media only screen and (min-width: 992px){.grid-order-1-lg{order:1}.grid-order-2-lg{order:2}.grid-order-3-lg{order:3}}.standard-list{list-style:none;margin-left:0;margin-bottom:20px;padding:0}.is-spaced-between{justify-content:space-between}.h-100{height:100%}.w-100{width:100%}.grid-large-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-large-col-gap-md{-moz-column-gap:3rem;column-gap:3rem}}.grid-large-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-large-col-gap-sm{-moz-column-gap:3rem;column-gap:3rem}}.grid-x-large-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-x-large-col-gap-md{-moz-column-gap:4rem;column-gap:4rem}}.grid-x-large-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-x-large-col-gap-sm{-moz-column-gap:4rem;column-gap:4rem}}.grid-medium-col-gap-md{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 992px){.grid-medium-col-gap-md{-moz-column-gap:2rem;column-gap:2rem}}.grid-medium-col-gap-sm{-moz-column-gap:0;column-gap:0}@media only screen and (min-width: 768px){.grid-medium-col-gap-sm{-moz-column-gap:2rem;column-gap:2rem}}.is-float-left{float:left}.is-float-right{float:right}.is-mobile{display:block}.is-desktop{display:none}@media only screen and (min-width: 992px){.is-mobile{display:none}.is-desktop{display:block}}.ptc-section{padding-top:3rem;padding-bottom:3rem}.ptc-section-standard{padding-top:3rem;padding-bottom:3rem}.ptc-section-half{padding-top:1.5rem;padding-bottom:1.5rem}.ptc-section-large{padding-top:2.25rem;padding-bottom:2.25rem}@media only screen and (min-width: 992px){.ptc-section-large{padding-top:3.5rem;padding-bottom:3.5rem}}.ptc-section-hp{padding-bottom:calc(2.25rem - 32px)}@media only screen and (min-width: 992px){.ptc-section-hp{padding-bottom:calc(3.5rem - 32px)}}.u-flex{display:flex}@media only screen and (min-width: 480px){.u-flex-xs{display:flex}}@media only screen and (min-width: 768px){.u-flex-sm{display:flex}}@media only screen and (min-width: 992px){.u-flex-md{display:flex}}@media only screen and (min-width: 1200px){.u-flex-lg{display:flex}}@media only screen and (min-width: 1440px){.u-flex-xl{display:flex}}@media only screen and (min-width: 1600px){.u-flex-xxl{display:flex}}@media only screen and (min-width: 1980px){.u-flex-2k{display:flex}}@media only screen and (min-width: 2600px){.u-flex-4k{display:flex}}.u-align-center{margin:auto;align-self:center}.u-align-left{margin-right:auto;align-self:center}.u-align-right{margin-left:auto;align-self:center}.u-align-x-center{margin-right:auto;margin-left:auto}.u-align-x-left{margin-right:auto}.u-align-x-right{margin-left:auto}.u-align-y-center{align-self:center}.u-align-y-top{align-self:flex-start}.u-align-y-bottom{align-self:flex-end}.is-flex-column{flex-direction:column}.flex-align-items{align-items:flex-end}.flex-align-items-center{align-items:center}.u-flex-nowrap{flex-wrap:nowrap}.u-flex-wrap{flex-wrap:wrap}.u-align-self-start{align-self:start}.u-align-self-center{align-self:center}.u-align-self-stretch{align-self:stretch}.u-justify-self-start{justify-self:start}.u-justify-self-center{justify-self:center}.u-justify-self-stretch{justify-self:stretch}.u-flex-justify-center{justify-content:center}.u-flex-justify-flexend{justify-content:flex-end}.u-section-heading-wrapper{max-width:768px;margin-left:auto;margin-right:auto}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}@media only screen and (min-width: 768px){.is-grid.grid-large-col-gap-xs-0{row-gap:0}}.max-content{max-width:90%;margin:auto}@media only screen and (min-width: 480px){.max-content{max-width:80%}}.u-justify-space-between{justify-content:space-between}.all-product-banner{padding:50px 0 44px 0px}@media only screen and (min-width: 992px){.all-product-banner{padding:50px 0 72px 0px;display:flex;min-height:300px;justify-content:center;align-items:center}}.all-product-gradient{background:linear-gradient(180deg, #f3f3f3 2.6%, rgba(225, 241, 226, 0.2) 40.63%, #f3f3f3 82.29%), linear-gradient(0deg, #f3f3f3, #f3f3f3)}.menu-right ptc-nav-submenu{position:relative}.media-thumb-feature{display:block}@media only screen and (min-width: 992px){.media-thumb-feature{display:flex;justify-content:space-between}}.media-thumb-feature .media-thumb{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-thumb{width:340px;flex:0 0 340px}}.media-thumb-feature .media-thumb>ptc-picture:not(:last-of-type),.media-thumb-feature .media-thumb>img:not(:last-of-type){margin-bottom:1.5rem}.media-thumb-feature .media-feature{width:100%;margin-bottom:2rem}@media only screen and (min-width: 992px){.media-thumb-feature .media-feature{width:auto;flex:1 1 auto}}.partner-card-desc h5.description{font-family:var(--ptc-font-latin);color:var(--color-gray-10);font-size:var(--ptc-font-size-x-small);font-weight:var(--ptc-font-weight-medium);letter-spacing:var(--ptc-letter-spacing-normal);line-height:var(--ptc-line-height-medium);margin:0 0 10px 0}.partner-card-desc .tags{margin-bottom:0.75rem}.partner-card-desc .tags .tag:not(:first-child){border-left:2px solid var(--color-green-07);padding:0 8px}.partner-card-desc .tags .tag:first-child{padding:0 8px 0 0}.partner-card-desc .tags .tag{color:var(--color-gray-10);display:inline;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);letter-spacing:var(--ptc-letter-spacing-loose);margin:0 0 10px 0;padding:0 8px}.u-3-col-grid{width:100%;display:flex;flex-wrap:wrap;grid-row-gap:1rem;grid-column-gap:1rem}.u-3-col-grid .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid .u-3-col{width:calc(50% - 10.66666666px)}}@media only screen and (min-width: 992px){.u-3-col-grid .u-3-col{width:calc(33.3333333333% - 10.66666666px)}}.u-3-col-grid.u-col-space-lg{grid-row-gap:2rem;grid-column-gap:2rem}.u-3-col-grid.u-col-space-lg .u-3-col{width:100%}@media only screen and (min-width: 768px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(50% - 21.3333333px)}}@media only screen and (min-width: 992px){.u-3-col-grid.u-col-space-lg .u-3-col{width:calc(33.3333333333% - 21.3333333px)}}.u-display-none{display:none}ptc-preloader-section.min-height{min-height:150vh}@media only screen and (min-width: 1200px){.ms-mobile-select{display:none}}.ms-mobile-select.ms-show{position:fixed}.light-font{color:var(--color-white)}.light-font *{color:var(--color-white)}ptc-nav-submenu{margin-top:6px;border-left:2px solid transparent;border-right:2px solid transparent;border-bottom:2px solid transparent}ptc-nav-submenu:focus-visible,ptc-nav-submenu:focus{margin-top:4px;border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}ptc-nav-link{margin-top:6px;border-left:2px solid transparent;border-right:2px solid transparent;border-bottom:2px solid transparent}a{font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);text-decoration-line:underline;color:var(--color-hyperlink);transition:color var(--ptc-transition-medium) var(--ptc-ease-out);font-weight:var(--ptc-font-weight-bold)}a:visited{color:var(--color-blue-10)}a:active,a:visited:active{transition:none;color:var(--color-blue-09)}a:hover,a:visited:hover{color:var(--color-blue-08)}a.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}a:focus-visible{outline:5px solid #003dd6 !important;outline-offset:0px !important;border-radius:var(--ptc-border-radius-standard)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.light-links a.light-link,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-grey-10 a.light-link,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a),.background-plm-grey a.light-link{color:var(--color-blue-04);margin:-2px;border:2px solid transparent}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.light-links a.light-link:visited,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-grey-10 a.light-link:visited,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited,.background-plm-grey a.light-link:visited{color:var(--color-blue-06)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.light-links a.light-link:active,.light-links a.light-link:visited:active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-grey-10 a.light-link:active,.background-grey-10 a.light-link:visited:active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:active,.background-plm-grey a.light-link:active,.background-plm-grey a.light-link:visited:active{transition:none;color:var(--color-blue-07)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.light-links a.light-link:hover,.light-links a.light-link:visited:hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-grey-10 a.light-link:hover,.background-grey-10 a.light-link:visited:hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):visited:hover,.background-plm-grey a.light-link:hover,.background-plm-grey a.light-link:visited:hover{color:var(--color-blue-05)}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.light-links a.light-link.disabled,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-grey-10 a.light-link.disabled,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a).disabled,.background-plm-grey a.light-link.disabled{color:var(--color-gray-04) !important;cursor:not-allowed}.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.light-links a.light-link:focus-visible,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-grey-10 a.light-link:focus-visible,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.vjs-social-share-links a):focus-visible,.background-plm-grey a.light-link:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.light-links .podcast-cta-section a,.background-grey-10 .podcast-cta-section a,.background-plm-grey .podcast-cta-section a{border:2px solid transparent}.light-links .podcast-cta-section a:focus-visible,.background-grey-10 .podcast-cta-section a:focus-visible,.background-plm-grey .podcast-cta-section a:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}.ptc-link{color:var(--color-gray-10);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link:hover{color:var(--color-green-06)}.ptc-link:visited{color:var(--color-gray-10)}.ptc-link:active,.ptc-link:visited:active{transition:none;color:var(--color-green-06)}.ptc-link:hover,.ptc-link:visited:hover{color:var(--color-green-06)}.ptc-link-dark{color:var(--color-white);text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--color-green-06);text-underline-offset:5px;transition:text-decoration-color var(--ptc-transition-medium) var(--ptc-ease-inout)}.ptc-link-dark:hover{color:var(--color-green-06)}.ptc-link-dark:visited{color:var(--color-white)}.ptc-link-dark:active,.ptc-link-dark:visited:active{transition:none;color:var(--color-green-06)}.ptc-link-dark:hover,.ptc-link-dark:visited:hover{color:var(--color-green-06)}.vjs-social-share-links a{color:var(--color-white)}.vjs-social-share-links a:hover{color:var(--color-white)}:host{display:block}@media only screen and (min-width: 992px){:host(:not(.png-jumbotron):not(.text-jumbotron):not(.gif-jumbotron):not(.blog-jumbotron)) .content-container{padding-top:20px;padding-bottom:16px}}.parent{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;grid-column-gap:0px;grid-row-gap:0px;position:relative;z-index:1}.logo-frame{background-color:transparent;margin-top:24px;display:flex;width:152px;height:-moz-max-content;height:max-content}.logo-frame img{box-sizing:border-box;max-width:100%;height:100%;max-height:64.02px}.hp-adjustments{background-color:var(--color-black);height:auto;min-height:640px !important;max-height:-webkit-fill-available}@media (min-height: 640px){.hp-adjustments{min-height:72vh !important}}.hp-adjustments .div1{grid-area:1/1/3/2;min-height:300px}.hp-adjustments .div1.hidden{display:none}.hp-adjustments .div2{display:flex}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%) !important}@media only screen and (min-width: 992px){.hp-adjustments .div1{grid-area:1/1/2/2;min-height:unset}.hp-adjustments .bg-overlay{background:linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%), linear-gradient(90deg, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0) 100%) !important}}.hp-adjustments .div1,.hp-adjustments .main-content-items{transition:opacity ease-out 250ms;opacity:1}.hp-adjustments.transitioning .div1,.hp-adjustments.transitioning .main-content-items{opacity:0}.div1{grid-area:1/1/2/2;min-height:300px}.div1.hidden{display:none}.mobile-media-image{display:flex;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.mobile-media-image{display:none}}.gif-bg{background-color:#f3f3f3}.gif-bg img{width:100%;height:auto}@media only screen and (min-width: 768px){.gif-bg img{width:auto}}.video-ratio{position:relative;overflow:hidden;height:100%}.div2{grid-area:2/1/3/2;position:relative}.bg-overlay{position:absolute;width:100%;height:100%;top:0;left:0}.content-layout{display:flex;flex-direction:column}@media only screen and (min-width: 992px){.content-layout{flex-direction:row}}.content-layout.hp-container{width:100%;margin-top:120px;margin-bottom:120px}@media screen and (min-width: 768px) and (max-width: 992px){.content-layout.hp-container{max-width:720px;margin-left:unset;margin-top:160px;margin-bottom:160px}}@media only screen and (min-width: 1200px){.content-layout.hp-container{width:1136px}}@media only screen and (min-width: 1440px){.content-layout.hp-container{width:1200px}}.content-layout.hp-container .gap-adjustment{margin-bottom:unset}.content-layout.blog-container{padding-bottom:48px}@media only screen and (min-width: 768px){.content-layout.blog-container{padding-bottom:100px}}@media only screen and (min-width: 992px){.content-layout.blog-container{gap:43px;padding-top:75px}.content-layout.blog-container max-width-container{width:50%}.content-layout.blog-container div.desktop-media-image{width:50%}}.content-layout.blog-container .gap-adjustment{gap:var(--ptc-element-spacing-07);margin-bottom:unset}.gap-adjustment{gap:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-07)}@media only screen and (min-width: 992px){.gap-adjustment{gap:var(--ptc-element-spacing-07)}}.text-adjustment{justify-content:center}.desktop-media-image{width:40%;display:none}@media only screen and (min-width: 992px){.desktop-media-image{display:block}}.desk-gif-adjustment{z-index:3;display:none;justify-content:center;align-items:center}@media only screen and (min-width: 992px){.desk-gif-adjustment{display:flex}}.desk-gif-adjustment img{width:100%}@media only screen and (min-width: 992px){.parent{grid-template-columns:1fr;grid-template-rows:1fr;grid-column-gap:0px;grid-row-gap:0px;min-height:500px;position:relative}.div1{grid-area:1/1/2/2;min-height:unset}.div2{grid-area:1/1/2/2;align-self:center;position:unset}}:host(.text-jumbotron) .parent{min-height:120px;padding:48px 0 24px 0}:host(.text-jumbotron) .parent .text-adjustment{margin-bottom:0;margin-top:20px}:host(.text-jumbotron) .parent .logo-frame{justify-self:center;justify-content:center}:host(.png-jumbotron) .desktop-media-image,:host(.png-jumbotron) .mobile-media-image{position:relative}:host(.png-jumbotron) .desktop-media-image .media-image-wrapper,:host(.png-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;width:100%;display:flex;align-items:center;justify-content:center}:host(.png-jumbotron) ::slotted(ptc-svg-btn){position:absolute;left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}@media only screen and (min-width: 992px){:host(.png-jumbotron) max-width-container{box-sizing:border-box;padding-right:2rem}}:host(.blog-jumbotron) #header-blog-author{display:flex;align-items:center;gap:12px;margin-bottom:var(--ptc-layout-spacing-04)}:host(.blog-jumbotron) #header-blog-author .image{width:48px;height:48px;border-radius:var(--ptc-border-radius-circle)}:host(.blog-jumbotron) #header-blog-author .image img{width:100%;height:100%;border-radius:var(--ptc-border-radius-circle);-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}:host(.blog-jumbotron) .blog-author-name{color:inherit;text-decoration:none;font-size:inherit;font-weight:inherit;position:relative}:host(.blog-jumbotron) .blog-author-name:before{content:\"\";position:absolute;display:inline-block;width:100%;height:100%;padding:16px;margin:-16px}:host(.blog-jumbotron) .blog-author-name:hover{color:inherit;cursor:pointer;text-decoration-line:underline;text-decoration-style:solid;text-decoration-color:var(--color-green-07);text-decoration-thickness:2px;text-underline-offset:4px}:host(.blog-jumbotron) .blog-author-name:focus-visible{border-radius:var(--ptc-border-radius-standard);border:2px solid white;outline:5px solid var(--keyboard-nav-outline)}:host(.blog-jumbotron) .image-container{background:white}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .image-container{display:none}}:host(.blog-jumbotron) .desktop-media-image,:host(.blog-jumbotron) .mobile-media-image{position:relative}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper{height:100%;max-height:360px;width:100%;display:flex;align-items:center;justify-content:center}:host(.blog-jumbotron) .desktop-media-image .media-image-wrapper ptc-picture,:host(.blog-jumbotron) .mobile-media-image .media-image-wrapper ptc-picture{width:100%;border-radius:var(--ptc-border-radius-standard)}:host(.blog-jumbotron) .desktop-media-image{display:none}:host(.blog-jumbotron) .desktop-media-image ptc-picture{height:100%;max-height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .desktop-media-image{display:flex;align-items:center}}:host(.blog-jumbotron) .mobile-media-image{margin:75px 24px 32px 24px;display:flex}:host(.blog-jumbotron) .mobile-media-image ptc-picture{height:360px}@media only screen and (min-width: 992px){:host(.blog-jumbotron) .mobile-media-image{display:none}}.dl-img-wrap{position:relative;width:100%;height:100%}:host(.dark-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-video-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.light-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn),:host(.dark-jumbotron) .mobile-modal-play-btn ::slotted(ptc-svg-btn){left:50% !important;top:50% !important;transform:translate(-50%, -50%) !important}ptc-info-tile:focus-visible{outline:3px solid var(--color-blue-07);outline-offset:2px}:host(.light-video-jumbotron) .bg-overlay,:host(.light-jumbotron) .bg-overlay{border-bottom:1px solid rgba(0, 0, 0, 0.06);box-sizing:border-box}";
597
+
598
+ const PtcJumbotron = class {
599
+ constructor(hostRef) {
600
+ index.registerInstance(this, hostRef);
601
+ this.jumbotronType = "light";
602
+ this.hasPopupVideo = false;
603
+ this.mainTitle = "Lorem Ipsum Dolor Sit Amet Consectetur";
604
+ this.subTitle = "Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet";
605
+ this.pngSrc = undefined;
606
+ this.pngImgStyles = "";
607
+ this.gifSrc = undefined;
608
+ this.bgVideoSrc = undefined;
609
+ this.bgVideoPosterSrc = undefined;
610
+ this.bgSrc = undefined;
611
+ this.isIframe = false;
612
+ this.isHomepage = false;
613
+ this.playButtonTitle = undefined;
614
+ this.pauseButtonTitle = undefined;
615
+ this.buttonLocation = undefined;
616
+ this.buttonTabIndex = 0;
617
+ this.contentBackground = undefined;
618
+ this.contentColor = undefined;
619
+ this.textAlign = "left";
620
+ this.isMobile = undefined;
621
+ this.isTransitioning = undefined;
622
+ this.blogAuthorImage = "";
623
+ this.blogAuthorImageAlt = "";
624
+ this.blogAuthorName = "";
625
+ this.blogAuthorQueryHref = "";
626
+ this.blogAuthorQueryTarget = "";
627
+ this.hasCountdown = false;
628
+ this.logo = "";
629
+ this.styles = undefined;
630
+ this.defer = undefined;
631
+ this.hasCtaSlot = undefined;
632
+ }
633
+ componentWillLoad() {
634
+ this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
635
+ }
636
+ handleResize() {
637
+ this.getContentBackground();
638
+ //this.adjustJumbotronHeight();
639
+ }
640
+ connectedCallback() {
641
+ this.getContentBackground();
642
+ }
643
+ componentDidLoad() {
644
+ //this.adjustJumbotronHeight();
645
+ }
646
+ componentDidUpdate() {
647
+ this.getContentBackground();
648
+ }
649
+ render() {
650
+ const classMap = this.getCssClassMap();
651
+ let mediaElement;
652
+ switch (this.jumbotronType) {
653
+ case "png":
654
+ mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? (index.h("slot", { name: "video" })) : null)));
655
+ break;
656
+ case "blog":
657
+ mediaElement = (index.h("div", { class: "mobile-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" }))));
658
+ break;
659
+ case "gif":
660
+ mediaElement = (index.h("div", { class: "mobile-media-image gif-bg" }, index.h("img", { src: this.gifSrc })));
661
+ break;
662
+ case "dark-video":
663
+ case "light-video":
664
+ mediaElement = (index.h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, " ", this.hasPopupVideo && this.isMobile ? (index.h("div", { class: "mobile-modal-play-btn" }, " ", index.h("slot", { name: "video" }))) : null));
665
+ break;
666
+ case "dark":
667
+ case "light":
668
+ mediaElement = (index.h("div", { class: "dl-img-wrap" }, index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (index.h("div", { class: "mobile-modal-play-btn" }, " ", index.h("slot", { name: "video" }))) : null));
669
+ break;
670
+ default:
671
+ mediaElement = (index.h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }));
672
+ }
673
+ return (index.h(index.Host, { class: classMap }, this.styles && index.h("style", null, this.styles), index.h("div", { class: {
674
+ parent: true,
675
+ "light-links": this.jumbotronType === "dark" ||
676
+ this.jumbotronType === "dark-video",
677
+ "hp-adjustments": this.isHomepage,
678
+ transitioning: this.isTransitioning,
679
+ } }, index.h("div", { class: `div1 image-container ${this.jumbotronType === "text" ? "hidden" : ""}` }, mediaElement), index.h("div", { class: "div2 content-container" }, index.h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), index.h("div", { class: {
680
+ "ptc-container": true,
681
+ "content-layout": true,
682
+ "hp-container": this.isHomepage,
683
+ "blog-container": this.jumbotronType === "blog",
684
+ } }, index.h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === "text"
685
+ ? "center"
686
+ : this.textAlign, styles: ":host{z-index: 999}" }, index.h("slot", { name: "breadcrumb" }), !!this.logo && (index.h("div", { class: "logo-frame" }, index.h("img", { alt: "Logo", src: this.logo }))), index.h("span", { class: "main-content-items" }, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("slot", { name: "main-title" }), index.h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== "text" ||
687
+ (this.jumbotronType === "text" &&
688
+ this.subTitle)) &&
689
+ !this.isHomepage && (index.h("div", null, index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (index.h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === "text" &&
690
+ this.isMobile
691
+ ? "x-small"
692
+ : "small", "font-weight": "w-4", "para-margin": `${this.jumbotronType === "text" || this.jumbotronType === "blog" ? "margin-flush" : "margin-bottom-6"}`, "para-color": "white", "para-line-h": "line-height-p", "para-align": this.jumbotronType === "text"
693
+ ? "center"
694
+ : "left", "seo-compatibility-mode": true }, index.h("p", { innerHTML: this.subTitle, style: { margin: "0" } }), index.h("p", { style: { margin: "0" } }, index.h("slot", { name: "blog-date" })), this.jumbotronType === "blog" && (index.h("div", null, index.h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), index.h("ptc-spacer", { breakpoint: "small", size: "small" }), index.h("div", { id: "header-blog-author", slot: "blog-author" }, index.h("div", { class: "image" }, index.h("img", { alt: this
695
+ .blogAuthorImageAlt, src: this
696
+ .blogAuthorImage })), index.h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, index.h("a", { class: "blog-author-name mf-listen", tabindex: "0", href: this
697
+ .blogAuthorQueryHref, target: this
698
+ .blogAuthorQueryTarget, "aria-label": "Other blogs by author" }, this
699
+ .blogAuthorName))))))), this.hasCtaSlot && (index.h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === "text" ? " text-adjustment" : ""}` }, index.h("slot", { name: "j-cta" }))))), this.hasPopupVideo &&
700
+ this.jumbotronType !== "png" ? (index.h("slot", { name: "video" })) : null, this.hasCountdown ? (index.h("slot", { name: "countdown" })) : null, this.jumbotronType === "png" ? (index.h("div", { class: "desktop-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? (index.h("slot", { name: "video" })) : null))) : null, this.jumbotronType === "gif" ? (index.h("div", { class: "desktop-media-image desk-gif-adjustment" }, index.h("img", { src: this.gifSrc }))) : null, this.jumbotronType === "blog" ? (index.h("div", { class: "desktop-media-image" }, index.h("div", { class: "media-image-wrapper" }, index.h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" })))) : null)))));
701
+ }
702
+ getCssClassMap() {
703
+ return {
704
+ // [this.imageZIndex] : true
705
+ "text-jumbotron": this.jumbotronType === "text" ? true : false,
706
+ "png-jumbotron": this.jumbotronType === "png" ? true : false,
707
+ "blog-jumbotron": this.jumbotronType === "blog" ? true : false,
708
+ "gif-jumbotron": this.jumbotronType === "gif" ? true : false,
709
+ "dark-video-jumbotron light-links": this.jumbotronType === "dark-video" ? true : false,
710
+ "light-video-jumbotron": this.jumbotronType === "light-video" ? true : false,
711
+ "dark-jumbotron light-links": this.jumbotronType === "dark" ? true : false,
712
+ "light-jumbotron": this.jumbotronType === "light" ? true : false,
713
+ };
714
+ }
715
+ getContentBackground() {
716
+ if (window.innerWidth < 992) {
717
+ switch (this.jumbotronType) {
718
+ case "light":
719
+ case "light-video":
720
+ case "png":
721
+ this.contentBackground = "var(--color-white)";
722
+ this.contentColor = "var(--color-gray-10)";
723
+ break;
724
+ case "dark":
725
+ case "dark-video":
726
+ this.contentBackground = "var(--color-gray-09)";
727
+ this.contentColor = "var(--color-gray-01)";
728
+ break;
729
+ case "blog":
730
+ this.contentBackground = "white";
731
+ this.contentColor = "var(--color-gray-10)";
732
+ break;
733
+ default:
734
+ this.contentBackground = "transparent";
735
+ this.contentColor = "var(--color-gray-10)";
736
+ }
737
+ this.isMobile = true;
738
+ }
739
+ else {
740
+ switch (this.jumbotronType) {
741
+ case "light":
742
+ case "light-video":
743
+ case "png":
744
+ this.contentBackground =
745
+ "linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)";
746
+ this.contentColor = "var(--color-gray-10)";
747
+ break;
748
+ case "dark":
749
+ case "dark-video":
750
+ this.contentBackground =
751
+ "linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)";
752
+ this.contentColor = "var(--color-gray-01)";
753
+ break;
754
+ case "gif":
755
+ this.contentBackground = "#F3F3F3";
756
+ this.contentColor = "var(--color-gray-10)";
757
+ break;
758
+ case "blog":
759
+ this.contentBackground = "white";
760
+ this.contentColor = "var(--color-gray-10)";
761
+ break;
762
+ default:
763
+ this.contentBackground = "transparent";
764
+ this.contentColor = "var(--color-gray-10)";
765
+ }
766
+ this.isMobile = false;
767
+ }
768
+ }
769
+ get el() { return index.getElement(this); }
770
+ };
771
+ PtcJumbotron.style = ptcJumbotronCss;
772
+
773
+ 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.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}}";
774
+
775
+ const PtcPara = class {
776
+ constructor(hostRef) {
777
+ index.registerInstance(this, hostRef);
778
+ this.fontSize = "x-small";
779
+ this.fontWeight = "w-4";
780
+ this.paraStyle = "default";
781
+ this.paraColor = "primary-grey";
782
+ this.paraLineH = "line-height-normal";
783
+ this.paraMargin = undefined;
784
+ this.paraAlign = undefined;
785
+ this.ellipsisLineCutoff = undefined;
786
+ this.paraZIndex = undefined;
787
+ this.styles = undefined;
788
+ this.seoCompatibilityMode = false;
789
+ this.tooltipZIndex = "auto";
790
+ this.tooltipPosition = "bottom";
791
+ this.tooltipTheme = "standard";
792
+ this.enableTooltip = false;
793
+ this.maxChars = undefined;
794
+ this.maxLines = undefined;
795
+ this.hideTooltipOnMobile = false;
796
+ this.ismob = undefined;
797
+ this.noOverflow = false;
798
+ this.tooltipWidth = "default";
799
+ }
800
+ // Tooltip Properties ends
801
+ render() {
802
+ if (this.seoCompatibilityMode) {
803
+ utils.seoSlotReset(this.el);
804
+ }
805
+ return this.standardRender();
806
+ }
807
+ //tooltip code
808
+ getSortedText(content) {
809
+ if (!this.enableTooltip)
810
+ return;
811
+ const trimmedContent = content.trim();
812
+ const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
813
+ return shouldTruncate
814
+ ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026`
815
+ : trimmedContent;
816
+ }
817
+ componentDidLoad() {
818
+ if (this.hideTooltipOnMobile) {
819
+ this.el.classList.add("hide-tooltip-on-mobile");
820
+ }
821
+ this.el.addEventListener("mouseenter", () => {
822
+ this.toggleTitleTooltip(true);
823
+ });
824
+ this.el.addEventListener("mouseleave", () => {
825
+ this.toggleTitleTooltip(false);
826
+ });
827
+ if (this.enableTooltip) {
828
+ let paraContent = this.el.innerText || this.el.textContent;
829
+ this.tooltipText = paraContent.trim();
830
+ this.el.innerText = this.getSortedText(paraContent);
831
+ }
832
+ }
833
+ toggleTitleTooltip(show) {
834
+ const tooltipClass = "tooltip-box";
835
+ const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
836
+ const text = this.el.shadowRoot.querySelectorAll(".line-clamp-title");
837
+ let maxLinesShowCheck = false;
838
+ if (text) {
839
+ text.forEach((t) => {
840
+ maxLinesShowCheck = t.scrollHeight > t.clientHeight;
841
+ });
842
+ }
843
+ const ifCharExceeds = this.maxChars
844
+ ? this.tooltipText.length > this.maxChars && !this.maxLines
845
+ : false;
846
+ const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
847
+ if (show && this.enableTooltip) {
848
+ if (((!existingTooltip && ifCharExceeds) ||
849
+ (!existingTooltip && ifLinesExceeds)) &&
850
+ !this.noOverflow) {
851
+ const tooltipMarkup = document.createElement("div");
852
+ tooltipMarkup.className = tooltipClass;
853
+ tooltipMarkup.innerText = this.tooltipText;
854
+ tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
855
+ tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
856
+ if (this.hideTooltipOnMobile) {
857
+ tooltipMarkup.classList.add("hide-tooltip-mobile");
858
+ }
859
+ this.el.appendChild(tooltipMarkup);
860
+ }
861
+ }
862
+ else {
863
+ existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
864
+ }
865
+ }
866
+ //tooltip code ends
867
+ standardRender() {
868
+ const classMap = this.getCssClassMap();
869
+ const colorClass = this.addWhiteClass();
870
+ const cutOff = this.getLineCuttoff();
871
+ return (index.h(index.Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && index.h("style", null, this.styles), index.h("p", { class: classMap, part: "part-para", style: cutOff }, index.h("slot", null))));
872
+ }
873
+ getCssClassMap() {
874
+ return {
875
+ [this.fontSize]: true,
876
+ [this.fontWeight]: true,
877
+ [this.paraStyle]: true,
878
+ [this.paraMargin]: !!this.paraMargin ? true : false,
879
+ [this.paraColor]: true,
880
+ [this.paraLineH]: true,
881
+ [this.paraAlign]: !!this.paraAlign ? true : false,
882
+ ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
883
+ ["line-clamp-title"]: this.maxLines && this.maxLines > 0, //tooltip code,
884
+ };
885
+ }
886
+ //WEB-2392
887
+ addWhiteClass() {
888
+ if (this.paraColor == "white") {
889
+ return {
890
+ [this.paraColor]: true,
891
+ };
892
+ }
893
+ }
894
+ getLineCuttoff() {
895
+ const lineClamp = this.ellipsisLineCutoff > 0
896
+ ? this.ellipsisLineCutoff
897
+ : this.maxLines;
898
+ return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
899
+ }
900
+ get el() { return index.getElement(this); }
901
+ };
902
+ PtcPara.style = ptcParaCss;
903
+
904
+ const ptcPictureCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{display:block;overflow:hidden}:host .inline{display:inline}:host .inline-block{display:inline-block}:host .block{display:block}:host(.relative){position:relative}:host(.static){position:static}:host(.absoltue){position:absolute}img{max-width:100%}.cover{-o-object-fit:cover;object-fit:cover}.fill{-o-object-fit:fill;object-fit:fill}.contain{-o-object-fit:contain;object-fit:contain}.scale-down{-o-object-fit:scale-down;object-fit:scale-down}.none{-o-object-fit:none;object-fit:none}.initial{-o-object-fit:initial;object-fit:initial}.inherit{-o-object-fit:inherit;object-fit:inherit}.radius-standard{border-radius:var(--ptc-border-radius-standard)}.radius-large{border-radius:var(--ptc-border-radius-large)}.radius-pill{border-radius:var(--ptc-border-radius-pill)}.radius-circle{border-radius:var(--ptc-border-radius-circle)}.is-full-height{height:100%}.is-full-width{width:100%}:host(.left){text-align:left}:host(.right){text-align:right}:host(.center){text-align:center}";
905
+
906
+ const PtcPicture = class {
907
+ constructor(hostRef) {
908
+ index.registerInstance(this, hostRef);
909
+ this.src = undefined;
910
+ this.alt = "image";
911
+ this.sizeXs = "510x340";
912
+ this.sizeSm = "1240x496";
913
+ this.sizeMd = "1366x500";
914
+ this.sizeLg = "1920x1080";
915
+ this.disableResize = false;
916
+ this.oldSrc = undefined;
917
+ this.imagePosition = "static";
918
+ this.borderRadius = undefined;
919
+ this.height = undefined;
920
+ this.width = undefined;
921
+ this.objectFit = "cover";
922
+ this.isFullHeight = false;
923
+ this.isFullWidth = false;
924
+ this.styles = undefined;
925
+ this.imageAlignment = "left";
926
+ this.maxWidth = undefined;
927
+ this.displayImage = "block";
928
+ }
929
+ WindowResize() {
930
+ this.addIntersectionObserver();
931
+ }
932
+ componentWillLoad() {
933
+ if (this.disableResize) {
934
+ this.sizeXs = undefined;
935
+ this.sizeSm = undefined;
936
+ this.sizeMd = undefined;
937
+ this.sizeLg = undefined;
938
+ }
939
+ }
940
+ componentDidLoad() {
941
+ this.addIntersectionObserver();
942
+ }
943
+ componentWillUpdate() {
944
+ if (this.src !== this.oldSrc) {
945
+ this.addIntersectionObserver();
946
+ }
947
+ this.oldSrc = this.src;
948
+ }
949
+ //lazy-loading
950
+ addIntersectionObserver() {
951
+ if (!this.src) {
952
+ return;
953
+ }
954
+ if ("IntersectionObserver" in window) {
955
+ let lazyLoadImages = new IntersectionObserver((entries) => {
956
+ entries.forEach((entry) => {
957
+ if (entry.isIntersecting) {
958
+ const image = this.el.shadowRoot.querySelector("img");
959
+ image.src = this.setResponsiveBg();
960
+ lazyLoadImages.unobserve(image);
961
+ }
962
+ });
963
+ });
964
+ let tempImg = this.el.shadowRoot.querySelector("img");
965
+ if (tempImg) {
966
+ lazyLoadImages.observe(tempImg);
967
+ }
968
+ this.observer = lazyLoadImages;
969
+ }
970
+ else {
971
+ // fall back to setTimeout for Safari and IE
972
+ setTimeout(() => {
973
+ const image = this.el.shadowRoot.querySelector("img");
974
+ image.src = this.setResponsiveBg();
975
+ image.onload = () => {
976
+ image.removeAttribute("data-src");
977
+ };
978
+ }, 5000);
979
+ }
980
+ }
981
+ //responsive image
982
+ setResponsiveBg() {
983
+ // Define local variables
984
+ let backgrounds = (this.el.shadowRoot || document).querySelectorAll("img"), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
985
+ for (var i = 0, len = backgrounds.length; i < len; i++) {
986
+ // Set current variables
987
+ el = backgrounds[i];
988
+ elData = el.getAttribute("data-" + currentBreakpoint);
989
+ if (elData !== null) {
990
+ return elData;
991
+ }
992
+ else {
993
+ if (typeof console == "object") {
994
+ console.warn("Data attribute: data-" +
995
+ currentBreakpoint +
996
+ " not found on element:\n\n" +
997
+ el.outerHTML +
998
+ "\n\n\n");
999
+ }
1000
+ }
1001
+ }
1002
+ }
1003
+ //manually load image
1004
+ async LoadImage() {
1005
+ const image = this.el.shadowRoot.querySelector("img");
1006
+ if (!image) {
1007
+ return;
1008
+ }
1009
+ if (!image.src) {
1010
+ image.src = this.setResponsiveBg();
1011
+ image.onload = () => {
1012
+ image.removeAttribute("data-src");
1013
+ };
1014
+ }
1015
+ if (this.observer) {
1016
+ this.observer.unobserve(image);
1017
+ }
1018
+ }
1019
+ render() {
1020
+ const classMap = this.getCssClassMap();
1021
+ const classMapHost = this.getCssClassMapHost();
1022
+ return (index.h(index.Host, { class: classMapHost }, this.styles && index.h("style", null, this.styles), index.h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth
1023
+ ? { maxWidth: this.maxWidth + "px" }
1024
+ : {})) })), index.h("slot", null)));
1025
+ }
1026
+ getCurrentBreakPoints() {
1027
+ // Define local variables
1028
+ let doc = window.document, temp = doc.createElement("div"), env;
1029
+ // Append test node
1030
+ doc.body.appendChild(temp);
1031
+ // Loop through breakpoints
1032
+ for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
1033
+ env = ResponsivePictureVariables.envs[i];
1034
+ // Add classes
1035
+ temp.className = "hidden-" + env;
1036
+ // Found breakpoint
1037
+ if (temp.offsetParent === null) {
1038
+ // Remove our test node
1039
+ doc.body.removeChild(temp);
1040
+ // Return current breakpoint
1041
+ return env;
1042
+ }
1043
+ }
1044
+ // Breakpoint not found, try fallback
1045
+ doc.body.removeChild(temp);
1046
+ return this.getFallbackBreakpoint();
1047
+ }
1048
+ getFallbackBreakpoint() {
1049
+ if (window.matchMedia("(min-width: 992px)").matches) {
1050
+ return "lg";
1051
+ }
1052
+ else if (window.matchMedia("(min-width: 768px)").matches) {
1053
+ return "md";
1054
+ }
1055
+ else if (window.matchMedia("(min-width: 576px)").matches) {
1056
+ return "sm";
1057
+ }
1058
+ else {
1059
+ return "xs";
1060
+ }
1061
+ }
1062
+ getCssClassMap() {
1063
+ return {
1064
+ [this.borderRadius]: this.borderRadius ? true : false,
1065
+ [this.objectFit]: true,
1066
+ [this.isFullHeight ? "is-full-height" : "is-normal-height"]: true,
1067
+ [this.isFullWidth ? "is-full-width" : "is-normal-width"]: true,
1068
+ [this.displayImage]: true,
1069
+ };
1070
+ }
1071
+ getCssClassMapHost() {
1072
+ return {
1073
+ [this.imagePosition]: true,
1074
+ [this.imageAlignment]: true,
1075
+ };
1076
+ }
1077
+ get el() { return index.getElement(this); }
1078
+ };
1079
+ PtcPicture.style = ptcPictureCss;
1080
+
1081
+ const ptcSpacerCss = ":host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.ptc-spacer-horizontal){display:inline-block;height:100% !important}:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.ptc-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.ptc-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.small){width:12px;min-width:12px}}:host(.ptc-spacer-horizontal.medium){height:100%}:host(.ptc-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.large){width:20px;min-width:20px}}:host(.ptc-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.ptc-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.ptc-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.ptc-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.ptc-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.ptc-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.ptc-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.ptc-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.ptc-spacer-vertical.small){height:12px;min-height:12px}}:host(.ptc-spacer-vertical.medium){width:100%}:host(.ptc-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.ptc-spacer-vertical.large){height:20px;min-height:20px}}:host(.ptc-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.ptc-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.ptc-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.ptc-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.ptc-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.ptc-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.ptc-spacer-vertical.space-144){width:100%;height:144px;min-height:144px}:host(.ptc-spacer-vertical.space-120){width:100%;height:120px;min-height:120px}:host(.ptc-spacer-vertical.space-128){width:100%;height:128px;min-height:128px}:host(.ptc-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.ptc-spacer-xx-small){display:block}}:host(.ptc-spacer-x-small){display:none}@media (max-width: 35.99em){:host(.ptc-spacer-x-small){display:block}}:host(.ptc-spacer-small){display:none}@media (min-width: 36em){:host(.ptc-spacer-small){display:block}}:host(.ptc-spacer-medium){display:none}@media (min-width: 48em){:host(.ptc-spacer-medium){display:block}}:host(.ptc-spacer-large){display:none}@media (min-width: 62em){:host(.ptc-spacer-large){display:block}}:host(.ptc-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.ptc-spacer-x-large){display:block}}:host(.ptc-spacer-xx-large){display:none}@media (min-width: 75em){:host(.ptc-spacer-xx-large){display:block}}:host(.ptc-spacer-xxx-large){display:none}@media (min-width: 90em){:host(.ptc-spacer-xxx-large){display:block}}";
1082
+
1083
+ const PtcSpacer = class {
1084
+ constructor(hostRef) {
1085
+ index.registerInstance(this, hostRef);
1086
+ this.breakpoint = "";
1087
+ this.size = "medium";
1088
+ this.direction = "vertical";
1089
+ }
1090
+ render() {
1091
+ const classMap = this.getCssClassMap();
1092
+ return index.h(index.Host, { class: classMap });
1093
+ }
1094
+ getCssClassMap() {
1095
+ return {
1096
+ [this.size]: true,
1097
+ ["ptc-spacer-horizontal"]: this.direction === "horizontal",
1098
+ ["ptc-spacer-vertical"]: this.direction === "vertical",
1099
+ ["ptc-spacer-xx-small"]: this.breakpoint === "xx-small",
1100
+ ["ptc-spacer-x-small"]: this.breakpoint === "x-small",
1101
+ ["ptc-spacer-small"]: this.breakpoint === "small",
1102
+ ["ptc-spacer-medium"]: this.breakpoint === "medium",
1103
+ ["ptc-spacer-large"]: this.breakpoint === "large",
1104
+ ["ptc-spacer-x-large"]: this.breakpoint === "x-large",
1105
+ ["ptc-spacer-xx-large"]: this.breakpoint === "xx-large",
1106
+ ["ptc-spacer-xxx-large"]: this.breakpoint === "xxx-large",
1107
+ };
1108
+ }
1109
+ };
1110
+ PtcSpacer.style = ptcSpacerCss;
1111
+
1112
+ const ptcSubnavV2Css = "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 .mobile-dropdown-container .mobile-dropdown-button,:host .subnav-menu-left .overflow-menu-container .overflow-button,:host .subnav-menu-left ul.desktop-menu li a{color:var(--color-gray-07);text-decoration:none;padding:8px 12px;text-align:center;font-family:var(--ptc-font-latin);font-style:var(--ptc-font-style-normal);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:18px;display:flex;align-items:center;position:relative;border-bottom:3px solid transparent;height:100%;box-sizing:border-box;transition:all 0.2s ease}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown{position:absolute;top:100%;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-x-large);z-index:1001;padding:14px 0;margin-top:-4px;max-width:312px;width:-moz-max-content;width:max-content}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item,:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{display:block;padding:10px 32px 10px 24px;color:var(--color-gray-07);text-decoration:none;font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);transition:all 0.2s ease;position:relative;border:none}:host{position:relative;display:block;font-family:var(--ptc-font-latin);background-color:var(--color-standard-gray);box-shadow:var(--ptc-shadow-small);transition:all 0.3s ease-in-out}:host.sticky-transition{transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease-in-out, background-color 0.3s ease-in-out;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15)}:host .subnav-container{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:0 24px;margin:0 auto;max-width:1200px;gap:24px}@media only screen and (min-width: 768px){:host .subnav-container{flex-wrap:wrap;gap:48px}}@media only screen and (min-width: 1200px){:host .subnav-container{padding:0;max-width:1136px}}@media only screen and (min-width: 1440px){:host .subnav-container{padding:0;max-width:1200px}}:host .subnav-container.full-width{justify-content:flex-start}:host .subnav-menu-left{display:flex;align-items:center;flex:1;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left{justify-content:flex-start}}:host .subnav-menu-left ul.desktop-menu{list-style:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap;align-self:stretch}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu{justify-content:flex-start;gap:32px}}:host .subnav-menu-left ul.desktop-menu li{display:inline-block;height:100%}@media only screen and (min-width: 768px){:host .subnav-menu-left ul.desktop-menu li a{padding:20px 0 17px 0}}:host .subnav-menu-left ul.desktop-menu li a:hover{color:var(--color-gray-10)}:host .subnav-menu-left ul.desktop-menu li a.active{color:var(--color-gray-10);border-bottom:3px solid var(--color-green-07)}:host .subnav-menu-left ul.desktop-menu li a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container{position:relative;display:none}@media only screen and (min-width: 768px){:host .subnav-menu-left .overflow-menu-container{display:inline-block}}:host .subnav-menu-left .overflow-menu-container .overflow-button{background:none;border:none;padding:20px 0 17px 0;cursor:pointer;justify-content:center;border-bottom:3px solid transparent;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button:hover{color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots{border-radius:2px;border:1px solid var(--color-gray-07);line-height:1;width:18px;height:18px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.2s ease;box-sizing:border-box}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover{background-color:var(--color-gray-04);border-color:var(--color-gray-04)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:hover svg circle{fill:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-button .overflow-dots:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded],:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active{border-bottom-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots{background-color:var(--color-green-07);border-color:var(--color-green-07)}:host .subnav-menu-left .overflow-menu-container .overflow-button[aria-expanded] .overflow-dots svg circle,:host .subnav-menu-left .overflow-menu-container .overflow-button.selected-active .overflow-dots svg circle{fill:var(--color-white)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-right{left:auto;right:-2px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown.align-left{left:0;right:auto}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a{text-align:left;line-height:18px}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:hover{background-color:var(--color-gray-02);color:var(--color-gray-10)}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active{color:var(--color-gray-10);border-bottom:none}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .subnav-menu-left .overflow-menu-container .overflow-dropdown a:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-left.full-width{flex:1;width:100%;justify-content:flex-start}:host .subnav-menu-left.full-width .desktop-menu{width:100%}:host .mobile-dropdown-container{position:relative;display:block;height:100%;box-sizing:border-box}@media only screen and (min-width: 768px){:host .mobile-dropdown-container{display:none !important}}:host .mobile-dropdown-container .mobile-dropdown-button{background:transparent;border:none;border-bottom:3px solid var(--color-green-07);padding:20px 0 17px 0;justify-content:center;gap:10px;cursor:pointer}:host .mobile-dropdown-container .mobile-dropdown-button:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .mobile-dropdown-container .mobile-dropdown-button[aria-expanded]{border-color:var(--color-green-07);color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-selected-item{flex:1;text-align:left;color:var(--color-gray-07);font-size:var(--ptc-font-size-xx-small);font-weight:var(--ptc-font-weight-bold);line-height:var(--ptc-line-height-densest);display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow{display:flex;align-items:center;justify-content:center;transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow svg{transition:transform 0.2s ease}:host .mobile-dropdown-container .mobile-dropdown-button .mobile-arrow.rotated svg{transform:rotate(180deg)}:host .mobile-dropdown-container .mobile-dropdown{position:absolute;top:calc(100% - 8px);left:-2px;background:var(--color-standard-gray);border-radius:var(--ptc-border-radius-standard);box-shadow:var(--ptc-shadow-medium);z-index:1001;margin:4px 0 0 0;overflow-y:auto;min-width:280px;width:-moz-fit-content;width:fit-content;list-style:none;padding:14px 0}:host .mobile-dropdown-container .mobile-dropdown li{display:block}:host .mobile-dropdown-container .mobile-dropdown li:last-child{border-bottom:none}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item{width:100%;background:none;text-align:left;cursor:pointer;word-break:break-word;display:block;box-sizing:border-box}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active{color:var(--color-gray-10)}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item.active::before{content:\"\";display:block;width:2px;height:100%;background-color:var(--color-green-07);position:absolute;left:14px;top:0}:host .mobile-dropdown-container .mobile-dropdown li .mobile-dropdown-item:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .subnav-menu-right{max-width:50%;padding:12px 0}@media only screen and (min-width: 768px){:host .subnav-menu-right{width:auto;max-width:300px}}";
1113
+
1114
+ const PtcSubnavV2 = class {
1115
+ constructor(hostRef) {
1116
+ index.registerInstance(this, hostRef);
1117
+ this.cachedNavItems = null;
1118
+ this.isSticky = false;
1119
+ this.originalTop = 0;
1120
+ this.placeholderElement = null;
1121
+ this.measurementElement = null;
1122
+ this.handleClickOutside = (event) => {
1123
+ if (!this.el.contains(event.target)) {
1124
+ this.showOverflowMenu = false;
1125
+ }
1126
+ };
1127
+ this.handleKeyDown = (event) => {
1128
+ var _a;
1129
+ if (event.key === "Escape" && this.showOverflowMenu) {
1130
+ this.showOverflowMenu = false;
1131
+ (_a = this.overflowButton) === null || _a === void 0 ? void 0 : _a.focus();
1132
+ }
1133
+ };
1134
+ this.handleScroll = () => {
1135
+ // Throttle scroll events for better performance
1136
+ if (this.scrollThrottleTimeout) {
1137
+ return;
1138
+ }
1139
+ this.scrollThrottleTimeout = window.setTimeout(() => {
1140
+ // Don't update active state if user just manually navigated
1141
+ if (this.isManualNavigation) {
1142
+ this.scrollThrottleTimeout = null;
1143
+ return;
1144
+ }
1145
+ // Fallback scroll handler to ensure active state is updated
1146
+ const navItems = this.getNavItems();
1147
+ const subnavHeight = this.el.offsetHeight;
1148
+ const scrollPosition = window.scrollY + subnavHeight + 100; // Offset for better detection
1149
+ // Find the section that should be active based on scroll position
1150
+ let activeSection = navItems[0].id; // Default to first section
1151
+ for (let i = navItems.length - 1; i >= 0; i--) {
1152
+ const section = document.getElementById(navItems[i].id);
1153
+ if (section && section.offsetTop <= scrollPosition) {
1154
+ activeSection = navItems[i].id;
1155
+ break;
1156
+ }
1157
+ }
1158
+ // Only update if different from current active
1159
+ if (activeSection !== this.currentActive) {
1160
+ this.currentActive = activeSection;
1161
+ }
1162
+ this.scrollThrottleTimeout = null;
1163
+ }, 16); // ~60fps throttling
1164
+ };
1165
+ this.initializeStickyPosition = () => {
1166
+ // Store the original position of the subnav
1167
+ const rect = this.el.getBoundingClientRect();
1168
+ this.originalTop = rect.top + window.scrollY;
1169
+ };
1170
+ this.handleStickyScroll = () => {
1171
+ // Throttle sticky scroll events for better performance
1172
+ if (this.stickyScrollTimeout) {
1173
+ return;
1174
+ }
1175
+ this.stickyScrollTimeout = window.setTimeout(() => {
1176
+ var _a;
1177
+ const scrollY = window.scrollY;
1178
+ // Check if we should make the subnav sticky
1179
+ const shouldBeSticky = scrollY >= this.originalTop;
1180
+ if (shouldBeSticky && !this.isSticky) {
1181
+ // Store the original height before making it fixed
1182
+ const originalHeight = this.el.offsetHeight;
1183
+ // Create placeholder element to maintain space
1184
+ this.placeholderElement = document.createElement("div");
1185
+ this.placeholderElement.style.height = `${originalHeight}px`;
1186
+ this.placeholderElement.style.width = "100%";
1187
+ this.placeholderElement.style.pointerEvents = "none";
1188
+ // Insert placeholder before the subnav
1189
+ (_a = this.el.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(this.placeholderElement, this.el);
1190
+ // Add transition class for smooth animation
1191
+ this.el.classList.add("sticky-transition");
1192
+ // Apply fixed positioning with smooth transition
1193
+ this.el.style.position = "fixed";
1194
+ this.el.style.top = "0";
1195
+ this.el.style.left = "0";
1196
+ this.el.style.right = "0";
1197
+ this.el.style.width = "100%";
1198
+ this.el.style.zIndex = "105";
1199
+ this.el.style.transform = "translateY(0)";
1200
+ this.isSticky = true;
1201
+ }
1202
+ else if (!shouldBeSticky && this.isSticky) {
1203
+ // Remove transition class and reset transform
1204
+ this.el.classList.remove("sticky-transition");
1205
+ this.el.style.transform = "";
1206
+ // Remove fixed positioning and restore original position
1207
+ this.el.style.position = "";
1208
+ this.el.style.top = "";
1209
+ this.el.style.left = "";
1210
+ this.el.style.right = "";
1211
+ this.el.style.width = "";
1212
+ this.el.style.zIndex = "";
1213
+ this.isSticky = false;
1214
+ // Remove placeholder element
1215
+ if (this.placeholderElement) {
1216
+ this.placeholderElement.remove();
1217
+ this.placeholderElement = null;
1218
+ }
1219
+ }
1220
+ this.stickyScrollTimeout = null;
1221
+ }, 16); // ~60fps throttling
1222
+ };
1223
+ this.handleResize = () => {
1224
+ this.navContainer && setTimeout(() => this.calculateVisibleItems(), 10);
1225
+ // Recalculate original position on resize
1226
+ if (!this.isSticky) {
1227
+ this.initializeStickyPosition();
1228
+ }
1229
+ else if (this.placeholderElement) {
1230
+ // Update placeholder height if sticky and resized
1231
+ const currentHeight = this.el.offsetHeight;
1232
+ this.placeholderElement.style.height = `${currentHeight}px`;
1233
+ // Update originalTop based on placeholder position (layout may have changed)
1234
+ const placeholderRect = this.placeholderElement.getBoundingClientRect();
1235
+ this.originalTop = placeholderRect.top + window.scrollY;
1236
+ }
1237
+ };
1238
+ this.setupIntersectionObserver = () => {
1239
+ // Get all sections that correspond to our navigation items
1240
+ const navItems = this.getNavItems();
1241
+ // Create intersection observer
1242
+ this.intersectionObserver = new IntersectionObserver((entries) => {
1243
+ // Clear any existing timeout
1244
+ if (this.scrollTimeout) {
1245
+ clearTimeout(this.scrollTimeout);
1246
+ }
1247
+ // Debounce the intersection changes
1248
+ this.scrollTimeout = window.setTimeout(() => {
1249
+ // Don't update active state if user just manually navigated
1250
+ if (this.isManualNavigation) {
1251
+ return;
1252
+ }
1253
+ // Find all intersecting sections
1254
+ const intersectingSections = entries.filter((entry) => entry.isIntersecting);
1255
+ if (intersectingSections.length > 0) {
1256
+ // Sort by intersection ratio (how much of the section is visible)
1257
+ // and then by position (top to bottom)
1258
+ intersectingSections.sort((a, b) => {
1259
+ // First sort by intersection ratio (higher = more visible)
1260
+ if (b.intersectionRatio !== a.intersectionRatio) {
1261
+ return (b.intersectionRatio - a.intersectionRatio);
1262
+ }
1263
+ // If intersection ratios are equal, sort by position
1264
+ return (a.boundingClientRect.top -
1265
+ b.boundingClientRect.top);
1266
+ });
1267
+ // Get the most visible section
1268
+ const mostVisibleSection = intersectingSections[0];
1269
+ const sectionId = mostVisibleSection.target.id;
1270
+ if (sectionId && sectionId !== this.currentActive) {
1271
+ this.currentActive = sectionId;
1272
+ }
1273
+ }
1274
+ }, 100); // Increased debounce time for better performance
1275
+ }, {
1276
+ root: null,
1277
+ rootMargin: "-20% 0px -60% 0px",
1278
+ threshold: [0, 0.1, 0.25, 0.5, 0.75, 1.0], // Multiple thresholds for better detection
1279
+ });
1280
+ // Observe all sections
1281
+ navItems.forEach((item) => {
1282
+ const section = document.getElementById(item.id);
1283
+ if (section) {
1284
+ this.intersectionObserver.observe(section);
1285
+ }
1286
+ });
1287
+ };
1288
+ this.setupResizeObserver = () => {
1289
+ // Observe the parent element for layout changes
1290
+ this.resizeObserver = new ResizeObserver(() => {
1291
+ // Recalculate sticky position when parent layout changes
1292
+ if (!this.isSticky) {
1293
+ this.initializeStickyPosition();
1294
+ }
1295
+ else if (this.placeholderElement) {
1296
+ // If sticky, update originalTop based on placeholder position
1297
+ const placeholderRect = this.placeholderElement.getBoundingClientRect();
1298
+ this.originalTop = placeholderRect.top + window.scrollY;
1299
+ }
1300
+ });
1301
+ // Observe the element's parent or the element itself
1302
+ if (this.el.parentElement) {
1303
+ this.resizeObserver.observe(this.el.parentElement);
1304
+ }
1305
+ };
1306
+ this.extractNavItemsFromSlots = () => {
1307
+ const slotElement = this.el.querySelector('[slot="nav-items"]');
1308
+ if (!slotElement)
1309
+ return null;
1310
+ const links = slotElement.querySelectorAll("a");
1311
+ const items = Array.from(links)
1312
+ .map((link) => {
1313
+ var _a, _b;
1314
+ return ({
1315
+ id: ((_a = link.getAttribute("href")) === null || _a === void 0 ? void 0 : _a.substring(1)) || "",
1316
+ label: ((_b = link.textContent) === null || _b === void 0 ? void 0 : _b.trim()) || "",
1317
+ title: link.getAttribute("title") || undefined,
1318
+ trackerId: link.getAttribute("tracker-id") || undefined,
1319
+ });
1320
+ })
1321
+ .filter((item) => Boolean(item.id && item.label));
1322
+ return items.length > 0 ? items : null;
1323
+ };
1324
+ this.getNavItems = () => {
1325
+ // Return cached items if available
1326
+ if (this.cachedNavItems) {
1327
+ return this.cachedNavItems;
1328
+ }
1329
+ // Extract navigation items from slots (SEO-friendly approach)
1330
+ const slotItems = this.extractNavItemsFromSlots();
1331
+ if (slotItems) {
1332
+ this.cachedNavItems = slotItems;
1333
+ return slotItems;
1334
+ }
1335
+ // If navItems prop is provided, parse and use it (fallback)
1336
+ const propItems = this.parsePropNavItems();
1337
+ if (propItems) {
1338
+ this.cachedNavItems = propItems;
1339
+ return propItems;
1340
+ }
1341
+ // Return empty array if no navigation items found
1342
+ console.warn("No navigation items found in slots or props for ptc-subnav-v2");
1343
+ return [];
1344
+ };
1345
+ this.hasActiveOverflowItem = () => {
1346
+ return this.overflowItems.some((item) => item.id === this.currentActive);
1347
+ };
1348
+ this.hasSubnavMenuRightContent = () => {
1349
+ const slotElement = this.el.querySelector('[slot="subnav-menu-right"]');
1350
+ return Boolean(slotElement === null || slotElement === void 0 ? void 0 : slotElement.children.length);
1351
+ };
1352
+ this.calculateVisibleItems = () => {
1353
+ const navItems = this.getNavItems();
1354
+ // Handle case where no navigation items are found
1355
+ if (navItems.length === 0) {
1356
+ this.visibleItems = [];
1357
+ this.overflowItems = [];
1358
+ return;
1359
+ }
1360
+ // Check if we're in mobile mode (below 767px)
1361
+ const wasMobile = this.isMobile;
1362
+ this.isMobile = window.innerWidth <= 767;
1363
+ // Force re-render if mobile state changed
1364
+ if (wasMobile !== this.isMobile) {
1365
+ this.showOverflowMenu = false; // Close any open menus when switching modes
1366
+ }
1367
+ if (this.isMobile) {
1368
+ // On mobile, show only the current active item
1369
+ const activeItem = navItems.find((item) => item.id === this.currentActive) ||
1370
+ navItems[0];
1371
+ this.visibleItems = [activeItem];
1372
+ this.overflowItems = navItems.filter((item) => item.id !== activeItem.id);
1373
+ }
1374
+ else {
1375
+ // Desktop behavior - calculate based on available width
1376
+ const containerWidth = this.navContainer
1377
+ ? this.navContainer.offsetWidth
1378
+ : 0;
1379
+ const buttonWidth = this.overflowButton
1380
+ ? this.overflowButton.offsetWidth + 32
1381
+ : 0; // 32px for gap
1382
+ const availableWidth = containerWidth - buttonWidth - 48; // 48px for right margin
1383
+ // Fallback if container width is not available yet
1384
+ if (containerWidth === 0) {
1385
+ this.visibleItems = navItems;
1386
+ this.overflowItems = [];
1387
+ return;
1388
+ }
1389
+ let visibleCount = 0;
1390
+ let totalWidth = 0;
1391
+ // Create or reuse measurement element
1392
+ if (!this.measurementElement) {
1393
+ this.measurementElement = document.createElement("div");
1394
+ this.measurementElement.style.position = "absolute";
1395
+ this.measurementElement.style.visibility = "hidden";
1396
+ this.measurementElement.style.whiteSpace = "nowrap";
1397
+ this.measurementElement.style.fontSize = "14px";
1398
+ this.measurementElement.style.fontWeight = "700";
1399
+ this.measurementElement.style.padding = "20px 0 20px 0";
1400
+ }
1401
+ document.body.appendChild(this.measurementElement);
1402
+ for (let i = 0; i < navItems.length; i++) {
1403
+ const item = navItems[i];
1404
+ this.measurementElement.textContent = item.label;
1405
+ const itemWidth = this.measurementElement.offsetWidth + 32; // 32px for gap
1406
+ if (totalWidth + itemWidth <= availableWidth) {
1407
+ totalWidth += itemWidth;
1408
+ visibleCount++;
1409
+ }
1410
+ else {
1411
+ break;
1412
+ }
1413
+ }
1414
+ document.body.removeChild(this.measurementElement);
1415
+ this.visibleItems = navItems.slice(0, visibleCount);
1416
+ this.overflowItems = navItems.slice(visibleCount);
1417
+ }
1418
+ // Don't automatically show overflow menu - it should be closed by default
1419
+ // this.showOverflowMenu = this.overflowItems.length > 0;
1420
+ };
1421
+ this.toggleOverflowMenu = () => {
1422
+ this.showOverflowMenu = !this.showOverflowMenu;
1423
+ // After opening, measure and decide alignment to avoid viewport overflow
1424
+ if (!this.showOverflowMenu) {
1425
+ return;
1426
+ }
1427
+ requestAnimationFrame(() => {
1428
+ const container = this.overflowMenuContainer;
1429
+ const dropdown = this.overflowDropdownEl;
1430
+ if (!container || !dropdown)
1431
+ return;
1432
+ const containerRect = container.getBoundingClientRect();
1433
+ // Default positioning is right: -2px inside container
1434
+ const dropdownWidth = dropdown.offsetWidth || 0;
1435
+ const rightEdge = containerRect.right + 2;
1436
+ const leftEdge = rightEdge - dropdownWidth;
1437
+ // If left edge would be off the viewport, flip to left aligned
1438
+ this.overflowDropdownAlignLeft = leftEdge < 8; // keep a small gutter
1439
+ });
1440
+ };
1441
+ this.handleNavClick = (event, section) => {
1442
+ event.preventDefault();
1443
+ this.currentActive = section;
1444
+ // Set manual navigation flag to prevent intersection observer from overriding
1445
+ this.isManualNavigation = true;
1446
+ // Clear any existing manual navigation timeout
1447
+ if (this.manualNavigationTimeout) {
1448
+ clearTimeout(this.manualNavigationTimeout);
1449
+ }
1450
+ // Reset manual navigation flag after scroll animation completes
1451
+ this.manualNavigationTimeout = window.setTimeout(() => {
1452
+ this.isManualNavigation = false;
1453
+ }, 1500); // Give enough time for smooth scroll to complete
1454
+ // Emit custom event for parent components
1455
+ const customEvent = new CustomEvent("sectionChange", {
1456
+ detail: { section },
1457
+ bubbles: true,
1458
+ composed: true,
1459
+ });
1460
+ this.el.dispatchEvent(customEvent);
1461
+ // Smooth scroll to section if it exists, accounting for sticky nav height
1462
+ const targetElement = document.querySelector(`#${section}`);
1463
+ if (targetElement) {
1464
+ // Get the sticky nav height
1465
+ const navHeight = this.el.offsetHeight;
1466
+ // Calculate the target position with offset
1467
+ const targetPosition = targetElement.getBoundingClientRect().top +
1468
+ window.scrollY -
1469
+ navHeight;
1470
+ // Smooth scroll to the adjusted position
1471
+ window.scrollTo({
1472
+ top: targetPosition,
1473
+ behavior: "smooth",
1474
+ });
1475
+ }
1476
+ };
1477
+ this.activeSection = "overview";
1478
+ this.navItems = "";
1479
+ this.currentActive = "overview";
1480
+ this.visibleItems = [];
1481
+ this.overflowItems = [];
1482
+ this.showOverflowMenu = false;
1483
+ this.overflowDropdownAlignLeft = false;
1484
+ this.isMobile = false;
1485
+ this.isManualNavigation = false;
1486
+ }
1487
+ componentWillLoad() {
1488
+ this.currentActive = this.activeSection;
1489
+ }
1490
+ componentDidLoad() {
1491
+ this.bindEventHandlers();
1492
+ this.handleResize();
1493
+ this.addEventListeners();
1494
+ this.setupIntersectionObserver();
1495
+ this.setupResizeObserver();
1496
+ this.initializeStickyPosition();
1497
+ }
1498
+ bindEventHandlers() {
1499
+ this.boundHandleResize = this.handleResize.bind(this);
1500
+ this.boundHandleClickOutside = this.handleClickOutside.bind(this);
1501
+ this.boundHandleScroll = this.handleScroll.bind(this);
1502
+ this.boundHandleKeyDown = this.handleKeyDown.bind(this);
1503
+ this.boundHandleStickyScroll = this.handleStickyScroll.bind(this);
1504
+ }
1505
+ addEventListeners() {
1506
+ window.addEventListener("resize", this.boundHandleResize);
1507
+ document.addEventListener("click", this.boundHandleClickOutside);
1508
+ document.addEventListener("keydown", this.boundHandleKeyDown);
1509
+ window.addEventListener("scroll", this.boundHandleScroll, {
1510
+ passive: true,
1511
+ });
1512
+ window.addEventListener("scroll", this.boundHandleStickyScroll, {
1513
+ passive: true,
1514
+ });
1515
+ }
1516
+ disconnectedCallback() {
1517
+ this.removeEventListeners();
1518
+ this.cleanupTimeouts();
1519
+ this.cleanupIntersectionObserver();
1520
+ this.cleanupResizeObserver();
1521
+ this.cleanupElements();
1522
+ }
1523
+ removeEventListeners() {
1524
+ window.removeEventListener("resize", this.boundHandleResize);
1525
+ document.removeEventListener("click", this.boundHandleClickOutside);
1526
+ document.removeEventListener("keydown", this.boundHandleKeyDown);
1527
+ window.removeEventListener("scroll", this.boundHandleScroll);
1528
+ window.removeEventListener("scroll", this.boundHandleStickyScroll);
1529
+ }
1530
+ cleanupTimeouts() {
1531
+ if (this.scrollTimeout)
1532
+ clearTimeout(this.scrollTimeout);
1533
+ if (this.scrollThrottleTimeout)
1534
+ clearTimeout(this.scrollThrottleTimeout);
1535
+ if (this.manualNavigationTimeout)
1536
+ clearTimeout(this.manualNavigationTimeout);
1537
+ if (this.stickyScrollTimeout)
1538
+ clearTimeout(this.stickyScrollTimeout);
1539
+ }
1540
+ cleanupIntersectionObserver() {
1541
+ if (this.intersectionObserver) {
1542
+ this.intersectionObserver.disconnect();
1543
+ }
1544
+ }
1545
+ cleanupResizeObserver() {
1546
+ if (this.resizeObserver) {
1547
+ this.resizeObserver.disconnect();
1548
+ }
1549
+ }
1550
+ cleanupElements() {
1551
+ if (this.placeholderElement) {
1552
+ this.placeholderElement.remove();
1553
+ this.placeholderElement = null;
1554
+ }
1555
+ if (this.measurementElement) {
1556
+ this.measurementElement.remove();
1557
+ this.measurementElement = null;
1558
+ }
1559
+ }
1560
+ parsePropNavItems() {
1561
+ var _a;
1562
+ if (!((_a = this.navItems) === null || _a === void 0 ? void 0 : _a.trim()))
1563
+ return null;
1564
+ try {
1565
+ const parsedItems = JSON.parse(this.navItems);
1566
+ if (Array.isArray(parsedItems) && parsedItems.length > 0) {
1567
+ const validItems = parsedItems.filter((item) => Boolean(item &&
1568
+ typeof item.id === "string" &&
1569
+ typeof item.label === "string"));
1570
+ return validItems.length > 0 ? validItems : null;
1571
+ }
1572
+ }
1573
+ catch (error) {
1574
+ console.warn("Invalid navItems JSON provided to ptc-subnav-v2:", error);
1575
+ }
1576
+ return null;
1577
+ }
1578
+ render() {
1579
+ const navItems = this.getNavItems();
1580
+ const hasRightContent = this.hasSubnavMenuRightContent();
1581
+ const selectedMobileItem = this.isMobile
1582
+ ? navItems.find((item) => item.id === this.currentActive) ||
1583
+ navItems[0]
1584
+ : null;
1585
+ // If no navigation items, don't render the navigation
1586
+ if (navItems.length === 0) {
1587
+ return (index.h(index.Host, null, index.h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, hasRightContent && (index.h("div", { class: "subnav-menu-right" }, index.h("slot", { name: "subnav-menu-right" }))))));
1588
+ }
1589
+ return (index.h(index.Host, null, index.h("div", { class: `subnav-container ${!hasRightContent ? "full-width" : ""}` }, index.h("nav", { class: `subnav-menu-left ${!hasRightContent ? "full-width" : ""}`, role: "navigation", "aria-label": "Sub navigation", ref: (el) => (this.navContainer = el) }, this.isMobile ? (
1590
+ // Mobile layout - dropdown with arrows
1591
+ index.h("div", { class: "mobile-dropdown-container" }, index.h("button", { class: "mobile-dropdown-button", onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
1592
+ if (e.key === "Enter" ||
1593
+ e.key === " ") {
1594
+ e.preventDefault();
1595
+ this.toggleOverflowMenu();
1596
+ }
1597
+ }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": `${(selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) || "Select Section"} - Choose navigation section`, "tracker-id": "mobile-dropdown-button", ref: (el) => (this.overflowButton = el) }, index.h("span", { class: "mobile-selected-item" }, (selectedMobileItem === null || selectedMobileItem === void 0 ? void 0 : selectedMobileItem.label) ||
1598
+ "Select Section"), index.h("span", { class: `mobile-arrow ${this.showOverflowMenu ? "rotated" : ""}`, "aria-hidden": "true" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", "aria-hidden": "true" }, index.h("path", { d: "M1 1.5L5.94975 6.44975L10.8995 1.5", stroke: "#00890B", "stroke-width": "2", "stroke-linecap": "round" })))), this.showOverflowMenu && (index.h("ul", { class: "mobile-dropdown", role: "menu", "aria-label": "Navigation sections" }, navItems.map((item) => (index.h("li", { key: item.id, class: "mf-listen", id: item.trackerId ||
1599
+ `mobile-nav-${item.id}` }, index.h("a", { href: `#${item.id}`, class: `mobile-dropdown-item ${this.currentActive ===
1600
+ item.id
1601
+ ? "active"
1602
+ : ""}`, role: "menuitem", "aria-current": this.currentActive ===
1603
+ item.id
1604
+ ? "page"
1605
+ : undefined, title: item.title || "", onClick: (e) => {
1606
+ this.handleNavClick(e, item.id);
1607
+ this.showOverflowMenu = false;
1608
+ } }, item.label)))))))) : (
1609
+ // Desktop layout - original behavior
1610
+ index.h("ul", { class: "desktop-menu" }, this.visibleItems.map((item) => (index.h("li", { key: item.id, class: "mf-listen", id: item.trackerId || `nav-${item.id}` }, index.h("a", { href: `#${item.id}`, class: this.currentActive === item.id
1611
+ ? "active"
1612
+ : "", title: item.title || "", onClick: (e) => this.handleNavClick(e, item.id), "aria-current": this.currentActive === item.id
1613
+ ? "page"
1614
+ : undefined }, item.label)))), this.overflowItems.length > 0 && (index.h("li", { class: "overflow-menu-container mf-listen", id: "overflow-menu", ref: (el) => (this.overflowMenuContainer = el) }, index.h("button", { class: `overflow-button ${this.hasActiveOverflowItem() ? "selected-active" : ""}`, onClick: this.toggleOverflowMenu, onKeyDown: (e) => {
1615
+ if (e.key === "Enter" ||
1616
+ e.key === " ") {
1617
+ e.preventDefault();
1618
+ this.toggleOverflowMenu();
1619
+ }
1620
+ }, "aria-expanded": this.showOverflowMenu, "aria-haspopup": "true", "aria-label": "Show more navigation items", "tracker-id": "overflow-button", ref: (el) => (this.overflowButton = el) }, index.h("span", { class: "overflow-dots", "aria-hidden": "true" }, index.h("svg", { xmlns: "http://www.w3.org/2000/svg", width: "10", height: "10", viewBox: "0 0 10 10", fill: "none", "aria-hidden": "true" }, index.h("circle", { cx: "1.25", cy: "5", r: "1.25", fill: "#617480" }), index.h("circle", { cx: "5", cy: "5", r: "1.25", fill: "#617480" }), index.h("circle", { cx: "8.75", cy: "5", r: "1.25", fill: "#617480" })))), this.showOverflowMenu && (index.h("div", { class: `overflow-dropdown ${this.overflowDropdownAlignLeft ? "align-left" : "align-right"}`, role: "menu", "aria-label": "Additional navigation sections", ref: (el) => (this.overflowDropdownEl =
1621
+ el) }, this.overflowItems.map((item) => (index.h("a", { key: item.id, href: `#${item.id}`, class: `mf-listen ${this
1622
+ .currentActive ===
1623
+ item.id
1624
+ ? "active"
1625
+ : ""}`, title: item.title || "", "tracker-id": item.trackerId ||
1626
+ `overflow-link-${item.id}`, role: "menuitem", onClick: (e) => {
1627
+ this.handleNavClick(e, item.id);
1628
+ this.showOverflowMenu = false;
1629
+ }, "aria-current": this
1630
+ .currentActive ===
1631
+ item.id
1632
+ ? "page"
1633
+ : undefined }, item.label)))))))))), hasRightContent && (index.h("div", { class: "subnav-menu-right" }, index.h("slot", { name: "subnav-menu-right" }))))));
1634
+ }
1635
+ get el() { return index.getElement(this); }
1636
+ };
1637
+ PtcSubnavV2.style = ptcSubnavV2Css;
1638
+
1639
+ const ptcTitleCss = "h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-title,h2.sc-ptc-title,h3.sc-ptc-title,h4.sc-ptc-title,h5.sc-ptc-title,h6.sc-ptc-title,p.sc-ptc-title,ul.sc-ptc-title,li.sc-ptc-title,ptc-subnav.sc-ptc-title,ptc-tab-list.sc-ptc-title,ptc-link.sc-ptc-title,ptc-square-card.sc-ptc-title,.hyphenate-text.sc-ptc-title,ptc-footer.sc-ptc-title{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}}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,div.center.dotted.sc-ptc-title h4.sc-ptc-title::before,div.center.dotted.sc-ptc-title h5.sc-ptc-title::before,div.center.dotted.sc-ptc-title h6.sc-ptc-title::before{left:50%;transform:translateX(-50%)}div.left.sc-ptc-title{text-align:left;width:100%}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,div.left.dotted.sc-ptc-title h4.sc-ptc-title::before,div.left.dotted.sc-ptc-title h5.sc-ptc-title::before,div.left.dotted.sc-ptc-title h6.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,div.right.dotted.sc-ptc-title h4.sc-ptc-title::before,div.right.dotted.sc-ptc-title h5.sc-ptc-title::before,div.right.dotted.sc-ptc-title h6.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,div.dotted.sc-ptc-title h4.sc-ptc-title::before,div.dotted.sc-ptc-title h5.sc-ptc-title::before,div.dotted.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;top:-6px;width:30%;display:block;border-top:3px dashed var(--color-green-07)}div.solid.sc-ptc-title h1.sc-ptc-title,div.solid.sc-ptc-title h2.sc-ptc-title,div.solid.sc-ptc-title h3.sc-ptc-title,div.solid.sc-ptc-title h4.sc-ptc-title,div.solid.sc-ptc-title h5.sc-ptc-title,div.solid.sc-ptc-title h6.sc-ptc-title{padding-top:12px}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,div.solid.sc-ptc-title h4.sc-ptc-title::before,div.solid.sc-ptc-title h5.sc-ptc-title::before,div.solid.sc-ptc-title h6.sc-ptc-title::before{content:\"\";position:absolute;width:100%;height:0.7px;background-color:var(--color-gray-03);opacity:0.9;left:0px;top:0}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,div.solid.sc-ptc-title h4.sc-ptc-title::after,div.solid.sc-ptc-title h5.sc-ptc-title::after,div.solid.sc-ptc-title h6.sc-ptc-title::after{content:\"\";position:absolute;width:56px;height:2px;background-color:var(--color-green-07);top:-2px;left:0px}div.is-standard.sc-ptc-title h1.sc-ptc-title,div.is-standard.sc-ptc-title h2.sc-ptc-title,div.is-standard.sc-ptc-title h3.sc-ptc-title,div.is-standard.sc-ptc-title h4.sc-ptc-title,div.is-standard.sc-ptc-title h5.sc-ptc-title,div.is-standard.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative}div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);letter-spacing:0px;color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h1.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-x-large);line-height:var(--ptc-line-height-densest);font-weight:var(--ptc-font-weight-extrabold);color:var(--color-gray-10)}@media only screen and (min-width: 768px){div.is-standard.sc-ptc-title h2.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}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,div.is-plm-hub.sc-ptc-title h4.sc-ptc-title,div.is-plm-hub.sc-ptc-title h5.sc-ptc-title,div.is-plm-hub.sc-ptc-title h6.sc-ptc-title{display:inline-block;position:relative;margin-block-start:0em;margin-block-end:0em;margin-inline-start:0px;margin-inline-end:0px;color:var(--color-white) !important}div.margin-flush.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-flush.sc-ptc-title h1.sc-ptc-title,div.margin-flush.sc-ptc-title h2.sc-ptc-title,div.margin-flush.sc-ptc-title h3.sc-ptc-title,div.margin-flush.sc-ptc-title h4.sc-ptc-title,div.margin-flush.sc-ptc-title h5.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-top-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}div.margin-top-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}div.margin-top-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}div.margin-top-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}div.margin-top-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}div.margin-bottom-2.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}div.margin-bottom-3.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}div.margin-bottom-4.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}div.margin-bottom-5.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}div.margin-bottom-6.sc-ptc-title{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}div.margin-2.sc-ptc-title{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}div.margin-3.sc-ptc-title{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}div.margin-4.sc-ptc-title{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}div.margin-5.sc-ptc-title{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}div.margin-5.sc-ptc-title h4.sc-ptc-title{margin-top:0;margin-bottom:0}div.margin-6.sc-ptc-title{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}div.margin-9.sc-ptc-title{margin-top:var(--ptc-element-spacing-09);margin-bottom:var(--ptc-element-spacing-09)}div.green.sc-ptc-title h1.sc-ptc-title,div.green.sc-ptc-title h2.sc-ptc-title,div.green.sc-ptc-title h3.sc-ptc-title,div.green.sc-ptc-title h4.sc-ptc-title,div.green.sc-ptc-title h5.sc-ptc-title,div.green.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-green-07)}div.blue.sc-ptc-title h1.sc-ptc-title,div.blue.sc-ptc-title h2.sc-ptc-title,div.blue.sc-ptc-title h3.sc-ptc-title,div.blue.sc-ptc-title h4.sc-ptc-title,div.blue.sc-ptc-title h5.sc-ptc-title,div.blue.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-blue-07)}div.red.sc-ptc-title h1.sc-ptc-title,div.red.sc-ptc-title h2.sc-ptc-title,div.red.sc-ptc-title h3.sc-ptc-title,div.red.sc-ptc-title h4.sc-ptc-title,div.red.sc-ptc-title h5.sc-ptc-title,div.red.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-red-07)}div.orange.sc-ptc-title h1.sc-ptc-title,div.orange.sc-ptc-title h2.sc-ptc-title,div.orange.sc-ptc-title h3.sc-ptc-title,div.orange.sc-ptc-title h4.sc-ptc-title,div.orange.sc-ptc-title h5.sc-ptc-title,div.orange.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-orange-07)}div.slate-grey.sc-ptc-title h1.sc-ptc-title,div.slate-grey.sc-ptc-title h2.sc-ptc-title,div.slate-grey.sc-ptc-title h3.sc-ptc-title,div.slate-grey.sc-ptc-title h4.sc-ptc-title,div.slate-grey.sc-ptc-title h5.sc-ptc-title,div.slate-grey.sc-ptc-title h6.sc-ptc-title{text-shadow:0px 0px var(--ptc-element-spacing-03) var(--color-gray-07)}div.w-3.sc-ptc-title h1.sc-ptc-title,div.w-3.sc-ptc-title h2.sc-ptc-title,div.w-3.sc-ptc-title h3.sc-ptc-title,div.w-3.sc-ptc-title h4.sc-ptc-title,div.w-3.sc-ptc-title h5.sc-ptc-title,div.w-3.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-thin)}div.w-4.sc-ptc-title h1.sc-ptc-title,div.w-4.sc-ptc-title h2.sc-ptc-title,div.w-4.sc-ptc-title h3.sc-ptc-title,div.w-4.sc-ptc-title h4.sc-ptc-title,div.w-4.sc-ptc-title h5.sc-ptc-title,div.w-4.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-regular)}div.w-5.sc-ptc-title h1.sc-ptc-title,div.w-5.sc-ptc-title h2.sc-ptc-title,div.w-5.sc-ptc-title h3.sc-ptc-title,div.w-5.sc-ptc-title h4.sc-ptc-title,div.w-5.sc-ptc-title h5.sc-ptc-title,div.w-5.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-medium)}div.w-6.sc-ptc-title h1.sc-ptc-title,div.w-6.sc-ptc-title h2.sc-ptc-title,div.w-6.sc-ptc-title h3.sc-ptc-title,div.w-6.sc-ptc-title h4.sc-ptc-title,div.w-6.sc-ptc-title h5.sc-ptc-title,div.w-6.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-semibold)}div.w-7.sc-ptc-title h1.sc-ptc-title,div.w-7.sc-ptc-title h2.sc-ptc-title,div.w-7.sc-ptc-title h3.sc-ptc-title,div.w-7.sc-ptc-title h4.sc-ptc-title,div.w-7.sc-ptc-title h5.sc-ptc-title,div.w-7.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-bold)}div.w-8.sc-ptc-title h1.sc-ptc-title,div.w-8.sc-ptc-title h2.sc-ptc-title,div.w-8.sc-ptc-title h3.sc-ptc-title,div.w-8.sc-ptc-title h4.sc-ptc-title,div.w-8.sc-ptc-title h5.sc-ptc-title,div.w-8.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-extrabold)}div.w-9.sc-ptc-title h1.sc-ptc-title,div.w-9.sc-ptc-title h2.sc-ptc-title,div.w-9.sc-ptc-title h3.sc-ptc-title,div.w-9.sc-ptc-title h4.sc-ptc-title,div.w-9.sc-ptc-title h5.sc-ptc-title,div.w-9.sc-ptc-title h6.sc-ptc-title{font-weight:var(--ptc-font-weight-black)}div.xx-small.sc-ptc-title h1.sc-ptc-title,div.xx-small.sc-ptc-title h2.sc-ptc-title,div.xx-small.sc-ptc-title h3.sc-ptc-title,div.xx-small.sc-ptc-title h4.sc-ptc-title,div.xx-small.sc-ptc-title h5.sc-ptc-title,div.xx-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-small)}div.x-small.sc-ptc-title h1.sc-ptc-title,div.x-small.sc-ptc-title h2.sc-ptc-title,div.x-small.sc-ptc-title h3.sc-ptc-title,div.x-small.sc-ptc-title h4.sc-ptc-title,div.x-small.sc-ptc-title h5.sc-ptc-title,div.x-small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-small)}div.small.sc-ptc-title h1.sc-ptc-title,div.small.sc-ptc-title h2.sc-ptc-title,div.small.sc-ptc-title h3.sc-ptc-title,div.small.sc-ptc-title h4.sc-ptc-title,div.small.sc-ptc-title h5.sc-ptc-title,div.small.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-small)}div.medium.sc-ptc-title h1.sc-ptc-title,div.medium.sc-ptc-title h2.sc-ptc-title,div.medium.sc-ptc-title h3.sc-ptc-title,div.medium.sc-ptc-title h4.sc-ptc-title,div.medium.sc-ptc-title h5.sc-ptc-title,div.medium.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-medium)}div.large.sc-ptc-title h1.sc-ptc-title,div.large.sc-ptc-title h2.sc-ptc-title,div.large.sc-ptc-title h3.sc-ptc-title,div.large.sc-ptc-title h4.sc-ptc-title,div.large.sc-ptc-title h5.sc-ptc-title,div.large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-large)}div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-medium)}@media only screen and (min-width: 768px){div.large.sc-ptc-title h3.sc-ptc-title{font-size:var(--ptc-font-size-large)}}div.x-large.sc-ptc-title h1.sc-ptc-title,div.x-large.sc-ptc-title h2.sc-ptc-title,div.x-large.sc-ptc-title h3.sc-ptc-title,div.x-large.sc-ptc-title h4.sc-ptc-title,div.x-large.sc-ptc-title h5.sc-ptc-title,div.x-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-x-large)}@media only screen and (min-width: 768px){div.xx-large.sc-ptc-title h1.sc-ptc-title,div.xx-large.sc-ptc-title h2.sc-ptc-title,div.xx-large.sc-ptc-title h3.sc-ptc-title,div.xx-large.sc-ptc-title h4.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}}div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}@media only screen and (min-width: 768px){div.xxx-large.sc-ptc-title h1.sc-ptc-title,div.xxx-large.sc-ptc-title h2.sc-ptc-title,div.xxx-large.sc-ptc-title h3.sc-ptc-title,div.xxx-large.sc-ptc-title h4.sc-ptc-title,div.xxx-large.sc-ptc-title h5.sc-ptc-title,div.xxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}}div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 768px){div.xxxx-large.sc-ptc-title h1.sc-ptc-title,div.xxxx-large.sc-ptc-title h2.sc-ptc-title,div.xxxx-large.sc-ptc-title h3.sc-ptc-title,div.xxxx-large.sc-ptc-title h4.sc-ptc-title,div.xxxx-large.sc-ptc-title h5.sc-ptc-title,div.xxxx-large.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xx-large)}div.xxxx-large-allbp.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-allbp.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-desktop.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-desktop.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxx-large)}@media only screen and (min-width: 992px){div.xxxx-large-store.sc-ptc-title h1.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h2.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h3.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h4.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h5.sc-ptc-title,div.xxxx-large-store.sc-ptc-title h6.sc-ptc-title{font-size:var(--ptc-font-size-xxxx-large)}}div.densest.sc-ptc-title h1.sc-ptc-title,div.densest.sc-ptc-title h2.sc-ptc-title,div.densest.sc-ptc-title h3.sc-ptc-title,div.densest.sc-ptc-title h4.sc-ptc-title,div.densest.sc-ptc-title h5.sc-ptc-title,div.densest.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-densest)}div.denser.sc-ptc-title h1.sc-ptc-title,div.denser.sc-ptc-title h2.sc-ptc-title,div.denser.sc-ptc-title h3.sc-ptc-title,div.denser.sc-ptc-title h4.sc-ptc-title,div.denser.sc-ptc-title h5.sc-ptc-title,div.denser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-denser)}div.dense.sc-ptc-title h1.sc-ptc-title,div.dense.sc-ptc-title h2.sc-ptc-title,div.dense.sc-ptc-title h3.sc-ptc-title,div.dense.sc-ptc-title h4.sc-ptc-title,div.dense.sc-ptc-title h5.sc-ptc-title,div.dense.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-dense)}div.normal.sc-ptc-title h1.sc-ptc-title,div.normal.sc-ptc-title h2.sc-ptc-title,div.normal.sc-ptc-title h3.sc-ptc-title,div.normal.sc-ptc-title h4.sc-ptc-title,div.normal.sc-ptc-title h5.sc-ptc-title,div.normal.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-normal)}div.loose.sc-ptc-title h1.sc-ptc-title,div.loose.sc-ptc-title h2.sc-ptc-title,div.loose.sc-ptc-title h3.sc-ptc-title,div.loose.sc-ptc-title h4.sc-ptc-title,div.loose.sc-ptc-title h5.sc-ptc-title,div.loose.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-loose)}div.looser.sc-ptc-title h1.sc-ptc-title,div.looser.sc-ptc-title h2.sc-ptc-title,div.looser.sc-ptc-title h3.sc-ptc-title,div.looser.sc-ptc-title h4.sc-ptc-title,div.looser.sc-ptc-title h5.sc-ptc-title,div.looser.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-looser)}div.paragraph.sc-ptc-title h1.sc-ptc-title,div.paragraph.sc-ptc-title h2.sc-ptc-title,div.paragraph.sc-ptc-title h3.sc-ptc-title,div.paragraph.sc-ptc-title h4.sc-ptc-title,div.paragraph.sc-ptc-title h5.sc-ptc-title,div.paragraph.sc-ptc-title h6.sc-ptc-title{line-height:var(--ptc-line-height-paragraph)}div.black.sc-ptc-title h1.sc-ptc-title,div.black.sc-ptc-title h2.sc-ptc-title,div.black.sc-ptc-title h3.sc-ptc-title,div.black.sc-ptc-title h4.sc-ptc-title,div.black.sc-ptc-title h5.sc-ptc-title,div.black.sc-ptc-title h6.sc-ptc-title{color:var(--color-black)}div.white.sc-ptc-title h1.sc-ptc-title,div.white.sc-ptc-title h2.sc-ptc-title,div.white.sc-ptc-title h3.sc-ptc-title,div.white.sc-ptc-title h4.sc-ptc-title,div.white.sc-ptc-title h5.sc-ptc-title,div.white.sc-ptc-title h6.sc-ptc-title{color:var(--color-white)}div.gray-1.sc-ptc-title h1.sc-ptc-title,div.gray-1.sc-ptc-title h2.sc-ptc-title,div.gray-1.sc-ptc-title h3.sc-ptc-title,div.gray-1.sc-ptc-title h4.sc-ptc-title,div.gray-1.sc-ptc-title h5.sc-ptc-title,div.gray-1.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-01)}div.gray.sc-ptc-title h1.sc-ptc-title,div.gray.sc-ptc-title h2.sc-ptc-title,div.gray.sc-ptc-title h3.sc-ptc-title,div.gray.sc-ptc-title h4.sc-ptc-title,div.gray.sc-ptc-title h5.sc-ptc-title,div.gray.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-10)}div.gray-darker.sc-ptc-title h1.sc-ptc-title,div.gray-darker.sc-ptc-title h2.sc-ptc-title,div.gray-darker.sc-ptc-title h3.sc-ptc-title,div.gray-darker.sc-ptc-title h4.sc-ptc-title,div.gray-darker.sc-ptc-title h5.sc-ptc-title,div.gray-darker.sc-ptc-title h6.sc-ptc-title{color:var(--color-gray-11)}div.ellipsis-boxing.sc-ptc-title h1.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h2.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h3.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h4.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h5.sc-ptc-title,div.ellipsis-boxing.sc-ptc-title h6.sc-ptc-title{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}div.block.sc-ptc-title h1.sc-ptc-title,div.block.sc-ptc-title h2.sc-ptc-title,div.block.sc-ptc-title h3.sc-ptc-title,div.block.sc-ptc-title h4.sc-ptc-title,div.block.sc-ptc-title h5.sc-ptc-title,div.block.sc-ptc-title h6.sc-ptc-title{display:block}.line-clamp-title.sc-ptc-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}.sc-ptc-title-h{display:block}.sc-ptc-title-h div.sc-ptc-title{position:relative}";
1640
+
1641
+ const PtcTitle = class {
1642
+ constructor(hostRef) {
1643
+ index.registerInstance(this, hostRef);
1644
+ this.isPlmHub = false;
1645
+ this.type = "h2";
1646
+ this.textAlign = undefined;
1647
+ this.upperline = "dotted";
1648
+ this.titleShadow = undefined;
1649
+ this.titleColor = "gray";
1650
+ this.titleMargin = undefined;
1651
+ this.titleWeight = undefined;
1652
+ this.titleSize = undefined;
1653
+ this.titleHeight = "densest";
1654
+ this.styles = undefined;
1655
+ this.ellipsisLineCutoff = undefined;
1656
+ this.titleDisplay = "inline-block";
1657
+ this.seoCompatibilityMode = false;
1658
+ this.tooltipZIndex = "auto";
1659
+ this.tooltipPosition = "bottom";
1660
+ this.tooltipTheme = "standard";
1661
+ this.enableTooltip = false;
1662
+ this.maxChars = undefined;
1663
+ this.maxLines = undefined;
1664
+ this.hideTooltipOnMobile = false;
1665
+ this.ismob = undefined;
1666
+ this.tooltipWidth = "default";
1667
+ }
1668
+ // Tooltip Properties ends
1669
+ componentDidLoad() {
1670
+ if (this.hideTooltipOnMobile) {
1671
+ this.el.classList.add("hide-tooltip-on-mobile");
1672
+ }
1673
+ this.el.addEventListener("mouseenter", () => this.toggleTitleTooltip(true));
1674
+ this.el.addEventListener("mouseleave", () => this.toggleTitleTooltip(false));
1675
+ }
1676
+ render() {
1677
+ if (this.seoCompatibilityMode) {
1678
+ return this.seoCompRender();
1679
+ }
1680
+ else {
1681
+ return this.standardRender();
1682
+ }
1683
+ }
1684
+ getSortedText(content) {
1685
+ if (!this.enableTooltip)
1686
+ return;
1687
+ const trimmedContent = content.trim();
1688
+ const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
1689
+ return shouldTruncate
1690
+ ? trimmedContent.slice(0, this.maxChars) + "..."
1691
+ : trimmedContent;
1692
+ }
1693
+ toggleTitleTooltip(show) {
1694
+ var _a;
1695
+ const tooltipClass = "tooltip-box";
1696
+ const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
1697
+ const text = this.el.querySelectorAll(".line-clamp-title");
1698
+ let maxLinesShowCheck = false;
1699
+ if (text) {
1700
+ text.forEach((t) => {
1701
+ maxLinesShowCheck = t.scrollHeight > t.clientHeight;
1702
+ });
1703
+ }
1704
+ const ifCharExceeds = this.tooltipText &&
1705
+ this.tooltipText.length > this.maxChars &&
1706
+ !this.maxLines;
1707
+ const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
1708
+ if (show && this.enableTooltip) {
1709
+ if ((!existingTooltip && ifCharExceeds) ||
1710
+ (!existingTooltip && ifLinesExceeds)) {
1711
+ const tooltipMarkup = document.createElement("div");
1712
+ tooltipMarkup.className = tooltipClass;
1713
+ tooltipMarkup.innerText = this.tooltipText;
1714
+ tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
1715
+ tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
1716
+ if (this.hideTooltipOnMobile) {
1717
+ tooltipMarkup.classList.add("hide-tooltip-mobile");
1718
+ }
1719
+ (_a = this.el.querySelector("div")) === null || _a === void 0 ? void 0 : _a.appendChild(tooltipMarkup);
1720
+ }
1721
+ }
1722
+ else {
1723
+ existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
1724
+ }
1725
+ }
1726
+ seoCompRender() {
1727
+ const classMap = this.getCssClassMap();
1728
+ const cutOff = this.getLineCuttoff();
1729
+ const [TagType, firstChild] = utils.getSeoTagType(this.el, this.type);
1730
+ let html = firstChild && firstChild.innerHTML;
1731
+ // added for tooltip
1732
+ this.tooltipText = html.trim();
1733
+ let eleText = firstChild && firstChild.innerText;
1734
+ html = this.enableTooltip ? this.getSortedText(eleText) : html;
1735
+ if (this.el == firstChild) {
1736
+ this.el.innerHTML = "";
1737
+ }
1738
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { innerHTML: html, style: cutOff, class: this.maxLines && this.maxLines > 0
1739
+ ? "line-clamp-title"
1740
+ : "" }))));
1741
+ }
1742
+ standardRender() {
1743
+ const classMap = this.getCssClassMap();
1744
+ const cutOff = this.getLineCuttoff();
1745
+ let TagType;
1746
+ switch (this.type) {
1747
+ case "h1":
1748
+ TagType = "h1";
1749
+ break;
1750
+ case "h3":
1751
+ TagType = "h3";
1752
+ break;
1753
+ case "h4":
1754
+ TagType = "h4";
1755
+ break;
1756
+ case "h5":
1757
+ TagType = "h5";
1758
+ break;
1759
+ case "h6":
1760
+ TagType = "h6";
1761
+ break;
1762
+ default:
1763
+ TagType = "h2";
1764
+ }
1765
+ return (index.h(index.Host, null, this.styles && index.h("style", null, this.styles), index.h("div", { class: classMap }, index.h(TagType, { style: cutOff }, index.h("slot", null)))));
1766
+ }
1767
+ getCssClassMap() {
1768
+ return {
1769
+ [this.textAlign]: !!this.textAlign ? true : false,
1770
+ [this.upperline]: true,
1771
+ [this.isPlmHub ? "is-plm-hub" : "is-standard"]: true,
1772
+ [this.titleMargin]: !!this.titleMargin ? true : false,
1773
+ [this.titleShadow]: !!this.titleShadow ? true : false,
1774
+ [this.titleWeight]: !!this.titleWeight ? true : false,
1775
+ [this.titleSize]: !!this.titleSize ? true : false,
1776
+ [this.titleHeight]: !!this.titleHeight ? true : false,
1777
+ [this.titleColor]: !!this.titleColor ? true : false,
1778
+ ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
1779
+ [this.titleDisplay]: !!this.titleDisplay ? true : false,
1780
+ };
1781
+ }
1782
+ getLineCuttoff() {
1783
+ const lineClamp = this.ellipsisLineCutoff > 0
1784
+ ? this.ellipsisLineCutoff
1785
+ : this.maxLines;
1786
+ return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
1787
+ }
1788
+ get el() { return index.getElement(this); }
1789
+ };
1790
+ PtcTitle.style = ptcTitleCss;
1791
+
1792
+ const ptcTooltipCss = "h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1.sc-ptc-tooltip,h2.sc-ptc-tooltip,h3.sc-ptc-tooltip,h4.sc-ptc-tooltip,h5.sc-ptc-tooltip,h6.sc-ptc-tooltip,p.sc-ptc-tooltip,ul.sc-ptc-tooltip,li.sc-ptc-tooltip,ptc-subnav.sc-ptc-tooltip,ptc-tab-list.sc-ptc-tooltip,ptc-link.sc-ptc-tooltip,ptc-square-card.sc-ptc-tooltip,.hyphenate-text.sc-ptc-tooltip,ptc-footer.sc-ptc-tooltip{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}.sc-ptc-tooltip-h{position:relative}.inline.sc-ptc-tooltip-h{display:inline}.inline.sc-ptc-tooltip-h .text-content.sc-ptc-tooltip{display:inline}.block.sc-ptc-tooltip-h{display:block}.text-ellipsis.sc-ptc-tooltip{position:relative;display:inline}.text-ellipsis.sc-ptc-tooltip:not(.truncated){z-index:auto !important}.z-auto.sc-ptc-tooltip{z-index:auto}.z-1.sc-ptc-tooltip{z-index:1}.z-2.sc-ptc-tooltip{z-index:2}.z-3.sc-ptc-tooltip{z-index:3}.z-999.sc-ptc-tooltip{z-index:999}.tooltip.sc-ptc-tooltip{position:absolute;padding:8px;color:var(--color-white);font-size:var(--ptc-font-size-xxx-small);font-weight:var(--ptc-font-weight-semibold);background:var(--color-gray-09);box-shadow:0px 2px 4px rgba(0, 0, 0, 0.3);border:none;border-radius:2px;width:auto;height:auto;visibility:hidden;text-align:left;text-shadow:none;white-space:normal}.tooltip.sc-ptc-tooltip span.sc-ptc-tooltip{word-break:initial}@media only screen and (min-width: 480px){.tooltip.sc-ptc-tooltip{width:273px}}.tooltip.danger.sc-ptc-tooltip{color:var(--color-red-07);font-family:var(--ptc-font-latin);font-weight:var(--ptc-font-weight-semibold);font-size:var(--ptc-font-size-xx-small);line-height:var(--ptc-line-height-p);border:2px solid var(--color-red-07);border-radius:var(--ptc-border-radius-standard);background-color:var(--color-white);padding:var(--ptc-element-spacing-06)}.tooltip.danger.sc-ptc-tooltip a.sc-ptc-tooltip{color:var(--color-hyperlink)}.tooltip.bottom.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%)}.tooltip.bottom.sc-ptc-tooltip::after{top:1px;left:50%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.left.sc-ptc-tooltip{bottom:-12px;transform:translate(-80%, 100%)}.tooltip.left.sc-ptc-tooltip::after{top:1px;right:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.right.sc-ptc-tooltip{bottom:-12px;transform:translateY(100%);right:0px}@-moz-document url-prefix(){.tooltip.right{right:unset !important;bottom:unset !important;transform:translate(60%, 8px) !important}@media screen and (min-width: 992px){.tooltip.right{transform:translate(100%, 8px) !important}}}.tooltip.right.sc-ptc-tooltip::after{top:1px;left:8px;transform:translateY(-100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.top.sc-ptc-tooltip{top:-8px;transform:translateY(-100%)}.tooltip.top.sc-ptc-tooltip::after{left:50%;bottom:1px;transform:translate(-50%, 100%);border:8px solid transparent;border-top:8px solid var(--color-gray-09)}.tooltip.bottom-right.sc-ptc-tooltip{bottom:-12px;transform:translate(-60%, 100%)}.tooltip.bottom-right.sc-ptc-tooltip::after{top:1px;left:75%;transform:translate(-50%, -100%);border:8px solid transparent;border-bottom:8px solid var(--color-gray-09)}.tooltip.danger.sc-ptc-tooltip::after{top:0;border-bottom:8px solid var(--color-red-07)}.tooltip.side-left.sc-ptc-tooltip{bottom:12px;transform:translateX(-112%)}@media only screen and (min-width: 768px){.tooltip.side-left.sc-ptc-tooltip{bottom:4px}}.tooltip.side-left.sc-ptc-tooltip::after{top:50%;right:-15px;transform:translateY(-50%);border:8px solid transparent;border-left:8px solid var(--color-gray-09)}.truncated.sc-ptc-tooltip{cursor:help}.truncated.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.wrapper-content.sc-ptc-tooltip{display:inline-block;position:relative}.wrapper-content.sc-ptc-tooltip .tooltip.sc-ptc-tooltip{width:auto;min-width:72px;max-width:273px}.wrapper-content.sc-ptc-tooltip .slot-content.sc-ptc-tooltip:hover+.tooltip.sc-ptc-tooltip{visibility:visible;z-index:9999}.tooltip.sc-ptc-tooltip::after{content:\"\";position:absolute}.ellipsis-by-line-boxing.sc-ptc-tooltip{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;padding-bottom:0}.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}@media only screen and (min-width: 480px){.full-width.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{width:100%}}.no-overflow.sc-ptc-tooltip-h .tooltip.sc-ptc-tooltip{display:none !important}.no-overflow.sc-ptc-tooltip-h .truncated.sc-ptc-tooltip.sc-ptc-tooltip{cursor:pointer}";
1793
+
1794
+ const PtcTooltip = class {
1795
+ constructor(hostRef) {
1796
+ index.registerInstance(this, hostRef);
1797
+ this.textDisplay = "inline";
1798
+ this.maxLength = 45;
1799
+ this.textLines = undefined;
1800
+ this.description = "This is a tooltip text placeholder";
1801
+ this.zIndex = "z-auto";
1802
+ this.position = "bottom";
1803
+ this.styles = undefined;
1804
+ this.mode = "text-only";
1805
+ this.theme = "standard";
1806
+ this.width = "default";
1807
+ this.hideOnMobile = false;
1808
+ this.isSmallScreen = undefined;
1809
+ this.noOverflow = false;
1810
+ }
1811
+ addTruncatedClass() {
1812
+ const appRoot = this.el;
1813
+ const text = appRoot.querySelectorAll(".ellipsis-by-line-boxing");
1814
+ text.forEach((t) => {
1815
+ t.classList[t.scrollHeight > t.clientHeight ? "add" : "remove"]("truncated");
1816
+ });
1817
+ }
1818
+ windowResize() {
1819
+ this.verifiyScreenSize();
1820
+ }
1821
+ verifiyScreenSize() {
1822
+ this.isSmallScreen = window.innerWidth < 768;
1823
+ }
1824
+ // Created this function to initialize the truncate function on specific elements like tabs
1825
+ enableAddTruncatedClass(element) {
1826
+ const allTabHeaders = document.querySelectorAll(element);
1827
+ for (const element of Array.from(allTabHeaders)) {
1828
+ let tabHeader = element;
1829
+ if (tabHeader) {
1830
+ tabHeader.addEventListener("click", () => {
1831
+ setTimeout(() => {
1832
+ this.addTruncatedClass();
1833
+ }, 100);
1834
+ });
1835
+ }
1836
+ }
1837
+ }
1838
+ componentWillLoad() {
1839
+ this.verifiyScreenSize();
1840
+ }
1841
+ componentDidLoad() {
1842
+ //this.addTruncatedClass();
1843
+ setTimeout(() => {
1844
+ this.addTruncatedClass();
1845
+ }, 1000);
1846
+ this.enableAddTruncatedClass("tab-header");
1847
+ this.enableAddTruncatedClass("ptc-ellipsis-dropdown");
1848
+ this.enableAddTruncatedClass("ptc-product-card");
1849
+ document.addEventListener("readystatechange", () => {
1850
+ if (document.readyState === "complete") {
1851
+ this.addTruncatedClass();
1852
+ }
1853
+ });
1854
+ }
1855
+ render() {
1856
+ if (this.mode == "wrapper") {
1857
+ return (index.h(index.Host, { class: this.textDisplay }, this.styles && index.h("style", null, this.styles), index.h("div", { class: "wrapper-content" }, index.h("div", { class: "slot-content" }, index.h("slot", null)), index.h("div", { class: `tooltip ${this.position} ${this.theme}` }, index.h("slot", { name: "description" }), this.description && (index.h("span", { innerHTML: this.description }))))));
1858
+ }
1859
+ else {
1860
+ const classMap = this.getCssClassMap();
1861
+ const cutOff = this.getLineCuttoff();
1862
+ let truncatedText = this.description.substring(0, this.maxLength);
1863
+ if (this.description.length > this.maxLength) {
1864
+ //const lastSpace = truncatedText.lastIndexOf(' ');
1865
+ //truncatedText = truncatedText.substring(0, lastSpace);
1866
+ truncatedText += "... ";
1867
+ }
1868
+ return (index.h(index.Host, { class: {
1869
+ [this.textDisplay]: true,
1870
+ [this.width]: true,
1871
+ "no-overflow": this.noOverflow,
1872
+ } }, this.styles && index.h("style", null, this.styles), this.hideOnMobile && this.isSmallScreen ? (index.h("div", null, this.description)) : (index.h("div", { class: "text-content" }, this.textLines > 0 && !!this.textLines ? (index.h("div", { class: "ellipsis-by-line-boxing", style: cutOff, innerHTML: this.description })) : (index.h("div", { class: classMap }, truncatedText)), index.h("div", { class: `tooltip ${this.position} ${this.theme}`, innerHTML: this.description })))));
1873
+ }
1874
+ }
1875
+ getCssClassMap() {
1876
+ return {
1877
+ // ['ellipsis-by-line-boxing']: this.textLines && this.textLines > 0,
1878
+ ["text-ellipsis"]: true,
1879
+ [this.zIndex]: this.description.length > this.maxLength ? true : false,
1880
+ ["truncated"]: this.description.length > this.maxLength && !this.textLines
1881
+ ? true
1882
+ : false,
1883
+ };
1884
+ }
1885
+ getLineCuttoff() {
1886
+ let result;
1887
+ if (this.textLines && this.textLines > 0) {
1888
+ result = {
1889
+ ["-webkit-line-clamp"]: `${this.textLines}`,
1890
+ };
1891
+ }
1892
+ return result;
1893
+ }
1894
+ get el() { return index.getElement(this); }
1895
+ };
1896
+ PtcTooltip.style = ptcTooltipCss;
1897
+
1898
+ exports.icon_asset = IconAsset;
1899
+ exports.list_item = ListItem;
1900
+ exports.max_width_container = MaxWidthContainer;
1901
+ exports.ptc_background_video = PtcBackgroundVideo;
1902
+ exports.ptc_breadcrumb = PtcBreadcrumb;
1903
+ exports.ptc_button = PtcButton;
1904
+ exports.ptc_img = PtcImg;
1905
+ exports.ptc_jumbotron = PtcJumbotron;
1906
+ exports.ptc_para = PtcPara;
1907
+ exports.ptc_picture = PtcPicture;
1908
+ exports.ptc_spacer = PtcSpacer;
1909
+ exports.ptc_subnav_v2 = PtcSubnavV2;
1910
+ exports.ptc_title = PtcTitle;
1911
+ exports.ptc_tooltip = PtcTooltip;