@ptcwebops/ptcw-design 6.3.7 → 6.3.8-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/cjs/{component-06dda623.js → component-4dd13907.js} +2643 -832
  2. package/dist/cjs/event-jumbotron-example.cjs.entry.js +3 -36
  3. package/dist/cjs/featured-list.cjs.entry.js +1 -1
  4. package/dist/cjs/innovator-toggle-container.cjs.entry.js +1 -1
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/modal-form-example.cjs.entry.js +94 -0
  7. package/dist/cjs/ptc-bio-card.cjs.entry.js +1 -1
  8. package/dist/cjs/ptc-card_2.cjs.entry.js +4 -3
  9. package/dist/cjs/ptc-case-studies-slider.cjs.entry.js +1 -1
  10. package/dist/cjs/ptc-close-icon_2.cjs.entry.js +12 -6
  11. package/dist/cjs/ptc-countdown.cjs.entry.js +12 -13
  12. package/dist/cjs/ptc-data-lookup.cjs.entry.js +1 -2
  13. package/dist/cjs/ptc-featured-list.cjs.entry.js +1 -1
  14. package/dist/cjs/ptc-filter-level-theater.cjs.entry.js +1 -1
  15. package/dist/cjs/{ptc-form-checkbox_2.cjs.entry.js → ptc-form-checkbox_4.cjs.entry.js} +789 -5
  16. package/dist/cjs/ptc-jumbotron.cjs.entry.js +2 -3
  17. package/dist/cjs/ptc-office-locations.cjs.entry.js +3 -13
  18. package/dist/cjs/ptc-para.cjs.entry.js +1 -1
  19. package/dist/cjs/ptc-podcast-card.cjs.entry.js +1 -1
  20. package/dist/cjs/ptc-previous-url.cjs.entry.js +10 -2
  21. package/dist/cjs/ptc-product-card.cjs.entry.js +1 -1
  22. package/dist/cjs/ptc-product-category.cjs.entry.js +1 -1
  23. package/dist/cjs/ptc-product-highlight-card.cjs.entry.js +1 -1
  24. package/dist/cjs/ptc-readmore-char.cjs.entry.js +1 -1
  25. package/dist/cjs/ptc-readmore-v3.cjs.entry.js +1 -1
  26. package/dist/cjs/ptc-tooltip-v2.cjs.entry.js +1 -1
  27. package/dist/cjs/ptc-value-led-speed-bump.cjs.entry.js +1 -1
  28. package/dist/cjs/ptc-white-paper.cjs.entry.js +10 -4
  29. package/dist/cjs/ptcw-design.cjs.js +1 -1
  30. package/dist/collection/collection-manifest.json +1 -1
  31. package/dist/collection/components/icon-asset/media/designer-v6.0.6.svg +30 -2
  32. package/dist/collection/components/innovator-toggle-container/innovator-toggle-container.css +6 -6
  33. package/dist/collection/components/organism-bundles/bundle-featured-list/featured-list.css +3 -3
  34. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.css +4 -8
  35. package/dist/collection/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.js +2 -35
  36. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.css +26 -0
  37. package/dist/collection/components/organism-bundles/form/modal-from-example/modal-form-example.js +99 -0
  38. package/dist/collection/components/ptc-bio-card/ptc-bio-card.css +6 -6
  39. package/dist/collection/components/ptc-case-studies-slider/ptc-case-studies-slider.css +6 -6
  40. package/dist/collection/components/ptc-countdown/ptc-countdown.css +1 -1
  41. package/dist/collection/components/ptc-countdown/ptc-countdown.js +12 -14
  42. package/dist/collection/components/ptc-featured-list/ptc-featured-list.css +6 -6
  43. package/dist/collection/components/ptc-filter-level-theater/ptc-filter-level-theater.css +6 -6
  44. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.css +6 -24
  45. package/dist/collection/components/ptc-jumbotron/ptc-jumbotron.js +1 -20
  46. package/dist/collection/components/ptc-modal/ptc-modal.css +8 -4
  47. package/dist/collection/components/ptc-modal/ptc-modal.js +31 -7
  48. package/dist/collection/components/ptc-office-locations/ptc-office-locations.js +4 -15
  49. package/dist/collection/components/ptc-para/ptc-para.css +3 -0
  50. package/dist/collection/components/ptc-para/ptc-para.js +2 -2
  51. package/dist/collection/components/ptc-podcast-card/ptc-podcast-card.css +6 -6
  52. package/dist/collection/components/ptc-preloader-section/ptc-preloader-section.js +4 -3
  53. package/dist/collection/components/ptc-previous-url/ptc-previous-url.css +16 -0
  54. package/dist/collection/components/ptc-previous-url/ptc-previous-url.js +27 -1
  55. package/dist/collection/components/ptc-product-card/ptc-product-card.css +6 -6
  56. package/dist/collection/components/ptc-product-category/ptc-product-category.css +6 -6
  57. package/dist/collection/components/ptc-product-highlight-card/ptc-product-highlight-card.css +6 -6
  58. package/dist/collection/components/ptc-readmore-char/ptc-readmore-char.css +6 -6
  59. package/dist/collection/components/ptc-readmore-v3/ptc-readmore-v3.css +6 -6
  60. package/dist/collection/components/ptc-textfield/ptc-textfield.js +1 -1
  61. package/dist/collection/components/ptc-tooltip-v2/ptc-tooltip-v2.css +6 -6
  62. package/dist/collection/components/ptc-value-led-speed-bump/ptc-value-led-speed-bump.css +6 -6
  63. package/dist/collection/components/ptc-white-paper/ptc-white-paper.css +6 -6
  64. package/dist/collection/components/ptc-white-paper/ptc-white-paper.js +9 -3
  65. package/dist/collection/stories/organisms/eSupport/CaseTracker/preview.stories.js +45 -0
  66. package/dist/collection/stories/organisms/eSupport/SupportArticle/preview.stories.js +47 -0
  67. package/dist/collection/stories/organisms/eSupport/SupportPage/preview.stories.js +157 -0
  68. package/dist/custom-elements/index.d.ts +6 -6
  69. package/dist/custom-elements/index.js +167 -175
  70. package/dist/esm/{component-274da230.js → component-9c921cc6.js} +2592 -793
  71. package/dist/esm/event-jumbotron-example.entry.js +3 -36
  72. package/dist/esm/featured-list.entry.js +1 -1
  73. package/dist/esm/innovator-toggle-container.entry.js +1 -1
  74. package/dist/esm/loader.js +1 -1
  75. package/dist/esm/modal-form-example.entry.js +90 -0
  76. package/dist/esm/ptc-bio-card.entry.js +1 -1
  77. package/dist/esm/ptc-card_2.entry.js +4 -3
  78. package/dist/esm/ptc-case-studies-slider.entry.js +1 -1
  79. package/dist/esm/ptc-close-icon_2.entry.js +12 -6
  80. package/dist/esm/ptc-countdown.entry.js +12 -13
  81. package/dist/esm/ptc-data-lookup.entry.js +1 -2
  82. package/dist/esm/ptc-featured-list.entry.js +1 -1
  83. package/dist/esm/ptc-filter-level-theater.entry.js +1 -1
  84. package/dist/esm/{ptc-form-checkbox_2.entry.js → ptc-form-checkbox_4.entry.js} +786 -4
  85. package/dist/esm/ptc-jumbotron.entry.js +2 -3
  86. package/dist/esm/ptc-office-locations.entry.js +3 -13
  87. package/dist/esm/ptc-para.entry.js +1 -1
  88. package/dist/esm/ptc-podcast-card.entry.js +1 -1
  89. package/dist/esm/ptc-previous-url.entry.js +10 -2
  90. package/dist/esm/ptc-product-card.entry.js +1 -1
  91. package/dist/esm/ptc-product-category.entry.js +1 -1
  92. package/dist/esm/ptc-product-highlight-card.entry.js +1 -1
  93. package/dist/esm/ptc-readmore-char.entry.js +1 -1
  94. package/dist/esm/ptc-readmore-v3.entry.js +1 -1
  95. package/dist/esm/ptc-tooltip-v2.entry.js +1 -1
  96. package/dist/esm/ptc-value-led-speed-bump.entry.js +1 -1
  97. package/dist/esm/ptc-white-paper.entry.js +11 -5
  98. package/dist/esm/ptcw-design.js +1 -1
  99. package/dist/ptcw-design/media/designer-v6.0.6.svg +30 -2
  100. package/dist/ptcw-design/{p-9fa958b9.entry.js → p-045a9460.entry.js} +1 -1
  101. package/dist/ptcw-design/{p-7fb155da.entry.js → p-072aa896.entry.js} +1 -1
  102. package/dist/ptcw-design/p-08b281d1.entry.js +68 -0
  103. package/dist/ptcw-design/{p-a791c53a.entry.js → p-0b515839.entry.js} +1 -1
  104. package/dist/ptcw-design/p-0d223232.entry.js +1 -0
  105. package/dist/ptcw-design/{p-75988f52.entry.js → p-0de4cd11.entry.js} +1 -1
  106. package/dist/ptcw-design/{p-9f194554.entry.js → p-21aa746d.entry.js} +1 -1
  107. package/dist/ptcw-design/p-32f64f48.entry.js +1 -0
  108. package/dist/ptcw-design/{p-d089dc37.entry.js → p-3dd0ded9.entry.js} +1 -1
  109. package/dist/ptcw-design/p-42992202.entry.js +1 -0
  110. package/dist/ptcw-design/{p-4d8f6f46.entry.js → p-445329ed.entry.js} +1 -1
  111. package/dist/ptcw-design/p-67c248ec.entry.js +1 -0
  112. package/dist/ptcw-design/p-75390f63.entry.js +1 -0
  113. package/dist/ptcw-design/p-799afee5.entry.js +1 -0
  114. package/dist/ptcw-design/p-94f99d2d.entry.js +1 -0
  115. package/dist/ptcw-design/p-9501995f.entry.js +1 -0
  116. package/dist/ptcw-design/p-a3b57ede.entry.js +1 -0
  117. package/dist/ptcw-design/p-b83be524.entry.js +1 -0
  118. package/dist/ptcw-design/p-baff4d44.entry.js +1 -0
  119. package/dist/ptcw-design/p-bcab66bf.js +336 -0
  120. package/dist/ptcw-design/p-bd6af63e.entry.js +1 -0
  121. package/dist/ptcw-design/{p-18ac526f.entry.js → p-d73cc053.entry.js} +1 -1
  122. package/dist/ptcw-design/p-de960790.entry.js +1 -0
  123. package/dist/ptcw-design/p-e4295b30.entry.js +1 -0
  124. package/dist/ptcw-design/p-e6a272d9.entry.js +1 -0
  125. package/dist/ptcw-design/p-f4eb6d0a.entry.js +1 -0
  126. package/dist/ptcw-design/p-fe40421e.entry.js +1 -0
  127. package/dist/ptcw-design/ptcw-design.css +2 -2
  128. package/dist/ptcw-design/ptcw-design.esm.js +1 -1
  129. package/dist/types/components/organism-bundles/event-jumbotron-example/event-jumbotron-example.d.ts +0 -2
  130. package/dist/types/components/organism-bundles/form/modal-from-example/modal-form-example.d.ts +25 -0
  131. package/dist/types/components/ptc-jumbotron/ptc-jumbotron.d.ts +0 -1
  132. package/dist/types/components/ptc-modal/ptc-modal.d.ts +2 -1
  133. package/dist/types/components/ptc-office-locations/ptc-office-locations.d.ts +0 -1
  134. package/dist/types/components/ptc-para/ptc-para.d.ts +1 -1
  135. package/dist/types/components/ptc-previous-url/ptc-previous-url.d.ts +2 -0
  136. package/dist/types/components/ptc-white-paper/ptc-white-paper.d.ts +1 -0
  137. package/dist/types/components.d.ts +21 -19
  138. package/package.json +1 -1
  139. package/readme.md +5 -1
  140. package/dist/cjs/component-5b5b6a98.js +0 -1819
  141. package/dist/cjs/ptc-icon-card-slider-example.cjs.entry.js +0 -82
  142. package/dist/cjs/ptc-multi-select_2.cjs.entry.js +0 -672
  143. package/dist/cjs/validation-messages-33a4f26b.js +0 -126
  144. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.css +0 -1143
  145. package/dist/collection/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.js +0 -77
  146. package/dist/esm/component-341e4eaa.js +0 -1802
  147. package/dist/esm/ptc-icon-card-slider-example.entry.js +0 -78
  148. package/dist/esm/ptc-multi-select_2.entry.js +0 -667
  149. package/dist/esm/validation-messages-adbb6518.js +0 -124
  150. package/dist/ptcw-design/p-00e21489.entry.js +0 -1
  151. package/dist/ptcw-design/p-076efe50.entry.js +0 -68
  152. package/dist/ptcw-design/p-114d0de7.entry.js +0 -1
  153. package/dist/ptcw-design/p-15758793.entry.js +0 -1
  154. package/dist/ptcw-design/p-18a5a338.js +0 -1
  155. package/dist/ptcw-design/p-1ca8a5bf.entry.js +0 -1
  156. package/dist/ptcw-design/p-2b32297b.entry.js +0 -1
  157. package/dist/ptcw-design/p-38b782e8.entry.js +0 -1
  158. package/dist/ptcw-design/p-51a45b13.entry.js +0 -1
  159. package/dist/ptcw-design/p-593b8eff.entry.js +0 -1
  160. package/dist/ptcw-design/p-73a853fc.entry.js +0 -1
  161. package/dist/ptcw-design/p-752bba1c.entry.js +0 -1
  162. package/dist/ptcw-design/p-a58698ca.entry.js +0 -1
  163. package/dist/ptcw-design/p-ab3d2934.entry.js +0 -1
  164. package/dist/ptcw-design/p-acdd9a1d.entry.js +0 -1
  165. package/dist/ptcw-design/p-ad821a01.entry.js +0 -1
  166. package/dist/ptcw-design/p-be533f0d.js +0 -134
  167. package/dist/ptcw-design/p-c1513c3f.js +0 -203
  168. package/dist/ptcw-design/p-c8f68292.entry.js +0 -1
  169. package/dist/ptcw-design/p-d66debb3.entry.js +0 -1
  170. package/dist/ptcw-design/p-e5369c4d.entry.js +0 -1
  171. package/dist/ptcw-design/p-f9256e3d.entry.js +0 -1
  172. package/dist/types/components/organism-bundles/ptc-icon-card-slider-example/ptc-icon-card-slider-example.d.ts +0 -10
