PageSourceSearch

https://www.maumemoji.com/_next/static/chunks/pages/[locale]/tools/text-art-70be6754d04fd6af.js

js maumemoji.com collected 2026-10-02 01:36:35 UTC 32,736 bytes, 177 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[264],{377:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>j,default:()=>v});var r=a(7876),o=a(4232),s=a(2364),n=a(1312),i=a(6495),l=a(801),c=a(9812),d=a(7685),p=a(9241),m=a(3008),u=a(8094),y=a(6583),x=a(8012);let h=(e,t,a)=>a.split("\n").map(a=>a.trim()?`${e} ${a.toUpperCase()} ${t}`:a).join("\n"),g={hearts:{ko:"하트 스타일",en:"Heart Style",ja:"ハートスタイル"},"love-border":{ko:"러브 테두리",en:"Love Border",ja:"ラブボーダー"},cupid:{ko:"큐피드 스타일",en:"Cupid Style",ja:"キューピッドスタイル"},"broken-heart":{ko:"상심 스타일",en:"Heartbreak Style",ja:"失恋スタイル"},stars:{ko:"별 스타일",en:"Star Style",ja:"スタースタイル"},magic:{ko:"마법 스타일",en:"Magic Style",ja:"マジックスタイル"},unicorn:{ko:"유니콘 스타일",en:"Unicorn Style",ja:"ユニコーンスタイル"},crystal:{ko:"크리스탈 스타일",en:"Crystal Style",ja:"クリスタルスタイル"},fire:{ko:"불꽃 스타일",en:"Fire Style",ja:"ファイアスタイル"},lightning:{ko:"번개 스타일",en:"Lightning Style",ja:"稲妻スタイル"},explosion:{ko:"폭발 스타일",en:"Explosion Style",ja:"爆発スタイル"},power:{ko:"파워 스타일",en:"Power Style",ja:"パワースタイル"},rainbow:{ko:"무지개 스타일",en:"Rainbow Style",ja:"虹スタイル"},flower:{ko:"꽃 스타일",en:"Flower Style",ja:"花スタイル"},ocean:{ko:"바다 스타일",en:"Ocean Style",ja:"海スタイル"},forest:{ko:"숲 스타일",en:"Forest Style",ja:"森スタイル"},crown:{ko:"왕관 스타일",en:"Crown Style",ja:"王冠スタイル"},diamond:{ko:"다이아몬드 스타일",en:"Diamond Style",ja:"ダイヤモンドスタイル"},gold:{ko:"골드 스타일",en:"Gold Style",ja:"ゴールドスタイル"},royal:{ko:"로얄 스타일",en:"Royal Style",ja:"ロイヤルスタイル"},music:{ko:"음악 스타일",en:"Music Style",ja:"音楽スタイル"},party:{ko:"파티 스타일",en:"Party Style",ja:"パーティスタイル"},gaming:{ko:"게이밍 스타일",en:"Gaming Style",ja:"ゲームスタイル"},rocket:{ko:"로켓 스타일",en:"Rocket Style",ja:"ロケットスタイル"},galaxy:{ko:"은하계 스타일",en:"Galaxy Style",ja:"銀河スタイル"},custom:{ko:"커스텀 스타일",en:"Custom Style",ja:"カスタムスタイル"}},f={hearts:{ko:"양쪽 끝에 하트로 감싸기",en:"Wrap with hearts on both ends",ja:"両端をハートで囲む"},"love-border":{ko:"사랑 가득한 테두리로 감싸기",en:"Wrap with lovely border",ja:"愛に満ちたボーダーで囲む"},cupid:{ko:"큐피드의 화살과 하트",en:"Cupid arrows and hearts",ja:"キューピッドの矢とハート"},"broken-heart":{ko:"슬픈 감정 표현",en:"Sad emotion expression",ja:"悲しい感情の表現"},stars:{ko:"반짝이는 별로 텍스트 장식",en:"Decorate with sparkling stars",ja:"輝く星でテキストを飾る"},magic:{ko:"신비로운 마법사 스타일",en:"Mysterious wizard style",ja:"神秘的な魔法使いスタイル"},unicorn:{ko:"환상적인 유니콘 테마",en:"Fantastic unicorn theme",ja:"ファンタジックなユニコーンテーマ"},crystal:{ko:"반짝이는 보석과 크리스탈로 감싸기",en:"Wrap with sparkling gems",ja:"輝く宝石とクリスタルで囲む"},fire:{ko:"뜨거운 불꽃으로 강조",en:"Highlight with hot flames",ja:"熱い炎で強調"},lightning:{ko:"강력한 번개 에너지",en:"Powerful lightning energy",ja:"強力な稲妻エネルギー"},explosion:{ko:"역동적인 폭발 효과",en:"Dynamic explosion effect",ja:"ダイナミックな爆発効果"},power:{ko:"강력함을 나타내는 스타일",en:"Style showing strength",ja:"力強さを示すスタイル"},rainbow:{ko:"화려한 무지개 색깔로 감싸기",en:"Wrap with colorful rainbow",ja:"カラフルな虹で囲む"},flower:{ko:"아름다운 꽃으로 감싸기",en:"Wrap with beautiful flowers",ja:"美しい花で囲む"},ocean:{ko:"시원한 바다 테마",en:"Cool ocean theme",ja:"涼しい海のテーマ"},forest:{ko:"푸른 숲과 자연",en:"Green forest and nature",ja:"緑の森と自然"},crown:{ko:"고급스러운 왕관으로 장식",en:"Decorate with elegant crown",ja:"エレガントな王冠で飾る"},diamond:{ko:"빛나는 다이아몬드 장식",en:"Shining diamond decoration",ja:"輝くダイヤモンドの装飾"},gold:{ko:"황금빛 럭셔리함",en:"Golden luxury",ja:"ゴールドの豪華さ"},royal:{ko:"왕실의 품격",en:"Royal elegance",ja:"王室の品格"},music:{ko:"음표와 음악 이모지로 장식",en:"Decorate with music notes",ja:"音符と音楽絵文字で飾る"},party:{ko:"신나는 파티 분위기",en:"Exciting party vibe",ja:"楽しいパーティムード"},gaming:{ko:"게이밍 컨트롤러와 함께",en:"With gaming controllers",ja:"ゲームコントローラーと一緒に"},rocket:{ko:"로켓 발사! 에너지",en:"Rocket launch energy",ja:"ロケット発射!エネルギー"},galaxy:{ko:"우주와 은하계 테마",en:"Space and galaxy theme",ja:"宇宙と銀河のテーマ"},custom:{ko:"사용자 정의 이모지 사용",en:"Use custom emojis",ja:"カスタム絵文字を使用"}};function b(e){let{locale:t}=e,a=x.R.textArt,b=a.categories,[j,v]=(0,o.useState)(""),[k,w]=(0,o.useState)(null),[K,N]=(0,o.useState)(""),[L,E]=(0,o.useState)(""),[S,O]=(0,o.useState)("all"),C=(0,o.useRef)(null),H=(0,o.useRef)(null),A=[{id:"hearts",nameKey:"hearts",descKey:"hearts",categoryKey:"emotion",example:"\uD83D\uDC96 HELLO \uD83D\uDC96",pattern:e=>h("\uD83D\uDC96","\uD83D\uDC96",e)},{id:"love-border",nameKey:"love-border",descKey:"love-border",categoryKey:"emotion",example:"\uD83D\uDC95\uD83D\uDC9D\uD83D\uDC96 HELLO \uD83D\uDC96\uD83D\uDC9D\uD83D\uDC95",pattern:e=>h("\uD83D\uDC95\uD83D\uDC9D\uD83D\uDC96","\uD83D\uDC96\uD83D\uDC9D\uD83D\uDC95",e)},{id:"cupid",nameKey:"cupid",descKey:"cupid",categoryKey:"emotion",example:"\uD83D\uDC98 ➡️ HELLO ⬅️ \uD83D\uDC98",pattern:e=>h("\uD83D\uDC98 ➡️","⬅️ \uD83D\uDC98",e)},{id:"broken-heart",nameKey:"broken-heart",descKey:"broken-heart",categoryKey:"emotion",example:"\uD83D\uDC94\uD83D\uDE22 HELLO \uD83D\uDE22\uD83D\uDC94",pattern:e=>h("\uD83D\uDC94\uD83D\uDE22","\uD83D\uDE22\uD83D\uDC94",e)},{id:"stars",nameKey:"stars",descKey:"stars",categoryKey:"fantasy",example:"✨⭐ HELLO ⭐✨",pattern:e=>h("✨⭐","⭐✨",e)},{id:"magic",nameKey:"magic",descKey:"magic",categoryKey:"fantasy",example:"\uD83D\uDD2E✨\uD83C\uDFA9 HELLO \uD83C\uDFA9✨\uD83D\uDD2E",pattern:e=>h("\uD83D\uDD2E✨\uD83C\uDFA9","\uD83C\uDFA9✨\uD83D\uDD2E",e)},{id:"unicorn",nameKey:"unicorn",descKey:"unicorn",categoryKey:"fantasy",example:"\uD83E\uDD84\uD83C\uDF08✨ HELLO ✨\uD83C\uDF08\uD83E\uDD84",pattern:e=>h("\uD83E\uDD84\uD83C\uDF08✨","✨\uD83C\uDF08\uD83E\uDD84",e)},{id:"crystal",nameKey:"crystal",descKey:"crystal",categoryKey:"fantasy",example:"\uD83D\uDC8E\uD83D\uDCA0\uD83D\uDC8E HELLO \uD83D\uDC8E\uD83D\uDCA0\uD83D\uDC8E",pattern:e=>h("\uD83D\uDC8E\uD83D\uDCA0\uD83D\uDC8E","\uD83D\uDC8E\uD83D\uDCA0\uD83D\uDC8E",e)},{id:"fire",nameKey:"fire",descKey:"fire",categoryKey:"energy",example:"\uD83D\uDD25\uD83D\uDD25 HELLO \uD83D\uDD25\uD83D\uDD25",pattern:e=>h("\uD83D\uDD25\uD83D\uDD25","\uD83D\uDD25\uD83D\uDD25",e)},{id:"lightning",nameKey:"lightning",descKey:"lightning",categoryKey:"energy",example:"⚡⚡ HELLO ⚡⚡",pattern:e=>h("⚡⚡","⚡⚡",e)},{id:"explosion",nameKey:"explosion",descKey:"explosion",categoryKey:"energy",example:"\uD83D\uDCA5\uD83D\uDCA5 HELLO \uD83D\uDCA5\uD83D\uDCA5",pattern:e=>h("\uD83D\uDCA5\uD83D\uDCA5","\uD83D\uDCA5\uD83D\uDCA5",e)},{id:"power",nameKey:"power",descKey:"power",categoryKey:"energy",example:"\uD83D\uDCAA\uD83D\uDD25⚡ HELLO ⚡\uD83D\uDD25\uD83D\uDCAA",pattern:e=>h("\uD83D\uDCAA\uD83D\uDD25⚡","⚡\uD83D\uDD25\uD83D\uDCAA",e)}
1,{id:"rainbow",nameKey:"rainbow",descKey:"rainbow",categoryKey:"nature",example:"\uD83C\uDF08\uD83C\uDF1F HELLO \uD83C\uDF1F\uD83C\uDF08",pattern:e=>h("\uD83C\uDF08\uD83C\uDF1F","\uD83C\uDF1F\uD83C\uDF08",e)},{id:"flower",nameKey:"flower",descKey:"flower",categoryKey:"nature",example:"\uD83C\uDF38\uD83C\uDF3A HELLO \uD83C\uDF3A\uD83C\uDF38",pattern:e=>h("\uD83C\uDF38\uD83C\uDF3A","\uD83C\uDF3A\uD83C\uDF38",e)},{id:"ocean",nameKey:"ocean",descKey:"ocean",categoryKey:"nature",example:"\uD83C\uDF0A\uD83D\uDC1A\uD83D\uDC1F HELLO \uD83D\uDC1F\uD83D\uDC1A\uD83C\uDF0A",pattern:e=>h("\uD83C\uDF0A\uD83D\uDC1A\uD83D\uDC1F","\uD83D\uDC1F\uD83D\uDC1A\uD83C\uDF0A",e)},{id:"forest",nameKey:"forest",descKey:"forest",categoryKey:"nature",example:"\uD83C\uDF32\uD83C\uDF43\uD83C\uDF3F HELLO \uD83C\uDF3F\uD83C\uDF43\uD83C\uDF32",pattern:e=>h("\uD83C\uDF32\uD83C\uDF43\uD83C\uDF3F","\uD83C\uDF3F\uD83C\uDF43\uD83C\uDF32",e)},{id:"crown",nameKey:"crown",descKey:"crown",categoryKey:"luxury",example:"\uD83D\uDC51 ✨ HELLO ✨ \uD83D\uDC51",pattern:e=>h("\uD83D\uDC51 ✨","✨ \uD83D\uDC51",e)},{id:"diamond",nameKey:"diamond",descKey:"diamond",categoryKey:"luxury",example:"\uD83D\uDC8E\uD83D\uDC8D\uD83D\uDC8E HELLO \uD83D\uDC8E\uD83D\uDC8D\uD83D\uDC8E",pattern:e=>h("\uD83D\uDC8E\uD83D\uDC8D\uD83D\uDC8E","\uD83D\uDC8E\uD83D\uDC8D\uD83D\uDC8E",e)},{id:"gold",nameKey:"gold",descKey:"gold",categoryKey:"luxury",example:"\uD83D\uDFE8✨\uD83D\uDFE8 HELLO \uD83D\uDFE8✨\uD83D\uDFE8",pattern:e=>h("\uD83D\uDFE8✨\uD83D\uDFE8","\uD83D\uDFE8✨\uD83D\uDFE8",e)},{id:"royal",nameKey:"royal",descKey:"royal",categoryKey:"luxury",example:"\uD83D\uDC51\uD83C\uDFF0⚜️ HELLO ⚜️\uD83C\uDFF0\uD83D\uDC51",pattern:e=>h("\uD83D\uDC51\uD83C\uDFF0⚜️","⚜️\uD83C\uDFF0\uD83D\uDC51",e)},{id:"music",nameKey:"music",descKey:"music",categoryKey:"entertainment",example:"\uD83C\uDFB5\uD83C\uDFB6 HELLO \uD83C\uDFB6\uD83C\uDFB5",pattern:e=>h("\uD83C\uDFB5\uD83C\uDFB6","\uD83C\uDFB6\uD83C\uDFB5",e)},{id:"party",nameKey:"party",descKey:"party",categoryKey:"entertainment",example:"\uD83C\uDF89\uD83C\uDF8A\uD83E\uDD73 HELLO \uD83E\uDD73\uD83C\uDF8A\uD83C\uDF89",pattern:e=>h("\uD83C\uDF89\uD83C\uDF8A\uD83E\uDD73","\uD83E\uDD73\uD83C\uDF8A\uD83C\uDF89",e)},{id:"gaming",nameKey:"gaming",descKey:"gaming",categoryKey:"entertainment",example:"\uD83C\uDFAE\uD83D\uDD79️ HELLO \uD83D\uDD79️\uD83C\uDFAE",pattern:e=>h("\uD83C\uDFAE\uD83D\uDD79️","\uD83D\uDD79️\uD83C\uDFAE",e)},{id:"rocket",nameKey:"rocket",descKey:"rocket",categoryKey:"space",example:"\uD83D\uDE80\uD83D\uDCAB HELLO \uD83D\uDCAB\uD83D\uDE80",pattern:e=>h("\uD83D\uDE80\uD83D\uDCAB","\uD83D\uDCAB\uD83D\uDE80",e)},{id:"galaxy",nameKey:"galaxy",descKey:"galaxy",categoryKey:"space",example:"\uD83C\uDF0C\uD83E\uDE90⭐ HELLO ⭐\uD83E\uDE90\uD83C\uDF0C",pattern:e=>h("\uD83C\uDF0C\uD83E\uDE90⭐","⭐\uD83E\uDE90\uD83C\uDF0C",e)},{id:"custom",nameKey:"custom",descKey:"custom",categoryKey:"custom",example:"\uD83D\uDE0A HELLO \uD83D\uDE0A",pattern:e=>{let t=L.trim()||"\uD83D\uDE0A";return h(t,t,e)}}],D="all"===S?A:A.filter(e=>e.categoryKey===S),$=e=>{w(e),j.trim()&&(N(e.pattern(j)),setTimeout(()=>H.current?.scrollIntoView({behavior:"smooth",block:"center"}),100))},M=async(e,t)=>{try{await navigator.clipboard.writeText(e),d.Ay.success(t)}catch{let a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a),d.Ay.success(t)}},T=()=>{C.current?.scrollIntoView({behavior:"smooth",block:"start"})},z="ko"===t?"":`/${t}`,_=`https://www.maumemoji.com${z}/tools/text-art`,P={"@context":"https://schema.org","@type":"SoftwareApplication",name:a.seoTitle[t],description:a.seoDescription[t],applicationCategory:"UtilitiesApplication",operatingSystem:"All",url:_,offers:{"@type":"Offer",price:"0",priceCurrency:"USD"}};return(0,r.jsx)(m.A,{jsonLd:P,title:a.seoTitle[t],description:a.seoDescription[t],keywords:a.seoKeywords[t],language:t,alternateLanguages:(0,y.ob)("/tools/text-art"),children:(0,r.jsxs)("div",{className:"min-h-screen bg-gradient-to-br from-purple-50 via-white to-pink-50",children:[(0,r.jsx)(d.l$,{position:"top-right"}),(0,r.jsxs)("main",{className:"max-w-6xl mx-auto px-4 py-8",children:[(0,r.jsx)("div",{className:"text-center mb-12",children:(0,r.jsx)("h2",{className:"text-3xl font-bold mb-4",children:(0,r.jsx)("span",{className:"bg-gradient-to-r from-purple-500 to-pink-500 bg-clip-text text-transparent",children:a.magicConverter[t]})})}),(0,r.jsxs)("div",{className:"bg-white rounded-3xl p-8 shadow-xl border mb-8",children:[(0,r.jsxs)("h3",{className:"text-xl font-bold mb-4 flex items-center",children:[(0,r.jsx)(s.A,{className:"mr-2 text-purple-500",size:24}),a.textToConvert[t]]}),(0,r.jsx)("textarea",{value:j,onChange:e=>{let t=e.target.value.slice(0,200);v(t),k&&t.trim()&&N(k.pattern(t))},placeholder:a.placeholder[t],className:"w-full h-32 p-4 border-2 border-gray-200 rounded-2xl focus:border-purple-400 focus:outline-none resize-none text-lg",maxLength:200}),(0,r.jsxs)("div",{className:"flex justify-between items-center mt-2",children:[(0,r.jsxs)("span",{className:"text-sm text-gray-500",children:[j.length,"/200"]}),(0,r.jsxs)("div",{className:"flex space-x-2",children:[(0,r.jsx)("button",{onClick:()=>v("Hello!"),className:"px-3 py-1 text-sm bg-purple-100 hover:bg-purple-200 text-purple-700 rounded-full transition-colors",children:a.example1[t]}),(0,r.jsx)("button",{onClick:()=>v("Love"),className:"px-3 py-1 text-sm bg-pink-100 hover:bg-pink-200 text-pink-700 rounded-full transition-colors",children:a.example2[t]}),(0,r.jsx)("button",{onClick:()=>v("Happy Birthday!"),className:"px-3 py-1 text-sm bg-blue-100 hover:bg-blue-200 text-blue-700 rounded-full transition-colors",children:a.example3[t]})]})]}),j.trim()&&(0,r.jsxs)("button",{onClick:T,className:"mt-4 w-full py-3 bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 text-white rounded-xl transition-colors font-medium",children:[a.goToStyles[t]," ↓"]})]}),(0,r.jsx)("div",{className:"my-8",children:(0,r.jsx)(u.A,{adSlot:"1868669683",adFormat:"auto",fullWidthResponsive:!0})}),(0,r.jsxs)("div",{className:"mb-12 bg-gradient-to-r from-blue-50 to-purple-50 rounded-3xl p-8 border border-blue-100",children:[(0,r.jsxs)("div",{className:"text-center mb-6",children:[(0,r.jsx)("h3",{className:"text-2xl font-bold mb-4 bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:a.howToUse[t]}),(0,r.jsx)("p",{className:"text-gray-600",children:a.howToUseDesc[t]})]}),(0,r.jsxs)("div",{className:"grid md:grid-cols-3 gap-6",children:[(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-full w-12 h-12 flex items-center justify-center mx-auto mb-4 text-xl font-bold",children:"1"}),(0,r.jsx)("h4",{className:"font-semibold mb-2",children:a.step1Title[t]}),(0,r.jsx)("p",{className:"text-sm text-gray-600",children:a.step1Desc[t]})]}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-pink-500 to-orange-500 text-white rounded-full w-12 h-12 flex items-center justify-center mx-auto mb-4 text-xl font-bold",children:"2"}),(0,r.jsx)("h4",{className:"font-semibold mb-2",children:a.step2Title[t]}),(0,r.jsx)("p",{className:"text-sm text-gray-600",children:a.step2Desc[t]})]}),(0,r.jsxs)("div",{className:"text-center",children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-orange-500 to-red-500 text-white rounded-full w-12 h-12 flex items-center justify-center mx-auto mb-4 text-xl font-bold",children:"3"}),(0,r.jsx)("h4",{className:"font-semibold mb-2",children:a.step3Title[t]}),(0,r.jsx)("p",{className:"text-sm text-gray-600",children:a.step3Desc[t]})]})]})]}),(0,r.jsxs)("div",{className:"mb-12 bg-gradient-to-r from-orange-50 to-red-50 rounded-3xl p-8 border border-orange-100",children:[(0,r.jsxs)("div",{className:"text-center mb-6",children:[(0,r.jsx)("h3",{className:"text-2xl font-bold mb-2",children:a.popularGallery[t]}),(0,r.jsx)("p",{className:"text-gray-600",children:a.popularGalleryDesc[t]})]}),(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-3",children:[{text:"Hello!",key:"hello"}
1,{text:"Love",key:"love"},{text:"Happy",key:"happy"},{text:"Dream",key:"dream"},{text:"Magic",key:"magic"},{text:"Star",key:"star"},{text:"Fire",key:"fire"},{text:"Ocean",key:"ocean"}].map((e,o)=>(0,r.jsx)("button",{onClick:()=>{v(e.text),T()},className:"px-4 py-2 bg-white hover:bg-orange-100 border border-orange-200 rounded-full transition-colors text-sm",children:a.examples[e.key]?.[t]||e.text},o))})]}),(0,r.jsxs)("div",{ref:C,className:"mb-12",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between mb-6",children:[(0,r.jsx)("h3",{className:"text-2xl font-bold",children:a.selectStyle[t]}),(0,r.jsxs)("button",{onClick:()=>{let e=Math.floor(Math.random()*A.length);$(A[e])},className:"flex items-center space-x-2 px-4 py-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white rounded-full hover:from-purple-600 hover:to-pink-600 transition-colors",children:[(0,r.jsx)(n.A,{size:16}),(0,r.jsx)("span",{children:a.random[t]})]})]}),(0,r.jsx)("div",{className:"flex flex-wrap gap-2 mb-6",children:["all","emotion","fantasy","energy","nature","luxury","entertainment","space","custom"].map(e=>(0,r.jsx)("button",{onClick:()=>O(e),className:(0,p.A)("px-4 py-2 rounded-full transition-colors text-sm",S===e?"bg-purple-500 text-white":"bg-gray-100 hover:bg-gray-200 text-gray-700"),children:b[e]?.[t]||e},e))}),(0,r.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-4",children:D.map(e=>(0,r.jsxs)("div",{onClick:()=>$(e),className:(0,p.A)("p-4 rounded-2xl border-2 cursor-pointer transition-all hover:shadow-lg",k?.id===e.id?"border-purple-400 bg-purple-50 shadow-lg":"border-gray-200 bg-white hover:border-purple-200"),children:[(0,r.jsx)("div",{className:"text-center mb-2",children:(0,r.jsx)("span",{className:"text-lg",children:e.example})}),(0,r.jsx)("h4",{className:"font-semibold text-center mb-1",children:g[e.nameKey]?.[t]||e.nameKey}),(0,r.jsx)("p",{className:"text-xs text-gray-500 text-center",children:f[e.descKey]?.[t]||e.descKey}),"custom"===e.id&&(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)("input",{type:"text",value:L,onChange:e=>E(e.target.value),placeholder:a.customEmojiPlaceholder[t],className:"w-full px-3 py-2 border rounded-lg text-sm focus:border-purple-400 focus:outline-none",onClick:e=>e.stopPropagation()})})]},e.id))})]}),(0,r.jsxs)("div",{ref:H,className:"mb-12",children:[(0,r.jsxs)("h3",{className:"text-2xl font-bold mb-6 flex items-center",children:[(0,r.jsx)(i.A,{className:"mr-2 text-yellow-500",size:24}),a.result[t]]}),(0,r.jsx)("div",{className:"bg-white rounded-3xl p-8 shadow-xl border min-h-[200px]",children:K?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"bg-gradient-to-r from-purple-50 to-pink-50 rounded-2xl p-6 mb-6 text-center",children:(0,r.jsx)("pre",{className:"whitespace-pre-wrap text-xl font-medium",children:K})}),(0,r.jsxs)("div",{className:"flex justify-center space-x-4",children:[(0,r.jsxs)("button",{onClick:()=>M(K,a.toast.copied[t]),className:"flex items-center space-x-2 px-6 py-3 bg-purple-500 hover:bg-purple-600 text-white rounded-full transition-colors",children:[(0,r.jsx)(l.A,{size:18}),(0,r.jsx)("span",{children:a.copy[t]})]}),(0,r.jsxs)("button",{onClick:()=>M(K,a.toast.downloaded[t]),className:"flex items-center space-x-2 px-6 py-3 bg-pink-500 hover:bg-pink-600 text-white rounded-full transition-colors",children:[(0,r.jsx)(c.A,{size:18}),(0,r.jsx)("span",{children:a.download[t]})]})]})]}):(0,r.jsx)("div",{className:"flex items-center justify-center h-full text-gray-400",children:(0,r.jsx)("p",{children:a.noResult[t]})})})]})]})]})})}var j=!0;function v(e){let{locale:t}=e;return(0,r.jsx)(b,{locale:t})}},801:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(1713).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"}]])},1312:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(1713).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},2188:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/tools/text-art",function(){return a(377)}])},7685:(e,t,a)=>{"use strict";a.d(t,{l$:()=>ed,Ay:()=>ep,oR:()=>_});var r,o=a(4232);let s={data:""},n=e=>"object"==typeof window?((e?e.querySelector("#_goober"):window._goober)||Object.assign((e||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:e||s,i=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,l=/\/\*[^]*?\*\/|  +/g,c=/\n+/g,d=(e,t)=>{let a="",r="",o="";for(let s in e){let n=e[s];"@"==s[0]?"i"==s[1]?a=s+" "+n+";":r+="f"==s[1]?d(n,s):s+"{"+d(n,"k"==s[1]?"":t)+"}":"object"==typeof n?r+=d(n,t?t.replace(/([^,])+/g,e=>s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):s):null!=n&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),o+=d.p?d.p(s,n):s+":"+n+";")}return a+(t&&o?t+"{"+o+"}":o)+r},p={},m=e=>{if("object"==typeof e){let t="";for(let a in e)t+=a+m(e[a]);return t}return e},u=(e,t,a,r,o)=>{let s=m(e),n=p[s]||(p[s]=(e=>{let t=0,a=11;for(;t<e.length;)a=101*a+e.charCodeAt(t++)>>>0;return"go"+a})(s));if(!p[n]){let t=s!==e?e:(e=>{let t,a,r=[{}];for(;t=i.exec(e.replace(l,""));)t[4]?r.shift():t[3]?(a=t[3].replace(c," ").trim(),r.unshift(r[0][a]=r[0][a]||{})):r[0][t[1]]=t[2].replace(c," ").trim();return r[0]})(e);p[n]=d(o?{["@keyframes "+n]:t}:t,a?"":"."+n)}let u=a&&p.g?p.g:null;return a&&(p.g=p[n]),((e,t,a,r)=>{r?t.data=t.data.replace(r,e):-1===t.data.indexOf(e)&&(t.data=a?e+t.data:t.data+e)})(p[n],t,r,u),n},y=(e,t,a)=>e.reduce((e,r,o)=>{let s=t[o];if(s&&s.call){let e=s(a),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;s=t?"."+t:e&&"object"==typeof e?e.props?"":d(e,""):!1===e?"":e}return e+r+(null==s?"":s)},"");function x(e){let t=this||{},a=e.call?e(t.p):e;
1return u(a.unshift?a.raw?y(a,[].slice.call(arguments,1),t.p):a.reduce((e,a)=>Object.assign(e,a&&a.call?a(t.p):a),{}):a,n(t.target),t.g,t.o,t.k)}x.bind({g:1});let h,g,f,b=x.bind({k:1});function j(e,t){let a=this||{};return function(){let r=arguments;function o(s,n){let i=Object.assign({},s),l=i.className||o.className;a.p=Object.assign({theme:g&&g()},i),a.o=/ *go\d+/.test(l),i.className=x.apply(a,r)+(l?" "+l:""),t&&(i.ref=n);let c=e;return e[0]&&(c=i.as||e,delete i.as),f&&c[0]&&f(i),h(c,i)}return t?t(o):o}}var v=e=>"function"==typeof e,k=(e,t)=>v(e)?e(t):e,w=(()=>{let e=0;return()=>(++e).toString()})(),K=(()=>{let e;return()=>{if(void 0===e&&"u">typeof window){let t=matchMedia("(prefers-reduced-motion: reduce)");e=!t||t.matches}return e}})(),N="default",L=(e,t)=>{let{toastLimit:a}=e.settings;switch(t.type){case 0:return{...e,toasts:[t.toast,...e.toasts].slice(0,a)};case 1:return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case 2:let{toast:r}=t;return L(e,{type:+!!e.toasts.find(e=>e.id===r.id),toast:r});case 3:let{toastId:o}=t;return{...e,toasts:e.toasts.map(e=>e.id===o||void 0===o?{...e,dismissed:!0,visible:!1}:e)};case 4:return void 0===t.toastId?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)};case 5:return{...e,pausedAt:t.time};case 6:let s=t.time-(e.pausedAt||0);return{...e,pausedAt:void 0,toasts:e.toasts.map(e=>({...e,pauseDuration:e.pauseDuration+s}))}}},E=[],S={toasts:[],pausedAt:void 0,settings:{toastLimit:20}},O={},C=(e,t=N)=>{O[t]=L(O[t]||S,e),E.forEach(([e,a])=>{e===t&&a(O[t])})},H=e=>Object.keys(O).forEach(t=>C(e,t)),A=e=>Object.keys(O).find(t=>O[t].toasts.some(t=>t.id===e)),D=(e=N)=>t=>{C(t,e)},$={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},M=(e={},t=N)=>{let[a,r]=(0,o.useState)(O[t]||S),s=(0,o.useRef)(O[t]);(0,o.useEffect)(()=>(s.current!==O[t]&&r(O[t]),E.push([t,r]),()=>{let e=E.findIndex(([e])=>e===t);e>-1&&E.splice(e,1)}),[t]);let n=a.toasts.map(t=>{var a,r,o;return{...e,...e[t.type],...t,removeDelay:t.removeDelay||(null==(a=e[t.type])?void 0:a.removeDelay)||(null==e?void 0:e.removeDelay),duration:t.duration||(null==(r=e[t.type])?void 0:r.duration)||(null==e?void 0:e.duration)||$[t.type],style:{...e.style,...null==(o=e[t.type])?void 0:o.style,...t.style}}});return{...a,toasts:n}},T=(e,t="blank",a)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:t,ariaProps:{role:"status","aria-live":"polite"},message:e,pauseDuration:0,...a,id:(null==a?void 0:a.id)||w()}),z=e=>(t,a)=>{let r=T(t,e,a);return D(r.toasterId||A(r.id))({type:2,toast:r}),r.id},_=(e,t)=>z("blank")(e,t);_.error=z("error"),_.success=z("success"),_.loading=z("loading"),_.custom=z("custom"),_.dismiss=(e,t)=>{let a={type:3,toastId:e};t?D(t)(a):H(a)},_.dismissAll=e=>_.dismiss(void 0,e),_.remove=(e,t)=>{let a={type:4,toastId:e};t?D(t)(a):H(a)},_.removeAll=e=>_.remove(void 0,e),_.promise=(e,t,a)=>{let r=_.loading(t.loading,{...a,...null==a?void 0:a.loading});return"function"==typeof e&&(e=e()),e.then(e=>{let o=t.success?k(t.success,e):void 0;return o?_.success(o,{id:r,...a,...null==a?void 0:a.success}):_.dismiss(r),e}).catch(e=>{let o=t.error?k(t.error,e):void 0;o?_.error(o,{id:r,...a,...null==a?void 0:a.error}):_.dismiss(r)}),e};var P=1e3,R=(e,t="default")=>{let{toasts:a,pausedAt:r}=M(e,t),s=(0,o.useRef)(new Map).current,n=(0,o.useCallback)((e,t=P)=>{if(s.has(e))return;let a=setTimeout(()=>{s.delete(e),i({type:4,toastId:e})},t);s.set(e,a)},[]);(0,o.useEffect)(()=>{if(r)return;let e=Date.now(),o=a.map(a=>{if(a.duration===1/0)return;let r=(a.duration||0)+a.pauseDuration-(e-a.createdAt);if(r<0){a.visible&&_.dismiss(a.id);return}return setTimeout(()=>_.dismiss(a.id,t),r)});return()=>{o.forEach(e=>e&&clearTimeout(e))}},[a,r,t]);let i=(0,o.useCallback)(D(t),[t]),l=(0,o.useCallback)(()=>{i({type:5,time:Date.now()})},[i]),c=(0,o.useCallback)((e,t)=>{i({type:1,toast:{id:e,height:t}})},[i]),d=(0,o.useCallback)(()=>{r&&i({type:6,time:Date.now()})},[r,i]),p=(0,o.useCallback)((e,t)=>{let{reverseOrder:r=!1,gutter:o=8,defaultPosition:s}=t||{},n=a.filter(t=>(t.position||s)===(e.position||s)&&t.height),i=n.findIndex(t=>t.id===e.id),l=n.filter((e,t)=>
vendor: 4,369 bytes, lines 1-172
1t<i&&e.visible).length;return n.filter(e=>e.visible).slice(...r?[l+1]:[0,l]).reduce((e,t)=>e+(t.height||0)+o,0)},[a]);return(0,o.useEffect)(()=>{a.forEach(e=>{if(e.dismissed)n(e.id,e.removeDelay);else{let t=s.get(e.id);t&&(clearTimeout(t),s.delete(e.id))}})},[a,n]),{toasts:a,handlers:{updateHeight:c,startPause:l,endPause:d,calculateOffset:p}}},I=b`
2from {
3  transform: scale(0) rotate(45deg);
4	opacity: 0;
5}
6to {
7 transform: scale(1) rotate(45deg);
8  opacity: 1;
9}`,F=b`
10from {
11  transform: scale(0);
12  opacity: 0;
13}
14to {
15  transform: scale(1);
16  opacity: 1;
17}`,U=b`
18from {
19  transform: scale(0) rotate(90deg);
20	opacity: 0;
21}
22to {
23  transform: scale(1) rotate(90deg);
24	opacity: 1;
25}`,G=j("div")`
26  width: 20px;
27  opacity: 0;
28  height: 20px;
29  border-radius: 10px;
30  background: ${e=>e.primary||"#ff4b4b"};
31  position: relative;
32  transform: rotate(45deg);
33
34  animation: ${I} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
35    forwards;
36  animation-delay: 100ms;
37
38  &:after,
39  &:before {
40    content: '';
41    animation: ${F} 0.15s ease-out forwards;
42    animation-delay: 150ms;
43    position: absolute;
44    border-radius: 3px;
45    opacity: 0;
46    background: ${e=>e.secondary||"#fff"};
47    bottom: 9px;
48    left: 4px;
49    height: 2px;
50    width: 12px;
51  }
52
53  &:before {
54    animation: ${U} 0.15s ease-out forwards;
55    animation-delay: 180ms;
56    transform: rotate(90deg);
57  }
58`,W=b`
59  from {
60    transform: rotate(0deg);
61  }
62  to {
63    transform: rotate(360deg);
64  }
65`,V=j("div")`
66  width: 12px;
67  height: 12px;
68  box-sizing: border-box;
69  border: 2px solid;
70  border-radius: 100%;
71  border-color: ${e=>e.secondary||"#e0e0e0"};
72  border-right-color: ${e=>e.primary||"#616161"};
73  animation: ${W} 1s linear infinite;
74`,B=b`
75from {
76  transform: scale(0) rotate(45deg);
77	opacity: 0;
78}
79to {
80  transform: scale(1) rotate(45deg);
81	opacity: 1;
82}`,q=b`
830% {
84	height: 0;
85	width: 0;
86	opacity: 0;
87}
8840% {
89  height: 0;
90	width: 6px;
91	opacity: 1;
92}
93100% {
94  opacity: 1;
95  height: 10px;
96}`,X=j("div")`
97  width: 20px;
98  opacity: 0;
99  height: 20px;
100  border-radius: 10px;
101  background: ${e=>e.primary||"#61d345"};
102  position: relative;
103  transform: rotate(45deg);
104
105  animation: ${B} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
106    forwards;
107  animation-delay: 100ms;
108  &:after {
109    content: '';
110    box-sizing: border-box;
111    animation: ${q} 0.2s ease-out forwards;
112    opacity: 0;
113    animation-delay: 200ms;
114    position: absolute;
115    border-right: 2px solid;
116    border-bottom: 2px solid;
117    border-color: ${e=>e.secondary||"#fff"};
118    bottom: 6px;
119    left: 6px;
120    height: 10px;
121    width: 6px;
122  }
123`,Y=j("div")`
124  position: absolute;
125`,Z=j("div")`
126  position: relative;
127  display: flex;
128  justify-content: center;
129  align-items: center;
130  min-width: 20px;
131  min-height: 20px;
132`,J=b`
133from {
134  transform: scale(0.6);
135  opacity: 0.4;
136}
137to {
138  transform: scale(1);
139  opacity: 1;
140}`,Q=j("div")`
141  position: relative;
142  transform: scale(0.6);
143  opacity: 0.4;
144  min-width: 20px;
145  animation: ${J} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
146    forwards;
147`,ee=({toast:e})=>{let{icon:t,type:a,iconTheme:r}=e;return void 0!==t?"string"==typeof t?o.createElement(Q,null,t):t:"blank"===a?null:o.createElement(Z,null,o.createElement(V,{...r}),"loading"!==a&&o.createElement(Y,null,"error"===a?o.createElement(G,{...r}):o.createElement(X,{...r})))},et=e=>`
1480% {transform: translate3d(0,${-200*e}%,0) scale(.6); opacity:.5;}
149100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
150`,ea=e=>`
1510% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
152100% {transform: translate3d(0,${-150*e}%,-1px) scale(.6); opacity:0;}
153`,er=j("div")`
154  display: flex;
155  align-items: center;
156  background: #fff;
157  color: #363636;
158  line-height: 1.3;
159  will-change: transform;
160  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
161  max-width: 350px;
162  pointer-events: auto;
163  padding: 8px 10px;
164  border-radius: 8px;
165`,eo=j("div")`
166  display: flex;
167  justify-content: center;
168  margin: 4px 10px;
169  color: inherit;
170  flex: 1 1 auto;
171  white-space: pre-line;
172`,es=(e,t)=>{let a=e.includes("top")?1:-1,[r,o]=K()?["0%{opacity:0;} 100%{opacity:1;}","0%{opacity:1;} 100%{opacity:0;}"]:[et(a),ea(a)];return{animation:t?`${b(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${b(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},en=o.memo(({toast:e,position:t,style:a,children:r})=>
172{let s=e.height?es(e.position||t||"top-center",e.visible):{opacity:0},n=o.createElement(ee,{toast:e}),i=o.createElement(eo,{...e.ariaProps},k(e.message,e));return o.createElement(er,{className:e.className,style:{...s,...a,...e.style}},"function"==typeof r?r({icon:n,message:i}):o.createElement(o.Fragment,null,n,i))});r=o.createElement,d.p=void 0,h=r,g=void 0,f=void 0;var ei=({id:e,className:t,style:a,onHeightUpdate:r,children:s})=>{let n=o.useCallback(t=>{if(t){let a=()=>{r(e,t.getBoundingClientRect().height)};a(),new MutationObserver(a).observe(t,{subtree:!0,childList:!0,characterData:!0})}},[e,r]);return o.createElement("div",{ref:n,className:t,style:a},s)},el=(e,t)=>{let a=e.includes("top"),r=e.includes("center")?{justifyContent:"center"}:e.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:K()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${t*(a?1:-1)}px)`,...a?{top:0}:{bottom:0},...r}},ec=x`
173  z-index: 9999;
174  > * {
175    pointer-events: auto;
176  }
177`,ed=({reverseOrder:e,position:t="top-center",toastOptions:a,gutter:r,children:s,toasterId:n,containerStyle:i,containerClassName:l})=>{let{toasts:c,handlers:d}=R(a,n);return o.createElement("div",{"data-rht-toaster":n||"",style:{position:"fixed",zIndex:9999,top:16,left:16,right:16,bottom:16,pointerEvents:"none",...i},className:l,onMouseEnter:d.startPause,onMouseLeave:d.endPause},c.map(a=>{let n=a.position||t,i=el(n,d.calculateOffset(a,{reverseOrder:e,gutter:r,defaultPosition:t}));return o.createElement(ei,{id:a.id,key:a.id,onHeightUpdate:d.updateHeight,className:a.visible?ec:"",style:i},"custom"===a.type?k(a.message,a):s?s(a):o.createElement(en,{toast:a,position:n}))}))},ep=_},9812:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});let r=(0,a(1713).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"}]])}},e=>{var t=t=>e(e.s=t);e.O(0,[807,8,473,636,593,792],()=>t(2188)),_N_E=e.O()}]);

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.