(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_Speechify Chrome Extension"]="13.4.1"}catch(l){}})();
import{Yb as c}from"./chunk-XMRXO6YU.js";import"./chunk-ODCFEFOB.js";import"./chunk-24ZZP5UQ.js";import"./chunk-GQY3J744.js";import{H as l}from"./chunk-NWEJW7RD.js";import"./chunk-ASZMUWWE.js";import"./chunk-4XRFE7WB.js";import"./chunk-6I7EUWRH.js";import{g as e,i as r,k as n,m as d,n as i}from"./chunk-CLPINNGF.js";i();e();d();var s="speechify-scroll-to-highlight",h="speechify-scroll-to-highlight-root",o,a=()=>{try{if(!o){let t=document.createElement("div");if(!t.style)throw new Error("Error creating div element");t.id=s,t.style.cssText="position: absolute; bottom: 0; right: 0;",document.body.appendChild(t),o=t.attachShadow({mode:"open"})}}catch(t){l(new Error(`Error creating div element: ${JSON.stringify(t,null,2)}`),{context:{from:"createShadowHost",site:window.location.href}})}},m=()=>()=>{document.querySelector(`#${s}`)?.remove(),o=null},f=`
  position: fixed;
  z-index: 2147483646;
  top: 0; 
  left: 50%;
  transform: translateX(-50%);
  height: fit-content;
  font-size: initial;
`,E=()=>{a();let t=document.createElement("div");return t.id=h,t.style.cssText=f,o.appendChild(t),n(r(c,{root:t}),t),m()},S=E;export{S as default};
//# sourceMappingURL=init-J4WT3JA3.js.map
