PageSourceSearch

https://thedreamdaze-42247.firebaseapp.com/_nuxt/DpH6GQp7.js

js thedreamdaze-42247.firebaseapp.com collected 2026-10-03 14:08:25 UTC 4,594 bytes, 1 lines download raw bytes

1import{aa as ne,ab as le,ae as oe,k as w,r as v,s as ue,aw as re,o as ie,ap as c,e as se,a8 as k,ax as ce,ai as de,as as fe,C as R,A as u,L as N,al as S,ay as _,az as ve,N as me,at as xe}from"./D-AzzlWp.js";import{u as ge,m as he,a as we,b as G,c as D,d as Ve,e as ye}from"./CUJ8KWE0.js";import{f as Ce}from"./olVGSFH9.js";import{I as E}from"./BCmPIKqL.js";import{u as be}from"./B8ADXjAS.js";const Fe=le({autoGrow:Boolean,autofocus:Boolean,counter:[Boolean,Number,String],counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...we(),...he()},"VTextarea"),Se=ne()({name:"VTextarea",directives:{vIntersect:E},inheritAttrs:!1,props:Fe(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0,"update:rows":e=>!0},setup(e,U){let{attrs:V,emit:y,slots:r}=U;const a=oe(e,"modelValue"),{isFocused:d,focus:O,blur:p}=ge(e),{onIntersect:$}=ye(e),j=w(()=>typeof e.counterValue=="function"?e.counterValue(a.value):(a.value||"").toString().length),L=w(()=>{if(V.maxlength)return V.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),z=v(),m=v(),A=ue(""),x=v(),q=w(()=>e.persistentPlaceholder||d.value||e.active);function C(){x.value!==document.activeElement&&x.value?.focus(),d.value||O()}function J(t){C(),y("click:control",t)}function K(t){y("mousedown:control",t)}function Q(t){t.stopPropagation(),C(),k(()=>{a.value="",xe(e["onClick:clear"],t)})}function W(t){const n=t.target;if(a.value=n.value,e.modelModifiers?.trim){const l=[n.selectionStart,n.selectionEnd];k(()=>{n.selectionStart=l[0],n.selectionEnd=l[1]})}}const i=v(),f=v(Number(e.rows)),b=w(()=>["plain","underlined"].includes(e.variant));re(()=>{e.autoGrow||(f.value=Number(e.rows))});function s(){e.autoGrow&&k(()=>{if(!i.value||!m.value)return;const t=getComputedStyle(i.value),n=getComputedStyle(m.value.$el),l=parseFloat(t.getPropertyValue("--v-field-padding-top"))+parseFloat(t.getPropertyValue("--v-input-padding-top"))+parseFloat(t.getPropertyValue("--v-field-padding-bottom")),F=i.value.scrollHeight,h=parseFloat(t.lineHeight),P=Math.max(parseFloat(e.rows)*h+l,parseFloat(n.getPropertyValue("--v-input-control-height"))),I=parseFloat(e.maxRows)*h+l||1/0,o=de(F??0,P,I);f.value=Math.floor((o-l)/h),A.value=ce(o)})}ie(s),c(a,s),c(()=>e.rows,s),c(()=>e.maxRows,s),c(()=>e.density,s),c(f,t=>{y("update:rows",t)});let g;return c(i,t=>{t?(g=new ResizeObserver(s),g.observe(i.value)):g?.disconnect()}),se(()=>{g?.disconnect()}),be(()=>{const t=!!(r.counter||e.counter||e.counterValue),n=!!(t||r.details),[l,F]=fe(V),{modelValue:h,...P}=G.filterProps(e),I=D.filterProps(e);return R(G,S({ref:z,modelValue:a.value,"onUpdate:modelValue":o=>a.value=o,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":b.value},e.class],style:e.style},l,P,{centerAffix:f.value===1&&!b.value,focused:d.value}),{...r,default:o=>{let{id:X,isDisabled:B,isDirty:M,isReadonly:Y,isValid:Z,hasDetails:ee}=o;return R(D,S({ref:m,style:{"--v-textarea-control-height":A.value},onClick:J,onMousedown:K,"onClick:clear":Q,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},I,{id:X.value,active:q.value||M.value,centerAffix:f.value===1&&!b.value,dirty:M.value||e.dirty,disabled:B.value,focused:d.value,details:ee.value,error:Z.value===!1}),{...r,default:te=>{let{props:{class:H,...T}}=te;return u(N,null,[e.prefix&&u("span",{class:"v-text-field__prefix"},[e.prefix]),_(u("textarea",S({ref:x,class:H,value:a.value,onInput:W,autofocus:e.autofocus,readonly:Y.value,disabled:B.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:C,onBlur:p},T,F),null),[[E,{handler:$},null,{once:!0}]]),e.autoGrow&&_(u("textarea",{class:me([H,"v-textarea__sizer"]),id:`${T.id}-sizer`,"onUpdate:modelValue":ae=>a.value=ae,ref:i,readonly:!0,"aria-hidden":"true"},null),[[ve,a.value]]),e.suffix&&u("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:n?o=>u(N,null,[r.details?.(o),t&&u(N,null,[u("span",null,null),R(Ve,{active:e.persistentCounter||d.value,value:j.value,max:L.value,disabled:e.disabled},r.counter)])]):void 0})}),Ce({},z,m,x)}});
1export{Se as V};

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.