1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,244364,e=>{"use strict";let t=(0,e.i(593617).default)("outline","chevron-right","ChevronRight",[["path",{d:"M9 6l6 6l-6 6",key:"svg-0"}]]);e.s(["IconChevronRight",0,t],244364)},124945,e=>{"use strict";let t=(0,e.i(593617).default)("outline","cash","Cash",[["path",{d:"M7 15h-3a1 1 0 0 1 -1 -1v-8a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v3",key:"svg-0"}],["path",{d:"M7 10a1 1 0 0 1 1 -1h12a1 1 0 0 1 1 1v8a1 1 0 0 1 -1 1h-12a1 1 0 0 1 -1 -1l0 -8",key:"svg-1"}],["path",{d:"M12 14a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}]]);e.s(["IconCash",0,t],124945)},744920,e=>{"use strict";let t=(0,e.i(593617).default)("outline","currency-dollar","CurrencyDollar",[["path",{d:"M16.7 8a3 3 0 0 0 -2.7 -2h-4a3 3 0 0 0 0 6h4a3 3 0 0 1 0 6h-4a3 3 0 0 1 -2.7 -2",key:"svg-0"}],["path",{d:"M12 3v3m0 12v3",key:"svg-1"}]]);e.s(["IconCurrencyDollar",0,t],744920)},691912,e=>{"use strict";let t=(0,e.i(593617).default)("outline","folder","Folder",[["path",{d:"M5 4h4l3 3h7a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2",key:"svg-0"}]]);e.s(["IconFolder",0,t],691912)},911031,e=>{"use strict";var t=e.i(771246);e.i(994179);var s=e.i(647163);let a="flex h-full items-center gap-2 px-3 text-cell-xs";e.s(["CHAT_BUBBLE",0,"bg-primary text-primary-foreground ml-auto w-fit max-w-[85%] rounded-lg px-3 py-2 text-sm leading-5","Cell",0,function({children:e,right:n,wash:r,last:l,className:i}){return(0,t.jsx)("span",{className:(0,s.cn)(a,!l&&"border-border border-r",n&&"justify-end tabular-nums",r,"truncate",i),children:e})},"CellSelection",0,function(){return(0,t.jsx)("span",{"aria-hidden":!0,className:"border-primary pointer-events-none absolute inset-0 z-10 border",style:{borderRadius:6,boxSizing:"border-box"},children:(0,t.jsx)("span",{className:"bg-primary absolute",style:{right:-1,bottom:-1,width:7,height:7,borderRadius:2}})})},"FringePill",0,function({label:e,tint:a}){return(0,t.jsx)("span",{className:(0,s.cn)("inline-flex max-w-full shrink-0 items-center whitespace-nowrap rounded-[6px] py-1 text-[11px] font-medium leading-none","px-1.5",a),children:e})},"HeadCell",0,function({icon:e,label:n,right:r,wash:l,bar:i,last:o}){return(0,t.jsxs)("span",{className:(0,s.cn)(a,"text-muted-foreground relative font-semibold",!o&&"border-border border-r",r&&"justify-end",l),children:[e?(0,t.jsx)(e,{size:12,className:"shrink-0 opacity-70"}):null,(0,t.jsx)("span",{className:"truncate",children:n}),i?(0,t.jsx)("span",{"aria-hidden":!0,className:(0,s.cn)("pointer-events-none absolute inset-x-0",i),style:{bottom:-1,height:2}}):null]})},"INPUT_ON_TILE",0,"border-border bg-card dark:bg-card","MONO_MARK",0,{auto:"dark:invert",dark:"invert",light:""},"PILL_TINT",0,{blue:"bg-blue-500/15 text-blue-700 dark:text-blue-300",sky:"bg-sky-500/15 text-sky-700 dark:text-sky-300",cyan:"bg-cyan-500/15 text-cyan-700 dark:text-cyan-300",teal:"bg-teal-500/15 text-teal-700 dark:text-teal-300",green:"bg-green-500/15 text-green-700 dark:text-green-300",emerald:"bg-emerald-500/15 text-emerald-700 dark:text-emerald-300",amber:"bg-amber-500/15 text-amber-700 dark:text-amber-300",violet:"bg-violet-500/15 text-violet-700 dark:text-violet-300",purple:"bg-purple-500/15 text-purple-700 dark:text-purple-300",indigo:"bg-indigo-500/15 text-indigo-700 dark:text-indigo-300",pink:"bg-pink-500/15 text-pink-700 dark:text-pink-300",rose:"bg-rose-500/15 text-rose-700 dark:text-rose-300",gray:"bg-muted text-muted-foreground"},"ROLE_TINT",0,{green:"bento-tint-green",blue:"bento-tint-blue",purple:"bento-tint-purple"},"SELECT_ON_TILE",0,"border-border bg-card dark:bg-card dark:hover:bg-card","SHEET_ROW_H",0,35,"SWITCH_ON_TILE",0,"[&>span]:bg-card data-[state=unchecked]:bg-border disabled:opacity-100","Sheet",0,function({children:e,className:a}){return(0,t.jsx)("div",{className:(0,s.cn)("border-border overflow-hidden rounded-lg border",a),children:e})},"SheetRow",0,function({cols:e,children:a,className:n,head:r}){return(0,t.jsx)("div",{className:(0,s.cn)("border-border grid border-b last:border-b-0",n),style:{gridTemplateColumns:e,height:35},"data-head":r||void 0,children:a})}])},642760,e=>{"use strict";let t=(0,e.i(593617).default)("outline","clock","Clock",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 7v5l3 3",key:"svg-1"}]]);e.s(["IconClock",0,t],642760)},425418,e=>{"use strict";let t=(0,e.i(593617).default)("outline","mail","Mail",[["path",{d:"M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10",key:"svg-0"}],["path",{d:"M3 7l9 6l9 -6",key:"svg-1"}]]);e.s(["IconMail",0,t],425418)},863282,380088,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(647163);function n({id:e,curve:s,plot:r,hover:l,ticks:i,className:o,span:c=260,svgClassName:d}){let m=`${e}-fill`,u=`${e}-edge`,h=`${e}-mask`,x=!!i?.length,p=l?l.y*r:0,f=c>260;return(0,t.jsxs)("div",{className:(0,a.cn)("relative",f&&"overflow-hidden",o),style:{height:r+28*!!x,...f?{maskImage:"linear-gradient(to right, transparent 0%, black 14%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 14%)"}:null},children:[(0,t.jsxs)("svg",{viewBox:`0 0 ${c} 80`,preserveAspectRatio:"none",role:"presentation",className:(0,a.cn)("absolute top-0 left-0 block",!f&&"w-full",d),style:{height:r,...f?{width:`${c/260*100}%`,overflow:"visible"}:null},children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:m,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"var(--chart-1)",stopOpacity:.4}),(0,t.jsx)("stop",{offset:"100%",stopColor:"var(--chart-1)",stopOpacity:0})]}),(0,t.jsxs)("linearGradient",{id:u,x1:"0",y1:"0",x2:"1",y2:"0",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"white",stopOpacity:0}),(0,t.jsx)("stop",{offset:"14%",stopColor:"white",stopOpacity:1}),(0,t.jsx)("stop",{offset:"100%",stopColor:"white",stopOpacity:1})]}),(0,t.jsx)("mask",{id:h,children:(0,t.jsx)("rect",{x:"0",y:"0",width:260,height:80,fill:`url(#${u})`})})]}),(0,t.jsxs)("g",{mask:f?void 0:`url(#${h})`,children:[(0,t.jsx)("path",{d:`${s} L${c},80 L0,80 Z`,fill:`url(#${m})`}),(0,t.jsx)("path",{d:s,fill:"none",stroke:"var(--chart-1)",strokeWidth:2,vectorEffect:"non-scaling-stroke"})]})]}),l?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-border absolute w-px",style:{left:l.at,top:8,height:r-8}}),(0,t.jsx)("span",{className:"bg-chart-1 ring-card absolute size-2 roun
1ded-full ring-2",style:{left:l.at,top:p,marginLeft:-4,marginTop:-4}}),l.tooltip?(0,t.jsx)("div",{className:"absolute z-10 -translate-x-1/2 -translate-y-full",style:{left:l.at,top:p-14},children:(0,t.jsxs)("span",{className:"border-border bg-popover text-popover-foreground flex items-center gap-2 rounded-lg border px-3 py-2 text-xs whitespace-nowrap",children:[(0,t.jsx)("span",{className:"bg-chart-1 size-2 shrink-0 rounded-full"}),(0,t.jsxs)("span",{className:"text-muted-foreground",children:[l.tooltip.label,":"]}),(0,t.jsx)("span",{className:"font-mono font-semibold tabular-nums",children:l.tooltip.value})]})}):null,l.date&&x?(0,t.jsx)("span",{className:"border-border bg-popover text-popover-foreground absolute z-10 -translate-x-1/2 rounded-full border px-2 py-0.5 text-cell-2xs leading-none font-medium",style:{left:l.at,top:r+8-2},children:l.date}):null]}):null,i?.map(e=>(0,t.jsx)("span",{className:"absolute -translate-x-1/2 text-cell-2xs whitespace-nowrap",style:{left:e.at,top:r+8,color:"color-mix(in oklab, var(--muted-foreground) 46%, var(--card))"},children:e.label},e.label))]})}e.s(["CURVE_BOX",0,80,"CURVE_W",0,260,"TrendChart",0,n,"driftSeries",0,function({name:e,ys:t,rise:s,seconds:a}){let n=t.length,r=260/n,l=e=>({x:e*r,y:t[(e%n+n)%n]-s*Math.floor(e/n)}),i=e=>Number(e.toFixed(3)),o=l(0),c=`M${i(o.x)},${i(o.y)}`;for(let e=0;e<2*n;e+=1){let t=l(e-1),s=l(e),a=l(e+1),n=l(e+2),r=s.x+(a.x-t.x)/6,o=s.y+(a.y-t.y)/6,d=a.x-(n.x-s.x)/6,m=a.y-(n.y-s.y)/6;c+=` C${i(r)},${i(o)} ${i(d)},${i(m)} ${i(a.x)},${i(a.y)}`}return{name:e,d:c,rise:s,seconds:a}}],380088);e.s(["CardTrendDrift",0,function({id:e,series:a}
1){let r,l=(0,s.useRef)(null),i=function(e){let[t,a]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let t=e.current;if(!t||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let s=new IntersectionObserver(e=>a(e.some(e=>e.isIntersecting)),{rootMargin:"240px"});return s.observe(t),()=>s.disconnect()},[e]),t}(l);return(0,t.jsxs)("div",{ref:l,"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-50",children:[i?(0,t.jsx)("style",{href:`card-trend-drift-${a.name}`,precedence:"default",children:(r=a.rise/80*284,` 2@keyframes ctd-${a.name} { 3 from { transform: translate3d(0, 0, 0); } 4 to { transform: translate3d(-50%, ${r.toFixed(2)}px, 0); } 5} 6.ctd-${a.name} { 7 animation: ctd-${a.name} ${a.seconds}s linear infinite; 8 will-change: transform; 9} 10@media (prefers-reduced-motion: reduce) { 11 .ctd-${a.name} { animation: none; } 12} 13`)}):null,(0,t.jsx)(n,{id:e,curve:a.d,plot:284,span:520,svgClassName:i?`ctd-${a.name}`:void 0})]})},"TILE_PLOT",0,284],863282)},273419,e=>{"use strict";var t=e.i(771246),s=e.i(647163),a=e.i(112086);e.s(["GlowEffect",0,function({className:e,style:n,colors:r=["#FF5733","#33FF57","#3357FF","#F1C40F"],mode:l="rotate",blur:i="medium",transition:o,scale:c=1,duration:d=5}){let m={repeat:1/0,duration:d,ease:"linear"},u={rotate:{background:[`conic-gradient(from 0deg at 50% 50%, ${r.join(", ")})`,`conic-gradient(from 360deg at 50% 50%, ${r.join(", ")})`],transition:{...o??m}},pulse:{background:r.map(e=>`radial-gradient(circle at 50% 50%, ${e} 0%, transparent 100%)`),scale:[+c,1.1*c,+c],opacity:[.5,.8,.5],transition:{...o??{...m,repeatType:"mirror"}}},breathe:{background:[...r.map(e=>`radial-gradient(circle at 50% 50%, ${e} 0%, transparent 100%)`)],scale:[+c,1.05*c,+c],transition:{...o??{...m,repeatType:"mirror"}}},colorShift:{background:r.map((e,t)=>{let s=r[(t+1)%r.length];return`conic-gradient(from 0deg at 50% 50%, ${e} 0%, ${s} 50%, ${e} 100%)`}),transition:{...o??{...m,repeatType:"mirror"}}},flowHorizontal:{background:r.map(e=>{let t=r[(r.indexOf(e)+1)%r.length];return`linear-gradient(to right, ${e}, ${t})`}),transition:{...o??{...m,repeatType:"mirror"}}},static:{background:`linear-gradient(to right, ${r.join(", ")})`}}
13;return(0,t.jsx)(a.motion.div,{style:{...n,"--scale":c,willChange:"transform",backfaceVisibility:"hidden"},animate:u[l],className:(0,s.cn)("pointer-events-none absolute inset-0 h-full w-full","scale-[var(--scale)] transform-gpu","number"==typeof i?`blur-[${i}px]`:({softest:"blur-xs",soft:"blur-sm",medium:"blur-md",strong:"blur-lg",stronger:"blur-xl",strongest:"blur-xl",none:"blur-none"})[i],e)})}])},287336,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(9413),n=e.i(285565),r="Progress",[l,i]=(0,a.createContextScope)(r),[o,c]=l(r),d=s.forwardRef((e,s)=>{var a,r;let{__scopeProgress:l,value:i=null,max:c,getValueLabel:d=h,...m}=e;(c||0===c)&&!f(c)&&console.error((a=`${c}`,`Invalid prop \`max\` of value \`${a}\` supplied to \`Progress\`. Only numbers greater than 0 are valid max values. Defaulting to \`100\`.`));let u=f(c)?c:100;null===i||g(i,u)||console.error((r=`${i}`,`Invalid prop \`value\` of value \`${r}\` supplied to \`Progress\`. The \`value\` prop must be: 14 - a positive number 15 - less than the value passed to \`max\` (or 100 if no \`max\` prop is set) 16 - \`null\` or \`undefined\` if the progress is indeterminate. 17 18Defaulting to \`null\`.`));let b=g(i,u)?i:null,j=p(b)?d(b,u):void 0;return(0,t.jsx)(o,{scope:l,value:b,max:u,children:(0,t.jsx)(n.Primitive.div,{"aria-valuemax":u,"aria-valuemin":0,"aria-valuenow":p(b)?b:void 0,"aria-valuetext":j,role:"progressbar","data-state":x(b,u),"data-value":b??void 0,"data-max":u,...m,ref:s})})});d.displayName=r;var m="ProgressIndicator",u=s.forwardRef((e,s)=>{let{__scopeProgress:a,...r}=e,l=c(m,a);return(0,t.jsx)(n.Primitive.div,{"data-state":x(l.value,l.max),"data-value":l.value??void 0,"data-max":l.max,...r,ref:s})});function h(e,t){return`${Math.round(e/t*100)}%`}function x(e,t){return null==e?"indeterminate":e===t?"complete":"loading"}function p(e){return"number"==typeof e}function f(e){return p(e)&&!isNaN(e)&&e>0}function g(e,t){return p(e)&&!isNaN(e)&&e<=t&&e>=0}u.displayName=m,e.s(["Indicator",0,u,"Progress",0,d,"ProgressIndicator",0,u,"Root",0,d,"createProgressScope",0,i],813106);var b=e.i(813106),b=b,j=e.i(647163);e.s(["Progress",0,function({className:e,indicatorClassName:s,value:a,...n}){return(0,t.jsx)(b.Root,{"data-slot":"progress",className:(0,j.cn)("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),...n,children:(0,t.jsx)(b.Indicator,{"data-slot":"progress-indicator",className:(0,j.cn)("bg-primary h-full w-full flex-1 transition-all",s),style:{transform:`translateX(-${100-(a||0)}%)`}})})}],287336)},335844,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(294237),n=e.i(809981),r=e.i(647163),l=e.i(471164);let i=(0,a.cva)("group relative flex flex-col justify-between overflow-hidden rounded-2xl bg-gradient-to-br from-white via-zinc-50 to-zinc-200 text-zinc-900",{variants:{size:{sm:"w-full p-3 flex-row items-center gap-3 border border-border rounded-lg !bg-transparent",md:"w-full max-w-[160px] p-3 aspect-[1.586/1] shadow-lg rounded-lg",default:"w-full max-w-[340px] aspect-[1.586/1] shadow-2xl rounded-2xl"}},defaultVariants:{size:"default"}});function o({style:e}){return(0,t.jsx)("svg",{viewBox:"0 0 17 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"text-zinc-900 shrink-0",style:e,children:(0,t.jsx)("path",{d:"M1.36543 0.961996C0.802616 0.96972 0.427838 1.47033 0.259402 2.18079C0.173606 2.55422 0.12365 2.93506 0.110219 3.31809C0.105481 3.41544 0.102339 3.51254 0.100244 3.60844C0.0981491 3.70434 0.0973511 3.79924 0.0973511 3.89228C0.0973511 4.07831 0.100892 4.25726 0.106279 4.42363C0.189824 5.80709 0.212767 6.84754 0.816282 7.93372C1.15834 8.55064 1.80385 9.26246 2.97971 10.0333C4.14439 10.8033 5.69672 11.5834 7.50712 12.4291C8.66592 12.9839 9.62955 13.4573 10.3812 13.8112C11.133 14.1673 11.7197 14.4381 12.1518 14.6414C12.5846 14.8456 12.8922 14.9956 13.0989 15.1149C13.3056 15.2342 13.4607 15.319 13.574 15.3771C14.4507 16.0475 14.7827 16.8499 14.8931 17.8025C14.9323 18.1613 14.8585 18.6104 14.8373 18.8615C14.8168 19.1306 14.8503 19.1898 15.1477 19.1951C15.4432 19.1723 15.7697 19.0782 15.9495 18.3575C16.0428 18.001 16.1114 17.4891 16.1476 16.8342C16.1655 16.5072 16.1745 16.
181465 16.1737 15.7553C16.1735 15.6575 16.1727 15.5578 16.1713 15.4561C16.17 15.3544 16.168 15.2508 16.1656 15.1451C16.1606 14.9337 16.1536 14.7142 16.1452 14.4852C16.0394 13.0981 15.9995 12.0942 15.0789 10.9149C14.8359 10.6224 14.3258 10.188 13.3542 9.59184C12.3918 8.99563 10.7365 8.22016 8.61888 7.29498C7.07423 6.62735 5.74964 6.01098 4.7304 5.51975C3.70847 5.02466 2.98135 4.65571 2.50642 4.35366C1.59367 3.65599 1.59676 2.7281 1.67622 2.05937C1.71497 1.71399 1.77138 1.43642 1.75103 1.24633C1.74998 1.20543 1.74059 1.16518 1.72343 1.12808C1.70627 1.09098 1.68171 1.05782 1.65128 1.03066C1.61726 1.0048 1.57804 0.986708 1.53636 0.977645C1.51074 0.971606 1.48472 0.967432 1.4585 0.965156C1.44427 0.963919 1.42947 0.963033 1.41411 0.962498C1.39875 0.961963 1.38252 0.961796 1.36543 0.961996Z",fill:"currentColor"})})}function c({className:e,style:s}){return(0,t.jsx)("svg",{fill:"#18181b",viewBox:"0 10 32 12",xmlns:"http://www.w3.org/2000/svg",className:e,style:s,preserveAspectRatio:"xMaxYMax meet",children:(0,t.jsx)("path",{d:"M15.854 11.329l-2.003 9.367h-2.424l2.006-9.367zM26.051 17.377l1.275-3.518 0.735 3.518zM28.754 20.696h2.242l-1.956-9.367h-2.069c-0.003-0-0.007-0-0.010-0-0.459 0-0.853 0.281-1.019 0.68l-0.003 0.007-3.635 8.68h2.544l0.506-1.4h3.109zM22.429 17.638c0.010-2.473-3.419-2.609-3.395-3.714 0.008-0.336 0.327-0.694 1.027-0.785 0.13-0.013 0.28-0.021 0.432-0.021 0.711 0 1.385 0.162 1.985 0.452l-0.027-0.012 0.425-1.987c-0.673-0.261-1.452-0.413-2.266-0.416h-0.001c-2.396 0-4.081 1.275-4.096 3.098-0.015 1.348 1.203 2.099 2.122 2.549 0.945 0.459 1.262 0.754 1.257 1.163-0.006 0.63-0.752 0.906-1.45 0.917-0.032 0.001-0.071 0.001-0.109 0.001-0.871 0-1.691-0.219-2.407-0.606l0.027 0.013-0.439 2.052c0.786 0.315 1.697 0.497 2.651 0.497 0.015 0 0.030-0 0.045-0h-0.002c2.546 0 4.211-1.257 4.22-3.204zM12.391 11.329l-3.926 9.367h-2.562l-1.932-7.477c-0.037-0.364-0.26-0.668-0.57-0.82l-0.006-0.003c-0.688-0.338-1.488-0.613-2.325-0.786l-0.066-0.011 0.058-0.271h4.124c0 0 0.001 0 0.001 0 0.562 0 1.028 0.411 1.115 0.948l0.001 0.006 1.021 5.421 2.522-6.376z"})})}let d=s.forwardRef(({className:e,size:s,cardName:a="Saturation Card",cardholderName:d="Alex Rivera",locked:m=!1,...u},h)=>"sm"===s?(0,t.jsxs)("div",{ref:h,"data-slot":"saturation-credit-card",className:(0,r.cn)("group relative w-full p-3 flex flex-row items-center gap-3 border border-border rounded-lg",m&&"opacity-60 grayscale",e),...u,children:[(0,t.jsx)("div",{className:"relative w-10 h-7 rounded overflow-hidden shadow-sm shrink-0 bg-gradient-to-br from-white via-zinc-50 to-zinc-200 flex items-center justify-center border border-zinc-200",children:(0,t.jsx)(o,{style:{height:10,width:"auto"}})}),(0,t.jsxs)("span",{className:"text-sm font-semibold text-foreground truncate",children:[a,d?` \xb7 ${d.split(" ")[0]}`:""]}),m&&(0,t.jsx)(n.Lock,{className:"size-3 text-muted-foreground shrink-0"}),(0,t.jsx)("svg",{className:"ml-auto shrink-0 w-4 h-4 text-muted-foreground",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]}):"md"===s?(0,t.jsxs)("div",{ref:h,"data-slot":"saturation-credit-card",className:(0,r.cn)(i({size:s}),m&&"grayscale opacity-80",e),...u,children:[(0,t.jsx)(l.Spotlight,{className:"blur-3xl bg-zinc-900/10",size:80,springOptions:{bounce:.3,duration:.1}}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(o,{style:{height:13,width:"auto"}}),(0,t.jsx)("span",{className:"text-[10px] font-semibold truncate",children:a})]}),(0,t.jsx)("div",{className:"flex-1 flex items-center",children:(0,t.jsxs)("svg",{width:"28",height:"22",viewBox:"0 0 40 32",fill:"none",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"sc-chip1-md",x1:"0",y1:"0",x2:"40",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#d4d4d8"}),(0,t.jsx)("stop",{offset:"0.5",stopColor:"#d9d9dd"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#d1d1d5"})]}),(0,t.jsxs)("linearGradient",{id:"sc-chip2-md",x1:"12",y1:"0",x2:"28",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#c8c8cc"}),(0,t.jsx)("stop",{offset:"0.5",stopColor:"#d6d6da"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#bfbfc3"})]})]}),(0,t.jsx)("rect",{x:"0.5",y:"0.5",width:"39",height:"31",rx:"4.5",fill:"url(#sc-chip1-md)",stroke:"rgba(0,0,0,0.10)"}),(0,t.jsx)("rect",{x:"12",y:"0.5",width:"16",height:"31",fill:"url(#sc-chip2-md)",stroke:"rgba(0,0,0,0.06)",strokeWidth:"0.5"}),(0,t.jsx)("line",{x1:"0",y1:"11",x2:"40",y2:"11",stroke:"rgba(0,0,0,0.08)",strokeWidth:"0.5"}),(0,t.jsx)("line",{x1:"0",y1:"21",x2:"40",y2:"21",stroke:"rgba(0,0,0,0.08)",strokeWidth:"0.5"})]})}),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-[10px] font-medium truncate",children:d}),(0,t.jsx)("svg",{fill:"#18181b",width:"32",height:"11",viewBox:"0 10 32 12",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMaxYMax meet",children:(0,t.jsx)("path",{d:"M15.854 11.329l-2.003 9.367h-2.424l2.006-9.367zM26.051 17.377l1.275-3.518 0.735 3.518zM28.754 20.696h2.242l-1.956-9.367h-2.069c-0.003-0-0.007-0-0.010-0-0.459 0-0.853 0.281-1.019 0.68l-0.003 0.007-3.635 8.68h2.544l0.506-1.4h3.109zM22.429 17.638c0.010-2.473-3.419-2.609-3.395-3.714 0.008-0.336 0.327-0.694 1.027-0.785 0.13-0.013 0.28-0.021 0.432-0.021 0.711 0 1.385 0.162 1.985 0.452l-0.027-0.012 0.425-1.987c-0.673-0.261-1.452-0.413-2.266-0.416h-0.001c-2.396 0-4.081 1.275-4.096 3.098-0.015 1.348 1.203 2.099 2.122 2.549 0.945 0.459 1.262 0.754 1.257 1.163-0.006 0.63-0.752 0.906-1.45 0.917-0.032 0.001-0.071 0.001-0.109 0.001-0.871 0-1.691-0.219-2.407-0.606l0.027 0.013-0.439 2.052c0.786 0.315 1.697 0.497 2.651 0.497 0.015 0 0.030-0 0.045-0h-0.002c2.546 0 4.211-1.257 4.22-3.204zM12.391 11.329l-3.926 9.367h-2.562l-1.932-7.477c-0.037-0.364-0.26-0.668-0.57-0.82l-0.006-0.003c-0.688-0.338-1.488-0.613-2.325-0.786l-0.066-0.011 0.058-0.271h4.124c0 0 0.001 0 0.001 0 0.562 0 1.028 0.411 1.115 0.948l0.001 0.006 1.021 5.421 2.522-6.376z"})})]})]}):(0,t.jsx)("div",{ref:h,"data-slot":"saturation-credit-card",className:(0,r.cn)("w-full max-w-[340px] rounded-2xl overflow-hidden shadow-2xl aspect-[1.586/1]",m&&"grayscale opacity-80",e),style:{containerType:"inline-size"},...u,children:(0,t.jsxs)("div",{className:"group relative w-full h-full flex flex-col justify-between bg-gradient-to-br from-white via-zinc-50 to-zinc-200 text-zinc-900",style:{fontSize:"4.706cqw",padding:"1.25em"},children:[m&&(0,t.jsx)("div",{className:"absolute inset-0 bg-black/10 z-10 pointer-events-none rounded-2xl"}),(0,t.jsx)(l.Spotlight,{className:"blur-3xl bg-zinc-900/10",size:120,springOptions:{bounce:.3,duration:.1}}),(0,t.jsxs)("div",{className:"flex items-start justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center",style:{gap:"0.5em"},children:[(0,t.jsx)(o,{style:{height:"1.125em",width:"auto"}}),(0,t.jsx)("span",{style:{fontSize:"1em",fontWeight:600,lineHeight:1},className:(0,r.cn)(m&&"opacity-50"),children:"saturation"})]}),m&&(0,t.jsxs)("div",{className:"flex items-center rounded-full text-zinc-500/70 bg-zinc-200/50",style:{gap:"0.375em",padding:"0.25em 0.5em",fontSize:"0.75em"},children:[(0,t.jsx)(n.Lock,{style:{width:"0.75em",height:"0.75em"}}),(0,t.jsx)("span",{children:"Locked"})]})]}),(0,t.jsx)("div",{style:{marginTop:"1em"}
18,children:(0,t.jsxs)("svg",{style:{width:"3em",height:"2.375em"},viewBox:"0 0 40 32",fill:"none",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"sc-chip1",x1:"0",y1:"0",x2:"40",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#d4d4d8"}),(0,t.jsx)("stop",{offset:"0.3",stopColor:"#c8c8cc"}),(0,t.jsx)("stop",{offset:"0.5",stopColor:"#d9d9dd"}),(0,t.jsx)("stop",{offset:"0.7",stopColor:"#c0c0c4"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#d1d1d5"})]}),(0,t.jsxs)("linearGradient",{id:"sc-chip2",x1:"12",y1:"0",x2:"28",y2:"32",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#c8c8cc"}),(0,t.jsx)("stop",{offset:"0.5",stopColor:"#d6d6da"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#bfbfc3"})]})]}),(0,t.jsx)("rect",{x:"0.5",y:"0.5",width:"39",height:"31",rx:"4.5",fill:"url(#sc-chip1)",stroke:"rgba(0,0,0,0.10)"}),(0,t.jsx)("rect",{x:"12",y:"0.5",width:"16",height:"31",fill:"url(#sc-chip2)",stroke:"rgba(0,0,0,0.06)",strokeWidth:"0.5"}),(0,t.jsx)("line",{x1:"0",y1:"11",x2:"40",y2:"11",stroke:"rgba(0,0,0,0.08)",strokeWidth:"0.5"}),(0,t.jsx)("line",{x1:"0",y1:"21",x2:"40",y2:"21",stroke:"rgba(0,0,0,0.08)",strokeWidth:"0.5"}),(0,t.jsx)("circle",{cx:"20",cy:"13",r:"3",fill:"none",stroke:"rgba(0,0,0,0.06)",strokeWidth:"0.5"}),(0,t.jsx)("path",{d:"M17 16 Q20 19 23 16",fill:"none",stroke:"rgba(0,0,0,0.06)",strokeWidth:"0.5"})]})}),(0,t.jsx)("div",{children:(0,t.jsx)("span",{style:{display:"block",fontSize:"0.875em",fontWeight:700},children:d})}),(0,t.jsx)(c,{style:{position:"absolute",bottom:"1.25em",right:"1.25em",width:"4em",height:"1.3125em"}})]})}));d.displayName="SaturationCreditCard",e.s(["SaturationCreditCard",0,d,"saturationCreditCardVariants",0,i])},541991,e=>{"use strict";let t=(0,e.i(593617).default)("outline","chevron-down","ChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]]);e.s(["IconChevronDown",0,t],541991)},340411,e=>{"use strict";let t=(0,e.i(593617).default)("outline","chevron-left","ChevronLeft",[["path",{d:"M15 6l-6 6l6 6",key:"svg-0"}]]);e.s(["IconChevronLeft",0,t],340411)},627922,e=>{"use strict";let t=(0,e.i(593617).default)("outline","info-circle","InfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]]);e.s(["IconInfoCircle",0,t],627922)},413665,e=>{"use strict";let t=(0,e.i(593617).default)("outline","send","Send",[["path",{d:"M10 14l11 -11",key:"svg-0"}],["path",{d:"M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5",key:"svg-1"}]]);e.s(["IconSend",0,t],413665)},83837,344426,e=>{"use strict";var t=e.i(593617);let s=(0,t.default)("outline","tag","Tag",[["path",{d:"M6.5 7.5a1 1 0 1 0 2 0a1 1 0 1 0 -2 0",key:"svg-0"}],["path",{d:"M3 6v5.172a2 2 0 0 0 .586 1.414l7.71 7.71a2.41 2.41 0 0 0 3.408 0l5.592 -5.592a2.41 2.41 0 0 0 0 -3.408l-7.71 -7.71a2 2 0 0 0 -1.414 -.586h-5.172a3 3 0 0 0 -3 3",key:"svg-1"}]]);e.s(["IconTag",0,s],83837);let a=(0,t.default)("outline","user","User",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2",key:"svg-1"}]]);e.s(["IconUser",0,a],344426)},89486,e=>{"use strict";var t=e.i(771246),s=e.i(958677),a=e.i(78228),n=e.i(541991),r=e.i(340411),l=e.i(244364),i=e.i(744920),o=e.i(627922),c=e.i(425418),d=e.i(413665),m=e.i(83837),u=e.i(344426);let h=(0,e.i(593617).default)("outline","user-plus","UserPlus",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M16 19h6",key:"svg-1"}],["path",{d:"M19 16v6",key:"svg-2"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h4",key:"svg-3"}]]);var x=e.i(772299),p=e.i(647163);let f=(0,s.default)(()=>e.A(676227).then(e=>e.Warp),{loadableGenerated:{modules:[372624]},ssr:!1}),g=[{label:"Pattern",amount:"$80,000.00",light:["#eef0f6","#feefc8","#fbbf24","#fddc87"],dark:["#0c0a05","#3a2a06","#fbbf24","#a8780f"],ink:"#f59e0b"},{label:"Amort",amount:"$16,000.00",light:["#eef0f6","#e9e2fe","#a78bfa","#cfbffc"],dark:["#0a0614","#1e1040","#a78bfa","#5b3aa8"],ink:"#8b5cf6"},{label:"Actuals",amount:"$62,400.00",light:["#eef0f6","#ccf4e6","#34d399","#8fe7c7"],dark:["#040d09","#062b1c","#34d399","#138a5a"],ink:"#10b981"},{label:"Committed",amount:"$80,000.00",light:["#eef0f6","#cdeffd","#38bdf8","#92dbfb"],dark:["#050b12","#06283a","#38bdf8","#1366a0"],ink:"#0ea5e9"}],b=[{phase:"0",ms:2600},{phase:"1",ms:2600},{phase:"2",ms:2600},{phase:"3",ms:2600}],j={light:"rgba(250,251,253,0.4)",dark:"rgba(6,8,12,0.5)"},y={light:"#eef0f6",dark:"#0d0f14"},v={width:"100%",height:"100%"};function w({icon:e,label:s,children:a,ink:n}){return(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2 py-1 text-cell-xs",children:[(0,t.jsxs)("span",{className:(0,p.cn)("flex w-[86px] shrink-0 items-center gap-2",!n&&"text-muted-foreground"),style:n?{color:n}:void 0,children:[(0,t.jsx)(e,{size:13,className:"shrink-0 opacity-80"}),(0,t.jsx)("span",{className:(0,p.cn)("truncate",n&&"font-semibold"),children:s})]}),(0,t.jsx)("span",{className:(0,p.cn)("min-w-0 flex-1 truncate",n&&"font-semibold"),children:a})]})}e.s(["ContactPanel",0,function(){return(0,t.jsxs)("div",{className:"border-border bg-card flex min-w-0 flex-col overflow-hidden rounded-xl border",children:[(0,t.jsxs)("div",{className:"bento-contact-hero flex flex-col gap-1.5 px-3 py-2.5",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2.5",children:[(0,t.jsx)("span",{className:"grid size-9 shrink-0 place-items-center rounded-full text-xs font-semibold text-white backdrop-blur-sm",style:{backgroundColor:"#4c8dffB3"},children:"FT"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[13px] leading-tight font-semibold",children:"Fiona Tate"})]}),(0,t.jsxs)("div",{className:"flex w-full items-center gap-1.5",children:[(0,t.jsxs)("span",{className:"flex h-7 min-w-0 flex-1 items-center justify-center gap-1.5 overflow-hidden rounded-[11px] bg-blue-600 text-[11px] font-semibold whitespace-nowrap text-white",children:[(0,t.jsx)(h,{size:13,className:"shrink-0"}),"Onboard"]}),(0,t.jsxs)("span",{className:"text-foreground flex h-7 min-w-0 flex-1 items-center justify-center gap-1.5 overflow-hidden rounded-[11px] bg-black/[0.08] text-[11px] font-semibold whitespace-nowrap backdrop-blur-md dark:bg-white/[0.16]",children:[(0,t.jsx)(d.IconSend,{size:13,className:"shrink-0"}
18),"Send"]})]})]}),(0,t.jsxs)("div",{className:"flex flex-col px-3 pt-2 pb-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 pb-px text-[11px] font-semibold",children:[(0,t.jsx)(o.IconInfoCircle,{size:13,className:"opacity-85"}),"Details",(0,t.jsx)(n.IconChevronDown,{size:12,className:"text-muted-foreground ml-auto opacity-60"})]}),(0,t.jsx)(w,{icon:c.IconMail,label:"Email",children:"[email protected]"})]})]})},"LineHeroLoop",0,function({wide:e,rows:s}){let c=(0,a.useRef)(null),d=(0,x.useLive)(c),h=function(){let[e,t]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{let e=document.documentElement,s=()=>t(e.classList.contains("dark"));s();let a=new MutationObserver(s);return a.observe(e,{attributes:!0,attributeFilter:["class"]}),()=>a.disconnect()},[]),e}(),{phase:k}=(0,x.useBeat)(b,d,"0"),[N,C]=(0,a.useState)(!1),M=g[Number(k)];(0,a.useEffect)(()=>{window.matchMedia("(prefers-reduced-motion: reduce)").matches||function(){try{return!!document.createElement("canvas").getContext("webgl2")}catch{return!1}}()&&C(!0)},[]);let S=h?M.dark:M.light;return(0,t.jsxs)("div",{ref:c,className:"border-border bg-card flex min-w-0 flex-col overflow-hidden rounded-xl border",children:[(0,t.jsxs)("div",{className:"relative isolate flex flex-col gap-1 px-3 py-3",children:[(0,t.jsxs)("span",{"aria-hidden":!0,className:"absolute inset-0 -z-10",style:{backgroundColor:y[h?"dark":"light"]},children:[(0,t.jsx)("span",{className:"absolute inset-0 block transition-opacity duration-500",children:N&&d?(0,t.jsx)(f,{colors:[...S],proportion:.42,distortion:.22,swirl:.7,swirlIterations:8,shapeScale:.5,shape:"checks",rotation:40,speed:.32,style:v}):(0,t.jsx)("span",{className:"block size-full",style:{backgroundImage:`linear-gradient(118deg, ${S[0]} 0%, ${S[1]} 34%, ${S[3]} 62%, ${S[2]} 100%)`}})}),(0,t.jsx)("span",{className:"absolute inset-0 block",style:{backgroundColor:j[h?"dark":"light"]}})]}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground shrink-0 text-[11px] font-medium tabular-nums",children:"05-04"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-[13px] leading-tight font-semibold tracking-[-0.01em]",children:"Mayor Osman - O. Bakshi"}),e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.IconChevronLeft,{size:13,className:"text-muted-foreground shrink-0"}),(0,t.jsx)(l.IconChevronRight,{size:13,className:"text-muted-foreground shrink-0"})]}):null]}),(0,t.jsx)("span",{className:"block truncate text-[23px] leading-[1.12] font-semibold tracking-[-0.022em] tabular-nums",children:M.amount}),(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center gap-1.5",children:[(0,t.jsx)("span",{className:"size-1.5 shrink-0 rounded-full",style:{backgroundColor:M.ink}}),(0,t.jsx)("span",{className:"text-muted-foreground truncate text-[11px]",children:M.label})]}),(0,t.jsx)("span",{className:"flex shrink-0 items-center gap-1",children:g.map((e,s)=>(0,t.jsx)("span",{className:(0,p.cn)("block h-[3px] w-3 rounded-full transition-colors duration-300",s===Number(k)?"bg-foreground":"bg-foreground
18/25")},e.label))})]})]}),(0,t.jsxs)("div",{className:"flex flex-col px-3 pt-2 pb-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 pb-px text-[11px] font-semibold",children:[(0,t.jsx)(o.IconInfoCircle,{size:13,className:"opacity-85"}),"Details",(0,t.jsx)(n.IconChevronDown,{size:12,className:"text-muted-foreground ml-auto opacity-60"})]}),(0,t.jsx)(w,{icon:i.IconCurrencyDollar,label:M.label,ink:M.ink,children:M.amount}),s>1?(0,t.jsx)(w,{icon:u.IconUser,label:"Contact",children:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)("span",{className:"bg-muted text-foreground grid size-4 shrink-0 place-items-center rounded-full text-[8px] font-semibold",children:"OB"}),(0,t.jsx)("span",{className:"truncate",children:"Omar Bakshi"})]})}):null,s>2?(0,t.jsx)(w,{icon:m.IconTag,label:"Tags",children:(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1",children:[(0,t.jsx)("span",{className:"bg-muted text-foreground shrink-0 rounded px-1.5 py-0.5 text-[10px] font-medium",children:"SAG-AFTRA"}),(0,t.jsx)("span",{className:"bg-muted text-foreground shrink-0 rounded px-1.5 py-0.5 text-[10px] font-medium",children:"Pattern"})]})}):null]})]})}],89486)},702717,e=>{"use strict";var t=e.i(771246),s=e.i(647163);let a=["text-blue-400","text-teal-400","text-cyan-400","text-purple-400","text-violet-400","text-indigo-400","text-pink-400","text-orange-400","text-amber-400","text-emerald-400","text-rose-400","text-sky-400"];e.s(["NextAccountPill",0,function({number:e,description:n,descriptionClassName:r,className:l}){return(0,t.jsxs)("span",{title:`${e} \xb7 ${n}`,className:(0,s.cn)("bg-muted inline-flex max-w-full min-w-0 items-center justify-start gap-1 truncate rounded-[5px] px-1.5 py-1 text-[11px] leading-tight font-semibold select-none",a[function(e){let t=7;for(let s=0;s<e.length;s+=1)t=(t<<5)-t+e.charCodeAt(s),t&=t;return Math.abs(t)}(e)%a.length],l),children:[e,(0,t.jsx)("span",{className:(0,s.cn)("truncate",r),children:`\xb7 ${n}`})]})}])},385748,679181,25484,440623,458120,e=>{"use strict";var t=e.i(593617);let s=(0,t.default)("outline","adjustments-horizontal","AdjustmentsHorizontal",[["path",{d:"M12 6a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-0"}],["path",{d:"M4 6l8 0",key:"svg-1"}],["path",{d:"M16 6l4 0",key:"svg-2"}],["path",{d:"M6 12a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-3"}],["path",{d:"M4 12l2 0",key:"svg-4"}],["path",{d:"M10 12l10 0",key:"svg-5"}],["path",{d:"M15 18a2 2 0 1 0 4 0a2 2 0 1 0 -4 0",key:"svg-6"}],["path",{d:"M4 18l11 0",key:"svg-7"}],["path",{d:"M19 18l1 0",key:"svg-8"}]]);e.s(["IconAdjustmentsHorizontal",0,s],385748);let a=(0,t.default)("outline","alphabet-latin","AlphabetLatin",[["path",{d:"M6 10h2a2 2 0 0 1 2 2v5h-3a2 2 0 1 1 0 -4h3",key:"svg-0"}],["path",{d:"M14 7v10",key:"svg-1"}],["path",{d:"M14 12a2 2 0 0 1 2 -2h1a2 2 0 0 1 2 2v3a2 2 0 0 1 -2 2h-1a2 2 0 0 1 -2 -2l0 -3",key:"svg-2"}]]);e.s(["IconAlphabetLatin",0,a],679181);let n=(0,t.default)("outline","arrow-bar-to-down","ArrowBarToDown",[["path",{d:"M4 20l16 0",key:"svg-0"}],["path",{d:"M12 14l0 -10",key:"svg-1"}],["path",{d:"M12 14l4 -4",key:"svg-2"}],["path",{d:"M12 14l-4 -4",key:"svg-3"}]]);e.s(["IconArrowBarToDown",0,n],25484);let r=(0,t.default)("outline","arrows-exchange","ArrowsExchange",[["path",{d:"M7 10h14l-4 -4",key:"svg-0"}],["path",{d:"M17 14h-14l4 4",key:"svg-1"}]]);e.s(["IconArrowsExchange",0,r],440623);let l=(0,t.default)("outline","coin","Coin",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0",key:"svg-0"}],["path",{d:"M14.8 9a2 2 0 0 0 -1.8 -1h-2a2 2 0 1 0 0 4h2a2 2 0 1 1 0 4h-2a2 2 0 0 1 -1.8 -1",key:"svg-1"}],["path",{d:"M12 7v10",key:"svg-2"}]]);e.s(["IconCoin",0,l],458120)},256884,e=>{"use strict";let t=(0,e.i(593617).default)("outline","file-description","FileDescription",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2",key:"svg-1"}],["path",{d:"M9 17h6",key:"svg-2"}],["path",{d:"M9 13h6",key:"svg-3"}]]);e.s(["IconFileDescription",0,t],256884)},291848,e=>{"use strict";let t=(0,e.i(593617).default)("outline","plus","Plus",[["path",{d:"M12 5l0 14",key:"svg-0"}],["path",{d:"M5 12l14 0",key:"svg-1"}]]);e.s(["IconPlus",0,t],291848)},785069,38946,e=>{"use strict";var t=e.i(593617);let s=(0,t.default)("outline","list-details","ListDetails",[["path",{d:"M13 5h8",key:"svg-0"}],["path",{d:"M13 9h5",key:"svg-1"}],["path",{d:"M13 15h8",key:"svg-2"}],["path",{d:"M13 19h5",key:"svg-3"}],["path",{d:"M3 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-4"}],["path",{d:"M3 15a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1l0 -4",key:"svg-5"}]]);e.s(["IconListDetails",0,s],785069);let a=(0,t.default)("outline","search","Search",[["path",{d:"M3 10a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]]);e.s(["IconSearch",0,a],38946)},939365,e=>{"use strict";var t=e.i(771246),s=e.i(78228);let a=[[{label:"esc",w:1.1},{label:"F1",w:1.025},{label:"F2",w:1.025},{label:"F3",w:1.025},{label:"F4",w:1.025},{label:"F5",w:1.025},{label:"F6",w:1.025},{label:"F7",w:1.025},{label:"F8",w:1.025},{label:"F9",w:1.025},{label:"F10",w:1.025},{label:"F11",w:1.025},{label:"F12",w:1.025},{label:"â¦",w:1.1}],["`","1","2","3","4","5","6","7","8","9","0","-","=",{label:"delete",w:1.5}],[{label:"tab",w:1.5},"Q","W","E","R","T","Y","U","I","O","P","[","]","\\"],[{label:"caps",w:1.8},"A","S","D","F","G","H","J","K","L",";","'",{label:"return",w:1.7}],[{label:"shift",w:2.35,side:"left"},"Z","X","C","V","B","N","M",",",".","/",{label:"shift",w:2.15,side:"right"}],[{label:"fn",w:1},{label:"ctrl",w:1},{label:"â¥",w:1},{label:"â",w:1.25,side:"left"},{label:"",w:5.25},{label:"â",w:1.25,side:"right"},{label:"â¥",w:1},{label:"â",w:1},{label:"âï¸",w:1},{label:"â",w:1}]],n=[{keys:["â","I"],caps:["â","I"],label:"Add line"},{keys:["â","S"],caps:["â","S"],label:"Insert subtotal"},{keys:["shift","â","âï¸"],caps:["â","â§","â"],label:"Move row down"},{keys:["shift","â","âï¸"],caps:["â","â§","â"],label:"Move row up"}];function r(e){return"string"==typeof e?e:e.label}function l(e){return"string"==typeof e?1:e.w}function i(e,t,s){return e.reduce((e,t)=>
18e+l(t),0)*t+(e.length-1)*s}let o={background:"#2a2a2a",boxShadow:"none",border:"1px solid rgba(255,255,255,0.08)"},c={background:"#ffffff",boxShadow:"0 0 16px rgba(255,255,255,0.2)",border:"1px solid rgba(255,255,255,0.2)"},d={background:"#e0e0e0",boxShadow:"none",border:"1px solid rgba(0,0,0,0.10)"},m={background:"#111111",boxShadow:"none",border:"1px solid rgba(0,0,0,0.2)"};function u({keyDef:e,isPressed:s,isFnRow:a,unit:n,gap:i,dark:h}){let x=r(e),p=l(e),f=""===x,g=["fn","ctrl","â¥","â","tab","caps","delete","return","shift","â","â","âï¸","esc","â¦","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"].includes(x);return(0,t.jsx)("div",{className:"kbd-key relative flex items-center justify-center transition-all duration-200",style:{width:`${p*n+(p-1)*i}px`,height:`${a?.5*n:n}px`,borderRadius:a?"5px":"8px",...s?{transform:"translateY(1px) scale(0.98)"}:{},...h?s?c:o:s?m:d},"data-pressed":s||void 0,children:!f&&(0,t.jsx)("span",{className:"kbd-label select-none leading-none transition-colors duration-200",style:{fontSize:g?a?"8px":"10px":"13px",fontWeight:s?600:500,letterSpacing:g?"0.03em":"0",color:h?s?"rgba(0,0,0,0.85)":"rgba(255,255,255,0.35)":s?"rgba(255,255,255,0.95)":"rgba(0,0,0,0.55)"},children:x})})}e.s(["KeyboardVisual",0,function({onShortcutChange:e,forcedIndex:l,paused:o,dark:c,compact:d}={}){let[m,h]=(0,s.useState)(new Set),x=(0,s.useRef)(o),p=(0,s.useRef)(l);x.current=o,p.current=l;let f=(0,s.useCallback)((t,s)=>e?.(t,s),[e]);(0,s.useEffect)(()=>{if(null==l)return;let e=n[l];e&&(f(l,!0),h(new Set(e.keys.map(e=>"shift"===e?"shift":e))))},[l,f]),(0,s.useEffect)(()=>{let e=!1,t=0;async function s(t){if(await new Promise(e=>setTimeout(e,t)),e)throw Error("cancelled")}return(async function(){for(await s(1500);!e;){if(x.current||null!=p.current){await s(200);continue}let a=n[t];if(f(t,!0),h(new Set(a.keys.map(e=>"shift"===e?"shift":e))),await s(2800),e)break;if(x.current||null!=p.current){await s(200);continue}f(t,!1),h(new Set),await s(1200),t=(t+1)%n.length}})().catch(()=>{}),()=>{e=!0}},[f]);let g=i(a[1],38,3),b=d?a.slice(2):a,j=d?170:239,y=(0,s.useRef)(null),[v,w]=(0,s.useState)(!1),k=(0,s.useRef)(1);return(0,s.useLayoutEffect)(()=>{let e=y.current;if(!e)return;function t(){let t=e.offsetWidth;t>0&&(k.current=window.innerWidth<640?1:t/g,e.style.setProperty("--kb-scale",String(k.current)),v||w(!0))}t();let s=new ResizeObserver(t);return s.observe(e),()=>s.disconnect()},[g]),(0,t.jsx)("div",{ref:y,className:"relative w-full",style:{aspectRatio:`${g} / ${j}`},children:v&&(0,t.jsx)("div",{className:"absolute top-0 left-0 origin-top-left",style:{width:`${g}px`,height:`${j}px`,transform:"scale(var(--kb-scale))"},children:(0,t.jsx)("div",{className:"flex flex-col items-center",style:{gap:"6px"},children:b.map((e,s)=>{let a=g-i(e,38,3),n=e.length>1?3+a/(e.length-1):3;return(0,t.jsx)("div",{className:"flex",style:{gap:`${n}px`,width:`${g}px`},children:e.map((e,a)=>(0,t.jsx)(u,{keyDef:e,isPressed:function(e){let t=r(e).toLowerCase();if("right"===("string"==typeof e?void 0:e.side))return!1;for(let e of m)if(e.toLowerCase()===t||"shift"===e&&"shift"===t||"â"===e&&"â"===t||"I"===e&&"i"===t||"S"===e&&"s"===t)return!0;return!1}(e),isFnRow:!d&&0===s,unit:38,gap:n,dark:c},`${s}-${a}`))},s)})})})})},"SHORTCUTS",0,n])},804148,e=>{"use strict";var t=e.i(771246),s=e.i(647163);e.s(["Kbd",0,function({className:e,...a}){return(0,t.jsx)("kbd",{"data-slot":"kbd",className:(0,s.cn)("bg-muted w-fit text-muted-foreground pointer-events-none inline-flex h-5 min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none","[&_svg:not([class*='size-'])]:size-3","[[data-slot=tooltip-content]_&]:bg-background/20 [[data-slot=tooltip-content]_&]:text-background","dark:[[data-slot=tooltip-content]_&]:bg-muted dark:[[data-slot=tooltip-content]_&]:text-popover-foreground",e),...a})},"KbdGroup",0,function({className:e,...a}){return(0,t.jsx)("kbd",{"data-slot":"kbd-group",className:(0,s.cn)("inline-flex items-center gap-1",e),...a})}])},413831,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(821957),n=e.i(385748),r=e.i(679181),l=e.i(25484),i=e.i(440623),o=e.i(124945),c=e.i(541991),d=e.i(458120),m=e.i(642760),u=e.i(256884),h=e.i(691912),x=e.i(593617);let p=(0,x.default)("outline","folder-plus","FolderPlus",[["path",{d:"M12 19h-7a2 2 0 0 1 -2 -2v-11a2 2 0 0 1 2 -2h4l3 3h7a2 2 0 0 1 2 2v3.5",key:"svg-0"}],["path",{d:"M16 19h6",key:"svg-1"}],["path",{d:"M19 16v6",key:"svg-2"}]]);var f=e.i(785069);let g=(0,x.default)("outline","math-function","MathFunction",[["path",{d:"M3 19a2 2 0 0 0 2 2c2 0 2 -4 3 -9s1 -9 3 -9a2 2 0 0 1 2 2",key:"svg-0"}],["path",{d:"M5 12h6",key:"svg-1"}],["path",{d:"M15 12l6 6",key:"svg-2"}],["path",{d:"M15 18l6 -6",key:"svg-3"}]]);var b=e.i(291848),j=e.i(38946),y=e.i(83837),v=e.i(344426);let w=(0,x.default)("outline","users-group","UsersGroup",[["path",{d:"M10 13a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-0"}],["path",{d:"M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1",key:"svg-1"}],["path",{d:"M15 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-2"}],["path",{d:"M17 10h2a2 2 0 0 1 2 2v1",key:"svg-3"}],["path",{d:"M5 5a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",key:"svg-4"}],["path",{d:"M3 13v-1a2 2 0 0 1 2 -2h2",key:"svg-5"}]]);var k=e.i(772299),N=e.i(911031),C=e.i(939365),M=e.i(804148),S=e.i(647163);let I=` 19@keyframes bgl-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } 20.bgl-caret { animation: bgl-caret 1s steps(1, end) infinite; } 21@media (prefers-reduced-motion: reduce) { .bgl-caret { animation: none; } } 22`;function T(){return(0,t.jsx)("style",{href:"bgl-caret",precedence:"default",children:I})}function z(e,t){let a=(0,s.useRef)(t);a.current=t,(0,s.useEffect)(()=>
22{if(!e)return;let t=!1,s=async e=>{if(await new Promise(t=>setTimeout(t,e)),t)throw Error("cancelled")};return a.current(s).catch(()=>{}),()=>{t=!0}},[e])}function L({compact:e,...n}){let r=function(e){let{resolvedTheme:t}=(0,a.useTheme)(),[n,r]=(0,s.useState)(!1);return(0,s.useEffect)(()=>r(!0),[]),"dark"===e||"light"!==e&&n&&"dark"===t}("auto");return(0,t.jsx)(C.KeyboardVisual,{...n,dark:r,compact:e})}function P(){return(0,t.jsx)("span",{"aria-hidden":!0,className:"h-4 w-6 shrink-0 rounded",style:{background:"linear-gradient(135deg,#7C3AED 0%,#FF3CAC 38%,#FF8A5C 72%,#FFD23F 100%)"}})}let F=[{query:"craft",rows:[{title:"9705 - Craft Service Supplies",icon:f.IconListDetails,tint:"text-muted-foreground",pill:"gray",label:"Line"},{title:"9700 - Craft Service & Catering",icon:h.IconFolder,tint:"text-blue-500",pill:"blue",label:"Account"}]},{query:"director",rows:[{title:"Deal Memo, Director.pdf",icon:u.IconFileDescription,tint:"text-blue-500",pill:"blue",label:"Document"},{title:"0301 - Director - I. Sarkozy",icon:f.IconListDetails,tint:"text-muted-foreground",pill:"gray",label:"Line"}]}],R=[{query:"sand",rows:[{title:"Sand Kingdom",tint:"text-foreground",pill:"purple",label:"Project"},{title:"Set Design - Sand Kingdom",icon:o.IconCash,tint:"text-cyan-500",pill:"cyan",label:"Transaction"}]},{query:"winifred",rows:[{title:"Winifred Sanderson",icon:v.IconUser,tint:"text-rose-500",pill:"rose",label:"Contact"},{title:"Rehearsal Space Rental",icon:o.IconCash,tint:"text-cyan-500",pill:"cyan",label:"Transaction"}]}],$=[{code:"USD",name:"US Dollar",symbol:"$",rate:1,flag:"ðºð¸"},{code:"EUR",name:"Euro",symbol:"â¬",rate:1.08,flag:"ðªðº"},{code:"GBP",name:"British Pound",symbol:"£",rate:1.25,flag:"ð¬ð§"},{code:"JPY",name:"Japanese Yen",symbol:"Â¥",rate:.0067,flag:"ð¯ðµ"}];function A(e){return e.toFixed(4)}let E={DGA:.195,ICG:.165,IATSE:.175,WC:.068,PH:.12},D={DGA:N.PILL_TINT.rose,ICG:N.PILL_TINT.amber,IATSE:N.PILL_TINT.violet,WC:N.PILL_TINT.cyan,PH:N.PILL_TINT.emerald},B=[{name:["Gaffer","Gaffer"],base:950,resting:["IATSE","WC"]},{name:["DP","Dir. of Photography"],base:600,resting:["ICG","WC"]},{name:["1st AD","Asst. Director"],base:850,resting:["DGA","WC"]}],O=[{row:0,fringe:"PH",add:!0},{row:1,fringe:"PH",add:!0},{row:0,fringe:"PH",add:!1},{row:1,fringe:"PH",add:!1}],W=[{symbol:"PD",description:"Prep Days",formula:"5",unit:{label:"Day",pill:"amber"}},{symbol:"SD",description:"Shoot Days",formula:"12",unit:{label:"Day",pill:"amber"}},{symbol:"TD",description:"Total Days",refs:[{text:"PD",pill:"amber"},{text:"+"},{text:"SD",pill:"rose"}],unit:{label:"Day",pill:"amber"}},{symbol:"TW",description:"Total Weeks",refs:[{text:"TD",pill:"purple"},{text:"/ 6"}],unit:{label:"Week",pill:"cyan"}},{symbol:"H",description:"Hotels",refs:[{text:"PD",pill:"amber"},{text:"+"},{text:"SD",pill:"rose"}],unit:{label:"Day",pill:"amber"}},{symbol:"TV",description:"Travel",formula:"2000",unit:{label:"Each",pill:"blue"}},{symbol:"POST",description:"Post Days",formula:"4",unit:{label:"Day",pill:"amber"}}],_=[{name:["Camera","Camera Package"],amount:8500},{name:["Lighting","Lighting Rental"],amount:3200}],H=_.reduce((e,t)=>e+t.amount,0),U=e=>e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2});function q({icon:e,label:s,shortcut:a,active:n}){return(0,t.jsxs)("div",{className:(0,S.cn)("flex items-center gap-2 rounded-sm px-2 py-1.5 text-sm",n&&"bg-accent text-accent-foreground"),children:[(0,t.jsx)(e,{size:14,className:"text-muted-foreground"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate",children:s}),a?(0,t.jsx)("span",{className:"text-muted-foreground ml-auto text-xs tracking-widest",children:a}):null]})}let G=[{hours:4,mult:1.5},{hours:2,mult:2}];function K(e,s){return(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("div",{className:"border-border flex h-7 items-center justify-end rounded-md border pr-8 pl-2 text-cell-xs tabular-nums",children:e}),(0,t.jsx)("span",{className:"text-muted-foreground pointer-events-none absolute top-1/2 right-2 -translate-y-1/2 text-cell-2xs",children:s})]})}e.s(["CurrencyLoop",0,function({wide:e}
22){let a=(0,s.useRef)(null),n=(0,k.useLive)(a),[r,l]=(0,s.useState)(1),[o,m]=(0,s.useState)(1),[u,h]=(0,s.useState)(A($[1].rate)),x=(0,s.useRef)($[1].rate);(0,s.useEffect)(()=>{n||(l(1),m(1),x.current=$[1].rate,h(A($[1].rate)))},[n]),(0,s.useEffect)(()=>{let e=$[r].rate,t=x.current;if(.001>Math.abs(e-t)){x.current=e,h(A(e));return}let s=0,a=setInterval(()=>{let n=t+(e-t)*(1-Math.pow(1-++s/20,3));x.current=n,h(A(n)),s>=20&&(x.current=e,h(A(e)),clearInterval(a))},28);return()=>clearInterval(a)},[r]),z(n,async e=>{let t=1;for(await e(2e3);;){let s=(t+1)%$.length;m(s),await e(900),l(s),t=s,await e(2600)}});let p=$[r],f=(0,t.jsxs)("div",{className:"flex h-full min-w-0 flex-1 flex-col",children:[(0,t.jsxs)("div",{className:"border-border flex h-9 items-center gap-2 border-b px-3",children:[(0,t.jsx)("span",{className:"text-muted-foreground/70 flex h-4 w-4 shrink-0 items-center justify-center",children:(0,t.jsx)(d.IconCoin,{size:15})}),(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs",children:"Currency"}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-right text-cell-xs",children:p.name}),(0,t.jsx)(c.IconChevronDown,{size:12,className:"text-muted-foreground shrink-0"})]}),(0,t.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col items-center justify-center gap-1 px-3",children:[(0,t.jsx)("span",{className:"text-[26px] leading-none",children:p.flag}),(0,t.jsxs)("span",{className:"max-w-full truncate text-cell-xs font-medium",children:[p.code," - ",p.name]})]}),(0,t.jsxs)("div",{className:"border-border flex h-9 items-center justify-between border-t px-3",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground/70 flex h-4 w-4 shrink-0 items-center justify-center",children:(0,t.jsx)(i.IconArrowsExchange,{size:15})}),(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs",children:"Conversion rate"})]}),(0,t.jsx)("span",{className:"text-cell-xs font-medium tabular-nums",children:u})]})]});return(0,t.jsx)("div",{ref:a,"aria-hidden":!0,children:(0,t.jsxs)(N.Sheet,{className:"flex h-[150px]",children:[f,e?(0,t.jsxs)("div",{className:"border-border flex w-[218px] shrink-0 flex-col border-l",children:[$.map((e,s)=>(0,t.jsxs)("div",{className:(0,S.cn)("flex h-[30px] items-center px-3 text-cell-xs transition-colors duration-300",s===o&&"bg-accent",s===r&&s!==o&&"bg-accent/50"),children:[(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate font-medium",children:[e.code," - ",e.name]}),(0,t.jsx)("span",{className:"text-muted-foreground ml-2 shrink-0",children:e.symbol})]},e.code)),(0,t.jsx)("div",{className:"text-muted-foreground/60 flex min-h-0 flex-1 items-center px-3 text-[10px]",children:"Rates updated just now"})]}):null]})})},"FringesLoop",0,function({wide:e}){let a=(0,s.useRef)(null),n=(0,k.useLive)(a),r=()=>B.map(e=>[...e.resting]),[l,i]=(0,s.useState)(r),[o,c]=(0,s.useState)(-1);(0,s.useEffect)(()=>{n||(i(r()),c(-1))},[n]),z(n,async e=>{let t=0;for(await e(1600);;){let s=O[t];t=(t+1)%O.length,c(s.row),await e(600),i(e=>{let t=e.map(e=>[...e]);return t[s.row]=s.add?t[s.row].includes(s.fringe)?t[s.row]:[...t[s.row],s.fringe]:t[s.row].filter(e=>e!==s.fringe),t}),await e(1400),c(-1),await e(900)}});let d=e?B:B.slice(0,2),m=e?"minmax(0,1fr) 172px 92px":"minmax(0,1fr) 96px 60px";return(0,t.jsx)("div",{ref:a,"aria-hidden":!0,children:(0,t.jsxs)(N.Sheet,{children:[(0,t.jsxs)(N.SheetRow,{head:!0,cols:m,children:[(0,t.jsx)(N.HeadCell,{icon:e?w:void 0,label:"Name"}),(0,t.jsx)(N.HeadCell,{icon:e?y.IconTag:void 0,label:"Fringes"}),(0,t.jsx)(N.HeadCell,{label:"Rate",right:!0,last:!0})]}),d.map((s,a)=>{var n;return(0,t.jsxs)(N.SheetRow,{cols:m,className:(0,S.cn)("transition-colors duration-300",o===a&&"bg-muted/50"),children:[(0,t.jsx)(N.Cell,{className:"font-medium",children:s.name[+!!e]}),(0,t.jsx)(N.Cell,{className:"gap-1 overflow-hidden",children:(l[a]??[]).map(e=>(0,t.jsx)(N.FringePill,{label:e,tint:D[e]},e))}),(0,t.jsx)(N.Cell,{right:!0,last:!0,children:(n=s.base,Math.round((l[a]??[]).reduce((e,t)=>e+n*(E[t]??0),n)).toLocaleString("en-US"))})]},s.name[1])})]})})},"GlobalsLoop",0,function({wide:e}){let a=(0,s.useRef)(null),n=(0,k.useLive)(a),l=(0,s.useRef)(null);(0,s.useEffect)(()=>{let e=l.current;if(!e)return;if(!n){e.scrollTop=0;return}let t=!1,s=0,a=(a,n,r)=>new Promise(l=>{let i=performance.now(),o=c=>{if(t)return l();let d=Math.min((c-i)/r,1);e.scrollTop=a+(n-a)*(d<.5?4*d*d*d:1-Math.pow(-2*d+2,3)/2),d<1?s=requestAnimationFrame(o):l()};s=requestAnimationFrame(o)}),r=async e=>{if(await new Promise(t=>setTimeout(t,e)),t)throw Error("cancelled")};return(async()=>{for(await r(1600);;){let s=e.scrollHeight-e.clientHeight;if(s<=0||(await a(0,s,2600),t)||(await r(1800),await a(s,0,2600),t))return;await r(1800)}})().catch(()=>{}),()=>{t=!0,cancelAnimationFrame(s)}},[n]);let i=e?"56px minmax(0,1fr) 148px 84px":"48px minmax(0,1fr) 62px";
22return(0,t.jsx)("div",{ref:a,"aria-hidden":!0,children:(0,t.jsxs)(N.Sheet,{children:[(0,t.jsxs)(N.SheetRow,{head:!0,cols:i,children:[(0,t.jsx)(N.HeadCell,{icon:e?r.IconAlphabetLatin:void 0,label:e?"Global":"ID"}),e?(0,t.jsx)(N.HeadCell,{label:"Description"}):null,(0,t.jsx)(N.HeadCell,{icon:e?g:void 0,label:"Formula"}),(0,t.jsx)(N.HeadCell,{icon:e?m.IconClock:void 0,label:"Unit",last:!0})]}),(0,t.jsx)("div",{ref:l,className:"overflow-hidden",style:{height:35*(e?3:2)},children:W.map(s=>(0,t.jsxs)(N.SheetRow,{cols:i,children:[(0,t.jsx)(N.Cell,{className:"font-medium",children:s.symbol}),e?(0,t.jsx)(N.Cell,{children:s.description}):null,(0,t.jsx)(N.Cell,{className:"gap-1",children:s.refs?s.refs.map((e,s)=>e.pill?(0,t.jsx)(N.FringePill,{label:e.text,tint:N.PILL_TINT[e.pill]},s):(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs",children:e.text},s)):(0,t.jsx)("span",{className:"tabular-nums",children:s.formula})}),(0,t.jsx)(N.Cell,{last:!0,children:s.unit?(0,t.jsx)(N.FringePill,{label:s.unit.label,tint:N.PILL_TINT[s.unit.pill]}):null})]},s.symbol))})]})})},"KeyboardShortcutsLoop",0,function({wide:e}){let a=(0,s.useRef)(null),n=(0,k.useLive)(a),[r,l]=(0,s.useState)(0),[i,o]=(0,s.useState)(!0);(0,s.useEffect)(()=>{n||(l(0),o(!0))},[n]);let c=C.SHORTCUTS[r];return(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,className:"flex min-h-0 flex-1 flex-col justify-center gap-2.5",children:[(0,t.jsxs)("div",{className:(0,S.cn)("flex items-center justify-center gap-2 text-xs font-medium transition-opacity duration-300",i?"text-foreground opacity-100":"text-foreground/60 opacity-70"),children:[(0,t.jsx)("span",{children:c.label}),(0,t.jsx)(M.KbdGroup,{className:"gap-0.5",children:c.caps.map(e=>(0,t.jsx)(M.Kbd,{className:(0,S.cn)("h-4 min-w-4 text-[10px] transition-colors duration-200",i&&"bg-foreground text-background"),children:e},e))})]}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(L,{compact:e,forcedIndex:n?null:0,onShortcutChange:(e,t)=>
22{l(e),o(t)},paused:!n})})]})},"MarkupLoop",0,function({wide:e}){let a=(0,s.useRef)(null),r=(0,k.useLive)(a),[i,o]=(0,s.useState)("10"),[c,d]=(0,s.useState)(!1);(0,s.useEffect)(()=>{r||(o("10"),d(!1))},[r]),z(r,async e=>{for(await e(1800);;)d(!0),await e(700),o(""),await e(260),o("7"),await e(1600),o(""),await e(260),o("1"),await e(180),o("10"),await e(600),d(!1),await e(2800)});let m=Math.round(H*(""===i?0:parseInt(i,10)||0))/100,u=e?"minmax(0,1fr) 64px 96px":"minmax(0,1fr) 54px 84px",h=(0,t.jsxs)(N.Sheet,{className:"min-w-0 flex-1",children:[_.map(s=>(0,t.jsxs)(N.SheetRow,{cols:u,children:[(0,t.jsx)(N.Cell,{children:s.name[+!!e]}),(0,t.jsx)(N.Cell,{right:!0}),(0,t.jsx)(N.Cell,{right:!0,last:!0,children:U(s.amount)})]},s.name[1])),(0,t.jsxs)(N.SheetRow,{cols:u,children:[(0,t.jsx)(N.Cell,{wash:"bg-indigo-500/10",className:"font-medium",children:"Subtotal"}),(0,t.jsx)(N.Cell,{wash:"bg-indigo-500/10",right:!0}),(0,t.jsx)(N.Cell,{wash:"bg-indigo-500/10",right:!0,last:!0,className:"font-medium",children:U(H)})]}),(0,t.jsxs)(N.SheetRow,{cols:u,children:[(0,t.jsx)(N.Cell,{children:(0,t.jsx)("span",{className:"truncate underline underline-offset-2",children:"Markup"})}),(0,t.jsxs)(N.Cell,{right:!0,last:!1,className:"relative tabular-nums",children:[""===i?"":`${i}%`,r&&c?(0,t.jsx)(N.CellSelection,{}):null,r&&c?(0,t.jsx)("span",{className:"bgl-caret bg-foreground ml-px inline-block h-[13px] w-px"}):null]}),(0,t.jsx)(N.Cell,{right:!0,last:!0,children:U(m)})]})]});return e?(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,className:"flex items-start gap-3",children:[r?(0,t.jsx)(T,{}):null,h,(0,t.jsxs)("div",{className:"border-border bg-card w-[180px] shrink-0 rounded-md border p-1",children:[(0,t.jsx)(q,{icon:l.IconArrowBarToDown,label:"Add line below",shortcut:"âI"}),(0,t.jsx)(q,{icon:p,label:"Add subtotal",shortcut:"âS"}),(0,t.jsx)(q,{icon:n.IconAdjustmentsHorizontal,label:"Add markup",shortcut:"âM",active:!0}),(0,t.jsx)(q,{icon:p,label:"Add banner",shortcut:"âB"})]})]}):(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,children:[r?(0,t.jsx)(T,{}):null,h]})},"OvertimeLoop",0,function({wide:e}){let a=(0,s.useRef)(null),n=(0,k.useLive)(a),[r,l]=(0,s.useState)(8);(0,s.useEffect)(()=>{n||l(8)},[n]),z(n,async e=>{let t=async(t,s)=>{let a=s>t?.5:-.5;for(let n=t+a;a>0?n<=s:n>=s;n+=a)l(Math.round(10*n)/10),await e(150)};for(await e(2200);;)await t(8,10),await e(2600),await t(10,8),await e(2600)});let i=700/r,o=G.reduce((e,t)=>e+t.hours*t.mult*i,0),c=e=>"$"+e.toLocaleString("en-US",{minimumFractionDigits:2,maximumFractionDigits:2}),d=(0,t.jsxs)("div",{className:"border-border min-w-0 flex-1 space-y-1.5 rounded-md border p-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs font-medium",children:"Base Hours"}),(0,t.jsxs)("span",{className:"text-muted-foreground text-cell-xs tabular-nums",children:[c(i),"/hr"]})]}),K(r.toFixed(1),"hrs"),(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs font-medium",children:"OT Hours"}),(0,t.jsx)(b.IconPlus,{size:14,className:"text-muted-foreground"})]}),(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs tabular-nums",children:c(o)})]}),G.map((e,s)=>(0,t.jsxs)("div",{className:"grid grid-cols-[1fr_auto_1fr] items-center gap-1.5",children:[K(e.hours,"hrs"),(0,t.jsx)("span",{className:"text-muted-foreground text-cell-xs",children:"@"}),K(e.mult.toFixed(1),"x")]},s))]});if(!e)return(0,t.jsx)("div",{ref:a,"aria-hidden":!0,children:d});let u="minmax(0,1fr) 92px";return(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,className:"flex items-start gap-3",children:[d,(0,t.jsxs)(N.Sheet,{className:"w-[218px] shrink-0",children:[(0,t.jsxs)(N.SheetRow,{head:!0,cols:u,children:[(0,t.jsx)(N.HeadCell,{icon:m.IconClock,label:"Description"}),(0,t.jsx)(N.HeadCell,{label:"Overtime",right:!0,last:!0})]}),(0,t.jsxs)(N.SheetRow,{cols:u,children:[(0,t.jsx)(N.Cell,{children:"Gaffer"}),(0,t.jsxs)(N.Cell,{right:!0,last:!0,className:"relative",children:[c(o),(0,t.jsx)(N.CellSelection,{})]})]}),(0,t.jsxs)(N.SheetRow,{cols:u,children:[(0,t.jsx)(N.Cell,{children:"Key Grip"}),(0,t.jsx)(N.Cell,{right:!0,last:!0,className:"text-muted-foreground",children:"12h"})]})]})]})},"WorkspaceSearchLoop",0,function({wide:e,variant:a="budget"}){let n="spotlight"===a?R:F,r=(0,s.useRef)(null),l=(0,k.useLive)(r),[i,o]=(0,s.use
22State)(0),[c,d]=(0,s.useState)(n[0].query),[m,u]=(0,s.useState)(2);(0,s.useEffect)(()=>{l||(o(0),d(n[0].query),u(2))},[l,n]),z(l,async e=>{let t=0;for(await e(1800);;){let s=n[t].query;for(let t=s.length;t>=0;t--)d(s.slice(0,t)),await e(45);u(0),await e(600),o(t=(t+1)%n.length);let a=n[t];for(let t=1;t<=a.query.length;t++)d(a.query.slice(0,t)),await e(110);await e(280);for(let t=1;t<=a.rows.length;t++)u(t),await e(120);await e(3200)}});let h=n[i],x=c.length>0;return(0,t.jsxs)("div",{ref:r,"aria-hidden":!0,children:[l?(0,t.jsx)(T,{}):null,(0,t.jsxs)(N.Sheet,{children:[(0,t.jsxs)("div",{className:"border-border flex h-9 items-center gap-2 border-b px-2.5",children:[(0,t.jsx)(j.IconSearch,{size:15,className:"text-muted-foreground shrink-0"}),(0,t.jsxs)("span",{className:"min-w-0 flex-1 truncate text-sm",children:[x?(0,t.jsx)("span",{className:"text-foreground",children:c}):(0,t.jsx)("span",{className:"text-muted-foreground",children:"Search Workspace"}),l?(0,t.jsx)("span",{className:"bgl-caret bg-foreground ml-px inline-block h-[13px] w-px translate-y-[2px]"}):null]}),(0,t.jsx)(M.KbdGroup,{className:"shrink-0",children:x?(0,t.jsx)(M.Kbd,{children:"ESC"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.Kbd,{children:"â"}),(0,t.jsx)(M.Kbd,{children:"K"})]})})]}),h.rows.map((s,a)=>{let n=s.icon,r=a<m;return(0,t.jsxs)("div",{className:(0,S.cn)("border-border flex h-[38px] items-center gap-2.5 border-b px-2.5 transition-opacity duration-200 last:border-b-0",0===a&&r&&"bg-muted"),style:{opacity:+!!r},children:[n?(0,t.jsx)("span",{className:"bg-muted shrink-0 rounded-md p-1.5",children:(0,t.jsx)(n,{size:14,className:s.tint})}):(0,t.jsx)("span",{className:"grid size-[26px] shrink-0 place-items-center",children:(0,t.jsx)(P,{})}),(0,t.jsx)("span",{className:"min-w-0 flex-1 truncate text-cell-xs font-medium",children:s.title}),e?(0,t.jsx)(N.FringePill,{label:s.label,tint:N.PILL_TINT[s.pill]}):null]},`${i}-${s.title}`)})]})]})}],413831)},453174,767292,e=>{"use strict";let t=(0,e.i(593617).default)("outline","bolt","Bolt",[["path",{d:"M13 3l0 7l6 0l-8 11l0 -7l-6 0l8 -11",key:"svg-0"}]]);e.s(["IconBolt",0,t],453174);var s=e.i(771246),a=e.i(397513);e.s(["ComposerBeam",0,function({active:e}){return(0,s.jsxs)(s.Fragment,{children:[[0,1].map(t=>(0,s.jsx)(a.Beam,{active:e,theme:"light",borderRadius:17,brightness:1,saturation:1.8,className:"bento-beam-light",style:{position:"absolute",inset:-1},"aria-hidden":!0,children:(0,s.jsx)("span",{})},t)),(0,s.jsx)(a.Beam,{active:e,theme:"dark",borderRadius:17,brightness:1.6,saturation:1.5,className:"bento-beam-dark",style:{position:"absolute",inset:-1},"aria-hidden":!0,children:(0,s.jsx)("span",{})})]})}],767292)},35695,e=>{"use strict";var t=e.i(771246),s=e.i(772299),a=e.i(78228),n=e.i(453174);let r=(0,e.i(593617).default)("filled","player-stop-filled","PlayerStopFilled",[["path",{d:"M17 4h-10a3 3 0 0 0 -3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3 -3v-10a3 3 0 0 0 -3 -3z",key:"svg-0"}]]);var l=e.i(291848),i=e.i(413665),o=e.i(767292),c=e.i(647163);let d=[{phase:"idle",ms:1e3},{phase:"typing",ms:1900},{phase:"sent",ms:500},{phase:"thinking",ms:1e3},{phase:"reading",ms:1300},{phase:"writing",ms:1e3},{phase:"answered",ms:3400},{phase:"clearing",ms:400}],m="any dept close to over?",u={thinking:"Thinking",reading:"Reading budget actuals",writing:"Checking department totals"},h=["Help me categorize my transactions","Summarize my spending this month","Find duplicate invoices","What are my largest expenses?","Review my budget vs actuals"],x=h.slice(2),p="Purchases is running hottest.",f=` 23@keyframes acl-pop { 24 from { opacity: 0; transform: scale(0.94); } 25 to { opacity: 1; transform: scale(1); } 26} 27@keyframes acl-line-in { 28 from { opacity: 0; transform: translateY(-8px); } 29 to { opacity: 1; transform: translateY(0); } 30} 31@keyframes acl-answer { 32 from { opacity: 0; transform: scale(0.965); } 33 to { opacity: 1; transform: scale(1); } 34} 35@keyframes acl-suggest { 36 from { opacity: 0; transform: translateY(10px); } 37 to { opacity: 1; transform: translateY(0); } 38} 39@keyframes acl-fade-out { 40 from { opacity: 1; } 41 to { opacity: 0; } 42} 43@keyframes acl-shimmer { 44 from { background-position: 100% center; } 45 to { background-position: 0% center; } 46} 47@keyframes acl-caret { 48 0%, 45% { opacity: 1; } 49 55%, 100% { opacity: 0; } 50} 51.acl-pop { animation: acl-pop 320ms cubic-bezier(0.22, 1, 0.36, 1) 60ms both; 52 transform-origin: right bottom; } 53.acl-in { animation: acl-line-in 200ms ease-in-out both; } 54.acl-answer { animation: acl-answer 340ms cubic-bezier(0.22, 1, 0.36, 1) 80ms both; 55 transform-origin: left top; } 56.acl-suggest { animation: acl-suggest 250ms ease-in-out both; } 57.acl-out { animation: acl-fade-out 340ms ease-out both; } 58.acl-caret { animation: acl-caret 1s steps(1, end) infinite; } 59@media (prefers-reduced-motion: reduce) { 60 .acl-pop, .acl-in, .acl-answer, .acl-suggest, .acl-out, 61 .acl-caret { animation: none; } 62} 63`;function g(e,t,s){let a=2*e.length;return{backgroundImage:`linear-gradient(90deg, transparent calc(50% - ${a}px), var(--foreground), transparent calc(50% + ${a}px)), linear-gradient(var(--muted-foreground), var(--muted-foreground))`,backgroundSize:"250% 100%, auto",backgroundRepeat:"no-repeat",backgroundClip:"text",WebkitBackgroun
63dClip:"text",color:"transparent",WebkitTextFillColor:"transparent",animation:[s?`${s} both`:null,`acl-shimmer ${t}s linear infinite`].filter(Boolean).join(", ")}}function b({text:e}){let[s,n]=(0,a.useState)(1);return(0,a.useEffect)(()=>{n(1);let t=window.setInterval(()=>{n(t=>t>=e.length?t:t+1)},80);return()=>window.clearInterval(t)},[e]),(0,t.jsxs)("span",{className:"text-foreground flex items-center text-sm leading-5",children:[(0,t.jsx)("span",{className:"min-w-0 truncate",children:e.slice(0,s)}),(0,t.jsx)("span",{className:"acl-caret bg-foreground ml-px inline-block h-[14px] w-px shrink-0"})]})}function j({typing:e,running:s}){return(0,t.jsxs)("div",{className:"border-border relative rounded-2xl border",children:[(0,t.jsx)(o.ComposerBeam,{active:e||s}),(0,t.jsx)("div",{className:"px-3 pt-2 pb-2",children:e?(0,t.jsx)(b,{text:m}):(0,t.jsx)("span",{className:"text-muted-foreground/50 block truncate text-sm leading-5",children:"Ask anything"})}),(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-between px-2",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center gap-1",children:[(0,t.jsx)("span",{className:"border-border grid size-7 shrink-0 place-items-center rounded-full border",children:(0,t.jsx)(l.IconPlus,{className:"size-3"})}),(0,t.jsxs)("span",{className:"text-muted-foreground inline-flex h-7 min-w-0 items-center gap-1 px-2 text-xs",children:[(0,t.jsx)(n.IconBolt,{className:"size-3 shrink-0"}),(0,t.jsx)("span",{className:"truncate",children:"Auto"})]})]}),(0,t.jsx)("span",{className:"bg-primary text-primary-foreground grid size-7 shrink-0 place-items-center rounded-full",children:s?(0,t.jsx)(r,{className:"size-3"}):(0,t.jsx)(i.IconSend,{className:"size-3"})})]})]})}function y({suggestion:e}){return(0,t.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-1",children:[(0,t.jsx)("span",{className:"text-foreground text-2xl font-medium",children:"Ready when you are"}),(0,t.jsx)("span",{className:"block text-sm leading-5 font-medium",style:g(e,2,"acl-suggest 250ms ease-in-out"),children:e},e)]})}function v(){return(0,t.jsxs)("div",{className:"border-border rounded-xl border px-3 py-2",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2",children:[(0,t.jsxs)("span",{className:"text-cell-xs min-w-0 truncate leading-[18px]",children:[(0,t.jsx)("span",{className:"text-muted-foreground tabular-nums",children:"6100"})," ",(0,t.jsx)("span",{className:"text-foreground",children:"Wardrobe"})]}),(0,t.jsx)("span",{className:"text-foreground shrink-0 text-[15px] leading-[18px] font-semibold tabular-nums",children:"$739,080"})]}),(0,t.jsx)("div",{className:"bg-muted-foreground/10 mt-1.5 h-1 overflow-hidden rounded-full",children:(0,t.jsx)("div",{className:"h-1 rounded-full bg-emerald-400",style:{width:"45%"}})}),(0,t.jsxs)("div",{className:"mt-1 flex items-center justify-between gap-2 text-xs leading-4",children:[(0,t.jsxs)("span",{className:"min-w-0 truncate rounded bg-emerald-500/5 px-1",children:[(0,t.jsx)("span",{className:"text-muted-foreground",children:"Actuals"})," ",(0,t.jsx)("span",{className:"text-foreground tabular-nums",children:"$334,920"})]}),(0,t.jsxs)("span",{className:"text-muted-foreground shrink-0 tabular-nums",children:[45,"%"]})]})]})}function w({phase:e,live:s,suggestion:a}){let n=u[e],r="idle"===e||"typing"===e,l=s&&"clearing"===e;return(0,t.jsxs)("div",{className:"relative overflow-hidden",style:{height:88},children:[r?(0,t.jsx)(y,{suggestion:a}):null,(0,t.jsxs)("div",{className:(0,c.cn)("absolute inset-x-0 bottom-0 flex flex-col gap-1",l&&"acl-out"),children:[r?null:(0,t.jsx)("span",{className:(0,c.cn)("bg-primary text-primary-foreground ml-auto block max-w-[85%] truncate rounded-lg px-3 py-2 text-sm leading-5",s&&!l&&"acl-pop"),children:m}),n?(0,t.jsx)("span",{className:"block truncate text-sm leading-6",style:s?g(n,1.4,"acl-line-in 200ms ease-in-out"):void 0,children:n},n):null,"answered"===e||"clearing"===e?(0,t.jsxs)("div",{className:(0,c.cn)("flex flex-col",s&&!l&&"acl-answer"),children:[(0,t.jsx)(v,{}),(0,t.jsx)("span",{className:"text-muted-foreground mt-1.5 truncate text-xs leading-[14px]",children:p})]}):null]})]})}e.s(["AgentChatLoop",0,function({size:e}){let n=(0,a.useRef)(null),r=(0,s.useLive)(n),{phase:l,cycle:i}=(0,s.useBeat)(d,r,"answered"),o="small"===e?x:h,c=o[i%o.length];
63return(0,t.jsxs)("div",{ref:n,"aria-hidden":!0,children:[(0,t.jsx)("style",{href:"agent-chat-loop",precedence:"default",children:f}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col gap-3",children:[(0,t.jsx)(w,{phase:l,live:r,suggestion:c}),(0,t.jsx)(j,{typing:"typing"===l,running:"sent"===l||"thinking"===l||"reading"===l||"writing"===l})]})]})}],35695)},892615,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(453174);let n=(0,e.i(593617).default)("outline","checklist","Checklist",[["path",{d:"M9.615 20h-2.615a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8",key:"svg-0"}],["path",{d:"M14 19l2 2l4 -4",key:"svg-1"}],["path",{d:"M9 8h4",key:"svg-2"}],["path",{d:"M9 12h2",key:"svg-3"}]]);var r=e.i(291848),l=e.i(413665),i=e.i(911031),o=e.i(767292),c=e.i(671428),d=e.i(772299),m=e.i(647163);let u=[{phase:"empty",ms:800},{phase:"typing",ms:2200},{phase:"sent",ms:400},{phase:"working",ms:1400},{phase:"building",ms:900},{phase:"filling",ms:1100},{phase:"done",ms:3e3}],h="Budget a 28 day non-union shoot in LA",x=[{acct:"2500",description:"Grip & Electric",short:"Grip",estimate:"1,284,000"},{acct:"2600",description:"Camera Rental",short:"Camera",estimate:"962,500"}],p={empty:null,typing:null,sent:null,working:"Comparing 4 past projects",building:"Writing budget lines",filling:"Writing budget lines",done:"Worked for 8s"},f=` 64@keyframes bdl-pop { 65 from { opacity: 0; transform: scale(0.96); } 66 to { opacity: 1; transform: none; } 67} 68@keyframes bdl-write { 69 from { opacity: 0; transform: translateY(-4px); } 70 to { opacity: 1; transform: none; } 71} 72@keyframes bdl-caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } } 73@media (prefers-reduced-motion: reduce) { 74 [data-bdl] { animation: none !important; } 75} 76`;function g({title:e,total:s,compact:a}){return(0,t.jsxs)("div",{className:"border-border flex items-center gap-2 border-b px-4 py-2.5",children:[a?null:(0,t.jsx)("span",{className:"shrink-0 rounded-lg bg-emerald-500/10 p-1.5 text-emerald-500",children:(0,t.jsx)(n,{className:"size-4"})}),(0,t.jsx)("span",{className:"flex h-5 min-w-0 flex-1 items-center truncate text-sm font-semibold",children:"written"===e?(0,t.jsxs)("span",{"data-bdl":!0,style:{animation:"bdl-write 240ms ease-out both"},children:[a?null:(0,t.jsxs)("span",{className:"text-muted-foreground tabular-nums",children:["2000"," "]}),"Production"]}):(0,t.jsx)(c.Skeleton,{className:(0,m.cn)("h-3.5",a?"w-20":"w-28")})}),"written"===s?(0,t.jsx)("span",{"data-bdl":!0,className:"shrink-0 text-xs font-semibold tabular-nums",style:{animation:"bdl-write 260ms ease-out both"},children:"$2,246,500"}):(0,t.jsx)(c.Skeleton,{className:"h-3.5 w-20 shrink-0"})]})}let b=["w-8","w-20","w-14"];function j({text:e}){let[a,n]=(0,s.useState)(1);return(0,s.useEffect)(()=>{n(1);let t=window.setInterval(()=>{n(t=>t>=e.length?t:t+1)},42);return()=>window.clearInterval(t)},[e]),(0,t.jsxs)("span",{className:"text-foreground flex items-start text-sm leading-5",children:[(0,t.jsx)("span",{className:"line-clamp-2 min-w-0",children:e.slice(0,a)}),(0,t.jsx)("span",{"data-bdl":!0,className:"bg-foreground mt-[3px] ml-px inline-block h-[14px] w-px shrink-0",style:{animation:"bdl-caret 1s step-end infinite"}})]})}function y({typing:e,running:s}){return(0,t.jsxs)("div",{className:"border-border relative rounded-2xl border",children:[(0,t.jsx)(o.ComposerBeam,{active:e||s}),(0,t.jsx)("div",{className:"px-3 pt-2 pb-2",children:e?(0,t.jsx)(j,{text:h}):(0,t.jsx)("span",{className:"text-muted-foreground/50 line-clamp-2 text-sm leading-5",children:"Describe the shoot"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-2 pb-2",children:[(0,t.jsx)("span",{className:"border-border flex size-7 shrink-0 items-center justify-center rounded-full border",children:(0,t.jsx)(r.IconPlus,{className:"size-3"})}),(0,t.jsxs)("span",{className:"text-muted-foreground flex items-center gap-1 text-xs",children:[(0,t.jsx)(a.IconBolt,{className:"size-3.5"}),"Auto"]}),(0,t.jsx)("span",{className:"flex-1"}),(0,t.jsx)("span",{className:"bg-primary text-primary-foreground flex size-7 shrink-0 items-center justify-center rounded-full",children:s?(0,t.jsx)("span",{className:"bg-primary-foreground size-2.5 rounded-[2px]"}):(0,t.jsx)(l.IconSend,{className:"size-3.5"})})]})]})}e.s(["BudgetDraftLoop",0,function({size:e}){let a=(0,s.useRef)(null),n=(0,d.useLive)(a),{phase:r}=(0,d.useBeat)(u,n,"done"),l="wide"===e,o="empty"!==r&&"typing"!==r,j="sent"===r||"working"===r||"building"===r||"filling"===r,v=p[r],w="typing"===r,k=(0,t.jsxs)("div",{className:"relative flex flex-col justify-end gap-1",
76style:{height:l?84:24},children:[o&&l?(0,t.jsx)("span",{"data-bdl":!0,className:(0,m.cn)(i.CHAT_BUBBLE,"line-clamp-2"),style:{animation:"bdl-pop 220ms cubic-bezier(0.22,1,0.36,1) both"},children:h}):null,v?(0,t.jsx)("span",{"data-bdl":!0,className:"text-muted-foreground truncate text-xs leading-[18px]",style:{animation:"bdl-write 200ms ease-out both"},children:v},v):null]}),N=l?"minmax(0,64px) minmax(0,1fr) minmax(0,96px)":"minmax(0,60px) minmax(0,1fr) minmax(0,84px)",C=(0,t.jsxs)(i.Sheet,{className:"rounded-xl",children:[(0,t.jsx)(g,{title:"filling"===r||"done"===r?"written":"skeleton",total:"done"===r?"written":"skeleton",compact:!l}),x.map((e,s)=>{let a="empty"===r||"typing"===r?"blank":"sent"===r||"working"===r||"building"===r?"skeleton":"filling"===r?0===s?"written":"skeleton":"written",n=(e,s,n)=>"written"===a?(0,t.jsx)("span",{"data-bdl":!0,className:n,style:{animation:`bdl-write 240ms ease-out ${s}ms both`},children:e}):"skeleton"===a?(0,t.jsx)(c.Skeleton,{className:(0,m.cn)("h-3",b[s/40])}):null;return(0,t.jsxs)(i.SheetRow,{cols:N,children:[(0,t.jsx)(i.Cell,{className:"tabular-nums",children:n(e.acct,0,"text-muted-foreground truncate")}),(0,t.jsx)(i.Cell,{children:n(l?e.description:e.short,40)}),(0,t.jsx)(i.Cell,{right:!0,last:!0,wash:"bg-cyan-500/5",children:n(e.estimate,80,"tabular-nums")})]},e.acct)})]});return(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,children:[(0,t.jsx)("style",{href:"budget-draft-loop",precedence:"default",children:f}),l?(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_minmax(0,200px)] items-end gap-4",children:[C,(0,t.jsxs)("div",{className:"flex min-w-0 flex-col justify-end gap-1",style:{height:144},children:[k,(0,t.jsx)(y,{typing:w,running:j})]})]}):(0,t.jsx)("div",{className:"relative",style:{height:151},children:"empty"===r||"typing"===r||"sent"===r||"working"===r?(0,t.jsxs)("div",{className:"absolute inset-x-0 bottom-0 flex flex-col gap-1",children:[(0,t.jsx)("div",{className:"flex justify-end",style:{height:56},children:o?(0,t.jsx)("span",{"data-bdl":!0,className:(0,m.cn)(i.CHAT_BUBBLE,"line-clamp-2"),style:{animation:"bdl-pop 220ms cubic-bezier(0.22,1,0.36,1) both"},children:h}):null}),(0,t.jsx)("div",{className:"truncate",style:{height:24},children:v?(0,t.jsx)("span",{"data-bdl":!0,className:"text-muted-foreground truncate text-xs leading-[18px]",style:{animation:"bdl-write 200ms ease-out both"},children:v},v):null}),(0,t.jsx)(y,{typing:w,running:j})]}):(0,t.jsxs)("div",{className:"absolute inset-x-0 bottom-0 flex flex-col gap-1.5",children:[k,C]})})]})}],892615)},424397,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(453174),n=e.i(593617);let r=(0,n.default)("outline","file-type-pdf","FileTypePdf",[["path",{d:"M14 3v4a1 1 0 0 0 1 1h4",key:"svg-0"}],["path",{d:"M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4",key:"svg-1"}],["path",{d:"M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6",key:"svg-2"}],["path",{d:"M17 18h2",key:"svg-3"}],["path",{d:"M20 15h-3v6",key:"svg-4"}],["path",{d:"M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1",key:"svg-5"}]]);var l=e.i(291848),i=e.i(413665);let o=(0,n.default)("outline","sun","Sun",[["path",{d:"M8 12a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7",key:"svg-1"}]]);var c=e.i(772299),d=e.i(911031),m=e.i(767292),u=e.i(671428),h=e.i(647163);let x=[{phase:"empty",ms:500},{phase:"attaching",ms:900},{phase:"typing",ms:1700},{phase:"sent",ms:400},{phase:"reading",ms:1600},{phase:"building",ms:900},{phase:"filling",ms:1100},{phase:"done",ms:3e3}],p="Break this script into a stripboard plan",f=[{scene:"12",description:"Rakel walks the foundry floor",pages:"1.6 pg",hours:"3.2h"},{scene:"13",description:"The pour goes wrong",pages:"1.6 pg",hours:"3.2h"},{scene:"14",description:"Rakel confronts the foreman",pages:"0.8 pg",hours:"1.6h"},{scene:"15",description:"Night shift clears the floor",pages:"1.2 pg",hours:"2.4h"}],g={small:4,wide:2},b=` 77@keyframes sp-in { from { opacity: 0; transform: translateY(-3px) } to { opacity: 1; transform: none } } 78@keyframes sp-pop { from { opacity: 0; transform: scale(0.96) } to { opacity: 1; transform: none } } 79/* The attachment settling into its row: up, not out. A file that arrives from 80 below reads as being placed INTO the thread rather than dropped ON it, and it 81 is the one entrance in this file that travels far enough to be felt. */ 82@keyframes sp-attach { 83 from { opacity: 0; transform: translateY(10px) scale(0.97) } 84 to { opacity: 1; transform: none } 85} 86@keyframes sp-caret { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } } 87/* The scene change. Stephen asked for a transition between the prompt and the 88 stripboard rather than a hard cut; both scenes are absolutely positioned in one 89 stage, so a fade is the only move available that does not reflow anything. */ 90@keyframes sp-scene { 91 from { opacity: 0; transform: translateY(6px) } 92 to { opacity: 1; transform: none } 93} 94@media (prefers-reduced-motion: reduce) { [data-sp] { animation: none !important } } 95`;function j({text:e}
95){let[a,n]=(0,s.useState)(1);return(0,s.useEffect)(()=>{n(1);let t=window.setInterval(()=>{n(t=>t>=e.length?t:t+1)},42);return()=>window.clearInterval(t)},[e]),(0,t.jsxs)("span",{className:"text-foreground flex items-start text-sm leading-5",children:[(0,t.jsx)("span",{className:"line-clamp-2 min-w-0",children:e.slice(0,a)}),(0,t.jsx)("span",{"data-sp":!0,className:"bg-foreground mt-[3px] ml-px inline-block h-[14px] w-px shrink-0",style:{animation:"sp-caret 1s step-end infinite"}})]})}function y(){return(0,t.jsxs)("span",{"data-sp":!0,className:(0,h.cn)("inline-flex max-w-full items-center gap-1.5 rounded-full text-xs","border-border bg-muted/50 ml-auto w-fit max-w-[220px] border px-2.5 py-1"),style:{animation:"sp-attach 340ms cubic-bezier(0.22,1,0.36,1) both"},children:[(0,t.jsx)(r,{className:"text-muted-foreground size-3.5 shrink-0"}),(0,t.jsx)("span",{className:"text-foreground min-w-0 truncate",children:"Sand Kingdom.pdf"})]})}function v({bubble:e,attached:s}){return(0,t.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[(0,t.jsx)("div",{className:"flex w-full justify-end",style:{height:56},children:e}),(0,t.jsx)("div",{className:"flex w-full justify-end",style:{height:26},children:s?(0,t.jsx)(y,{}):null})]})}function w({typing:e,running:s}){return(0,t.jsxs)("div",{className:"border-border relative rounded-2xl border",children:[(0,t.jsx)(m.ComposerBeam,{active:e||s}),(0,t.jsx)("div",{className:"px-3 pt-2 pb-2",children:e?(0,t.jsx)(j,{text:p}):(0,t.jsx)("span",{className:"text-muted-foreground/50 line-clamp-2 text-sm leading-5",children:"Ask anything"})}),(0,t.jsxs)("div",{className:"flex items-center gap-2 px-2 pb-2",children:[(0,t.jsx)("span",{className:"border-border flex size-7 shrink-0 items-center justify-center rounded-full border",children:(0,t.jsx)(l.IconPlus,{className:"size-3"})}),(0,t.jsxs)("span",{className:"text-muted-foreground flex items-center gap-1 text-xs",children:[(0,t.jsx)(a.IconBolt,{className:"size-3.5"}),"Auto"]}),(0,t.jsx)("span",{className:"flex-1"}),(0,t.jsx)("span",{className:"bg-primary text-primary-foreground flex size-7 shrink-0 items-center justify-center rounded-full",children:s?(0,t.jsx)("span",{className:"bg-primary-foreground size-2.5 rounded-[2px]"}):(0,t.jsx)(i.IconSend,{className:"size-3.5"})})]})]})}function k({wide:e,state:s}){let a="written"===s,n="written"!==s;return(0,t.jsxs)("div",{className:"border-border overflow-hidden rounded-xl border",children:[e?(0,t.jsx)("div",{className:"border-border text-muted-foreground flex h-8 items-center gap-4 border-b px-4 text-xs",children:a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"data-sp":!0,className:"text-foreground font-medium",style:{animation:"sp-in 240ms ease-out both"},children:"28 days"}),(0,t.jsx)("span",{"data-sp":!0,style:{animation:"sp-in 240ms ease-out 60ms both"},children:"62.5 pages"}),(0,t.jsx)("span",{"data-sp":!0,style:{animation:"sp-in 240ms ease-out 120ms both"},children:"14 locations"})]}):"skeleton"===s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(u.Skeleton,{className:"h-3 w-14"}),(0,t.jsx)(u.Skeleton,{className:"h-3 w-16"}),(0,t.jsx)(u.Skeleton,{className:"h-3 w-20"})]}):null}):null,(0,t.jsxs)("div",{className:"flex h-8 items-center gap-2 bg-amber-500/8 px-4 text-xs font-semibold text-amber-700",children:[(0,t.jsx)(o,{className:"size-3.5 shrink-0"}),a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{"data-sp":!0,className:"shrink-0 tracking-wide uppercase",style:{animation:"sp-in 240ms ease-out both"},children:"Day 1"}),(0,t.jsx)("span",{className:"text-cell-2xs font-normal opacity-70",children:"-"}),(0,t.jsx)("span",{"data-sp":!0,className:"min-w-0 flex-1 truncate",style:{animation:"sp-in 240ms ease-out 60ms both"},children:"INT. FOUNDRY"}),e?(0,t.jsx)("span",{className:"shrink-0 font-mono tabular-nums",children:"3.2 pg"}):null]}):"skeleton"===s?(0,t.jsx)(u.Skeleton,{className:"h-3 w-28"}):null]}),(0,t.jsx)("div",{className:"grid grid-cols-[auto_minmax(0,1fr)] text-[11px]",children:f.slice(0,g[e?"wide":"small"]).map((r,l)=>{let i=l===g[e?"wide":"small"]-1?"":"border-b border-border/50";return(0,t.jsxs)("div",{className:"contents",children:[(0,t.jsx)("div",{className:(0,h.cn)("text-foreground
95/90 flex h-[28.5px] items-center bg-amber-500/4 px-4 font-mono font-medium whitespace-nowrap",i),children:a?(0,t.jsxs)("span",{"data-sp":!0,style:{animation:"sp-in 240ms ease-out both"},children:["Sc ",r.scene]}):n&&"skeleton"===s?(0,t.jsx)(u.Skeleton,{className:"h-2.5 w-8"}):null}),(0,t.jsx)("div",{className:(0,h.cn)("flex h-[28.5px] min-w-0 items-center bg-amber-500/4 pr-4",i),children:a?(0,t.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[(0,t.jsx)("span",{"data-sp":!0,className:"text-muted-foreground min-w-0 flex-1 truncate",style:{animation:"sp-in 240ms ease-out 60ms both"},children:r.description}),e?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-muted-foreground/70 text-cell-2xs shrink-0 font-mono tabular-nums",children:r.pages}),(0,t.jsx)("span",{className:"text-muted-foreground/50 text-cell-2xs shrink-0",children:r.hours})]}):null]}):"skeleton"===s?(0,t.jsx)(u.Skeleton,{className:(0,h.cn)("h-2.5",0===l?"w-32":"w-24")}):null})]},r.scene)})})]})}e.s(["ScreenplayLoop",0,function({size:e}){let a=(0,s.useRef)(null),n=(0,c.useLive)(a),{phase:r}=(0,c.useBeat)(x,n,"done"),l="wide"===e,i="typing"===r,o="empty"!==r,m="sent"===r||"reading"===r||"building"===r,u="reading"===r,f="building"===r?"skeleton":"filling"===r||"done"===r?"written":"blank",g=!l&&("empty"===r||"attaching"===r||"typing"===r||"sent"===r||"reading"===r),j=(0,t.jsx)("div",{className:"truncate",style:{height:24},children:u?(0,t.jsx)("span",{"data-sp":!0,className:"text-muted-foreground truncate text-xs leading-[18px]",style:{animation:"sp-in 200ms ease-out both"},children:"Reading 118 pages"}):null}),y="sent"===r||"reading"===r||"building"===r||"filling"===r||"done"===r?(0,t.jsx)("span",{"data-sp":!0,className:(0,h.cn)(d.CHAT_BUBBLE,"line-clamp-2"),style:{animation:"sp-pop 220ms cubic-bezier(0.22,1,0.36,1) both"},children:p}):null;return(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,children:[(0,t.jsx)("style",{href:"screenplay-loop",precedence:"default",children:b}),l?(0,t.jsxs)("div",{className:"grid grid-cols-[minmax(0,1fr)_minmax(0,200px)] items-end gap-4",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",style:{height:150},children:[(0,t.jsx)(k,{wide:!0,state:f}),j]}),(0,t.jsxs)("div",{className:"flex min-w-0 flex-col justify-end gap-1",style:{height:150},children:[(0,t.jsx)(v,{bubble:y,attached:o}),(0,t.jsx)(w,{typing:i,running:m})]})]}):(0,t.jsx)("div",{className:"relative",style:{height:150},children:(0,t.jsx)("div",{"data-sp":!0,className:"absolute inset-x-0 bottom-0 flex flex-col gap-1",style:{animation:"sp-scene 320ms cubic-bezier(0.22,1,0.36,1) both"},children:g?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(v,{bubble:y,attached:o}),u?j:(0,t.jsx)(w,{typing:i,running:m})]}):(0,t.jsx)(k,{wide:!1,state:f})},g?"chat":"board")})]})}],424397)},329931,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(436405),n=e.i(809981),r=e.i(800348),l=e.i(772299);function i({make:e,k:a=1}){let n=(0,s.useRef)(null),r=(0,s.useRef)(null),o=(0,l.useLive)(n);return(0,s.useEffect)(()=>{if(!o)return;let t=n.current,s=r.current;if(!t||!s)return;let l=s.getContext("2d");if(!l)return;let i=window.devicePixelRatio||1,c=t.offsetWidth||262,d=t.offsetHeight||280;s.width=c*i,s.height=d*i,l.setTransform(i*a,0,0,i*a,0,0);let m=e(c/a,d/a,c/2/a,(112+(d-112-20)/2)/a),u=0,h=null,x=e=>{null===h&&(h=e),m(l,(e-h)/1e3),u=requestAnimationFrame(x)};return u=requestAnimationFrame(x),()=>cancelAnimationFrame(u)},[o,e,a]),(0,t.jsx)("div",{ref:n,"aria-hidden":!0,className:"pointer-events-none absolute z-0 overflow-hidden",style:{left:-20,right:-20,top:-112,bottom:-20},children:o?(0,t.jsx)("canvas",{ref:r,className:"absolute inset-0 h-full w-full"}):null})}let o=[{size:109,borderOpacity:.3,bgOpacity:.07,delay:0},{size:161,borderOpacity:.22,bgOpacity:.05,delay:.18},{size:213,borderOpacity:.14,bgOpacity:.03,delay:.36},{size:265,borderOpacity:.08,bgOpacity:.015,delay:.54},{size:317,borderOpacity:.04,bgOpacity:.008,delay:.72}],c=[{yFrac:.22,amp:26,freq:.02,speed:.52,phase:0,opacity:.28},{yFrac:.42,amp:18,freq:.028,speed:.68,phase:1.9,opacity:.35},{yFrac:.6,amp:22,freq:.017,speed:.44,phase:3.5,opacity:.25},{yFrac:.78,amp:14,freq:.024,speed:.58,phase:5.2,opacity:.2}],d=(e,t,s,a)=>{let n=e=>`rgba(160,175,238,${Math.min(e,.6).toFixed(3)})`,r=(e,t)=>{let n=(e-s)/160,r=(t-a)/72,l=Math.sqrt(n*n+r*r);return l>=1?1:Math.pow(l,2)};return(l,i)=>{l.clearRect(0,0,e,t),l.lineWidth=.6;for(let s=0;s<=e;s+=26)l.beginPath(),l.moveTo(s,0),l.lineTo(s,t),l.strokeStyle=n(.1*r(s,a)),l.stroke();for(let a=0;a<=t;a+=26)l.beginPath(),l.moveTo(0,a),l.lineTo(e,a),l.strokeStyle=n(.1*r(s,a)),l.stroke();for(let s of c){let a=s.yFrac*t,o=(i*s.speed*80%e+e)%e;l.lineWidth=1.8;for(let t=2;t<e;t+=2){let e=a+s.amp*Math.sin(s.freq*(t-2)+i*s.speed+s.phase),c=a+s.amp*Math.sin(s.freq*t+i*s.speed+s.phase),d=t-1,m=r(d,(e+c)/2),u=Math.abs(d-o),h=u<55?(1-u/55)*.3:0,x=(s.opacity+h)*m;x<.008||(l.beginPath(),l.moveTo(t-2,e),l.lineTo(t,c),l.strokeStyle=n(x),l.stroke())}let c=a+s.amp*Math.sin(s.freq*o+i*s.speed+s.phase),d=r(o,c);d>.05&&(l.beginPath(),l.arc(o,c,3,0,2*Math.PI),l.fillStyle=n((s.opacity+.3)*d),l.fill())}}},m=(e,t,s,a)=>{let n=e=>`rgba(200,220,248,${Math.min(e,.65).toFixed(3)})`,r=Array.from({length:56},(e,t)=>
95({angle:t/56*Math.PI*2+t%7*.18,startR:220+31*t%80,speed:.18+13*t%17/100,phase:.41*t%1,size:t%11==0?2.2:1.4,baseAlpha:.3+7*t%25/100,outward:t%2==1}));return(l,i)=>{l.clearRect(0,0,e,t);for(let e=0;e<6;e++){let t=70+36*e,r=.1-.018*e;r<.008||(l.beginPath(),l.arc(s,a,t,0,2*Math.PI),l.lineWidth=.6,l.strokeStyle=n(r),l.stroke())}for(let e of r){let t=(i*e.speed+e.phase)%1,r=e.outward?72+t*(e.startR-72):e.startR-t*(e.startR-72),o=s+Math.cos(e.angle)*r,c=a+Math.sin(e.angle)*r*.62,d=(1-Math.abs(r-72)/(e.startR-72))*.4,m=(e.baseAlpha+d)*(t>.95?(1-t)*20:t<.05?20*t:1);if(m<.02)continue;let u=s+Math.cos(e.angle)*(r+(e.outward?-28:28)),h=a+Math.sin(e.angle)*(r+(e.outward?-28:28))*.62;l.beginPath(),l.moveTo(u,h),l.lineTo(o,c),l.lineWidth=1,l.strokeStyle=n(.4*m),l.stroke(),l.beginPath(),l.arc(o,c,e.size,0,2*Math.PI),l.fillStyle=n(m),l.fill()}let o=l.createRadialGradient(s,a,0,s,a,80);o.addColorStop(0,n(.35)),o.addColorStop(1,n(0)),l.fillStyle=o,l.fillRect(s-80,a-80,160,160)}},u=[{yFrac:.28,amp:28,freq:.022,speed:.5,phase:0,opacity:.22},{yFrac:.48,amp:18,freq:.03,speed:.7,phase:1.8,opacity:.3},{yFrac:.65,amp:22,freq:.018,speed:.4,phase:3.4,opacity:.18},{yFrac:.82,amp:14,freq:.026,speed:.6,phase:5.1,opacity:.14}],h=(e,t,s,a)=>{let n=e=>`rgba(232,224,248,${Math.min(e,.55).toFixed(3)})`,r=(e,t)=>{let n=(e-s)/160,r=(t-a)/60,l=Math.sqrt(n*n+r*r);return l>=1?1:Math.pow(l,2)};return(l,i)=>{l.clearRect(0,0,e,t),l.lineWidth=.75;for(let s=0;s<e;s+=44)l.beginPath(),l.moveTo(s,0),l.lineTo(s,t),l.strokeStyle=n(.07*r(s,a)),l.stroke();for(let a=0;a<t;a+=40)l.beginPath(),l.moveTo(0,a),l.lineTo(e,a),l.strokeStyle=n(.07*r(s,a)),l.stroke();for(let s of u){let a=s.yFrac*t,o=(i*s.speed*80%e+e)%e;l.lineWidth=1.5;for(let t=3;t<e;t+=3){let e=a+s.amp*Math.sin(s.freq*(t-3)+i*s.speed+s.phase),c=a+s.amp*Math.sin(s.freq*t+i*s.speed+s.phase),d=t-1.5,m=r(d,(e+c)/2),u=Math.abs(d-o),h=u<60?(1-u/60)*.25:0,x=(s.opacity+h)*m;x<.008||(l.beginPath(),l.moveTo(t-3,e),l.lineTo(t,c),l.strokeStyle=n(x),l.stroke())}let c=a+s.amp*Math.sin(s.freq*o+i*s.speed+s.phase),d=r(o,c);d>.05&&(l.beginPath(),l.arc(o,c,3,0,2*Math.PI),l.fillStyle=n((s.opacity+.28)*d),l.fill())}}},x=(e,t,s,a)=>{let n=e=>`rgba(222,215,252,${Math.min(e,.65).toFixed(3)})`,r=172,l=110,i=[],o=Math.ceil(e/172)+6,c=Math.ceil(t/110)+4;for(let e=-2;e<c;e++)for(let t=-3;t<o;t++)i.push({col:t,row:e,breathPhase:Math.random()*Math.PI*2,breathSpeed:.15+.12*Math.random()});let d=e=>{let t=Math.max(0,Math.min(e,1));return t*t*(3-2*t)},m=(e,t,s,a,n,r)=>{e.beginPath(),e.moveTo(t+r,s),e.lineTo(t+a-r,s),e.arcTo(t+a,s,t+a,s+r,r),e.lineTo(t+a,s+n-r),e.arcTo(t+a,s+n,t+a-r,s+n,r),e.lineTo(t+r,s+n),e.arcTo(t,s+n,t,s+n-r,r),e.lineTo(t,s+r),e.arcTo(t,s,t+r,s,r),e.closePath()};return(o,c)=>{o.clearRect(0,0,e,t);let u=10*c%r;for(let h of i){let i=h.row%2!=0?r/2:0,x=h.col*r+i+u,p=h.row*l,f=x+79,g=p+48;if(f<-158||f>e+158||g<-96||g>t+96)continue;let b=d(Math.min(Math.min(f/160,(e-f)/160,1),Math.min(g/160,(t-g)/160,1)));if(b<.002)continue;let j=f-s,y=g-a,v=Math.sqrt(j*j+y*y),w=v>=130?1:d(v/130);if(w<.002)continue;let k=.5+.5*Math.sin(c*h.breathSpeed+h.breathPhase),N=b*w;m(o,x,p,158,96,16),o.fillStyle=n((.06+.1*k)*N),o.fill(),o.strokeStyle=n((.1+.14*k)*N),o.lineWidth=.8,o.stroke()}}},p=[{r:70,thickness:1.4,dashLen:6,gapLen:4,rotSpeed:.06,opacity:.45},{r:110,thickness:1,dashLen:8,gapLen:5,rotSpeed:-.04,opacity:.32},{r:152,thickness:.8,dashLen:10,gapLen:6,rotSpeed:.03,opacity:.22},{r:198,thickness:.6,dashLen:12,gapLen:8,rotSpeed:-.02,opacity:.16}],f=(e,t,s,a)=>{let n=e=>`rgba(245,213,178,${Math.min(e,.65).toFixed(3)})`;return(r,l)=>{for(let i of(r.clearRect(0,0,e,t),p)){let e=i.rotSpeed*l,t=2*Math.PI*i.r,o=Math.floor(t/(i.dashLen+i.gapLen));r.lineWidth=i.thickness,r.strokeStyle=n(i.opacity);for(let n=0;n<o;n++){let l=e+n/o*Math.PI*2,c=l+i.dashLen/t*Math.PI*2;r.beginPath(),r.arc(s,a,i.r,l,c),r.stroke()}}let i=.3*l%(2*Math.PI);for(let e=0;e<24;e++){let t=e/24*Math.PI*2-Math.PI/2,l=240+(e%6==0?8:4),o=s+234*Math.cos(t),c=a+234*Math.sin(t)*.62,d=s+Math.cos(t)*l,m=a+Math.sin(t)*l*.62,u=Math.abs((t+2*Math.PI-i)%(2*Math.PI)),h=Math.min(u,2*Math.PI-u),x=h<.6?(1-h/.6)*.35:0,p=e%6==0?.4:.22;r.beginPath(),r.moveTo(o,c),r.lineTo(d,m),r.lineWidth=e%6==0?1.2:.8,r.strokeStyle=n(p+x),r.stroke()}let o=r.createRadialGradient(s,a,0,s,a,60);o.addColorStop(0,n(.45)),o.addColorStop(1,n(0)),r.fillStyle=o,r.fillRect(s-60,a-60,120,120)}};e.s(["AiParticlesLoop",0,function(){return(0,t.jsx)(i,{make:m,k:.6})},"AuthFlowTrioLoop",0,function(){let e=(0,s.useRef)(null),i=(0,l.useLive)(e),o=e=>i?{animation:`it-pulse 3.2s ease-in-out ${e}s infinite`}:void 0,c=e=>({width:30,height:1.5,margin:"0 9px",background:"#ede8fb",opacity:.32,...i?{animation:`it-line-pulse 3.2s ease-in-out ${e}s infinite`}:null});return(0,t.jsxs)("div",{ref:e,className:"flex items-center justify-center",style:{color:"#ede8fb"},children:[(0,t.jsx)(n.Lock,{strokeWidth:1.5,size:26,style:o(0)}),(0,t.jsx)("div",{"aria-hidden":!0,style:c(.4)}),(0,t.jsx)(r.Smartphone,{strokeWidth:1.5,size:33,style:o(.8)}),(0,t.jsx)("div",{"aria-hidden":!0,style:c(1.2)}),(0,t.jsx)(a.CircleCheck,{strokeWidth:1.5,size:26,style:o(1.6)})]})}
95,"DataStreamsLoop",0,function(){return(0,t.jsx)(i,{make:d})},"InfraStreamsLoop",0,function(){return(0,t.jsx)(i,{make:h})},"ItBricksLoop",0,function(){return(0,t.jsx)(i,{make:x,k:.6})},"PulseRings",0,function({color:e,grow:a=1}){let n=(0,s.useRef)(null),r=(0,l.useLive)(n);return(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute z-0 overflow-hidden",style:{left:-20,right:-20,top:-112,bottom:-20},children:(0,t.jsx)("div",{ref:n,className:"absolute",style:{left:20,right:20,top:112,bottom:20},children:o.map(s=>(0,t.jsx)("div",{className:"rounded-full",style:{position:"absolute",width:s.size*a,height:s.size*a,top:"50%",left:"50%",transform:"translate(-50%, -50%)",border:`1px solid rgba(${e},${s.borderOpacity})`,background:`rgba(${e},${s.bgOpacity})`,animation:r?`security-ring-pulse 3s ease ${s.delay}s infinite`:void 0}},s.size))})})},"SnapshotRingsLoop",0,function(){return(0,t.jsx)(i,{make:f,k:2/3})}])},267954,e=>{"use strict";var t=e.i(771246),s=e.i(78228);e.s(["ChartMorph",0,function({values:e,dur:a}){let[n,r]=(0,s.useState)(!1);if((0,s.useEffect)(()=>{window.matchMedia("(prefers-reduced-motion: reduce)").matches||r(!0)},[]),!n)return null;let l=[...e,e[0]];return(0,t.jsx)("animate",{attributeName:"d",values:l.join(";"),keyTimes:l.map((e,t)=>t/(l.length-1)).join(";"),calcMode:"spline",keySplines:l.slice(1).map(()=>"0.4 0 0.6 1").join(";"),dur:a,repeatCount:"indefinite"})}])},316539,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(647163);e.s(["BalanceHero",0,function({children:e,className:n}){let r=(0,s.useRef)(null),[l,i]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=r.current;if(!e)return;let t=t=>{for(let s of Array.from(e.querySelectorAll("svg")))"function"==typeof s.pauseAnimations&&(t?s.unpauseAnimations():s.pauseAnimations())};if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return void t(!1);let s=new IntersectionObserver(e=>{let s=e.some(e=>e.isIntersecting);t(s),i(s)},{rootMargin:"240px"});return s.observe(e),()=>s.disconnect()},[]),(0,t.jsx)("span",{ref:r,"aria-hidden":!0,className:(0,a.cn)("pointer-events-none absolute inset-0",!l&&"bento-chart-still",n),children:e})}])},946087,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(772299),n=e.i(112086);function r(){return(0,t.jsx)("div",{className:"bg-muted/60 absolute top-0 right-0 left-0 h-[3px] overflow-hidden",children:(0,t.jsx)(n.motion.div,{className:"h-full",initial:{x:"-100%"},animate:{x:"100%"},transition:{duration:1.6,repeat:1/0,ease:"easeInOut"},style:{width:"55%",background:"linear-gradient(90deg, transparent 0%, var(--primary) 38%, var(--primary) 62%, transparent 100%)"}})})}var l=e.i(702717),i=e.i(63270),o=e.i(952032),c=e.i(647163);let d=[{phase:"scanning",ms:2e3},{phase:"first",ms:1100},{phase:"second",ms:1100},{phase:"third",ms:1100},{phase:"done",ms:2900}],m=` 96/* The resolve. A row does not swap, it SETTLES: the coded content rises a couple 97 of pixels into place while it fades up, which is the difference between a 98 graphic that cuts and one that resolves. 300ms is long enough to read as a 99 movement and short enough that three rows landing 1100ms apart still feel like 100 one run rather than three separate events. */ 101@keyframes rs-settle { from { opacity: 0; transform: translateY(3px) } to { opacity: 1; transform: none } } 102@media (prefers-reduced-motion: reduce) { [data-rs] { animation: none !important } } 103`,u={scanning:0,first:1,second:2,third:3,done:3};function h(){return(0,t.jsx)("span",{className:"ml-auto shrink-0",children:(0,t.jsx)(o.TextShimmer,{as:"span",className:"text-xs",repeatDelay:0,baseColor:"var(--muted-foreground)",highlightColor:"var(--foreground)",children:"Scanning"})})}e.s(["ReceiptScanLoop",0,function({rows:e,wide:n}){let o=(0,s.useRef)(null),x=(0,a.useLive)(o),{phase:p}=(0,a.useBeat)(d,x,"done"),f=u[p];return(0,t.jsxs)("div",{ref:o,className:"relative",children:[(0,t.jsx)("style",{children:m}),f<e.length?(0,t.jsx)(r,{}):null,e.map((e,s)=>{let a=s<f;return(0,t.jsxs)("div",{className:(0,c.cn)("border-border flex items-center gap-2.5 border-b px-2.5 last:border-b-0",n?"py-2":"py-1.5"),children:[(0,t.jsxs)(i.Avatar,{size:n?"sm":"default",className:"shrink-0",children:[(0,t.jsx)(i.AvatarImage,{src:e.logo,alt:""}),(0,t.jsx)(i.AvatarFallback,{className:"bg-muted text-foreground text-[10px] font-semibold",children:e.initial})]}),(0,t.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,t.jsx)("span",{className:(0,
103c.cn)("flex items-center",n?"h-4":"h-[17px]"),children:(0,t.jsx)("span",{"data-rs":!0,className:"block truncate text-cell-xs font-medium",style:{animation:"rs-settle 300ms ease-out"},children:a?e.description:e.merchant},a?"coded":"scanning")}),n?(0,t.jsx)("span",{className:"text-muted-foreground flex h-4 items-center text-[11px]",children:a?(0,t.jsx)("span",{"data-rs":!0,className:"truncate",style:{animation:"rs-settle 300ms ease-out 60ms both"},children:e.merchant}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,c.cn)("shrink-0 font-semibold",e.tint),children:e.kind}),(0,t.jsx)("span",{className:"mx-1",children:"·"}),(0,t.jsx)("span",{className:"truncate",children:e.file})]})}):(0,t.jsx)("span",{className:"mt-0.5 flex h-[18px] items-center gap-2",children:a?(0,t.jsxs)("span",{"data-rs":!0,className:"flex min-w-0 flex-1 items-center gap-2",style:{animation:"rs-settle 300ms ease-out 90ms both"},children:[(0,t.jsx)(l.NextAccountPill,{number:e.account,description:e.accountName,descriptionClassName:"hidden"}),(0,t.jsx)("span",{className:"ml-auto shrink-0 text-right text-cell-xs font-medium tabular-nums",children:e.amount})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:(0,c.cn)("shrink-0 text-[11px] font-semibold",e.tint),children:e.kind}),(0,t.jsx)(h,{})]})})]}),n?a?(0,t.jsxs)("span",{"data-rs":!0,className:"flex shrink-0 items-center gap-2.5",style:{animation:"rs-settle 300ms ease-out 90ms both"},children:[(0,t.jsx)(l.NextAccountPill,{number:e.account,description:e.accountName}),(0,t.jsx)("span",{className:"w-[72px] shrink-0 text-right text-cell-xs font-medium tabular-nums",children:e.amount})]}):(0,t.jsx)(h,{}):null]},e.account)})]})}],946087)},136903,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(772299);let n=[{id:"chase",name:"Chase",src:"/logos/chase.svg"},{id:"bofa",name:"Bank of America",src:"/logos/bofa.svg"},{id:"jpm",name:"JP Morgan",src:"/logos/jp-morgan.svg"},{id:"wf",name:"Wells Fargo",src:"/logos/wells-fargo.svg"},{id:"citi",name:"Citi",src:"/logos/citi.svg"},{id:"gs",name:"Goldman Sachs",src:"/logos/goldman-sachs.svg"},{id:"amex",name:"American Express",src:"/logos/amex.svg"},{id:"usb",name:"US Bancorp",src:"/logos/us-bancorp.svg"},{id:"pnc",name:"PNC",src:"/logos/pnc.svg"},{id:"truist",name:"Truist",src:"/logos/truist.svg"},{id:"cof",name:"Capital One",src:"/logos/capital-one.svg"},{id:"hsbc",name:"HSBC",src:"/logos/hsbc.svg"},{id:"fitb",name:"Fifth Third Bank",src:"/logos/fifth-third.svg"},{id:"citizens",name:"Citizens",src:"/logos/citizens.svg"},{id:"ally",name:"Ally",src:"/logos/ally.svg"},{id:"commerce",name:"Commerce Bank",src:"/logos/commerce-bank.svg"},{id:"paypal",name:"PayPal",src:"/logos/paypal.svg"},{id:"mercury",name:"Mercury",src:"/logos/mercury.svg"}],r={small:{chip:64,gap:10,logo:34,radius:13,perRow:9,rows:2},wide:{chip:48,gap:8,logo:26,radius:10,perRow:10,rows:3}},l=[{offset:0,direction:"left",duration:46},{offset:9,direction:"right",duration:52},{offset:4,direction:"left",duration:39}];e.s(["FinancesMarquee",0,function({wide:e}){let i=(0,s.useRef)(null),o=(0,a.useLive)(i),c=r[e?"wide":"small"],d=c.chip+c.gap;return(0,t.jsx)("div",{ref:i,"aria-hidden":!0,className:"relative z-[1] -mx-5 flex min-h-0 flex-1 flex-col justify-center",style:{gap:c.gap},children:l.slice(0,c.rows).map(e=>(0,t.jsx)("div",{className:"overflow-hidden",style:{maskImage:"linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%)",WebkitMaskImage:"linear-gradient(to right, transparent 0%, black 9%, black 91%, transparent 100%)"},children:(0,t.jsx)("ul",{"data-run":o?"1":void 0,"data-dir":e.direction,className:"plaid-row-track flex w-max list-none p-0",style:{gap:c.gap,"--plaid-run":`${c.perRow*d}px`,"--plaid-dur":`${e.duration}s`},children:Array.from({length:2},()=>{var t;return t=e.offset,Array.from({length:c.perRow},(e,s)=>n[(t+s)%n.length])}).flat().map((e,s)=>(0,t.jsx)("li",{children:(0,t.jsx)("div",{className:"plaid-logo-tile flex shrink-0 items-center justify-center border",style:{width:c.chip,height:c.chip,borderRadius:c.radius},children:(0,t.jsx)("img",{src:e.src,alt:e.name,width:c.logo,height:c.logo,className:"object-contain",style:{width:c.logo,height:c.logo}})})},`${e.id}-${s}`))})},e.offset))})}])},524163,e=>{"use strict";var t=e.i(771246),s=e.i(78228),a=e.i(541991);let n=(0,e.i(593617).default)("outline","message-reply","MessageReply",[["path",{d:"M18 4a3 3 0 0 1 3 3v8a3 3 0 0 1 -3 3h-5l-5 3v-3h-2a3 3 0 0 1 -3 -3v-8a3 3 0 0 1 3 -3h12",key:"svg-0"}],["path",{d:"M11 8l-3 3l3 3",key:"svg-1"}],["path",{d:"M16 11h-8",key:"svg-2"}]]);var r=e.i(413665),l=e.i(772299),i=e.i(911031),o=e.i(702717),c=e.i(63270),d=e.i(994179),m=e.i(647163);let u=` 104@keyframes clb-caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } } 105.clb-caret { animation: clb-caret 1s steps(1, end) infinite; } 106@media (prefers-reduced-motion: reduce) { .clb-caret { animation: none; } } 107`;function h(){return(0,t.jsx)("style",{href:"clb-caret",precedence:"default",children:u})}function x(){return(0,t.jsx)("span",{className:"clb-caret bg-foreground ml-px inline-block h-[13px] w-px translate-y-[2px]"})}function p(e,t){let a=(0,s.useRef)(t);a.current=t,(0,s.useEffect)(()=>
107{if(!e)return;let t=!1,s=async e=>{if(await new Promise(t=>setTimeout(t,e)),t)throw Error("cancelled")};return a.current(s).catch(()=>{}),()=>{t=!0}},[e])}function f({initials:e,className:s}){return(0,t.jsx)(c.Avatar,{size:"xs",className:s,children:(0,t.jsx)(c.AvatarFallback,{className:"text-cell-2xs font-medium",children:e})})}let g="VL",b="Vesper Lynd",j="2h",y=["Maude","Maude Lebowski"],v=[" the rental is over budget."," the Alexa 35 rental is over budget. Revised quote?"],w="ML",k="Maude Lebowski",N="Just now",C=["On it.","New quote lands Friday."];function M({name:e}){return(0,t.jsxs)("span",{className:"bg-primary/10 text-primary inline-flex items-center rounded px-1 py-px text-xs font-medium",children:["@",e]})}function S({initials:e,author:s,time:a,children:n,className:r}){return(0,t.jsxs)("div",{className:(0,m.cn)("flex gap-2",r),children:[(0,t.jsx)(f,{initials:e,className:"mt-0.5"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-baseline gap-1.5",children:[(0,t.jsx)("span",{className:"min-w-0 truncate text-cell-xs leading-none font-semibold",children:s}),(0,t.jsx)("span",{className:"text-muted-foreground shrink-0 text-[11px] leading-none",children:a})]}),(0,t.jsx)("p",{className:"mt-0.5 text-cell-xs leading-relaxed",children:n})]})]})}function I({canSend:e}){return(0,t.jsx)("span",{className:(0,m.cn)("flex size-6 shrink-0 items-center justify-center rounded-full transition-colors",e?"bg-primary text-primary-foreground":"bg-muted text-muted-foreground/40"),children:(0,t.jsx)(r.IconSend,{className:"size-3"})})}let T=[{initials:"PM",name:"Philip Marlowe",role:"Owner",tint:i.ROLE_TINT.purple}],z={initials:"ML",name:"Maude Lebowski",role:"Editor",tint:i.ROLE_TINT.green,email:"[email protected]"};function L({initials:e,name:s,role:a,tint:n,className:r}){return(0,t.jsxs)("div",{className:(0,m.cn)("grid grid-cols-[minmax(0,1fr)_auto] items-center gap-x-3 py-1.5 first:pt-0",r),children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-2",children:[(0,t.jsx)(f,{initials:e}),(0,t.jsx)("span",{className:"truncate text-sm leading-snug font-medium",children:s})]}),(0,t.jsx)(d.Badge,{variant:"secondary",className:(0,m.cn)("max-w-full truncate border-transparent",n),children:a})]})}e.s(["AccessInviteLoop",0,function({wide:e}){let n=(0,s.useRef)(null),r=(0,l.useLive)(n),[o,c]=(0,s.useState)(!0),[d,u]=(0,s.useState)("");(0,s.useEffect)(()=>{r||(c(!0),u(""))},[r]),p(r,async e=>{for(await e(2400);;){c(!1),await e(600);for(let t=1;t<=z.email.length;t++)u(z.email.slice(0,t)),await e(48);await e(700),u(""),c(!0),await e(3600)}});let f=d.length>0;return(0,t.jsxs)("div",{ref:n,"aria-hidden":!0,children:[r?(0,t.jsx)(h,{}):null,(0,t.jsxs)("div",{className:"border-border overflow-hidden rounded-lg border",children:[(0,t.jsxs)("div",{className:"px-3 pt-2 pb-2",children:[(0,t.jsx)("p",{className:"text-sm leading-tight font-semibold",children:"Share project"}),(0,t.jsxs)("div",{className:"mt-1.5 flex items-center gap-2",children:[(0,t.jsxs)("span",{className:(0,m.cn)("border-border flex h-8 min-w-0 flex-1 items-center rounded-md border px-3 text-sm",i.INPUT_ON_TILE),children:[f?(0,t.jsx)("span",{className:"min-w-0 truncate",children:d}):(0,t.jsx)("span",{className:"text-muted-foreground/60 truncate",children:"[email protected]"}),r&&!o?(0,t.jsx)(x,{}):null]}),e?(0,t.jsxs)("span",{className:(0,m.cn)("border-border flex h-8 shrink-0 items-center gap-1.5 rounded-md border px-3 text-sm",i.SELECT_ON_TILE),children:["Editor",(0,t.jsx)(a.IconChevronDown,{size:12,className:"text-muted-foreground"})]}):null,(0,t.jsx)("span",{className:(0,m.cn)("bg-primary text-primary-foreground flex h-8 shrink-0 items-center rounded-md px-3 text-sm font-medium transition-opacity",!f&&"opacity-60"),children:"Send"})]})]}),(0,t.jsxs)("div",{className:"border-border border-t px-3 pt-1.5 pb-1",children:[(0,t.jsx)("p",{className:"text-muted-foreground pb-1 text-xs font-medium",children:"Project members"}),T.map(e=>(0,t.jsx)(L,{...e},e.name)),(0,t.jsx)(L,{initials:z.initials,name:z.name,role:z.role,tint:z.tint,className:(0,m.cn)("transition-opacity duration-300",!o&&"opacity-0")})]})]})]})},"CommentsLoop",0,function({wide:e}
107){let a=(0,s.useRef)(null),r=(0,l.useLive)(a),[i,c]=(0,s.useState)(!0),[d,u]=(0,s.useState)("");(0,s.useEffect)(()=>{r||(c(!0),u(""))},[r]),p(r,async t=>{let s=C[+!!e];for(await t(2400);;){c(!1),await t(600);for(let e=1;e<=s.length;e++)u(s.slice(0,e)),await t(38);await t(500),u(""),c(!0),await t(3600)}});let f=d.length>0;return(0,t.jsxs)("div",{ref:a,"aria-hidden":!0,children:[r?(0,t.jsx)(h,{}):null,(0,t.jsxs)("div",{className:"border-border overflow-hidden rounded-lg border",children:[(0,t.jsxs)("div",{className:"p-2",children:[(0,t.jsxs)(S,{initials:g,author:b,time:j,className:"px-1",children:[(0,t.jsx)(M,{name:y[+!!e]}),v[+!!e]]}),(0,t.jsxs)("div",{className:"mt-0.5 ml-[33px] flex flex-wrap items-center gap-1",children:[(0,t.jsx)(o.NextAccountPill,{number:"4400",description:"Camera",descriptionClassName:e?void 0:"hidden",className:"px-2 text-purple-500"}),(0,t.jsx)("span",{className:"border-border text-muted-foreground inline-flex items-center gap-1 rounded-full border px-1.5 py-0.5 text-xs leading-none",children:"ð 2"}),(0,t.jsxs)("span",{className:"text-primary inline-flex h-5 shrink-0 items-center gap-1 px-2 text-xs font-medium",children:[(0,t.jsx)(n,{size:12}),e||i?"2 replies":"1 reply"]})]}),e?(0,t.jsx)("div",{className:(0,m.cn)("border-border/50 mt-1 ml-4 border-l-2 pl-4 transition-opacity duration-300",!i&&"opacity-0"),children:(0,t.jsx)(S,{initials:w,author:k,time:N,children:C[1]})}):null]}),e?(0,t.jsxs)("div",{className:"border-border border-t",children:[(0,t.jsxs)("div",{className:"flex min-w-0 items-center px-3 pt-1 pb-0.5 text-sm",children:[f?(0,t.jsx)("span",{className:"min-w-0 truncate",children:d}):(0,t.jsx)("span",{className:"text-muted-foreground/60",children:"Add a comment"}),r&&!i?(0,t.jsx)(x,{}):null]}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-2 px-2 pb-1.5",children:[(0,t.jsxs)("span",{className:"text-muted-foreground text-[11px] leading-none select-none",children:[(0,t.jsx)("span",{className:"font-medium",children:"@"})," to mention or link"]}),(0,t.jsx)(I,{canSend:f})]})]}):(0,t.jsxs)("div",{className:"border-border flex items-center gap-2 border-t px-3 py-1.5",children:[(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 items-center text-sm",children:[f?(0,t.jsx)("span",{className:"min-w-0 truncate",children:d}):(0,t.jsx)("span",{className:"text-muted-foreground/60 truncate",children:"Add a comment"}),r&&!i?(0,t.jsx)(x,{}):null]}),(0,t.jsx)(I,{canSend:f})]})]})]})}],524163)}]);
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.