1import{r as c,j as t}from"./components-CsZq-lS8.js";import{c as p}from"./index-EM_bzCjB.js";import{c as y,L as h,F as v,d as j}from"./root-B5amSGMy.js";import{c as u}from"./link-T4NjFSxu.js";import"./_old_redirect.category_._categoryName_._range-8LbY5Oej.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="b4a3261d-a430-4275-90dc-a9fc8503516e",a._sentryDebugIdIdentifier="sentry-dbid-b4a3261d-a430-4275-90dc-a9fc8503516e")}catch{}})();const w=p(["block w-full resize-none rounded-2xl border border-grey-300 placeholder:text-grey-400","aria-invalid:border-danger-500 aria-invalid:text-danger-700 aria-invalid:ring-danger-500 aria-invalid:placeholder:text-danger-300","disabled:cursor-not-allowed disabled:opacity-50"],{variants:{size:{xs:"min-h-6 px-3 py-1 text-xs",sm:"min-h-8 px-4 py-1.5 text-sm",default:"min-h-10 px-4 py-2 text-sm",lg:"min-h-12 px-5 py-3 text-base"},iconPosition:{left:"pl-11",right:"pr-11"}},defaultVariants:{size:"default"}}),I=p("absolute inset-y-0 flex items-end justify-center pb-3 text-xl text-grey-400",{variants:{size:{default:"",xs:"",sm:"",lg:""},iconPosition:{left:"left-0 pl-3",right:"right-0 pr-3"}},defaultVariants:{size:"default",iconPosition:"right"}}),T=c.forwardRef(function({id:e,label:r,infoMessage:s,errorMessage:n,icon:o,iconPosition:x="right",onIconClick:f,absoluteComponent:m,size:d,className:b,...l},g){const i=c.useId();return t.jsxs("div",{className:u("group",b),"aria-disabled":l.disabled,children:[r?t.jsx(h,{htmlFor:e||i,required:l.required,inputSize:d,children:r}):null,t.jsxs("div",{className:u("relative",r&&"mt-1.5"),children:[t.jsx("textarea",{id:e||i,rows:l.rows||6,"aria-invalid":!!n,"aria-describedby":`${e||i}-info ${e||i}-error`,className:u(w({size:d,iconPosition:o?x:null})),ref:g,...l}),o?t.jsx("div",{className:u(I({size:d,iconPosition:x})),children:f?t.jsx("button",{type:"button",onClick:f,"aria-label":`Valider le champ ${r||l.name}`,children:o}):o}):null,m||null]}),s?t.jsx(v,{inputId:e||i,inputSize:d,children:s}):null,n?t.jsx(j,{inputId:e||i,inputSize:d,children:n}):null]})}),E=c.forwardRef(function(e,r){const{error:s,getInputProps:n}=y(e.name??"");return t.jsx(T,{ref:r,...e,...n({errorMessage:s,...e})})});export{T,E as V}; 2//# sourceMappingURL=textarea-DXuxttRR.js.map
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.