1import{r as q}from"./react-v0pbKegz.js";const w=({title:n,description:o,keywords:c,canonicalUrl:e,ogUrl:u,ogType:a="website",ogImage:m="https://ankawozniak.pl/og-image.jpg",jsonLd:i})=>(q.useEffect(()=>{document.title=n;let s=document.querySelector('meta[name="description"]');if(s&&s.setAttribute("content",o),c){let t=document.querySelector('meta[name="keywords"]');t?t.setAttribute("content",c):(t=document.createElement("meta"),t.setAttribute("name","keywords"),t.setAttribute("content",c),document.head.appendChild(t))}const l=document.querySelector('meta[property="og:title"]');l&&l.setAttribute("content",n);const p=document.querySelector('meta[property="og:type"]');p&&p.setAttribute("content",a);const d=u??e??"https://ankawozniak.pl/",f=document.querySelector('meta[property="og:url"]');f&&f.setAttribute("content",d);const y=document.querySelector('meta[property="og:description"]');y&&y.setAttribute("content",o);const b=document.querySelector('meta[property="og:image"]');b&&b.setAttribute("content",m);const g=document.querySelector('meta[name="twitter:title"]');g&&g.setAttribute("content",n);const A=document.querySelector('meta[name="twitter:url"]');A&&A.setAttribute("content",d);const S=document.querySelector('meta[name="twitter:description"]');if(S&&S.setAttribute("content",o),e){let t=document.querySelector('link[rel="canonical"]');t?t.setAttribute("href",e):(t=document.createElement("link"),t.setAttribute("rel","canonical"),t.setAttribute("href",e),document.head.appendChild(t))}if(i){const t=document.querySelector("script[data-page-jsonld]");t&&t.remove();const r=document.createElement("script");return r.type="application/ld+json",r.setAttribute("data-page-jsonld","true"),r.textContent=JSON.stringify(i),document.head.appendChild(r),()=>{r.remove()}}},[n,o,c,e,u,a,m,i]),null);export{w as S};
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.