PageSourceSearch

https://mindsynclab.ai/_next/static/chunks/3072-e07ebef378a26e80.js

js mindsynclab.ai collected 2026-10-05 13:57:43 UTC 20,413 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3072],{6671:(e,t,a)=>{a.d(t,{E:()=>l});var r=a(99311),n=a(47367),s=a(17572);a(82855);var o=a(65245);let d=(0,s.F)("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-muted text-foreground [a&]:hover:bg-muted/70",destructive:"border-transparent bg-[var(--risk-critical)] text-primary-foreground [a&]:hover:brightness-95 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",outline:"border-border text-foreground [a&]:hover:bg-muted [a&]:hover:text-foreground"}},defaultVariants:{variant:"default"}});function l(e){let{className:t,variant:a,asChild:s=!1,...l}=e,i=s?n.DX:"span";return(0,r.jsx)(i,{"data-slot":"badge",className:(0,o.cn)(d({variant:a}),t),...l})}},6870:(e,t,a)=>{a.d(t,{s:()=>R});var r=a(99311),n=a(78378),s=a(60707),o=a(62989),d=a(97040),l=a(72090),i=a(46217),c=a(42574),u=a(57979),m=a(97400),f=a(83801),x=a(64297),g=a(82855),p=a(34774),v=a(35390),b=a(65245);function h(){let e=(0,u._)(["rtl:**:[.rdp-button_next>svg]:rotate-180"],["rtl:**:[.rdp-button\\_next>svg]:rotate-180"]);return h=function(){return e},e}function j(){let e=(0,u._)(["rtl:**:[.rdp-button_previous>svg]:rotate-180"],["rtl:**:[.rdp-button\\_previous>svg]:rotate-180"]);return j=function(){return e},e}function w(e){let{className:t,classNames:a,showOutsideDays:n=!0,captionLayout:s="label",buttonVariant:o="ghost",formatters:d,components:l,...i}=e,u=(0,p.a)();return(0,r.jsx)(v.h,{showOutsideDays:n,className:(0,b.cn)("bg-background group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw(h()),String.raw(j()),t),captionLayout:s,formatters:{formatMonthDropdown:e=>e.toLocaleString("default",{month:"short"}),...d},classNames:{root:(0,b.cn)("w-fit",u.root),months:(0,b.cn)("relative flex flex-col gap-4 md:flex-row",u.months),month:(0,b.cn)("flex w-full flex-col gap-4",u.month),nav:(0,b.cn)("absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",u.nav),button_previous:(0,b.cn)((0,c.r)({variant:o}),"h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",u.button_previous),button_next:(0,b.cn)((0,c.r)({variant:o}),"h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",u.button_next),month_caption:(0,b.cn)("flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]",u.month_caption),dropdowns:(0,b.cn)("flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",u.dropdowns),dropdown_root:(0,b.cn)("has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",u.dropdown_root),dropdown:(0,b.cn)("bg-popover absolute inset-0 opacity-0",u.dropdown),caption_label:(0,b.cn)("select-none font-medium","label"===s?"text-sm":"[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",u.caption_label),table:"w-full border-collapse",weekdays:(0,b.cn)("flex",u.weekdays),weekday:(0,b.cn)("text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal",u.weekday),week:(0,b.cn)("mt-2 flex w-full",u.week),week_number_header:(0,b.cn)("w-[--cell-size] select-none",u.week_number_header),week_number:(0,b.cn)("text-muted-foreground select-none text-[0.8rem]",u.week_number),day:(0,b.cn)("group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",u.day),range_start:(0,b.cn)("bg-accent rounded-l-md",u.range_start),range_middle:(0,b.cn)("rounded-none",u.range_middle),range_end:(0,b.cn)("bg-accent rounded-r-md",u.range_end),today:(0,b.cn)("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",u.today),outside:(0,b.cn)("text-muted-foreground aria-selected:text-muted-foreground",u.outside),disabled:(0,b.cn)("text-muted-foreground opacity-50",u.disabled),hidden:(0,b.cn)("invisible",u.hidden),...a}
1,components:{Root:e=>{let{className:t,rootRef:a,...n}=e;return(0,r.jsx)("div",{"data-slot":"calendar",ref:e=>{if(a){if("function"==typeof a)return void a(e);"object"==typeof a&&"current"in a&&e&&(a.current=e)}},className:(0,b.cn)(t),...n})},Chevron:e=>{let{className:t,orientation:a,...n}=e;return"left"===a?(0,r.jsx)(m.A,{className:(0,b.cn)("size-4",t),...n}):"right"===a?(0,r.jsx)(f.A,{className:(0,b.cn)("size-4",t),...n}):(0,r.jsx)(x.A,{className:(0,b.cn)("size-4",t),...n})},DayButton:y,WeekNumber:e=>{let{children:t,...a}=e;return(0,r.jsx)("td",{...a,children:(0,r.jsx)("div",{className:"flex size-[--cell-size] items-center justify-center text-center",children:t})})},...l},...i})}function y(e){let{className:t,day:a,modifiers:n,...s}=e,o=(0,p.a)(),d=g.useRef(null);return g.useEffect(()=>{var e;n.focused&&(null==(e=d.current)||e.focus())},[n.focused]),(0,r.jsx)(c.$,{ref:d,variant:"ghost",size:"icon","data-day":a.date.toLocaleDateString(),"data-selected-single":n.selected&&!n.range_start&&!n.range_end&&!n.range_middle,"data-range-start":n.range_start,"data-range-end":n.range_end,"data-range-middle":n.range_middle,className:(0,b.cn)("data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-[var(--z-dropdown)] group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",o.day,t),...s})}var N=a(96906),_=a(58572),z=a(83686),k=a(35469),C=a(95808);function R(e){let{routine:t,open:a,onOpenChange:u,onComplete:m}=e,f=(0,d.c)("user.routines.logDialog"),x="number"===t.tracking_type,g=i.Ik({value:x?i.Yj().min(1,f("validation.valueRequired")).refine(e=>!isNaN(Number(e)),f("validation.mustBeNumber")):i.Yj().optional(),unit:i.Yj().optional(),note:i.Yj().optional(),date:i.p6()}),p=(0,l.mN)({resolver:(0,n.u)(g),defaultValues:{value:"",unit:x&&t.unit||"",note:"",date:new Date}}),{handleSubmit:v,control:h,formState:{isSubmitting:j}}=p,y=async e=>{try{await m(t.id,{trackingType:t.tracking_type,value:e.value?Number(e.value):void 0,unit:e.unit,note:e.note,date:e.date}),u(!1),p.reset()}catch(e){console.error("Failed to log routine:",e)}};return(0,r.jsx)(N.lG,{open:a,onOpenChange:u,children:(0,r.jsxs)(N.Cf,{className:"sm:max-w-[425px]",children:[(0,r.jsxs)(N.c7,{children:[(0,r.jsx)(N.L3,{children:f("title",{name:t.routine_name})}),(0,r.jsx)(N.rr,{children:f("description")})]}),(0,r.jsx)(_.lV,{...p,children:(0,r.jsxs)("form",{onSubmit:v(y),className:"space-y-4",children:[(0,r.jsx)(_.zB,{control:h,name:"date",render:e=>{let{field:t}=e;return(0,r.jsxs)(_.eI,{className:"flex flex-col",children:[(0,r.jsx)(_.lR,{children:f("date")}),(0,r.jsxs)(k.AM,{children:[(0,r.jsx)(k.Wv,{asChild:!0,children:(0,r.jsx)(_.MJ,{children:(0,r.jsxs)(c.$,{variant:"outline",className:(0,b.cn)("w-full pl-3 text-left font-normal",!t.value&&"text-muted-foreground"),children:[t.value?(0,s.GP)(t.value,"PPP"):(0,r.jsx)("span",{children:f("pickDate")}),(0,r.jsx)(o.A,{className:"ml-auto h-4 w-4 opacity-50"})]})})}),(0,r.jsx)(k.hl,{className:"w-auto p-0",align:"start",children:(0,r.jsx)(w,{mode:"single",selected:t.value,onSelect:t.onChange,disabled:e=>e>new Date||e<new Date("1900-01-01"),initialFocus:!0})})]}),(0,r.jsx)(_.C5,{})]})}}),x&&(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-4",children:[(0,r.jsx)(_.zB,{control:h,name:"value",render:e=>{let{field:t}=e;return(0,r.jsxs)(_.eI,{children:[(0,r.jsx)(_.lR,{children:f("value")}),(0,r.jsx)(_.MJ,{children:(0,r.jsx)(z.p,{placeholder:"0",...t,type:"number",step:"any"})}),(0,r.jsx)(_.C5,{})]})}}),(0,r.jsx)(_.zB,{control:h,name:"unit",render:e=>{let{field:a}=e;return(0,r.jsxs)(_.eI,{children:[(0,r.jsx)(_.lR,{children:f("unit")}),(0,r.jsx)(_.MJ,{children:(0,r.jsx)(z.p,{placeholder:f("unitPlaceholder"),...a,readOnly:!!t.unit,disabled:!!t.unit})}),(0,r.jsx)(_.C5,{})]})}})]}),(0,r.jsx)(_.zB,{control:h,name:"note",render:e=>{let{field:t}=e;return(0,r.jsxs)(_.eI,{children:[(0,r.jsx)(_.lR,{children:f("note")}),(0,r.jsx)(_.MJ,{children:(0,r.jsx)(C.T,{placeholder:f("notePlaceholder"),className:"resize-none",...t})}),(0,r.jsx)(_.C5,{})]})}}),(0,r.jsx)(N.Es,{children:(0,r.jsx)(c.$,{type:"submit",disabled:j,children:j?f("saving"):f("save")})})]})})]})})}},13236:(e,t,a)=>{a.d(t,{BT:()=>l,Wu:()=>i,ZB:()=>d,Zp:()=>s,aR:()=>o});var r=a(99311);a(82855);var n=a(65245);function s(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card",className:(0,n.cn)("bg-card text-card-foreground flex flex-col gap-4 roun
1ded-xl border border-border py-4 transition-shadow hover:shadow-[var(--shadow-sm)]",t),...a})}function o(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-header",className:(0,n.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",t),...a})}function d(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-title",className:(0,n.cn)("leading-none font-semibold",t),...a})}function l(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-description",className:(0,n.cn)("text-muted-foreground text-sm",t),...a})}function i(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"card-content",className:(0,n.cn)("px-6",t),...a})}},18415:(e,t,a)=>{a.d(t,{k:()=>d});var r=a(99311),n=a(81786),s=a(82855),o=a(65245);let d=s.forwardRef((e,t)=>{let{className:a,value:s,...d}=e;return(0,r.jsx)(n.bL,{ref:t,className:(0,o.cn)("relative h-2 w-full overflow-hidden rounded-full bg-card border border-border",a),...d,children:(0,r.jsx)(n.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(s||0),"%)")}})})});d.displayName=n.bL.displayName},35469:(e,t,a)=>{a.d(t,{AM:()=>d,Wv:()=>l,hl:()=>i});var r=a(99311),n=a(28528),s=a(82855),o=a(65245);let d=n.bL,l=n.l9;n.Mz;let i=s.forwardRef((e,t)=>{let{className:a,align:s="center",sideOffset:d=4,...l}=e;return(0,r.jsx)(n.ZL,{children:(0,r.jsx)(n.UC,{ref:t,align:s,sideOffset:d,className:(0,o.cn)("z-[var(--z-modal)] w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-[var(--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 origin-[--radix-popover-content-transform-origin]",a),...l})})});i.displayName=n.UC.displayName},43820:(e,t,a)=>{a.d(t,{J:()=>o});var r=a(99311),n=a(7084);a(82855);var s=a(65245);function o(e){let{className:t,...a}=e;return(0,r.jsx)(n.b,{"data-slot":"label",className:(0,s.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},55630:(e,t,a)=>{a.d(t,{Xi:()=>i,av:()=>c,j7:()=>l,tU:()=>d});var r=a(99311),n=a(88027),s=a(82855),o=a(65245);let d=n.bL,l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.B8,{ref:t,className:(0,o.cn)("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",a),...s})});l.displayName=n.B8.displayName;let i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.l9,{ref:t,className:(0,o.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",a),...s})});i.displayName=n.l9.displayName;let c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,r.jsx)(n.UC,{ref:t,className:(0,o.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",a),...s})});c.displayName=n.UC.displayName},58572:(e,t,a)=>{a.d(t,{C5:()=>v,MJ:()=>p,eI:()=>x,lR:()=>g,lV:()=>i,zB:()=>m});var r=a(99311),n=a(47367),s=a(82855),o=a(72090),d=a(43820),l=a(65245);let i=o.Op,c=s.createContext({}),u=()=>{let e=s.useContext(c),t=s.useContext(f),{getFieldState:a,formState:r}=(0,o.xW)(),n=a(e.id,r);if(!e)throw Error("useFormField should be used within <FormField>");return{id:e.id,itemId:"".concat(e.id,"-form-item"),descriptionId:null==t?void 0:t.descriptionId,messageId:null==t?void 0:t.messageId,...n}},m=e=>{let{...t}=e;return(0,r.jsx)(c.Provider,{value:{id:t.name},children:(0,r.jsx)(o.xI,{...t})})},f=s.createContext({}),x=s.forwardRef((e,t)=>
1{let{className:a,...n}=e,o=s.useId();return(0,r.jsx)(f.Provider,{value:{id:o,descriptionId:"".concat(o,"-form-item-description"),messageId:"".concat(o,"-form-item-message")},children:(0,r.jsx)("div",{ref:t,className:(0,l.cn)("space-y-2",a),...n})})});x.displayName="FormItem";let g=s.forwardRef((e,t)=>{let{className:a,...n}=e,{id:s}=u();return(0,r.jsx)(d.J,{ref:t,className:(0,l.cn)(a),htmlFor:s,...n})});g.displayName="FormLabel";let p=s.forwardRef((e,t)=>{let{...a}=e,{id:s,descriptionId:o,messageId:d,invalid:l}=u();return(0,r.jsx)(n.DX,{ref:t,id:s,"aria-describedby":o?"".concat(o," ").concat(d):d,"aria-invalid":l?"true":"false",...a})});p.displayName="FormControl",s.forwardRef((e,t)=>{let{className:a,...n}=e,{descriptionId:o}=s.useContext(f);return(0,r.jsx)("p",{ref:t,id:o,className:(0,l.cn)("text-sm text-muted-foreground",a),...n})}).displayName="FormDescription";let v=s.forwardRef((e,t)=>{let{className:a,children:n,...o}=e,{messageId:d}=s.useContext(f),{error:i}=u(),c=null!=n?n:null==i?void 0:i.message;return c?(0,r.jsx)("p",{ref:t,id:d,className:(0,l.cn)("text-sm font-medium text-destructive",a),...o,children:c}):null});v.displayName="FormMessage"},59957:(e,t,a)=>{a.d(t,{J:()=>s});var r=a(99311),n=a(64788);function s(e){let{message:t,className:a}=e;return(0,r.jsx)(n.W,{message:t,className:a})}},64788:(e,t,a)=>{a.d(t,{W:()=>d});var r=a(99311),n=a(25764),s=a(97040),o=a(82855);function d(e){let{message:t,className:a,withQuote:d=!0}=e,l=(0,s.c)("common"),i=(0,o.useMemo)(()=>{var e;return Array.isArray(e=l.raw("loadingQuotes"))?e.filter(e=>"string"==typeof e&&e.trim().length>0):[]},[l]),[c,u]=(0,o.useState)(0);return(0,o.useEffect)(()=>{if(!d||i.length<=1)return;u(Math.floor(Math.random()*i.length));let e=window.setInterval(()=>{u(e=>(e+1)%i.length)},6e3);return()=>window.clearInterval(e)},[i.length,d]),(0,r.jsx)("div",{className:a,children:(0,r.jsxs)("div",{className:"animate-in fade-in duration-500 space-y-3 text-center",children:[(0,r.jsxs)("div",{"aria-live":"polite",role:"status",className:"flex flex-col items-center gap-3",children:[(0,r.jsxs)("span",{className:"relative inline-flex h-11 w-11 items-center justify-center rounded-full border border-primary-200 bg-primary-50 text-primary-700",children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-primary-200 opacity-40"}),(0,r.jsx)(n.A,{className:"relative h-5 w-5 animate-pulse","aria-hidden":"true"})]}),(0,r.jsx)("p",{className:"text-sm font-medium text-foreground",children:null!=t?t:l("status.loading")})]}),d&&i[c]&&(0,r.jsx)("p",{className:"animate-in fade-in duration-500 mx-auto max-w-xs px-6 text-sm leading-relaxed text-muted-foreground",children:i[c]},i[c])]})})}},83686:(e,t,a)=>{a.d(t,{p:()=>o});var r=a(99311),n=a(82855),s=a(65245);let o=n.forwardRef((e,t)=>{let{className:a,type:n,...o}=e;return(0,r.jsx)("input",{type:n,className:(0,s.cn)("flex h-9 w-full rounded-md border border-border bg-card px-3 py-1 text-base transition-shadow file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground hover:shadow-[var(--shadow-xs)] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:shadow-[var(--shadow-button-hover)] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...o})});o.displayName="Input"},95808:(e,t,a)=>{a.d(t,{T:()=>s});var r=a(99311);a(82855);var n=a(65245);function s(e){let{className:t,...a}=e;return(0,r.jsx)("textarea",{"data-slot":"textarea",className:(0,n.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",t),...a})}},96906:(e,t,a)=>{a.d(t,{Cf:()=>m,Es:()=>x,L3:()=>g,c7:()=>f,lG:()=>l,rr:()=>p,zM:()=>i});var r=a(99311),n=a(79033),s=a(91413),o=a(97040);a(82855);var d=a(65245);function l(e){let{...t}=e;return(0,r.jsx)(n.bL,{"data-slot":"dialog",...t})}function i(e){let{...t}=e;return(0,r.jsx)(n.l9,{"data-slot":"dialog-trigger",...t})}function c(e){let{...t}=e;return(0,r.jsx)(n.ZL,{"data-slot":"dialog-portal",...t})}function u(e){let{className:t,...a}=e;return(0,r.jsx)(n.hJ,{"data-slot":"dialog-overlay",className:(0,d.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-[var(--z-modal)] bg-[var(--overlay-soft)]",t),...a})}function m(e){let{className:t,children:a,showCloseButton:l=!0,...i}=e,m=(0,o.c)("common.a11y");return(0,r.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,r.jsx)(u,{}),(0,r.jsxs)(n.UC,{"data-slot":"dialog-content",className:(0,d.cn)("bg-card text-foreground 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 fixed top-[50%] left-[50%] z-[var(--z-modal)] grid w-full max-w-[calc(100%-2rem)] max-h-[calc(100vh-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
1ded-lg border border-border p-6 shadow-2xl duration-200 overflow-hidden sm:max-w-2xl md:max-w-4xl lg:max-w-6xl",t),...i,children:[a,l&&(0,r.jsxs)(n.bm,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,r.jsx)(s.A,{}),(0,r.jsx)("span",{className:"sr-only",children:m("close")})]})]})]})}function f(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"dialog-header",className:(0,d.cn)("flex flex-col gap-2 text-center sm:text-left",t),...a})}function x(e){let{className:t,...a}=e;return(0,r.jsx)("div",{"data-slot":"dialog-footer",className:(0,d.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...a})}function g(e){let{className:t,...a}=e;return(0,r.jsx)(n.hE,{"data-slot":"dialog-title",className:(0,d.cn)("text-lg leading-none font-semibold",t),...a})}function p(e){let{className:t,...a}=e;return(0,r.jsx)(n.VY,{"data-slot":"dialog-description",className:(0,d.cn)("text-muted-foreground text-sm",t),...a})}}}]);

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.