import{d as u,s as h,c as n,o as s,F as g,q as f,I as r,a as k,t as v,k as y}from"./index-CDPBytck.js";import{s as x}from"./ReferenceContentLoader-34zh6S1n.js";const c=500,i=100,$=u({__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(m){const p=m,e=h(()=>p.art.split(`
`)),d=(a,o)=>({animationDuration:`${a*i}ms, ${c}ms`,animationTimingFunction:`steps(${a}), step-end`,animationDelay:`${o*i}ms, 0ms`,animationIterationCount:`1, ${((e.value?.length??0)+(e.value?.[e.value?.length-1]?.length??0)+5)*i/c}`});return(a,o)=>(s(),n("div",{"aria-hidden":"true",class:y(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{"ascii-art-animate":a.animate}]),role:"presentation",inert:""},[(s(!0),n(g,null,f(e.value,(t,l)=>(s(),n("span",{key:l,class:"inline-block",style:r({width:`calc(${t.length+1}ch)`})},[k("span",{class:"inline-block whitespace-pre overflow-hidden",style:r(d(t.length,l))},v(t),5)],4))),128))],2))}}),b=x($,[["__scopeId","data-v-69ebd973"]]);export{b as i};
