PageSourceSearch

https://textkits.org/_next/static/chunks/9782.933ead1758d89cfa.js

js textkits.org collected 2026-10-01 13:08:42 UTC 15,374 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9782],{39867:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19904).A)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]])},56367:(e,t,l)=>{l.d(t,{T:()=>o});var a=l(95155),s=l(12115),r=l(65229),n=l(49498);let d="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=s.forwardRef((e,t)=>{var l;let{className:o,value:i,defaultValue:c,onChange:x,onFocus:u,readOnly:m,disabled:b,placeholder:p,"data-mobile-full-height":h,...g}=e,[f,v]=s.useState(!1),w=s.useRef(null),j=s.useRef(null),y=!m&&!b&&!h,N=null!=(l=null!=i?i:c)?l:"",k="string"==typeof o&&o.includes("convert-normal-input-attention");function C(){return window.matchMedia("(max-width: 639px)").matches}return(s.useImperativeHandle(t,()=>({get element(){return w.current},focus:()=>{var e;if(y&&C())return void v(!0);null==(e=w.current)||e.focus()},blur:()=>{var e;return null==(e=w.current)?void 0:e.blur()},select:()=>{var e;return null==(e=w.current)?void 0:e.select()},setSelectionRange:function(){for(var e,t,l=arguments.length,a=Array(l),s=0;s<l;s++)a[s]=arguments[s];return null==(t=w.current)||null==(e=t.setSelectionRange)?void 0:e.call(t,...a)},get selectionStart(){var e,t;return null!=(t=null==(e=w.current)?void 0:e.selectionStart)?t:0},get selectionEnd(){var l,a;return null!=(a=null==(l=w.current)?void 0:l.selectionEnd)?a:0},get value(){var s;return null==(s=w.current)?void 0:s.value}})),s.useEffect(()=>{if(!f)return;let e=document.body.style.overflow;function t(e){"Escape"===e.key&&v(!1)}return document.body.style.overflow="hidden",window.requestAnimationFrame(()=>{var e;null==(e=j.current)||e.focus()}),window.addEventListener("keydown",t),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",t)}},[f]),y)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button",onClick:()=>v(!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",k?"convert-normal-input-attention border-emerald-500":""),"aria-label":"Open text editor",children:(0,a.jsx)("span",{className:(0,n.cn)("line-clamp-5 block text-xl font-black leading-tight",N?"text-slate-900":"text-slate-300"),children:N||p||"Tap to enter text..."})}),(0,a.jsx)("textarea",{ref:w,value:i,defaultValue:c,onChange:x,onFocus:function(e){null==u||u(e),y&&C()&&(e.currentTarget.blur(),v(!0))},readOnly:m,disabled:b,placeholder:p,className:(0,n.cn)(d,"hidden sm:flex",o),...g}),f?(0,a.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,a.jsx)("button",{type:"button",className:"absolute inset-0","aria-label":"Close text editor",onClick:()=>v(!1)}),(0,a.jsxs)("div",{className:"relative w-full rounded-[2rem] border-4 border-slate-100 bg-white p-4 shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-sm font-black uppercase tracking-[0.08em] text-slate-500",children:"Text"}),(0,a.jsx)("p",{className:"text-lg font-black tracking-tight text-slate-950",children:"Edit input"})]}),(0,a.jsx)("button",{type:"button",onClick:()=>v(!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,a.jsx)(r.A,{className:"size-5"})})]}),(0,a.jsx)("textarea",{ref:j,value:i,defaultValue:c,onChange:x,onFocus:u,placeholder:p,maxLength:g.maxLength,className:(0,n.cn)(d,"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,a.jsxs)("div",{className:"mt-3 grid grid-cols-[1fr_auto] gap-2",children:[(0,a.jsx)("button",{type:"button",onClick:()=>v(!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,a.jsx)("button",{type:"button",onClick:()=>{null==x||x({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,a.jsx)("textarea",{ref:w,value:i,defaultValue:c,onChange:x,onFocus:u,readOnly:m,disabled:b,placeholder:p,"data-mobile-full-height":h,className:(0,n.cn)(d,o),...g})});o.displayName="Textarea"},59782:(e,t,l)=>{l.r(t),l.d(t,{default:()=>j});var a=l(95155),s=l(12115),r=l(5917),n=l(75426),d=l(9295),o=l(39867),i=l(27329),
1c=l(73161),x=l(56367),u=l(11033),m=l(70517),b=l(49498);let p="/wingdings-text-generator/",h=[{label:"Hello",value:"Hello"},{label:"I love you",value:"I love you"},{label:"Smile",value:":)"},{label:"Hello 123",value:u.as}],g=h.map(e=>({...e,value:(0,u.QT)(e.value).primary})),f=["H","e","l","o","1","2","3","!","I","J","L","O","V","Y","u","v","y"].map(e=>({key:e,label:"J"===e?":) / J":e,output:u.xb[0].map[e]||e}));function v(e){let{label:t,value:l}=e;return(0,a.jsxs)("span",{className:"rounded-lg border-2 border-slate-100 bg-white px-3 py-2 text-xs font-black text-slate-600",children:[(0,a.jsx)("strong",{className:"text-slate-950",children:l})," ",t]})}function w(e){let{row:t,copiedKey:l,onCopy:s}=e,d=l===t.key;return(0,a.jsxs)("article",{className:"grid min-w-0 gap-3 rounded-lg border-2 border-slate-100 bg-white p-4 sm:grid-cols-[minmax(0,8rem)_minmax(0,1fr)_auto] sm:items-center",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"truncate text-sm font-black text-slate-950",children:t.label}),(0,a.jsx)("p",{className:"mt-1 text-xs font-bold text-slate-500",children:"Unicode output"})]}),(0,a.jsx)("p",{className:"min-h-12 min-w-0 whitespace-pre-wrap break-words rounded-lg border-2 border-slate-100 bg-slate-50 px-3 py-3 font-[Segoe_UI_Symbol,Arial,sans-serif] text-lg font-black leading-relaxed text-slate-950",children:t.output||"Type text to preview this variant."}),(0,a.jsx)(c.$,{type:"button",variant:"ghost",size:"icon",disabled:!t.output,onClick:()=>s(t.key,t.output,t.label),"aria-label":"Copy ".concat(t.label),title:"Copy ".concat(t.label),className:"size-11 justify-self-end rounded-lg border-2 border-slate-100 bg-white text-emerald-700 hover:bg-emerald-50 disabled:opacity-45",children:d?(0,a.jsx)(r.A,{className:"size-5"}):(0,a.jsx)(n.A,{className:"size-5"})})]})}function j(){let[e,t]=(0,s.useState)({encode:"",decode:""}),[l,r]=(0,s.useState)("encode"),[j,y]=(0,s.useState)(""),[N,k]=(0,s.useState)(""),[C,_]=(0,s.useState)(""),[T,S]=(0,s.useState)(!1),A=e[l],z=(0,s.useDeferredValue)(A),E=A?z:"encode"===l?u.as:"",L=(0,s.useMemo)(()=>(0,u.QT)(E,l),[l,E]),U=L.variants.length?L.variants:[{key:"decoded",label:"Decoded text",output:L.primary}],I=U[0],M="decode"===l?g:h;function R(e){t(t=>({...t,[l]:e.slice(0,u.b8)})),_(e.length>u.b8?"Input was trimmed to ".concat(u.b8.toLocaleString()," characters."):"")}async function F(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Output";if(t)try{await navigator.clipboard.writeText(t),y(e),k("".concat(l," copied.")),_(""),(0,m.nj)({action:"copy",path:p,text:t}),window.setTimeout(()=>y(""),1500)}catch(e){k(""),_("Copy failed in this browser.")}}return(0,a.jsx)("section",{className:"mx-auto mt-4 w-full max-w-6xl",id:"tool",children:(0,a.jsxs)("div",{className:"overflow-hidden rounded-2xl border-[5px] border-slate-950 bg-white shadow-[0_38px_110px_-54px_rgba(15,23,42,0.35)]",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 border-b-2 border-slate-100 px-4 py-4 sm:flex-row sm:items-center sm:justify-between sm:px-7 sm:py-6",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"text-2xl font-black text-slate-950 sm:text-4xl",children:"Wingdings Font Generator"}),(0,a.jsx)("p",{className:"mt-1 text-sm font-medium text-slate-600 sm:text-base",children:"Encode, decode, compare variants, copy, and download Unicode symbol text."})]}),(0,a.jsx)("div",{className:"flex w-fit gap-2 rounded-lg border-2 border-emerald-100 bg-emerald-50 p-1",children:["encode","decode"].map(e=>(0,a.jsx)("button",{type:"button",onClick:()=>r(e),className:(0,b.cn)("rounded-md px-4 py-2 text-sm font-black capitalize",l===e?"bg-emerald-700 text-white":"text-emerald-800 hover:bg-white"),children:e},e))})]}),(0,a.jsxs)("div",{className:"grid gap-4 p-4 lg:grid-cols-[minmax(0,0.86fr)_minmax(0,1.14fr)] lg:p-6",children:[(0,a.jsxs)("section",{className:"min-w-0 rounded-xl border-2 border-slate-100 bg-slate-50/80 p-4 sm:p-5",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,a.jsx)("label",{htmlFor:"wingdings-text-input",className:"text-xl font-black text-slate-950",children:"Input"}),(0,a.jsxs)("span",{className:"rounded-lg border-2 border-slate-100 bg-white px-3 py-1 text-sm font-black text-slate-500",children:[A.length," / ",u.b8.toLocaleStr
1ing()]})]}),(0,a.jsx)(x.T,{id:"wingdings-text-input",value:A,onChange:e=>R(e.target.value),placeholder:"decode"===l?"Paste supported Wingdings symbols to decode":"Type normal text to convert into Wingdings",className:"mt-3 min-h-[12rem] resize-y rounded-lg border-2 border-slate-200 bg-white p-4 text-base leading-relaxed text-slate-950 placeholder:text-slate-400 focus-visible:ring-emerald-500 sm:min-h-[18rem]"}),(0,a.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[M.map((e,t)=>(0,a.jsx)(c.$,{type:"button",variant:"ghost",onClick:()=>R(e.value),className:(0,b.cn)("rounded-lg border-2 border-slate-100 bg-white text-slate-700 hover:bg-slate-50",t>1&&"max-sm:hidden"),children:e.label},e.label)),(0,a.jsxs)(c.$,{type:"button",variant:"ghost",onClick:()=>R(""),className:"rounded-lg border-2 border-slate-100 bg-white text-slate-700 hover:bg-slate-50",children:[(0,a.jsx)(d.A,{className:"mr-2 size-4"}),"Clear"]})]}),(0,a.jsxs)("div",{className:"mt-4 flex flex-wrap gap-2",children:[(0,a.jsx)(v,{label:"chars",value:L.stats.characters}),(0,a.jsx)(v,{label:"words",value:L.stats.words}),(0,a.jsx)(v,{label:"lines",value:L.stats.lines})]}),(0,a.jsx)("div",{className:"mt-4 rounded-lg border-2 border-amber-100 bg-amber-50 p-4 text-sm font-bold leading-relaxed text-amber-900",children:"Unicode symbols can render differently across apps. Diagnostics show mapped, unsupported, or unknown symbols instead of guessing."})]}),(0,a.jsxs)("section",{className:"min-w-0 rounded-xl border-2 border-slate-100 bg-white p-4 sm:p-5",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"text-xl font-black text-slate-950",children:"decode"===l?"Decoded result":"Primary output"}),(0,a.jsx)("p",{className:"mt-1 text-sm font-bold text-slate-500",children:A?"Current input":"Example preview"})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsxs)(c.$,{type:"button",disabled:!(null==I?void 0:I.output),onClick:()=>F(I.key,I.output,I.label),className:"rounded-lg bg-emerald-700 font-black text-white hover:bg-emerald-800",children:[(0,a.jsx)(n.A,{className:"mr-2 size-4"}),"Copy"]}),(0,a.jsxs)(c.$,{type:"button",variant:"ghost",disabled:!(null==I?void 0:I.output),onClick:function(){if(!(null==I?void 0:I.output))return;let e=["Wingdings Translator","Mode: ".concat(l),"Input:",E,"","".concat(I.label,":"),I.output,"","Mapped: ".concat(L.audit.mapped),"Unsupported: ".concat(L.audit.unsupported.join(" ")||"none")].join("\n"),t=URL.createObjectURL(new Blob([e],{type:"text/plain;charset=utf-8"})),a=document.createElement("a");a.href=t,a.download="decode"===l?"wingdings-decoded-text.txt":"wingdings-text.txt",document.body.append(a),a.click(),a.remove(),URL.revokeObjectURL(t),k("TXT downloaded.")},className:"rounded-lg border-2 border-slate-100 bg-white text-slate-700 hover:bg-slate-50",children:[(0,a.jsx)(o.A,{className:"mr-2 size-4"}),"TXT"]})]})]}),(0,a.jsx)("div",{className:"mt-4 grid gap-3",children:U.map(e=>(0,a.jsx)(w,{row:e,copiedKey:j,onCopy:F},e.key))}),(0,a.jsxs)("div",{className:"mt-4 grid gap-3 rounded-xl border-2 border-slate-100 bg-slate-50 p-4 text-sm font-bold text-slate-600 sm:grid-cols-3",children:[(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{className:"text-slate-950",children:"Mapped:"})," ",L.audit.mapped]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{className:"text-slate-950",children:"Unsupported:"})," ",L.audit.unsupported.join(" ")||"none"]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("strong",{className:"text-slate-950",children:"Unknown:"})," ",L.audit.unknown.join(" ")||"none"]})]}),(N||C)&&(0,a.jsx)("p",{className:(0,b.cn)("mt-4 rounded-lg border-2 px-4 py-3 text-sm font-black",C?"border-rose-100 bg-rose-50 text-rose-800":"border-emerald-100 bg-emerald-50 text-emerald-800"),children:C||N}),(0,a.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:(0,a.jsxs)(c.$,{type:"button",variant:"ghost",onClick:()=>S(e=>!e),className:"rounded-lg border-2 border-slate-100 bg-white text-slate-700 hover:bg-slate-50",children:[T?"Hide":"Show"," chart"]})}),T&&(0,a.jsxs)("div",{className:"mt-4 rounded-xl border-2 border-slate-100 bg-slate-50 p-4",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3",children:[(0,a.jsx)("p",{className:"text-sm font-black text-slate-700",children:"Supported Wingdings chart"}),(0,a.jsx)("p",{className:"text-xs font-bold text-slate-500",children:"Tap a symbol to append the matching input."})]}),(0,a.jsx)("div",{className:"mt-3 grid grid-cols-3 gap-2 sm:grid-cols-6",children:f.map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>
1R("".concat(A).concat("decode"===l?e.output:e.key)),className:"min-w-0 rounded-lg border-2 border-white bg-white px-2 py-2 text-left text-sm font-black text-slate-700 hover:border-emerald-100 hover:bg-emerald-50",title:"Append ".concat(e.label),children:[(0,a.jsx)("span",{className:"block truncate text-xs text-slate-500",children:e.label}),(0,a.jsx)("span",{className:"block break-words font-[Segoe_UI_Symbol,Arial,sans-serif] text-lg text-slate-950",children:e.output})]},e.key))})]})]})]}),(0,a.jsx)("div",{className:"border-t-2 border-slate-100 bg-slate-50 px-4 py-5 sm:px-7",children:(0,a.jsx)(i.Ay,{currentPath:p,homepageLabel:"All Text Tools"})})]})})}},65229:(e,t,l)=>{l.d(t,{A:()=>a});let a=(0,l(19904).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},75426:(e,t,l)=>{l.d(t,{A:()=>a});let a=(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"}]])}}]);

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.