1import{g as t,_ as e,i as o,b as s,A as i}from"./pp-accordion-CA6w9In6.js";const n=o=>class extends o{constructor(){super(),this._children=t(this,["pp-text-inline-tooltip"]),this.textElement=this._children["pp-text-inline-tooltip"],this.tooltipText=this.textElement.innerHTML,this.removeChild(this.textElement),this.classList.add("inline-flex")}disconnectedCallback(){super.disconnectedCallback();const t=this.querySelector(".js-tooltip");t&&t.removeEventListener("keydown",this.boundHandleKeyDown)}async firstUpdated(){const{default:t}=await e(async()=>{const{default:t}=await import("./bootstrap-tooltip-Cj2mksZ3.js").then(t=>t.t);return{default:t}},[],import.meta.url);await this.updateComplete,await new Promise(t=>{requestAnimationFrame(()=>t())});const o=this.renderRoot.querySelector(".js-tooltip");this._tooltip=new t(o),this.boundCloseOnEscKeyDown=this.closeOnEscKeyDown.bind(this),o.addEventListener("keydown",this.boundCloseOnEscKeyDown,{capture:!0})}closeOnEscKeyDown(t){"Escape"===t.key&&(this._tooltip.hide(),t.stopPropagation())}};class r extends(n(o)){static get properties(){return{srText:{attribute:"sr-text",type:String},icon:{attribute:"icon",type:String}}}constructor(){super(),this.icon="info"}get iconHtml(){return s` 2 <pp-icon name="${this.icon}" icon-width="30" icon-height="30" class="text-button-interactive-bg-1"></pp-icon> 3 `}get srOnlyText(){return this.srText?s`<span class="sr-only">${this.srText}</span>`:i}render(){return s` 4 <button 5 class="js-tooltip ml-8 w-32 h-32" 6 data-bs-toggle="tooltip" 7 data-bs-placement="bottom" 8 data-bs-html="true" 9 title="${this.tooltipText}" 10 > 11 ${this.srOnlyText} 12 ${this.iconHtml} 13 </button> 14 `}createRenderRoot(){return this}}customElements.define("pp-tooltip",r);const l=Object.freeze(Object.defineProperty({__proto__:null,default:r},Symbol.toStringTag,{value:"Module"}));export{n as T,l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.