import{ao as s,P as i,ap as a,aq as n,ar as d,L as p,T as c,ad as u,as as f,at as y,p as g,au as m,$ as L}from"./index-BeCeuELg.js";import{i as b,r as v}from"./dev.utils-109baad9-BGIjjL5C.js";const h=()=>{let e=c().KoliBri;return e===void 0&&(e={},Object.defineProperty(c(),"KoliBri",{value:e,writable:!1})),e};function o(e,t){try{Object.defineProperty(h(),e,{get:function(){return t}})}catch{p.debug(`KoliBri property ${e} is already bind.`)}}const r=(e,t)=>p.debug(`${e} ${t?"":"not "}activated`),C=()=>{if(b(),s()){v(),o("a11yColorContrast",d),o("querySelector",u),o("querySelectorAll",f),o("querySelectorColors",y),o("utils",function(){return n}),o("parseJson",g),o("stringifyJson",m);const e=i().body,t=i().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML=`<svg
  xmlns="http://www.w3.org/2000/svg"
  width="50"
  height="50"
  viewBox="0 0 600 600"
>
  <path d="M353 322L213 304V434L353 322Z" fill="#047" />
  <path d="M209 564V304L149 434L209 564Z" fill="#047" />
  <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />
  <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />
  <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />
  <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />
</svg>`,i().body.appendChild(t),r("Development mode",s()),r("Experimental mode",L()),r("Color contrast analysis",a()),a()){const l=setTimeout(()=>{clearTimeout(l),setInterval(()=>{n.queryHtmlElementColors(i().createElement("div"),d(e),!1,!1)},1e4)},2500)}}};export{C as initialize};
//# sourceMappingURL=devtools-8604b427-CPmAHLX5.js.map
