import{a as u}from"./chunk-5PO6RROQ.js";import{G as n}from"./chunk-43GP4A7N.js";import{Ea as f,M as s,O as m,Oc as S,Q as a}from"./chunk-RISKGE32.js";import{R as r}from"./chunk-6O6MLDWR.js";import{g as l,n as c}from"./chunk-CLPINNGF.js";c();l();var o=(e,t)=>{e instanceof HTMLElement&&(e.style.display=t?"initial":"none")},b=async e=>{await u(),S("extension_initiated_ocr",{method:e}),s();let t=document.querySelector(`#${r}`),i=document.querySelector(`#${n}`);t&&o(t,!1),i&&o(i,!1),await f(100),a()},D=()=>{m();let e=document.querySelector(`#${r}`),t=document.querySelector(`#${n}`);e&&o(e,!0),t&&o(t,!0)};export{b as a,D as b};
//# sourceMappingURL=chunk-FKJPRJ46.js.map
