!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b124cf22-939b-4360-8e24-f3a9b2c06f25",e._sentryDebugIdIdentifier="sentry-dbid-b124cf22-939b-4360-8e24-f3a9b2c06f25")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4758],{7e3:function(e,t,a){Promise.resolve().then(a.bind(a,71733)),Promise.resolve().then(a.bind(a,53032)),Promise.resolve().then(a.bind(a,1743)),Promise.resolve().then(a.bind(a,2930)),Promise.resolve().then(a.bind(a,28319)),Promise.resolve().then(a.bind(a,75151)),Promise.resolve().then(a.t.bind(a,72972,23))},15155:function(e,t,a){"use strict";function r(e){let{src:t,width:a,quality:r}=e;return t.startsWith("http")&&t.startsWith("https://fantasyimg.com")?"https://fantasyimg.com/cdn-cgi/image/width=".concat(a,",quality=").concat(r||60,"/").concat(t):t}a.r(t),a.d(t,{default:function(){return r}})},71733:function(e,t,a){"use strict";var r=a(57437),s=a(87770),n=a(88471),l=a.n(n),o=a(33145),i=a(27648);function d(e){let{character:t}=e,{isSignedIn:a}=(0,s.aC)(),n="/ai-girlfriend/".concat(t.slug);return(0,r.jsxs)(i.default,{className:"relative w-full group",href:n,"data-sentry-element":"Link","data-sentry-component":"CreatorCharacterCard","data-sentry-source-file":"creator-characters.jsx",children:[(0,r.jsxs)("div",{className:"relative w-full aspect-square",children:[(0,r.jsx)("div",{className:"w-full h-full relative",children:(0,r.jsx)(o.default,{src:t.avatar,className:"transition w-full h-full object-cover object-top",loading:"lazy",alt:"".concat(t.name," AI Girlfriend avatar"),fill:!0,"data-sentry-element":"Image","data-sentry-source-file":"creator-characters.jsx"})}),(0,r.jsx)("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity absolute inset-0 bg-black/50"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-sm md:text-base mt-2 font-semibold",children:t.name}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground",children:l()(t.description,{length:50})})]})]})}t.default=function(e){let{creator:t}=e;return(0,r.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2","data-sentry-component":"CreatorCharacters","data-sentry-source-file":"creator-characters.jsx",children:t.characters.map(e=>(0,r.jsx)(d,{character:e},e.slug))})}},53032:function(e,t,a){"use strict";var r=a(57437),s=a(28319),n=a(75151),l=a(95872),o=a(32249),i=a(58586),d=a(51817),c=a(27648),m=a(38480),u=a.n(m);let f={followers:{title:"Followers",empty:e=>"".concat(e.username," doesn't have any followers yet")},following:{title:"Following",empty:e=>"".concat(e.username," isn't following anyone yet")}};t.default=function(e){let{creator:t,type:a}=e,{data:m,isLoading:x}=(0,i.a)({queryKey:o.a.Creators.follows(t.username,a).queryKey,queryFn:()=>l.x.get("/creators/".concat(t.username,"/").concat(a))}),p=(null==m?void 0:m.list)||[];return x?(0,r.jsx)("div",{className:"w-full max-w-lg mx-auto p-10 flex items-center justify-center",children:(0,r.jsx)(d.Z,{className:"w-10 h-10 animate-spin text-muted-foreground"})}):0===p.length?(0,r.jsx)("div",{className:"w-full max-w-lg mx-auto p-10 text-center text-muted-foreground",children:f[a].empty(t)}):(0,r.jsx)("div",{className:"w-full max-w-lg mx-auto bg-black/20 p-2 rounded-xl","data-sentry-component":"CreatorFollowList","data-sentry-source-file":"creator-follow-list.jsx",children:p.map(e=>(0,r.jsxs)(c.default,{className:"flex items-center transition hover:bg-accent/30 p-2 rounded-xl",href:"/creators/".concat(e.username),children:[(0,r.jsxs)(n.Avatar,{className:"size-10 md:size-16 mr-2 md:mr-4",children:[(0,r.jsx)(n.AvatarImage,{src:e.avatar,className:"w-full h-full rounded-full object-cover"}),(0,r.jsx)(n.AvatarFallback,{className:"w-full h-full rounded-full",children:e.username[0]})]}),(0,r.jsxs)("div",{className:"grow-1 w-full min-w-0",children:[(0,r.jsxs)("div",{className:"font-semibold",children:["@",e.username]}),(0,r.jsxs)("div",{className:"text-muted-foreground text-sm truncate",children:[u()(e.characters_count).format("0,0a")," characters",e.bio?" - ".concat(e.bio):""]})]}),(0,r.jsx)("div",{className:"ml-auto pl-2",children:(0,r.jsx)(s.default,{username:e.username})})]},e.username))})}},1743:function(e,t,a){"use strict";a.d(t,{default:function(){return z}});var r=a(57437),s=a(28319),n=a(29501),l=a(3646),o=a(46143),i=a(31229),d=a(13590),c=a(25827),m=a(95872),u=a(2265),f=a(70394),x=a(57537),p=a(54134),h=a(51817),g=a(69064),b=a(10220);let y=i.z.object({username:i.z.string().min(3,{message:"Username must be at least 3 characters."}).regex(/^[a-zA-Z0-9_-]+$/,{message:"Username can only contain letters, numbers, dashes, and underscores."}).refine(async e=>{try{return(await m.x.post("/creators/check-username",{username:e})).available}catch(e){return!1}},{message:"Username is already taken."}),bio:i.z.string().max(255,{message:"Bio cannot be more than 255 characters."}),is_public:i.z.boolean().optional()});var j=function(e){let{open:t,onOpenChange:a,onSaved:s}=e,{me:i}=(0,c.P)(),j=(0,n.cI)({resolver:(0,d.F)(y),defaultValues:{username:(null==i?void 0:i.username)||"",bio:(null==i?void 0:i.bio)||"",is_public:(null==i?void 0:i.is_public)||!1}});(0,u.useEffect)(()=>{i&&(console.log("me",i),j.setValue("username",i.username||""),j.setValue("bio",i.bio||""),j.setValue("is_public",i.is_public||!1))},[i,j]);let v=async e=>{try{await m.x.put("/users/me",{user:e}),g.ZP.success("Profile updated successfully."),s(e)}catch(e){g.ZP.error("An error occurred. Please try again.")}};return(0,r.jsx)(l.Dialog,{open:t,onOpenChange:a,"data-sentry-element":"Dialog","data-sentry-component":"ProfileEditDialog","data-sentry-source-file":"profile-edit-dialog.jsx",children:(0,r.jsxs)(l.DialogContent,{"data-sentry-element":"DialogContent","data-sentry-source-file":"profile-edit-dialog.jsx",children:[(0,r.jsxs)(l.DialogHeader,{"data-sentry-element":"DialogHeader","data-sentry-source-file":"profile-edit-dialog.jsx",children:[(0,r.jsx)(l.DialogTitle,{"data-sentry-element":"DialogTitle","data-sentry-source-file":"profile-edit-dialog.jsx",children:"Edit Profile"}),(0,r.jsx)(l.DialogDescription,{"data-sentry-element":"DialogDescription","data-sentry-source-file":"profile-edit-dialog.jsx",children:"Customize how your public profile appears to others"})]}),(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(o.l0,{...j,"data-sentry-element":"Form","data-sentry-source-file":"profile-edit-dialog.jsx",children:(0,r.jsxs)("form",{onSubmit:j.handleSubmit(v),className:"space-y-4",children:[(0,r.jsx)(o.Wi,{control:j.control,name:"username",render:e=>{let{field:t}=e;return(0,r.jsxs)(o.xJ,{children:[(0,r.jsx)(o.lX,{children:"Username"}),(0,r.jsx)(o.NI,{children:(0,r.jsxs)("div",{className:"mt-2 flex rounded-md shadow-sm",children:[(0,r.jsx)("span",{className:"inline-flex items-center rounded-l-md border-r-0 border pl-3 pr-2 text-muted-foreground sm:text-sm",children:"fantasygf.ai/creators/"}),(0,r.jsx)(f.I,{...t,placeholder:"your-username",className:"rounded-l-none"})]})}),(0,r.jsx)(o.zG,{})]})},"data-sentry-element":"FormField","data-sentry-source-file":"profile-edit-dialog.jsx"}),(0,r.jsx)(o.Wi,{control:j.control,name:"bio",render:e=>{let{field:t}=e;return(0,r.jsxs)(o.xJ,{children:[(0,r.jsx)(o.lX,{children:"Bio"}),(0,r.jsx)(o.NI,{children:(0,r.jsx)(x.g,{rows:3,...t,placeholder:"Write a short bio about yourself. What kind of characters do you like to create? What inspires you?"})}),(0,r.jsx)(o.zG,{})]})},"data-sentry-element":"FormField","data-sentry-source-file":"profile-edit-dialog.jsx"}),(0,r.jsx)(o.Wi,{control:j.control,name:"is_public",render:e=>{let{field:t}=e;return(0,r.jsxs)(o.xJ,{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)(o.NI,{children:(0,r.jsx)(b.r,{checked:t.value,onCheckedChange:t.onChange,className:"scale-75"})}),(0,r.jsx)(o.lX,{children:"Make my profile public"})]}),(0,r.jsx)(o.zG,{})]})},"data-sentry-element":"FormField","data-sentry-source-file":"profile-edit-dialog.jsx"}),(0,r.jsx)(p.z,{disabled:j.formState.isSubmitting,variant:"pink","data-sentry-element":"Button","data-sentry-source-file":"profile-edit-dialog.jsx",children:j.formState.isSubmitting?(0,r.jsx)(h.Z,{className:"animate-spin h-5 w-5"}):"Save"})]})})})]})})},v=a(75151),N=a(37062),w=a(87770),k=a(86990),C=a(17689),D=a(27648),F=a(99376),I=a(38480),P=a.n(I);function _(e){let{creator:t,tab:a}=e;return(0,r.jsxs)("div",{className:"grid grid-cols-4 md:flex items-center md:-mx-4 md:flex-wrap text-xs md:text-base relative","data-sentry-component":"CreatorStats","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsxs)(D.default,{href:"/creators/".concat(t.username),className:(0,N.cn)("p-2 py-3 md:py-0 md:px-4 flex flex-col md:flex-row text-center border-b-2 md:border-b-0 md:bottom-0 border-transparent -bottom-px relative",("characters"==a||!a)&&"border-white"),"data-sentry-element":"Link","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsx)("span",{className:"font-bold md:mr-1.5",children:P()(t.characters_count).format("0,0a")}),(0,r.jsx)("span",{className:"text-muted-foreground md:text-primary",children:"Characters"})]}),(0,r.jsxs)(D.default,{href:"/creators/".concat(t.username,"/followers"),className:(0,N.cn)("p-2 py-3 md:py-0 md:px-4 flex flex-col md:flex-row text-center border-b-2 md:border-b-0 md:bottom-0 border-transparent -bottom-px relative","followers"==a&&"border-white"),"data-sentry-element":"Link","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsxs)("span",{className:"font-bold md:mr-1.5",children:[P()(t.followers_count).format("0,0a")," "]}),(0,r.jsx)("span",{className:"text-muted-foreground md:text-primary",children:"Followers"})]}),(0,r.jsxs)(D.default,{href:"/creators/".concat(t.username,"/following"),className:(0,N.cn)("p-2 py-3 md:py-0 md:px-4 flex flex-col md:flex-row text-center border-b-2 md:border-b-0 md:bottom-0 border-transparent -bottom-px relative","following"==a&&"border-white"),"data-sentry-element":"Link","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsx)("span",{className:"font-bold md:mr-1.5",children:P()(t.following_count).format("0,0a")}),(0,r.jsx)("span",{className:"text-muted-foreground md:text-primary",children:"Following"})]}),(0,r.jsxs)(D.default,{href:"/creators/".concat(t.username,"/achievements"),className:(0,N.cn)("p-2 py-3 md:py-0 md:px-4 flex flex-col md:flex-row text-center border-b-2 md:border-b-0 md:bottom-0 border-transparent -bottom-px relative","achievements"==a&&"border-white"),"data-sentry-element":"Link","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsx)("span",{className:"font-bold md:mr-1.5",children:P()(t.achievements_count).format("0,0a")}),(0,r.jsx)("span",{className:"text-muted-foreground md:text-primary",children:"Achievements"})]})]})}var z=function(e){let{creator:t,tab:a}=e,[n,l]=(0,u.useState)(!1),[o,i]=(0,u.useState)(!1),{me:d,refetch:m}=(0,c.P)(),{user:f}=(0,w.aF)(),x=(0,F.useRouter)(),b=(null==d?void 0:d.username)===t.username,y=(0,u.useRef)(null),D=async e=>{null==e||e.preventDefault(),i(!0);try{await f.setProfileImage({file:e.target.files[0]}),m(),g.ZP.success("Avatar uploaded successfully. It may take a few minutes to update.")}catch(e){console.error(e),g.ZP.error("Failed to upload avatar: "+e.message)}finally{i(!1)}};return(0,r.jsxs)("div",{"data-sentry-component":"CreatorHeader","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsx)(j,{open:n,onOpenChange:l,onSaved:e=>{l(!1),m(),e.username!==t.username?x.push("/creators/".concat(e.username)):x.refresh()},"data-sentry-element":"ProfileEditDialog","data-sentry-source-file":"creator-header.jsx"}),!t.is_public&&(0,r.jsxs)("div",{className:"text-sm text-muted-foreground flex items-center gap-1 bg-muted rounded-2xl px-3 py-2 mb-4 shadow-xl",children:[(0,r.jsx)(k.Z,{variant:"solid",className:"w-4 h-4"}),"Your profile is private. Only you can see it."]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsxs)("div",{className:(0,N.cn)("relative w-[100px] h-[100px] md:size-40 rounded-full mr-4 md:mr-10 overflow-hidden group shrink-0",b&&"cursor-pointer"),onClick:()=>{b&&y.current.click()},children:[(0,r.jsx)("input",{type:"file",accept:"image/png, image/jpeg, image/jpg, image/gif, image/webp",ref:y,className:"hidden",onChange:D}),(0,r.jsxs)(v.Avatar,{className:"w-full h-full","data-sentry-element":"Avatar","data-sentry-source-file":"creator-header.jsx",children:[(0,r.jsx)(v.AvatarImage,{src:t.avatar,alt:t.username,className:"w-full h-full rounded-full object-cover","data-sentry-element":"AvatarImage","data-sentry-source-file":"creator-header.jsx"}),(0,r.jsx)(v.AvatarFallback,{className:"w-full h-full rounded-full","data-sentry-element":"AvatarFallback","data-sentry-source-file":"creator-header.jsx",children:t.username[0]})]}),b&&(0,r.jsxs)("div",{className:"hidden group-hover:flex flex-col absolute inset-0 bg-black/50 items-center justify-center",children:[(0,r.jsx)(C.Z,{className:"w-6 h-6 text-white"}),(0,r.jsx)("p",{children:"Upload avatar"})]}),o&&(0,r.jsxs)("div",{className:"absolute inset-0 bg-black/50 flex flex-col items-center justify-center",children:[(0,r.jsx)(h.Z,{className:"w-6 h-6 text-white animate-spin"}),(0,r.jsx)("p",{className:"text-white",children:"Uploading..."})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"md:flex md:items-center",children:[(0,r.jsxs)("h1",{className:"text-xl md:text-2xl font-bold",children:["@",t.username]}),(0,r.jsx)("div",{className:"mt-2 md:mt-0 md:ml-4",children:b?(0,r.jsx)(p.z,{size:"sm",variant:"outline",onClick:()=>l(!0),children:"Edit Profile"}):(0,r.jsx)(s.default,{username:t.username})})]}),(0,r.jsx)("div",{className:"hidden md:block my-4",children:(0,r.jsx)(_,{creator:t,tab:a,"data-sentry-element":"CreatorStats","data-sentry-source-file":"creator-header.jsx"})}),(0,r.jsx)("p",{className:"hidden md:block md:text-base mt-2",children:t.bio})]})]}),(0,r.jsxs)("div",{className:"md:hidden mt-4",children:[(0,r.jsx)("p",{className:"text-sm mt-2",children:t.bio}),(0,r.jsx)("div",{className:"mt-3 border-t border-b border-accent -mx-4",children:(0,r.jsx)(_,{creator:t,tab:a,"data-sentry-element":"CreatorStats","data-sentry-source-file":"creator-header.jsx"})})]})]})}},3646:function(e,t,a){"use strict";a.r(t),a.d(t,{Dialog:function(){return i},DialogClose:function(){return m},DialogContent:function(){return f},DialogDescription:function(){return g},DialogFooter:function(){return p},DialogHeader:function(){return x},DialogOverlay:function(){return u},DialogPortal:function(){return c},DialogTitle:function(){return h},DialogTrigger:function(){return d}});var r=a(57437),s=a(2265),n=a(33377),l=a(20653),o=a(37062);let i=n.fC,d=n.xz,c=n.h_,m=n.x8,u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.aV,{ref:t,className:(0,o.cn)("fixed inset-0 z-[1000] bg-background/80 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",a),...s})});u.displayName=n.aV.displayName;let f=s.forwardRef((e,t)=>{let{className:a,children:s,hideClose:i,overlayClassName:d,...m}=e;return(0,r.jsxs)(c,{children:[(0,r.jsx)(u,{className:d}),(0,r.jsxs)(n.VY,{ref:t,className:(0,o.cn)("fixed left-[50%] top-[50%] z-[1100] grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg md:w-full",a),...m,children:[s,!i&&(0,r.jsxs)(n.x8,{className:"absolute right-2 top-2 bg-accent/30 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:bg-accent/50 rounded-full p-2 z-[100]",children:[(0,r.jsx)(l.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})});f.displayName=n.VY.displayName;let x=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col space-y-1.5 text-center sm:text-left",t),...a,"data-sentry-component":"DialogHeader","data-sentry-source-file":"custom-dialog.jsx"})};x.displayName="DialogHeader";let p=e=>{let{className:t,...a}=e;return(0,r.jsx)("div",{className:(0,o.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...a,"data-sentry-component":"DialogFooter","data-sentry-source-file":"custom-dialog.jsx"})};p.displayName="DialogFooter";let h=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.Dx,{ref:t,className:(0,o.cn)("text-lg font-semibold leading-none tracking-tight",a),...s})});h.displayName=n.Dx.displayName;let g=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.dk,{ref:t,className:(0,o.cn)("text-sm text-muted-foreground",a),...s})});g.displayName=n.dk.displayName},10220:function(e,t,a){"use strict";a.d(t,{r:function(){return o}});var r=a(57437),s=a(2265),n=a(83296),l=a(37062);let o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.fC,{className:(0,l.cn)("peer inline-flex h-8 w-14 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-amber-200 data-[state=unchecked]:bg-black",a),...s,ref:t,children:(0,r.jsx)(n.bU,{className:(0,l.cn)("pointer-events-none block h-6 w-6 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-6 data-[state=unchecked]:translate-x-1")})})});o.displayName=n.fC.displayName},46143:function(e,t,a){"use strict";a.d(t,{l0:function(){return m},NI:function(){return b},pf:function(){return y},Wi:function(){return f},xJ:function(){return h},lX:function(){return g},zG:function(){return j}});var r=a(57437),s=a(2265),n=a(37053),l=a(29501),o=a(37062),i=a(6394);let d=(0,a(77712).j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(i.f,{ref:t,className:(0,o.cn)(d(),a),...s})});c.displayName=i.f.displayName;let m=l.RV,u=s.createContext({}),f=e=>{let{...t}=e;return(0,r.jsx)(u.Provider,{value:{name:t.name},"data-sentry-element":"unknown","data-sentry-component":"FormField","data-sentry-source-file":"form.jsx",children:(0,r.jsx)(l.Qr,{...t,"data-sentry-element":"Controller","data-sentry-source-file":"form.jsx"})})},x=()=>{let e=s.useContext(u),t=s.useContext(p),{getFieldState:a,formState:r}=(0,l.Gc)(),n=a(e.name,r);if(!e)throw Error("useFormField should be used within <FormField>");let{id:o}=t;return{id:o,name:e.name,formItemId:"".concat(o,"-form-item"),formDescriptionId:"".concat(o,"-form-item-description"),formMessageId:"".concat(o,"-form-item-message"),...n}},p=s.createContext({}),h=s.forwardRef((e,t)=>{let{className:a,...n}=e,l=s.useId();return(0,r.jsx)(p.Provider,{value:{id:l},children:(0,r.jsx)("div",{ref:t,className:(0,o.cn)("space-y-2",a),...n})})});h.displayName="FormItem";let g=s.forwardRef((e,t)=>{let{className:a,...s}=e,{error:n,formItemId:l}=x();return(0,r.jsx)(c,{ref:t,className:(0,o.cn)(n&&"text-destructive",a),htmlFor:l,...s})});g.displayName="FormLabel";let b=s.forwardRef((e,t)=>{let{...a}=e,{error:s,formItemId:l,formDescriptionId:o,formMessageId:i}=x();return(0,r.jsx)(n.g7,{ref:t,id:l,"aria-describedby":s?"".concat(o," ").concat(i):"".concat(o),"aria-invalid":!!s,...a})});b.displayName="FormControl";let y=s.forwardRef((e,t)=>{let{className:a,...s}=e,{formDescriptionId:n}=x();return(0,r.jsx)("p",{ref:t,id:n,className:(0,o.cn)("text-[0.8rem] text-muted-foreground",a),...s})});y.displayName="FormDescription";let j=s.forwardRef((e,t)=>{let{className:a,children:s,...n}=e,{error:l,formMessageId:i}=x(),d=l?String(null==l?void 0:l.message):s;return d?(0,r.jsx)("p",{ref:t,id:i,className:(0,o.cn)("text-[0.8rem] font-medium text-destructive",a),...n,children:d}):null});j.displayName="FormMessage"},70394:function(e,t,a){"use strict";a.d(t,{I:function(){return l}});var r=a(57437),s=a(2265),n=a(37062);let l=s.forwardRef((e,t)=>{let{className:a,type:s,...l}=e;return(0,r.jsx)("input",{type:s,className:(0,n.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-base file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...l})});l.displayName="Input"},57537:function(e,t,a){"use strict";a.d(t,{g:function(){return l}});var r=a(57437),s=a(2265),n=a(37062);let l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)("textarea",{className:(0,n.cn)("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",a),ref:t,...s})});l.displayName="Textarea"}},function(e){e.O(0,[8310,1601,2972,7317,7770,1537,8471,5878,3377,8480,8978,2621,287,5574,6098,4370,1774,991,2971,4915,1744],function(){return e(e.s=7e3)}),_N_E=e.O()}]);