@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
@@ -1,180 +0,0 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
-
3
- 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}";
4
-
5
- const PtcJumbotron = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.jumbotronType = "light";
9
- this.hasPopupVideo = false;
10
- this.mainTitle = "Lorem Ipsum Dolor Sit Amet Consectetur";
11
- this.subTitle = "Lorem Ipsum Dolor Sit Amet Consectetur Adipiscing Lorem Ipsum Dolor Sit Amet Consectetur Adipisci Lorem Ipsum Dolor Sit Amet";
12
- this.pngSrc = undefined;
13
- this.pngImgStyles = "";
14
- this.gifSrc = undefined;
15
- this.bgVideoSrc = undefined;
16
- this.bgVideoPosterSrc = undefined;
17
- this.bgSrc = undefined;
18
- this.isIframe = false;
19
- this.isHomepage = false;
20
- this.playButtonTitle = undefined;
21
- this.pauseButtonTitle = undefined;
22
- this.buttonLocation = undefined;
23
- this.buttonTabIndex = 0;
24
- this.contentBackground = undefined;
25
- this.contentColor = undefined;
26
- this.textAlign = "left";
27
- this.isMobile = undefined;
28
- this.isTransitioning = undefined;
29
- this.blogAuthorImage = "";
30
- this.blogAuthorImageAlt = "";
31
- this.blogAuthorName = "";
32
- this.blogAuthorQueryHref = "";
33
- this.blogAuthorQueryTarget = "";
34
- this.hasCountdown = false;
35
- this.logo = "";
36
- this.styles = undefined;
37
- this.defer = undefined;
38
- this.hasCtaSlot = undefined;
39
- }
40
- componentWillLoad() {
41
- this.hasCtaSlot = !!this.el.querySelector('[slot="j-cta"]');
42
- }
43
- handleResize() {
44
- this.getContentBackground();
45
- //this.adjustJumbotronHeight();
46
- }
47
- connectedCallback() {
48
- this.getContentBackground();
49
- }
50
- componentDidLoad() {
51
- //this.adjustJumbotronHeight();
52
- }
53
- componentDidUpdate() {
54
- this.getContentBackground();
55
- }
56
- render() {
57
- const classMap = this.getCssClassMap();
58
- let mediaElement;
59
- switch (this.jumbotronType) {
60
- case "png":
61
- mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { src: this.pngSrc }), this.hasPopupVideo && this.isMobile ? (h("slot", { name: "video" })) : null)));
62
- break;
63
- case "blog":
64
- mediaElement = (h("div", { class: "mobile-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" }))));
65
- break;
66
- case "gif":
67
- mediaElement = (h("div", { class: "mobile-media-image gif-bg" }, h("img", { src: this.gifSrc })));
68
- break;
69
- case "dark-video":
70
- case "light-video":
71
- mediaElement = (h("ptc-background-video", { class: "video-ratio", overlay: false, "video-src": this.bgVideoSrc, isIframe: this.isIframe, "play-button-title": this.playButtonTitle, "pause-button-title": this.pauseButtonTitle, "button-location": this.buttonLocation, "button-tab-index": this.buttonTabIndex, defer: this.defer, posterSrc: this.bgVideoPosterSrc }, " ", this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, " ", h("slot", { name: "video" }))) : null));
72
- break;
73
- case "dark":
74
- case "light":
75
- mediaElement = (h("div", { class: "dl-img-wrap" }, h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }), this.hasPopupVideo && this.isMobile ? (h("div", { class: "mobile-modal-play-btn" }, " ", h("slot", { name: "video" }))) : null));
76
- break;
77
- default:
78
- mediaElement = (h("ptc-img", { "img-url": this.bgSrc, styles: ".smart-bg{background-position:right !important;}" }));
79
- }
80
- return (h(Host, { class: classMap }, this.styles && h("style", null, this.styles), h("div", { class: {
81
- parent: true,
82
- "light-links": this.jumbotronType === "dark" ||
83
- this.jumbotronType === "dark-video",
84
- "hp-adjustments": this.isHomepage,
85
- transitioning: this.isTransitioning,
86
- } }, h("div", { class: `div1 image-container ${this.jumbotronType === "text" ? "hidden" : ""}` }, mediaElement), h("div", { class: "div2 content-container" }, h("div", { class: "bg-overlay", style: { background: this.contentBackground } }), h("div", { class: {
87
- "ptc-container": true,
88
- "content-layout": true,
89
- "hp-container": this.isHomepage,
90
- "blog-container": this.jumbotronType === "blog",
91
- } }, h("max-width-container", { "max-width-p": "60", breakpoint: 992, "content-align": this.jumbotronType === "text"
92
- ? "center"
93
- : this.textAlign, styles: ":host{z-index: 999}" }, h("slot", { name: "breadcrumb" }), !!this.logo && (h("div", { class: "logo-frame" }, h("img", { alt: "Logo", src: this.logo }))), h("span", { class: "main-content-items" }, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("slot", { name: "main-title" }), h("slot", { name: "hp-sub-title" }), (this.jumbotronType !== "text" ||
94
- (this.jumbotronType === "text" &&
95
- this.subTitle)) &&
96
- !this.isHomepage && (h("div", null, h("ptc-spacer", { breakpoint: "small", size: "small" }), h("ptc-spacer", { breakpoint: "x-small", size: "medium" }))), !this.isHomepage && (h("ptc-para", { styles: `p{color: ${this.contentColor}!important;}`, "font-size": this.jumbotronType === "text" &&
97
- this.isMobile
98
- ? "x-small"
99
- : "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"
100
- ? "center"
101
- : "left", "seo-compatibility-mode": true }, h("p", { innerHTML: this.subTitle, style: { margin: "0" } }), h("p", { style: { margin: "0" } }, h("slot", { name: "blog-date" })), this.jumbotronType === "blog" && (h("div", null, h("ptc-spacer", { breakpoint: "x-small", size: "medium" }), h("ptc-spacer", { breakpoint: "small", size: "small" }), h("div", { id: "header-blog-author", slot: "blog-author" }, h("div", { class: "image" }, h("img", { alt: this
102
- .blogAuthorImageAlt, src: this
103
- .blogAuthorImage })), h("ptc-para", { "font-size": "small", "font-weight": "w-4", "para-color": "primary-grey", "para-line-h": "line-height-p", "para-margin": "margin-flush" }, h("a", { class: "blog-author-name mf-listen", tabindex: "0", href: this
104
- .blogAuthorQueryHref, target: this
105
- .blogAuthorQueryTarget, "aria-label": "Other blogs by author" }, this
106
- .blogAuthorName))))))), this.hasCtaSlot && (h("div", { class: `u-flex u-flex-wrap gap-adjustment${this.jumbotronType === "text" ? " text-adjustment" : ""}` }, h("slot", { name: "j-cta" }))))), this.hasPopupVideo &&
107
- this.jumbotronType !== "png" ? (h("slot", { name: "video" })) : null, this.hasCountdown ? (h("slot", { name: "countdown" })) : null, this.jumbotronType === "png" ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: `img {${this.pngImgStyles}}` }), this.hasPopupVideo ? (h("slot", { name: "video" })) : null))) : null, this.jumbotronType === "gif" ? (h("div", { class: "desktop-media-image desk-gif-adjustment" }, h("img", { src: this.gifSrc }))) : null, this.jumbotronType === "blog" ? (h("div", { class: "desktop-media-image" }, h("div", { class: "media-image-wrapper" }, h("ptc-picture", { "is-full-width": true, src: this.pngSrc, styles: "img {height: 100%;}" })))) : null)))));
108
- }
109
- getCssClassMap() {
110
- return {
111
- // [this.imageZIndex] : true
112
- "text-jumbotron": this.jumbotronType === "text" ? true : false,
113
- "png-jumbotron": this.jumbotronType === "png" ? true : false,
114
- "blog-jumbotron": this.jumbotronType === "blog" ? true : false,
115
- "gif-jumbotron": this.jumbotronType === "gif" ? true : false,
116
- "dark-video-jumbotron light-links": this.jumbotronType === "dark-video" ? true : false,
117
- "light-video-jumbotron": this.jumbotronType === "light-video" ? true : false,
118
- "dark-jumbotron light-links": this.jumbotronType === "dark" ? true : false,
119
- "light-jumbotron": this.jumbotronType === "light" ? true : false,
120
- };
121
- }
122
- getContentBackground() {
123
- if (window.innerWidth < 992) {
124
- switch (this.jumbotronType) {
125
- case "light":
126
- case "light-video":
127
- case "png":
128
- this.contentBackground = "var(--color-white)";
129
- this.contentColor = "var(--color-gray-10)";
130
- break;
131
- case "dark":
132
- case "dark-video":
133
- this.contentBackground = "var(--color-gray-09)";
134
- this.contentColor = "var(--color-gray-01)";
135
- break;
136
- case "blog":
137
- this.contentBackground = "white";
138
- this.contentColor = "var(--color-gray-10)";
139
- break;
140
- default:
141
- this.contentBackground = "transparent";
142
- this.contentColor = "var(--color-gray-10)";
143
- }
144
- this.isMobile = true;
145
- }
146
- else {
147
- switch (this.jumbotronType) {
148
- case "light":
149
- case "light-video":
150
- case "png":
151
- this.contentBackground =
152
- "linear-gradient(90.19deg, rgba(255, 255, 255, 0.9) 62.55%, rgba(228, 231, 233, 0) 99.86%)";
153
- this.contentColor = "var(--color-gray-10)";
154
- break;
155
- case "dark":
156
- case "dark-video":
157
- this.contentBackground =
158
- "linear-gradient(90deg, rgba(0, 0, 0, 0.63) 52.42%, rgba(40, 47, 53, 0) 100%)";
159
- this.contentColor = "var(--color-gray-01)";
160
- break;
161
- case "gif":
162
- this.contentBackground = "#F3F3F3";
163
- this.contentColor = "var(--color-gray-10)";
164
- break;
165
- case "blog":
166
- this.contentBackground = "white";
167
- this.contentColor = "var(--color-gray-10)";
168
- break;
169
- default:
170
- this.contentBackground = "transparent";
171
- this.contentColor = "var(--color-gray-10)";
172
- }
173
- this.isMobile = false;
174
- }
175
- }
176
- get el() { return getElement(this); }
177
- };
178
- PtcJumbotron.style = ptcJumbotronCss;
179
-
180
- export { PtcJumbotron as ptc_jumbotron };
@@ -1,135 +0,0 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { s as seoSlotReset } from './utils-bdd0cc16.js';
3
-
4
- const ptcParaCss = "h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{word-break:break-word;hyphens:manual;-webkit-hyphens:manual;-moz-hyphens:manual;-ms-hyphens:manual}@supports (hyphenate-limit-chars: 12 3 3){h1,h2,h3,h4,h5,h6,p,ul,li,ptc-subnav,ptc-tab-list,ptc-link,ptc-square-card,.hyphenate-text,ptc-footer{hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;hyphenate-limit-chars:12 3 3;hyphenate-limit-lines:2;hyphenate-limit-last:always;hyphenate-limit-zone:6%;-webkit-hyphens:auto;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3;-webkit-hyphenate-limit-chars:12 3 3;-webkit-hyphenate-limit-lines:2;-moz-hyphens:auto;-moz-hyphenate-limit-chars:12 3 3;-moz-hyphenate-limit-lines:2;-ms-hyphens:auto;-ms-hyphenate-limit-chars:12 3 3;-ms-hyphenate-limit-lines:2}}:host{position:relative;z-index:1}:host .tooltip-enabled{position:relative}:host(.white){color:var(--color-white)}:host(.z-1){z-index:1}:host(.z-2){z-index:2}:host(.z-3){z-index:3}:host(.z-99){z-index:99}:host(.z-999){z-index:999}:host(.z-auto){z-index:auto}p.default{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;}p.main{text-shadow:0 3px 6px var(--color-white);line-height:var(--ptc-line-height-dense);color:var(--color-gray-10)}p.primary-grey{color:var(--color-gray-10)}p.gray-darker{color:var(--color-gray-11)}p.white{color:var(--color-white)}p.xxx-small{font-size:var(--ptc-font-size-xxx-small)}p.xx-small{font-size:var(--ptc-font-size-xx-small)}p.x-small{font-size:var(--ptc-font-size-x-small)}p.small{font-size:var(--ptc-font-size-small)}p.medium{font-size:var(--ptc-font-size-medium)}p.large{font-size:var(--ptc-font-size-large)}p.x-large{font-size:var(--ptc-font-size-x-large)}p.xx-large{font-size:var(--ptc-font-size-xx-large)}p.xxx-large{font-size:var(--ptc-font-size-xxx-large)}p.xxxx-large{font-size:var(--ptc-font-size-xxxx-large)}p.htmlquote-para{font-size:var(--ptc-font-size-small)}@media only screen and (min-width: 992px){p.htmlquote-para{font-size:var(--ptc-font-size-large)}}p.w-3{font-weight:var(--ptc-font-weight-thin)}p.w-4{font-weight:var(--ptc-font-weight-regular)}p.w-5{font-weight:var(--ptc-font-weight-medium)}p.w-6{font-weight:var(--ptc-font-weight-semibold)}p.w-7{font-weight:var(--ptc-font-weight-bold)}p.w-8{font-weight:var(--ptc-font-weight-extrabold)}p.w-8 ::slotted(a){font-weight:var(--ptc-font-weight-extrabold) !important}p.w-9{font-weight:var(--ptc-font-weight-black)}p.w-9 ::slotted(a){font-weight:var(--ptc-font-weight-black) !important}p.margin-flush{margin-top:0;margin-bottom:0}p.margin-top-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:0}p.margin-top-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:0}p.margin-top-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:0}p.margin-top-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:0}p.margin-top-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:0}p.margin-top-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:0}p.margin-bottom-1{margin-bottom:var(--ptc-element-spacing-01);margin-top:0}p.margin-bottom-2{margin-bottom:var(--ptc-element-spacing-02);margin-top:0}p.margin-bottom-3{margin-bottom:var(--ptc-element-spacing-03);margin-top:0}p.margin-bottom-4{margin-bottom:var(--ptc-element-spacing-04);margin-top:0}p.margin-bottom-5{margin-bottom:var(--ptc-element-spacing-05);margin-top:0}p.margin-bottom-6{margin-bottom:var(--ptc-element-spacing-06);margin-top:0}p.margin-1{margin-top:var(--ptc-element-spacing-01);margin-bottom:var(--ptc-element-spacing-01)}p.margin-2{margin-top:var(--ptc-element-spacing-02);margin-bottom:var(--ptc-element-spacing-02)}p.margin-3{margin-top:var(--ptc-element-spacing-03);margin-bottom:var(--ptc-element-spacing-03)}p.margin-4{margin-top:var(--ptc-element-spacing-04);margin-bottom:var(--ptc-element-spacing-04)}p.margin-5{margin-top:var(--ptc-element-spacing-05);margin-bottom:var(--ptc-element-spacing-05)}p.margin-6{margin-top:var(--ptc-element-spacing-06);margin-bottom:var(--ptc-element-spacing-06)}p.line-height-densest{line-height:var(--ptc-line-height-densest)}p.line-height-denser{line-height:var(--ptc-line-height-denser)}p.line-height-p{line-height:var(--ptc-line-height-p)}p.line-height-dense{line-height:var(--ptc-line-height-dense)}p.line-height-normal{line-height:var(--ptc-line-height-normal)}p.line-height-loose{line-height:var(--ptc-line-height-loose)}p.line-height-looser{line-height:var(--ptc-line-height-looser)}p.left{text-align:left}p.right{text-align:right}p.center{text-align:center}p.justify{text-align:justify}p.right-768above{text-align:left}@media (min-width: 768px){p.right-768above{text-align:right}}p.announcement{text-transform:uppercase;font-size:var(--ptc-font-size-small);color:var(--color-gray-07);line-height:var(--ptc-line-height-looser);letter-spacing:var(--ptc-letter-spacing-loose)}p.ellipsis-boxing{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word}p.line-clamp-title{display:-webkit-box !important;-webkit-box-orient:vertical;overflow:hidden}@media (max-width: 768px){:host(.hide-tooltip-on-mobile) .line-clamp-title{-webkit-line-clamp:initial !important}}";
5
-
6
- const PtcPara = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.fontSize = "x-small";
10
- this.fontWeight = "w-4";
11
- this.paraStyle = "default";
12
- this.paraColor = "primary-grey";
13
- this.paraLineH = "line-height-normal";
14
- this.paraMargin = undefined;
15
- this.paraAlign = undefined;
16
- this.ellipsisLineCutoff = undefined;
17
- this.paraZIndex = undefined;
18
- this.styles = undefined;
19
- this.seoCompatibilityMode = false;
20
- this.tooltipZIndex = "auto";
21
- this.tooltipPosition = "bottom";
22
- this.tooltipTheme = "standard";
23
- this.enableTooltip = false;
24
- this.maxChars = undefined;
25
- this.maxLines = undefined;
26
- this.hideTooltipOnMobile = false;
27
- this.ismob = undefined;
28
- this.noOverflow = false;
29
- this.tooltipWidth = "default";
30
- }
31
- // Tooltip Properties ends
32
- render() {
33
- if (this.seoCompatibilityMode) {
34
- seoSlotReset(this.el);
35
- }
36
- return this.standardRender();
37
- }
38
- //tooltip code
39
- getSortedText(content) {
40
- if (!this.enableTooltip)
41
- return;
42
- const trimmedContent = content.trim();
43
- const shouldTruncate = trimmedContent.length > this.maxChars && !this.maxLines;
44
- return shouldTruncate
45
- ? `${trimmedContent.slice(0, this.maxChars).trimEnd()}\u00A0\u2026`
46
- : trimmedContent;
47
- }
48
- componentDidLoad() {
49
- if (this.hideTooltipOnMobile) {
50
- this.el.classList.add("hide-tooltip-on-mobile");
51
- }
52
- this.el.addEventListener("mouseenter", () => {
53
- this.toggleTitleTooltip(true);
54
- });
55
- this.el.addEventListener("mouseleave", () => {
56
- this.toggleTitleTooltip(false);
57
- });
58
- if (this.enableTooltip) {
59
- let paraContent = this.el.innerText || this.el.textContent;
60
- this.tooltipText = paraContent.trim();
61
- this.el.innerText = this.getSortedText(paraContent);
62
- }
63
- }
64
- toggleTitleTooltip(show) {
65
- const tooltipClass = "tooltip-box";
66
- const existingTooltip = this.el.querySelector(`.${tooltipClass}`);
67
- const text = this.el.shadowRoot.querySelectorAll(".line-clamp-title");
68
- let maxLinesShowCheck = false;
69
- if (text) {
70
- text.forEach((t) => {
71
- maxLinesShowCheck = t.scrollHeight > t.clientHeight;
72
- });
73
- }
74
- const ifCharExceeds = this.maxChars
75
- ? this.tooltipText.length > this.maxChars && !this.maxLines
76
- : false;
77
- const ifLinesExceeds = this.maxLines && maxLinesShowCheck;
78
- if (show && this.enableTooltip) {
79
- if (((!existingTooltip && ifCharExceeds) ||
80
- (!existingTooltip && ifLinesExceeds)) &&
81
- !this.noOverflow) {
82
- const tooltipMarkup = document.createElement("div");
83
- tooltipMarkup.className = tooltipClass;
84
- tooltipMarkup.innerText = this.tooltipText;
85
- tooltipMarkup.style.zIndex = String(this.tooltipZIndex); // Ensures zIndex is a string
86
- tooltipMarkup.classList.add(this.tooltipPosition, this.tooltipTheme, this.tooltipWidth);
87
- if (this.hideTooltipOnMobile) {
88
- tooltipMarkup.classList.add("hide-tooltip-mobile");
89
- }
90
- this.el.appendChild(tooltipMarkup);
91
- }
92
- }
93
- else {
94
- existingTooltip === null || existingTooltip === void 0 ? void 0 : existingTooltip.remove();
95
- }
96
- }
97
- //tooltip code ends
98
- standardRender() {
99
- const classMap = this.getCssClassMap();
100
- const colorClass = this.addWhiteClass();
101
- const cutOff = this.getLineCuttoff();
102
- return (h(Host, { class: `${colorClass} ${this.paraZIndex} trunc-text` }, this.styles && h("style", null, this.styles), h("p", { class: classMap, part: "part-para", style: cutOff }, h("slot", null))));
103
- }
104
- getCssClassMap() {
105
- return {
106
- [this.fontSize]: true,
107
- [this.fontWeight]: true,
108
- [this.paraStyle]: true,
109
- [this.paraMargin]: !!this.paraMargin ? true : false,
110
- [this.paraColor]: true,
111
- [this.paraLineH]: true,
112
- [this.paraAlign]: !!this.paraAlign ? true : false,
113
- ["ellipsis-boxing"]: this.ellipsisLineCutoff && this.ellipsisLineCutoff > 0,
114
- ["line-clamp-title"]: this.maxLines && this.maxLines > 0, //tooltip code,
115
- };
116
- }
117
- //WEB-2392
118
- addWhiteClass() {
119
- if (this.paraColor == "white") {
120
- return {
121
- [this.paraColor]: true,
122
- };
123
- }
124
- }
125
- getLineCuttoff() {
126
- const lineClamp = this.ellipsisLineCutoff > 0
127
- ? this.ellipsisLineCutoff
128
- : this.maxLines;
129
- return lineClamp > 0 ? { "-webkit-line-clamp": `${lineClamp}` } : {};
130
- }
131
- get el() { return getElement(this); }
132
- };
133
- PtcPara.style = ptcParaCss;
134
-
135
- export { PtcPara as ptc_para };
@@ -1,181 +0,0 @@
1
- import { r as registerInstance, h, H as Host, a as getElement } from './index-0bf594c4.js';
2
- import { a as ResponsivePictureVariables } from './interfaces-4caedd26.js';
3
-
4
- 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}";
5
-
6
- const PtcPicture = class {
7
- constructor(hostRef) {
8
- registerInstance(this, hostRef);
9
- this.src = undefined;
10
- this.alt = "image";
11
- this.sizeXs = "510x340";
12
- this.sizeSm = "1240x496";
13
- this.sizeMd = "1366x500";
14
- this.sizeLg = "1920x1080";
15
- this.disableResize = false;
16
- this.oldSrc = undefined;
17
- this.imagePosition = "static";
18
- this.borderRadius = undefined;
19
- this.height = undefined;
20
- this.width = undefined;
21
- this.objectFit = "cover";
22
- this.isFullHeight = false;
23
- this.isFullWidth = false;
24
- this.styles = undefined;
25
- this.imageAlignment = "left";
26
- this.maxWidth = undefined;
27
- this.displayImage = "block";
28
- }
29
- WindowResize() {
30
- this.addIntersectionObserver();
31
- }
32
- componentWillLoad() {
33
- if (this.disableResize) {
34
- this.sizeXs = undefined;
35
- this.sizeSm = undefined;
36
- this.sizeMd = undefined;
37
- this.sizeLg = undefined;
38
- }
39
- }
40
- componentDidLoad() {
41
- this.addIntersectionObserver();
42
- }
43
- componentWillUpdate() {
44
- if (this.src !== this.oldSrc) {
45
- this.addIntersectionObserver();
46
- }
47
- this.oldSrc = this.src;
48
- }
49
- //lazy-loading
50
- addIntersectionObserver() {
51
- if (!this.src) {
52
- return;
53
- }
54
- if ("IntersectionObserver" in window) {
55
- let lazyLoadImages = new IntersectionObserver((entries) => {
56
- entries.forEach((entry) => {
57
- if (entry.isIntersecting) {
58
- const image = this.el.shadowRoot.querySelector("img");
59
- image.src = this.setResponsiveBg();
60
- lazyLoadImages.unobserve(image);
61
- }
62
- });
63
- });
64
- let tempImg = this.el.shadowRoot.querySelector("img");
65
- if (tempImg) {
66
- lazyLoadImages.observe(tempImg);
67
- }
68
- this.observer = lazyLoadImages;
69
- }
70
- else {
71
- // fall back to setTimeout for Safari and IE
72
- setTimeout(() => {
73
- const image = this.el.shadowRoot.querySelector("img");
74
- image.src = this.setResponsiveBg();
75
- image.onload = () => {
76
- image.removeAttribute("data-src");
77
- };
78
- }, 5000);
79
- }
80
- }
81
- //responsive image
82
- setResponsiveBg() {
83
- // Define local variables
84
- let backgrounds = (this.el.shadowRoot || document).querySelectorAll("img"), el, elData, currentBreakpoint = this.getCurrentBreakPoints();
85
- for (var i = 0, len = backgrounds.length; i < len; i++) {
86
- // Set current variables
87
- el = backgrounds[i];
88
- elData = el.getAttribute("data-" + currentBreakpoint);
89
- if (elData !== null) {
90
- return elData;
91
- }
92
- else {
93
- if (typeof console == "object") {
94
- console.warn("Data attribute: data-" +
95
- currentBreakpoint +
96
- " not found on element:\n\n" +
97
- el.outerHTML +
98
- "\n\n\n");
99
- }
100
- }
101
- }
102
- }
103
- //manually load image
104
- async LoadImage() {
105
- const image = this.el.shadowRoot.querySelector("img");
106
- if (!image) {
107
- return;
108
- }
109
- if (!image.src) {
110
- image.src = this.setResponsiveBg();
111
- image.onload = () => {
112
- image.removeAttribute("data-src");
113
- };
114
- }
115
- if (this.observer) {
116
- this.observer.unobserve(image);
117
- }
118
- }
119
- render() {
120
- const classMap = this.getCssClassMap();
121
- const classMapHost = this.getCssClassMapHost();
122
- return (h(Host, { class: classMapHost }, this.styles && h("style", null, this.styles), h("img", Object.assign({ class: classMap, "data-xs": !!this.sizeXs ? `${this.src}` : `${this.src}`, "data-sm": !!this.sizeSm ? `${this.src}` : `${this.src}`, "data-md": !!this.sizeMd ? `${this.src}` : `${this.src}`, "data-lg": !!this.sizeLg ? `${this.src}` : `${this.src}` }, (!!this.width ? { width: this.width } : {}), (!!this.height ? { height: this.height } : {}), { alt: this.alt, style: Object.assign({}, (!!this.maxWidth
123
- ? { maxWidth: this.maxWidth + "px" }
124
- : {})) })), h("slot", null)));
125
- }
126
- getCurrentBreakPoints() {
127
- // Define local variables
128
- let doc = window.document, temp = doc.createElement("div"), env;
129
- // Append test node
130
- doc.body.appendChild(temp);
131
- // Loop through breakpoints
132
- for (let i = ResponsivePictureVariables.envs.length - 1; i >= 0; i--) {
133
- env = ResponsivePictureVariables.envs[i];
134
- // Add classes
135
- temp.className = "hidden-" + env;
136
- // Found breakpoint
137
- if (temp.offsetParent === null) {
138
- // Remove our test node
139
- doc.body.removeChild(temp);
140
- // Return current breakpoint
141
- return env;
142
- }
143
- }
144
- // Breakpoint not found, try fallback
145
- doc.body.removeChild(temp);
146
- return this.getFallbackBreakpoint();
147
- }
148
- getFallbackBreakpoint() {
149
- if (window.matchMedia("(min-width: 992px)").matches) {
150
- return "lg";
151
- }
152
- else if (window.matchMedia("(min-width: 768px)").matches) {
153
- return "md";
154
- }
155
- else if (window.matchMedia("(min-width: 576px)").matches) {
156
- return "sm";
157
- }
158
- else {
159
- return "xs";
160
- }
161
- }
162
- getCssClassMap() {
163
- return {
164
- [this.borderRadius]: this.borderRadius ? true : false,
165
- [this.objectFit]: true,
166
- [this.isFullHeight ? "is-full-height" : "is-normal-height"]: true,
167
- [this.isFullWidth ? "is-full-width" : "is-normal-width"]: true,
168
- [this.displayImage]: true,
169
- };
170
- }
171
- getCssClassMapHost() {
172
- return {
173
- [this.imagePosition]: true,
174
- [this.imageAlignment]: true,
175
- };
176
- }
177
- get el() { return getElement(this); }
178
- };
179
- PtcPicture.style = ptcPictureCss;
180
-
181
- export { PtcPicture as ptc_picture };
@@ -1,34 +0,0 @@
1
- import { r as registerInstance, h, H as Host } from './index-0bf594c4.js';
2
-
3
- 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}}";
4
-
5
- const PtcSpacer = class {
6
- constructor(hostRef) {
7
- registerInstance(this, hostRef);
8
- this.breakpoint = "";
9
- this.size = "medium";
10
- this.direction = "vertical";
11
- }
12
- render() {
13
- const classMap = this.getCssClassMap();
14
- return h(Host, { class: classMap });
15
- }
16
- getCssClassMap() {
17
- return {
18
- [this.size]: true,
19
- ["ptc-spacer-horizontal"]: this.direction === "horizontal",
20
- ["ptc-spacer-vertical"]: this.direction === "vertical",
21
- ["ptc-spacer-xx-small"]: this.breakpoint === "xx-small",
22
- ["ptc-spacer-x-small"]: this.breakpoint === "x-small",
23
- ["ptc-spacer-small"]: this.breakpoint === "small",
24
- ["ptc-spacer-medium"]: this.breakpoint === "medium",
25
- ["ptc-spacer-large"]: this.breakpoint === "large",
26
- ["ptc-spacer-x-large"]: this.breakpoint === "x-large",
27
- ["ptc-spacer-xx-large"]: this.breakpoint === "xx-large",
28
- ["ptc-spacer-xxx-large"]: this.breakpoint === "xxx-large",
29
- };
30
- }
31
- };
32
- PtcSpacer.style = ptcSpacerCss;
33
-
34
- export { PtcSpacer as ptc_spacer };