customElements.define("passolution-embed",class extends HTMLElement{constructor(){super();const e=this.attachShadow({mode:"open"}),t=document.createElement("div");t.classList.add("pds-embed-root","text-center"),["https://plugin.passolution.eu/js/passolution-embed.css"].forEach(t=>{const s=document.createElement("link");s.href=t,s.rel="stylesheet",s.type="text/css",e.appendChild(s)}),["https://plugin.passolution.eu/js/embed-loader.js"].forEach(t=>{const s=document.createElement("script");s.type="module",s.src=t,e.appendChild(s)}),e.appendChild(t)}}),function(){const e="passolution-fonts-css";document.getElementById(e)||["https://plugin.passolution.eu/js/passolution-fonts.css"].forEach(t=>{const s=document.createElement("link");s.id=e,s.href=t,s.rel="stylesheet",s.type="text/css",document.head.appendChild(s)});const t=document.querySelectorAll(".pds-embed");for(let s=0;s