PageSourceSearch

https://sealos.io/_next/static/chunks/3257.6671518697b1c985.js

js sealos.io collected 2026-10-03 19:03:07 UTC 22,164 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3257],{5980:function(e,t,a){a.d(t,{dc:function(){return l},zx:function(){return d}});var r=a(25193),n=a(62310),i=a(47997),o=a(33350);a(38367);var s=a(14477);let l=(0,o.j)("cursor-pointer inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-sm hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-xs hover:bg-destructive/90",outline:"border border-input bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline","landing-primary":"rounded-full border border-white bg-gradient-to-b from-white via-zinc-100 to-zinc-300 text-zinc-900 shadow-lg hover:border-neutral-200 hover:from-zinc-100 hover:to-zinc-400"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),d=n.forwardRef((e,t)=>{let{className:a,variant:n,size:o,asChild:d=!1,...c}=e,u=d?i.g7:"button";return(0,r.jsx)(u,{className:(0,s.cn)(l({variant:n,size:o,className:a})),ref:t,...c})});d.displayName="Button"},9372:function(e,t,a){a.d(t,{Vq:function(){return l}});var r=a(25193),n=a(62310),i=a(63075),o=a(14477),s=a(57478);let l=i.fC;i.xz;let d=i.h_;i.x8;let c=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.aV,{ref:t,className:(0,o.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80 duration-300",a),...n})});c.displayName=i.aV.displayName,n.forwardRef((e,t)=>{let{className:a,children:n,hideClose:l,...u}=e;return(0,r.jsxs)(d,{children:[(0,r.jsx)(c,{}),(0,r.jsxs)(i.VY,{ref:t,className:(0,o.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] fixed top-[50%] left-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border p-6 shadow-lg duration-300 sm:rounded-lg",a),...u,children:[n,!l&&(0,r.jsxs)(i.x8,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none",children:[(0,r.jsx)(s.Pxu,{className:"h-4 w-4"}),(0,r.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}).displayName=i.VY.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.Dx,{ref:t,className:(0,o.cn)("text-lg leading-none font-semibold tracking-tight",a),...n})}).displayName=i.Dx.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.dk,{ref:t,className:(0,o.cn)("text-muted-foreground text-sm",a),...n})}).displayName=i.dk.displayName},39149:function(e,t,a){a.d(t,{I:function(){return o}});var r=a(25193),n=a(62310),i=a(14477);let o=n.forwardRef((e,t)=>{let{className:a,type:n,...o}=e;return(0,r.jsx)("input",{type:n,className:(0,i.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),ref:t,...o})});o.displayName="Input"},12861:function(e,t,a){a.d(t,{Bw:function(){return x},Ph:function(){return c},Ql:function(){return h},i4:function(){return f},ki:function(){return u}});var r=a(25193),n=a(62310),i=a(97032),o=a(63691),s=a(41858),l=a(45345),d=a(14477);let c=i.fC;i.ZA;let u=i.B4,f=n.forwardRef((e,t)=>
1{let{className:a,children:n,...s}=e;return(0,r.jsxs)(i.xz,{ref:t,className:(0,d.cn)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",a),...s,children:[n,(0,r.jsx)(i.JO,{asChild:!0,children:(0,r.jsx)(o.Z,{className:"h-4 w-4 opacity-50"})})]})});f.displayName=i.xz.displayName;let p=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.u_,{ref:t,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",a),...n,children:(0,r.jsx)(s.Z,{className:"h-4 w-4"})})});p.displayName=i.u_.displayName;let m=n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.$G,{ref:t,className:(0,d.cn)("flex cursor-default items-center justify-center py-1",a),...n,children:(0,r.jsx)(o.Z,{className:"h-4 w-4"})})});m.displayName=i.$G.displayName;let x=n.forwardRef((e,t)=>{let{className:a,children:n,position:o="popper",...s}=e;return(0,r.jsx)(i.h_,{children:(0,r.jsxs)(i.VY,{ref:t,className:(0,d.cn)("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-select-content-transform-origin]","popper"===o&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",a),position:o,...s,children:[(0,r.jsx)(p,{}),(0,r.jsx)(i.l_,{className:(0,d.cn)("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:n}),(0,r.jsx)(m,{})]})})});x.displayName=i.VY.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.__,{ref:t,className:(0,d.cn)("px-2 py-1.5 text-sm font-semibold",a),...n})}).displayName=i.__.displayName;let h=n.forwardRef((e,t)=>{let{className:a,children:n,...o}=e;return(0,r.jsxs)(i.ck,{ref:t,className:(0,d.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",a),...o,children:[(0,r.jsx)("span",{className:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,r.jsx)(i.wU,{children:(0,r.jsx)(l.Z,{className:"h-4 w-4"})})}),(0,r.jsx)(i.eT,{children:n})]})});h.displayName=i.ck.displayName,n.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(i.Z0,{ref:t,className:(0,d.cn)("-mx-1 my-1 h-px bg-muted",a),...n})}).displayName=i.Z0.displayName},14477:function(e,t,a){a.d(t,{cn:function(){return i}});var r=a(64848),n=a(17326);function i(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,n.m6)((0,r.W)(t))}},73139:function(e,t,a){a.r(t),a.d(t,{DeployModalInner:function(){return T}});var r=a(25193),n=a(84930),i=a(75242),o=a(9372),s=a(63075),l=a(5980),d=a(32907),c=a(39530),u=a(47926),f=a(39149),p=a(62310),m=a(26781),x=p.forwardRef((e,t)=>(0,r.jsx)(m.WV.label,{...e,ref:t,onMouseDown:t=>{var a;t.target.closest("button, input, select, textarea")||(null===(a=e.onMouseDown)||void 0===a||a.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));x.displayName="Label";var h=a(33350),g=a(14477);let y=(0,h.j)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),b=p.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(x,{ref:t,className:(0,g.cn)(y(),a),...n})});b.displayName=x.displayName;var v=a(64900),w=a(55610),j=a(50661),N=a(99355),k=a(92435),C=a(17232),z=a(72832),M="Switch",[R,E]=(0,j.b)(M),[V,W]=R(M),S=p.forwardRef((e,t)=>
1{let{__scopeSwitch:a,name:n,checked:i,defaultChecked:o,required:s,disabled:l,value:d="on",onCheckedChange:c,form:u,...f}=e,[m,x]=p.useState(null),h=(0,w.e)(t,e=>x(e)),g=p.useRef(!1),y=!m||u||!!m.closest("form"),[b,j]=(0,N.T)({prop:i,defaultProp:null!=o&&o,onChange:c,caller:M});return(0,r.jsxs)(V,{scope:a,checked:b,disabled:l,children:[(0,r.jsx)(z.WV.button,{type:"button",role:"switch","aria-checked":b,"aria-required":s,"data-state":Z(b),"data-disabled":l?"":void 0,disabled:l,value:d,...f,ref:h,onClick:(0,v.Mj)(e.onClick,e=>{j(e=>!e),y&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})}),y&&(0,r.jsx)(Y,{control:m,bubbles:!g.current,name:n,value:d,checked:b,required:s,disabled:l,form:u,style:{transform:"translateX(-100%)"}})]})});S.displayName=M;var I="SwitchThumb",P=p.forwardRef((e,t)=>{let{__scopeSwitch:a,...n}=e,i=W(I,a);return(0,r.jsx)(z.WV.span,{"data-state":Z(i.checked),"data-disabled":i.disabled?"":void 0,...n,ref:t})});P.displayName=I;var Y=p.forwardRef((e,t)=>{let{__scopeSwitch:a,control:n,checked:i,bubbles:o=!0,...s}=e,l=p.useRef(null),d=(0,w.e)(l,t),c=(0,k.D)(i),u=(0,C.t)(n);return p.useEffect(()=>{let e=l.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(c!==i&&t){let a=new Event("click",{bubbles:o});t.call(e,i),e.dispatchEvent(a)}},[c,i,o]),(0,r.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i,...s,tabIndex:-1,ref:d,style:{...s.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function Z(e){return e?"checked":"unchecked"}Y.displayName="SwitchBubbleInput";let _=p.forwardRef((e,t)=>{let{className:a,...n}=e;return(0,r.jsx)(S,{className:(0,g.cn)("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-input",a),...n,ref:t,children:(0,r.jsx)(P,{className:(0,g.cn)("pointer-events-none block h-4 w-4 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})})});_.displayName=S.displayName;var q=a(12861);function D(e){let{input:t}=e,{formData:a,setFormValue:n}=(0,u.iN)(),i=a[t.key];switch(t.type){case"boolean":return(0,r.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)(b,{htmlFor:t.key,className:"text-sm leading-none font-medium",children:t.label}),(0,r.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-5",children:t.description})]}),(0,r.jsx)(_,{id:t.key,checked:!0===i||"true"===i,onCheckedChange:e=>n(t.key,e)})]});case"choice":var o;return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsxs)(b,{htmlFor:t.key,className:"text-sm leading-none font-medium",children:[t.required&&(0,r.jsx)("span",{className:"text-red-600",children:"*"}),t.label]}),(0,r.jsxs)(q.Ph,{value:String(i),onValueChange:e=>n(t.key,e),children:[(0,r.jsx)(q.i4,{id:t.key,className:"h-10 rounded-[8px]",children:(0,r.jsx)(q.ki,{placeholder:"Select ".concat(t.label)})}),(0,r.jsx)(q.Bw,{className:"[&::-webkit-scrollbar-thumb]:bg-muted-foreground/30 max-h-60 overflow-y-auto [&::-webkit-scrollbar]:w-2 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-track]:bg-transparent",children:null===(o=t.options)||void 0===o?void 0:o.map(e=>(0,r.jsx)(q.Ql,{value:e,children:e},e))})]}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-5",children:t.description})]});case"number":return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsxs)(b,{htmlFor:t.key,className:"text-sm leading-none font-medium",children:[t.required&&(0,r.jsx)("span",{className:"text-red-600",children:"*"}),t.label]}),(0,r.jsx)(f.I,{id:t.key,type:"number",value:String(i),onChange:e=>n(t.key,e.target.value),className:"h-10 rounded-[8px]"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-5",children:t.description})]});default:return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsxs)(b,{htmlFor:t.key,className:"text-sm leading-none font-medium",children:[t.required&&(0,r.jsx)("span",{className:"text-red-600",children:"*"}),t.label]}),(0,r.jsx)(f.I,{id:t.key,type:"text",value:String(i),onChange:e=>n(t.key,e.target.value),placeholder:t.default,className:"h-10 rounded-[8px]"}),(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-5",children:t.description})]})}}function A(){let{inputs:e}=(0,u.iN)();return 0===e.length?(0,r.jsx)("div",{className:"text-muted-foreground py-4 text-center",children:"No configuration required. Click deploy to continue."}):(0,r.jsx)("div",{className:"flex flex-col gap-6",children:e.map(e=>(0,r.jsx)(D,{input:e},e.key))})}var L=a(23832);function O(){let{error:e,closeDeployModal:t}=(0,u.iN)();return(0,r.jsxs)("div",{className:"flex flex-col items-center gap-4 py-8",children:[(0,r.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-red-500/10",children:(0,r.jsx)(d.Z,{className:"h-6 w-6 text-red-500"})}),(0,r.jsx)("p",{className:"text-muted-foreground text-center",children:e}),(0,r.jsx)(l.zx,{variant:"outline",onClick:t,children:"Close"})]})}function F(){var e,t,a,n;let{templateData:i,submitDeploy:o,closeDeployModal:s,hasInputs:d}=(0,u.iN)(),c=(null==i?void 0:null===(t=i.templateYaml)||void 0===t?void 0:null===(e=t.spec)||void 0===e?void 0:e.title)||"App",f=null==i?void 0:null===(n=i.templateYaml)||void 0===n?void 0:null===(a=n.spec)||void 0===a?void 0:a.description;return(0,r.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,r.jsxs)("h2",{className:"text-lg leading-none font-semibold text-zinc-300",children:["Configure ",c]}),f&&(0,r.jsx)("p",{className:"text-muted-foreground text-sm leading-5",children:f})]}),d&&(0,r.jsx)("div",{className:"max-h-[400px] overflow-y-auto px-1",children:(0,r.jsx)(A,{})}),(0,r.jsxs)("div",{className:"flex justify-end gap-3",children:[(0,r.jsx)(l.zx,{variant:"secondary",onClick:s,className:"h-10 rounded-full px-4 py-2",style:{border:"1px solid rgba(255, 255, 255, 0.10)"},children:"Cancel"}),(0,r.jsx)(l.zx,{variant:"landing-primary",onClick:o,className:"h-10 cursor-pointer px-4 py-2 text-base",children:"Deploy App"})]})]})}function T(){let{open:e,step:t,closeDeployModal:a}=(0,u.iN)();return(0,r.jsx)(o.Vq,{open:e,onOpenChange:e=>!e&&a(),children:(0,r.jsx)(n.M,{children:e&&(0,r.jsxs)(s.h_,{forceMount:!0,children:[(0,r.jsx)(s.aV,{asChild:!0,children:(0,r.jsx)(i.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"fixed inset-0 z-50 bg-black/80"})}),(0,r.jsx)(s.VY,{asChild:!0,children:(0,r.jsxs)(i.E.div,{initial:{opacity:0,y:-20,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-20,scale:.95},transition:{duration:.3,ease:"easeOut"},className:"inset-shadow-bubble bg-background fixed top-[50%] left-[50%] z-50 w-full max-w-lg translate-x-[-50%] translate-y-[-50%] overflow-hidden rounded-xl border p-0 shadow-lg",children:[(0,r.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10",children:(0,r.jsx)(L.m,{sources:[{x:.46,y:-.15,angle:80,spread:35,count:2,color:"225, 225, 225"},{x:.5,y:-.15,angle:90,spread:35,count:2,color:"225, 225, 225"},{x:.54,y:-.15,angle:100,spread:35,count:2,color:"225, 225, 225"}],speed:.0018,maxWidth:85,minLength:1e3,maxLength:1800,blur:24})}),(0,r.jsx)("button",{onClick:a,className:"focus:ring-ring absolute top-[19px] right-[19px] z-20 rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-none disabled:pointer-events-none","aria-label":"Close",children:(0,r.jsx)(c.Z,{className:"h-4 w-4"})}),(0,r.jsx)("div",{className:"relative z-10 p-6",children:(0,r.jsxs)(n.M,{mode:"wait",children:["form"===t&&(0,r.jsx)(i.E.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},transition:{duration:.2,ease:"easeInOut"},children:(0,r.jsx)(F,{})},"form"),"error"===t&&(0,r.jsx)(i.E.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},children:(0,r.jsx)(O,{})},"error")]})})]})})]})})})}},23832:function(e,t,a){a.d(t,{m:function(){return o}});var r=a(25193),n=a(62310),i=a(26595);function o(e){let{sources:t=[{x:1,y:-.75,angle:225,spread:60,count:32,color:"128, 192, 255",minWidth:40,maxWidth:100}],speed:a=.01,maxWidth:o=128,minLength:s=800,maxLength:l=2e3,blur:d=10,capWidth:c=!0}=e,u=(0,n.useRef)(null),f=(0,n.useRef)([]),p=(0,n.useRef)(),m=(0,n.useRef)({width:0,height:0}),x=(0,i.Y)(u,{margin:"0px 0px 0px 0px",amount:0});return(0,n.useEffect)(()=>{let e=u.current;if(!e)return;let r=e.getContext("2d");if(!r)return;let n=(t,a)=>{e.width=t,e.height=a},i=()=>{let e=window.innerWidth,t=window.innerHeight;m.current={width:e,height:t},n(e,t)};i();let o=e=>e*Math.PI/180,d=()=>{var e,a,n,i,d,u,p;let x=t[Math.floor(Math.random()*t.length)],{width:h,height:g}=m.current,y=h>1440?1440:h>1280?1280:h>1024?1024:h>768?768:h>640?640:h,b=c?(h-y)/2+y*x.x:h,v=g*x.y,w=o(x.angle)+(Math.random()-.5)*o(x.spread),j=s+Math.random()*(l-s),N=Math.sin(w);if(N>0){let e=(.8*g-v)/N;e>0&&(j=Math.min(j,e))}let k=b+Math.cos(w)*j,C=v+Math.sin(w)*j,z=r.createLinearGradient(b,v,k,C),M=(null!==(e=x.minWidth)&&void 0!==e?e:0)+Math.random()*((null!==(a=x.maxWidth)&&void 0!==a?a:100)-(null!==(n=x.minWidth)&&void 0!==n?n:0)),R=x.color||"128, 192, 255",E=1*Math.random();f.current.push({sourceX:b,sourceY:v,targetX:k,targetY:C,width:M,fading:!1,opacity:null!==(i=x.opacityMin)&&void 0!==i?i:0,opacityMin:null!==(d=x.opacityMin)&&void 0!==d?d:0,threshold:(null!==(p=x.opacityMax)&&void 0!==p?p:E>(null!==(u=x.opacityMin)&&void 0!==u?u:0))?E:1,color:R,gradient:z})},h=e=>{e.opacity>=e.threshold&&(e.fading=!0),e.opacity<e.opacityMin&&e.fading&&(e.fading=!1),e.fading?e.opacity-=a:e.opacity+=a},g=e=>{r.beginPath(),r.moveTo(e.sourceX,e.sourceY),r.lineTo(e.sourceX,e.sourceY),r.lineTo(e.targetX,e.targetY),r.closePath(),e.gradient=r.createLinearGradient(e.sourceX,e.sourceY,e.targetX,e.targetY),e.gradient.addColorStop(0,"rgba(".concat(e.color,", ").concat(e.opacity,")")),e.gradient.addColorStop(.5,"transparent"),r.lineWidth=e.width,r.strokeStyle=e.gradient,r.stroke()},y=()=>{let e=t.reduce((e,t)=>e+t.count,0);f.current.length<=e&&d(),f.current.forEach(e=>{h(e),g(e)})},b=()=>{if(!x){p.current=requestAnimationFrame(b);return}r.clearRect(0,0,e.width,e.height),y(),p.current=requestAnimationFrame(b)};b();let v=()=>{i(),f.current=[]};return window.addEventListener("resize",v),()=>{window.removeEventListener("resize",v),p.current&&cancelAnimationFrame(p.current)}},[t,a,o,s,l,x]),(0,r.jsx)("canvas",{ref:u,className:"pointer-events-none absolute -z-10",style:{mixBlendMode:"lighten",filter:"blur(".concat(d,"px)"),top:"-".concat(d,"px"),left:"-".concat(d,"px"),right:"-".concat(d,"px"),bottom:"-".concat(d,"px"),width:"calc(100% + ".concat(2*d,"px)"),height:"calc(100% + ".concat(2*d,"px)"),clipPath:"inset(".concat(d,"px -100vw -100vh -100vw)")},"aria-hidden":"true"})}},32907:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(11693).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},39530:function(e,t,a){a.d(t,{Z:function(){return r}});let r=(0,a(11693).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},26781:function(e,t,a){a.d(t,{WV:function(){return o}});var r=a(62310);a(48818);var n=a(47997),i=a(25193),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let a=(0,n.Z8)(`Primitive.${t}`),o=r.forwardRef((e,r)=>{let{asChild:n,...o}=e,s=n?a:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(s,{...o,ref:r})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{})},92435:function(e,t,a){a.d(t,{D:function(){return n}});var r=a(62310);function n(e){let t=r.useRef({value:e,previous:e});return r.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},24048:function(e,t,a){a.d(t,{C2:function(){return o},fC:function(){return l}});var r=a(62310),n=a(72832),i=a(25193),o=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=r.forwardRef((e,t)=>
1(0,i.jsx)(n.WV.span,{...e,ref:t,style:{...o,...e.style}}));s.displayName="VisuallyHidden";var l=s},26595:function(e,t,a){a.d(t,{Y:function(){return o}});var r=a(62310),n=a(4052);let i={some:0,all:1};function o(e){let{root:t,margin:a,amount:o,once:s=!1,initial:l=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[d,c]=(0,r.useState)(l);return(0,r.useEffect)(()=>{if(!e.current||s&&d)return;let r={root:t&&t.current||void 0,margin:a,amount:o};return function(e,t,{root:a,margin:r,amount:o="some"}={}){let s=(0,n.I)(e),l=new WeakMap,d=new IntersectionObserver(e=>{e.forEach(e=>{let a=l.get(e.target);if(!!a!==e.isIntersecting){if(e.isIntersecting){let a=t(e.target,e);"function"==typeof a?l.set(e.target,a):d.unobserve(e.target)}else"function"==typeof a&&(a(e),l.delete(e.target))}})},{root:a,rootMargin:r,threshold:"number"==typeof o?o:i[o]});return s.forEach(e=>d.observe(e)),()=>d.disconnect()}(e.current,()=>(c(!0),s?void 0:()=>c(!1)),r)},[t,e,a,s,o]),d}}}]);

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.