1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[27909],{1445:(e,t,r)=>{r.d(t,{J:()=>n});var a=r(95155),s=r(12115),o=r(91760),i=r(18460),d=r(86190);let l=(0,i.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),n=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.b,{ref:r,className:(0,d.cn)(l(),e),...t}));n.displayName=o.b.displayName},21819:(e,t,r)=>{r.d(t,{C5:()=>v,MJ:()=>h,Rr:()=>b,S:()=>j,eI:()=>p,lR:()=>x,lV:()=>n,zB:()=>m});var a=r(95155),s=r(12115),o=r(42442),i=r(99003),d=r(86190),l=r(1445);let n=i.Op,c=s.createContext({}),m=({...e})=>(0,a.jsx)(c.Provider,{value:{name:e.name},children:(0,a.jsx)(i.xI,{...e})}),u=()=>{let e=s.useContext(c),t=s.useContext(f),{getFieldState:r,formState:a}=(0,i.xW)(),o=r(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:d}=t;return{id:d,name:e.name,formItemId:`${d}-form-item`,formDescriptionId:`${d}-form-item-description`,formMessageId:`${d}-form-item-message`,...o}},f=s.createContext({}),p=s.forwardRef(({className:e,...t},r)=>{let o=s.useId();return(0,a.jsx)(f.Provider,{value:{id:o},children:(0,a.jsx)("div",{ref:r,className:(0,d.cn)("space-y-2",e),...t})})});p.displayName="FormItem";let x=s.forwardRef(({className:e,...t},r)=>{let{error:s,formItemId:o}=u();return(0,a.jsx)(l.J,{ref:r,className:(0,d.cn)("font-semibold",s&&"text-destructive",e),htmlFor:o,...t})});x.displayName="FormLabel";let h=s.forwardRef(({...e},t)=>{let{error:r,formItemId:s,formDescriptionId:i,formMessageId:d}=u();return(0,a.jsx)(o.DX,{ref:t,id:s,"aria-describedby":r?`${i} ${d}`:`${i}`,"aria-invalid":!!r,...e})});h.displayName="FormControl";let b=s.forwardRef(({className:e,...t},r)=>{let{formDescriptionId:s}=u();return(0,a.jsx)("p",{ref:r,id:s,className:(0,d.cn)("text-sm text-muted-foreground",e),...t})});b.displayName="FormDescription";let g=e=>{if(e&&"object"==typeof e){if("string"==typeof e.message&&e.message)return e.message;if(Array.isArray(e)){for(let t of e){let e=g(t);if(e)return e}return}for(let t of Object.keys(e)){if("ref"===t||"type"===t)continue;let r=g(e[t]);if(r)return r}}},v=s.forwardRef(({className:e,children:t,...r},s)=>{let{error:o,formMessageId:i}=u(),l=o?g(o):void 0,n=o?l||"Check for validation errors":t;return n?(0,a.jsx)("p",{ref:s,id:i,className:(0,d.cn)("text-sm font-medium text-destructive",e),...r,children:n}):null});v.displayName="FormMessage";let j=s.forwardRef(({className:e,children:t,t:r=()=>null,...s},o)=>{let{error:i,formMessageId:l}=u();if(i&&"object"==typeof i){let t=g(i);return(0,a.jsx)("p",{ref:o,id:l,className:(0,d.cn)("text-sm font-medium text-destructive",e),...s,children:t||r("table_row_error")})}let n=i?String(i?.message||""):t;return n?(0,a.jsx)("p",{ref:o,id:l,className:(0,d.cn)("text-sm font-medium text-destructive",e),...s,children:"undefined"===n?"Check for validation errors":n}):null});j.displayName="FormMessageDisplay"},26343:(e,t,r)=>{r.d(t,{T:()=>i});var a=r(95155),s=r(12115),o=r(86190);let i=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)("textarea",{className:(0,o.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:outline-primary focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...t}));i.displayName="Textarea"},27909:(e,t,r)=>{r.r(t),r.d(t,{default:()=>p});var a=r(95155),s=r(80642),o=r(67192),i=r(17620),d=r(68189),l=r(12115),n=r(33810),c=r(57657),m=r(42811),u=r(50910),f=r(37882);let p=({type:e="icon",variant:t="link",size:r,className:p="underline text-muted-foreground text-base",label:x})=>{let h=(0,f.useSession)(),b=h.data?.user||null,g=(0,u.c)("components.feedback-button"),[v,j]=(0,l.useState)(!1),[y,w]=(0,l.useState)(!1),N=(0,l.useCallback)(e=>{let{clientX:t,clientY:r}=e,{innerWidth:a,innerHeight:s}=window;document.querySelector("[data-astro-dock]")?j(!1):t>a-100&&r>s-100?j(!0):j(!1)},[]);return(0,l.useEffect)(()=>(window.addEventListener("mousemove",N),()=>{window.removeEventListener("mousemove",N)}),[N]),(0,a.jsxs)(c.Dialog,{open:y,onOpenChange:w,children:[(0,a.jsx)(c.DialogTrigger,{asChild:!0,children:"icon"===e?(0,a.jsx)("div",{className:"fixed bottom-5 right-5 z-50",children:v&&(0,a.jsx)(s.N,{children:(0,a.jsx)(n.TooltipProvider,{children:(0,a.jsxs)(n.Tooltip,{children:[(0,a.jsx)(n.TooltipTrigger,{asChild:!0,children:(0,a.jsx)(o.P.div,{initial:{opacity:0,scale:.5},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.5},transition:{duration:.3},children:(0,a.jsx)(d.Button,{size:"icon",className:"rounded-full",children:(0,a.jsx)(i.A,{})})})}),(0,a.jsx)(n.TooltipContent,{children:(0,a.jsx)("p",{children:g("shareYourThoughts")})})]})})})}):(0,a.jsx)(d.Button,{variant:t,size:r,className:p,children:x??"Contact support"})}),(0,a.jsxs)(c.DialogContent,{className:"font-sans sm:max-w-2xl",children:[(0,a.jsx)(c.DialogHeader,{children:(0,a.jsx)(c.DialogTitle,{children:g("feedbackTitle")})}),(0,a.jsx)(m.A,{setOpen:w,currentUser:b,reportOrigin:"feedback"})]})]})}},33810:(e,t,r)=>{r.r(t),r.d(t,{Tooltip:()=>l,TooltipContent:()=>c,TooltipProvider:()=>d,TooltipTrigger:()=>n});var a=r(95155),s=r(12115),o=r(13974),i=r(86190);let d=o.Kq,l=o.bL,n=o.l9,c=s.forwardRef(({className:e,sideOffset:t=4,...r},s)=>(0,a.jsx)(o.UC,{ref:s,sideOffset:t,className:(0,i.cn)("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r}));c.displayName=o.UC.displayName},42067:(e,t,r)=>{r.d(t,{Input:()=>i});var a=r(95155),s=r(12115),o=r(86190);let i=s.forwardRef(({className:e,type:t,icon:r,iconPosition:s="start",prefix:i,suffix:d,noNegative:l,...n},c)=>(0,a.jsxs)("div",{className:(0,o.cn)("relative w-full flex items-center"),children:[i&&(0,a.jsx)("span",{className:"absolute left-3",children:i}),r&&"start"===s&&!i&&(0,a.jsx)("span",{className:"absolute left-3",children:r}),(0,a.jsx)("input",{type:t,className:(0,o.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-primary disabled:cursor-not-allowed disabled:opacity-50",e,i&&"pl-5",r&&"start"===s&&!i&&"pl-10",r&&"end"===s&&"pr-10",d&&"pr-10","number"===t&&"text-right"),ref:c,onFocus:e=>{"number"===t&&(e.target.value=e.target.value.replace(/^0+/,""))},onChange:e=>{if(l&&"number"===t){let t=Number(e.target.value);t<0&&(e.target.value=Math.abs(t))}n.onChange&&n.onChange(e)},...n}),d&&(0,a.jsx)("span",{className:"absolute right-3",children:d}),r&&"end"===s&&!d&&(0,a.jsx)("span",{className:"absolute right-3",children:r})]}));i.displayName="Input"},42811:(e,t,r)=>{r.d(t,{A:()=>L});var a=r(95155),s=r(68189),o=r(21819),i=r(1445),d=r(75823),l=r(70733),n=r(42067),c=r(26343),m=r(12115),u=r(99003),f=r(2614),p=r(9339);let x=(0,p.createServerReference)("40c4e24cae33388802f1e26cbb0c1c26d4ad3d14e4",p.callServer,void 0,p.findSourceMapURL,"uploadFeedbackFile"),h=(0,p.createServerReference)("40f580a716fb01f60e6eafb51874cb7622e3a89101",p.callServer,void 0,p.findSourceMapURL,"sendFeedback");var b=r(86989),g=r(1407),v=r(33210),j=r(86190),y=r(50910),w=r(5772),N=r(67768),k=r(45506),C=r(35223),F=r.n(C);let z=[{value:"improvement",label:"Suggest an improvement",feedbackLabel:"Let us know what you'd like to improve"},{value:"bug",label:"Report a bug",feedbackLabel:"Describe the bug or issue"},{value:"comment",label:"Leave a comment",feedbackLabel:"Let us know what's on your mind"},{value:"question",label:"Ask a question",feedbackLabel:"What would you like to know?"}],R=()=>(0,a.jsx)("span",{className:"text-destructive",children:"*"});function D({onFiles:e,files:t}){let r=(0,y.c)("components.feedback-form"),{getRootProps:o,getInputProps:i,isDragAccept:d,isDragReject:l}=(0,b.VB)({accept:{"image/*":[".png",".gif",".jpg",".jpeg"]},maxFiles:1,onDropAccepted:t=>{e(t)}});return t&&t.length>0?(0,a.jsx)(T,{file:t[0],onRemove:()=>e([])}):(0,a.jsxs)("div",{...o({className:"dropzone"}),className:(0,j.cn)("w-full max-w-4xl cursor-pointer rounded-lg border border-dashed p-10 transition-colors hover:border-primary-500 hover:bg-primary-50 /10",{"border-primary-500 bg-primary-50 /10":d,"border-destructive bg-destructive-tint /10":l}),children:[(0,a.jsx)("input",{...i()}),(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,a.jsx)(g.A,{}),(0,a.jsx)("h5",{className:"text-base",children:r("dragAndDrop")})]}),(0,a.jsx)("div",{children:(0,a.jsx)("h5",{className:"text-sm text-muted-foreground",children:r("or")})}),(0,a.jsx)("div",{children:(0,a.jsx)(s.Button,{type:"button",size:"sm",children:r("uploadDocument")})})]})]})}let T=({file:e,onRemove:t})=>{(0,y.c)("components.feedback-form");let r=e?.size?`${Math.round(e.size/1024)} KB`:"",o=e?.type?.startsWith("image/")?URL.createObjectURL(e):null;return(0,a.jsxs)(N.HoverCard,{children:[(0,a.jsxs)(N.HoverCardTrigger,{className:"cursor-pointer hover:bg-accent flex gap-2 border p-4 w-72 relative ps-1 h-fit py-2",children:[(0,a.jsx)(s.Button,{type:"button",size:"xs",variant:"ghost",onClick:t,className:"absolute -right-2 -top-1 text-muted-foreground z-50 border bg-card rounded-full p-1",children:(0,a.jsx)(v.A,{size:14})}),o?(0,a.jsx)("div",{className:"h-10 w-12 rounded-sm relative",children:(0,a.jsx)(w.default,{src:o,alt:e?.name,width:32,height:32,className:"border-alpha-400 aspect-square rounded-sm border object-cover w-full h-full"})}):(0,a.jsx)("div",{className:"w-8 h-8 flex items-center justify-center bg-muted rounded-lg",children:(0,a.jsx)(g.A,{})}),(0,a.jsxs)("div",{className:"flex flex-col text-xs text-start items-start",children:[(0,a.jsx)("span",{className:"overflow-hidden text-ellipsis font-medium line-clamp-1",children:e?.name}),(0,a.jsx)("span",{className:"line-clamp-1 font-normal",children:r})]})]}),(0,a.jsx)(N.HoverCardContent,{className:"w-80",children:(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(w.default,{src:o,className:"w-full",alt:e?.name,width:200,height:200})})})]})},L=({currentUser:e,setOpen:t,reportOrigin:r})=>{let[p,b]=(0,m.useState)(!1),[g,v]=(0,m.useState)(!1),j=(0,y.c)("components.feedback-form"),[w,N]=(0,m.useState)([]),C=(0,m.useRef)(null),T=(0,u.mN)({mode:"onChange",defaultValues:{feedbackType:"",description:"",url:window.location.href,user:e||null,shareUserData:!!e,device:"",browser:"",os:"",viewport_size:""}}),{register:L,handleSubmit:S,control:U,setValue:A,watch:I}=T,_=z.find(e=>e.value===I("feedbackType"))||null,B=(0,m.useMemo)(()=>{switch(r){case"feedback":if(_)return!0;return!1;case"feed":case"post":return!0;default:return!1}},[r,_]),q=(0,m.useMemo)(()=>"feed"===r?j("feedDescription"):"post"===r?j("postDescription"):void 0,[r,_]),$=async e=>{try{if(b(!0),w.length>0){let t=w[0],r=new FormData;r.append("file",t);let a=await x(r);if(a.error)throw Error(a.error);e={...e,screenshotUrl:a.data.publicUrl}}let t=await h(e);t.success?(f.toast.success(t.message),v(!0),T.reset()):f.toast.error(t.message)}catch(e){console.error({error:e}),f.toast.error(j("errorSubmittingFeedback"))}finally{b(!1)}};return((0,m.useEffect)(()=>{let e=e=>{for(let t of e.clipboardData.items)if(t.type.startsWith("image/")){let e=t.getAsFile();e&&N([e])}},t=C.current;return t?.addEventListener("paste",e),()=>{t?.removeEventListener("paste",e)}},[N]),(0,m.useEffect)(()=>{let e=new(F())().getResult(),t=`${e.browser.name} ${e.browser.version}`,r=e.device.type||"Desktop",a=`${e.os.name} ${e.os.version}`,s=`${window.innerWidth}x${window.innerHeight}`;A("device",r),A("browser",t),A("os",a),A("viewport_size",s)},[A]),g)?(0,a.jsxs)("div",{className:"text-center gap-3 flex flex-col justify-center items-center",children:[(0,a.jsx)("img",{src:"/Images/astro/ilust_astro-ok.svg",height:300,width:300}),(0,a.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,a.jsx)("h1",{className:"text-3xl font-bold tracking-tight font-sans text-primary",children:j("feedbackSentTitle")}),(0,a.jsx)("h3",{className:"text-xl font-sans font-semibold text-muted-foreground",children:j("feedbackSentSubtitle")})]}),(0,a.jsx)("div",{className:"flex w-full justify-end space-x-2",children:(0,a.jsx)(s.Button,{type:"button",size:"sm",onClick:()=>t(!1),"aria-label":j("close"),className:"mt-4",children:j("close")})})]}):(0,a.jsx)(o.lV,{...T,children:(0,a.jsxs)("form",{onSubmit:S($),className:"space-y-4",ref:C,children:["feedback"===r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:[j("requiredFields")," ",(0,a.jsx)(R,{})]}),(0,a.jsx)(o.zB,{control:U,name:"feedbackType",render:({field:e})=>(0,a.jsxs)(o.eI,{children:[(0,a.jsxs)(i.J,{className:"font-semibold",htmlFor:"feedbackType",children:[j("selectFeedback")," ",(0,a.jsx)(R,{})," "]}),(0,a.jsxs)(l.l6,{required:!0,...e,onValueChange:t=>e.onChange(t),children:[(0,a.jsx)(l.bq,{id:"feedbackType",children:(0,a.jsx)(l.yv,{placeholder:j("selectFeedbackType")})}),(0,a.jsx)(l.gC,{children:z.map(e=>(0,a.jsx)(l.eb,{value:e.value,children:j(e.value)},e.value))})]})]})})," "]}),"feed"===r&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:[j("requiredFieldsWarning")," ",(0,a.jsx)(R,{})]}),(0,a.jsx)(o.zB,{control:U,name:"reportedAccount",render:({field:e})=>(0,a.jsxs)(o.eI,{children:[(0,a.jsxs)(i.J,{className:"font-semibold",htmlFor:"feedbackType",children:[j("accountInputLabel"),
1(0,a.jsx)(R,{})," "]}),(0,a.jsx)(n.Input,{required:!0,...e,onValueChange:t=>e.onChange(t),placeholder:j("accountInputPlaceholder")})]})})]}),"post"===r&&(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:[j("requiredFieldsWarning")," ",(0,a.jsx)(R,{})]})}),B&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.zB,{control:U,name:"description",render:({field:e})=>(0,a.jsxs)(o.eI,{children:[(0,a.jsxs)(i.J,{className:"font-semibold",htmlFor:"description",children:["feedback"===r?j(`description.${_.value}`):q," ",(0,a.jsx)(R,{})]}),(0,a.jsx)(c.T,{id:"description",...e,required:!0,placeholder:j("typeYourFeedback")})]})}),(0,a.jsx)(o.zB,{control:U,name:"screenshotUrl",render:({field:e})=>(0,a.jsxs)(o.eI,{children:[(0,a.jsx)(i.J,{className:"font-semibold",htmlFor:"url",children:j("screenshotOptional")}),(0,a.jsx)(D,{onFiles:e=>{N(e)},files:w})]})}),e&&(0,a.jsx)(o.zB,{control:U,name:"shareUserData",render:({field:e})=>(0,a.jsxs)(o.eI,{className:"flex flex-row items-start space-x-3 space-y-0",children:[(0,a.jsx)(k.S,{id:"shareUserData",...e,checked:e.value,onCheckedChange:e.onChange}),(0,a.jsxs)("div",{className:"leading-none",children:[(0,a.jsx)(i.J,{className:"font-semibold",htmlFor:"shareUserData",children:j("shareUserData")}),(0,a.jsx)(o.Rr,{children:j("shareUserDataDescription")})]})]})})]}),(0,a.jsxs)("div",{className:"flex justify-end space-x-2",children:[(0,a.jsx)(s.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>t(!1),children:j("cancel")}),(0,a.jsx)(s.Button,{type:"submit",size:"sm",disabled:p,children:p?(0,a.jsx)(d.k,{className:"text-white text-sm",size:12}):j("sendFeedback")})]})]})})}},45506:(e,t,r)=>{r.d(t,{S:()=>n});var a=r(95155),s=r(12115),o=r(77360),i=r(82482),d=r(94514),l=r(86190);let n=s.forwardRef(({className:e,blocked:t,...r},s)=>(0,a.jsx)(o.bL,{ref:s,className:(0,l.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground mb-[2.5px]",t&&"border-dashed border-muted-foreground/60 bg-muted cursor-not-allowed opacity-60 data-[state=checked]:bg-muted data-[state=checked]:text-muted-foreground",e),...r,children:(0,a.jsx)(o.C1,{className:(0,l.cn)("flex items-center justify-center text-current"),children:"indeterminate"===r.checked?(0,a.jsx)(i.A,{className:"h-3 w-3"}):(0,a.jsx)(d.A,{className:"h-3 w-3"})})}));n.displayName=o.bL.displayName},57657:(e,t,r)=>{r.d(t,{Dialog:()=>l,DialogClose:()=>m,DialogContent:()=>f,DialogDescription:()=>b,DialogFooter:()=>x,DialogHeader:()=>p,DialogTitle:()=>h,DialogTrigger:()=>n,L:()=>u,Z:()=>c});var a=r(95155),s=r(12115),o=r(19725),i=r(33210),d=r(86190);let l=o.bL,n=o.l9,c=o.ZL,m=o.bm,u=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.hJ,{ref:r,className:(0,d.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));u.displayName=o.hJ.displayName;let f=s.forwardRef(({className:e,children:t,hideCloseButton:r=!1,closeLabel:s="Close",...l},n)=>(0,a.jsxs)(c,{children:[(0,a.jsx)(u,{}),(0,a.jsxs)(o.UC,{ref:n,className:(0,d.cn)("fixed left-[50%] top-[50%] z-50 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",e),...l,children:[t,!r&&(0,a.jsxs)(o.bm,{className:"absolute right-4 top-4 roun
1ded-sm 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",children:[(0,a.jsx)(i.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:s})]})]})]}));f.displayName=o.UC.displayName;let p=({className:e,...t})=>(0,a.jsx)("div",{className:(0,d.cn)("flex flex-col space-y-1.5 text-center sm:text-left",e),...t});p.displayName="DialogHeader";let x=({className:e,...t})=>(0,a.jsx)("div",{className:(0,d.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),...t});x.displayName="DialogFooter";let h=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.hE,{ref:r,className:(0,d.cn)("text-lg font-semibold leading-none tracking-tight",e),...t}));h.displayName=o.hE.displayName;let b=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.VY,{ref:r,className:(0,d.cn)("text-sm text-muted-foreground",e),...t}));b.displayName=o.VY.displayName},67768:(e,t,r)=>{r.r(t),r.d(t,{HoverCard:()=>d,HoverCardContent:()=>n,HoverCardTrigger:()=>l});var a=r(95155),s=r(12115),o=r(93062),i=r(86190);let d=o.bL,l=o.l9,n=s.forwardRef(({className:e,align:t="center",sideOffset:r=4,...s},d)=>(0,a.jsx)(o.UC,{ref:d,align:t,sideOffset:r,className:(0,i.cn)("z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...s}));n.displayName=o.UC.displayName},68189:(e,t,r)=>{r.r(t),r.d(t,{Button:()=>n,buttonVariants:()=>l});var a=r(95155),s=r(12115),o=r(42442),i=r(18460),d=r(86190);let l=(0,i.F)("inline-flex items-center justify-center whitespace-nowrap rounded-xl text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 specular",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90 specular",outline:"border border-input bg-card hover:bg-accent hover:text-accent-foreground",outline_primary:"border border-input bg-transparent hover:bg-primary hover:text-primary-foreground text-primary border-primary",outline_destructive:"border border-input bg-destructive-tint hover:bg-destructive hover:text-destructive-foreground text-destructive border-destructive",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 specular",dark:"bg-black text-white hover:bg-black/90",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline focus-visible:ring-0",link_underline:"text-primary underline-offset-4 underline hover:bold focus-visible:ring-0",danger:"bg-destructive text-destructive-foreground hover:bg-destructive/90",danger_outlined:"border font-semibold text-lg text-destructive border-2 border-destructive rounded-xl hover:bg-destructive hover:text-destructive-foreground",icon:"text-primary hover:text-primary/90",auth:"bg-primary text-auth-white shadow-[0_6px_20px_-6px_rgba(105,106,195,.7)] hover:bg-brand-700 disabled:bg-white/[.07] disabled:text-auth-ink-8 disabled:opacity-100 disabled:shadow-none disabled:ring-1 disabled:ring-inset disabled:ring-white/[.08]",auth_outline:"border border-[rgba(157,158,233,.55)] bg-primary/10 text-brand-200 hover:bg-primary/20 disabled:opacity-100 disabled:border-white/[.08] disabled:bg-white/[.07] disabled:text-auth-ink-8",auth_social:"border border-brand-300/[.16] bg-brand-600/[.07] text-auth-ink-1 hover:bg-brand-600/[.14] disabled:opacity-100 disabled:text-auth-ink-8"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-xl px-3",md:"h-10 rounded-xl px-3 py-1.5",lg:"h-11 rounded-xl px-8",lgApp:"px-5 w-[6.6rem] text-lg h-10 rounded-xl",icon:"h-10 w-10",iconMd:"h-8 w-8",iconSm:"h-6 w-6",iconXs:"h-4 w-4","icon-md":"h-10 w-12 p-0",auth:"h-12 w-full gap-2 rounded-[10px] px-4 text-[15px] font-bold md:h-11 md:text-sm"}},defaultVariants:{variant:"default",size:"default"}}),n=s.forwardRef(({className:e,variant:t,size:r,asChild:s=!1,...i},n)=>{let c=s?o.DX:"button";return(0,a.jsx)(c,{className:(0,d.cn)(l({variant:t,size:r,className:e})),ref:n,...i})});n.displayName="Button"},70733:(e,t,r)=>{r.d(t,{TR:()=>b,bq:()=>f,eb:()=>g,gC:()=>h,l6:()=>c,mi:()=>v,s3:()=>m,yv:()=>u});var a=r(95155),s=r(12115),o=r(78329),i=r(66088),d=r(9921),l=r(94514),n=r(86190);let c=o.bL,m=o.YJ,u=o.WT,f=s.forwardRef(({className:e,children:t,...r},s)=>(0,a.jsxs)(o.l9,{ref:s,className:(0,n.cn)("flex h-10 w-full items-center justify-between rounded-lg border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-primary disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,(0,a.jsx)(o.In,{asChild:!0,children:(0,a.jsx)(i.A,{className:"h-4 w-4 opacity-50"})})]}));f.displayName=o.l9.displayName;let p=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.PP,{ref:r,className:(0,n.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(d.A,{className:"h-4 w-4"})}));p.displayName=o.PP.displayName;let x=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.wn,{ref:r,className:(0,n.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,a.jsx)(i.A,{className:"h-4 w-4"})}));x.displayName=o.wn.displayName;let h=s.forwardRef(({className:e,children:t,position:r="popper",...s},i)=>(0,a.jsx)(o.ZL,{className:"z-50",children:(0,a.jsxs)(o.UC,{ref:i,className:(0,n.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md focus-visible:outline-primary 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-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...s,children:[(0,a.jsx)(p,{}),(0,a.jsx)(o.LM,{className:(0,n.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,a.jsx)(x,{})]})}));h.displayName=o.UC.displayName;let b=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.JU,{ref:r,className:(0,n.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));b.displayName=o.JU.displayName;let g=s.forwardRef(({className:e,children:t,...r},s)=>(0,a.jsxs)(o.q7,{ref:s,className:(0,n.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(o.VF,{children:(0,a.jsx)(l.A,{className:"h-4 w-4"})})}),(0,a.jsx)(o.p4,{children:t})]}));g.displayName=o.q7.displayName;let v=s.forwardRef(({className:e,...t},r)=>(0,a.jsx)(o.wv,{ref:r,className:(0,n.cn)("-mx-1 my-1 h-px bg-muted",e),...t}));v.displayName=o.wv.displayName},75823:(e,t,r)=>{r.d(t,{k:()=>i});var a=r(95155),s=r(86190),o=r(6296);let i=({className:e})=>(0,a.jsx)(o.A,{className:(0,s.cn)("animate-spin text-primary h-8 w-8",e)})}}]);
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.