1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8106],{56367:(e,t,l)=>{l.d(t,{T:()=>o});var r=l(95155),a=l(12115),s=l(65229),n=l(49498);let i="flex min-h-[120px] w-full rounded-[1.8rem] border border-slate-200 bg-white px-5 py-4 text-base text-slate-900 shadow-[0_8px_24px_-18px_rgba(15,23,42,0.28)] outline-none transition placeholder:text-slate-400 focus-visible:border-emerald-200 focus-visible:ring-2 focus-visible:ring-emerald-500/20 disabled:cursor-not-allowed disabled:opacity-50",o=a.forwardRef((e,t)=>{var l;let{className:o,value:d,defaultValue:c,onChange:u,onFocus:m,readOnly:x,disabled:p,placeholder:b,"data-mobile-full-height":h,...f}=e,[g,y]=a.useState(!1),v=a.useRef(null),w=a.useRef(null),j=!x&&!p&&!h,k=null!=(l=null!=d?d:c)?l:"",N="string"==typeof o&&o.includes("convert-normal-input-attention");function C(){return window.matchMedia("(max-width: 639px)").matches}return(a.useImperativeHandle(t,()=>({get element(){return v.current},focus:()=>{var e;if(j&&C())return void y(!0);null==(e=v.current)||e.focus()},blur:()=>{var e;return null==(e=v.current)?void 0:e.blur()},select:()=>{var e;return null==(e=v.current)?void 0:e.select()},setSelectionRange:function(){for(var e,t,l=arguments.length,r=Array(l),a=0;a<l;a++)r[a]=arguments[a];return null==(t=v.current)||null==(e=t.setSelectionRange)?void 0:e.call(t,...r)},get selectionStart(){var e,t;return null!=(t=null==(e=v.current)?void 0:e.selectionStart)?t:0},get selectionEnd(){var l,r;return null!=(r=null==(l=v.current)?void 0:l.selectionEnd)?r:0},get value(){var a;return null==(a=v.current)?void 0:a.value}})),a.useEffect(()=>{if(!g)return;let e=document.body.style.overflow;function t(e){"Escape"===e.key&&y(!1)}return document.body.style.overflow="hidden",window.requestAnimationFrame(()=>{var e;null==(e=w.current)||e.focus()}),window.addEventListener("keydown",t),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",t)}},[g]),j)?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{type:"button",onClick:()=>y(!0),className:(0,n.cn)("block min-h-40 w-full rounded-[1.4rem] border border-slate-200 bg-white px-4 py-4 text-left shadow-[0_8px_24px_-18px_rgba(15,23,42,0.28)] sm:hidden",N?"convert-normal-input-attention border-emerald-500":""),"aria-label":"Open text editor",children:(0,r.jsx)("span",{className:(0,n.cn)("line-clamp-5 block text-xl font-black leading-tight",k?"text-slate-900":"text-slate-300"),children:k||b||"Tap to enter text..."})}),(0,r.jsx)("textarea",{ref:v,value:d,defaultValue:c,onChange:u,onFocus:function(e){null==m||m(e),j&&C()&&(e.currentTarget.blur(),y(!0))},readOnly:x,disabled:p,placeholder:b,className:(0,n.cn)(i,"hidden sm:flex",o),...f}),g?(0,r.jsxs)("div",{className:"fixed inset-0 z-50 flex items-end bg-slate-950/55 px-3 py-4 backdrop-blur-sm sm:hidden",role:"dialog","aria-modal":"true","aria-label":"Text input editor",children:[(0,r.jsx)("button",{type:"button",className:"absolute inset-0","aria-label":"Close text editor",onClick:()=>y(!1)}),(0,r.jsxs)("div",{className:"relative w-full rounded-[2rem] border-4 border-slate-100 bg-white p-4 shadow-2xl",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm font-black uppercase tracking-[0.08em] text-slate-500",children:"Text"}),(0,r.jsx)("p",{className:"text-lg font-black tracking-tight text-slate-950",children:"Edit input"})]}),(0,r.jsx)("button",{type:"button",onClick:()=>y(!1),className:"inline-flex size-10 items-center justify-center rounded-full border-2 border-slate-100 bg-white text-slate-700","aria-label":"Close text editor",children:(0,r.jsx)(s.A,{className:"size-5"})})]}),(0,r.jsx)("textarea",{ref:w,value:d,defaultValue:c,onChange:u,onFocus:m,placeholder:b,maxLength:f.maxLength,className:(0,n.cn)(i,"mt-3 min-h-[45vh] resize-none rounded-[1.4rem] border-2 border-slate-100 bg-slate-50 p-4 text-xl font-bold leading-tight text-slate-900 shadow-none placeholder:text-slate-300 focus-visible:border-emerald-200 focus-visible:ring-2 focus-visible:ring-emerald-500/20"),"data-mobile-full-height":"true"}),(0,r.jsxs)("div",{className:"mt-3 grid grid-cols-[1fr_auto] gap-2",children:[(0,r.jsx)("button",{type:"button",onClick:()=>y(!1),className:"inline-flex h-12 items-center justify-center rounded-full border-4 border-emerald-800 bg-emerald-700 px-6 text-base font-black text-white shadow-[0_6px_0_0_#065f46] active:translate-y-1.5 active:shadow-none",children:"Done"}),(0,r.jsx)("button",{type:"button",onClick:()=>{null==u||u({target:{value:""},currentTarget:{value:""}})},className:"inline-flex h-12 items-center justify-center rounded-full border-2 border-slate-200 bg-white px-5 text-base font-black text-slate-700",children:"Clear"})]})]})]}):null]}):(0,r.jsx)("textarea",{ref:v,value:d,defaultValue:c,onChange:u,onFocus:m,readOnly:x,disabled:p,placeholder:b,"data-mobile-full-height":h,className:(0,n.cn)(i,o),...f})});o.displayName="Textarea"},58106:(e,t,l)=>{l.r(t),l.d(t,{default:()=>f});var r=l(95155),a=l(12115),s=l(5917),n=l(75426),i=l(9295),o=l(73161),d=l(27329),
1c=l(71724),u=l(56367),m=l(49498),x=l(95643),p=l(70517);function b(e){let{item:t,copiedKey:l,onCopy:a}=e,i=l===t.key;return(0,r.jsxs)("article",{className:(0,m.cn)("rounded-[1.7rem] border-4 p-4 shadow-[0_18px_40px_-30px_rgba(15,23,42,0.18)] transition sm:rounded-[1.9rem] sm:p-5",t.recommended?"border-emerald-200 bg-emerald-50/50":"border-slate-100 bg-slate-50/80"),children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)("div",{className:(0,m.cn)("inline-flex rounded-full px-3 py-1 text-xs font-black uppercase tracking-[0.14em]",t.accentClassName),children:t.label}),t.recommended?(0,r.jsx)("span",{className:"inline-flex rounded-full border-4 border-emerald-100 bg-emerald-50 px-2.5 py-1 text-[0.68rem] font-black uppercase tracking-[0.16em] text-emerald-700",children:"Best first try"}):null]}),(0,r.jsx)("p",{className:"mt-2 text-sm font-medium leading-relaxed text-slate-600",children:t.helper})]}),(0,r.jsx)(o.$,{type:"button",variant:"ghost",size:"icon",onClick:()=>a(t.key,t.output),disabled:!t.output,"aria-label":"Copy ".concat(t.label),className:"size-11 shrink-0 rounded-full border-4 border-white bg-white text-slate-600 hover:bg-white hover:text-slate-950",children:i?(0,r.jsx)(s.A,{className:"size-5 text-emerald-600"}):(0,r.jsx)(n.A,{className:"size-5"})})]}),(0,r.jsxs)("div",{className:"mt-4 rounded-[1.35rem] border-4 border-white bg-white px-4 py-3",children:[(0,r.jsx)("p",{className:"min-h-[3.5rem] break-words text-[1.03rem] font-black leading-relaxed text-slate-950 sm:min-h-[4rem] sm:text-[1.15rem]",children:t.output||"Type into the box above to preview this bold style."}),(0,r.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-xs font-black uppercase tracking-[0.14em] text-slate-400",children:[(0,r.jsxs)("span",{children:[t.outputLength," chars"]}),(0,r.jsx)("span",{"aria-hidden":"true",children:"â¢"}),(0,r.jsx)("span",{children:"Copy ready"})]})]})]})}function h(e){let{label:t,value:l}=e;return(0,r.jsxs)("div",{className:"rounded-[1.1rem] border-4 border-white bg-white px-3 py-2 text-center",children:[(0,r.jsx)("div",{className:"text-[0.68rem] font-black uppercase tracking-[0.16em] text-slate-400",children:t}),(0,r.jsx)("div",{className:"mt-1 text-lg font-black tracking-tight text-slate-950",children:l})]})}function f(){let e=(0,a.useRef)(null),[t,l]=(0,a.useState)(x.Uu),[s,n]=(0,a.useState)(""),[m,f]=(0,a.useState)(""),g=(0,a.useDeferredValue)(t),y=(0,a.useMemo)(()=>(0,x.Ji)(g),[g]),v=(0,a.useMemo)(()=>(0,x.Eo)(t),[t]),w=(0,a.useMemo)(()=>(0,x.XK)(t),[t]),j=(0,a.useMemo)(()=>(0,x.F7)(t),[t]);async function k(t,l){if(l)try{var r,a,s;await navigator.clipboard.writeText(l),s="".concat(null!=(a=null==(r=y.find(e=>e.key===t))?void 0:r.label)?a:"Bold text"," copied."),n(t),f(s),e.current&&window.clearTimeout(e.current),e.current=window.setTimeout(()=>{n(""),f("")},1800),(0,p.nj)({action:"copy",path:"/bold-font-free-copy-paste/",text:l})}catch(e){n(""),f("Copy failed in this browser.")}}return(0,a.useEffect)(()=>{let e=(0,p.wF)();e&&l(e.slice(0,x.xM))},[]),(0,a.useEffect)(()=>()=>{e.current&&window.clearTimeout(e.current)},[]),(0,r.jsxs)("section",{className:"mx-auto mt-4 w-full max-w-6xl",id:"tool",children:[(0,r.jsxs)("div",{className:"rounded-[2.5rem] border-[6px] border-slate-100 bg-white p-4 shadow-[0_36px_90px_-52px_rgba(15,23,42,0.28)] sm:rounded-[3rem] sm:p-6 lg:p-8",children:[(0,r.jsx)("div",{className:"rounded-[2rem] border-4 border-slate-100 bg-slate-50/70 p-4 sm:p-5",children:(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-3 lg:flex-row lg:items-start lg:justify-between",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("label",{htmlFor:"bold-font-free-copy-paste-input",className:"text-sm font-black uppercase tracking-[0.14em] text-slate-500",children:"Bold text input"}),(0,r.jsx)("p",{className:"mt-1 text-sm font-medium leading-relaxed text-slate-600 sm:text-base",children:"Paste plain text once, compare five clean Unicode bold styles, and check the length before you copy."})]}),(0,r.jsxs)("div",{className:"grid grid-cols-[1fr_auto] items-center gap-2 sm:flex sm:items-center",children:[(0,r.jsxs)("span",{className:"text-right text-xs font-black uppercase tracking-[0.14em] text-slate-400 sm:text-sm",children:[v," / ",x.xM]}),(0,r.jsxs)(o.$,{type:"button",variant:"ghost",onClick:()=>l(""),className:"h-10 rounded-full border-4 border-slate-200 bg-white px-3 text-sm font-black text-slate-700 hover:bg-white hover:text-slate-950 sm:h-11 sm:px-4",children:[(0,r.jsx)(i.A,{className:"size-4"}),"Clear"]})]})]}),(0,r.jsx)(u.T,{id:"bold-font-free-copy-paste-input",value:t,maxLength:x.xM,onChange:e=>l(e.target.value),"data-mobile-full-height":"true",placeholder:"Type your plain text here...","aria-describedby":"bold-font-counter-note",className:"min-h-[112px] resize-none rounded-[1.55rem] border-4 border-emerald-500 bg-white px-4 py-3 text-[1rem] font-medium leading-relaxed text-slate-950 shadow-none placeholder:text-slate-300 focus-visible:border-emerald-600 focus-visible:ring-0 sm:min-h-[152px] sm:px-5 sm:py-4 sm:text-[1.22rem]"}),(0,r.jsxs)("div",{className:"grid gap-3 lg:grid-cols-[minmax(0,1fr)_auto] lg:items-center",children:[(0,r.jsxs)("div",{id:"bold-font-counter-note",className:"rounded-[1.4rem] border-4 border-white bg-white p-3",children:[(0,r.jsxs)("div",{className:"grid grid-cols-3 gap-2",children:[(0,r.jsx)(h,{label:"Characters",value:v}),(0,r.jsx)(h,{label:"Words",value:w}
1),(0,r.jsx)(h,{label:"Spaces",value:j})]}),(0,r.jsx)("p",{className:"mt-3 text-sm font-medium leading-relaxed text-slate-600",children:"Unicode bold usually keeps the same visible character count, so you can judge whether the line still fits before you paste."})]}),(0,r.jsx)("div",{className:"rounded-[1.4rem] border-4 border-slate-100 bg-slate-50/80 px-4 py-3 text-sm font-medium leading-relaxed text-slate-600",children:"These are Unicode characters, not CSS bold formatting."})]})]})}),(0,r.jsxs)("section",{className:"mt-5","aria-labelledby":"bold-font-results-heading",children:[(0,r.jsx)("h2",{id:"bold-font-results-heading",className:"sr-only",children:"Bold font results"}),(0,r.jsx)("div",{className:"grid gap-3 md:grid-cols-2 xl:grid-cols-3",children:y.map(e=>(0,r.jsx)(b,{item:e,copiedKey:s,onCopy:k},e.key))})]}),(0,r.jsx)(d.Ay,{currentPath:"/bold-font-free-copy-paste/"}),(0,r.jsx)("p",{role:"status","aria-live":"polite",className:"mt-4 min-h-6 text-sm font-medium text-emerald-700",children:m})]}),(0,r.jsx)(c.A,{className:"text-xl sm:text-2xl"})]})}},65229:(e,t,l)=>{l.d(t,{A:()=>r});let r=(0,l(19904).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},71724:(e,t,l)=>{l.d(t,{A:()=>a});var r=l(95155);function a(e){let{saves:t=!1,className:l=""}=e;return(0,r.jsx)("p",{className:"mt-4 text-center text-3xl font-medium leading-tight text-slate-500 sm:text-[2.625rem] ".concat(l).trim(),children:t?"Runs and saves in your browser.":"Runs locally in your browser."})}},75426:(e,t,l)=>{l.d(t,{A:()=>r});let r=(0,l(19904).A)("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"}]])},95643:(e,t,l)=>{l.d(t,{Eo:()=>c,F7:()=>m,Ji:()=>x,Uu:()=>r,XK:()=>u,xM:()=>a});let r="Bold text for your bio",a=220;function s(e,t){return Array.from({length:t},(t,l)=>String.fromCodePoint(e+l))}function n(e){let{upper:t,lower:l,digits:r=[]}=e,a=new Map;return Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZ").forEach((e,l)=>{var r;a.set(e,null!=(r=t[l])?r:e)}),Array.from("abcdefghijklmnopqrstuvwxyz").forEach((e,t)=>{var r;a.set(e,null!=(r=l[t])?r:e)}),Array.from("0123456789").forEach((e,t)=>{var l;a.set(e,null!=(l=r[t])?l:e)}),a}let i=s(120782,10),o=s(120812,10),d=[{key:"sans-bold",label:"Sans Bold",description:"Cleanest everyday bold for bios and short profile lines.",accentClassName:"bg-sky-50 text-sky-800",helper:"Best first pick when you want the cleanest bold result.",lookup:n({upper:s(120276,26),lower:s(120302,26),digits:o})},{key:"serif-bold",label:"Serif Bold",description:"Heavier classic emphasis for short copy and headlines.",accentClassName:"bg-emerald-50 text-emerald-800",helper:"Use this when you want a heavier, more editorial bold look.",lookup:n({upper:s(119808,26),lower:s(119834,26),digits:i})},{key:"bold-italic",label:"Bold Italic",description:"A stronger slanted look for quotes, intros, and names.",accentClassName:"bg-amber-50 text-amber-800",helper:"Adds motion while staying closer to readable bold text.",lookup:n({upper:s(119912,26),lower:s(119938,26),digits:i})},{key:"bold-script",label:"Bold Script",description:"Dressier bold styling when plain emphasis feels too stiff.",accentClassName:"bg-orange-50 text-orange-800",helper:"Good for names, softer branding, and lighter display lines.",lookup:n({upper:s(120016,26),lower:s(120042,26),digits:i})},{key:"bold-fraktur",label:"Bold Fraktur",description:"Dense blackletter weight for dramatic display text.",accentClassName:"bg-slate-100 text-slate-800",helper:"Use sparingly when a dense dramatic style still stays readable.",lookup:n({upper:s(120172,26),lower:s(120198,26),digits:i})}];function c(e){return Array.from(String(null!=e?e:"")).length}function u(e){let t=String(null!=e?e:"").trim();return t?t.split(/\s+/).filter(Boolean).length:0}function m(e){return Array.from(String(null!=e?e:"")).filter(e=>/\s/.test(e)).length}function x(e){let t=String(null!=e?e:"");return d.map((e,l)=>{var r,a;let s=t?(a=e.lookup,Array.from(String(null!=t?t:""),e=>{var t;return null!=(t=a.get(e))?t:e}).join("")):"";return{...e,output:s,helper:null!=(r=e.helper)?r:e.description,recommended:0===l,outputLength:c(s)}})}d.map(e=>[e.key,e]),d.map(e=>({key:e.key,label:e.label,description:e.description,accentClassName:e.accentClassName}))}}]);
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.