@@ -0,0 +1 @@
1
+ import{r as t,h as o,H as e,c as a,g as i}from"./p-ac75c7ad.js";import{c as s}from"./p-0b33279e.js";const r=class{constructor(o){t(this,o)}render(){return o(e,null,o("div",{class:"close-icon mf-listen",id:"modal-pop-up-close-icon"},o("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",tabindex:0},o("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.00089 8.4151L12.5876 14.0018L14.0018 12.5876L8.4151 7.00089L14.0018 1.41421L12.5876 0L7.00089 5.58667L1.41421 0L0 1.41421L5.58667 7.00089L0 12.5876L1.41421 14.0018L7.00089 8.4151Z",fill:"#20262A"}))))}};r.style="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:inline-block}:host:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:5px solid transparent;box-sizing:border-box;border-radius:var(--ptc-border-radius-standard);cursor:pointer}:host .close-icon svg{padding:7px;border:1px solid transparent;border-radius:var(--ptc-border-radius-standard);background-color:transparent;transition:border-color var(--ptc-transition-medium) var(--ptc-ease-inout)}:host .close-icon svg:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .close-icon:hover svg{border-color:var(--color-gray-12)}:host .close-icon:active svg{transition-duration:0ms;background-color:var(--color-gray-02);border:1px solid var(--color-gray-12)}";const p=class{constructor(o){t(this,o),this.closed=a(this,"closed",7),this.opened=a(this,"opened",7),this.setReturnFocus=()=>{var t,o;if(!this.lastFocusElement)return;if(0===this.lastFocusElement.tabIndex)return void this.lastFocusElement.focus();const e=this.lastFocusElement.shadowRoot;if(e){const t=e.querySelectorAll('button, [tabindex]:not([tabindex="-1"])');if(t)return void t[t.length-1].focus()}const a=null===(o=(t=this.lastFocusElement).querySelector)||void 0===o?void 0:o.call(t,'button, [tabindex]:not([tabindex="-1"])');a instanceof HTMLElement&&a.focus()},this.handleKeyPress=t=>{"Enter"!==t.key&&" "!==t.key&&"Tab"!==t.key||(this.openedByKeyboard=!0)},this.handleMouseDown=()=>{this.openedByKeyboard=!1},this.iframeUrl=void 0,this.size="sm",this.customClass=void 0,this.show=!1,this.overlay=!0,this.fixed=!1,this.keepInViewport=!1,this.closeOnBlur=!1,this.rounded=!1,this.hideContainer=!1,this.showHeaderFooter=!1,this.overlayHeight=void 0,this.borderRadius="standard",this.isBioModal=!1,this.styles=void 0,this.modalType="default-modal",this.vhCenter=!1,this.headerOnlyBg=void 0,this.headerOnlyText1=void 0,this.headerOnlyText2=void 0,this.bottomCloseBtn=void 0,this.initialFocus=!0,this.openedByKeyboard=!1,this.bodyOverflowSetting=void 0}onShowChange(t){t?(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)):this.fireOnClosed(this)}fireOnClosed(t){this.closed.emit(t),document.activeElement.blur()}fireOnOpened(t){this.opened.emit(t),setTimeout((()=>{const t=this.el.shadowRoot.querySelector(".wrapper");t&&t.focus(),this.scrollToTopIfNeeded()}),100),setTimeout((()=>{this.trap=s(this.modalPopUpRef,{escapeDeactivates:!0,clickOutsideDeactivates:!0,returnFocusOnDeactivate:!0,onActivate:()=>{this.openedByKeyboard||this.trap.pause()},onDeactivate:()=>{this.close(),this.trap.deactivate(),this.setReturnFocus()},tabbableOptions:{getShadowRoot:!0}}),this.openedByKeyboard&&this.trap.activate()}),200)}scrollToTopIfNeeded(){if(this.el&&"event-listing"===this.modalType){const t=this.el.shadowRoot.querySelector(".modal-body").getBoundingClientRect().top+window.scrollY;window.scrollTo({top:t-160,behavior:"smooth"})}}connectedCallback(){document.addEventListener("keydown",this.handleKeyPress,!0),document.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){document.removeEventListener("keydown",this.handleKeyPress,!0),document.removeEventListener("mousedown",this.handleMouseDown,!0)}componentWillLoad(){let t=document.querySelector("body");this.bodyOverflowSetting={overflowY:t.style.overflowY,overflowX:t.style.overflowX}}componentWillRender(){let t=document.querySelector("body");t&&(this.show?this.fixed?(t.style.overflowY="hidden",t.style.overflowX="hidden"):(t.style.overflowY="scroll",t.style.overflowX="hidden"):(t.style.overflowY=this.bodyOverflowSetting.overflowY,t.style.overflowX=this.bodyOverflowSetting.overflowX))}componentDidLoad(){this.show&&(this.lastFocusElement=document.activeElement,this.fireOnOpened(this)),this.showHeaderFooter&&this.handleScroll()}resizeIframe(t){let o=t.target;setTimeout((()=>{try{o.contentDocument?o.height=`${o.contentDocument.body.scrollHeight}px`:(o.height="616px",o.removeAttribute("scrolling"))}catch(t){console.log(t),o.height="616px",o.removeAttribute("scrolling")}o.classList.add("ready")}),50)}handleScroll(){let t=this.el.shadowRoot.querySelector(".shadow-scroller");if(t){let i=t.querySelector(".modal-body");var o=i.scrollHeight,e=i.scrollTop,a=i.offsetHeight;i.clientHeight<o&&(e>0?t.classList.add("scroll-top"):t.classList.remove("scroll-top"),a+e<o?t.classList.add("scroll-bottom"):t.classList.remove("scroll-bottom"))}}close(){this.show=!1}render(){let t,a,i=this.iframeUrl?"frame":"html",s=o("div",{class:"close",id:"modal-close"},o("ptc-close-icon",{onClick:t=>{t.preventDefault(),this.close()},onKeyPress:t=>{t.preventDefault(),this.close(),this.setReturnFocus(),this.trap&&this.trap.deactivate()}})),r=o("div",{class:"bottom-close",id:"modal-bottom-close",onClick:t=>{t.preventDefault(),this.close()},onKeyPress:t=>{t.preventDefault(),this.close()}},o("span",null,this.bottomCloseBtn));return t=this.iframeUrl?o("iframe",{src:this.iframeUrl,frameBorder:0,allowFullScreen:!1,height:"100%",width:"100%",scrolling:"no",onLoad:this.resizeIframe}):o("slot",this.showHeaderFooter?{name:"body"}:null),this.overlay&&(a=o("div",this.closeOnBlur?{class:"overlay",onClick:()=>this.close()}:{class:"overlay"})),o(e,{class:this.getCssClassMap()},this.styles&&o("style",null,this.styles),o("div",{class:`wrapper ${this.show?"show":"hide"} ${this.fixed?"fixed":""} `},a,o("div",{class:`modal-popup ${this.customClass?this.customClass:""} ${this.size} ${i} ${this.rounded?"rounded":""} ${this.showHeaderFooter?"shadow-scroller":""} `,ref:t=>this.modalPopUpRef=t},"event-listing"===this.modalType&&this.headerOnlyBg?[o("div",{class:"event-list-header"},o("ptc-img",{"img-url":this.headerOnlyBg,"image-type":"smart-img",styles:".ptc-img{border-radius: var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;}"}),o("div",{class:"text-wrapper"},o("span",null,this.headerOnlyText1?this.headerOnlyText1:""),o("span",null,this.headerOnlyText2?this.headerOnlyText2:"")))]:null,this.showHeaderFooter?[o("div",{class:"modal-header"},o("slot",{name:"header"}),s),o("div",{class:"modal-body",onScroll:()=>this.handleScroll()},t),o("div",{class:"modal-footer"},o("slot",{name:"footer"}))]:[s,o("div",{class:"modal-body"},t)],"event-listing"===this.modalType&&this.bottomCloseBtn?[r]:null)))}getCssClassMap(){return{"no-container":this.hideContainer,"bio-modal":this.isBioModal,"enclose-modal":!this.isBioModal&&this.keepInViewport,[this.borderRadius]:!0,[this.modalType]:!0,"vh-center":this.vhCenter}}async showModal(){this.show=!0}async hideModal(){this.show=!1}async toggleModal(){this.show=!this.show}async reloadIframe(){if(this.iframeUrl){let t=this.el.shadowRoot.querySelector("iframe");t&&(t.src=t.src)}}get el(){return i(this)}static get watchers(){return{show:["onShowChange"]}}};p.style='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}.wrapper{position:absolute;width:100vw;height:100%;top:0;left:0;z-index:500001;display:none}.wrapper.fixed{position:fixed}.wrapper .modal-popup{margin:7.5rem auto 1rem;background-color:var(--color-white);box-shadow:var(--ptc-shadow-large);max-width:22.5625rem;width:80%;display:flex;flex-direction:column;align-items:flex-end;align-content:flex-end;z-index:50020;transform:translateY(-100%);position:relative}@media only screen and (min-width: 992px){.wrapper .modal-popup{max-width:29.125rem}}.wrapper .modal-popup.md{max-width:44.125rem}.wrapper .modal-popup.lg{max-width:56.25rem}.wrapper .modal-popup.xl{max-width:64.0625rem}.wrapper .modal-popup.fit-content{max-width:fit-content}.wrapper .modal-popup.max{width:calc(100% - 4rem);max-width:75rem;height:80vh;margin:auto;overflow:hidden}.wrapper .modal-popup.max .close{margin:var(--ptc-element-spacing-02)}.wrapper .modal-popup.max .modal-body iframe{height:100%}.wrapper .modal-popup.sm-modal{width:341px;max-width:341px}@media only screen and (max-width: 360px){.wrapper .modal-popup.sm-modal{max-width:100%;width:100%}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal{max-width:360px;width:360px}}@media only screen and (min-width: 480px){.wrapper .modal-popup.sm-modal.modal-with-content{width:371px;max-width:371px}}@media only screen and (min-width: 360px) and (max-width: 479.55px){.wrapper .modal-popup.sm-modal.modal-with-content{max-width:360px;width:360px}}.wrapper .modal-popup .modal-body{width:100%}.wrapper .modal-popup .modal-body iframe{opacity:0;overflow:hidden;width:100%;border:0;transition:opacity var(--ptc-ease-inout) var(--ptc-transition-medium)}.wrapper .modal-popup .modal-body iframe.ready{opacity:1}.wrapper .modal-popup .modal-body.frame{overflow:hidden;overflow-y:hidden;overflow-x:hidden}.wrapper .modal-popup .modal-body.html{overflow:hidden}.wrapper .modal-popup.frame .modal-body{display:flex;flex:1;height:100%}.wrapper .modal-popup .close{margin-right:2px;margin-top:2px}.wrapper .modal-popup.shadow-scroller{max-height:calc(100vh - 220px)}@media only screen and (min-width: 992px){.wrapper .modal-popup.shadow-scroller{max-height:756px}}.wrapper .modal-popup.shadow-scroller .modal-header{transition:box-shadow ease-in-out 250ms;position:relative;min-height:57px;border-bottom:1px solid var(--color-gray-02);width:100%}.wrapper .modal-popup.shadow-scroller .modal-header .close{position:absolute;top:8px;right:8px;margin:0}.wrapper .modal-popup.shadow-scroller .modal-body{min-height:200px;overflow-x:hidden}.wrapper .modal-popup.shadow-scroller .modal-footer{transition:box-shadow ease-in-out 250ms;width:100%;min-height:60px;border-top:1px solid var(--color-gray-02);padding-top:1rem}.wrapper .modal-popup.shadow-scroller.scroll-top .modal-header{box-shadow:0px 4px 12px rgba(0, 0, 0, 0.12)}.wrapper .modal-popup.shadow-scroller.scroll-bottom .modal-footer{box-shadow:0px -8px 12px rgba(0, 0, 0, 0.12)}.wrapper.show{display:flex;align-items:flex-start}.wrapper.show .modal-popup{transform:translateY(0)}.wrapper.show .modal-popup.rounded{border-radius:var(--ptc-border-radius-standard)}.overlay{width:100vw;height:100vh;position:fixed;top:0;left:0;z-index:50010;display:block;background-color:rgba(0, 0, 0, 0.6)}:host(.standard) .modal-popup{border-radius:var(--ptc-border-radius-standard)}:host(.large) .modal-popup{border-radius:var(--ptc-border-radius-large)}:host(.pill) .modal-popup{border-radius:var(--ptc-border-radius-pill)}:host(.circle) .modal-popup{border-radius:var(--ptc-border-radius-circle)}:host(.enclose-modal) .modal-popup{max-height:calc(100vh - 180px)}:host(.enclose-modal) .modal-popup:not(.frame) .modal-body{overflow-y:auto}:host(.bio-modal) .wrapper.show{align-items:flex-start}@media only screen and (min-width: 768px){:host(.bio-modal) .wrapper.show{align-items:center}}:host(.bio-modal) .modal-popup{padding:30px 15px 30px 0;max-width:1200px;margin:20px auto 0 auto;max-height:calc(100vh - 180px);width:90%;height:100%}:host(.bio-modal) .modal-popup .modal-body{height:100%}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup .modal-body{height:auto}}@media (max-height: 450px){:host(.bio-modal) .modal-popup .modal-body{height:100%}}@media only screen and (min-width: 768px){:host(.bio-modal) .modal-popup{max-height:none;width:80%;margin-top:0px;height:auto}}@media only screen and (min-width: 1440px){:host(.bio-modal) .modal-popup{max-width:1400px}}@media (max-height: 450px){:host(.bio-modal) .modal-popup{max-height:calc(100vh - 180px);height:100%}}:host(.bio-modal) .close{position:absolute;margin:0;right:8px;top:8px}:host(.bio-modal) .close svg .cls-1,:host(.bio-modal) .close svg .cls-2{fill:none;stroke-width:2px}:host(.bio-modal) .close svg .cls-1{stroke:#1c2439;stroke-linecap:square}:host(.bio-modal) .close svg .cls-2{stroke:#74c34d}:host(.bio-modal) .close svg path{transition:all ease-in-out 250ms}:host(.bio-modal) .close svg .cls-1:nth-child(1){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close svg .cls-1:nth-child(2){transform:translate(175.5px, 174.985px)}:host(.bio-modal) .close svg .cls-1:nth-child(3){transform:translate(215.5px, 141.393px)}:host(.bio-modal) .close svg .cls-1:nth-child(4){transform:translate(175.5px, 135.5px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(1){transform:translate(175.5px, 162px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(2){transform:translate(149px, 174.985px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(3){transform:translate(215.5px, 174px)}:host(.bio-modal) .close:hover svg .cls-1:nth-child(4){transform:translate(152.5px, 135.5px)}:host(.no-container) .wrapper .modal-popup.xl{max-width:80rem !important;background:transparent;box-shadow:none}:host(.no-container) .wrapper .modal-popup .close{display:none}:host(.video-modal) .modal-popup{margin:auto}@media (max-height: 768px){:host(.video-modal) .modal-popup.xl{max-width:56rem}}@media (max-height: 600px){:host(.video-modal) .modal-popup.xl{max-width:44rem}}@media (max-height: 500px){:host(.video-modal) .modal-popup.xl{max-width:35rem}}@media (max-height: 400px){:host(.video-modal) .modal-popup.xl{max-width:26rem}}:host(.event-listing) .wrapper .modal-popup{max-width:unset;width:calc(100% - 48px);top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px;position:absolute}:host(.vh-center) .wrapper .modal-popup{top:50%;left:50%;transform:translate(-50%, -50%) !important;margin:0px auto;position:absolute}:host(.thank-you) .wrapper .modal-popup{max-width:calc(100% - 48px);width:100%}@media only screen and (min-width: 480px){:host(.thank-you) .wrapper .modal-popup{max-width:640px;width:80%}}:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 24px 48px 24px;box-sizing:border-box}@media only screen and (min-width: 992px){:host(.thank-you) .wrapper .modal-popup .modal-body{padding:2px 48px 48px 48px}}:host .wrapper .event-list-header{display:flex;position:absolute;width:100%;height:118px;left:0;transform:translateY(-100%);border-radius:var(--ptc-border-radius-standard) var(--ptc-border-radius-standard) 0px 0px;align-items:center;padding:var(--ptc-element-spacing-06);box-sizing:border-box}:host .wrapper .event-list-header::before{content:"";position:absolute;left:0;width:100%;height:100%;border-radius:4px 4px 0px 0px;background:linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%);z-index:1}:host .wrapper .event-list-header+.close{margin-top:0px;margin-right:0px;width:40px;height:40px;display:flex;justify-content:center;align-items:center}:host .wrapper .event-list-header .text-wrapper{display:flex;flex-wrap:wrap;column-gap:0.5em}:host .wrapper .event-list-header .text-wrapper span{display:inline-block;color:var(--color-white);font-family:var(--ptc-font-latin);font-size:var(--ptc-font-size-x-large);font-weight:var(--ptc-font-weight-medium);line-height:var(--ptc-line-height-densest);position:relative;z-index:2}:host .wrapper .event-list-header .text-wrapper span:first-of-type{font-weight:var(--ptc-font-weight-extrabold)}:host .wrapper .event-mobile-modal{border-top-left-radius:0px;border-top-right-radius:0px}:host .wrapper .bottom-close{text-align:center;margin:0 auto 40px auto}:host .wrapper .bottom-close span{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .wrapper .bottom-close span:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .wrapper .bottom-close span:hover{color:var(--color-blue-08)}';export{r as ptc_close_icon,p as ptc_modal}
@@ -0,0 +1 @@
1
+ import{r as a,c as o,h as i,H as t,g as r}from"./p-ac75c7ad.js";const e=class{constructor(i){a(this,i),this.readMoreClicked=o(this,"readMoreClicked",7),this.readMoreRendered=o(this,"readMoreRendered",7),this.expanded=!1,this.maxCharacters=100,this.description=void 0,this.readMoreText="Read More",this.readLessText="Read Less",this.trackerId=void 0}toggleExpand(){this.expanded=!this.expanded,this.readMoreClicked.emit(this.expanded)}render(){const a=this.description?this.description.trim():"",o=a.length>this.maxCharacters?a.substring(0,this.maxCharacters)+"...":a,r=this.expanded?this.readLessText:this.readMoreText;return i(t,null,i("p",{class:"description"},this.expanded?this.description:o),a.length>this.maxCharacters&&i("div",{id:this.trackerId,class:"tracker-div"},i("label",{class:"truncated-label mf-listen",onClick:()=>this.toggleExpand(),onKeyDown:a=>{"Enter"===a.key&&this.toggleExpand()},tabIndex:0},r)))}get el(){return r(this)}};e.style='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}}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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):active,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.light-links a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-grey-10 a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section a,.vjs-social-share-links a):hover,.background-plm-grey a:not(.hero-footer-form-wrapper a,ptc-modal inline-form a,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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,.podcast-cta-section 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}:host .description{display:inline}:host .truncated-label{cursor:pointer;color:var(--color-hyperlink);font-size:var(--ptc-font-size-small);font-weight:var(--ptc-font-weight-bold);text-decoration-line:underline;line-height:var(--ptc-line-height-densest)}:host .truncated-label::before{content:"";padding-left:8px}:host .truncated-label:focus-visible{border-radius:var(--ptc-border-radius-standard);outline:5px solid var(--keyboard-nav-outline)}:host .tracker-div{display:inline;display:inline-block}';export{e as ptc_readmore_char}