PageSourceSearch

https://textkits.org/_next/static/chunks/8236.f5e5dabf99b9e8ab.js

js textkits.org collected 2026-10-01 13:08:30 UTC 33,198 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8236],{22163:(e,t,l)=>{function r(e,t){return Array.from({length:t},(t,l)=>String.fromCodePoint(e+l))}function a(e){return e.map(e=>String.fromCodePoint(e))}function s(e){return Array.from(e)}function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)?e:s(e)}l.d(t,{YN:()=>c,jn:()=>d,wQ:()=>u});let o=[{value:"plain",label:"Normal"},{value:"bold",label:"Bold",upper:r(119808,26),lower:r(119834,26),digits:r(120782,10)},{value:"italic",label:"Italic",upper:a([119860,119861,119862,119863,119864,119865,119866,119867,119868,119869,119870,119871,119872,119873,119874,119875,119876,119877,119878,119879,119880,119881,119882,119883,119884,119885]),lower:a([119886,119887,119888,119889,119890,119891,119892,8462,119894,119895,119896,119897,119898,119899,119900,119901,119902,119903,119904,119905,119906,119907,119908,119909,119910,119911])},{value:"bold-italic",label:"Bold Italic",upper:r(119912,26),lower:r(119938,26)},{value:"sans",label:"Sans",upper:r(120224,26),lower:r(120250,26),digits:r(120802,10)},{value:"sans-bold",label:"Sans Bold",upper:r(120276,26),lower:r(120302,26),digits:r(120812,10)},{value:"sans-italic",label:"Sans Italic",upper:r(120328,26),lower:r(120354,26)},{value:"sans-bold-italic",label:"Sans Bold Italic",upper:r(120380,26),lower:r(120406,26),digits:r(120812,10)},{value:"script",label:"Script",upper:a([119964,8492,119966,119967,8496,8497,119970,8459,8464,119973,119974,8466,8499,119977,119978,119979,119980,8475,119982,119983,119984,119985,119986,119987,119988,119989]),lower:a([119990,119991,119992,119993,8495,119995,8458,119997,119998,119999,12e4,120001,120002,120003,8500,120005,120006,120007,120008,120009,120010,120011,120012,120013,120014,120015])},{value:"gothic",label:"Gothic",upper:a([120068,120069,8493,120071,120072,120073,120074,8460,8465,120077,120078,120079,120080,120081,120082,120083,120084,8476,120086,120087,120088,120089,120090,120091,120092,8488]),lower:r(120094,26)},{value:"bold-script",label:"Bold Script",upper:r(120016,26),lower:r(120042,26)},{value:"bold-gothic",label:"Bold Gothic",upper:r(120172,26),lower:r(120198,26)},{value:"double",label:"Double Struck",upper:a([120120,120121,8450,120123,120124,120125,120126,8461,120128,120129,120130,120131,120132,8469,120134,8473,8474,8477,120138,120139,120140,120141,120142,120143,120144,8484]),lower:r(120146,26),digits:r(120792,10)},{value:"double-struck",label:"Double Struck",upper:a([120120,120121,8450,120123,120124,120125,120126,8461,120128,120129,120130,120131,120132,8469,120134,8473,8474,8477,120138,120139,120140,120141,120142,120143,120144,8484]),lower:r(120146,26),digits:r(120792,10)},{value:"monospace",label:"Monospace",upper:r(120432,26),lower:r(120458,26),digits:r(120822,10)},{value:"fullwidth",label:"Full Width",upper:r(65313,26),lower:r(65345,26),digits:r(65296,10)},{value:"circled",label:"Circled",upper:r(9398,26),lower:r(9424,26),digits:a([9450,9312,9313,9314,9315,9316,9317,9318,9319,9320])},{value:"negative-circled",label:"Negative Circled",upper:r(127312,26),lower:r(127312,26),digits:s("⓿❶❷❸❹❺❻❼❽❾")},{value:"squared",label:"Squared",upper:r(127280,26),lower:r(127280,26)},{value:"negative-squared",label:"Negative Squared",upper:r(127344,26),lower:r(127344,26)},{value:"parenthesized",label:"Parenthesized",upper:r(9372,26),lower:r(9372,26),digits:s("0⑴⑵⑶⑷⑸⑹⑺⑻⑼")},{value:"regional",label:"Regional Indicator",upper:r(127462,26),lower:r(127462,26)},{value:"small-caps",label:"Small Caps",upper:s("ABCDEFGHIJKLMNOPQRSTUVWXYZ"),lower:s("ᴀʙᴄᴅᴇꜰɢʜɪᴊᴋʟᴍɴᴏᴘǫʀꜱᴛᴜᴠᴡxʏᴢ")},{value:"greek-look",label:"Greek Look",upper:s("ΛBϹDΣFGΉIJKᄂMПӨPQЯƧƬЦVЩXYZ"),lower:s("αвϲ∂єfgнιנкℓмησρqяѕтυνωχуȥ")},{value:"cyrillic-look",label:"Cyrillic Look",upper:s("АВСDЄFGНІЈКLМПОРQЯЅТЦVШХУZ"),lower:s("авсdєfgніјкlмпорqя
1ѕтцvшхуz")},{value:"kana-look",label:"Kana Look",upper:s("卂乃匚ᗪ乇千Ꮆ卄丨フҜㄥ爪几ㄖ卩Ɋ尺丂ㄒㄩᐯ山乂ㄚ乙"),lower:s("卂乃匚ᗪ乇千Ꮆ卄丨フҜㄥ爪几ㄖ卩Ɋ尺丂ㄒㄩᐯ山乂ㄚ乙")},{value:"runic",label:"Runic",upper:s("ᚨᛒᚲᛞᛖᚠᚷᚺᛁᛃᚲᛚᛗᚾᛟᛈᛩᚱᛋᛏᚢᚡᚹᛪᛃᛉ"),lower:s("ᚨᛒᚲᛞᛖᚠᚷᚺᛁᛃᚲᛚᛗᚾᛟᛈᛩᚱᛋᛏᚢᚡᚹᛪᛃᛉ")},{value:"wizard",label:"Wizard",upper:s("ΛβϾ\xd0ΣҒƓΉίЈҠŁΜΠΘƤϘŔŞŦЦѴШЖҰʐ"),lower:s("λβϲ\xf0εғɢђίʝҡłмπσρզŕşŧцѵшжყʐ")},{value:"fairy",label:"Fairy",upper:s("ᗩβᑕᗪᗴᖴᘜᕼɨᒍҠᒪᗰᑎOᑭQᖇʂŦᑌᐯᗯXყᘔ"),lower:s("ᗩβᑕᗪᗴᖴᘜᕼɨᒍҡᒪᗰᑎOᑭqᖇʂŧᑌᐯᗯxყᘔ")},{value:"funky",label:"Funky",upper:s("Λ\xdfϾ\xd0ΣFƓΉƖЈҠŁΜИӨƤQЯƧƬЦVЩXƳZ"),lower:s("α\xdfϲძ૯ƒɠɦɿנҡℓʍทσρqя੮υѵω૪ყz")},{value:"alien",label:"Alien",upper:s("Λ\xdfϾ\xd0ΣFƓΉłЈҠŁΜИӨƤQЯSŦЦVШXҰZ"),lower:s("λ\xdfϲ\xf0εғɢђłʝҡłмиσρqяsŧцvшxұz")},{value:"techno",label:"Techno",upper:s("ΛΒC\xd0ΞFGHIJKŁMNΘPQRΓUVWXYZ"),lower:s("ΛΒc\xf0ξfghiʝkłmnθpqrΓuvwxyz")},{value:"angular",label:"Angular",upper:s("ΔBCDEFGHIJKLMNOPQRSTUVWXYZ"),lower:s("Δbcdefghijklmnopqrstuvwxyz")},{value:"curvy",label:"Curvy",upper:s("AƁƇDƐƑƓHIJKLMNOƤQRSƬUƲWXƳZ"),lower:s("αɓƈԃҽƒɠԋιʝƙʅɱɳσρϙɾʂƚυʋɯxყʐ")},{value:"phonetic",label:"Phonetic",upper:s("AʙCDƐFGHIJKLMNOPQRSTUVWXʏZ"),lower:s("ɑʙcɗɛfgʜɪʝklmnopqʀsᴛuvwxʏz")},{value:"archaic",label:"Archaic",upper:s("ΛβC\xd0ΣҒGHΙJҠŁΜNΘPQRŦUVWXҰZ"),lower:s("λβc\xf0εғghιjҡłмnθpqrŧuvwxұz")},{value:"symbolic",label:"Symbolic",upper:s("Δ\xdf\xa9\xd0€ҒGΗ!Ј₭ŁΜИ\xd8ΡQЯ\xa7†ЦVШ\xd7\xa5Z"),lower:s("Δ\xdf\xa9\xf0€ƒgη!נ₭łми\xf8ρqя\xa7†цvω\xd7\xa5z")},{value:"double-line",label:"Double Line",upper:["Λ","Β","C","\xd0","€","F","G","H","I","J","║<","Ł","M","N","O","P","Q","R","S","║","U","V","W","X","Y","Z"],lower:["λ","β","c","\xf0","€","f","g","h","i","j","║<","ł","m","n","o","p","q","r","s","║","u","v","w","x","y","z"]},{value:"sharp",label:"Sharp",upper:s("A฿C\xd0ɆFǤĦłJҠŁMN\xd8PQRŦUVWXɎZ"),lower:s("a฿c\xf0ɇfǥħłjҡłmn\xf8pqrŧuvwxɏz")},{value:"rounded",label:"Rounded",upper:s("AƁƇDƐFGHIJKLMNOƤQRSTUVWXYZ"),lower:s("αɓƈԃҽƒɠԋιʝƙʅɱɳσρϙɾʂƚυʋɯxყʐ")}],i=Object.fromEntries(o.filter(e=>"plain"!==e.value).map(e=>[e.value,function(e){let{upper:t,lower:l,digits:r=[]}=e,a=new Map,s=n(t),o=n(l),i=n(r);return Array.from("ABCDEFGHIJKLMNOPQRSTUVWXYZ").forEach((e,t)=>{a.set(e,s[t]||e)}),Array.from("abcdefghijklmnopqrstuvwxyz").forEach((e,t)=>{a.set(e,o[t]||e)}),Array.from("0123456789").forEach((e,t)=>{a.set(e,i[t]||e)}),a}(e)]));function u(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";if(!e||"plain"===t)return e;let l=i[t];return l?Array.from(e,e=>{var t;return null!=(t=l.get(e))?t:e}).join(""):e}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"plain";return u(e,t)}let c=o.map(e=>({value:e.value,label:e.label,sample:u("Text 123",e.value)}))},37107:(e,t,l)=>{l.d(t,{A:()=>r});let r=(0,l(19904).A)("hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]])},56367:(e,t,l)=>{l.d(t,{T:()=>i});var r=l(95155),a=l(12115),s=l(65229),n=l(49498);let o="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",i=a.forwardRef((e,t)=>{var l;let{className:i,value:u,defaultValue:d,onChange:c,onFocus:p,readOnly:m,disabled:x,placeholder:h,"data-mobile-full-height":b,...f}=e,[g,v]=a.useState(!1),w=a.useRef(null),y=a.useRef(null),j=!m&&!x&&!b,N=null!=(l=null!=u?u:d)?l:"",k="string"==typeof i&&i.includes("convert-normal-input-attention");function S(){return window.matchMedia("(max-width: 639px)").matches}return(a.useImperativeHandle(t,()=>
1({get element(){return w.current},focus:()=>{var e;if(j&&S())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,r=Array(l),a=0;a<l;a++)r[a]=arguments[a];return null==(t=w.current)||null==(e=t.setSelectionRange)?void 0:e.call(t,...r)},get selectionStart(){var e,t;return null!=(t=null==(e=w.current)?void 0:e.selectionStart)?t:0},get selectionEnd(){var l,r;return null!=(r=null==(l=w.current)?void 0:l.selectionEnd)?r:0},get value(){var a;return null==(a=w.current)?void 0:a.value}})),a.useEffect(()=>{if(!g)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=y.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:()=>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,r.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||h||"Tap to enter text..."})}),(0,r.jsx)("textarea",{ref:w,value:u,defaultValue:d,onChange:c,onFocus:function(e){null==p||p(e),j&&S()&&(e.currentTarget.blur(),v(!0))},readOnly:m,disabled:x,placeholder:h,className:(0,n.cn)(o,"hidden sm:flex",i),...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:()=>v(!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:()=>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,r.jsx)(s.A,{className:"size-5"})})]}),(0,r.jsx)("textarea",{ref:y,value:u,defaultValue:d,onChange:c,onFocus:p,placeholder:h,maxLength:f.maxLength,className:(0,n.cn)(o,"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:()=>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,r.jsx)("button",{type:"button",onClick:()=>{null==c||c({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:w,value:u,defaultValue:d,onChange:c,onFocus:p,readOnly:m,disabled:x,placeholder:h,"data-mobile-full-height":b,className:(0,n.cn)(o,i),...f})});i.displayName="Textarea"},61073:(e,t,l)=>{l.d(t,{HE:()=>x,IA:()=>d,Ov:()=>a,SF:()=>m,bE:()=>p,d:()=>c,p:()=>r});let r=5e3,a=[{value:"none",label:"None"},{value:"space",label:"Space"},{value:"newline",label:"New line"},{value:"custom",label:"Custom"}];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";switch(e){case"none":return"";case"space":default:return" ";case"newline":return"\n";
1case"custom":return t}}function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"newline"===e?" ":s(e,t)}function o(e){let t=e.trim();if(!t)throw Error("Enter some text or emoji first.");return t}function i(e,t,l){let r=Number(e);if(!Number.isInteger(r)||r<1)throw Error("".concat(t," must be a whole number greater than 0."));if(void 0!==l&&r>l)throw Error("".concat(t," must be ").concat(l.toLocaleString()," or less."));return r}function u(e){if(e.length>12e4)throw Error("Output is too large. Keep it under ".concat(12e4.toLocaleString()," characters."))}function d(e){let{start:t,end:l,step:a,descending:s=!1,startLabel:n="Start count",endLabel:o="End count"}=e,u=i(t,n,r),d=i(l,o,r),c=i(a,"Step",r),p=Math.min(u,d),m=Math.max(u,d),x=[];if(s){for(let e=m;e>=p;e-=c)x.push(e);x[x.length-1]!==p&&x.push(p)}else{for(let e=p;e<=m;e+=c)x.push(e);x[x.length-1]!==m&&x.push(m)}if(x.length>200)throw Error("This range creates too many lines. Keep it under ".concat(200..toLocaleString()," lines."));return x}function c(e){let{text:t,count:l,separatorMode:a,customSeparator:n=""}=e,d=o(t),c=i(l,"Repeat count",r),p=s(a,n),m=Array.from({length:c},()=>d).join(p);return u(m),m}function p(e){let{text:t,start:l,end:a,step:s,lines:c,separatorMode:p,customSeparator:m=""}=e,x=o(t),h=n(p,m),b=(void 0!==a?d({start:l,end:a,step:s,descending:!1,startLabel:"Start count",endLabel:"Number of repetitions"}):(()=>{let e=i(l,"Start count",r),t=i(s,"Step",r),a=i(c,"Lines",200),n=[];for(let l=0;l<a;l+=1)n.push(e+l*t);return n})()).map(e=>Array.from({length:e},()=>x).join(h)).join("\n");return u(b),b}function m(e){let{text:t,start:l,end:a,step:s,lines:c,separatorMode:p,customSeparator:m=""}=e,x=o(t),h=n(p,m),b=(void 0!==a?d({start:l,end:a,step:s,descending:!0,startLabel:"Start count",endLabel:"Number of repetitions"}):(()=>{let e=i(l,"Start count",r),t=i(s,"Step",r),a=i(c,"Lines",200),n=[];for(let l=a-1;l>=0;l-=1)n.push(e+l*t);return n})()).map(e=>Array.from({length:e},()=>x).join(h)).join("\n");return u(b),b}function x(e){let{text:t,peak:l,step:r=1,separatorMode:a,customSeparator:s=""}=e,c=o(t),p=i(l,"Number of repetitions",100),m=n(a,s),x=d({start:1,end:p,step:r,descending:!1,startLabel:"Start count",endLabel:"Number of repetitions"}),h=x.map(e=>Array.from({length:e},()=>c).join(m));for(let e=x.length-2;e>=0;e-=1)h.push(Array.from({length:x[e]},()=>c).join(m));let b=h.join("\n");return u(b),b}},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"}]])},78236:(e,t,l)=>{l.r(t),l.d(t,{default:()=>T});var r=l(95155),a=l(12115),s=l(19904);let n=(0,s.A)("repeat-2",[["path",{d:"m2 9 3-3 3 3",key:"1ltn5i"}],["path",{d:"M13 18H7a2 2 0 0 1-2-2V6",key:"1r6tfw"}],["path",{d:"m22 15-3 3-3-3",key:"4rnwn2"}],["path",{d:"M11 6h6a2 2 0 0 1 2 2v10",key:"2f72bc"}]]),o=(0,s.A)("trending-up",[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]]),i=(0,s.A)("trending-down",[["path",{d:"M16 17h6v-6",key:"t6n2it"}],["path",{d:"m22 17-8.5-8.5-5 5L2 7",key:"x473p"}]]),u=(0,s.A)("triangle",[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]]);var d=l(5917),c=l(75426),p=l(37107),m=l(40583),x=l(24033),h=l(26667),b=l(73161),f=l(97555),g=l(27329),v=l(71724),w=l(56367),y=l(49498),j=l(61073),N=l(22163),k=l(70517);let S=[{key:"text",label:"Text",items:["I love you","Happy Birthday!","Good morning","Thank you","No way","Let's go","Miss you","See you soon","Good night","All the best"]},{key:"emoji",label:"Emoji",items:["\uD83D\uDE02","\uD83D\uDD25","\uD83C\uDF89","❤️","✨","\uD83E\uDD73","\uD83D\uDE0E","\uD83D\uDCA5","\uD83D\uDE0D","\uD83D\uDC4F","\uD83D\uDC4D","\uD83D\uDE80"]},{key:"mix",label:"Mix",items:["I love you ❤️","Happy Birthday \uD83C\uDF89","Let's go \uD83D\uDD25","Thank you ✨","So good \uD83D\uDE0E","Miss you \uD83E\uDD79","Good night \uD83C\uDF19","Let us go \uD83D\uDE80","Love this \uD83D\uDE0D","Nice work \uD83D\uDC4F"]}],C=[{key:"simple",title:"Simple",description:"Fixed count output for fast copy and paste.",borderClass:"before:bg-sky-400",badgeClass:"bg-sky-100 text-sky-700",icon:n},{key:"stairUp",title:"Stair Up",description:"Build upward from the first line to the peak count.",borderClass:"before:bg-amber-300",badgeClass:"bg-amber-50 text-amber-700",icon:o}
1,{key:"stairDown",title:"Stair Down",description:"Start big and taper down line by line.",borderClass:"before:bg-emerald-300",badgeClass:"bg-emerald-50 text-emerald-700",icon:i},{key:"pyramid",title:"Pyramid",description:"Climb to the peak and mirror the shape back down.",borderClass:"before:bg-orange-300",badgeClass:"bg-orange-50 text-orange-700",icon:u}],D={repeatCount:10,step:1,separatorMode:"space",customSeparator:""},A="h-11 w-full appearance-none rounded-2xl border-4 border-slate-100 bg-white px-3 pr-8 text-sm font-black text-slate-900 shadow-none outline-none transition-colors duration-200 focus:border-emerald-200 sm:h-16 sm:px-5 sm:pr-12 sm:text-lg",_="grid grid-cols-[auto_minmax(0,1fr)] items-center gap-2 sm:grid-cols-[minmax(0,1fr)_10.5rem] sm:gap-x-4",E="w-full min-w-0 sm:w-[10.5rem] sm:justify-self-start",z="h-11 w-full min-w-0 rounded-2xl border-4 border-slate-100 bg-white px-3 text-base font-black shadow-none focus-visible:border-emerald-200 sm:h-16 sm:px-4 sm:text-lg",F="h-10 w-full rounded-2xl px-4 text-sm font-black transition-all duration-200 sm:h-16 sm:px-6 sm:text-xl";function L(e){let{icon:t,title:l,compactTitle:a=l,htmlFor:s}=e;return(0,r.jsxs)(s?"label":"div",{className:(0,y.cn)("flex min-w-0 items-center gap-1.5 text-xs font-black text-slate-700 sm:gap-3 sm:text-lg",s?"cursor-pointer":null),htmlFor:s,children:[(0,r.jsx)("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-xl border-2 border-slate-100 bg-white text-slate-500 shadow-sm sm:size-11 sm:rounded-2xl sm:border-4",children:(0,r.jsx)(t,{className:"size-4 sm:size-5"})}),(0,r.jsxs)("p",{className:"min-w-0 whitespace-nowrap text-xs font-black text-slate-800 sm:text-lg",children:[(0,r.jsx)("span",{className:"sm:hidden",children:a}),(0,r.jsx)("span",{className:"hidden sm:inline",children:l})]})]})}function M(e){let{item:t,result:l,params:a,copiedKey:s,onCopy:n}=e,o=l&&"object"==typeof l&&l.error,i=o?"":null!=l?l:"",u=t.icon,p=function(e,t,l){if(!l)return"";let r="".concat(l.length.toLocaleString()," chars");if("simple"===e)return"".concat(r," | ").concat(Number(t.repeatCount).toLocaleString()," repeats");try{let l=function(e,t){if("simple"===e)return Number(t.repeatCount);let l=(0,j.IA)({start:1,end:Number(t.repeatCount),step:Number(t.step),descending:"stairDown"===e,endLabel:"Number of repetitions"}).length;return"pyramid"===e?2*l-1:l}(e,t);return"".concat(r," | ").concat(l.toLocaleString()," lines")}catch(e){return r}}(t.key,a,i),m=s===t.key;return(0,r.jsxs)("article",{className:(0,y.cn)("relative w-full overflow-hidden rounded-[2.5rem] border-4 border-slate-100 bg-slate-50 p-8 shadow-[0_28px_70px_-42px_rgba(15,23,42,0.18)] transition-transform duration-200 hover:-translate-y-1 before:absolute before:bottom-0 before:left-0 before:top-0 before:w-3",t.borderClass),children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex min-w-0 items-start gap-4",children:[(0,r.jsx)("span",{className:(0,y.cn)("flex size-14 shrink-0 items-center justify-center rounded-[1.5rem] border-4 border-white",t.badgeClass),children:(0,r.jsx)(u,{className:"size-6"})}),(0,r.jsx)("div",{className:"min-w-0 pt-1",children:(0,r.jsx)("h3",{className:"text-3xl font-black tracking-tight text-slate-950",children:t.title})})]}),(0,r.jsx)(b.$,{variant:"ghost",size:"icon",className:"size-14 shrink-0 rounded-full border-4 border-white bg-white text-slate-500 shadow-sm transition-transform hover:bg-white hover:text-slate-950 active:scale-90",onClick:()=>i&&n(t.key,i),disabled:!i,"aria-label":"Copy ".concat(t.title," output"),children:m?(0,r.jsx)(d.A,{className:"size-5 text-emerald-500"}):(0,r.jsx)(c.A,{className:"size-5"})})]}),(0,r.jsx)("div",{className:"mt-5 rounded-[2.5rem] border-4 border-white bg-white/80 p-5",children:o?(0,r.jsx)("p",{className:"text-lg font-medium leading-relaxed text-rose-500",children:l.error}):i?(0,r.jsx)("div",{className:"max-h-[260px] overflow-auto whitespace-pre-wrap break-words font-mono text-lg leading-relaxed text-slate-700",children:i}):(0,r.jsx)("p",{className:"text-lg font-medium leading-relaxed text-slate-500",children:"Generate once and this panel will fill with a copy-ready version."})}),(0,r.jsxs)("div",{className:"mt-4 flex items-center justify-between gap-3",children:[(0,r.jsx)("span",{className:"inline-flex rounded-full border-4 border-white bg-white px-4 py-2 text-lg font-black uppercase tracking-[0.12em] text-slate-500",children:i?"Ready":"Standby"}),(0,r.jsx)("span",{className:"text-lg font-medium uppercase tracking-[0.08em] text-slate-500",children:p||"Generate to preview"})]})]})}function T(){var e;let t=(0,a.useRef)(null),l=(0,a.useRef)(null),s=(0,a.useRef)(null),o=(0,a.useRef)(!1),[i,u]=(0,a.useState)(""),[d,c]=(0,a.useState)(D),[T,R]=(0,a.useState)("plain"),[q,I]=(0,a.useState)(null),[G,V]=(0,a.useState)(null),[Q,O]=(0,a.useState)("text"),[Z,H]=(0,a.useState)(""),[P,U]=(0,a.useState)(0),[X,B]=(0,a.useState)(!1),Y=null!=(e=S.find(e=>e.key===Q))?e:S[0];null!=N.YN.find(e=>e.value===T)||N.YN[0];let K=(0,N.jn)(i,T);function W(e,t){c(l=>({...l,[e]:t}))}async function J(e,t){try{await navigator.clipboard.writeText(t),V(e),H(""),(0,k.nj)({action:"copy",path:"/text-repeater/",text:t}),l.current&&window.clearTimeout(l.current),l.current=window.setTimeout(()=>{V(null)},1800)}catch(e){H("Copy failed. You can still select the output manually.")}}return(0,a.useEffect)(()=>{let e=(0,k.wF)();e&&u(e)},[]),(0,a.useEffect)(()=>()=>{l.current&&window.clearTimeout(l.current)},[]),(0,a.useEffect)(()=>{q&&o.current&&(o.current=!1,window.requestAnimationFrame(()=>{var e;let t=window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth";null==(e=s.current)||e.scrollIntoView({behavior:t,block:"start"})}))},[q,P]),(0,r.jsxs)("section",{className:"mx-auto mt-6 w-full max-w-6xl",id:"tool",children:[(0,r.jsx)("div",{className:"rounded-[2.5rem] border-[6px] border-slate-100 bg-white p-5 shadow-2xl sm:rounded-[3rem] sm:p-8 lg:rou
1nded-[4rem] lg:p-12",children:(0,r.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,r.jsxs)("div",{className:"overflow-hidden rounded-[3rem] border-4 border-slate-100 bg-slate-50/70",children:[(0,r.jsx)(w.T,{ref:t,"aria-label":"Text to repeat",value:i,onChange:e=>u(e.target.value),placeholder:"Enter the text you want to repeat...",className:"min-h-[180px] resize-none rounded-none border-0 bg-transparent p-5 text-2xl font-bold leading-tight text-slate-900 shadow-none placeholder:text-slate-200 focus-visible:border-0 focus-visible:ring-0 sm:min-h-[220px] sm:p-8 sm:text-3xl lg:text-4xl"}),(0,r.jsxs)("div",{className:"border-t-4 border-slate-100 p-6 sm:p-7 lg:p-8",children:[(0,r.jsxs)("div",{className:"grid gap-5 xl:grid-cols-[minmax(0,1fr)_11rem] xl:items-start xl:gap-6",children:[(0,r.jsxs)("div",{className:"grid w-full gap-y-2 sm:gap-x-8 sm:gap-y-4 md:grid-cols-2",children:[(0,r.jsxs)("div",{className:_,children:[(0,r.jsx)(L,{icon:p.A,title:"Repeat Count",compactTitle:"Repeat",htmlFor:"repeat-count"}),(0,r.jsx)("div",{className:E,children:(0,r.jsx)(f.p,{id:"repeat-count",type:"number",min:"1",max:j.p,inputMode:"numeric",value:d.repeatCount,onChange:e=>W("repeatCount",e.target.value),"data-mobile-full-height":"true",className:z})})]}),(0,r.jsxs)("div",{className:_,children:[(0,r.jsx)(L,{icon:n,title:"Step Size",compactTitle:"Step",htmlFor:"step-size"}),(0,r.jsx)("div",{className:E,children:(0,r.jsx)(f.p,{id:"step-size",type:"number",min:"1",max:j.p,inputMode:"numeric",value:d.step,onChange:e=>W("step",e.target.value),"data-mobile-full-height":"true",className:z})})]}),(0,r.jsxs)("div",{className:_,children:[(0,r.jsx)(L,{icon:m.A,title:"Separator",compactTitle:"Gap",htmlFor:"separator-mode"}),(0,r.jsxs)("div",{className:(0,y.cn)("relative min-w-0",E),children:[(0,r.jsx)("select",{id:"separator-mode",value:d.separatorMode,onChange:e=>W("separatorMode",e.target.value),className:A,"data-mobile-full-height":"true","aria-label":"Separator",children:j.Ov.map(e=>(0,r.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,r.jsx)("span",{className:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-slate-500",children:(0,r.jsx)(x.A,{className:"size-5"})})]})]}),(0,r.jsxs)("div",{className:_,children:[(0,r.jsx)(L,{icon:h.A,title:"Stylish Text",compactTitle:"Style",htmlFor:"stylish-text"}),(0,r.jsxs)("div",{className:(0,y.cn)("relative min-w-0",E),children:[(0,r.jsx)("select",{id:"stylish-text",value:T,onChange:e=>R(e.target.value),className:A,"data-mobile-full-height":"true","aria-label":"Stylish Text",children:N.YN.map(e=>(0,r.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,r.jsx)("span",{className:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-slate-500",children:(0,r.jsx)(x.A,{className:"size-5"})})]})]})]}),(0,r.jsxs)("div",{className:"flex w-full flex-col gap-4 sm:flex-row xl:ml-2 xl:w-44 xl:flex-col",children:[(0,r.jsx)(b.$,{type:"button",onClick:function(){o.current=!0,I(function(e,t){let l={separatorMode:t.separatorMode,customSeparator:t.customSeparator},r={};try{r.simple=(0,j.d)({text:e,count:Number(t.repeatCount),...l})}catch(e){r.simple={error:e.message}}try{r.stairUp=(0,j.bE)({text:e,start:1,end:Number(t.repeatCount),step:Number(t.step),...l})}catch(e){r.stairUp={error:e.message}}try{r.stairDown=(0,j.SF)({text:e,start:1,end:Number(t.repeatCount),step:Number(t.step),...l})}catch(e){r.stairDown={error:e.message}}try{r.pyramid=(0,j.HE)({text:e,peak:Number(t.repeatCount),step:Number(t.step),...l})}catch(e){r.pyramid={error:e.message}}return r}(K,d)),U(e=>e+1),V(null),H("")},className:(0,y.cn)(F,"border-4 border-emerald-800 bg-emerald-700 text-white shadow-[0_8px_0_0_#065f46] hover:bg-emerald-800 hover:shadow-[0_8px_0_0_#064e3b] active:translate-y-2 active:shadow-none"),children:"Generate"}),(0,r.jsx)(b.$,{type:"button",variant:"outline",onClick:function(){u(""),c(D),R("plain"),I(null),V(null),H(""),requestAnimationFrame(()=>{t.current&&t.current.focus()})},className:(0,y.cn)(F,"border-4 border-slate-200 bg-slate-200 text-slate-600 shadow-[0_8px_0_0_#cbd5e1] hover:bg-slate-300 hover:text-slate-700 hover:shadow-[0_8px_0_0_#94a3b8] active:translate-y-2 active:shadow-none"),children:"Clear"})]})]}),(0,r.jsxs)("div",{className:"mt-4 flex flex-col gap-4 lg:flex-row",children:["custom"===d.separatorMode?(0,r.jsxs)("div",{className:"w-full lg:max-w-xs",children:[(0,r.jsx)(L,{icon:m.A,title:"Custom Separator",htmlFor:"custom-separator"}),(0,r.jsx)(f.p,{id:"custom-separator",type:"text",value:d.customSeparator,onChange:e=>W("customSeparator",e.target.value),placeholder:"Type your separator",className:"h-16 rounded-2xl border-4 border-slate-100 text-lg font-black shadow-none focus-visible:border-emerald-200"})]}):null,"plain"!==T?(0,r.jsxs)("div",{className:"w-full rounded-[2.5rem] border-4 border-slate-100 bg-white/80 p-5 shadow-[0_18px_40px_-32px_rgba(15,23,42,0.16)]",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3 text-lg font-black text-slate-700",children:[(0,r.jsx)("span",{className:"flex size-11 items-center justify-center rounded-[1.25rem] bg-emerald-50 text-emerald-600",children:(0,r.jsx)(h.A,{className:"size-4"})}),"Stylish preview"]}),(0,r.jsx)("p",{className:"mt-3 rounded-[2.5rem] border-4 border-slate-100 bg-slate-50 px-4 py-3 text-lg font-medium leading-relaxed text-slate-600",children:K||"Type something above to preview the selected style."})]}):null]})]})]}),(0,r.jsx)("div",{className:"rounded-[2.5rem] border-4 border-slate-100 bg-slate-50/60 px-4 sm:px-5",children:(0,r.jsxs)("div",{className:"py-4 sm:py-5",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"quick-templates-heading",className:"block text-lg font-black uppercase tracking-[0.12em] text-slate-600",children:"Qu
1ick templates"}),(0,r.jsx)("p",{className:"mt-1 text-lg font-medium leading-relaxed text-slate-600",children:"Drop a phrase or emoji in with one tap."})]}),(0,r.jsx)("button",{type:"button","aria-expanded":X,"aria-controls":"quick-templates-panel","aria-labelledby":"quick-templates-heading",onClick:()=>B(e=>!e),className:"mt-1 flex shrink-0 items-center gap-3 rounded-full p-2 text-left text-xl font-black text-slate-700 transition hover:bg-white/70 sm:text-2xl",children:(0,r.jsx)(x.A,{className:(0,y.cn)("size-5 shrink-0 text-slate-500 transition-transform duration-200",X?"rotate-180":"")})})]}),X?(0,r.jsxs)("div",{id:"quick-templates-panel",className:"pt-4",children:[(0,r.jsx)("div",{className:"flex flex-wrap gap-2",children:S.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>O(e.key),className:(0,y.cn)("rounded-full border-4 px-5 py-3 text-lg font-black transition-all sm:px-6 sm:py-4",Q===e.key?"border-slate-900 bg-slate-900 text-white shadow-[0_10px_24px_-14px_rgba(15,23,42,0.5)]":"border-slate-200 bg-slate-200/70 text-slate-700 hover:bg-slate-200"),children:e.label},e.key))}),(0,r.jsx)("div",{className:(0,y.cn)("mt-4","emoji"===Q?"grid grid-cols-2 gap-3 sm:flex sm:flex-wrap":"flex flex-wrap gap-3"),children:Y.items.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>{u(e),V(null),H(""),requestAnimationFrame(()=>{t.current&&(t.current.focus(),t.current.setSelectionRange(e.length,e.length))})},className:(0,y.cn)("emoji"===Q?"flex min-h-16 items-center justify-center rounded-full border-4 px-0 py-0 text-2xl font-black transition-all sm:min-h-0 sm:px-6 sm:py-4 sm:text-lg":"rounded-full border-4 px-4 py-3 text-lg font-black transition-all sm:px-6 sm:py-4",i===e?"border-emerald-200 bg-emerald-50 text-emerald-700 shadow-sm":"border-white bg-white text-slate-600 hover:border-slate-200 hover:bg-slate-50"),children:e},e))})]}):null]})}),(0,r.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,r.jsx)("p",{className:"text-lg font-medium leading-relaxed text-slate-500",children:"Runs locally in your browser."}),(0,r.jsx)(g.Ay,{currentPath:"/text-repeater/"})]}),Z?(0,r.jsx)("p",{className:"rounded-[2.5rem] border-4 border-rose-100 bg-rose-50 px-4 py-3 text-lg font-medium text-rose-500",children:Z}):null]})}),(0,r.jsx)(v.A,{}),q?(0,r.jsxs)("section",{ref:s,className:"mx-auto mt-12 mb-20 max-w-6xl scroll-mt-28 sm:scroll-mt-32","aria-live":"polite",children:[(0,r.jsxs)("div",{className:"mb-6 flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between",children:[(0,r.jsx)("div",{children:(0,r.jsx)("h2",{className:"text-3xl font-black tracking-tighter text-slate-950 sm:text-4xl lg:text-5xl",children:"Four-way outputs, each with its own shape."})}),(0,r.jsx)("p",{className:"max-w-xl text-lg font-medium leading-relaxed text-slate-500",children:"You can see every format at once, compare the shape quickly, and copy the result that fits your message, caption, or test case."})]}),(0,r.jsx)("div",{className:"grid grid-cols-1 gap-8 md:grid-cols-2",children:C.map(e=>(0,r.jsx)(M,{item:e,result:q[e.key],params:d,copiedKey:G,onCopy:J},e.key))},P)]}):null]})}},97555:(e,t,l)=>{l.d(t,{p:()=>n});var r=l(95155),a=l(12115),s=l(49498);let n=a.forwardRef((e,t)=>{let{className:l,type:a="text",...n}=e;return(0,r.jsx)("input",{ref:t,type:a,className:(0,s.cn)("flex h-14 w-full rounded-[1.4rem] border border-slate-200 bg-white px-4 py-3 text-base font-medium 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",l),...n})});n.displayName="Input"}}]);

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.