PageSourceSearch

https://seodoktorum.com/_next/static/chunks/1216.bcc426c23feb885a.js

js seodoktorum.com collected 2026-10-04 10:42:44 UTC 4,910 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1216],{25865:function(e,t,r){r.d(t,{CopyButton:function(){return c}});var n=r(57437),o=r(2265),a=r(30401),l=r(78867),s=r(42586);function c(e){let{text:t,label:r}=e,c=(0,s.useTranslations)("toolsUi.common"),[d,i]=o.useState(!1);async function u(){try{await navigator.clipboard.writeText(t),i(!0),setTimeout(()=>i(!1),1800)}catch(e){}}return(0,n.jsxs)("button",{type:"button",onClick:u,className:"inline-flex items-center gap-1.5 rounded-lg border border-border bg-muted px-3 py-1.5 text-xs font-medium text-foreground transition-colors hover:bg-muted",children:[d?(0,n.jsx)(a.Z,{className:"h-3.5 w-3.5 text-emerald-400"}):(0,n.jsx)(l.Z,{className:"h-3.5 w-3.5"}),d?c("copied"):null!=r?r:c("copy")]})}},81216:function(e,t,r){r.r(t),r.d(t,{HreflangTool:function(){return m}});var n=r(57437),o=r(2265),a=r(18930),l=r(99397),s=r(29202),c=r(42586),d=r(25865);let i=["tr","en","de","fr","ar","ru","es","x-default"],u="h-11 w-full rounded-xl border border-border bg-background px-3.5 text-sm text-foreground outline-none transition-colors placeholder:text-muted-foreground focus:border-primary/40 focus:ring-1 focus:ring-primary/20";function m(){let e=(0,c.useTranslations)("toolsUi.hreflang-olusturucu"),t=(0,c.useTranslations)("toolsUi.common"),[r,m]=o.useState([{lang:"tr",url:"https://ornek.com/"},{lang:"en",url:"https://ornek.com/en/"},{lang:"x-default",url:"https://ornek.com/"}]);function x(e,t,r){m(n=>n.map((n,o)=>o===e?{...n,[t]:r}:n))}let h=o.useMemo(()=>r.filter(e=>e.lang.trim()&&e.url.trim()).map(e=>'<link rel="alternate" hreflang="'.concat(e.lang.trim(),'" href="').concat(e.url.trim(),'" />')).join("\n"),[r]);return(0,n.jsxs)("div",{className:"space-y-5",children:[(0,n.jsxs)("div",{className:"space-y-3 rounded-2xl border border-border bg-card p-5 sm:p-6",children:[(0,n.jsx)("p",{className:"text-sm text-muted-foreground",children:e("intro")}),(0,n.jsx)("div",{className:"space-y-2.5",children:r.map((e,r)=>(0,n.jsxs)("div",{className:"flex gap-2.5",children:[(0,n.jsx)("input",{"aria-label":t("fLangCode"),className:"".concat(u," w-28 shrink-0"),value:e.lang,onChange:e=>x(r,"lang",e.target.value),placeholder:"tr",list:"hreflang-langs"}),(0,n.jsx)("input",{"aria-label":t("url"),className:u,value:e.url,onChange:e=>x(r,"url",e.target.value),placeholder:"https://ornek.com/sayfa"}),(0,n.jsx)("button",{onClick:()=>{m(e=>e.filter((e,t)=>t!==r))},className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-xl border border-border text-muted-foreground transition-colors hover:border-rose-400/40 hover:text-rose-400","aria-label":t("removeRow"),children:(0,n.jsx)(a.Z,{className:"h-4 w-4"})})]},r))}),(0,n.jsx)("datalist",{id:"hreflang-langs",children:i.map(e=>(0,n.jsx)("option",{value:e},e))}),(0,n.jsxs)("button",{onClick:function(){m(e=>[...e,{lang:"",url:""}])},className:"inline-flex items-center gap-2 rounded-xl border border-border px-4 py-2 text-sm font-medium text-foreground/80 transition-colors hover:border-primary/40 hover:text-foreground",children:[(0,n.jsx)(l.Z,{className:"h-4 w-4"})," ",t("addLanguage")]})]}),(0,n.jsxs)("div",{className:"rounded-2xl border border-border bg-muted p-5",children:[(0,n.jsxs)("div",{className:"mb-3 flex items-center justify-between",children:[(0,n.jsxs)("p",{className:"inline-flex items-center gap-2 text-sm font-medium text-foreground/80",children:[(0,n.jsx)(s.Z,{className:"h-4 w-4 text-emerald-300"})," ",e("hreflangTags")]}),h&&(0,n.jsx)(d.CopyButton,{text:h})]}),(0,n.jsx)("pre",{className:"overflow-auto rounded-lg bg-black/40 p-3 font-mono text-xs leading-relaxed text-emerald-200",children:h||e("emptyOutput")}),(0,n.jsx)("p",{className:"mt-2 text-xs text-muted-foreground",children:e("footnote")})]})]})}},30401:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},78867:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},29202:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},99397:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},18930:function(e,t,r){r.d(t,{Z:function(){return n}});let n=(0,r(79205).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}
1],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])}}]);

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.