diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_auth.js b/spinifex/services/spinifexui/frontend/dist/assets/_auth.js index 6183bf2f2..0a987a33c 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_auth.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_auth.js @@ -1 +1 @@ -import{t as e}from"./useQuery.js";import{t}from"./chevron-down.js";import{t as n}from"./chevron-right.js";import{Ba as r,Bn as i,Da as a,Do as o,F as s,J as c,La as l,Ra as u,U as d,Ua as f,V as p,Va as m,co as h,eo as g,et as _,no as v,nt as y,so as b,za as x}from"./index.js";import{t as S}from"./page-heading.js";import{t as C}from"./state-badge.js";import{i as ee,r as w,t as T}from"./admin.js";import{a as E,i as D,n as O,o as te,r as k,t as A}from"./card.js";var j=f(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),M=f(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]),ne=f(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),re=f(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),N=g(),P=o(h(),1),F=b(),I=[{name:`Air-gap Support`,key:`airgap`},{name:`NVIDIA Bluefield DPU`,key:`bluefield`},{name:`NVIDIA MIG Support`,key:`mig`}];function L(e){let t=Math.floor(e/86400),n=Math.floor(e%86400/3600);if(t>0)return`${t}d ${n}h`;let r=Math.floor(e%3600/60);return n>0?`${n}h ${r}m`:`${r}m`}function R(){let r=(0,N.c)(110),{isAdmin:a,version:o,license:s}=i(),[c,l]=(0,P.useState)(!1),d;r[0]===a?d=r[1]:(d={...T,enabled:a},r[0]=a,r[1]=d);let{data:f}=e(d),p;r[2]===a?p=r[3]:(p={...w,enabled:a},r[2]=a,r[3]=p);let{data:m}=e(p);if(!a||!o)return null;let h,g,_,v,y,b,x,S,C,D,O,j,M,L,R,z,B,V,H;if(r[4]!==s||r[5]!==f?.cluster_mode||r[6]!==f?.nodes||r[7]!==o.arch||r[8]!==o.commit||r[9]!==o.os||r[10]!==o.version||r[11]!==m?.vms){v=f?.nodes??[];let e;r[31]===m?.vms?e=r[32]:(e=m?.vms??[],r[31]=m?.vms,r[32]=e);let t=e,n=f?.cluster_mode??`single-node`;_=s===`open-source`;let i=v[0]?.region??null,a=v.reduce(se,0),c=v.reduce(oe,0),l=v.reduce(ae,0),d=v.reduce(ie,0);O=`mb-6 space-y-4`,S=`grid grid-cols-1 gap-4 md:grid-cols-3`;let p;r[33]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsxs)(te,{className:`flex items-center gap-2 text-sm`,children:[(0,F.jsx)(re,{className:`size-3.5`}),`Spinifex Info`]})}),r[33]=p):p=r[33];let w;r[34]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Version`}),r[34]=w):w=r[34];let T;r[35]===o.version?T=r[36]:(T=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[w,(0,F.jsx)(`span`,{className:`font-mono`,children:o.version})]}),r[35]=o.version,r[36]=T);let ne;r[37]===Symbol.for(`react.memo_cache_sentinel`)?(ne=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Commit`}),r[37]=ne):ne=r[37];let N;r[38]===o.commit?N=r[39]:(N=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[ne,(0,F.jsx)(`span`,{className:`font-mono`,children:o.commit})]}),r[38]=o.commit,r[39]=N);let P;r[40]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Platform`}),r[40]=P):P=r[40];let I;r[41]!==o.arch||r[42]!==o.os?(I=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[P,(0,F.jsxs)(`span`,{children:[o.os,`/`,o.arch]})]}),r[41]=o.arch,r[42]=o.os,r[43]=I):I=r[43],C=(0,F.jsxs)(A,{children:[p,(0,F.jsxs)(k,{className:`space-y-1 text-xs`,children:[T,N,I,i&&(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Region`}),(0,F.jsx)(`span`,{children:i})]})]})]});let ce;r[44]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsx)(te,{className:`text-sm`,children:`License & Support`})}),r[44]=ce):ce=r[44];let U;r[45]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`License`}),r[45]=U):U=r[45];let W=_?`secondary`:`default`,G=_?`Open Source (AGPLv3)`:`Commercial`,K;r[46]!==W||r[47]!==G?(K=(0,F.jsxs)(`div`,{className:`flex items-center justify-between`,children:[U,(0,F.jsx)(ee,{variant:W,children:G})]}),r[46]=W,r[47]=G,r[48]=K):K=r[48];let q;r[49]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Support`}),r[49]=q):q=r[49];let J=_?`Community`:`Standard`,Y;r[50]===J?Y=r[51]:(Y=(0,F.jsxs)(`div`,{className:`flex items-center justify-between`,children:[q,(0,F.jsx)(`span`,{children:J})]}),r[50]=J,r[51]=Y);let X;r[52]===_?X=r[53]:(X=_&&(0,F.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:`mt-2 block text-xs font-medium text-primary hover:underline`,children:`Upgrade to Commercial →`}),r[52]=_,r[53]=X),r[54]!==K||r[55]!==Y||r[56]!==X?(D=(0,F.jsxs)(A,{children:[ce,(0,F.jsxs)(k,{className:`space-y-2 text-xs`,children:[K,Y,X]})]}),r[54]=K,r[55]=Y,r[56]=X,r[57]=D):D=r[57],g=A,r[58]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsxs)(te,{className:`flex items-center gap-2 text-sm`,children:[(0,F.jsx)(u,{className:`size-3.5`}),`Cluster Status`]})}),r[58]=x):x=r[58],h=k,B=`space-y-2 text-xs`,r[59]===n?V=r[60]:(V=(0,F.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,F.jsx)(ee,{variant:`outline`,children:n})}),r[59]=n,r[60]=V);let Z;r[61]===Symbol.for(`react.memo_cache_sentinel`)?(Z=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Nodes`}),r[61]=Z):Z=r[61],H=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[Z,(0,F.jsx)(`span`,{children:v.length})]});let Q;r[62]===Symbol.for(`react.memo_cache_sentinel`)?(Q=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`EC2 Instances`}),r[62]=Q):Q=r[62],r[63]===t.length?y=r[64]:(y=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[Q,(0,F.jsx)(`span`,{children:t.length})]}),r[63]=t.length,r[64]=y);let $;r[65]===Symbol.for(`react.memo_cache_sentinel`)?($=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`vCPU`}),r[65]=$):$=r[65],b=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[$,(0,F.jsxs)(`span`,{children:[c,` / `,a]})]}),R=`flex justify-between`,r[66]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Memory`}),r[66]=z):z=r[66],j=d.toFixed(1),M=` / `,L=l.toFixed(1),r[4]=s,r[5]=f?.cluster_mode,r[6]=f?.nodes,r[7]=o.arch,r[8]=o.commit,r[9]=o.os,r[10]=o.version,r[11]=m?.vms,r[12]=h,r[13]=g,r[14]=_,r[15]=v,r[16]=y,r[17]=b,r[18]=x,r[19]=S,r[20]=C,r[21]=D,r[22]=O,r[23]=j,r[24]=M,r[25]=L,r[26]=R,r[27]=z,r[28]=B,r[29]=V,r[30]=H}else h=r[12],g=r[13],_=r[14],v=r[15],y=r[16],b=r[17],x=r[18],S=r[19],C=r[20],D=r[21],O=r[22],j=r[23],M=r[24],L=r[25],R=r[26],z=r[27],B=r[28],V=r[29],H=r[30];let U;r[67]!==j||r[68]!==M||r[69]!==L?(U=(0,F.jsxs)(`span`,{children:[j,M,L,` GB`]}),r[67]=j,r[68]=M,r[69]=L,r[70]=U):U=r[70];let W;r[71]!==U||r[72]!==R||r[73]!==z?(W=(0,F.jsxs)(`div`,{className:R,children:[z,U]}),r[71]=U,r[72]=R,r[73]=z,r[74]=W):W=r[74];let G;r[75]!==h||r[76]!==y||r[77]!==b||r[78]!==W||r[79]!==B||r[80]!==V||r[81]!==H?(G=(0,F.jsxs)(h,{className:B,children:[V,H,y,b,W]}),r[75]=h,r[76]=y,r[77]=b,r[78]=W,r[79]=B,r[80]=V,r[81]=H,r[82]=G):G=r[82];let K;r[83]!==g||r[84]!==x||r[85]!==G?(K=(0,F.jsxs)(g,{children:[x,G]}),r[83]=g,r[84]=x,r[85]=G,r[86]=K):K=r[86];let q;r[87]!==S||r[88]!==C||r[89]!==D||r[90]!==K?(q=(0,F.jsxs)(`div`,{className:S,children:[C,D,K]}),r[87]=S,r[88]=C,r[89]=D,r[90]=K,r[91]=q):q=r[91];let J;r[92]!==v||r[93]!==c?(J=v.length>0&&(0,F.jsxs)(A,{children:[(0,F.jsx)(E,{className:`pb-0`,children:(0,F.jsxs)(`button`,{type:`button`,className:`flex items-center gap-2 text-sm font-medium`,onClick:()=>l(!c),children:[c?(0,F.jsx)(t,{className:`size-3.5`}):(0,F.jsx)(n,{className:`size-3.5`}),`Nodes (`,v.length,`)`]})}),c&&(0,F.jsx)(k,{className:`pt-2`,children:(0,F.jsx)(ce,{nodes:v})})]}),r[92]=v,r[93]=c,r[94]=J):J=r[94];let Y;r[95]===Symbol.for(`react.memo_cache_sentinel`)?(Y=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsx)(te,{className:`text-sm`,children:`Commercial Add-ons`})}),r[95]=Y):Y=r[95];let X;r[96]===_?X=r[97]:(X=I.map(e=>(0,F.jsxs)(`div`,{className:`flex items-center justify-between text-xs`,children:[(0,F.jsx)(`span`,{className:_?`text-muted-foreground`:void 0,children:e.name}),_?(0,F.jsx)(ne,{className:`size-3 text-muted-foreground`}):(0,F.jsx)(ee,{variant:`outline`,className:`text-[0.625rem]`,children:`Active`})]},e.key)),r[96]=_,r[97]=X);let Z;r[98]===X?Z=r[99]:(Z=(0,F.jsx)(`div`,{className:`space-y-2`,children:X}),r[98]=X,r[99]=Z);let Q;r[100]===_?Q=r[101]:(Q=_&&(0,F.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:`mt-3 block text-xs font-medium text-primary hover:underline`,children:`Learn more about commercial features →`}),r[100]=_,r[101]=Q);let $;r[102]!==Z||r[103]!==Q?($=(0,F.jsxs)(A,{children:[Y,(0,F.jsxs)(k,{children:[Z,Q]})]}),r[102]=Z,r[103]=Q,r[104]=$):$=r[104];let le;return r[105]!==O||r[106]!==q||r[107]!==J||r[108]!==$?(le=(0,F.jsxs)(`div`,{className:O,children:[q,J,$]}),r[105]=O,r[106]=q,r[107]=J,r[108]=$,r[109]=le):le=r[109],le}function ie(e,t){return e+t.alloc_mem_gb}function ae(e,t){return e+t.total_mem_gb}function oe(e,t){return e+t.alloc_vcpu}function se(e,t){return e+t.total_vcpu}function ce(e){let t=(0,N.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Roles`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`IP`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Region`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`AZ`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Uptime`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`EC2`}),(0,F.jsx)(`th`,{className:`pb-1 font-medium`,children:`Services`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(z),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,F.jsx)(`div`,{className:`overflow-x-auto`,children:(0,F.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,F.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function z(e){return(0,F.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,F.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,F.jsx)(ee,{variant:e.status===`Ready`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,F.jsxs)(`div`,{className:`flex gap-1`,children:[e.nats_role&&(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[`nats:`,e.nats_role]}),e.predastore_role&&(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[`ps:`,e.predastore_role]})]})}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.region}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.az}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:L(e.uptime)}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vm_count}),(0,F.jsx)(`td`,{className:`py-1.5`,children:(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.services.length})})]},e.node)}var B=5;function V(){let e=(0,N.c)(8),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,F.jsx)(S,{title:`Dashboard`}),n=(0,F.jsx)(R,{}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(K,{})}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)($,{})}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(pe,{})}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(he,{})}),e[5]=o):o=e[5];let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(_e,{})}),e[6]=s):s=e[6];let c;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsxs)(F.Fragment,{children:[t,n,(0,F.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3`,children:[r,i,a,o,s,(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(ye,{})})]})]}),e[7]=c):c=e[7],c}function H(){let e=(0,N.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,F.jsx)(E,{children:(0,F.jsx)(`div`,{className:`h-4 w-32 animate-pulse rounded bg-muted`})}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,F.jsxs)(A,{children:[t,(0,F.jsx)(k,{children:(0,F.jsxs)(`div`,{className:`space-y-2`,children:[(0,F.jsx)(`div`,{className:`h-3 w-48 animate-pulse rounded bg-muted`}),(0,F.jsx)(`div`,{className:`h-3 w-36 animate-pulse rounded bg-muted`})]})})]}),e[1]=n):n=e[1],n}function U(e){let t=(0,N.c)(16),{title:n,icon:r,count:i,to:a,children:o}=e,s;t[0]!==r||t[1]!==n?(s=(0,F.jsxs)(te,{className:`flex items-center gap-2`,children:[r,n]}),t[0]=r,t[1]=n,t[2]=s):s=t[2];let c;t[3]===i?c=t[4]:(c=(0,F.jsx)(O,{children:(0,F.jsx)(`span`,{className:`rounded-md bg-muted px-2 py-0.5 text-xs font-semibold tabular-nums`,children:i})}),t[3]=i,t[4]=c);let l;t[5]!==s||t[6]!==c?(l=(0,F.jsxs)(E,{children:[s,c]}),t[5]=s,t[6]=c,t[7]=l):l=t[7];let u;t[8]===o?u=t[9]:(u=(0,F.jsx)(k,{children:o}),t[8]=o,t[9]=u);let d;t[10]===a?d=t[11]:(d=(0,F.jsx)(D,{children:(0,F.jsx)(v,{to:a,className:`text-xs font-medium text-primary hover:underline`,children:`View all →`})}),t[10]=a,t[11]=d);let f;return t[12]!==l||t[13]!==u||t[14]!==d?(f=(0,F.jsxs)(A,{children:[l,u,d]}),t[12]=l,t[13]=u,t[14]=d,t[15]=f):f=t[15],f}function W(e){let t=(0,N.c)(2),{total:n}=e;if(n<=B)return null;let r=n-B,i;return t[0]===r?i=t[1]:(i=(0,F.jsxs)(`p`,{className:`mt-1 text-[0.625rem] text-muted-foreground`,children:[`+`,r,` more`]}),t[0]=r,t[1]=i),i}function G(e){let t=(0,N.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,F.jsx)(`div`,{className:`flex items-center justify-between py-0.5 text-xs`,children:n}),t[0]=n,t[1]=r),r}function K(){let t=(0,N.c)(16),{data:n}=e(p),r,i,a,o,s;if(t[0]!==n?.Reservations){let e=n?.Reservations?.flatMap(Q)??[];r=e.filter(Z),a=e.filter(X),o=e.filter(Y),i=e.filter(J),s=[...a,...i].slice(0,B),t[0]=n?.Reservations,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s}else r=t[1],i=t[2],a=t[3],o=t[4],s=t[5];let c=s,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(m,{className:`size-3.5`}),t[6]=l):l=t[6];let u;t[7]!==r.length||t[8]!==c||t[9]!==i||t[10]!==a||t[11]!==o?(u=r.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances`}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`mb-2 flex gap-3 text-[0.625rem] text-muted-foreground`,children:[(0,F.jsxs)(`span`,{children:[a.length,` running`]}),(0,F.jsxs)(`span`,{children:[o.length,` stopped`]})]}),(0,F.jsx)(`div`,{className:`space-y-0.5`,children:c.map(q)}),(0,F.jsx)(W,{total:a.length+i.length})]}),t[7]=r.length,t[8]=c,t[9]=i,t[10]=a,t[11]=o,t[12]=u):u=t[12];let d;return t[13]!==r.length||t[14]!==u?(d=(0,F.jsx)(U,{title:`Instances`,icon:l,count:r.length,to:`/ec2/describe-instances`,children:u}),t[13]=r.length,t[14]=u,t[15]=d):d=t[15],d}function q(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.InstanceId}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.InstanceType})]},e.InstanceId)}function J(e){return e.State?.Name===`pending`}function Y(e){return e.State?.Name===`stopped`}function X(e){return e.State?.Name===`running`}function Z(e){return e.State?.Name!==`terminated`}function Q(e){return e.Instances??[]}function $(){let t=(0,N.c)(3),{data:n}=e(_),r;if(t[0]!==n?.Volumes){let e=n?.Volumes??[],i=e.reduce(fe,0),a=e.filter(de),o=e.filter(ue),s=e.slice(0,B),c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsx)(j,{className:`size-3.5`}),t[2]=c):c=t[2],r=(0,F.jsx)(U,{title:`Volumes`,icon:c,count:e.length,to:`/ec2/describe-volumes`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No volumes`}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`mb-2 flex gap-3 text-[0.625rem] text-muted-foreground`,children:[(0,F.jsxs)(`span`,{children:[i,` GiB total`]}),(0,F.jsxs)(`span`,{children:[a.length,` in-use`]}),(0,F.jsxs)(`span`,{children:[o.length,` available`]})]}),(0,F.jsx)(`div`,{className:`space-y-0.5`,children:s.map(le)}),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Volumes,t[1]=r}else r=t[1];return r}function le(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.VolumeId}),(0,F.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[e.Size,` GiB`]}),(0,F.jsx)(C,{state:e.State})]})]},e.VolumeId)}function ue(e){return e.State===`available`}function de(e){return e.State===`in-use`}function fe(e,t){return e+(t.Size??0)}function pe(){let t=(0,N.c)(3),{data:n}=e(y),r;if(t[0]!==n?.Vpcs){let e=n?.Vpcs??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(x,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`VPCs`,icon:a,count:e.length,to:`/ec2/describe-vpcs`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No VPCs`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(me),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Vpcs,t[1]=r}else r=t[1];return r}function me(e){let t=a(e.Tags);return(0,F.jsxs)(G,{children:[(0,F.jsxs)(`span`,{className:`font-mono`,children:[e.VpcId,t&&(0,F.jsxs)(`span`,{className:`ml-1 font-sans text-muted-foreground`,children:[`(`,t,`)`]})]}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.CidrBlock})]},e.VpcId)}function he(){let t=(0,N.c)(3),{data:n}=e(d),i;if(t[0]!==n?.KeyPairs){let e=n?.KeyPairs??[],a=e.slice(0,B),o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,F.jsx)(r,{className:`size-3.5`}),t[2]=o):o=t[2],i=(0,F.jsx)(U,{title:`Key Pairs`,icon:o,count:e.length,to:`/ec2/describe-key-pairs`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No key pairs`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[a.map(ge),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.KeyPairs,t[1]=i}else i=t[1];return i}function ge(e){return(0,F.jsx)(G,{children:(0,F.jsx)(`span`,{className:`font-mono`,children:e.KeyName})},e.KeyPairId)}function _e(){let t=(0,N.c)(3),{data:n}=e(s),r;if(t[0]!==n?.Buckets){let e=n?.Buckets??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(M,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`S3 Buckets`,icon:a,count:e.length,to:`/s3/ls`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No buckets`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(ve),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Buckets,t[1]=r}else r=t[1];return r}function ve(e){return(0,F.jsx)(G,{children:(0,F.jsx)(`span`,{className:`font-mono`,children:e.Name})},e.Name)}function ye(){let t=(0,N.c)(3),{data:n}=e(c),r;if(t[0]!==n?.SecurityGroups){let e=n?.SecurityGroups??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(l,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`Security Groups`,icon:a,count:e.length,to:`/ec2/describe-security-groups`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No security groups`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(be),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.SecurityGroups,t[1]=r}else r=t[1];return r}function be(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.GroupName}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.VpcId})]},e.GroupId)}export{V as component}; \ No newline at end of file +import{t as e}from"./useQuery.js";import{t}from"./chevron-down.js";import{t as n}from"./chevron-right.js";import{Ba as r,Bn as i,Da as a,Do as o,F as s,J as c,La as l,Ra as u,U as d,Ua as f,V as p,Va as m,co as h,eo as g,et as _,no as v,nt as y,so as b,za as x}from"./index.js";import{t as S}from"./page-heading.js";import{t as C}from"./state-badge.js";import{i as ee,r as w,t as T}from"./admin.js";import{a as E,i as D,n as O,o as te,r as k,t as A}from"./card.js";var j=f(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),M=f(`folder-open`,[[`path`,{d:`m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2`,key:`usdka0`}]]),ne=f(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),re=f(`monitor`,[[`rect`,{width:`20`,height:`14`,x:`2`,y:`3`,rx:`2`,key:`48i651`}],[`line`,{x1:`8`,x2:`16`,y1:`21`,y2:`21`,key:`1svkeh`}],[`line`,{x1:`12`,x2:`12`,y1:`17`,y2:`21`,key:`vw1qmm`}]]),N=g(),P=o(h(),1),F=b(),I=[{name:`Air-gap Support`,key:`airgap`},{name:`NVIDIA Bluefield DPU`,key:`bluefield`},{name:`NVIDIA MIG Support`,key:`mig`}];function L(e){let t=Math.floor(e/86400),n=Math.floor(e%86400/3600);if(t>0)return`${t}d ${n}h`;let r=Math.floor(e%3600/60);return n>0?`${n}h ${r}m`:`${r}m`}function R(){let r=(0,N.c)(110),{isAdmin:a,version:o,license:s}=i(),[c,l]=(0,P.useState)(!1),d;r[0]===a?d=r[1]:(d={...T,enabled:a},r[0]=a,r[1]=d);let{data:f}=e(d),p;r[2]===a?p=r[3]:(p={...w,enabled:a},r[2]=a,r[3]=p);let{data:m}=e(p);if(!a||!o)return null;let h,g,_,v,y,b,x,S,C,D,O,j,M,L,R,z,B,V,H;if(r[4]!==s||r[5]!==f?.cluster_mode||r[6]!==f?.nodes||r[7]!==o.arch||r[8]!==o.commit||r[9]!==o.os||r[10]!==o.version||r[11]!==m?.vms){v=f?.nodes??[];let e;r[31]===m?.vms?e=r[32]:(e=m?.vms??[],r[31]=m?.vms,r[32]=e);let t=e,n=f?.cluster_mode??`single-node`;_=s===`open-source`;let i=v[0]?.region??null,a=v.reduce(se,0),c=v.reduce(oe,0),l=v.reduce(ae,0),d=v.reduce(ie,0);O=`mb-6 space-y-4`,S=`grid grid-cols-1 gap-4 md:grid-cols-3`;let p;r[33]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsxs)(te,{className:`flex items-center gap-2 text-sm`,children:[(0,F.jsx)(re,{className:`size-3.5`}),`Spinifex Info`]})}),r[33]=p):p=r[33];let w;r[34]===Symbol.for(`react.memo_cache_sentinel`)?(w=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Version`}),r[34]=w):w=r[34];let T;r[35]===o.version?T=r[36]:(T=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[w,(0,F.jsx)(`span`,{className:`font-mono`,children:o.version})]}),r[35]=o.version,r[36]=T);let ne;r[37]===Symbol.for(`react.memo_cache_sentinel`)?(ne=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Commit`}),r[37]=ne):ne=r[37];let N;r[38]===o.commit?N=r[39]:(N=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[ne,(0,F.jsx)(`span`,{className:`font-mono`,children:o.commit})]}),r[38]=o.commit,r[39]=N);let P;r[40]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Platform`}),r[40]=P):P=r[40];let I;r[41]!==o.arch||r[42]!==o.os?(I=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[P,(0,F.jsxs)(`span`,{children:[o.os,`/`,o.arch]})]}),r[41]=o.arch,r[42]=o.os,r[43]=I):I=r[43],C=(0,F.jsxs)(A,{children:[p,(0,F.jsxs)(k,{className:`space-y-1 text-xs`,children:[T,N,I,i&&(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Region`}),(0,F.jsx)(`span`,{children:i})]})]})]});let ce;r[44]===Symbol.for(`react.memo_cache_sentinel`)?(ce=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsx)(te,{className:`text-sm`,children:`License & Support`})}),r[44]=ce):ce=r[44];let U;r[45]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`License`}),r[45]=U):U=r[45];let W=_?`secondary`:`default`,G=_?`Open Source (AGPLv3)`:`Commercial`,K;r[46]!==W||r[47]!==G?(K=(0,F.jsxs)(`div`,{className:`flex items-center justify-between`,children:[U,(0,F.jsx)(ee,{variant:W,children:G})]}),r[46]=W,r[47]=G,r[48]=K):K=r[48];let q;r[49]===Symbol.for(`react.memo_cache_sentinel`)?(q=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Support`}),r[49]=q):q=r[49];let J=_?`Community`:`Standard`,Y;r[50]===J?Y=r[51]:(Y=(0,F.jsxs)(`div`,{className:`flex items-center justify-between`,children:[q,(0,F.jsx)(`span`,{children:J})]}),r[50]=J,r[51]=Y);let X;r[52]===_?X=r[53]:(X=_&&(0,F.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:`mt-2 block text-xs font-medium text-primary hover:underline`,children:`Upgrade to Commercial →`}),r[52]=_,r[53]=X),r[54]!==K||r[55]!==Y||r[56]!==X?(D=(0,F.jsxs)(A,{children:[ce,(0,F.jsxs)(k,{className:`space-y-2 text-xs`,children:[K,Y,X]})]}),r[54]=K,r[55]=Y,r[56]=X,r[57]=D):D=r[57],g=A,r[58]===Symbol.for(`react.memo_cache_sentinel`)?(x=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsxs)(te,{className:`flex items-center gap-2 text-sm`,children:[(0,F.jsx)(u,{className:`size-3.5`}),`Cluster Status`]})}),r[58]=x):x=r[58],h=k,B=`space-y-2 text-xs`,r[59]===n?V=r[60]:(V=(0,F.jsx)(`div`,{className:`flex items-center gap-2`,children:(0,F.jsx)(ee,{variant:`outline`,children:n})}),r[59]=n,r[60]=V);let Z;r[61]===Symbol.for(`react.memo_cache_sentinel`)?(Z=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Nodes`}),r[61]=Z):Z=r[61],H=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[Z,(0,F.jsx)(`span`,{children:v.length})]});let Q;r[62]===Symbol.for(`react.memo_cache_sentinel`)?(Q=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Instances`}),r[62]=Q):Q=r[62],r[63]===t.length?y=r[64]:(y=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[Q,(0,F.jsx)(`span`,{children:t.length})]}),r[63]=t.length,r[64]=y);let $;r[65]===Symbol.for(`react.memo_cache_sentinel`)?($=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`vCPU`}),r[65]=$):$=r[65],b=(0,F.jsxs)(`div`,{className:`flex justify-between`,children:[$,(0,F.jsxs)(`span`,{children:[c,` / `,a]})]}),R=`flex justify-between`,r[66]===Symbol.for(`react.memo_cache_sentinel`)?(z=(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:`Memory`}),r[66]=z):z=r[66],j=d.toFixed(1),M=` / `,L=l.toFixed(1),r[4]=s,r[5]=f?.cluster_mode,r[6]=f?.nodes,r[7]=o.arch,r[8]=o.commit,r[9]=o.os,r[10]=o.version,r[11]=m?.vms,r[12]=h,r[13]=g,r[14]=_,r[15]=v,r[16]=y,r[17]=b,r[18]=x,r[19]=S,r[20]=C,r[21]=D,r[22]=O,r[23]=j,r[24]=M,r[25]=L,r[26]=R,r[27]=z,r[28]=B,r[29]=V,r[30]=H}else h=r[12],g=r[13],_=r[14],v=r[15],y=r[16],b=r[17],x=r[18],S=r[19],C=r[20],D=r[21],O=r[22],j=r[23],M=r[24],L=r[25],R=r[26],z=r[27],B=r[28],V=r[29],H=r[30];let U;r[67]!==j||r[68]!==M||r[69]!==L?(U=(0,F.jsxs)(`span`,{children:[j,M,L,` GB`]}),r[67]=j,r[68]=M,r[69]=L,r[70]=U):U=r[70];let W;r[71]!==U||r[72]!==R||r[73]!==z?(W=(0,F.jsxs)(`div`,{className:R,children:[z,U]}),r[71]=U,r[72]=R,r[73]=z,r[74]=W):W=r[74];let G;r[75]!==h||r[76]!==y||r[77]!==b||r[78]!==W||r[79]!==B||r[80]!==V||r[81]!==H?(G=(0,F.jsxs)(h,{className:B,children:[V,H,y,b,W]}),r[75]=h,r[76]=y,r[77]=b,r[78]=W,r[79]=B,r[80]=V,r[81]=H,r[82]=G):G=r[82];let K;r[83]!==g||r[84]!==x||r[85]!==G?(K=(0,F.jsxs)(g,{children:[x,G]}),r[83]=g,r[84]=x,r[85]=G,r[86]=K):K=r[86];let q;r[87]!==S||r[88]!==C||r[89]!==D||r[90]!==K?(q=(0,F.jsxs)(`div`,{className:S,children:[C,D,K]}),r[87]=S,r[88]=C,r[89]=D,r[90]=K,r[91]=q):q=r[91];let J;r[92]!==v||r[93]!==c?(J=v.length>0&&(0,F.jsxs)(A,{children:[(0,F.jsx)(E,{className:`pb-0`,children:(0,F.jsxs)(`button`,{type:`button`,className:`flex items-center gap-2 text-sm font-medium`,onClick:()=>l(!c),children:[c?(0,F.jsx)(t,{className:`size-3.5`}):(0,F.jsx)(n,{className:`size-3.5`}),`Nodes (`,v.length,`)`]})}),c&&(0,F.jsx)(k,{className:`pt-2`,children:(0,F.jsx)(ce,{nodes:v})})]}),r[92]=v,r[93]=c,r[94]=J):J=r[94];let Y;r[95]===Symbol.for(`react.memo_cache_sentinel`)?(Y=(0,F.jsx)(E,{className:`pb-2`,children:(0,F.jsx)(te,{className:`text-sm`,children:`Commercial Add-ons`})}),r[95]=Y):Y=r[95];let X;r[96]===_?X=r[97]:(X=I.map(e=>(0,F.jsxs)(`div`,{className:`flex items-center justify-between text-xs`,children:[(0,F.jsx)(`span`,{className:_?`text-muted-foreground`:void 0,children:e.name}),_?(0,F.jsx)(ne,{className:`size-3 text-muted-foreground`}):(0,F.jsx)(ee,{variant:`outline`,className:`text-[0.625rem]`,children:`Active`})]},e.key)),r[96]=_,r[97]=X);let Z;r[98]===X?Z=r[99]:(Z=(0,F.jsx)(`div`,{className:`space-y-2`,children:X}),r[98]=X,r[99]=Z);let Q;r[100]===_?Q=r[101]:(Q=_&&(0,F.jsx)(`a`,{href:`https://mulgadc.com/purchase`,target:`_blank`,rel:`noopener noreferrer`,className:`mt-3 block text-xs font-medium text-primary hover:underline`,children:`Learn more about commercial features →`}),r[100]=_,r[101]=Q);let $;r[102]!==Z||r[103]!==Q?($=(0,F.jsxs)(A,{children:[Y,(0,F.jsxs)(k,{children:[Z,Q]})]}),r[102]=Z,r[103]=Q,r[104]=$):$=r[104];let le;return r[105]!==O||r[106]!==q||r[107]!==J||r[108]!==$?(le=(0,F.jsxs)(`div`,{className:O,children:[q,J,$]}),r[105]=O,r[106]=q,r[107]=J,r[108]=$,r[109]=le):le=r[109],le}function ie(e,t){return e+t.alloc_mem_gb}function ae(e,t){return e+t.total_mem_gb}function oe(e,t){return e+t.alloc_vcpu}function se(e,t){return e+t.total_vcpu}function ce(e){let t=(0,N.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,F.jsx)(`thead`,{children:(0,F.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Roles`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`IP`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Region`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`AZ`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Uptime`}),(0,F.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`EC2`}),(0,F.jsx)(`th`,{className:`pb-1 font-medium`,children:`Services`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(z),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,F.jsx)(`div`,{className:`overflow-x-auto`,children:(0,F.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,F.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function z(e){return(0,F.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,F.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,F.jsx)(ee,{variant:e.status===`Ready`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,F.jsxs)(`div`,{className:`flex gap-1`,children:[e.nats_role&&(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[`nats:`,e.nats_role]}),e.predastore_role&&(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[`ps:`,e.predastore_role]})]})}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.region}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.az}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:L(e.uptime)}),(0,F.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vm_count}),(0,F.jsx)(`td`,{className:`py-1.5`,children:(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.services.length})})]},e.node)}var B=5;function V(){let e=(0,N.c)(8),t,n;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,F.jsx)(S,{title:`Dashboard`}),n=(0,F.jsx)(R,{}),e[0]=t,e[1]=n):(t=e[0],n=e[1]);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(K,{})}),e[2]=r):r=e[2];let i;e[3]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)($,{})}),e[3]=i):i=e[3];let a;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(pe,{})}),e[4]=a):a=e[4];let o;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(he,{})}),e[5]=o):o=e[5];let s;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(_e,{})}),e[6]=s):s=e[6];let c;return e[7]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsxs)(F.Fragment,{children:[t,n,(0,F.jsxs)(`div`,{className:`grid grid-cols-1 gap-4 md:grid-cols-2 xl:grid-cols-3`,children:[r,i,a,o,s,(0,F.jsx)(P.Suspense,{fallback:(0,F.jsx)(H,{}),children:(0,F.jsx)(ye,{})})]})]}),e[7]=c):c=e[7],c}function H(){let e=(0,N.c)(2),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,F.jsx)(E,{children:(0,F.jsx)(`div`,{className:`h-4 w-32 animate-pulse rounded bg-muted`})}),e[0]=t):t=e[0];let n;return e[1]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,F.jsxs)(A,{children:[t,(0,F.jsx)(k,{children:(0,F.jsxs)(`div`,{className:`space-y-2`,children:[(0,F.jsx)(`div`,{className:`h-3 w-48 animate-pulse rounded bg-muted`}),(0,F.jsx)(`div`,{className:`h-3 w-36 animate-pulse rounded bg-muted`})]})})]}),e[1]=n):n=e[1],n}function U(e){let t=(0,N.c)(16),{title:n,icon:r,count:i,to:a,children:o}=e,s;t[0]!==r||t[1]!==n?(s=(0,F.jsxs)(te,{className:`flex items-center gap-2`,children:[r,n]}),t[0]=r,t[1]=n,t[2]=s):s=t[2];let c;t[3]===i?c=t[4]:(c=(0,F.jsx)(O,{children:(0,F.jsx)(`span`,{className:`rounded-md bg-muted px-2 py-0.5 text-xs font-semibold tabular-nums`,children:i})}),t[3]=i,t[4]=c);let l;t[5]!==s||t[6]!==c?(l=(0,F.jsxs)(E,{children:[s,c]}),t[5]=s,t[6]=c,t[7]=l):l=t[7];let u;t[8]===o?u=t[9]:(u=(0,F.jsx)(k,{children:o}),t[8]=o,t[9]=u);let d;t[10]===a?d=t[11]:(d=(0,F.jsx)(D,{children:(0,F.jsx)(v,{to:a,className:`text-xs font-medium text-primary hover:underline`,children:`View all →`})}),t[10]=a,t[11]=d);let f;return t[12]!==l||t[13]!==u||t[14]!==d?(f=(0,F.jsxs)(A,{children:[l,u,d]}),t[12]=l,t[13]=u,t[14]=d,t[15]=f):f=t[15],f}function W(e){let t=(0,N.c)(2),{total:n}=e;if(n<=B)return null;let r=n-B,i;return t[0]===r?i=t[1]:(i=(0,F.jsxs)(`p`,{className:`mt-1 text-[0.625rem] text-muted-foreground`,children:[`+`,r,` more`]}),t[0]=r,t[1]=i),i}function G(e){let t=(0,N.c)(2),{children:n}=e,r;return t[0]===n?r=t[1]:(r=(0,F.jsx)(`div`,{className:`flex items-center justify-between py-0.5 text-xs`,children:n}),t[0]=n,t[1]=r),r}function K(){let t=(0,N.c)(16),{data:n}=e(p),r,i,a,o,s;if(t[0]!==n?.Reservations){let e=n?.Reservations?.flatMap(Q)??[];r=e.filter(Z),a=e.filter(X),o=e.filter(Y),i=e.filter(J),s=[...a,...i].slice(0,B),t[0]=n?.Reservations,t[1]=r,t[2]=i,t[3]=a,t[4]=o,t[5]=s}else r=t[1],i=t[2],a=t[3],o=t[4],s=t[5];let c=s,l;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(m,{className:`size-3.5`}),t[6]=l):l=t[6];let u;t[7]!==r.length||t[8]!==c||t[9]!==i||t[10]!==a||t[11]!==o?(u=r.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances`}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`mb-2 flex gap-3 text-[0.625rem] text-muted-foreground`,children:[(0,F.jsxs)(`span`,{children:[a.length,` running`]}),(0,F.jsxs)(`span`,{children:[o.length,` stopped`]})]}),(0,F.jsx)(`div`,{className:`space-y-0.5`,children:c.map(q)}),(0,F.jsx)(W,{total:a.length+i.length})]}),t[7]=r.length,t[8]=c,t[9]=i,t[10]=a,t[11]=o,t[12]=u):u=t[12];let d;return t[13]!==r.length||t[14]!==u?(d=(0,F.jsx)(U,{title:`Instances`,icon:l,count:r.length,to:`/ec2/describe-instances`,children:u}),t[13]=r.length,t[14]=u,t[15]=d):d=t[15],d}function q(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.InstanceId}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.InstanceType})]},e.InstanceId)}function J(e){return e.State?.Name===`pending`}function Y(e){return e.State?.Name===`stopped`}function X(e){return e.State?.Name===`running`}function Z(e){return e.State?.Name!==`terminated`}function Q(e){return e.Instances??[]}function $(){let t=(0,N.c)(3),{data:n}=e(_),r;if(t[0]!==n?.Volumes){let e=n?.Volumes??[],i=e.reduce(fe,0),a=e.filter(de),o=e.filter(ue),s=e.slice(0,B),c;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsx)(j,{className:`size-3.5`}),t[2]=c):c=t[2],r=(0,F.jsx)(U,{title:`Volumes`,icon:c,count:e.length,to:`/ec2/describe-volumes`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No volumes`}):(0,F.jsxs)(F.Fragment,{children:[(0,F.jsxs)(`div`,{className:`mb-2 flex gap-3 text-[0.625rem] text-muted-foreground`,children:[(0,F.jsxs)(`span`,{children:[i,` GiB total`]}),(0,F.jsxs)(`span`,{children:[a.length,` in-use`]}),(0,F.jsxs)(`span`,{children:[o.length,` available`]})]}),(0,F.jsx)(`div`,{className:`space-y-0.5`,children:s.map(le)}),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Volumes,t[1]=r}else r=t[1];return r}function le(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.VolumeId}),(0,F.jsxs)(`span`,{className:`flex items-center gap-2`,children:[(0,F.jsxs)(`span`,{className:`text-muted-foreground`,children:[e.Size,` GiB`]}),(0,F.jsx)(C,{state:e.State})]})]},e.VolumeId)}function ue(e){return e.State===`available`}function de(e){return e.State===`in-use`}function fe(e,t){return e+(t.Size??0)}function pe(){let t=(0,N.c)(3),{data:n}=e(y),r;if(t[0]!==n?.Vpcs){let e=n?.Vpcs??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(x,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`VPCs`,icon:a,count:e.length,to:`/ec2/describe-vpcs`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No VPCs`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(me),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Vpcs,t[1]=r}else r=t[1];return r}function me(e){let t=a(e.Tags);return(0,F.jsxs)(G,{children:[(0,F.jsxs)(`span`,{className:`font-mono`,children:[e.VpcId,t&&(0,F.jsxs)(`span`,{className:`ml-1 font-sans text-muted-foreground`,children:[`(`,t,`)`]})]}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.CidrBlock})]},e.VpcId)}function he(){let t=(0,N.c)(3),{data:n}=e(d),i;if(t[0]!==n?.KeyPairs){let e=n?.KeyPairs??[],a=e.slice(0,B),o;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(o=(0,F.jsx)(r,{className:`size-3.5`}),t[2]=o):o=t[2],i=(0,F.jsx)(U,{title:`Key Pairs`,icon:o,count:e.length,to:`/ec2/describe-key-pairs`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No key pairs`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[a.map(ge),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.KeyPairs,t[1]=i}else i=t[1];return i}function ge(e){return(0,F.jsx)(G,{children:(0,F.jsx)(`span`,{className:`font-mono`,children:e.KeyName})},e.KeyPairId)}function _e(){let t=(0,N.c)(3),{data:n}=e(s),r;if(t[0]!==n?.Buckets){let e=n?.Buckets??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(M,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`S3 Buckets`,icon:a,count:e.length,to:`/s3/ls`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No buckets`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(ve),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.Buckets,t[1]=r}else r=t[1];return r}function ve(e){return(0,F.jsx)(G,{children:(0,F.jsx)(`span`,{className:`font-mono`,children:e.Name})},e.Name)}function ye(){let t=(0,N.c)(3),{data:n}=e(c),r;if(t[0]!==n?.SecurityGroups){let e=n?.SecurityGroups??[],i=e.slice(0,B),a;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,F.jsx)(l,{className:`size-3.5`}),t[2]=a):a=t[2],r=(0,F.jsx)(U,{title:`Security Groups`,icon:a,count:e.length,to:`/ec2/describe-security-groups`,children:e.length===0?(0,F.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No security groups`}):(0,F.jsxs)(`div`,{className:`space-y-0.5`,children:[i.map(be),(0,F.jsx)(W,{total:e.length})]})}),t[0]=n?.SecurityGroups,t[1]=r}else r=t[1];return r}function be(e){return(0,F.jsxs)(G,{children:[(0,F.jsx)(`span`,{className:`font-mono`,children:e.GroupName}),(0,F.jsx)(`span`,{className:`text-muted-foreground`,children:e.VpcId})]},e.GroupId)}export{V as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id.js b/spinifex/services/spinifexui/frontend/dist/assets/_id.js index 550f74c3d..c64194c71 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{t}from"./back-link.js";import{L as n,eo as r,so as i,t as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./system-managed.js";import{t as l}from"./ami-details.js";var u=r(),d=i();function f(){let r=(0,u.c)(14),{id:i}=a.useParams(),f;r[0]===i?f=r[1]:(f=n(i),r[0]=i,r[1]=f);let{data:p}=e(f),m=p?.Images?.[0];if(!m?.ImageId||c(m)){let e;return r[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t,{to:`/ec2/describe-images`,children:`Back to images`}),(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`Image not found.`})]}),r[2]=e):e=r[2],e}let h;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(t,{to:`/ec2/describe-images`,children:`Back to images`}),r[3]=h):h=r[3];let g;r[4]===m.State?g=r[5]:(g=(0,d.jsx)(s,{state:m.State}),r[4]=m.State,r[5]=g);let _;r[6]!==m.ImageId||r[7]!==g?(_=(0,d.jsx)(o,{actions:g,subtitle:`EC2 Image Details`,title:m.ImageId}),r[6]=m.ImageId,r[7]=g,r[8]=_):_=r[8];let v;r[9]===m?v=r[10]:(v=(0,d.jsx)(l,{image:m,showExtendedDetails:!0}),r[9]=m,r[10]=v);let y;return r[11]!==_||r[12]!==v?(y=(0,d.jsxs)(d.Fragment,{children:[h,(0,d.jsxs)(`div`,{className:`space-y-6`,children:[_,v]})]}),r[11]=_,r[12]=v,r[13]=y):y=r[13],y}export{f as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{t}from"./back-link.js";import{L as n,eo as r,so as i,t as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./system-managed.js";import{t as l}from"./ami-details.js";var u=r(),d=i();function f(){let r=(0,u.c)(14),{id:i}=a.useParams(),f;r[0]===i?f=r[1]:(f=n(i),r[0]=i,r[1]=f);let{data:p}=e(f),m=p?.Images?.[0];if(!m?.ImageId||c(m)){let e;return r[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(t,{to:`/ec2/describe-images`,children:`Back to images`}),(0,d.jsx)(`p`,{className:`text-muted-foreground`,children:`Image not found.`})]}),r[2]=e):e=r[2],e}let h;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,d.jsx)(t,{to:`/ec2/describe-images`,children:`Back to images`}),r[3]=h):h=r[3];let g;r[4]===m.State?g=r[5]:(g=(0,d.jsx)(s,{state:m.State}),r[4]=m.State,r[5]=g);let _;r[6]!==m.ImageId||r[7]!==g?(_=(0,d.jsx)(o,{actions:g,subtitle:`Image Details`,title:m.ImageId}),r[6]=m.ImageId,r[7]=g,r[8]=_):_=r[8];let v;r[9]===m?v=r[10]:(v=(0,d.jsx)(l,{image:m,showExtendedDetails:!0}),r[9]=m,r[10]=v);let y;return r[11]!==_||r[12]!==v?(y=(0,d.jsxs)(d.Fragment,{children:[h,(0,d.jsxs)(`div`,{className:`space-y-6`,children:[_,v]})]}),r[11]=_,r[12]=v,r[13]=y):y=r[13],y}export{f as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id10.js b/spinifex/services/spinifexui/frontend/dist/assets/_id10.js index 8def2439c..9ca1a8f43 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id10.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id10.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as ee}from"./select.js";import{t as s}from"./trash-2.js";import{S as c,b as l,t as te}from"./ec2.js";import{$ as u,Da as d,Do as f,Ha as p,Ta as m,Ua as h,V as g,ba as _,co as v,no as y,ro as ne,so as b,u as x,ya as S,yi as re}from"./index.js";import{t as ie}from"./page-heading.js";import{t as ae}from"./state-badge.js";import{n as C,t as w}from"./detail-row.js";import{a as T,i as E,l as D,n as O,o as k,r as A,s as j,t as M}from"./alert-dialog.js";import{a as N,t as P}from"./field.js";import{t as F}from"./delete-confirmation-dialog.js";var I=h(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),L=h(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),R=f(v()),z=b();function B(){let{id:f}=x.useParams(),h=ne(),{data:v}=t(u(f)),{data:b}=t(g),B=v.Volumes?.[0],V=l(),H=te(),U=c(),[W,G]=(0,R.useState)(null),[K,q]=(0,R.useState)(``),[J,Y]=(0,R.useState)(``),[X,Z]=(0,R.useState)(!1),oe=b.Reservations?.flatMap(e=>e.Instances?.filter(e=>e.State?.Name===`running`)??[])??[],Q=B?.State===`available`&&(!B.Attachments||B.Attachments.length===0),$=()=>G(null);return B?.VolumeId?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(n,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),V.error&&(0,z.jsx)(e,{error:V.error,msg:`Failed to delete volume`}),H.error&&(0,z.jsx)(e,{error:H.error,msg:`Failed to attach volume`}),U.error&&(0,z.jsx)(e,{error:U.error,msg:`Failed to detach volume`}),(0,z.jsxs)(`div`,{className:`space-y-6`,children:[(0,z.jsx)(ie,{actions:(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsxs)(S,{disabled:!Q,onClick:()=>G(`delete`),size:`sm`,variant:`destructive`,children:[(0,z.jsx)(s,{className:`size-4`}),`Delete`]}),Q?(0,z.jsx)(y,{className:_({variant:`outline`}),params:{id:B.VolumeId},to:`/ec2/modify-volume/$id`,children:`Resize Volume`}):(0,z.jsx)(S,{disabled:!0,variant:`outline`,children:`Resize Volume`}),Q?(0,z.jsxs)(S,{onClick:()=>G(`attach`),size:`sm`,variant:`outline`,children:[(0,z.jsx)(L,{className:`size-4`}),`Attach`]}):null,B.Attachments&&B.Attachments.length>0?(0,z.jsxs)(S,{onClick:()=>G(`detach`),size:`sm`,variant:`outline`,children:[(0,z.jsx)(I,{className:`size-4`}),`Detach`]}):null,(0,z.jsxs)(y,{className:_({variant:`outline`,size:`sm`}),search:{volumeId:B.VolumeId},to:`/ec2/create-snapshot`,children:[(0,z.jsx)(p,{className:`size-4`}),`Create Snapshot`]}),(0,z.jsx)(ae,{state:B.State})]}),subtitle:`EC2 Volume Details`,title:B.VolumeId}),(0,z.jsxs)(C,{children:[(0,z.jsx)(C.Header,{children:`Volume Information`}),(0,z.jsxs)(C.Content,{children:[(0,z.jsx)(w,{label:`Volume ID`,value:B.VolumeId}),(0,z.jsx)(w,{label:`Size`,value:`${B.Size} GiB`}),(0,z.jsx)(w,{label:`Volume Type`,value:B.VolumeType}),(0,z.jsx)(w,{label:`State`,value:B.State}),(0,z.jsx)(w,{label:`Availability Zone`,value:B.AvailabilityZone}),(0,z.jsx)(w,{label:`Create Time`,value:m(B.CreateTime)}),(0,z.jsx)(w,{label:`Encrypted`,value:B.Encrypted?`Yes`:`No`}),(0,z.jsx)(w,{label:`KMS Key ID`,value:B.KmsKeyId})]})]}),B.Attachments&&B.Attachments.length>0&&(0,z.jsxs)(C,{children:[(0,z.jsx)(C.Header,{children:`Attachments`}),B.Attachments.map(e=>(0,z.jsxs)(C.Content,{children:[(0,z.jsx)(w,{label:`Instance ID`,value:e.InstanceId?(0,z.jsx)(y,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,z.jsx)(w,{label:`Device`,value:e.Device}),(0,z.jsx)(w,{label:`Status`,value:e.State}),(0,z.jsx)(w,{label:`Attach Time`,value:m(e.AttachTime)}),(0,z.jsx)(w,{label:`Delete on Termination`,value:e.DeleteOnTermination?`Yes`:`No`})]},e.InstanceId))]})]}),(0,z.jsx)(F,{description:`Are you sure you want to delete the volume "${B.VolumeId}"? This action cannot be undone.`,isPending:V.isPending,onConfirm:async()=>{try{await V.mutateAsync(f),h({to:`/ec2/describe-volumes`})}finally{$()}},onOpenChange:e=>{e||$()},open:W===`delete`,title:`Delete Volume`}),(0,z.jsx)(M,{onOpenChange:e=>{e||($(),q(``),Y(``))},open:W===`attach`,children:(0,z.jsxs)(E,{children:[(0,z.jsxs)(j,{children:[(0,z.jsx)(D,{children:`Attach Volume`}),(0,z.jsx)(T,{children:`Attach this volume to a running instance.`})]}),(0,z.jsxs)(P,{children:[(0,z.jsx)(N,{children:(0,z.jsx)(`label`,{htmlFor:`attachInstance`,children:`Instance`})}),(0,z.jsxs)(ee,{onValueChange:e=>q(e??``),value:K,children:[(0,z.jsx)(i,{className:`w-full`,id:`attachInstance`,children:(0,z.jsx)(r,{placeholder:`Select an instance`})}),(0,z.jsx)(a,{children:oe.map(e=>{let t=d(e.Tags);return(0,z.jsxs)(o,{value:e.InstanceId??``,children:[e.InstanceId,t?` (${t})`:``]},e.InstanceId)})})]})]}),(0,z.jsxs)(P,{children:[(0,z.jsx)(N,{children:(0,z.jsx)(`label`,{htmlFor:`attachDevice`,children:`Device (optional)`})}),(0,z.jsx)(re,{id:`attachDevice`,onChange:e=>Y(e.target.value),placeholder:`/dev/sdf`,value:J})]}),(0,z.jsxs)(k,{children:[(0,z.jsx)(A,{children:`Cancel`}),(0,z.jsx)(O,{disabled:H.isPending||!K,onClick:async()=>{try{await H.mutateAsync({volumeId:f,instanceId:K,device:J||void 0}),$(),q(``),Y(``)}catch{}},children:H.isPending?`Attaching…`:`Attach`})]})]})}),(0,z.jsx)(M,{onOpenChange:e=>{e||($(),Z(!1))},open:W===`detach`,children:(0,z.jsxs)(E,{children:[(0,z.jsxs)(j,{children:[(0,z.jsx)(D,{children:`Detach Volume`}),(0,z.jsxs)(T,{children:[`Are you sure you want to detach the volume "`,B.VolumeId,`" from instance "`,B.Attachments?.[0]?.InstanceId,`"?`]})]}),(0,z.jsxs)(`label`,{className:`flex items-center gap-2 text-sm`,children:[(0,z.jsx)(`input`,{"aria-label":`Force detach`,checked:X,onChange:e=>Z(e.target.checked),type:`checkbox`}),`Force detach`]}),(0,z.jsxs)(k,{children:[(0,z.jsx)(A,{children:`Cancel`}),(0,z.jsx)(O,{disabled:U.isPending,onClick:async()=>{let e=B?.Attachments?.[0]?.InstanceId;try{await U.mutateAsync({volumeId:f,instanceId:e??void 0,force:X||void 0}),$(),Z(!1)}catch{}},children:U.isPending?`Detaching…`:`Detach`})]})]})})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(n,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),(0,z.jsx)(`p`,{className:`text-muted-foreground`,children:`Volume not found.`})]})}export{B as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as ee}from"./select.js";import{t as s}from"./trash-2.js";import{S as c,b as l,t as te}from"./ec2.js";import{$ as u,Da as d,Do as f,Ha as p,Ta as m,Ua as h,V as g,ba as _,co as v,no as y,ro as ne,so as b,u as x,ya as S,yi as re}from"./index.js";import{t as ie}from"./page-heading.js";import{t as ae}from"./state-badge.js";import{n as C,t as w}from"./detail-row.js";import{a as T,i as E,l as D,n as O,o as k,r as A,s as j,t as M}from"./alert-dialog.js";import{a as N,t as P}from"./field.js";import{t as F}from"./delete-confirmation-dialog.js";var I=h(`link-2-off`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7`,key:`10o201`}],[`path`,{d:`M15 7h2a5 5 0 0 1 4 8`,key:`1d3206`}],[`line`,{x1:`8`,x2:`12`,y1:`12`,y2:`12`,key:`rvw6j4`}],[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}]]),L=h(`link-2`,[[`path`,{d:`M9 17H7A5 5 0 0 1 7 7h2`,key:`8i5ue5`}],[`path`,{d:`M15 7h2a5 5 0 1 1 0 10h-2`,key:`1b9ql8`}],[`line`,{x1:`8`,x2:`16`,y1:`12`,y2:`12`,key:`1jonct`}]]),R=f(v()),z=b();function B(){let{id:f}=x.useParams(),h=ne(),{data:v}=t(u(f)),{data:b}=t(g),B=v.Volumes?.[0],V=l(),H=te(),U=c(),[W,G]=(0,R.useState)(null),[K,q]=(0,R.useState)(``),[J,Y]=(0,R.useState)(``),[X,Z]=(0,R.useState)(!1),oe=b.Reservations?.flatMap(e=>e.Instances?.filter(e=>e.State?.Name===`running`)??[])??[],Q=B?.State===`available`&&(!B.Attachments||B.Attachments.length===0),$=()=>G(null);return B?.VolumeId?(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(n,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),V.error&&(0,z.jsx)(e,{error:V.error,msg:`Failed to delete volume`}),H.error&&(0,z.jsx)(e,{error:H.error,msg:`Failed to attach volume`}),U.error&&(0,z.jsx)(e,{error:U.error,msg:`Failed to detach volume`}),(0,z.jsxs)(`div`,{className:`space-y-6`,children:[(0,z.jsx)(ie,{actions:(0,z.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,z.jsxs)(S,{disabled:!Q,onClick:()=>G(`delete`),size:`sm`,variant:`destructive`,children:[(0,z.jsx)(s,{className:`size-4`}),`Delete`]}),Q?(0,z.jsx)(y,{className:_({variant:`outline`}),params:{id:B.VolumeId},to:`/ec2/modify-volume/$id`,children:`Resize Volume`}):(0,z.jsx)(S,{disabled:!0,variant:`outline`,children:`Resize Volume`}),Q?(0,z.jsxs)(S,{onClick:()=>G(`attach`),size:`sm`,variant:`outline`,children:[(0,z.jsx)(L,{className:`size-4`}),`Attach`]}):null,B.Attachments&&B.Attachments.length>0?(0,z.jsxs)(S,{onClick:()=>G(`detach`),size:`sm`,variant:`outline`,children:[(0,z.jsx)(I,{className:`size-4`}),`Detach`]}):null,(0,z.jsxs)(y,{className:_({variant:`outline`,size:`sm`}),search:{volumeId:B.VolumeId},to:`/ec2/create-snapshot`,children:[(0,z.jsx)(p,{className:`size-4`}),`Create Snapshot`]}),(0,z.jsx)(ae,{state:B.State})]}),subtitle:`Volume Details`,title:B.VolumeId}),(0,z.jsxs)(C,{children:[(0,z.jsx)(C.Header,{children:`Volume Information`}),(0,z.jsxs)(C.Content,{children:[(0,z.jsx)(w,{label:`Volume ID`,value:B.VolumeId}),(0,z.jsx)(w,{label:`Size`,value:`${B.Size} GiB`}),(0,z.jsx)(w,{label:`Volume Type`,value:B.VolumeType}),(0,z.jsx)(w,{label:`State`,value:B.State}),(0,z.jsx)(w,{label:`Availability Zone`,value:B.AvailabilityZone}),(0,z.jsx)(w,{label:`Create Time`,value:m(B.CreateTime)}),(0,z.jsx)(w,{label:`Encrypted`,value:B.Encrypted?`Yes`:`No`}),(0,z.jsx)(w,{label:`KMS Key ID`,value:B.KmsKeyId})]})]}),B.Attachments&&B.Attachments.length>0&&(0,z.jsxs)(C,{children:[(0,z.jsx)(C.Header,{children:`Attachments`}),B.Attachments.map(e=>(0,z.jsxs)(C.Content,{children:[(0,z.jsx)(w,{label:`Instance ID`,value:e.InstanceId?(0,z.jsx)(y,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,z.jsx)(w,{label:`Device`,value:e.Device}),(0,z.jsx)(w,{label:`Status`,value:e.State}),(0,z.jsx)(w,{label:`Attach Time`,value:m(e.AttachTime)}),(0,z.jsx)(w,{label:`Delete on Termination`,value:e.DeleteOnTermination?`Yes`:`No`})]},e.InstanceId))]})]}),(0,z.jsx)(F,{description:`Are you sure you want to delete the volume "${B.VolumeId}"? This action cannot be undone.`,isPending:V.isPending,onConfirm:async()=>{try{await V.mutateAsync(f),h({to:`/ec2/describe-volumes`})}finally{$()}},onOpenChange:e=>{e||$()},open:W===`delete`,title:`Delete Volume`}),(0,z.jsx)(M,{onOpenChange:e=>{e||($(),q(``),Y(``))},open:W===`attach`,children:(0,z.jsxs)(E,{children:[(0,z.jsxs)(j,{children:[(0,z.jsx)(D,{children:`Attach Volume`}),(0,z.jsx)(T,{children:`Attach this volume to a running instance.`})]}),(0,z.jsxs)(P,{children:[(0,z.jsx)(N,{children:(0,z.jsx)(`label`,{htmlFor:`attachInstance`,children:`Instance`})}),(0,z.jsxs)(ee,{onValueChange:e=>q(e??``),value:K,children:[(0,z.jsx)(i,{className:`w-full`,id:`attachInstance`,children:(0,z.jsx)(r,{placeholder:`Select an instance`})}),(0,z.jsx)(a,{children:oe.map(e=>{let t=d(e.Tags);return(0,z.jsxs)(o,{value:e.InstanceId??``,children:[e.InstanceId,t?` (${t})`:``]},e.InstanceId)})})]})]}),(0,z.jsxs)(P,{children:[(0,z.jsx)(N,{children:(0,z.jsx)(`label`,{htmlFor:`attachDevice`,children:`Device (optional)`})}),(0,z.jsx)(re,{id:`attachDevice`,onChange:e=>Y(e.target.value),placeholder:`/dev/sdf`,value:J})]}),(0,z.jsxs)(k,{children:[(0,z.jsx)(A,{children:`Cancel`}),(0,z.jsx)(O,{disabled:H.isPending||!K,onClick:async()=>{try{await H.mutateAsync({volumeId:f,instanceId:K,device:J||void 0}),$(),q(``),Y(``)}catch{}},children:H.isPending?`Attaching…`:`Attach`})]})]})}),(0,z.jsx)(M,{onOpenChange:e=>{e||($(),Z(!1))},open:W===`detach`,children:(0,z.jsxs)(E,{children:[(0,z.jsxs)(j,{children:[(0,z.jsx)(D,{children:`Detach Volume`}),(0,z.jsxs)(T,{children:[`Are you sure you want to detach the volume "`,B.VolumeId,`" from instance "`,B.Attachments?.[0]?.InstanceId,`"?`]})]}),(0,z.jsxs)(`label`,{className:`flex items-center gap-2 text-sm`,children:[(0,z.jsx)(`input`,{"aria-label":`Force detach`,checked:X,onChange:e=>Z(e.target.checked),type:`checkbox`}),`Force detach`]}),(0,z.jsxs)(k,{children:[(0,z.jsx)(A,{children:`Cancel`}),(0,z.jsx)(O,{disabled:U.isPending,onClick:async()=>{let e=B?.Attachments?.[0]?.InstanceId;try{await U.mutateAsync({volumeId:f,instanceId:e??void 0,force:X||void 0}),$(),Z(!1)}catch{}},children:U.isPending?`Detaching…`:`Detach`})]})]})})]}):(0,z.jsxs)(z.Fragment,{children:[(0,z.jsx)(n,{to:`/ec2/describe-volumes`,children:`Back to volumes`}),(0,z.jsx)(`p`,{className:`text-muted-foreground`,children:`Volume not found.`})]})}export{B as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id2.js b/spinifex/services/spinifexui/frontend/dist/assets/_id2.js index e0346abaf..1c339f1db 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id2.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id2.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./trash-2.js";import{A as l,C as u,D as d,M as f,T as p,a as m,j as h}from"./ec2.js";import{B as g,Do as _,L as v,Ta as y,Ua as b,co as x,eo as S,n as C,no as w,so as T,ya as E,yi as D,z as O}from"./index.js";import{t as k}from"./page-heading.js";import{t as A}from"./state-badge.js";import{n as j,t as M}from"./detail-row.js";import{t as ee}from"./ami-details.js";import{a as N,i as P,l as F,n as I,o as L,r as R,s as z,t as B}from"./alert-dialog.js";import{a as V,t as H}from"./field.js";import{t as U}from"./textarea.js";import{t as W}from"./delete-confirmation-dialog.js";var te=b(`image-plus`,[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),G=b(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),K=b(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),q=b(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),ne=b(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),re=b(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),J=_(x(),1),Y=T();function ie({instanceId:e,open:t,onOpenChange:n}){let r=m(),[i,a]=(0,J.useState)(``),[o,s]=(0,J.useState)(``),[c,l]=(0,J.useState)(null);function u(e){e||(a(``),s(``),l(null)),n(e)}async function d(){try{l((await r.mutateAsync({instanceId:e,name:i,description:o||void 0})).ImageId??null),a(``),s(``)}catch{}}return(0,Y.jsx)(B,{onOpenChange:u,open:t,children:(0,Y.jsxs)(P,{children:[(0,Y.jsxs)(z,{children:[(0,Y.jsx)(F,{children:c?`Image Created`:`Create Image (AMI)`}),(0,Y.jsx)(N,{children:c?`Image "${c}" was created successfully.`:`Create an AMI from instance "${e}".`})]}),!c&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`imageName`,children:`Name`})}),(0,Y.jsx)(D,{id:`imageName`,onChange:e=>a(e.target.value),placeholder:`my-image`,value:i})]}),(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`imageDescription`,children:`Description`})}),(0,Y.jsx)(U,{id:`imageDescription`,onChange:e=>s(e.target.value),placeholder:`Optional description`,rows:2,value:o})]})]}),(0,Y.jsxs)(L,{children:[(0,Y.jsx)(R,{children:c?`Close`:`Cancel`}),!c&&(0,Y.jsx)(I,{disabled:r.isPending||!i.trim(),onClick:d,children:r.isPending?`Creating…`:`Create Image`})]})]})})}var X=S(),Z=new Set([`pending`,`stopping`,`shutting-down`,`terminated`]);function ae(t){let n=(0,X.c)(43),{instanceId:r,state:i}=t,a=l(),o=h(),s=d(),u=f(),[p,m]=(0,J.useState)(!1),g=Z.has(i??``),_;n[0]!==r||n[1]!==u?(_=()=>{u.mutate(r,{onSettled:()=>m(!1)})},n[0]=r,n[1]=u,n[2]=_):_=n[2];let v=_;if(g&&i!==`terminated`){let e;return n[3]===i?e=n[4]:(e=(0,Y.jsx)(`div`,{className:`rounded-lg border bg-muted/50 p-4`,children:(0,Y.jsxs)(`p`,{className:`text-center text-sm text-muted-foreground`,children:[`Instance is `,i,`. Actions will be available once the operation completes.`]})}),n[3]=i,n[4]=e),e}if(i===`terminated`){let e;return n[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Y.jsx)(`div`,{className:`rounded-lg border bg-muted/50 p-4`,children:(0,Y.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:`This instance has been terminated and cannot be managed.`})}),n[5]=e):e=n[5],e}let y;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Y.jsx)(`h2`,{className:`mb-4 font-semibold`,children:`Instance Actions`}),n[6]=y):y=n[6];let b;n[7]===a.error?b=n[8]:(b=a.error&&(0,Y.jsx)(e,{error:a.error,msg:`Failed to start instance`}),n[7]=a.error,n[8]=b);let x;n[9]===o.error?x=n[10]:(x=o.error&&(0,Y.jsx)(e,{error:o.error,msg:`Failed to stop instance`}),n[9]=o.error,n[10]=x);let S;n[11]===s.error?S=n[12]:(S=s.error&&(0,Y.jsx)(e,{error:s.error,msg:`Failed to reboot instance`}),n[11]=s.error,n[12]=S);let C;n[13]===u.error?C=n[14]:(C=u.error&&(0,Y.jsx)(e,{error:u.error,msg:`Failed to terminate instance`}),n[13]=u.error,n[14]=C);let w;n[15]!==r||n[16]!==a||n[17]!==i?(w=i===`stopped`&&(0,Y.jsxs)(E,{disabled:a.isPending,onClick:()=>a.mutate(r),size:`sm`,variant:`default`,children:[(0,Y.jsx)(K,{className:`size-4`}),a.isPending?`Starting`:`Start`]}),n[15]=r,n[16]=a,n[17]=i,n[18]=w):w=n[18];let T;n[19]!==r||n[20]!==s||n[21]!==i||n[22]!==o?(T=i===`running`&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(E,{disabled:o.isPending,onClick:()=>o.mutate(r),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(G,{className:`size-4`}),o.isPending?`Stopping`:`Stop`]}),(0,Y.jsxs)(E,{disabled:s.isPending,onClick:()=>s.mutate(r),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(q,{className:`size-4`}),s.isPending?`Rebooting`:`Reboot`]})]}),n[19]=r,n[20]=s,n[21]=i,n[22]=o,n[23]=T):T=n[23];let D;n[24]!==i||n[25]!==u.isPending?(D=(i===`stopped`||i===`running`)&&(0,Y.jsxs)(E,{disabled:u.isPending,onClick:()=>m(!0),size:`sm`,variant:`destructive`,children:[(0,Y.jsx)(c,{className:`size-4`}),u.isPending?`Terminating`:`Terminate`]}),n[24]=i,n[25]=u.isPending,n[26]=D):D=n[26];let O;n[27]!==w||n[28]!==T||n[29]!==D?(O=(0,Y.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[w,T,D]}),n[27]=w,n[28]=T,n[29]=D,n[30]=O):O=n[30];let k=`Are you sure you want to terminate the instance "${r}"? This action cannot be undone.`,A;n[31]!==v||n[32]!==p||n[33]!==k||n[34]!==u.isPending?(A=(0,Y.jsx)(W,{confirmLabel:`Terminate`,description:k,isPending:u.isPending,onConfirm:v,onOpenChange:m,open:p,pendingLabel:`Terminating…`,title:`Terminate Instance`}),n[31]=v,n[32]=p,n[33]=k,n[34]=u.isPending,n[35]=A):A=n[35];let j;return n[36]!==O||n[37]!==A||n[38]!==b||n[39]!==x||n[40]!==S||n[41]!==C?(j=(0,Y.jsxs)(`div`,{className:`rounded-lg border bg-card p-4`,children:[y,b,x,S,C,O,A]}),n[36]=O,n[37]=A,n[38]=b,n[39]=x,n[40]=S,n[41]=C,n[42]=j):j=n[42],j}function Q(){let{id:c}=C.useParams(),{data:l}=t(O(c)),d=l.Reservations?.[0]?.Instances?.[0],{data:f}=t(v(d?.ImageId)),m=f?.Images?.[0],{data:h}=t(g),_=p(),b=u(),[x,S]=(0,J.useState)(!1),[T,D]=(0,J.useState)(``),[U,W]=(0,J.useState)(!1),[G,K]=(0,J.useState)(null),[q,X]=(0,J.useState)(!1),Z=[...new Set(h.InstanceTypes?.flatMap(e=>e.InstanceType?[e.InstanceType]:[]))].toSorted();if(!d?.InstanceId)return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),(0,Y.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance not found.`})]});let Q=y(d.LaunchTime),$=d.State?.Name===`running`,oe=d.State?.Name===`stopped`;async function se(){try{await _.mutateAsync({instanceId:c,instanceType:T}),S(!1),D(``)}catch{}}async function ce(){try{let e=await b.mutateAsync(c);K(e.Output?atob(e.Output):`(no output)`),W(!0)}catch{}}return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),_.error&&(0,Y.jsx)(e,{error:_.error,msg:`Failed to modify instance`}),b.error&&(0,Y.jsx)(e,{error:b.error,msg:`Failed to get console output`}),(0,Y.jsxs)(`div`,{className:`space-y-6`,children:[(0,Y.jsx)(k,{actions:(0,Y.jsxs)(`div`,{className:`flex items-center gap-2`,children:[$&&(0,Y.jsxs)(E,{disabled:b.isPending,onClick:ce,size:`sm`,variant:`outline`,children:[(0,Y.jsx)(re,{className:`size-4`}),b.isPending?`Fetching…`:`View Console`]}),($||oe)&&(0,Y.jsxs)(E,{onClick:()=>X(!0),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(te,{className:`size-4`}),`Create Image`]}),oe&&(0,Y.jsxs)(E,{onClick:()=>{D(d.InstanceType??``),S(!0)},size:`sm`,variant:`outline`,children:[(0,Y.jsx)(ne,{className:`size-4`}),`Modify Instance`]}),(0,Y.jsx)(A,{state:d.State?.Name})]}),subtitle:`EC2 Instance Details`,title:d.InstanceId}),(0,Y.jsx)(ae,{instanceId:d.InstanceId,state:d.State?.Name}),U&&G!==null&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:(0,Y.jsxs)(`div`,{className:`flex items-center justify-between`,children:[`Console Output`,(0,Y.jsx)(E,{onClick:()=>{W(!1),K(null)},size:`sm`,variant:`ghost`,children:`Hide`})]})}),(0,Y.jsx)(`div`,{className:`p-4`,children:(0,Y.jsx)(`pre`,{className:`max-h-96 overflow-y-auto rounded bg-muted p-3 font-mono text-xs whitespace-pre-wrap`,children:G})})]}),(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Instance Information`}),(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Instance ID`,value:d.InstanceId}),(0,Y.jsx)(M,{label:`Instance Type`,value:d.InstanceType}),(0,Y.jsx)(M,{label:`Instance State`,value:d.State?.Name}),(0,Y.jsx)(M,{label:`State Code`,value:d.State?.Code?.toString()}),(0,Y.jsx)(M,{label:`Launch Time`,value:Q}),(0,Y.jsx)(M,{label:`Availability Zone`,value:d.Placement?.AvailabilityZone}),(0,Y.jsx)(M,{label:`Placement Group`,value:d.Placement?.GroupName?(0,Y.jsx)(w,{className:`text-primary hover:underline`,to:`/ec2/describe-placement-groups`,children:d.Placement.GroupName}):void 0})]})]}),(d.PrivateIpAddress||d.PublicIpAddress||d.VpcId||d.SubnetId||d.SecurityGroups&&d.SecurityGroups.length>0)&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Network & Security`}),(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Private IP Address`,value:d.PrivateIpAddress}),(0,Y.jsx)(M,{label:`Public IP Address`,value:d.PublicIpAddress}),(0,Y.jsx)(M,{label:`Private DNS`,value:d.PrivateDnsName}),(0,Y.jsx)(M,{label:`Public DNS`,value:d.PublicDnsName}),(0,Y.jsx)(M,{label:`VPC ID`,value:d.VpcId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:d.VpcId},to:`/ec2/describe-vpcs/$id`,children:d.VpcId}):void 0}),(0,Y.jsx)(M,{label:`Subnet ID`,value:d.SubnetId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:d.SubnetId},to:`/ec2/describe-subnets/$id`,children:d.SubnetId}):void 0}),(0,Y.jsx)(M,{label:`Key Name`,value:d.KeyName}),(0,Y.jsx)(M,{label:`Security Groups`,value:d.SecurityGroups?.map(e=>e.GroupName).join(`, `)})]})]}),d.BlockDeviceMappings&&d.BlockDeviceMappings.length>0&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Block Device Mappings`}),d.BlockDeviceMappings.map(e=>(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Device Name`,value:e.DeviceName}),(0,Y.jsx)(M,{label:`Volume ID`,value:e.Ebs?.VolumeId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:e.Ebs.VolumeId},to:`/ec2/describe-volumes/$id`,children:e.Ebs.VolumeId}):void 0}),(0,Y.jsx)(M,{label:`Status`,value:e.Ebs?.Status}),(0,Y.jsx)(M,{label:`Attach Time`,value:y(e.Ebs?.AttachTime)}),(0,Y.jsx)(M,{label:`Delete on Termination`,value:e.Ebs?.DeleteOnTermination?`Yes`:`No`})]},e.DeviceName))]}),m&&(0,Y.jsx)(ee,{image:m})]}),(0,Y.jsx)(B,{onOpenChange:e=>{e||(S(!1),D(``))},open:x,children:(0,Y.jsxs)(P,{children:[(0,Y.jsxs)(z,{children:[(0,Y.jsx)(F,{children:`Modify Instance`}),(0,Y.jsxs)(N,{children:[`Select a new instance type for "`,d.InstanceId,`". The instance must be stopped to modify its attributes.`]})]}),(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`instanceType`,children:`Instance Type`})}),(0,Y.jsxs)(s,{onValueChange:e=>D(e??``),value:T,children:[(0,Y.jsx)(i,{className:`w-full`,id:`instanceType`,children:(0,Y.jsx)(r,{})}),(0,Y.jsx)(a,{children:Z.map(e=>(0,Y.jsx)(o,{value:e,children:e},e))})]})]}),(0,Y.jsxs)(L,{children:[(0,Y.jsx)(R,{children:`Cancel`}),(0,Y.jsx)(I,{disabled:_.isPending||!T||T===d.InstanceType,onClick:se,children:_.isPending?`Saving…`:`Save Changes`})]})]})}),(0,Y.jsx)(ie,{instanceId:d.InstanceId,onOpenChange:X,open:q})]})}export{Q as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./trash-2.js";import{A as l,C as u,D as d,M as f,T as p,a as m,j as h}from"./ec2.js";import{B as g,Do as _,L as v,Ta as y,Ua as b,co as x,eo as S,n as C,no as w,so as T,ya as E,yi as D,z as O}from"./index.js";import{t as k}from"./page-heading.js";import{t as A}from"./state-badge.js";import{n as j,t as M}from"./detail-row.js";import{t as ee}from"./ami-details.js";import{a as N,i as P,l as F,n as I,o as L,r as R,s as z,t as B}from"./alert-dialog.js";import{a as V,t as H}from"./field.js";import{t as U}from"./textarea.js";import{t as W}from"./delete-confirmation-dialog.js";var te=b(`image-plus`,[[`path`,{d:`M16 5h6`,key:`1vod17`}],[`path`,{d:`M19 2v6`,key:`4bpg5p`}],[`path`,{d:`M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5`,key:`1ue2ih`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}]]),G=b(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),K=b(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),q=b(`rotate-cw`,[[`path`,{d:`M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8`,key:`1p45f6`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}]]),ne=b(`settings-2`,[[`path`,{d:`M14 17H5`,key:`gfn3mx`}],[`path`,{d:`M19 7h-9`,key:`6i9tg`}],[`circle`,{cx:`17`,cy:`17`,r:`3`,key:`18b49y`}],[`circle`,{cx:`7`,cy:`7`,r:`3`,key:`dfmy0x`}]]),re=b(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),J=_(x(),1),Y=T();function ie({instanceId:e,open:t,onOpenChange:n}){let r=m(),[i,a]=(0,J.useState)(``),[o,s]=(0,J.useState)(``),[c,l]=(0,J.useState)(null);function u(e){e||(a(``),s(``),l(null)),n(e)}async function d(){try{l((await r.mutateAsync({instanceId:e,name:i,description:o||void 0})).ImageId??null),a(``),s(``)}catch{}}return(0,Y.jsx)(B,{onOpenChange:u,open:t,children:(0,Y.jsxs)(P,{children:[(0,Y.jsxs)(z,{children:[(0,Y.jsx)(F,{children:c?`Image Created`:`Create Image (AMI)`}),(0,Y.jsx)(N,{children:c?`Image "${c}" was created successfully.`:`Create an AMI from instance "${e}".`})]}),!c&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`imageName`,children:`Name`})}),(0,Y.jsx)(D,{id:`imageName`,onChange:e=>a(e.target.value),placeholder:`my-image`,value:i})]}),(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`imageDescription`,children:`Description`})}),(0,Y.jsx)(U,{id:`imageDescription`,onChange:e=>s(e.target.value),placeholder:`Optional description`,rows:2,value:o})]})]}),(0,Y.jsxs)(L,{children:[(0,Y.jsx)(R,{children:c?`Close`:`Cancel`}),!c&&(0,Y.jsx)(I,{disabled:r.isPending||!i.trim(),onClick:d,children:r.isPending?`Creating…`:`Create Image`})]})]})})}var X=S(),Z=new Set([`pending`,`stopping`,`shutting-down`,`terminated`]);function ae(t){let n=(0,X.c)(43),{instanceId:r,state:i}=t,a=l(),o=h(),s=d(),u=f(),[p,m]=(0,J.useState)(!1),g=Z.has(i??``),_;n[0]!==r||n[1]!==u?(_=()=>{u.mutate(r,{onSettled:()=>m(!1)})},n[0]=r,n[1]=u,n[2]=_):_=n[2];let v=_;if(g&&i!==`terminated`){let e;return n[3]===i?e=n[4]:(e=(0,Y.jsx)(`div`,{className:`rounded-lg border bg-muted/50 p-4`,children:(0,Y.jsxs)(`p`,{className:`text-center text-sm text-muted-foreground`,children:[`Instance is `,i,`. Actions will be available once the operation completes.`]})}),n[3]=i,n[4]=e),e}if(i===`terminated`){let e;return n[5]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,Y.jsx)(`div`,{className:`rounded-lg border bg-muted/50 p-4`,children:(0,Y.jsx)(`p`,{className:`text-center text-sm text-muted-foreground`,children:`This instance has been terminated and cannot be managed.`})}),n[5]=e):e=n[5],e}let y;n[6]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,Y.jsx)(`h2`,{className:`mb-4 font-semibold`,children:`Instance Actions`}),n[6]=y):y=n[6];let b;n[7]===a.error?b=n[8]:(b=a.error&&(0,Y.jsx)(e,{error:a.error,msg:`Failed to start instance`}),n[7]=a.error,n[8]=b);let x;n[9]===o.error?x=n[10]:(x=o.error&&(0,Y.jsx)(e,{error:o.error,msg:`Failed to stop instance`}),n[9]=o.error,n[10]=x);let S;n[11]===s.error?S=n[12]:(S=s.error&&(0,Y.jsx)(e,{error:s.error,msg:`Failed to reboot instance`}),n[11]=s.error,n[12]=S);let C;n[13]===u.error?C=n[14]:(C=u.error&&(0,Y.jsx)(e,{error:u.error,msg:`Failed to terminate instance`}),n[13]=u.error,n[14]=C);let w;n[15]!==r||n[16]!==a||n[17]!==i?(w=i===`stopped`&&(0,Y.jsxs)(E,{disabled:a.isPending,onClick:()=>a.mutate(r),size:`sm`,variant:`default`,children:[(0,Y.jsx)(K,{className:`size-4`}),a.isPending?`Starting`:`Start`]}),n[15]=r,n[16]=a,n[17]=i,n[18]=w):w=n[18];let T;n[19]!==r||n[20]!==s||n[21]!==i||n[22]!==o?(T=i===`running`&&(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsxs)(E,{disabled:o.isPending,onClick:()=>o.mutate(r),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(G,{className:`size-4`}),o.isPending?`Stopping`:`Stop`]}),(0,Y.jsxs)(E,{disabled:s.isPending,onClick:()=>s.mutate(r),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(q,{className:`size-4`}),s.isPending?`Rebooting`:`Reboot`]})]}),n[19]=r,n[20]=s,n[21]=i,n[22]=o,n[23]=T):T=n[23];let D;n[24]!==i||n[25]!==u.isPending?(D=(i===`stopped`||i===`running`)&&(0,Y.jsxs)(E,{disabled:u.isPending,onClick:()=>m(!0),size:`sm`,variant:`destructive`,children:[(0,Y.jsx)(c,{className:`size-4`}),u.isPending?`Terminating`:`Terminate`]}),n[24]=i,n[25]=u.isPending,n[26]=D):D=n[26];let O;n[27]!==w||n[28]!==T||n[29]!==D?(O=(0,Y.jsxs)(`div`,{className:`flex flex-wrap gap-2`,children:[w,T,D]}),n[27]=w,n[28]=T,n[29]=D,n[30]=O):O=n[30];let k=`Are you sure you want to terminate the instance "${r}"? This action cannot be undone.`,A;n[31]!==v||n[32]!==p||n[33]!==k||n[34]!==u.isPending?(A=(0,Y.jsx)(W,{confirmLabel:`Terminate`,description:k,isPending:u.isPending,onConfirm:v,onOpenChange:m,open:p,pendingLabel:`Terminating…`,title:`Terminate Instance`}),n[31]=v,n[32]=p,n[33]=k,n[34]=u.isPending,n[35]=A):A=n[35];let j;return n[36]!==O||n[37]!==A||n[38]!==b||n[39]!==x||n[40]!==S||n[41]!==C?(j=(0,Y.jsxs)(`div`,{className:`rounded-lg border bg-card p-4`,children:[y,b,x,S,C,O,A]}),n[36]=O,n[37]=A,n[38]=b,n[39]=x,n[40]=S,n[41]=C,n[42]=j):j=n[42],j}function Q(){let{id:c}=C.useParams(),{data:l}=t(O(c)),d=l.Reservations?.[0]?.Instances?.[0],{data:f}=t(v(d?.ImageId)),m=f?.Images?.[0],{data:h}=t(g),_=p(),b=u(),[x,S]=(0,J.useState)(!1),[T,D]=(0,J.useState)(``),[U,W]=(0,J.useState)(!1),[G,K]=(0,J.useState)(null),[q,X]=(0,J.useState)(!1),Z=[...new Set(h.InstanceTypes?.flatMap(e=>e.InstanceType?[e.InstanceType]:[]))].toSorted();if(!d?.InstanceId)return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),(0,Y.jsx)(`p`,{className:`text-muted-foreground`,children:`Instance not found.`})]});let Q=y(d.LaunchTime),$=d.State?.Name===`running`,oe=d.State?.Name===`stopped`;async function se(){try{await _.mutateAsync({instanceId:c,instanceType:T}),S(!1),D(``)}catch{}}async function ce(){try{let e=await b.mutateAsync(c);K(e.Output?atob(e.Output):`(no output)`),W(!0)}catch{}}return(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),_.error&&(0,Y.jsx)(e,{error:_.error,msg:`Failed to modify instance`}),b.error&&(0,Y.jsx)(e,{error:b.error,msg:`Failed to get console output`}),(0,Y.jsxs)(`div`,{className:`space-y-6`,children:[(0,Y.jsx)(k,{actions:(0,Y.jsxs)(`div`,{className:`flex items-center gap-2`,children:[$&&(0,Y.jsxs)(E,{disabled:b.isPending,onClick:ce,size:`sm`,variant:`outline`,children:[(0,Y.jsx)(re,{className:`size-4`}),b.isPending?`Fetching…`:`View Console`]}),($||oe)&&(0,Y.jsxs)(E,{onClick:()=>X(!0),size:`sm`,variant:`outline`,children:[(0,Y.jsx)(te,{className:`size-4`}),`Create Image`]}),oe&&(0,Y.jsxs)(E,{onClick:()=>{D(d.InstanceType??``),S(!0)},size:`sm`,variant:`outline`,children:[(0,Y.jsx)(ne,{className:`size-4`}),`Modify Instance`]}),(0,Y.jsx)(A,{state:d.State?.Name})]}),subtitle:`Instance Details`,title:d.InstanceId}),(0,Y.jsx)(ae,{instanceId:d.InstanceId,state:d.State?.Name}),U&&G!==null&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:(0,Y.jsxs)(`div`,{className:`flex items-center justify-between`,children:[`Console Output`,(0,Y.jsx)(E,{onClick:()=>{W(!1),K(null)},size:`sm`,variant:`ghost`,children:`Hide`})]})}),(0,Y.jsx)(`div`,{className:`p-4`,children:(0,Y.jsx)(`pre`,{className:`max-h-96 overflow-y-auto rounded bg-muted p-3 font-mono text-xs whitespace-pre-wrap`,children:G})})]}),(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Instance Information`}),(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Instance ID`,value:d.InstanceId}),(0,Y.jsx)(M,{label:`Instance Type`,value:d.InstanceType}),(0,Y.jsx)(M,{label:`Instance State`,value:d.State?.Name}),(0,Y.jsx)(M,{label:`State Code`,value:d.State?.Code?.toString()}),(0,Y.jsx)(M,{label:`Launch Time`,value:Q}),(0,Y.jsx)(M,{label:`Availability Zone`,value:d.Placement?.AvailabilityZone}),(0,Y.jsx)(M,{label:`Placement Group`,value:d.Placement?.GroupName?(0,Y.jsx)(w,{className:`text-primary hover:underline`,to:`/ec2/describe-placement-groups`,children:d.Placement.GroupName}):void 0})]})]}),(d.PrivateIpAddress||d.PublicIpAddress||d.VpcId||d.SubnetId||d.SecurityGroups&&d.SecurityGroups.length>0)&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Network & Security`}),(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Private IP Address`,value:d.PrivateIpAddress}),(0,Y.jsx)(M,{label:`Public IP Address`,value:d.PublicIpAddress}),(0,Y.jsx)(M,{label:`Private DNS`,value:d.PrivateDnsName}),(0,Y.jsx)(M,{label:`Public DNS`,value:d.PublicDnsName}),(0,Y.jsx)(M,{label:`VPC ID`,value:d.VpcId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:d.VpcId},to:`/ec2/describe-vpcs/$id`,children:d.VpcId}):void 0}),(0,Y.jsx)(M,{label:`Subnet ID`,value:d.SubnetId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:d.SubnetId},to:`/ec2/describe-subnets/$id`,children:d.SubnetId}):void 0}),(0,Y.jsx)(M,{label:`Key Name`,value:d.KeyName}),(0,Y.jsx)(M,{label:`Security Groups`,value:d.SecurityGroups?.map(e=>e.GroupName).join(`, `)})]})]}),d.BlockDeviceMappings&&d.BlockDeviceMappings.length>0&&(0,Y.jsxs)(j,{children:[(0,Y.jsx)(j.Header,{children:`Block Device Mappings`}),d.BlockDeviceMappings.map(e=>(0,Y.jsxs)(j.Content,{children:[(0,Y.jsx)(M,{label:`Device Name`,value:e.DeviceName}),(0,Y.jsx)(M,{label:`Volume ID`,value:e.Ebs?.VolumeId?(0,Y.jsx)(w,{className:`text-primary hover:underline`,params:{id:e.Ebs.VolumeId},to:`/ec2/describe-volumes/$id`,children:e.Ebs.VolumeId}):void 0}),(0,Y.jsx)(M,{label:`Status`,value:e.Ebs?.Status}),(0,Y.jsx)(M,{label:`Attach Time`,value:y(e.Ebs?.AttachTime)}),(0,Y.jsx)(M,{label:`Delete on Termination`,value:e.Ebs?.DeleteOnTermination?`Yes`:`No`})]},e.DeviceName))]}),m&&(0,Y.jsx)(ee,{image:m})]}),(0,Y.jsx)(B,{onOpenChange:e=>{e||(S(!1),D(``))},open:x,children:(0,Y.jsxs)(P,{children:[(0,Y.jsxs)(z,{children:[(0,Y.jsx)(F,{children:`Modify Instance`}),(0,Y.jsxs)(N,{children:[`Select a new instance type for "`,d.InstanceId,`". The instance must be stopped to modify its attributes.`]})]}),(0,Y.jsxs)(H,{children:[(0,Y.jsx)(V,{children:(0,Y.jsx)(`label`,{htmlFor:`instanceType`,children:`Instance Type`})}),(0,Y.jsxs)(s,{onValueChange:e=>D(e??``),value:T,children:[(0,Y.jsx)(i,{className:`w-full`,id:`instanceType`,children:(0,Y.jsx)(r,{})}),(0,Y.jsx)(a,{children:Z.map(e=>(0,Y.jsx)(o,{value:e,children:e},e))})]})]}),(0,Y.jsxs)(L,{children:[(0,Y.jsx)(R,{children:`Cancel`}),(0,Y.jsx)(I,{disabled:_.isPending||!T||T===d.InstanceType,onClick:se,children:_.isPending?`Saving…`:`Save Changes`})]})]})}),(0,Y.jsx)(ie,{instanceId:d.InstanceId,onOpenChange:X,open:q})]})}export{Q as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id3.js b/spinifex/services/spinifexui/frontend/dist/assets/_id3.js index 52eee0aeb..fb8dc0d9e 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id3.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id3.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{h as i}from"./ec2.js";import{Do as a,H as o,Ta as s,co as c,r as l,ro as u,so as d,ya as f}from"./index.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./delete-confirmation-dialog.js";var _=a(c()),v=d();function y(){let{id:a}=l.useParams(),c=u(),{data:d}=t(o(a)),y=d.KeyPairs?.[0],b=i(),[x,S]=(0,_.useState)(!1),C=async()=>{try{await b.mutateAsync(a),c({to:`/ec2/describe-key-pairs`})}finally{S(!1)}};if(!y?.KeyPairId)return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(n,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),(0,v.jsx)(`p`,{className:`text-muted-foreground`,children:`Key pair not found.`})]});let w=s(y.CreateTime);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(n,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),b.error&&(0,v.jsx)(e,{error:b.error,msg:`Failed to delete key pair`}),(0,v.jsxs)(`div`,{className:`space-y-6`,children:[(0,v.jsx)(p,{actions:(0,v.jsxs)(f,{onClick:()=>S(!0),size:`sm`,variant:`destructive`,children:[(0,v.jsx)(r,{className:`size-4`}),`Delete`]}),subtitle:`EC2 Key Pair Details`,title:y.KeyName??``}),(0,v.jsxs)(m,{children:[(0,v.jsx)(m.Header,{children:`Key Pair Information`}),(0,v.jsxs)(m.Content,{children:[(0,v.jsx)(h,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(h,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(h,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(h,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(h,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(m,{children:[(0,v.jsx)(m.Header,{children:`Tags`}),(0,v.jsx)(m.Content,{children:y.Tags.map(e=>(0,v.jsx)(h,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(g,{description:`Are you sure you want to delete the key pair "${y.KeyName}"? This action cannot be undone. Any instances using this key pair will no longer be able to be accessed with it.`,isPending:b.isPending,onConfirm:C,onOpenChange:S,open:x,title:`Delete Key Pair`})]})}export{y as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{h as i}from"./ec2.js";import{Do as a,H as o,Ta as s,co as c,r as l,ro as u,so as d,ya as f}from"./index.js";import{t as p}from"./page-heading.js";import{n as m,t as h}from"./detail-row.js";import{t as g}from"./delete-confirmation-dialog.js";var _=a(c()),v=d();function y(){let{id:a}=l.useParams(),c=u(),{data:d}=t(o(a)),y=d.KeyPairs?.[0],b=i(),[x,S]=(0,_.useState)(!1),C=async()=>{try{await b.mutateAsync(a),c({to:`/ec2/describe-key-pairs`})}finally{S(!1)}};if(!y?.KeyPairId)return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(n,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),(0,v.jsx)(`p`,{className:`text-muted-foreground`,children:`Key pair not found.`})]});let w=s(y.CreateTime);return(0,v.jsxs)(v.Fragment,{children:[(0,v.jsx)(n,{to:`/ec2/describe-key-pairs`,children:`Back to key pairs`}),b.error&&(0,v.jsx)(e,{error:b.error,msg:`Failed to delete key pair`}),(0,v.jsxs)(`div`,{className:`space-y-6`,children:[(0,v.jsx)(p,{actions:(0,v.jsxs)(f,{onClick:()=>S(!0),size:`sm`,variant:`destructive`,children:[(0,v.jsx)(r,{className:`size-4`}),`Delete`]}),subtitle:`Key Pair Details`,title:y.KeyName??``}),(0,v.jsxs)(m,{children:[(0,v.jsx)(m.Header,{children:`Key Pair Information`}),(0,v.jsxs)(m.Content,{children:[(0,v.jsx)(h,{label:`Key Pair ID`,value:y.KeyPairId}),(0,v.jsx)(h,{label:`Key Name`,value:y.KeyName}),(0,v.jsx)(h,{label:`Key Type`,value:y.KeyType}),(0,v.jsx)(h,{label:`Key Fingerprint`,value:y.KeyFingerprint}),(0,v.jsx)(h,{label:`Creation Date`,value:w})]})]}),y.Tags&&y.Tags.length>0&&(0,v.jsxs)(m,{children:[(0,v.jsx)(m.Header,{children:`Tags`}),(0,v.jsx)(m.Content,{children:y.Tags.map(e=>(0,v.jsx)(h,{label:e.Key??``,value:e.Value},e.Key))})]})]}),(0,v.jsx)(g,{description:`Are you sure you want to delete the key pair "${y.KeyName}"? This action cannot be undone. Any instances using this key pair will no longer be able to be accessed with it.`,isPending:b.isPending,onConfirm:C,onOpenChange:S,open:x,title:`Delete Key Pair`})]})}export{y as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id4.js b/spinifex/services/spinifexui/frontend/dist/assets/_id4.js index 92fe66307..2faec13a8 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id4.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id4.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./trash-2.js";import{a as l,c as u,i as d,t as f}from"./elbv2.js";import{Da as p,Do as m,E as h,O as g,Q as _,T as v,co as y,eo as b,i as x,j as S,ro as C,so as w,w as T,ya as E,yi as D}from"./index.js";import{t as ee}from"./page-heading.js";import{t as te}from"./state-badge.js";import{n as O,t as k}from"./detail-row.js";import{a as A,i as j,l as M,n as N,o as P,r as F,s as ne,t as re}from"./alert-dialog.js";import{a as I,r as L,t as R}from"./field.js";import{t as z}from"./delete-confirmation-dialog.js";import{n as B,r as V,t as H}from"./zod.js";import{t as U}from"./elbv22.js";import{a as W,i as G,n as K,o as q,r as J,t as Y}from"./tabs.js";var X=m(y(),1),Z=b(),Q=w();function ie(e){let t=(0,Z.c)(33),{form:n,targetGroups:o}=e,{control:c,register:l,formState:u}=n,{errors:d}=u,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-protocol`,children:`Protocol`})}),t[0]=f):f=t[0];let p;t[1]===c?p=t[2]:(p=(0,Q.jsxs)(R,{children:[f,(0,Q.jsx)(B,{control:c,name:`protocol`,render:oe})]}),t[1]=c,t[2]=p);let m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-port`,children:`Port`})}),t[3]=m):m=t[3];let h=!!d.port,g;t[4]===l?g=t[5]:(g=l(`port`,{valueAsNumber:!0}),t[4]=l,t[5]=g);let _;t[6]!==h||t[7]!==g?(_=(0,Q.jsx)(D,{"aria-invalid":h,id:`listener-port`,inputMode:`numeric`,placeholder:`80`,type:`number`,...g}),t[6]=h,t[7]=g,t[8]=_):_=t[8];let v;t[9]===d.port?v=t[10]:(v=(0,Q.jsx)(L,{errors:[d.port]}),t[9]=d.port,t[10]=v);let y;t[11]!==_||t[12]!==v?(y=(0,Q.jsxs)(R,{children:[m,_,v]}),t[11]=_,t[12]=v,t[13]=y):y=t[13];let b;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-default-tg`,children:`Default target group`})}),t[14]=b):b=t[14];let x;t[15]!==d.defaultTargetGroupArn||t[16]!==o?(x=e=>{let{field:t}=e;return(0,Q.jsxs)(s,{onValueChange:t.onChange,value:t.value??``,children:[(0,Q.jsx)(i,{"aria-invalid":!!d.defaultTargetGroupArn,className:`w-full`,id:`listener-default-tg`,children:(0,Q.jsx)(r,{placeholder:`Select target group`})}),(0,Q.jsx)(a,{children:o.map(ae)})]})},t[15]=d.defaultTargetGroupArn,t[16]=o,t[17]=x):x=t[17];let S;t[18]!==c||t[19]!==x?(S=(0,Q.jsx)(B,{control:c,name:`defaultTargetGroupArn`,render:x}),t[18]=c,t[19]=x,t[20]=S):S=t[20];let C;t[21]===d.defaultTargetGroupArn?C=t[22]:(C=(0,Q.jsx)(L,{errors:[d.defaultTargetGroupArn]}),t[21]=d.defaultTargetGroupArn,t[22]=C);let w;t[23]===o.length?w=t[24]:(w=o.length===0&&(0,Q.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:`No target groups available in this VPC. Create one first.`}),t[23]=o.length,t[24]=w);let T;t[25]!==S||t[26]!==C||t[27]!==w?(T=(0,Q.jsxs)(R,{children:[b,S,C,w]}),t[25]=S,t[26]=C,t[27]=w,t[28]=T):T=t[28];let E;return t[29]!==T||t[30]!==p||t[31]!==y?(E=(0,Q.jsxs)(Q.Fragment,{children:[p,y,T]}),t[29]=T,t[30]=p,t[31]=y,t[32]=E):E=t[32],E}function ae(e){return(0,Q.jsxs)(o,{value:e.TargetGroupArn??``,children:[e.TargetGroupName,` · `,e.Protocol,`:`,e.Port]},e.TargetGroupArn)}function oe(e){let{field:t}=e;return(0,Q.jsxs)(s,{onValueChange:t.onChange,value:t.value,children:[(0,Q.jsx)(i,{className:`w-full`,id:`listener-protocol`,children:(0,Q.jsx)(r,{})}),(0,Q.jsx)(a,{children:(0,Q.jsx)(o,{value:`HTTP`,children:`HTTP`})})]})}function se({loadBalancerArn:n,vpcId:r}){let{data:i}=t(T(n)),{data:a}=t(S),o=f(),s=d(),[l,u]=(0,X.useState)(!1),[p,m]=(0,X.useState)(),h=i.Listeners??[],g=a.TargetGroups??[],_=g.filter(e=>e.VpcId===r),v=new Map;for(let e of g)e.TargetGroupArn&&e.TargetGroupName&&v.set(e.TargetGroupArn,e.TargetGroupName);let y=e=>{let t=e.DefaultActions?.[0];if(!t)return`—`;if(t.Type===`forward`&&t.TargetGroupArn){let e=v.get(t.TargetGroupArn);return e?`forward → ${e}`:`forward → ${t.TargetGroupArn}`}return t.Type??`—`};return(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Listeners cannot be edited. Delete and re-add to change.`}),o.error&&(0,Q.jsx)(e,{error:o.error,msg:`Failed to create listener`}),s.error&&(0,Q.jsx)(e,{error:s.error,msg:`Failed to delete listener`}),(0,Q.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[h.length,` listener`,h.length===1?``:`s`]}),(0,Q.jsx)(E,{onClick:()=>u(!0),size:`sm`,children:`Add listener`})]}),h.length===0?(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`No listeners configured.`}):(0,Q.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,Q.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,Q.jsx)(`thead`,{children:(0,Q.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Protocol`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Port`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Default action`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Listener ARN`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,Q.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,Q.jsx)(`tbody`,{children:h.map(e=>(0,Q.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,Q.jsx)(`td`,{className:`px-4 py-2`,children:e.Protocol}),(0,Q.jsx)(`td`,{className:`px-4 py-2`,children:e.Port}),(0,Q.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:y(e)}),(0,Q.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.ListenerArn}),(0,Q.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,Q.jsx)(E,{"aria-label":`Delete listener ${e.Protocol}:${e.Port}`,onClick:()=>m(e),size:`sm`,variant:`ghost`,children:(0,Q.jsx)(c,{className:`size-4`})})})]},e.ListenerArn??``))})]})}),(0,Q.jsx)(ce,{isPending:o.isPending,onOpenChange:u,onSubmit:async e=>{try{await o.mutateAsync({loadBalancerArn:n,protocol:e.protocol,port:e.port,defaultTargetGroupArn:e.defaultTargetGroupArn}),u(!1)}catch{}},open:l,targetGroups:_}),(0,Q.jsx)(z,{description:p?`Delete listener ${p.Protocol}:${p.Port}? This cannot be undone.`:``,isPending:s.isPending,onConfirm:async()=>{if(p?.ListenerArn)try{await s.mutateAsync(p.ListenerArn)}finally{m(void 0)}},onOpenChange:e=>!e&&m(void 0),open:p!==void 0,title:`Delete listener`})]})}function ce(e){let t=(0,Z.c)(33),{open:n,onOpenChange:r,targetGroups:i,isPending:a,onSubmit:o}=e,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={resolver:H(U),defaultValues:{protocol:`HTTP`,port:80,defaultTargetGroupArn:``}},t[0]=s):s=t[0];let c=V(s),l,u;t[1]!==c||t[2]!==n?(l=()=>{n||c.reset({protocol:`HTTP`,port:80,defaultTargetGroupArn:``})},u=[n,c],t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),(0,X.useEffect)(l,u);let d;t[5]!==c||t[6]!==o?(d=c.handleSubmit(o),t[5]=c,t[6]=o,t[7]=d):d=t[7];let f=d,p;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsxs)(ne,{children:[(0,Q.jsx)(M,{children:`Add listener`}),(0,Q.jsx)(A,{children:`Listeners forward incoming traffic to a default target group.`})]}),t[8]=p):p=t[8];let m;t[9]===f?m=t[10]:(m=e=>{e.preventDefault(),f()},t[9]=f,t[10]=m);let h;t[11]!==c||t[12]!==i?(h=(0,Q.jsx)(ie,{form:c,targetGroups:i}),t[11]=c,t[12]=i,t[13]=h):h=t[13];let g;t[14]!==m||t[15]!==h?(g=(0,Q.jsx)(`form`,{className:`space-y-4`,onSubmit:m,children:h}),t[14]=m,t[15]=h,t[16]=g):g=t[16];let _;t[17]===a?_=t[18]:(_=(0,Q.jsx)(F,{disabled:a,children:`Cancel`}),t[17]=a,t[18]=_);let v=a?`Adding…`:`Add listener`,y;t[19]!==f||t[20]!==a||t[21]!==v?(y=(0,Q.jsx)(N,{disabled:a,onClick:f,children:v}),t[19]=f,t[20]=a,t[21]=v,t[22]=y):y=t[22];let b;t[23]!==y||t[24]!==_?(b=(0,Q.jsxs)(P,{children:[_,y]}),t[23]=y,t[24]=_,t[25]=b):b=t[25];let x;t[26]!==b||t[27]!==g?(x=(0,Q.jsxs)(j,{className:`sm:max-w-lg`,children:[p,g,b]}),t[26]=b,t[27]=g,t[28]=x):x=t[28];let S;return t[29]!==r||t[30]!==n||t[31]!==x?(S=(0,Q.jsx)(re,{onOpenChange:r,open:n,children:x}),t[29]=r,t[30]=n,t[31]=x,t[32]=S):S=t[32],S}function le({arn:r}){let i=C(),{data:a}=t(h(r)),{data:o}=t(v(r)),{data:s}=t(g([r])),{data:d}=t(_),f=l(),m=u(),[y,b]=(0,X.useState)(!1),x=a.LoadBalancers?.[0];if(!x?.LoadBalancerArn)return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`Load balancer not found.`})]});let S=async()=>{try{await f.mutateAsync(r),i({to:`/ec2/describe-load-balancers`})}finally{b(!1)}},w=d.Subnets??[],T=e=>{let t=w.find(t=>t.SubnetId===e);if(!t)return e;let n=p(t.Tags),r=t.CidrBlock?` (${t.CidrBlock})`:``;return n?`${e} — ${n}${r}`:`${e}${r}`},D=o.Attributes??[],A=s?.TagDescriptions?.find(e=>e.ResourceArn===r)?.Tags??[];return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),f.error&&(0,Q.jsx)(e,{error:f.error,msg:`Failed to delete load balancer`}),(0,Q.jsxs)(`div`,{className:`space-y-6`,children:[(0,Q.jsx)(ee,{actions:(0,Q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Q.jsxs)(E,{onClick:()=>b(!0),size:`sm`,variant:`destructive`,children:[(0,Q.jsx)(c,{className:`size-4`}),`Delete`]}),(0,Q.jsx)(te,{state:x.State?.Code})]}),subtitle:`Load balancer details`,title:x.LoadBalancerName??x.LoadBalancerArn}),(0,Q.jsxs)(Y,{defaultValue:`overview`,children:[(0,Q.jsxs)(K,{children:[(0,Q.jsx)(G,{value:`overview`,children:`Overview`}),(0,Q.jsx)(G,{value:`listeners`,children:`Listeners`}),(0,Q.jsx)(G,{value:`attributes`,children:`Attributes`}),(0,Q.jsx)(G,{value:`tags`,children:`Tags`})]}),(0,Q.jsxs)(J,{value:`overview`,children:[(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Load balancer`}),(0,Q.jsxs)(O.Content,{children:[(0,Q.jsx)(k,{label:`ARN`,value:x.LoadBalancerArn}),(0,Q.jsx)(k,{label:`DNS name`,value:x.DNSName}),(0,Q.jsx)(k,{label:`State`,value:x.State?.Reason?`${x.State.Code} — ${x.State.Reason}`:x.State?.Code}),(0,Q.jsx)(k,{label:`Type`,value:x.Type}),(0,Q.jsx)(k,{label:`Scheme`,value:x.Scheme}),(0,Q.jsx)(k,{label:`IP address type`,value:x.IpAddressType}),(0,Q.jsx)(k,{label:`VPC`,value:x.VpcId}),(0,Q.jsx)(k,{label:`Created at`,value:x.CreatedTime?new Date(x.CreatedTime).toLocaleString():void 0})]})]}),(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Availability zones`}),(0,Q.jsx)(O.Content,{children:(x.AvailabilityZones??[]).map(e=>(0,Q.jsx)(k,{label:e.ZoneName??`—`,value:e.SubnetId?T(e.SubnetId):void 0},`${e.ZoneName}-${e.SubnetId}`))})]}),(x.SecurityGroups??[]).length>0&&(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Security groups`}),(0,Q.jsx)(O.Content,{children:(x.SecurityGroups??[]).map(e=>(0,Q.jsx)(k,{label:`Security group`,value:e},e))})]})]}),(0,Q.jsx)(J,{value:`listeners`,children:(0,Q.jsx)(se,{loadBalancerArn:r,vpcId:x.VpcId})}),(0,Q.jsx)(J,{value:`attributes`,children:(0,Q.jsx)(W,{attributes:D,error:m.error,isPending:m.isPending,isSuccess:m.isSuccess,onSubmit:e=>{m.mutate({loadBalancerArn:r,attributes:e})},specs:q})}),(0,Q.jsx)(J,{value:`tags`,children:A.length>0?(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Tags`}),(0,Q.jsx)(O.Content,{children:A.map(e=>(0,Q.jsx)(k,{label:e.Key??``,value:e.Value},e.Key??``))})]}):(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`No tags.`})})]})]}),(0,Q.jsx)(z,{description:`Are you sure you want to delete load balancer "${x.LoadBalancerName??x.LoadBalancerArn}"? This action cannot be undone.`,isPending:f.isPending,onConfirm:S,onOpenChange:b,open:y,title:`Delete load balancer`})]})}function $(){let e=(0,Z.c)(2),{id:t}=x.useParams(),n=decodeURIComponent(t),r;return e[0]===n?r=e[1]:(r=(0,Q.jsx)(le,{arn:n}),e[0]=n,e[1]=r),r}export{$ as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./trash-2.js";import{a as l,c as u,i as d,t as f}from"./elbv2.js";import{Da as p,Do as m,E as h,O as g,Q as _,T as v,co as y,eo as b,i as x,j as S,ro as C,so as w,w as T,ya as E,yi as D}from"./index.js";import{t as ee}from"./page-heading.js";import{t as te}from"./state-badge.js";import{n as O,t as k}from"./detail-row.js";import{a as A,i as j,l as M,n as N,o as P,r as F,s as ne,t as re}from"./alert-dialog.js";import{a as I,r as L,t as R}from"./field.js";import{t as z}from"./delete-confirmation-dialog.js";import{n as B,r as V,t as H}from"./zod.js";import{t as U}from"./elbv22.js";import{a as W,i as G,n as K,o as q,r as J,t as Y}from"./tabs.js";var X=m(y(),1),Z=b(),Q=w();function ie(e){let t=(0,Z.c)(33),{form:n,targetGroups:o}=e,{control:c,register:l,formState:u}=n,{errors:d}=u,f;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-protocol`,children:`Protocol`})}),t[0]=f):f=t[0];let p;t[1]===c?p=t[2]:(p=(0,Q.jsxs)(R,{children:[f,(0,Q.jsx)(B,{control:c,name:`protocol`,render:oe})]}),t[1]=c,t[2]=p);let m;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-port`,children:`Port`})}),t[3]=m):m=t[3];let h=!!d.port,g;t[4]===l?g=t[5]:(g=l(`port`,{valueAsNumber:!0}),t[4]=l,t[5]=g);let _;t[6]!==h||t[7]!==g?(_=(0,Q.jsx)(D,{"aria-invalid":h,id:`listener-port`,inputMode:`numeric`,placeholder:`80`,type:`number`,...g}),t[6]=h,t[7]=g,t[8]=_):_=t[8];let v;t[9]===d.port?v=t[10]:(v=(0,Q.jsx)(L,{errors:[d.port]}),t[9]=d.port,t[10]=v);let y;t[11]!==_||t[12]!==v?(y=(0,Q.jsxs)(R,{children:[m,_,v]}),t[11]=_,t[12]=v,t[13]=y):y=t[13];let b;t[14]===Symbol.for(`react.memo_cache_sentinel`)?(b=(0,Q.jsx)(I,{children:(0,Q.jsx)(`label`,{htmlFor:`listener-default-tg`,children:`Default target group`})}),t[14]=b):b=t[14];let x;t[15]!==d.defaultTargetGroupArn||t[16]!==o?(x=e=>{let{field:t}=e;return(0,Q.jsxs)(s,{onValueChange:t.onChange,value:t.value??``,children:[(0,Q.jsx)(i,{"aria-invalid":!!d.defaultTargetGroupArn,className:`w-full`,id:`listener-default-tg`,children:(0,Q.jsx)(r,{placeholder:`Select target group`})}),(0,Q.jsx)(a,{children:o.map(ae)})]})},t[15]=d.defaultTargetGroupArn,t[16]=o,t[17]=x):x=t[17];let S;t[18]!==c||t[19]!==x?(S=(0,Q.jsx)(B,{control:c,name:`defaultTargetGroupArn`,render:x}),t[18]=c,t[19]=x,t[20]=S):S=t[20];let C;t[21]===d.defaultTargetGroupArn?C=t[22]:(C=(0,Q.jsx)(L,{errors:[d.defaultTargetGroupArn]}),t[21]=d.defaultTargetGroupArn,t[22]=C);let w;t[23]===o.length?w=t[24]:(w=o.length===0&&(0,Q.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:`No target groups available in this VPC. Create one first.`}),t[23]=o.length,t[24]=w);let T;t[25]!==S||t[26]!==C||t[27]!==w?(T=(0,Q.jsxs)(R,{children:[b,S,C,w]}),t[25]=S,t[26]=C,t[27]=w,t[28]=T):T=t[28];let E;return t[29]!==T||t[30]!==p||t[31]!==y?(E=(0,Q.jsxs)(Q.Fragment,{children:[p,y,T]}),t[29]=T,t[30]=p,t[31]=y,t[32]=E):E=t[32],E}function ae(e){return(0,Q.jsxs)(o,{value:e.TargetGroupArn??``,children:[e.TargetGroupName,` · `,e.Protocol,`:`,e.Port]},e.TargetGroupArn)}function oe(e){let{field:t}=e;return(0,Q.jsxs)(s,{onValueChange:t.onChange,value:t.value,children:[(0,Q.jsx)(i,{className:`w-full`,id:`listener-protocol`,children:(0,Q.jsx)(r,{})}),(0,Q.jsx)(a,{children:(0,Q.jsx)(o,{value:`HTTP`,children:`HTTP`})})]})}function se({loadBalancerArn:n,vpcId:r}){let{data:i}=t(T(n)),{data:a}=t(S),o=f(),s=d(),[l,u]=(0,X.useState)(!1),[p,m]=(0,X.useState)(),h=i.Listeners??[],g=a.TargetGroups??[],_=g.filter(e=>e.VpcId===r),v=new Map;for(let e of g)e.TargetGroupArn&&e.TargetGroupName&&v.set(e.TargetGroupArn,e.TargetGroupName);let y=e=>{let t=e.DefaultActions?.[0];if(!t)return`—`;if(t.Type===`forward`&&t.TargetGroupArn){let e=v.get(t.TargetGroupArn);return e?`forward → ${e}`:`forward → ${t.TargetGroupArn}`}return t.Type??`—`};return(0,Q.jsxs)(`div`,{className:`space-y-3`,children:[(0,Q.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:`Listeners cannot be edited. Delete and re-add to change.`}),o.error&&(0,Q.jsx)(e,{error:o.error,msg:`Failed to create listener`}),s.error&&(0,Q.jsx)(e,{error:s.error,msg:`Failed to delete listener`}),(0,Q.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,Q.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[h.length,` listener`,h.length===1?``:`s`]}),(0,Q.jsx)(E,{onClick:()=>u(!0),size:`sm`,children:`Add listener`})]}),h.length===0?(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`No listeners configured.`}):(0,Q.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,Q.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,Q.jsx)(`thead`,{children:(0,Q.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Protocol`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Port`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Default action`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Listener ARN`}),(0,Q.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,Q.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,Q.jsx)(`tbody`,{children:h.map(e=>(0,Q.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,Q.jsx)(`td`,{className:`px-4 py-2`,children:e.Protocol}),(0,Q.jsx)(`td`,{className:`px-4 py-2`,children:e.Port}),(0,Q.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:y(e)}),(0,Q.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:e.ListenerArn}),(0,Q.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,Q.jsx)(E,{"aria-label":`Delete listener ${e.Protocol}:${e.Port}`,onClick:()=>m(e),size:`sm`,variant:`ghost`,children:(0,Q.jsx)(c,{className:`size-4`})})})]},e.ListenerArn??``))})]})}),(0,Q.jsx)(ce,{isPending:o.isPending,onOpenChange:u,onSubmit:async e=>{try{await o.mutateAsync({loadBalancerArn:n,protocol:e.protocol,port:e.port,defaultTargetGroupArn:e.defaultTargetGroupArn}),u(!1)}catch{}},open:l,targetGroups:_}),(0,Q.jsx)(z,{description:p?`Delete listener ${p.Protocol}:${p.Port}? This cannot be undone.`:``,isPending:s.isPending,onConfirm:async()=>{if(p?.ListenerArn)try{await s.mutateAsync(p.ListenerArn)}finally{m(void 0)}},onOpenChange:e=>!e&&m(void 0),open:p!==void 0,title:`Delete listener`})]})}function ce(e){let t=(0,Z.c)(33),{open:n,onOpenChange:r,targetGroups:i,isPending:a,onSubmit:o}=e,s;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(s={resolver:H(U),defaultValues:{protocol:`HTTP`,port:80,defaultTargetGroupArn:``}},t[0]=s):s=t[0];let c=V(s),l,u;t[1]!==c||t[2]!==n?(l=()=>{n||c.reset({protocol:`HTTP`,port:80,defaultTargetGroupArn:``})},u=[n,c],t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),(0,X.useEffect)(l,u);let d;t[5]!==c||t[6]!==o?(d=c.handleSubmit(o),t[5]=c,t[6]=o,t[7]=d):d=t[7];let f=d,p;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(p=(0,Q.jsxs)(ne,{children:[(0,Q.jsx)(M,{children:`Add listener`}),(0,Q.jsx)(A,{children:`Listeners forward incoming traffic to a default target group.`})]}),t[8]=p):p=t[8];let m;t[9]===f?m=t[10]:(m=e=>{e.preventDefault(),f()},t[9]=f,t[10]=m);let h;t[11]!==c||t[12]!==i?(h=(0,Q.jsx)(ie,{form:c,targetGroups:i}),t[11]=c,t[12]=i,t[13]=h):h=t[13];let g;t[14]!==m||t[15]!==h?(g=(0,Q.jsx)(`form`,{className:`space-y-4`,onSubmit:m,children:h}),t[14]=m,t[15]=h,t[16]=g):g=t[16];let _;t[17]===a?_=t[18]:(_=(0,Q.jsx)(F,{disabled:a,children:`Cancel`}),t[17]=a,t[18]=_);let v=a?`Adding…`:`Add listener`,y;t[19]!==f||t[20]!==a||t[21]!==v?(y=(0,Q.jsx)(N,{disabled:a,onClick:f,children:v}),t[19]=f,t[20]=a,t[21]=v,t[22]=y):y=t[22];let b;t[23]!==y||t[24]!==_?(b=(0,Q.jsxs)(P,{children:[_,y]}),t[23]=y,t[24]=_,t[25]=b):b=t[25];let x;t[26]!==b||t[27]!==g?(x=(0,Q.jsxs)(j,{className:`sm:max-w-lg`,children:[p,g,b]}),t[26]=b,t[27]=g,t[28]=x):x=t[28];let S;return t[29]!==r||t[30]!==n||t[31]!==x?(S=(0,Q.jsx)(re,{onOpenChange:r,open:n,children:x}),t[29]=r,t[30]=n,t[31]=x,t[32]=S):S=t[32],S}function le({arn:r}){let i=C(),{data:a}=t(h(r)),{data:o}=t(v(r)),{data:s}=t(g([r])),{data:d}=t(_),f=l(),m=u(),[y,b]=(0,X.useState)(!1),x=a.LoadBalancers?.[0];if(!x?.LoadBalancerArn)return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`Load balancer not found.`})]});let S=async()=>{try{await f.mutateAsync(r),i({to:`/ec2/describe-load-balancers`})}finally{b(!1)}},w=d.Subnets??[],T=e=>{let t=w.find(t=>t.SubnetId===e);if(!t)return e;let n=p(t.Tags),r=t.CidrBlock?` (${t.CidrBlock})`:``;return n?`${e} — ${n}${r}`:`${e}${r}`},D=o.Attributes??[],A=s?.TagDescriptions?.find(e=>e.ResourceArn===r)?.Tags??[];return(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),f.error&&(0,Q.jsx)(e,{error:f.error,msg:`Failed to delete load balancer`}),(0,Q.jsxs)(`div`,{className:`space-y-6`,children:[(0,Q.jsx)(ee,{actions:(0,Q.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,Q.jsxs)(E,{onClick:()=>b(!0),size:`sm`,variant:`destructive`,children:[(0,Q.jsx)(c,{className:`size-4`}),`Delete`]}),(0,Q.jsx)(te,{state:x.State?.Code})]}),subtitle:`Load Balancer Details`,title:x.LoadBalancerName??x.LoadBalancerArn}),(0,Q.jsxs)(Y,{defaultValue:`overview`,children:[(0,Q.jsxs)(K,{children:[(0,Q.jsx)(G,{value:`overview`,children:`Overview`}),(0,Q.jsx)(G,{value:`listeners`,children:`Listeners`}),(0,Q.jsx)(G,{value:`attributes`,children:`Attributes`}),(0,Q.jsx)(G,{value:`tags`,children:`Tags`})]}),(0,Q.jsxs)(J,{value:`overview`,children:[(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Load balancer`}),(0,Q.jsxs)(O.Content,{children:[(0,Q.jsx)(k,{label:`ARN`,value:x.LoadBalancerArn}),(0,Q.jsx)(k,{label:`DNS name`,value:x.DNSName}),(0,Q.jsx)(k,{label:`State`,value:x.State?.Reason?`${x.State.Code} — ${x.State.Reason}`:x.State?.Code}),(0,Q.jsx)(k,{label:`Type`,value:x.Type}),(0,Q.jsx)(k,{label:`Scheme`,value:x.Scheme}),(0,Q.jsx)(k,{label:`IP address type`,value:x.IpAddressType}),(0,Q.jsx)(k,{label:`VPC`,value:x.VpcId}),(0,Q.jsx)(k,{label:`Created at`,value:x.CreatedTime?new Date(x.CreatedTime).toLocaleString():void 0})]})]}),(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Availability zones`}),(0,Q.jsx)(O.Content,{children:(x.AvailabilityZones??[]).map(e=>(0,Q.jsx)(k,{label:e.ZoneName??`—`,value:e.SubnetId?T(e.SubnetId):void 0},`${e.ZoneName}-${e.SubnetId}`))})]}),(x.SecurityGroups??[]).length>0&&(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Security groups`}),(0,Q.jsx)(O.Content,{children:(x.SecurityGroups??[]).map(e=>(0,Q.jsx)(k,{label:`Security group`,value:e},e))})]})]}),(0,Q.jsx)(J,{value:`listeners`,children:(0,Q.jsx)(se,{loadBalancerArn:r,vpcId:x.VpcId})}),(0,Q.jsx)(J,{value:`attributes`,children:(0,Q.jsx)(W,{attributes:D,error:m.error,isPending:m.isPending,isSuccess:m.isSuccess,onSubmit:e=>{m.mutate({loadBalancerArn:r,attributes:e})},specs:q})}),(0,Q.jsx)(J,{value:`tags`,children:A.length>0?(0,Q.jsxs)(O,{children:[(0,Q.jsx)(O.Header,{children:`Tags`}),(0,Q.jsx)(O.Content,{children:A.map(e=>(0,Q.jsx)(k,{label:e.Key??``,value:e.Value},e.Key??``))})]}):(0,Q.jsx)(`p`,{className:`text-muted-foreground`,children:`No tags.`})})]})]}),(0,Q.jsx)(z,{description:`Are you sure you want to delete load balancer "${x.LoadBalancerName??x.LoadBalancerArn}"? This action cannot be undone.`,isPending:f.isPending,onConfirm:S,onOpenChange:b,open:y,title:`Delete load balancer`})]})}function $(){let e=(0,Z.c)(2),{id:t}=x.useParams(),n=decodeURIComponent(t),r;return e[0]===n?r=e[1]:(r=(0,Q.jsx)(le,{arn:n}),e[0]=n,e[1]=r),r}export{$ as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id5.js b/spinifex/services/spinifexui/frontend/dist/assets/_id5.js index 47e555d8d..b9480306d 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id5.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id5.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{g as i}from"./ec2.js";import{Do as a,V as o,W as s,a as c,co as l,no as u,ro as d,so as f,ya as p}from"./index.js";import{t as m}from"./page-heading.js";import{t as h}from"./state-badge.js";import{n as g,t as _}from"./detail-row.js";import{t as v}from"./delete-confirmation-dialog.js";var y=a(l()),b=f();function x(){let{id:a}=c.useParams(),l=d(),{data:f}=t(s(a)),{data:x}=t(o),S=i(),[C,w]=(0,y.useState)(!1),T=f.PlacementGroups?.[0],E=x.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.Placement?.GroupName===T?.GroupName)??[];return T?.GroupId?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),S.error&&(0,b.jsx)(e,{error:S.error,msg:`Failed to delete placement group`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(m,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(p,{onClick:()=>w(!0),size:`sm`,variant:`destructive`,children:[(0,b.jsx)(r,{className:`size-4`}),`Delete`]}),(0,b.jsx)(h,{state:T.State})]}),subtitle:`EC2 Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Placement Group Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(_,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(_,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(_,{label:`State`,value:T.State}),(0,b.jsx)(_,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Instance ID`,value:e.InstanceId?(0,b.jsx)(u,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,b.jsx)(_,{label:`State`,value:e.State?.Name}),(0,b.jsx)(_,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(_,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(g.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(v,{description:`Are you sure you want to delete the placement group "${T.GroupName}"? The group must have no running instances.`,isPending:S.isPending,onConfirm:async()=>{if(T?.GroupName)try{await S.mutateAsync(T.GroupName),l({to:`/ec2/describe-placement-groups`})}finally{w(!1)}},onOpenChange:w,open:C,title:`Delete Placement Group`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Placement group not found.`})]})}export{x as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{g as i}from"./ec2.js";import{Do as a,V as o,W as s,a as c,co as l,no as u,ro as d,so as f,ya as p}from"./index.js";import{t as m}from"./page-heading.js";import{t as h}from"./state-badge.js";import{n as g,t as _}from"./detail-row.js";import{t as v}from"./delete-confirmation-dialog.js";var y=a(l()),b=f();function x(){let{id:a}=c.useParams(),l=d(),{data:f}=t(s(a)),{data:x}=t(o),S=i(),[C,w]=(0,y.useState)(!1),T=f.PlacementGroups?.[0],E=x.Reservations?.flatMap(e=>e.Instances??[]).filter(e=>e.Placement?.GroupName===T?.GroupName)??[];return T?.GroupId?(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),S.error&&(0,b.jsx)(e,{error:S.error,msg:`Failed to delete placement group`}),(0,b.jsxs)(`div`,{className:`space-y-6`,children:[(0,b.jsx)(m,{actions:(0,b.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,b.jsxs)(p,{onClick:()=>w(!0),size:`sm`,variant:`destructive`,children:[(0,b.jsx)(r,{className:`size-4`}),`Delete`]}),(0,b.jsx)(h,{state:T.State})]}),subtitle:`Placement Group Details`,title:T.GroupName??T.GroupId}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Placement Group Information`}),(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Group ID`,value:T.GroupId}),(0,b.jsx)(_,{label:`Group Name`,value:T.GroupName}),(0,b.jsx)(_,{label:`Strategy`,value:T.Strategy}),(0,b.jsx)(_,{label:`State`,value:T.State}),(0,b.jsx)(_,{label:`Spread Level`,value:T.SpreadLevel})]})]}),(0,b.jsxs)(g,{children:[(0,b.jsx)(g.Header,{children:`Instances`}),E.length>0?E.map(e=>(0,b.jsxs)(g.Content,{children:[(0,b.jsx)(_,{label:`Instance ID`,value:e.InstanceId?(0,b.jsx)(u,{className:`text-primary hover:underline`,params:{id:e.InstanceId},to:`/ec2/describe-instances/$id`,children:e.InstanceId}):void 0}),(0,b.jsx)(_,{label:`State`,value:e.State?.Name}),(0,b.jsx)(_,{label:`Instance Type`,value:e.InstanceType}),(0,b.jsx)(_,{label:`Availability Zone`,value:e.Placement?.AvailabilityZone})]},e.InstanceId)):(0,b.jsx)(g.Content,{children:(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances in this placement group.`})})]})]}),(0,b.jsx)(v,{description:`Are you sure you want to delete the placement group "${T.GroupName}"? The group must have no running instances.`,isPending:S.isPending,onConfirm:async()=>{if(T?.GroupName)try{await S.mutateAsync(T.GroupName),l({to:`/ec2/describe-placement-groups`})}finally{w(!1)}},onOpenChange:w,open:C,title:`Delete Placement Group`})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(n,{to:`/ec2/describe-placement-groups`,children:`Back to placement groups`}),(0,b.jsx)(`p`,{className:`text-muted-foreground`,children:`Placement group not found.`})]})}export{x as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id7.js b/spinifex/services/spinifexui/frontend/dist/assets/_id7.js index ce4517c89..32c86c278 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id7.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id7.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./copy.js";import{t as i}from"./trash-2.js";import{i as a,v as o}from"./ec2.js";import{Do as s,K as c,Ta as l,Y as u,co as d,no as f,ro as p,s as m,so as h,ya as g,yi as _}from"./index.js";import{t as v}from"./page-heading.js";import{t as y}from"./state-badge.js";import{n as b,t as x}from"./detail-row.js";import{a as S,i as C,l as w,n as T,o as E,r as D,s as O,t as k}from"./alert-dialog.js";import{a as A,t as j}from"./field.js";import{t as M}from"./delete-confirmation-dialog.js";var N=s(d()),P=h();function F(){let{id:s}=m.useParams(),d=p(),{data:h}=t(u(s)),{data:F}=t(c),I=h.Snapshots?.[0],L=o(),R=a(),[z,B]=(0,N.useState)(!1),[V,H]=(0,N.useState)(!1),[U,W]=(0,N.useState)(``),G=F.Regions?.[0]?.RegionName??`ap-southeast-2`,K=I?.State===`completed`,q=async()=>{try{await L.mutateAsync(s),d({to:`/ec2/describe-snapshots`})}finally{B(!1)}},J=async()=>{try{await R.mutateAsync({sourceSnapshotId:s,sourceRegion:G,description:U||void 0}),H(!1),W(``)}catch{}};if(!I?.SnapshotId)return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(n,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),(0,P.jsx)(`p`,{className:`text-muted-foreground`,children:`Snapshot not found.`})]});let Y=l(I.StartTime);return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(n,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),L.error&&(0,P.jsx)(e,{error:L.error,msg:`Failed to delete snapshot`}),R.error&&(0,P.jsx)(e,{error:R.error,msg:`Failed to copy snapshot`}),(0,P.jsxs)(`div`,{className:`space-y-6`,children:[(0,P.jsx)(v,{actions:(0,P.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,P.jsxs)(g,{disabled:!K,onClick:()=>B(!0),size:`sm`,variant:`destructive`,children:[(0,P.jsx)(i,{className:`size-4`}),`Delete`]}),(0,P.jsxs)(g,{disabled:!K,onClick:()=>H(!0),size:`sm`,variant:`outline`,children:[(0,P.jsx)(r,{className:`size-4`}),`Copy Snapshot`]}),(0,P.jsx)(y,{state:I.State})]}),subtitle:`EC2 Snapshot Details`,title:I.SnapshotId}),(0,P.jsxs)(b,{children:[(0,P.jsx)(b.Header,{children:`Snapshot Information`}),(0,P.jsxs)(b.Content,{children:[(0,P.jsx)(x,{label:`Snapshot ID`,value:I.SnapshotId}),(0,P.jsx)(x,{label:`Volume ID`,value:I.VolumeId?(0,P.jsx)(f,{className:`text-primary hover:underline`,params:{id:I.VolumeId},to:`/ec2/describe-volumes/$id`,children:I.VolumeId}):void 0}),(0,P.jsx)(x,{label:`Volume Size`,value:`${I.VolumeSize} GiB`}),(0,P.jsx)(x,{label:`State`,value:I.State}),(0,P.jsx)(x,{label:`Description`,value:I.Description}),(0,P.jsx)(x,{label:`Progress`,value:I.Progress}),(0,P.jsx)(x,{label:`Start Time`,value:Y}),(0,P.jsx)(x,{label:`Owner ID`,value:I.OwnerId}),(0,P.jsx)(x,{label:`Encrypted`,value:I.Encrypted?`Yes`:`No`})]})]})]}),(0,P.jsx)(M,{description:`Are you sure you want to delete the snapshot "${I.SnapshotId}"? This action cannot be undone.`,isPending:L.isPending,onConfirm:q,onOpenChange:B,open:z,title:`Delete Snapshot`}),(0,P.jsx)(k,{onOpenChange:H,open:V,children:(0,P.jsxs)(C,{children:[(0,P.jsxs)(O,{children:[(0,P.jsx)(w,{children:`Copy Snapshot`}),(0,P.jsx)(S,{children:`Create a copy of this snapshot in the current region.`})]}),(0,P.jsxs)(j,{children:[(0,P.jsx)(A,{children:(0,P.jsx)(`label`,{htmlFor:`copyDescription`,children:`Description (optional)`})}),(0,P.jsx)(_,{id:`copyDescription`,onChange:e=>W(e.target.value),placeholder:`Description for the snapshot copy`,value:U})]}),(0,P.jsxs)(E,{children:[(0,P.jsx)(D,{children:`Cancel`}),(0,P.jsx)(T,{disabled:R.isPending,onClick:J,children:R.isPending?`Copying…`:`Copy Snapshot`})]})]})})]})}export{F as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./copy.js";import{t as i}from"./trash-2.js";import{i as a,v as o}from"./ec2.js";import{Do as s,K as c,Ta as l,Y as u,co as d,no as f,ro as p,s as m,so as h,ya as g,yi as _}from"./index.js";import{t as v}from"./page-heading.js";import{t as y}from"./state-badge.js";import{n as b,t as x}from"./detail-row.js";import{a as S,i as C,l as w,n as T,o as E,r as D,s as O,t as k}from"./alert-dialog.js";import{a as A,t as j}from"./field.js";import{t as M}from"./delete-confirmation-dialog.js";var N=s(d()),P=h();function F(){let{id:s}=m.useParams(),d=p(),{data:h}=t(u(s)),{data:F}=t(c),I=h.Snapshots?.[0],L=o(),R=a(),[z,B]=(0,N.useState)(!1),[V,H]=(0,N.useState)(!1),[U,W]=(0,N.useState)(``),G=F.Regions?.[0]?.RegionName??`ap-southeast-2`,K=I?.State===`completed`,q=async()=>{try{await L.mutateAsync(s),d({to:`/ec2/describe-snapshots`})}finally{B(!1)}},J=async()=>{try{await R.mutateAsync({sourceSnapshotId:s,sourceRegion:G,description:U||void 0}),H(!1),W(``)}catch{}};if(!I?.SnapshotId)return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(n,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),(0,P.jsx)(`p`,{className:`text-muted-foreground`,children:`Snapshot not found.`})]});let Y=l(I.StartTime);return(0,P.jsxs)(P.Fragment,{children:[(0,P.jsx)(n,{to:`/ec2/describe-snapshots`,children:`Back to snapshots`}),L.error&&(0,P.jsx)(e,{error:L.error,msg:`Failed to delete snapshot`}),R.error&&(0,P.jsx)(e,{error:R.error,msg:`Failed to copy snapshot`}),(0,P.jsxs)(`div`,{className:`space-y-6`,children:[(0,P.jsx)(v,{actions:(0,P.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,P.jsxs)(g,{disabled:!K,onClick:()=>B(!0),size:`sm`,variant:`destructive`,children:[(0,P.jsx)(i,{className:`size-4`}),`Delete`]}),(0,P.jsxs)(g,{disabled:!K,onClick:()=>H(!0),size:`sm`,variant:`outline`,children:[(0,P.jsx)(r,{className:`size-4`}),`Copy Snapshot`]}),(0,P.jsx)(y,{state:I.State})]}),subtitle:`Snapshot Details`,title:I.SnapshotId}),(0,P.jsxs)(b,{children:[(0,P.jsx)(b.Header,{children:`Snapshot Information`}),(0,P.jsxs)(b.Content,{children:[(0,P.jsx)(x,{label:`Snapshot ID`,value:I.SnapshotId}),(0,P.jsx)(x,{label:`Volume ID`,value:I.VolumeId?(0,P.jsx)(f,{className:`text-primary hover:underline`,params:{id:I.VolumeId},to:`/ec2/describe-volumes/$id`,children:I.VolumeId}):void 0}),(0,P.jsx)(x,{label:`Volume Size`,value:`${I.VolumeSize} GiB`}),(0,P.jsx)(x,{label:`State`,value:I.State}),(0,P.jsx)(x,{label:`Description`,value:I.Description}),(0,P.jsx)(x,{label:`Progress`,value:I.Progress}),(0,P.jsx)(x,{label:`Start Time`,value:Y}),(0,P.jsx)(x,{label:`Owner ID`,value:I.OwnerId}),(0,P.jsx)(x,{label:`Encrypted`,value:I.Encrypted?`Yes`:`No`})]})]})]}),(0,P.jsx)(M,{description:`Are you sure you want to delete the snapshot "${I.SnapshotId}"? This action cannot be undone.`,isPending:L.isPending,onConfirm:q,onOpenChange:B,open:z,title:`Delete Snapshot`}),(0,P.jsx)(k,{onOpenChange:H,open:V,children:(0,P.jsxs)(C,{children:[(0,P.jsxs)(O,{children:[(0,P.jsx)(w,{children:`Copy Snapshot`}),(0,P.jsx)(S,{children:`Create a copy of this snapshot in the current region.`})]}),(0,P.jsxs)(j,{children:[(0,P.jsx)(A,{children:(0,P.jsx)(`label`,{htmlFor:`copyDescription`,children:`Description (optional)`})}),(0,P.jsx)(_,{id:`copyDescription`,onChange:e=>W(e.target.value),placeholder:`Description for the snapshot copy`,value:U})]}),(0,P.jsxs)(E,{children:[(0,P.jsx)(D,{children:`Cancel`}),(0,P.jsx)(T,{disabled:R.isPending,onClick:J,children:R.isPending?`Copying…`:`Copy Snapshot`})]})]})})]})}export{F as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_id9.js b/spinifex/services/spinifexui/frontend/dist/assets/_id9.js index 2aa0258e8..0073d8a47 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_id9.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_id9.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useQuery.js";import{t as n}from"./useSuspenseQuery.js";import{t as r}from"./back-link.js";import{t as i}from"./trash-2.js";import{l as a,o,s,u as c}from"./elbv2.js";import{A as l,Da as u,Do as d,M as f,O as p,Sa as m,V as h,co as g,eo as _,k as v,l as y,ro as b,so as x,ya as S,yi as C}from"./index.js";import{t as w}from"./page-heading.js";import{n as T,t as E}from"./detail-row.js";import{a as D,i as O,l as k,n as A,o as j,r as M,s as N,t as P}from"./alert-dialog.js";import{t as F}from"./delete-confirmation-dialog.js";import{a as I,i as L,n as R,r as z,s as B,t as V}from"./tabs.js";var H=_(),U=d(g(),1),W=x();function G(e){let t=e.trim();if(t===``)return;let n=Number(t);if(!(!Number.isInteger(n)||n<1||n>65535))return n}function K(e){let t=(0,H.c)(36),{open:n,onOpenChange:r,instances:i,defaultPort:a,isPending:o,onConfirm:s}=e,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c={},t[0]=c):c=t[0];let[l,d]=(0,U.useState)(c),[f,p]=(0,U.useState)(),m,h;t[1]===n?(m=t[2],h=t[3]):(m=()=>{n||(d({}),p(void 0))},h=[n],t[1]=n,t[2]=m,t[3]=h),(0,U.useEffect)(m,h);let g;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(g=e=>{d(t=>{let n=t[e];return n?.checked?{...t,[e]:{...n,checked:!1}}:{...t,[e]:{checked:!0,port:n?.port??``}}})},t[4]=g):g=t[4];let _=g,v;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(v=(e,t)=>{d(n=>({...n,[e]:{checked:n[e]?.checked??!0,port:t}}))},t[5]=v):v=t[5];let y=v,b;t[6]!==s||t[7]!==l?(b=()=>{let e=Object.entries(l).filter(q);if(e.length===0){p(`Select at least one instance.`);return}let t=[];for(let[n,r]of e){if(r.port.trim()===``){t.push({id:n});continue}let e=G(r.port);if(e===void 0){p(`Port for ${n} must be an integer between 1 and 65535.`);return}t.push({id:n,port:e})}p(void 0),s(t)},t[6]=s,t[7]=l,t[8]=b):b=t[8];let x=b,S;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,W.jsx)(k,{children:`Register targets`}),t[9]=S):S=t[9];let w;t[10]===a?w=t[11]:(w=(0,W.jsxs)(N,{children:[S,(0,W.jsxs)(D,{children:[`Select instances to register. Leave port blank to use the target group port (`,a,`).`]})]}),t[10]=a,t[11]=w);let T;t[12]!==a||t[13]!==i||t[14]!==l?(T=i.length===0?(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances available in this VPC.`}):(0,W.jsx)(`div`,{className:`max-h-72 space-y-1 overflow-y-auto`,children:i.map(e=>{let t=e.InstanceId??``,n=l[t],r=n?.checked??!1,i=u(e.Tags);return(0,W.jsxs)(`div`,{className:`flex items-center gap-2 rounded px-1 py-1 text-xs hover:bg-accent`,children:[(0,W.jsx)(`input`,{"aria-label":`Register target ${t}`,checked:r,id:`register-target-${t}`,onChange:()=>_(t),type:`checkbox`}),(0,W.jsxs)(`label`,{className:`flex flex-1 items-center gap-2`,htmlFor:`register-target-${t}`,children:[(0,W.jsx)(`span`,{className:`font-mono`,children:t}),i&&(0,W.jsxs)(`span`,{className:`text-muted-foreground`,children:[`(`,i,`)`]}),(0,W.jsx)(`span`,{className:`text-muted-foreground`,children:e.State?.Name??``})]}),r&&(0,W.jsx)(C,{"aria-label":`Port override for ${t}`,className:`w-24`,onChange:e=>y(t,e.target.value),placeholder:String(a),value:n?.port??``})]},t)})}),t[12]=a,t[13]=i,t[14]=l,t[15]=T):T=t[15];let E;t[16]===f?E=t[17]:(E=f&&(0,W.jsx)(`p`,{className:`text-xs text-destructive`,role:`alert`,children:f}),t[16]=f,t[17]=E);let F;t[18]===o?F=t[19]:(F=(0,W.jsx)(M,{disabled:o,children:`Cancel`}),t[18]=o,t[19]=F);let I=o?`Registering…`:`Register`,L;t[20]!==x||t[21]!==o||t[22]!==I?(L=(0,W.jsx)(A,{disabled:o,onClick:x,children:I}),t[20]=x,t[21]=o,t[22]=I,t[23]=L):L=t[23];let R;t[24]!==F||t[25]!==L?(R=(0,W.jsxs)(j,{children:[F,L]}),t[24]=F,t[25]=L,t[26]=R):R=t[26];let z;t[27]!==E||t[28]!==R||t[29]!==w||t[30]!==T?(z=(0,W.jsxs)(O,{className:`sm:max-w-lg`,children:[w,T,E,R]}),t[27]=E,t[28]=R,t[29]=w,t[30]=T,t[31]=z):z=t[31];let B;return t[32]!==r||t[33]!==n||t[34]!==z?(B=(0,W.jsx)(P,{onOpenChange:r,open:n,children:z}),t[32]=r,t[33]=n,t[34]=z,t[35]=B):B=t[35],B}function q(e){let[,t]=e;return t.checked&&t!==void 0}var J=5e3,Y=new Set([`healthy`]),X=new Set([`unhealthy`,`unavailable`]),Z=new Set([`initial`,`draining`]);function Q(e){return e&&Y.has(e)?`bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-100`:e&&X.has(e)?`bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-100`:e&&Z.has(e)?`bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-100`:`bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-100`}function $(e){return`${e.Id??``}:${e.Port??``}`}function ee({targetGroupArn:r,vpcId:a,defaultPort:o,isActive:l}){let{data:u}=n(h),{data:d,isLoading:p,error:g}=t({...f(r),refetchInterval:l?J:!1,refetchIntervalInBackground:!1}),_=c(),v=s(),[y,b]=(0,U.useState)(!1),[x,C]=(0,U.useState)(),w=(u.Reservations?.flatMap(e=>e.Instances??[])??[]).filter(e=>e.VpcId===a&&e.State?.Name!==`terminated`),T=d?.TargetHealthDescriptions??[];return(0,W.jsxs)(`div`,{className:`space-y-3`,children:[_.error&&(0,W.jsx)(e,{error:_.error,msg:`Failed to register targets`}),v.error&&(0,W.jsx)(e,{error:v.error,msg:`Failed to deregister target`}),g&&(0,W.jsx)(e,{error:g,msg:`Failed to load target health`}),(0,W.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:p?`Loading target health…`:`${T.length} target${T.length===1?``:`s`}`}),(0,W.jsx)(S,{onClick:()=>b(!0),size:`sm`,children:`Register targets`})]}),T.length===0?(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`No targets registered.`}):(0,W.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,W.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,W.jsx)(`thead`,{children:(0,W.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Target`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Port`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`AZ`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Health`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Reason`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Description`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,W.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,W.jsx)(`tbody`,{children:T.map(e=>{let t=e.Target??{Id:``},n=e.TargetHealth?.State;return(0,W.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,W.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:t.Id??``}),(0,W.jsx)(`td`,{className:`px-4 py-2`,children:t.Port??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:t.AvailabilityZone??``}),(0,W.jsx)(`td`,{className:`px-4 py-2`,children:(0,W.jsx)(`span`,{className:m(`rounded-full px-2 py-0.5 text-xs`,Q(n)),children:n??`unknown`})}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:e.TargetHealth?.Reason??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:e.TargetHealth?.Description??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,W.jsx)(S,{"aria-label":`Deregister ${t.Id}`,onClick:()=>C(t),size:`sm`,variant:`ghost`,children:(0,W.jsx)(i,{className:`size-4`})})})]},$(t))})})]})}),(0,W.jsx)(K,{defaultPort:o,instances:w,isPending:_.isPending,onConfirm:async e=>{try{await _.mutateAsync({targetGroupArn:r,targets:e}),b(!1)}catch{}},onOpenChange:b,open:y}),(0,W.jsx)(F,{description:x?`Deregister ${x.Id}${x.Port?`:${x.Port}`:``} from this target group?`:``,isPending:v.isPending,onConfirm:async()=>{if(x?.Id)try{await v.mutateAsync({targetGroupArn:r,targets:[{id:x.Id,port:x.Port}]})}finally{C(void 0)}},onOpenChange:e=>!e&&C(void 0),open:x!==void 0,title:`Deregister target`})]})}function te({arn:t}){let s=b(),{data:c}=n(l(t)),{data:u}=n(v(t)),{data:d}=n(p([t])),f=o(),m=a(),[h,g]=(0,U.useState)(!1),[_,y]=(0,U.useState)(`overview`),x=c.TargetGroups?.[0];if(!x?.TargetGroupArn)return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`Target group not found.`})]});let C=async()=>{try{await f.mutateAsync(t),s({to:`/ec2/describe-target-groups`})}finally{g(!1)}},D=u.Attributes??[],O=d?.TagDescriptions?.find(e=>e.ResourceArn===t)?.Tags??[];return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),f.error&&(0,W.jsx)(e,{error:f.error,msg:`Failed to delete target group`}),(0,W.jsxs)(`div`,{className:`space-y-6`,children:[(0,W.jsx)(w,{actions:(0,W.jsxs)(S,{onClick:()=>g(!0),size:`sm`,variant:`destructive`,children:[(0,W.jsx)(i,{className:`size-4`}),`Delete`]}),subtitle:`Target group details`,title:x.TargetGroupName??x.TargetGroupArn}),(0,W.jsxs)(V,{onValueChange:y,value:_,children:[(0,W.jsxs)(R,{children:[(0,W.jsx)(L,{value:`overview`,children:`Overview`}),(0,W.jsx)(L,{value:`targets`,children:`Targets`}),(0,W.jsx)(L,{value:`health-checks`,children:`Health checks`}),(0,W.jsx)(L,{value:`attributes`,children:`Attributes`}),(0,W.jsx)(L,{value:`tags`,children:`Tags`})]}),(0,W.jsx)(z,{value:`overview`,children:(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Target group`}),(0,W.jsxs)(T.Content,{children:[(0,W.jsx)(E,{label:`ARN`,value:x.TargetGroupArn}),(0,W.jsx)(E,{label:`Protocol`,value:x.Protocol}),(0,W.jsx)(E,{label:`Port`,value:x.Port?.toString()}),(0,W.jsx)(E,{label:`VPC`,value:x.VpcId}),(0,W.jsx)(E,{label:`Target type`,value:x.TargetType}),(0,W.jsx)(E,{label:`Protocol version`,value:x.ProtocolVersion}),(0,W.jsx)(E,{label:`IP address type`,value:x.IpAddressType})]})]})}),(0,W.jsx)(z,{value:`targets`,children:(0,W.jsx)(ee,{defaultPort:x.Port??80,isActive:_===`targets`,targetGroupArn:x.TargetGroupArn,vpcId:x.VpcId})}),(0,W.jsxs)(z,{value:`health-checks`,children:[(0,W.jsx)(`p`,{className:`mb-3 text-sm text-muted-foreground`,children:`Health-check settings are set at creation time. Editing lands in a future slice (mulga-948).`}),(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Health check`}),(0,W.jsxs)(T.Content,{children:[(0,W.jsx)(E,{label:`Enabled`,value:x.HealthCheckEnabled===void 0?void 0:String(x.HealthCheckEnabled)}),(0,W.jsx)(E,{label:`Protocol`,value:x.HealthCheckProtocol}),(0,W.jsx)(E,{label:`Path`,value:x.HealthCheckPath}),(0,W.jsx)(E,{label:`Port`,value:x.HealthCheckPort}),(0,W.jsx)(E,{label:`Interval (s)`,value:x.HealthCheckIntervalSeconds?.toString()}),(0,W.jsx)(E,{label:`Timeout (s)`,value:x.HealthCheckTimeoutSeconds?.toString()}),(0,W.jsx)(E,{label:`Healthy threshold`,value:x.HealthyThresholdCount?.toString()}),(0,W.jsx)(E,{label:`Unhealthy threshold`,value:x.UnhealthyThresholdCount?.toString()}),(0,W.jsx)(E,{label:`Matcher (HTTP codes)`,value:x.Matcher?.HttpCode??x.Matcher?.GrpcCode})]})]})]}),(0,W.jsx)(z,{value:`attributes`,children:(0,W.jsx)(I,{attributes:D,error:m.error,isPending:m.isPending,isSuccess:m.isSuccess,onSubmit:e=>{m.mutate({targetGroupArn:t,attributes:e})},specs:B})}),(0,W.jsx)(z,{value:`tags`,children:O.length>0?(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Tags`}),(0,W.jsx)(T.Content,{children:O.map(e=>(0,W.jsx)(E,{label:e.Key??``,value:e.Value},e.Key??``))})]}):(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`No tags.`})})]})]}),(0,W.jsx)(F,{description:`Are you sure you want to delete target group "${x.TargetGroupName??x.TargetGroupArn}"? This action cannot be undone.`,isPending:f.isPending,onConfirm:C,onOpenChange:g,open:h,title:`Delete target group`})]})}function ne(){let e=(0,H.c)(2),{id:t}=y.useParams(),n=decodeURIComponent(t),r;return e[0]===n?r=e[1]:(r=(0,W.jsx)(te,{arn:n}),e[0]=n,e[1]=r),r}export{ne as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useQuery.js";import{t as n}from"./useSuspenseQuery.js";import{t as r}from"./back-link.js";import{t as i}from"./trash-2.js";import{l as a,o,s,u as c}from"./elbv2.js";import{A as l,Da as u,Do as d,M as f,O as p,Sa as m,V as h,co as g,eo as _,k as v,l as y,ro as b,so as x,ya as S,yi as C}from"./index.js";import{t as w}from"./page-heading.js";import{n as T,t as E}from"./detail-row.js";import{a as D,i as O,l as k,n as A,o as j,r as M,s as N,t as P}from"./alert-dialog.js";import{t as F}from"./delete-confirmation-dialog.js";import{a as I,i as L,n as R,r as z,s as B,t as V}from"./tabs.js";var H=_(),U=d(g(),1),W=x();function G(e){let t=e.trim();if(t===``)return;let n=Number(t);if(!(!Number.isInteger(n)||n<1||n>65535))return n}function K(e){let t=(0,H.c)(36),{open:n,onOpenChange:r,instances:i,defaultPort:a,isPending:o,onConfirm:s}=e,c;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(c={},t[0]=c):c=t[0];let[l,d]=(0,U.useState)(c),[f,p]=(0,U.useState)(),m,h;t[1]===n?(m=t[2],h=t[3]):(m=()=>{n||(d({}),p(void 0))},h=[n],t[1]=n,t[2]=m,t[3]=h),(0,U.useEffect)(m,h);let g;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(g=e=>{d(t=>{let n=t[e];return n?.checked?{...t,[e]:{...n,checked:!1}}:{...t,[e]:{checked:!0,port:n?.port??``}}})},t[4]=g):g=t[4];let _=g,v;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(v=(e,t)=>{d(n=>({...n,[e]:{checked:n[e]?.checked??!0,port:t}}))},t[5]=v):v=t[5];let y=v,b;t[6]!==s||t[7]!==l?(b=()=>{let e=Object.entries(l).filter(q);if(e.length===0){p(`Select at least one instance.`);return}let t=[];for(let[n,r]of e){if(r.port.trim()===``){t.push({id:n});continue}let e=G(r.port);if(e===void 0){p(`Port for ${n} must be an integer between 1 and 65535.`);return}t.push({id:n,port:e})}p(void 0),s(t)},t[6]=s,t[7]=l,t[8]=b):b=t[8];let x=b,S;t[9]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,W.jsx)(k,{children:`Register targets`}),t[9]=S):S=t[9];let w;t[10]===a?w=t[11]:(w=(0,W.jsxs)(N,{children:[S,(0,W.jsxs)(D,{children:[`Select instances to register. Leave port blank to use the target group port (`,a,`).`]})]}),t[10]=a,t[11]=w);let T;t[12]!==a||t[13]!==i||t[14]!==l?(T=i.length===0?(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances available in this VPC.`}):(0,W.jsx)(`div`,{className:`max-h-72 space-y-1 overflow-y-auto`,children:i.map(e=>{let t=e.InstanceId??``,n=l[t],r=n?.checked??!1,i=u(e.Tags);return(0,W.jsxs)(`div`,{className:`flex items-center gap-2 rounded px-1 py-1 text-xs hover:bg-accent`,children:[(0,W.jsx)(`input`,{"aria-label":`Register target ${t}`,checked:r,id:`register-target-${t}`,onChange:()=>_(t),type:`checkbox`}),(0,W.jsxs)(`label`,{className:`flex flex-1 items-center gap-2`,htmlFor:`register-target-${t}`,children:[(0,W.jsx)(`span`,{className:`font-mono`,children:t}),i&&(0,W.jsxs)(`span`,{className:`text-muted-foreground`,children:[`(`,i,`)`]}),(0,W.jsx)(`span`,{className:`text-muted-foreground`,children:e.State?.Name??``})]}),r&&(0,W.jsx)(C,{"aria-label":`Port override for ${t}`,className:`w-24`,onChange:e=>y(t,e.target.value),placeholder:String(a),value:n?.port??``})]},t)})}),t[12]=a,t[13]=i,t[14]=l,t[15]=T):T=t[15];let E;t[16]===f?E=t[17]:(E=f&&(0,W.jsx)(`p`,{className:`text-xs text-destructive`,role:`alert`,children:f}),t[16]=f,t[17]=E);let F;t[18]===o?F=t[19]:(F=(0,W.jsx)(M,{disabled:o,children:`Cancel`}),t[18]=o,t[19]=F);let I=o?`Registering…`:`Register`,L;t[20]!==x||t[21]!==o||t[22]!==I?(L=(0,W.jsx)(A,{disabled:o,onClick:x,children:I}),t[20]=x,t[21]=o,t[22]=I,t[23]=L):L=t[23];let R;t[24]!==F||t[25]!==L?(R=(0,W.jsxs)(j,{children:[F,L]}),t[24]=F,t[25]=L,t[26]=R):R=t[26];let z;t[27]!==E||t[28]!==R||t[29]!==w||t[30]!==T?(z=(0,W.jsxs)(O,{className:`sm:max-w-lg`,children:[w,T,E,R]}),t[27]=E,t[28]=R,t[29]=w,t[30]=T,t[31]=z):z=t[31];let B;return t[32]!==r||t[33]!==n||t[34]!==z?(B=(0,W.jsx)(P,{onOpenChange:r,open:n,children:z}),t[32]=r,t[33]=n,t[34]=z,t[35]=B):B=t[35],B}function q(e){let[,t]=e;return t.checked&&t!==void 0}var J=5e3,Y=new Set([`healthy`]),X=new Set([`unhealthy`,`unavailable`]),Z=new Set([`initial`,`draining`]);function Q(e){return e&&Y.has(e)?`bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-100`:e&&X.has(e)?`bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-100`:e&&Z.has(e)?`bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-100`:`bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-100`}function $(e){return`${e.Id??``}:${e.Port??``}`}function ee({targetGroupArn:r,vpcId:a,defaultPort:o,isActive:l}){let{data:u}=n(h),{data:d,isLoading:p,error:g}=t({...f(r),refetchInterval:l?J:!1,refetchIntervalInBackground:!1}),_=c(),v=s(),[y,b]=(0,U.useState)(!1),[x,C]=(0,U.useState)(),w=(u.Reservations?.flatMap(e=>e.Instances??[])??[]).filter(e=>e.VpcId===a&&e.State?.Name!==`terminated`),T=d?.TargetHealthDescriptions??[];return(0,W.jsxs)(`div`,{className:`space-y-3`,children:[_.error&&(0,W.jsx)(e,{error:_.error,msg:`Failed to register targets`}),v.error&&(0,W.jsx)(e,{error:v.error,msg:`Failed to deregister target`}),g&&(0,W.jsx)(e,{error:g,msg:`Failed to load target health`}),(0,W.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,W.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:p?`Loading target health…`:`${T.length} target${T.length===1?``:`s`}`}),(0,W.jsx)(S,{onClick:()=>b(!0),size:`sm`,children:`Register targets`})]}),T.length===0?(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`No targets registered.`}):(0,W.jsx)(`div`,{className:`overflow-x-auto rounded-lg border bg-card`,children:(0,W.jsxs)(`table`,{className:`w-full text-sm`,children:[(0,W.jsx)(`thead`,{children:(0,W.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Target`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Port`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`AZ`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Health`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Reason`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:`Description`}),(0,W.jsx)(`th`,{className:`px-4 py-2 font-medium`,children:(0,W.jsx)(`span`,{className:`sr-only`,children:`Actions`})})]})}),(0,W.jsx)(`tbody`,{children:T.map(e=>{let t=e.Target??{Id:``},n=e.TargetHealth?.State;return(0,W.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,W.jsx)(`td`,{className:`px-4 py-2 font-mono text-xs`,children:t.Id??``}),(0,W.jsx)(`td`,{className:`px-4 py-2`,children:t.Port??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:t.AvailabilityZone??``}),(0,W.jsx)(`td`,{className:`px-4 py-2`,children:(0,W.jsx)(`span`,{className:m(`rounded-full px-2 py-0.5 text-xs`,Q(n)),children:n??`unknown`})}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:e.TargetHealth?.Reason??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-xs`,children:e.TargetHealth?.Description??``}),(0,W.jsx)(`td`,{className:`px-4 py-2 text-right`,children:(0,W.jsx)(S,{"aria-label":`Deregister ${t.Id}`,onClick:()=>C(t),size:`sm`,variant:`ghost`,children:(0,W.jsx)(i,{className:`size-4`})})})]},$(t))})})]})}),(0,W.jsx)(K,{defaultPort:o,instances:w,isPending:_.isPending,onConfirm:async e=>{try{await _.mutateAsync({targetGroupArn:r,targets:e}),b(!1)}catch{}},onOpenChange:b,open:y}),(0,W.jsx)(F,{description:x?`Deregister ${x.Id}${x.Port?`:${x.Port}`:``} from this target group?`:``,isPending:v.isPending,onConfirm:async()=>{if(x?.Id)try{await v.mutateAsync({targetGroupArn:r,targets:[{id:x.Id,port:x.Port}]})}finally{C(void 0)}},onOpenChange:e=>!e&&C(void 0),open:x!==void 0,title:`Deregister target`})]})}function te({arn:t}){let s=b(),{data:c}=n(l(t)),{data:u}=n(v(t)),{data:d}=n(p([t])),f=o(),m=a(),[h,g]=(0,U.useState)(!1),[_,y]=(0,U.useState)(`overview`),x=c.TargetGroups?.[0];if(!x?.TargetGroupArn)return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`Target group not found.`})]});let C=async()=>{try{await f.mutateAsync(t),s({to:`/ec2/describe-target-groups`})}finally{g(!1)}},D=u.Attributes??[],O=d?.TagDescriptions?.find(e=>e.ResourceArn===t)?.Tags??[];return(0,W.jsxs)(W.Fragment,{children:[(0,W.jsx)(r,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),f.error&&(0,W.jsx)(e,{error:f.error,msg:`Failed to delete target group`}),(0,W.jsxs)(`div`,{className:`space-y-6`,children:[(0,W.jsx)(w,{actions:(0,W.jsxs)(S,{onClick:()=>g(!0),size:`sm`,variant:`destructive`,children:[(0,W.jsx)(i,{className:`size-4`}),`Delete`]}),subtitle:`Target Group Details`,title:x.TargetGroupName??x.TargetGroupArn}),(0,W.jsxs)(V,{onValueChange:y,value:_,children:[(0,W.jsxs)(R,{children:[(0,W.jsx)(L,{value:`overview`,children:`Overview`}),(0,W.jsx)(L,{value:`targets`,children:`Targets`}),(0,W.jsx)(L,{value:`health-checks`,children:`Health checks`}),(0,W.jsx)(L,{value:`attributes`,children:`Attributes`}),(0,W.jsx)(L,{value:`tags`,children:`Tags`})]}),(0,W.jsx)(z,{value:`overview`,children:(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Target group`}),(0,W.jsxs)(T.Content,{children:[(0,W.jsx)(E,{label:`ARN`,value:x.TargetGroupArn}),(0,W.jsx)(E,{label:`Protocol`,value:x.Protocol}),(0,W.jsx)(E,{label:`Port`,value:x.Port?.toString()}),(0,W.jsx)(E,{label:`VPC`,value:x.VpcId}),(0,W.jsx)(E,{label:`Target type`,value:x.TargetType}),(0,W.jsx)(E,{label:`Protocol version`,value:x.ProtocolVersion}),(0,W.jsx)(E,{label:`IP address type`,value:x.IpAddressType})]})]})}),(0,W.jsx)(z,{value:`targets`,children:(0,W.jsx)(ee,{defaultPort:x.Port??80,isActive:_===`targets`,targetGroupArn:x.TargetGroupArn,vpcId:x.VpcId})}),(0,W.jsxs)(z,{value:`health-checks`,children:[(0,W.jsx)(`p`,{className:`mb-3 text-sm text-muted-foreground`,children:`Health-check settings are set at creation time. Editing lands in a future slice (mulga-948).`}),(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Health check`}),(0,W.jsxs)(T.Content,{children:[(0,W.jsx)(E,{label:`Enabled`,value:x.HealthCheckEnabled===void 0?void 0:String(x.HealthCheckEnabled)}),(0,W.jsx)(E,{label:`Protocol`,value:x.HealthCheckProtocol}),(0,W.jsx)(E,{label:`Path`,value:x.HealthCheckPath}),(0,W.jsx)(E,{label:`Port`,value:x.HealthCheckPort}),(0,W.jsx)(E,{label:`Interval (s)`,value:x.HealthCheckIntervalSeconds?.toString()}),(0,W.jsx)(E,{label:`Timeout (s)`,value:x.HealthCheckTimeoutSeconds?.toString()}),(0,W.jsx)(E,{label:`Healthy threshold`,value:x.HealthyThresholdCount?.toString()}),(0,W.jsx)(E,{label:`Unhealthy threshold`,value:x.UnhealthyThresholdCount?.toString()}),(0,W.jsx)(E,{label:`Matcher (HTTP codes)`,value:x.Matcher?.HttpCode??x.Matcher?.GrpcCode})]})]})]}),(0,W.jsx)(z,{value:`attributes`,children:(0,W.jsx)(I,{attributes:D,error:m.error,isPending:m.isPending,isSuccess:m.isSuccess,onSubmit:e=>{m.mutate({targetGroupArn:t,attributes:e})},specs:B})}),(0,W.jsx)(z,{value:`tags`,children:O.length>0?(0,W.jsxs)(T,{children:[(0,W.jsx)(T.Header,{children:`Tags`}),(0,W.jsx)(T.Content,{children:O.map(e=>(0,W.jsx)(E,{label:e.Key??``,value:e.Value},e.Key??``))})]}):(0,W.jsx)(`p`,{className:`text-muted-foreground`,children:`No tags.`})})]})]}),(0,W.jsx)(F,{description:`Are you sure you want to delete target group "${x.TargetGroupName??x.TargetGroupArn}"? This action cannot be undone.`,isPending:f.isPending,onConfirm:C,onOpenChange:g,open:h,title:`Delete Target Group`})]})}function ne(){let e=(0,H.c)(2),{id:t}=y.useParams(),n=decodeURIComponent(t),r;return e[0]===n?r=e[1]:(r=(0,W.jsx)(te,{arn:n}),e[0]=n,e[1]=r),r}export{ne as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js index b80a3e0ac..7312c4ed5 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_policyArn.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{o as i}from"./iam.js";import{Do as a,Ta as o,b as s,co as c,eo as l,p as u,ro as d,so as f,y as p,ya as m}from"./index.js";import{t as h}from"./page-heading.js";import{n as g,t as _}from"./detail-row.js";import{t as v}from"./delete-confirmation-dialog.js";var y=a(c()),b=l(),x=f();function S(e){let t=(0,b.c)(4),{document:n}=e,r;try{let e;t[0]===n?e=t[1]:(e=JSON.stringify(JSON.parse(n),null,2),t[0]=n,t[1]=e),r=e}catch{r=n}let i;return t[2]===r?i=t[3]:(i=(0,x.jsx)(`pre`,{className:`overflow-auto rounded-md border bg-muted p-4 font-mono text-sm`,children:r}),t[2]=r,t[3]=i),i}function C(){let{policyArn:a}=u.useParams(),c=decodeURIComponent(a),l=d(),{data:f}=t(p(c)),b=f.Policy,C=i(),[w,T]=(0,y.useState)(!1),{data:E}=t(s(c,b?.DefaultVersionId??`v1`)),D=E?.PolicyVersion?.Document?decodeURIComponent(E.PolicyVersion.Document):null;return b?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n,{to:`/iam/list-policies`,children:`Back to policies`}),C.error&&(0,x.jsx)(e,{error:C.error,msg:`Failed to delete policy`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(h,{actions:(0,x.jsxs)(m,{onClick:()=>T(!0),size:`sm`,variant:`destructive`,children:[(0,x.jsx)(r,{className:`size-4`}),`Delete`]}),subtitle:`IAM Policy Details`,title:b.PolicyName??``}),(0,x.jsxs)(g,{children:[(0,x.jsx)(g.Header,{children:`Policy Information`}),(0,x.jsxs)(g.Content,{children:[(0,x.jsx)(_,{label:`Policy Name`,value:b.PolicyName}),(0,x.jsx)(_,{label:`Policy ID`,value:b.PolicyId}),(0,x.jsx)(_,{label:`ARN`,value:b.Arn}),(0,x.jsx)(_,{label:`Path`,value:b.Path}),(0,x.jsx)(_,{label:`Description`,value:b.Description??`-`}),(0,x.jsx)(_,{label:`Created`,value:o(b.CreateDate)})]})]}),D&&(0,x.jsxs)(g,{children:[(0,x.jsx)(g.Header,{children:`Policy Document`}),(0,x.jsx)(`div`,{className:`p-4`,children:(0,x.jsx)(S,{document:D})})]})]}),(0,x.jsx)(v,{description:`Are you sure you want to delete the policy "${b.PolicyName}"? This action cannot be undone.`,isPending:C.isPending,onConfirm:async()=>{try{await C.mutateAsync(c),l({to:`/iam/list-policies`})}finally{T(!1)}},onOpenChange:T,open:w,title:`Delete Policy`})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n,{to:`/iam/list-policies`,children:`Back to policies`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{C as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./trash-2.js";import{o as i}from"./iam.js";import{Do as a,Ta as o,b as s,co as c,eo as l,p as u,ro as d,so as f,y as p,ya as m}from"./index.js";import{t as h}from"./page-heading.js";import{n as g,t as _}from"./detail-row.js";import{t as v}from"./delete-confirmation-dialog.js";var y=a(c()),b=l(),x=f();function S(e){let t=(0,b.c)(4),{document:n}=e,r;try{let e;t[0]===n?e=t[1]:(e=JSON.stringify(JSON.parse(n),null,2),t[0]=n,t[1]=e),r=e}catch{r=n}let i;return t[2]===r?i=t[3]:(i=(0,x.jsx)(`pre`,{className:`overflow-auto rounded-md border bg-muted p-4 font-mono text-sm`,children:r}),t[2]=r,t[3]=i),i}function C(){let{policyArn:a}=u.useParams(),c=decodeURIComponent(a),l=d(),{data:f}=t(p(c)),b=f.Policy,C=i(),[w,T]=(0,y.useState)(!1),{data:E}=t(s(c,b?.DefaultVersionId??`v1`)),D=E?.PolicyVersion?.Document?decodeURIComponent(E.PolicyVersion.Document):null;return b?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n,{to:`/iam/list-policies`,children:`Back to policies`}),C.error&&(0,x.jsx)(e,{error:C.error,msg:`Failed to delete policy`}),(0,x.jsxs)(`div`,{className:`space-y-6`,children:[(0,x.jsx)(h,{actions:(0,x.jsxs)(m,{onClick:()=>T(!0),size:`sm`,variant:`destructive`,children:[(0,x.jsx)(r,{className:`size-4`}),`Delete`]}),subtitle:`Policy Details`,title:b.PolicyName??``}),(0,x.jsxs)(g,{children:[(0,x.jsx)(g.Header,{children:`Policy Information`}),(0,x.jsxs)(g.Content,{children:[(0,x.jsx)(_,{label:`Policy Name`,value:b.PolicyName}),(0,x.jsx)(_,{label:`Policy ID`,value:b.PolicyId}),(0,x.jsx)(_,{label:`ARN`,value:b.Arn}),(0,x.jsx)(_,{label:`Path`,value:b.Path}),(0,x.jsx)(_,{label:`Description`,value:b.Description??`-`}),(0,x.jsx)(_,{label:`Created`,value:o(b.CreateDate)})]})]}),D&&(0,x.jsxs)(g,{children:[(0,x.jsx)(g.Header,{children:`Policy Document`}),(0,x.jsx)(`div`,{className:`p-4`,children:(0,x.jsx)(S,{document:D})})]})]}),(0,x.jsx)(v,{description:`Are you sure you want to delete the policy "${b.PolicyName}"? This action cannot be undone.`,isPending:C.isPending,onConfirm:async()=>{try{await C.mutateAsync(c),l({to:`/iam/list-policies`})}finally{T(!1)}},onOpenChange:T,open:w,title:`Delete Policy`})]}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(n,{to:`/iam/list-policies`,children:`Back to policies`}),(0,x.jsx)(`p`,{className:`text-muted-foreground`,children:`Policy not found.`})]})}export{C as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/_userName.js b/spinifex/services/spinifexui/frontend/dist/assets/_userName.js index 656e202b2..005a6e816 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/_userName.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/_userName.js @@ -1 +1 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./check.js";import{t as i}from"./trash-2.js";import{t as a}from"./triangle-alert.js";import{a as o,c as s,l as c,n as l,s as u,t as d}from"./iam.js";import{Do as f,Ta as p,_ as m,co as h,eo as g,g as _,m as v,ro as y,so as b,v as x,x as S,ya as C}from"./index.js";import{t as w}from"./page-heading.js";import{t as T}from"./state-badge.js";import{n as E,t as D}from"./detail-row.js";import{a as O,c as k,i as A,l as j,o as M,r as N,s as P,t as F}from"./alert-dialog.js";import{t as I}from"./delete-confirmation-dialog.js";import{t as L}from"./use-copy-to-clipboard.js";var R=f(h()),z=g(),B=b();function V(e){let t=(0,z.c)(27),{onClose:n,accessKeyId:i,secretAccessKey:o}=e,{copied:s,copy:c}=L(),l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,B.jsxs)(P,{children:[(0,B.jsx)(k,{children:(0,B.jsx)(a,{className:`text-destructive`})}),(0,B.jsx)(j,{children:`Save Your Access Key`}),(0,B.jsx)(O,{children:`This is your only chance to view the secret access key. Please copy it now. You won't be able to retrieve it again.`})]}),t[0]=l):l=t[0];let u;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,B.jsx)(`span`,{className:`text-muted-foreground`,children:`Access Key ID: `}),t[1]=u):u=t[1];let d;t[2]===i?d=t[3]:(d=(0,B.jsxs)(`div`,{children:[u,i]}),t[2]=i,t[3]=d);let f;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,B.jsx)(`span`,{className:`text-muted-foreground`,children:`Secret Access Key: `}),t[4]=f):f=t[4];let p;t[5]===o?p=t[6]:(p=(0,B.jsxs)(`div`,{children:[f,o]}),t[5]=o,t[6]=p);let m;t[7]!==d||t[8]!==p?(m=(0,B.jsxs)(`div`,{className:`space-y-2 rounded-md border p-4 font-mono text-sm`,children:[d,p]}),t[7]=d,t[8]=p,t[9]=m):m=t[9];let h;t[10]!==i||t[11]!==c||t[12]!==o?(h=async()=>await c(`Access Key ID: ${i}\nSecret Access Key: ${o}`),t[10]=i,t[11]=c,t[12]=o,t[13]=h):h=t[13];let g;t[14]===s?g=t[15]:(g=s?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(r,{className:`mr-2 size-4`}),`Copied!`]}):`Copy to Clipboard`,t[14]=s,t[15]=g);let _;t[16]!==h||t[17]!==g?(_=(0,B.jsx)(C,{className:`w-full`,onClick:h,type:`button`,variant:`outline`,children:g}),t[16]=h,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==m||t[20]!==_?(v=(0,B.jsxs)(`div`,{className:`space-y-3`,children:[m,_]}),t[19]=m,t[20]=_,t[21]=v):v=t[21];let y;t[22]===n?y=t[23]:(y=(0,B.jsx)(M,{children:(0,B.jsx)(N,{onClick:n,children:`Close and Continue`})}),t[22]=n,t[23]=y);let b;return t[24]!==v||t[25]!==y?(b=(0,B.jsx)(F,{open:!0,children:(0,B.jsxs)(A,{className:`max-w-2xl`,children:[l,v,y]})}),t[24]=v,t[25]=y,t[26]=b):b=t[26],b}function H(){let{userName:r}=v.useParams(),a=y(),{data:f}=t(S(r)),{data:h}=t(_(r)),{data:g}=t(m(r)),{data:b}=t(x),O=u(),k=l(),A=o(),j=c(),M=d(),N=s(),[P,F]=(0,R.useState)(!1),[L,z]=(0,R.useState)(null),[H,U]=(0,R.useState)(!1),[W,G]=(0,R.useState)(null),[K,q]=(0,R.useState)(null),J=f.User,Y=h.AccessKeyMetadata??[],X=g.AttachedPolicies??[],Z=b.Policies??[],Q=new Set(X.map(e=>e.PolicyArn)),$=Z.filter(e=>e.Arn&&!Q.has(e.Arn)),ee=async()=>{try{await O.mutateAsync(r),a({to:`/iam/list-users`})}finally{F(!1)}},te=async()=>{let e=await k.mutateAsync(r);e.AccessKey&&z({accessKeyId:e.AccessKey.AccessKeyId??``,secretAccessKey:e.AccessKey.SecretAccessKey??``})},ne=async e=>{if(e.AccessKeyId){G(e.AccessKeyId);try{await j.mutateAsync({userName:r,accessKeyId:e.AccessKeyId,status:e.Status===`Active`?`Inactive`:`Active`})}finally{G(null)}}},re=async e=>{G(e);try{await A.mutateAsync({userName:r,accessKeyId:e})}finally{G(null)}},ie=async e=>{await M.mutateAsync({userName:r,policyArn:e}),U(!1)},ae=async e=>{q(e);try{await N.mutateAsync({userName:r,policyArn:e})}finally{q(null)}};return J?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(n,{to:`/iam/list-users`,children:`Back to users`}),O.error&&(0,B.jsx)(e,{error:O.error,msg:`Failed to delete user`}),k.error&&(0,B.jsx)(e,{error:k.error,msg:`Failed to create access key`}),A.error&&(0,B.jsx)(e,{error:A.error,msg:`Failed to delete access key`}),M.error&&(0,B.jsx)(e,{error:M.error,msg:`Failed to attach policy`}),N.error&&(0,B.jsx)(e,{error:N.error,msg:`Failed to detach policy`}),(0,B.jsxs)(`div`,{className:`space-y-6`,children:[(0,B.jsx)(w,{actions:(0,B.jsxs)(C,{onClick:()=>F(!0),size:`sm`,variant:`destructive`,children:[(0,B.jsx)(i,{className:`size-4`}),`Delete`]}),subtitle:`IAM User Details`,title:J.UserName??``}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:`User Information`}),(0,B.jsxs)(E.Content,{children:[(0,B.jsx)(D,{label:`User Name`,value:J.UserName}),(0,B.jsx)(D,{label:`User ID`,value:J.UserId}),(0,B.jsx)(D,{label:`ARN`,value:J.Arn}),(0,B.jsx)(D,{label:`Path`,value:J.Path}),(0,B.jsx)(D,{label:`Created`,value:p(J.CreateDate)})]})]}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Access Keys`}),(0,B.jsx)(C,{disabled:k.isPending,onClick:te,size:`sm`,children:k.isPending?`Creating...`:`Create Access Key`})]})}),(0,B.jsx)(E.Content,{children:Y.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:Y.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`font-mono text-sm`,children:e.AccessKeyId}),(0,B.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Created `,p(e.CreateDate)]})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(T,{state:e.Status}),(0,B.jsx)(C,{disabled:W===e.AccessKeyId,onClick:async()=>await ne(e),size:`sm`,variant:`outline`,children:e.Status===`Active`?`Deactivate`:`Activate`}),(0,B.jsx)(C,{disabled:W===e.AccessKeyId,onClick:()=>{e.AccessKeyId&&re(e.AccessKeyId)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},e.AccessKeyId))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No access keys.`})})]}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Attached Policies`}),(0,B.jsx)(C,{onClick:()=>U(!H),size:`sm`,children:`Attach Policy`})]})}),(0,B.jsxs)(E.Content,{children:[H&&$.length>0&&(0,B.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a policy to attach:`}),(0,B.jsx)(`div`,{className:`space-y-1`,children:$.map(e=>(0,B.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:M.isPending,onClick:()=>{e.Arn&&ie(e.Arn)},type:`button`,children:[(0,B.jsx)(`span`,{children:e.PolicyName}),(0,B.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.Arn))})]}),H&&$.length===0&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No policies available to attach.`}),X.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:X.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e.PolicyName}),(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.PolicyArn})]}),(0,B.jsx)(C,{disabled:K===e.PolicyArn,onClick:()=>{e.PolicyArn&&ae(e.PolicyArn)},size:`sm`,variant:`outline`,children:`Detach`})]},e.PolicyArn))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No attached policies.`})]})]})]}),(0,B.jsx)(I,{description:`Are you sure you want to delete the user "${r}"? This action cannot be undone. You must detach all policies and delete all access keys first.`,isPending:O.isPending,onConfirm:ee,onOpenChange:F,open:P,title:`Delete User`}),L&&(0,B.jsx)(V,{accessKeyId:L.accessKeyId,onClose:()=>z(null),secretAccessKey:L.secretAccessKey})]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(n,{to:`/iam/list-users`,children:`Back to users`}),(0,B.jsx)(`p`,{className:`text-muted-foreground`,children:`User not found.`})]})}export{H as component}; \ No newline at end of file +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./check.js";import{t as i}from"./trash-2.js";import{t as a}from"./triangle-alert.js";import{a as o,c as s,l as c,n as l,s as u,t as d}from"./iam.js";import{Do as f,Ta as p,_ as m,co as h,eo as g,g as _,m as v,ro as y,so as b,v as x,x as S,ya as C}from"./index.js";import{t as w}from"./page-heading.js";import{t as T}from"./state-badge.js";import{n as E,t as D}from"./detail-row.js";import{a as O,c as k,i as A,l as j,o as M,r as N,s as P,t as F}from"./alert-dialog.js";import{t as I}from"./delete-confirmation-dialog.js";import{t as L}from"./use-copy-to-clipboard.js";var R=f(h()),z=g(),B=b();function V(e){let t=(0,z.c)(27),{onClose:n,accessKeyId:i,secretAccessKey:o}=e,{copied:s,copy:c}=L(),l;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,B.jsxs)(P,{children:[(0,B.jsx)(k,{children:(0,B.jsx)(a,{className:`text-destructive`})}),(0,B.jsx)(j,{children:`Save Your Access Key`}),(0,B.jsx)(O,{children:`This is your only chance to view the secret access key. Please copy it now. You won't be able to retrieve it again.`})]}),t[0]=l):l=t[0];let u;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,B.jsx)(`span`,{className:`text-muted-foreground`,children:`Access Key ID: `}),t[1]=u):u=t[1];let d;t[2]===i?d=t[3]:(d=(0,B.jsxs)(`div`,{children:[u,i]}),t[2]=i,t[3]=d);let f;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,B.jsx)(`span`,{className:`text-muted-foreground`,children:`Secret Access Key: `}),t[4]=f):f=t[4];let p;t[5]===o?p=t[6]:(p=(0,B.jsxs)(`div`,{children:[f,o]}),t[5]=o,t[6]=p);let m;t[7]!==d||t[8]!==p?(m=(0,B.jsxs)(`div`,{className:`space-y-2 rounded-md border p-4 font-mono text-sm`,children:[d,p]}),t[7]=d,t[8]=p,t[9]=m):m=t[9];let h;t[10]!==i||t[11]!==c||t[12]!==o?(h=async()=>await c(`Access Key ID: ${i}\nSecret Access Key: ${o}`),t[10]=i,t[11]=c,t[12]=o,t[13]=h):h=t[13];let g;t[14]===s?g=t[15]:(g=s?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(r,{className:`mr-2 size-4`}),`Copied!`]}):`Copy to Clipboard`,t[14]=s,t[15]=g);let _;t[16]!==h||t[17]!==g?(_=(0,B.jsx)(C,{className:`w-full`,onClick:h,type:`button`,variant:`outline`,children:g}),t[16]=h,t[17]=g,t[18]=_):_=t[18];let v;t[19]!==m||t[20]!==_?(v=(0,B.jsxs)(`div`,{className:`space-y-3`,children:[m,_]}),t[19]=m,t[20]=_,t[21]=v):v=t[21];let y;t[22]===n?y=t[23]:(y=(0,B.jsx)(M,{children:(0,B.jsx)(N,{onClick:n,children:`Close and Continue`})}),t[22]=n,t[23]=y);let b;return t[24]!==v||t[25]!==y?(b=(0,B.jsx)(F,{open:!0,children:(0,B.jsxs)(A,{className:`max-w-2xl`,children:[l,v,y]})}),t[24]=v,t[25]=y,t[26]=b):b=t[26],b}function H(){let{userName:r}=v.useParams(),a=y(),{data:f}=t(S(r)),{data:h}=t(_(r)),{data:g}=t(m(r)),{data:b}=t(x),O=u(),k=l(),A=o(),j=c(),M=d(),N=s(),[P,F]=(0,R.useState)(!1),[L,z]=(0,R.useState)(null),[H,U]=(0,R.useState)(!1),[W,G]=(0,R.useState)(null),[K,q]=(0,R.useState)(null),J=f.User,Y=h.AccessKeyMetadata??[],X=g.AttachedPolicies??[],Z=b.Policies??[],Q=new Set(X.map(e=>e.PolicyArn)),$=Z.filter(e=>e.Arn&&!Q.has(e.Arn)),ee=async()=>{try{await O.mutateAsync(r),a({to:`/iam/list-users`})}finally{F(!1)}},te=async()=>{let e=await k.mutateAsync(r);e.AccessKey&&z({accessKeyId:e.AccessKey.AccessKeyId??``,secretAccessKey:e.AccessKey.SecretAccessKey??``})},ne=async e=>{if(e.AccessKeyId){G(e.AccessKeyId);try{await j.mutateAsync({userName:r,accessKeyId:e.AccessKeyId,status:e.Status===`Active`?`Inactive`:`Active`})}finally{G(null)}}},re=async e=>{G(e);try{await A.mutateAsync({userName:r,accessKeyId:e})}finally{G(null)}},ie=async e=>{await M.mutateAsync({userName:r,policyArn:e}),U(!1)},ae=async e=>{q(e);try{await N.mutateAsync({userName:r,policyArn:e})}finally{q(null)}};return J?(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(n,{to:`/iam/list-users`,children:`Back to users`}),O.error&&(0,B.jsx)(e,{error:O.error,msg:`Failed to delete user`}),k.error&&(0,B.jsx)(e,{error:k.error,msg:`Failed to create access key`}),A.error&&(0,B.jsx)(e,{error:A.error,msg:`Failed to delete access key`}),M.error&&(0,B.jsx)(e,{error:M.error,msg:`Failed to attach policy`}),N.error&&(0,B.jsx)(e,{error:N.error,msg:`Failed to detach policy`}),(0,B.jsxs)(`div`,{className:`space-y-6`,children:[(0,B.jsx)(w,{actions:(0,B.jsxs)(C,{onClick:()=>F(!0),size:`sm`,variant:`destructive`,children:[(0,B.jsx)(i,{className:`size-4`}),`Delete`]}),subtitle:`User Details`,title:J.UserName??``}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:`User Information`}),(0,B.jsxs)(E.Content,{children:[(0,B.jsx)(D,{label:`User Name`,value:J.UserName}),(0,B.jsx)(D,{label:`User ID`,value:J.UserId}),(0,B.jsx)(D,{label:`ARN`,value:J.Arn}),(0,B.jsx)(D,{label:`Path`,value:J.Path}),(0,B.jsx)(D,{label:`Created`,value:p(J.CreateDate)})]})]}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Access Keys`}),(0,B.jsx)(C,{disabled:k.isPending,onClick:te,size:`sm`,children:k.isPending?`Creating...`:`Create Access Key`})]})}),(0,B.jsx)(E.Content,{children:Y.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:Y.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`font-mono text-sm`,children:e.AccessKeyId}),(0,B.jsxs)(`p`,{className:`text-xs text-muted-foreground`,children:[`Created `,p(e.CreateDate)]})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(T,{state:e.Status}),(0,B.jsx)(C,{disabled:W===e.AccessKeyId,onClick:async()=>await ne(e),size:`sm`,variant:`outline`,children:e.Status===`Active`?`Deactivate`:`Activate`}),(0,B.jsx)(C,{disabled:W===e.AccessKeyId,onClick:()=>{e.AccessKeyId&&re(e.AccessKeyId)},size:`sm`,variant:`destructive`,children:`Delete`})]})]},e.AccessKeyId))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No access keys.`})})]}),(0,B.jsxs)(E,{children:[(0,B.jsx)(E.Header,{children:(0,B.jsxs)(`div`,{className:`flex items-center justify-between`,children:[(0,B.jsx)(`span`,{children:`Attached Policies`}),(0,B.jsx)(C,{onClick:()=>U(!H),size:`sm`,children:`Attach Policy`})]})}),(0,B.jsxs)(E.Content,{children:[H&&$.length>0&&(0,B.jsxs)(`div`,{className:`col-span-2 space-y-2 rounded-md border p-3`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:`Select a policy to attach:`}),(0,B.jsx)(`div`,{className:`space-y-1`,children:$.map(e=>(0,B.jsxs)(`button`,{className:`flex w-full items-center justify-between rounded-md p-2 text-left text-sm hover:bg-accent`,disabled:M.isPending,onClick:()=>{e.Arn&&ie(e.Arn)},type:`button`,children:[(0,B.jsx)(`span`,{children:e.PolicyName}),(0,B.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:e.Arn})]},e.Arn))})]}),H&&$.length===0&&(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No policies available to attach.`}),X.length>0?(0,B.jsx)(`div`,{className:`col-span-2 space-y-3`,children:X.map(e=>(0,B.jsxs)(`div`,{className:`flex items-center justify-between rounded-md border p-3`,children:[(0,B.jsxs)(`div`,{className:`space-y-1`,children:[(0,B.jsx)(`p`,{className:`text-sm font-medium`,children:e.PolicyName}),(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:e.PolicyArn})]}),(0,B.jsx)(C,{disabled:K===e.PolicyArn,onClick:()=>{e.PolicyArn&&ae(e.PolicyArn)},size:`sm`,variant:`outline`,children:`Detach`})]},e.PolicyArn))}):(0,B.jsx)(`p`,{className:`col-span-2 text-sm text-muted-foreground`,children:`No attached policies.`})]})]})]}),(0,B.jsx)(I,{description:`Are you sure you want to delete the user "${r}"? This action cannot be undone. You must detach all policies and delete all access keys first.`,isPending:O.isPending,onConfirm:ee,onOpenChange:F,open:P,title:`Delete User`}),L&&(0,B.jsx)(V,{accessKeyId:L.accessKeyId,onClose:()=>z(null),secretAccessKey:L.secretAccessKey})]}):(0,B.jsxs)(B.Fragment,{children:[(0,B.jsx)(n,{to:`/iam/list-users`,children:`Back to users`}),(0,B.jsx)(`p`,{className:`text-muted-foreground`,children:`User not found.`})]})}export{H as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-load-balancer.js b/spinifex/services/spinifexui/frontend/dist/assets/create-load-balancer.js index a7baf312a..85284ec66 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-load-balancer.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-load-balancer.js @@ -1,4 +1,4 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./plus.js";import{t as l}from"./cli-command-panel.js";import{t as u}from"./trash-2.js";import{n as d}from"./elbv2.js";import{Da as f,Do as p,J as m,Q as h,co as g,j as _,nt as v,ro as y,so as b,ya as x,yi as S}from"./index.js";import{t as ee}from"./page-heading.js";import{a as C,r as w,t as T}from"./field.js";import{n as E,r as D,t as O}from"./zod.js";import{t as te}from"./form-actions.js";import{t as ne}from"./target-group-form.js";import{n as re,r as ie}from"./elbv22.js";var k=p(g(),1),A=b();function j(e){let t=f(e.Tags);return t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`}function M(e){let t=f(e.Tags);return`${t?`${e.SubnetId} (${t})`:e.SubnetId} · ${e.CidrBlock}`}function ae(e){let t=new Map;for(let n of e){let e=n.AvailabilityZone??`unknown`,r=t.get(e)??[];r.push(n),t.set(e,r)}return[...t.entries()].toSorted((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>({az:e,subnets:t}))}function N(){let f=y(),{data:p}=t(v),{data:g}=t(h),{data:b}=t(m),{data:N}=t(_),P=d(),[F,I]=(0,k.useState)(null),L=p.Vpcs??[],se=g.Subnets??[],ce=b.SecurityGroups??[],R=N.TargetGroups??[],z=D({resolver:O(re),defaultValues:{name:``,scheme:`internet-facing`,vpcId:L[0]?.VpcId??``,subnetIds:[],securityGroupIds:[],tags:[],listener:{protocol:`HTTP`,port:80,targetGroupMode:`new`,existingTargetGroupArn:``}}}),B=D({resolver:O(ie),defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:L[0]?.VpcId??``,healthCheck:{protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},tags:[]}}),{handleSubmit:V,register:H,watch:U,control:W,setValue:G,getValues:K,formState:{errors:q,isSubmitting:le}}=z,J=U(`vpcId`),ue=U(`subnetIds`),de=U(`securityGroupIds`),Y=U(`listener.targetGroupMode`),fe=U(`tags`),X=se.filter(e=>e.VpcId===J),Z=ce.filter(e=>e.VpcId===J),Q=R.filter(e=>e.VpcId===J),pe=(e=``)=>{let t=e??``;G(`vpcId`,t,{shouldValidate:!0}),G(`subnetIds`,[],{shouldValidate:!0}),G(`securityGroupIds`,[]),G(`listener.existingTargetGroupArn`,``),B.setValue(`vpcId`,t)},me=e=>{let t=K(`subnetIds`);G(`subnetIds`,t.includes(e)?t.filter(t=>t!==e):[...t,e],{shouldValidate:!0})},he=e=>{let t=K(`securityGroupIds`);G(`securityGroupIds`,t.includes(e)?t.filter(t=>t!==e):[...t,e])},ge=async e=>{I(null);let t;if(e.listener.targetGroupMode===`new`){if(!await B.trigger())return;t=B.getValues()}let n=await P.mutateAsync({lb:{name:e.name,scheme:e.scheme,vpcId:e.vpcId,subnetIds:e.subnetIds,securityGroupIds:e.securityGroupIds,tags:e.tags},listener:{protocol:e.listener.protocol,port:e.listener.port,targetGroupMode:e.listener.targetGroupMode,existingTargetGroupArn:e.listener.existingTargetGroupArn,newTargetGroup:t}});I(n),!n.error&&n.loadBalancerArn&&f({to:`/ec2/describe-load-balancers/$id`,params:{id:encodeURIComponent(n.loadBalancerArn)}})},$=ae(X);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),(0,A.jsx)(ee,{title:`Create load balancer`}),P.error&&(0,A.jsx)(e,{error:P.error,msg:`Failed to create load balancer`}),F?.error&&(0,A.jsxs)(`div`,{className:`mb-6 max-w-4xl rounded-md border border-destructive bg-destructive/10 p-4`,children:[(0,A.jsxs)(`h2`,{className:`text-sm font-medium text-destructive`,children:[`Wizard failed: `,F.failedStep]}),(0,A.jsx)(`p`,{className:`mt-1 text-sm text-destructive`,children:F.error.message}),F.created.length>0&&(0,A.jsxs)(`div`,{className:`mt-3`,children:[(0,A.jsx)(`p`,{className:`text-xs font-medium text-destructive`,children:`Successfully created resources (clean up manually if needed):`}),(0,A.jsx)(`ul`,{className:`mt-1 list-inside list-disc text-xs text-destructive`,children:F.created.map((e,t)=>(0,A.jsxs)(`li`,{children:[e.type,`: `,e.id??`(created)`]},t))})]})]}),(0,A.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:V(ge),children:[(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`lb-name`,children:`Name`})}),(0,A.jsx)(S,{"aria-invalid":!!q.name,id:`lb-name`,placeholder:`my-load-balancer`,...H(`name`)}),(0,A.jsx)(w,{errors:[q.name]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Scheme`}),(0,A.jsx)(E,{control:W,name:`scheme`,render:({field:e})=>(0,A.jsxs)(`div`,{className:`flex gap-4`,children:[(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Internet-facing`,checked:e.value===`internet-facing`,name:`scheme`,onChange:()=>e.onChange(`internet-facing`),type:`radio`}),`Internet-facing`]}),(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Internal`,checked:e.value===`internal`,name:`scheme`,onChange:()=>e.onChange(`internal`),type:`radio`}),`Internal`]})]})})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`lb-vpc`,children:`VPC`})}),(0,A.jsx)(E,{control:W,name:`vpcId`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e=>pe(e),value:e.value??``,children:[(0,A.jsx)(i,{"aria-invalid":!!q.vpcId,className:`w-full`,id:`lb-vpc`,children:(0,A.jsx)(r,{placeholder:`Select VPC`})}),(0,A.jsx)(a,{children:L.map(e=>(0,A.jsx)(o,{value:e.VpcId??``,children:j(e)},e.VpcId))})]})}),(0,A.jsx)(w,{errors:[q.vpcId]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Subnets (select at least 2)`}),$.length===0?(0,A.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No subnets in the selected VPC.`}):(0,A.jsx)(`div`,{className:`space-y-3`,children:$.map(e=>(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`mb-1 text-xs font-medium text-muted-foreground`,children:e.az}),(0,A.jsx)(`div`,{className:`space-y-1`,children:e.subnets.map(e=>(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Subnet ${M(e)}`,checked:ue.includes(e.SubnetId??``),onChange:()=>me(e.SubnetId??``),type:`checkbox`}),(0,A.jsx)(`span`,{className:`font-mono`,children:M(e)})]},e.SubnetId))})]},e.az))}),(0,A.jsx)(w,{errors:[q.subnetIds]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Security groups`}),Z.length===0?(0,A.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No security groups in the selected VPC.`}):(0,A.jsx)(`div`,{className:`space-y-1`,children:Z.map(e=>(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Security group ${e.GroupId} (${e.GroupName})`,checked:de.includes(e.GroupId??``),onChange:()=>he(e.GroupId??``),type:`checkbox`}),(0,A.jsxs)(`span`,{className:`font-mono`,children:[e.GroupId,` (`,e.GroupName,`)`]})]},e.GroupId))})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Tags`}),(0,A.jsxs)(`div`,{className:`space-y-2`,children:[fe.map((e,t)=>(0,A.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,A.jsx)(S,{placeholder:`Key`,...H(`tags.${t}.key`)}),(0,A.jsx)(S,{placeholder:`Value`,...H(`tags.${t}.value`)}),(0,A.jsx)(x,{onClick:()=>G(`tags`,K(`tags`).filter((e,n)=>n!==t)),size:`icon`,type:`button`,variant:`ghost`,children:(0,A.jsx)(u,{className:`size-3.5`})})]},t)),(0,A.jsxs)(x,{onClick:()=>G(`tags`,[...K(`tags`),{key:``,value:``}]),size:`sm`,type:`button`,variant:`outline`,children:[(0,A.jsx)(c,{className:`size-3.5`}),`Add tag`]})]})]}),(0,A.jsxs)(`div`,{className:`space-y-4 rounded-md border bg-card p-4`,children:[(0,A.jsx)(`h2`,{className:`text-sm font-semibold`,children:`First listener & default target group`}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`listener-protocol`,children:`Protocol`})}),(0,A.jsx)(E,{control:W,name:`listener.protocol`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e.onChange,value:e.value,children:[(0,A.jsx)(i,{className:`w-full`,id:`listener-protocol`,children:(0,A.jsx)(r,{})}),(0,A.jsx)(a,{children:(0,A.jsx)(o,{value:`HTTP`,children:`HTTP`})})]})})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`listener-port`,children:`Port`})}),(0,A.jsx)(S,{"aria-invalid":!!q.listener?.port,id:`listener-port`,inputMode:`numeric`,type:`number`,...H(`listener.port`,{valueAsNumber:!0})}),(0,A.jsx)(w,{errors:[q.listener?.port]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Default target group`}),(0,A.jsx)(E,{control:W,name:`listener.targetGroupMode`,render:({field:e})=>(0,A.jsxs)(`div`,{className:`flex gap-4`,children:[(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Create new target group`,checked:e.value===`new`,name:`tg-mode`,onChange:()=>e.onChange(`new`),type:`radio`}),`Create new`]}),(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Use existing target group`,checked:e.value===`existing`,name:`tg-mode`,onChange:()=>e.onChange(`existing`),type:`radio`}),`Use existing`]})]})})]}),Y===`existing`&&(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`tg-existing`,children:`Target group`})}),(0,A.jsx)(E,{control:W,name:`listener.existingTargetGroupArn`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e.onChange,value:e.value??``,children:[(0,A.jsx)(i,{"aria-invalid":!!q.listener?.existingTargetGroupArn,className:`w-full`,id:`tg-existing`,children:(0,A.jsx)(r,{placeholder:`Select target group`})}),(0,A.jsx)(a,{children:Q.map(e=>(0,A.jsxs)(o,{value:e.TargetGroupArn??``,children:[e.TargetGroupName,` · `,e.Protocol,`:`,e.Port]},e.TargetGroupArn))})]})}),(0,A.jsx)(w,{errors:[q.listener?.existingTargetGroupArn]}),Q.length===0&&(0,A.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:`No target groups in this VPC. Choose “Create new” instead.`})]}),Y===`new`&&(0,A.jsx)(`div`,{className:`space-y-4 border-l-2 border-muted pl-4`,children:(0,A.jsx)(ne,{form:B,vpcs:L})})]}),(0,A.jsx)(l,{commands:oe(U,B.watch)}),(0,A.jsx)(te,{isPending:P.isPending,isSubmitting:le,onCancel:async()=>await f({to:`/ec2/describe-load-balancers`}),pendingLabel:`Creating…`,submitLabel:`Create load balancer`})]})]})}function oe(e,t){let n=t=>{let n=e(t);return typeof n==`string`?n:``},r=t=>{let n=e(t);return Array.isArray(n)?n.filter(e=>typeof e==`string`):[]},i=t=>{let n=e(t);return typeof n==`number`&&Number.isFinite(n)?n:void 0},a=n(`name`)||``,o=n(`scheme`)||`internet-facing`,s=r(`subnetIds`),c=r(`securityGroupIds`),l=n(`listener.protocol`)||`HTTP`,u=i(`listener.port`)??80,d=n(`listener.targetGroupMode`),f=n(`listener.existingTargetGroupArn`),p=[],m={type:`comment`,value:`# Create ALB with listener and default target group +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{a as r,i,n as a,r as o,t as s}from"./select.js";import{t as c}from"./plus.js";import{t as l}from"./cli-command-panel.js";import{t as u}from"./trash-2.js";import{n as d}from"./elbv2.js";import{Da as f,Do as p,J as m,Q as h,co as g,j as _,nt as v,ro as y,so as b,ya as x,yi as S}from"./index.js";import{t as ee}from"./page-heading.js";import{a as C,r as w,t as T}from"./field.js";import{n as E,r as D,t as O}from"./zod.js";import{t as te}from"./form-actions.js";import{t as ne}from"./target-group-form.js";import{n as re,r as ie}from"./elbv22.js";var k=p(g(),1),A=b();function j(e){let t=f(e.Tags);return t?`${e.VpcId} (${t})`:`${e.VpcId} (${e.CidrBlock})`}function M(e){let t=f(e.Tags);return`${t?`${e.SubnetId} (${t})`:e.SubnetId} · ${e.CidrBlock}`}function ae(e){let t=new Map;for(let n of e){let e=n.AvailabilityZone??`unknown`,r=t.get(e)??[];r.push(n),t.set(e,r)}return[...t.entries()].toSorted((e,t)=>e[0].localeCompare(t[0])).map(([e,t])=>({az:e,subnets:t}))}function N(){let f=y(),{data:p}=t(v),{data:g}=t(h),{data:b}=t(m),{data:N}=t(_),P=d(),[F,I]=(0,k.useState)(null),L=p.Vpcs??[],se=g.Subnets??[],ce=b.SecurityGroups??[],R=N.TargetGroups??[],z=D({resolver:O(re),defaultValues:{name:``,scheme:`internet-facing`,vpcId:L[0]?.VpcId??``,subnetIds:[],securityGroupIds:[],tags:[],listener:{protocol:`HTTP`,port:80,targetGroupMode:`new`,existingTargetGroupArn:``}}}),B=D({resolver:O(ie),defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:L[0]?.VpcId??``,healthCheck:{protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},tags:[]}}),{handleSubmit:V,register:H,watch:U,control:W,setValue:G,getValues:K,formState:{errors:q,isSubmitting:le}}=z,J=U(`vpcId`),ue=U(`subnetIds`),de=U(`securityGroupIds`),Y=U(`listener.targetGroupMode`),fe=U(`tags`),X=se.filter(e=>e.VpcId===J),Z=ce.filter(e=>e.VpcId===J),Q=R.filter(e=>e.VpcId===J),pe=(e=``)=>{let t=e??``;G(`vpcId`,t,{shouldValidate:!0}),G(`subnetIds`,[],{shouldValidate:!0}),G(`securityGroupIds`,[]),G(`listener.existingTargetGroupArn`,``),B.setValue(`vpcId`,t)},me=e=>{let t=K(`subnetIds`);G(`subnetIds`,t.includes(e)?t.filter(t=>t!==e):[...t,e],{shouldValidate:!0})},he=e=>{let t=K(`securityGroupIds`);G(`securityGroupIds`,t.includes(e)?t.filter(t=>t!==e):[...t,e])},ge=async e=>{I(null);let t;if(e.listener.targetGroupMode===`new`){if(!await B.trigger())return;t=B.getValues()}let n=await P.mutateAsync({lb:{name:e.name,scheme:e.scheme,vpcId:e.vpcId,subnetIds:e.subnetIds,securityGroupIds:e.securityGroupIds,tags:e.tags},listener:{protocol:e.listener.protocol,port:e.listener.port,targetGroupMode:e.listener.targetGroupMode,existingTargetGroupArn:e.listener.existingTargetGroupArn,newTargetGroup:t}});I(n),!n.error&&n.loadBalancerArn&&f({to:`/ec2/describe-load-balancers/$id`,params:{id:encodeURIComponent(n.loadBalancerArn)}})},$=ae(X);return(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(n,{to:`/ec2/describe-load-balancers`,children:`Back to load balancers`}),(0,A.jsx)(ee,{title:`Create Load Balancer`}),P.error&&(0,A.jsx)(e,{error:P.error,msg:`Failed to create load balancer`}),F?.error&&(0,A.jsxs)(`div`,{className:`mb-6 max-w-4xl rounded-md border border-destructive bg-destructive/10 p-4`,children:[(0,A.jsxs)(`h2`,{className:`text-sm font-medium text-destructive`,children:[`Wizard failed: `,F.failedStep]}),(0,A.jsx)(`p`,{className:`mt-1 text-sm text-destructive`,children:F.error.message}),F.created.length>0&&(0,A.jsxs)(`div`,{className:`mt-3`,children:[(0,A.jsx)(`p`,{className:`text-xs font-medium text-destructive`,children:`Successfully created resources (clean up manually if needed):`}),(0,A.jsx)(`ul`,{className:`mt-1 list-inside list-disc text-xs text-destructive`,children:F.created.map((e,t)=>(0,A.jsxs)(`li`,{children:[e.type,`: `,e.id??`(created)`]},t))})]})]}),(0,A.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:V(ge),children:[(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`lb-name`,children:`Name`})}),(0,A.jsx)(S,{"aria-invalid":!!q.name,id:`lb-name`,placeholder:`my-load-balancer`,...H(`name`)}),(0,A.jsx)(w,{errors:[q.name]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Scheme`}),(0,A.jsx)(E,{control:W,name:`scheme`,render:({field:e})=>(0,A.jsxs)(`div`,{className:`flex gap-4`,children:[(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Internet-facing`,checked:e.value===`internet-facing`,name:`scheme`,onChange:()=>e.onChange(`internet-facing`),type:`radio`}),`Internet-facing`]}),(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Internal`,checked:e.value===`internal`,name:`scheme`,onChange:()=>e.onChange(`internal`),type:`radio`}),`Internal`]})]})})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`lb-vpc`,children:`VPC`})}),(0,A.jsx)(E,{control:W,name:`vpcId`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e=>pe(e),value:e.value??``,children:[(0,A.jsx)(i,{"aria-invalid":!!q.vpcId,className:`w-full`,id:`lb-vpc`,children:(0,A.jsx)(r,{placeholder:`Select VPC`})}),(0,A.jsx)(a,{children:L.map(e=>(0,A.jsx)(o,{value:e.VpcId??``,children:j(e)},e.VpcId))})]})}),(0,A.jsx)(w,{errors:[q.vpcId]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Subnets (select at least 2)`}),$.length===0?(0,A.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No subnets in the selected VPC.`}):(0,A.jsx)(`div`,{className:`space-y-3`,children:$.map(e=>(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`mb-1 text-xs font-medium text-muted-foreground`,children:e.az}),(0,A.jsx)(`div`,{className:`space-y-1`,children:e.subnets.map(e=>(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Subnet ${M(e)}`,checked:ue.includes(e.SubnetId??``),onChange:()=>me(e.SubnetId??``),type:`checkbox`}),(0,A.jsx)(`span`,{className:`font-mono`,children:M(e)})]},e.SubnetId))})]},e.az))}),(0,A.jsx)(w,{errors:[q.subnetIds]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Security groups`}),Z.length===0?(0,A.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No security groups in the selected VPC.`}):(0,A.jsx)(`div`,{className:`space-y-1`,children:Z.map(e=>(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Security group ${e.GroupId} (${e.GroupName})`,checked:de.includes(e.GroupId??``),onChange:()=>he(e.GroupId??``),type:`checkbox`}),(0,A.jsxs)(`span`,{className:`font-mono`,children:[e.GroupId,` (`,e.GroupName,`)`]})]},e.GroupId))})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Tags`}),(0,A.jsxs)(`div`,{className:`space-y-2`,children:[fe.map((e,t)=>(0,A.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,A.jsx)(S,{placeholder:`Key`,...H(`tags.${t}.key`)}),(0,A.jsx)(S,{placeholder:`Value`,...H(`tags.${t}.value`)}),(0,A.jsx)(x,{onClick:()=>G(`tags`,K(`tags`).filter((e,n)=>n!==t)),size:`icon`,type:`button`,variant:`ghost`,children:(0,A.jsx)(u,{className:`size-3.5`})})]},t)),(0,A.jsxs)(x,{onClick:()=>G(`tags`,[...K(`tags`),{key:``,value:``}]),size:`sm`,type:`button`,variant:`outline`,children:[(0,A.jsx)(c,{className:`size-3.5`}),`Add tag`]})]})]}),(0,A.jsxs)(`div`,{className:`space-y-4 rounded-md border bg-card p-4`,children:[(0,A.jsx)(`h2`,{className:`text-sm font-semibold`,children:`First listener & default target group`}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`listener-protocol`,children:`Protocol`})}),(0,A.jsx)(E,{control:W,name:`listener.protocol`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e.onChange,value:e.value,children:[(0,A.jsx)(i,{className:`w-full`,id:`listener-protocol`,children:(0,A.jsx)(r,{})}),(0,A.jsx)(a,{children:(0,A.jsx)(o,{value:`HTTP`,children:`HTTP`})})]})})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`listener-port`,children:`Port`})}),(0,A.jsx)(S,{"aria-invalid":!!q.listener?.port,id:`listener-port`,inputMode:`numeric`,type:`number`,...H(`listener.port`,{valueAsNumber:!0})}),(0,A.jsx)(w,{errors:[q.listener?.port]})]}),(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:`Default target group`}),(0,A.jsx)(E,{control:W,name:`listener.targetGroupMode`,render:({field:e})=>(0,A.jsxs)(`div`,{className:`flex gap-4`,children:[(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Create new target group`,checked:e.value===`new`,name:`tg-mode`,onChange:()=>e.onChange(`new`),type:`radio`}),`Create new`]}),(0,A.jsxs)(`label`,{className:`flex items-center gap-2 text-xs`,children:[(0,A.jsx)(`input`,{"aria-label":`Use existing target group`,checked:e.value===`existing`,name:`tg-mode`,onChange:()=>e.onChange(`existing`),type:`radio`}),`Use existing`]})]})})]}),Y===`existing`&&(0,A.jsxs)(T,{children:[(0,A.jsx)(C,{children:(0,A.jsx)(`label`,{htmlFor:`tg-existing`,children:`Target group`})}),(0,A.jsx)(E,{control:W,name:`listener.existingTargetGroupArn`,render:({field:e})=>(0,A.jsxs)(s,{onValueChange:e.onChange,value:e.value??``,children:[(0,A.jsx)(i,{"aria-invalid":!!q.listener?.existingTargetGroupArn,className:`w-full`,id:`tg-existing`,children:(0,A.jsx)(r,{placeholder:`Select target group`})}),(0,A.jsx)(a,{children:Q.map(e=>(0,A.jsxs)(o,{value:e.TargetGroupArn??``,children:[e.TargetGroupName,` · `,e.Protocol,`:`,e.Port]},e.TargetGroupArn))})]})}),(0,A.jsx)(w,{errors:[q.listener?.existingTargetGroupArn]}),Q.length===0&&(0,A.jsx)(`p`,{className:`mt-1 text-xs text-muted-foreground`,children:`No target groups in this VPC. Choose “Create new” instead.`})]}),Y===`new`&&(0,A.jsx)(`div`,{className:`space-y-4 border-l-2 border-muted pl-4`,children:(0,A.jsx)(ne,{form:B,vpcs:L})})]}),(0,A.jsx)(l,{commands:oe(U,B.watch)}),(0,A.jsx)(te,{isPending:P.isPending,isSubmitting:le,onCancel:async()=>await f({to:`/ec2/describe-load-balancers`}),pendingLabel:`Creating…`,submitLabel:`Create Load Balancer`})]})]})}function oe(e,t){let n=t=>{let n=e(t);return typeof n==`string`?n:``},r=t=>{let n=e(t);return Array.isArray(n)?n.filter(e=>typeof e==`string`):[]},i=t=>{let n=e(t);return typeof n==`number`&&Number.isFinite(n)?n:void 0},a=n(`name`)||``,o=n(`scheme`)||`internet-facing`,s=r(`subnetIds`),c=r(`securityGroupIds`),l=n(`listener.protocol`)||`HTTP`,u=i(`listener.port`)??80,d=n(`listener.targetGroupMode`),f=n(`listener.existingTargetGroupArn`),p=[],m={type:`comment`,value:`# Create ALB with listener and default target group `},h=e=>{let n=t(e);return typeof n==`string`?n:``},g=e=>{let n=t(e);return typeof n==`number`&&Number.isFinite(n)?n:void 0};if(d===`new`){let e=h(`name`)||``,t=g(`port`)??80,n=h(`vpcId`);p.push({label:`Create Target Group`,parts:[m,{type:`variable`,value:`TG_ARN=`},{type:`bin`,value:`$(AWS_PROFILE=spinifex aws elbv2 create-target-group`},{type:`flag`,value:` \\ --name`},{type:`value`,value:` ${e}`},{type:`flag`,value:` \\ diff --git a/spinifex/services/spinifexui/frontend/dist/assets/create-target-group.js b/spinifex/services/spinifexui/frontend/dist/assets/create-target-group.js index 09508b5d6..0500d90db 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/create-target-group.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/create-target-group.js @@ -1,4 +1,4 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./cli-command-panel.js";import{r as i}from"./elbv2.js";import{nt as a,ro as o,so as s}from"./index.js";import{t as c}from"./page-heading.js";import{r as l,t as u}from"./zod.js";import{t as d}from"./form-actions.js";import{t as f}from"./target-group-form.js";import{r as p}from"./elbv22.js";var m=s();function h(){let s=o(),{data:h}=t(a),_=i(),v=h.Vpcs??[],y=l({resolver:u(p),defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:v[0]?.VpcId??``,healthCheck:{protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},tags:[]}}),{handleSubmit:b,watch:x,formState:{isSubmitting:S}}=y;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(n,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),(0,m.jsx)(c,{title:`Create target group`}),_.error&&(0,m.jsx)(e,{error:_.error,msg:`Failed to create target group`}),(0,m.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:b(async e=>{try{let t=(await _.mutateAsync(e)).TargetGroups?.[0]?.TargetGroupArn;s(t?{to:`/ec2/describe-target-groups/$id`,params:{id:encodeURIComponent(t)}}:{to:`/ec2/describe-target-groups`})}catch{}}),children:[(0,m.jsx)(f,{form:y,vpcs:v}),(0,m.jsx)(r,{commands:g(x)}),(0,m.jsx)(d,{isPending:_.isPending,isSubmitting:S,onCancel:async()=>await s({to:`/ec2/describe-target-groups`}),pendingLabel:`Creating…`,submitLabel:`Create target group`})]})]})}function g(e){let t=t=>{let n=e(t);return typeof n==`string`?n:``},n=t=>{let n=e(t);return typeof n==`number`&&Number.isFinite(n)?n:void 0},r=t(`name`),i=t(`protocol`)||`HTTP`,a=n(`port`),o=t(`vpcId`),s=t(`healthCheck.protocol`)||`HTTP`,c=t(`healthCheck.path`)||`/`,l=t(`healthCheck.port`)||`traffic-port`,u=n(`healthCheck.intervalSeconds`),d=n(`healthCheck.timeoutSeconds`),f=n(`healthCheck.healthyThresholdCount`),p=n(`healthCheck.unhealthyThresholdCount`),m=t(`healthCheck.matcher`)||`200`,h=[{type:`bin`,value:`AWS_PROFILE=spinifex aws elbv2 create-target-group`},{type:`flag`,value:` \\ +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./cli-command-panel.js";import{r as i}from"./elbv2.js";import{nt as a,ro as o,so as s}from"./index.js";import{t as c}from"./page-heading.js";import{r as l,t as u}from"./zod.js";import{t as d}from"./form-actions.js";import{t as f}from"./target-group-form.js";import{r as p}from"./elbv22.js";var m=s();function h(){let s=o(),{data:h}=t(a),_=i(),v=h.Vpcs??[],y=l({resolver:u(p),defaultValues:{name:``,protocol:`HTTP`,port:80,vpcId:v[0]?.VpcId??``,healthCheck:{protocol:`HTTP`,path:`/`,port:`traffic-port`,intervalSeconds:30,timeoutSeconds:5,healthyThresholdCount:5,unhealthyThresholdCount:2,matcher:`200`},tags:[]}}),{handleSubmit:b,watch:x,formState:{isSubmitting:S}}=y;return(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(n,{to:`/ec2/describe-target-groups`,children:`Back to target groups`}),(0,m.jsx)(c,{title:`Create Target Group`}),_.error&&(0,m.jsx)(e,{error:_.error,msg:`Failed to create target group`}),(0,m.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:b(async e=>{try{let t=(await _.mutateAsync(e)).TargetGroups?.[0]?.TargetGroupArn;s(t?{to:`/ec2/describe-target-groups/$id`,params:{id:encodeURIComponent(t)}}:{to:`/ec2/describe-target-groups`})}catch{}}),children:[(0,m.jsx)(f,{form:y,vpcs:v}),(0,m.jsx)(r,{commands:g(x)}),(0,m.jsx)(d,{isPending:_.isPending,isSubmitting:S,onCancel:async()=>await s({to:`/ec2/describe-target-groups`}),pendingLabel:`Creating…`,submitLabel:`Create Target Group`})]})]})}function g(e){let t=t=>{let n=e(t);return typeof n==`string`?n:``},n=t=>{let n=e(t);return typeof n==`number`&&Number.isFinite(n)?n:void 0},r=t(`name`),i=t(`protocol`)||`HTTP`,a=n(`port`),o=t(`vpcId`),s=t(`healthCheck.protocol`)||`HTTP`,c=t(`healthCheck.path`)||`/`,l=t(`healthCheck.port`)||`traffic-port`,u=n(`healthCheck.intervalSeconds`),d=n(`healthCheck.timeoutSeconds`),f=n(`healthCheck.healthyThresholdCount`),p=n(`healthCheck.unhealthyThresholdCount`),m=t(`healthCheck.matcher`)||`200`,h=[{type:`bin`,value:`AWS_PROFILE=spinifex aws elbv2 create-target-group`},{type:`flag`,value:` \\ --name`},{type:`value`,value:` ${r||``}`},{type:`flag`,value:` \\ --protocol`},{type:`value`,value:` ${i}`},{type:`flag`,value:` \\ --port`},{type:`value`,value:` ${a??80}`},{type:`flag`,value:` \\ diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-images.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-images.js index 5e575a513..1a68e440f 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-images.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-images.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{R as t,eo as n,so as r}from"./index.js";import{t as i}from"./page-heading.js";import{t as a}from"./state-badge.js";import{t as o}from"./system-managed.js";import{t as s}from"./list-card.js";var c=n(),l=r();function u(){let n=(0,c.c)(3),{data:r}=e(t),a;if(n[0]!==r.Images){let e=(r.Images??[]).filter(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(i,{title:`EC2 Images`}),n[2]=t):t=n[2],a=(0,l.jsxs)(l.Fragment,{children:[t,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No images found.`})]}),n[0]=r.Images,n[1]=a}else a=n[1];return a}function d(e){return e.ImageId?(0,l.jsx)(s,{badge:(0,l.jsx)(a,{state:e.State}),params:{id:e.ImageId},subtitle:e.ImageId??``,title:e.Name??e.ImageId??``,to:`/ec2/describe-images/$id`},e.ImageId):null}function f(e){return!o(e)}export{u as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{R as t,eo as n,so as r}from"./index.js";import{t as i}from"./page-heading.js";import{t as a}from"./state-badge.js";import{t as o}from"./system-managed.js";import{t as s}from"./list-card.js";var c=n(),l=r();function u(){let n=(0,c.c)(3),{data:r}=e(t),a;if(n[0]!==r.Images){let e=(r.Images??[]).filter(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(i,{title:`Images`}),n[2]=t):t=n[2],a=(0,l.jsxs)(l.Fragment,{children:[t,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No images found.`})]}),n[0]=r.Images,n[1]=a}else a=n[1];return a}function d(e){return e.ImageId?(0,l.jsx)(s,{badge:(0,l.jsx)(a,{state:e.State}),params:{id:e.ImageId},subtitle:e.ImageId??``,title:e.Name??e.ImageId??``,to:`/ec2/describe-images/$id`},e.ImageId):null}function f(e){return!o(e)}export{u as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-instances.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-instances.js index d21e4917b..d6e70ec0b 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-instances.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-instances.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{V as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i(),d={running:0,pending:1,stopping:2,"shutting-down":3,stopped:4,terminated:5};function f(){let n=(0,l.c)(3),{data:i}=e(t),s;if(n[0]!==i.Reservations){let e=(i.Reservations?.flatMap(h)??[]).toSorted(m),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/run-instances`,children:(0,u.jsx)(a,{children:`Run Instances`})}),title:`EC2 Instances`}),n[2]=t):t=n[2],s=(0,u.jsxs)(u.Fragment,{children:[t,e.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:e.map(p)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances found.`})]}),n[0]=i.Reservations,n[1]=s}else s=n[1];return s}function p(e){return e.InstanceId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State?.Name}),params:{id:e.InstanceId},subtitle:`${e.InstanceType}`,title:e.InstanceId,to:`/ec2/describe-instances/$id`},e.InstanceId):null}function m(e,t){let n=d[e.State?.Name??``]??6,r=d[t.State?.Name??``]??6;return n===r?(e.InstanceId??``).localeCompare(t.InstanceId??``):n-r}function h(e){return e.Instances??[]}export{f as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{V as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i(),d={running:0,pending:1,stopping:2,"shutting-down":3,stopped:4,terminated:5};function f(){let n=(0,l.c)(3),{data:i}=e(t),s;if(n[0]!==i.Reservations){let e=(i.Reservations?.flatMap(h)??[]).toSorted(m),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/run-instances`,children:(0,u.jsx)(a,{children:`Run Instances`})}),title:`Instances`}),n[2]=t):t=n[2],s=(0,u.jsxs)(u.Fragment,{children:[t,e.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:e.map(p)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No instances found.`})]}),n[0]=i.Reservations,n[1]=s}else s=n[1];return s}function p(e){return e.InstanceId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State?.Name}),params:{id:e.InstanceId},subtitle:`${e.InstanceType}`,title:e.InstanceId,to:`/ec2/describe-instances/$id`},e.InstanceId):null}function m(e,t){let n=d[e.State?.Name??``]??6,r=d[t.State?.Name??``]??6;return n===r?(e.InstanceId??``).localeCompare(t.InstanceId??``):n-r}function h(e){return e.Instances??[]}export{f as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-key-pairs.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-key-pairs.js index 0219490b4..fc5cec3fe 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-key-pairs.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-key-pairs.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{U as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=n(),l=i();function u(){let n=(0,c.c)(4),{data:i}=e(t),s;if(n[0]!==i.KeyPairs){let e=(i.KeyPairs??[]).toSorted(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(r,{to:`/ec2/import-key-pair`,children:(0,l.jsx)(a,{variant:`outline`,children:`Import Key Pair`})}),n[2]=t):t=n[2];let c;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(o,{actions:(0,l.jsxs)(`div`,{className:`flex gap-2`,children:[t,(0,l.jsx)(r,{to:`/ec2/create-key-pair`,children:(0,l.jsx)(a,{children:`Create Key Pair`})})]}),title:`EC2 Key Pairs`}),n[3]=c):c=n[3],s=(0,l.jsxs)(l.Fragment,{children:[c,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No key pairs found.`})]}),n[0]=i.KeyPairs,n[1]=s}else s=n[1];return s}function d(e){return e.KeyPairId?(0,l.jsx)(s,{params:{id:e.KeyPairId},subtitle:e.KeyPairId??``,title:e.KeyName??``,to:`/ec2/describe-key-pairs/$id`},e.KeyPairId):null}function f(e,t){let n=e.KeyName?.toLowerCase()??``,r=t.KeyName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{U as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=n(),l=i();function u(){let n=(0,c.c)(4),{data:i}=e(t),s;if(n[0]!==i.KeyPairs){let e=(i.KeyPairs??[]).toSorted(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(r,{to:`/ec2/import-key-pair`,children:(0,l.jsx)(a,{variant:`outline`,children:`Import Key Pair`})}),n[2]=t):t=n[2];let c;n[3]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,l.jsx)(o,{actions:(0,l.jsxs)(`div`,{className:`flex gap-2`,children:[t,(0,l.jsx)(r,{to:`/ec2/create-key-pair`,children:(0,l.jsx)(a,{children:`Create Key Pair`})})]}),title:`Key Pairs`}),n[3]=c):c=n[3],s=(0,l.jsxs)(l.Fragment,{children:[c,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No key pairs found.`})]}),n[0]=i.KeyPairs,n[1]=s}else s=n[1];return s}function d(e){return e.KeyPairId?(0,l.jsx)(s,{params:{id:e.KeyPairId},subtitle:e.KeyPairId??``,title:e.KeyName??``,to:`/ec2/describe-key-pairs/$id`},e.KeyPairId):null}function f(e,t){let n=e.KeyName?.toLowerCase()??``,r=t.KeyName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-placement-groups.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-placement-groups.js index 85c3f93ce..c39b9b744 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-placement-groups.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-placement-groups.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{G as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i();function d(){let n=(0,l.c)(5),{data:i}=e(t),s;n[0]===i.PlacementGroups?s=n[1]:(s=i.PlacementGroups??[],n[0]=i.PlacementGroups,n[1]=s);let c=s,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-placement-group`,children:(0,u.jsx)(a,{children:`Create Placement Group`})}),title:`EC2 Placement Groups`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No placement groups found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.GroupId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.GroupId},subtitle:`${e.Strategy} \u2022 ${e.GroupId}`,title:e.GroupName??e.GroupId,to:`/ec2/describe-placement-groups/$id`},e.GroupId):null}export{d as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{G as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i();function d(){let n=(0,l.c)(5),{data:i}=e(t),s;n[0]===i.PlacementGroups?s=n[1]:(s=i.PlacementGroups??[],n[0]=i.PlacementGroups,n[1]=s);let c=s,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-placement-group`,children:(0,u.jsx)(a,{children:`Create Placement Group`})}),title:`Placement Groups`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No placement groups found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.GroupId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.GroupId},subtitle:`${e.Strategy} \u2022 ${e.GroupId}`,title:e.GroupName??e.GroupId,to:`/ec2/describe-placement-groups/$id`},e.GroupId):null}export{d as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-snapshots.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-snapshots.js index e0338a389..53f36c283 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-snapshots.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-snapshots.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{X as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i();function d(){let n=(0,l.c)(5),{data:i}=e(t),s;n[0]===i.Snapshots?s=n[1]:(s=i.Snapshots??[],n[0]=i.Snapshots,n[1]=s);let c=s,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-snapshot`,children:(0,u.jsx)(a,{children:`Create Snapshot`})}),title:`EC2 Snapshots`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No snapshots found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.SnapshotId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.SnapshotId},subtitle:`${e.VolumeSize} GiB \u2022 ${e.VolumeId}`,title:e.SnapshotId,to:`/ec2/describe-snapshots/$id`},e.SnapshotId):null}export{d as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{X as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=n(),u=i();function d(){let n=(0,l.c)(5),{data:i}=e(t),s;n[0]===i.Snapshots?s=n[1]:(s=i.Snapshots??[],n[0]=i.Snapshots,n[1]=s);let c=s,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-snapshot`,children:(0,u.jsx)(a,{children:`Create Snapshot`})}),title:`Snapshots`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No snapshots found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.SnapshotId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.SnapshotId},subtitle:`${e.VolumeSize} GiB \u2022 ${e.VolumeId}`,title:e.SnapshotId,to:`/ec2/describe-snapshots/$id`},e.SnapshotId):null}export{d as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/describe-volumes.js b/spinifex/services/spinifexui/frontend/dist/assets/describe-volumes.js index 7b9e024e7..d16734b75 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/describe-volumes.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/describe-volumes.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{eo as t,et as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=t(),u=i();function d(){let t=(0,l.c)(5),{data:i}=e(n),s;t[0]===i.Volumes?s=t[1]:(s=i.Volumes??[],t[0]=i.Volumes,t[1]=s);let c=s,d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-volume`,children:(0,u.jsx)(a,{children:`Create Volume`})}),title:`EC2 Volumes`}),t[2]=d):d=t[2];let p;return t[3]===c?p=t[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No volumes found.`})]}),t[3]=c,t[4]=p),p}function f(e){return e.VolumeId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.VolumeId},subtitle:`${e.Size} GiB`,title:e.VolumeId,to:`/ec2/describe-volumes/$id`},e.VolumeId):null}export{d as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{eo as t,et as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./state-badge.js";import{t as c}from"./list-card.js";var l=t(),u=i();function d(){let t=(0,l.c)(5),{data:i}=e(n),s;t[0]===i.Volumes?s=t[1]:(s=i.Volumes??[],t[0]=i.Volumes,t[1]=s);let c=s,d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(o,{actions:(0,u.jsx)(r,{to:`/ec2/create-volume`,children:(0,u.jsx)(a,{children:`Create Volume`})}),title:`Volumes`}),t[2]=d):d=t[2];let p;return t[3]===c?p=t[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No volumes found.`})]}),t[3]=c,t[4]=p),p}function f(e){return e.VolumeId?(0,u.jsx)(c,{badge:(0,u.jsx)(s,{state:e.State}),params:{id:e.VolumeId},subtitle:`${e.Size} GiB`,title:e.VolumeId,to:`/ec2/describe-volumes/$id`},e.VolumeId):null}export{d as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/index.css b/spinifex/services/spinifexui/frontend/dist/assets/index.css index ce3fd6c69..70e990cb3 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/index.css +++ b/spinifex/services/spinifexui/frontend/dist/assets/index.css @@ -1,2 +1,2 @@ /*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */ -@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-100:#ffe2e2;--color-red-800:#9f0712;--color-red-900:#82181a;--color-amber-500:#f99c00;--color-yellow-100:#fef9c2;--color-yellow-800:#874b00;--color-yellow-900:#733e0a;--color-green-100:#dcfce7;--color-green-800:#016630;--color-green-900:#0d542b;--color-emerald-400:#00d294;--color-emerald-500:#00bb7f;--color-emerald-700:#007956;--color-blue-500:#3080ff;--color-gray-100:#f3f4f6;--color-gray-800:#1e2939;--color-zinc-100:#f4f4f5;--color-zinc-400:#9f9fa9;--color-zinc-500:#71717b;--color-zinc-800:#27272a;--color-black:#000;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-sm:calc(var(--radius) - 2px);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-100:lab(92.243% 10.2865 3.83865);--color-red-800:lab(33.7174% 55.8993 41.0293);--color-red-900:lab(28.5139% 44.5539 29.0463);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-yellow-100:lab(97.3564% -4.51407 27.344);--color-yellow-800:lab(38.7484% 23.5833 51.4916);--color-yellow-900:lab(32.3865% 21.1273 38.5959);--color-green-100:lab(96.1861% -13.8464 6.52365);--color-green-800:lab(37.4616% -36.7971 22.9692);--color-green-900:lab(30.797% -29.6927 17.382);--color-emerald-400:lab(75.0771% -60.7313 19.4147);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-700:lab(44.4871% -41.0396 11.0361);--color-blue-500:lab(54.1736% 13.3369 -74.6839);--color-gray-100:lab(96.1596% -.0823438 -1.13575);--color-gray-800:lab(16.1051% -1.18239 -11.7533);--color-zinc-100:lab(96.1634% .0993311 -.364041);--color-zinc-400:lab(65.6464% 1.53497 -5.42429);--color-zinc-500:lab(47.8878% 1.65477 -5.77283);--color-zinc-800:lab(15.7305% .613764 -2.16959)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{overscroll-behavior:none;border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}*{scrollbar-width:thin}body{background-color:var(--background);width:100%;min-height:100svh;color:var(--foreground);font-family:var(--font-sans), sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.font-mono{font-family:var(--font-mono), monospace}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.\@container\/field-group{container:field-group/inline-size}.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-3\.5{top:calc(var(--spacing) * 3.5)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-first{order:-9999}.order-last{order:9999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-0{margin-inline:calc(var(--spacing) * 0)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-1{margin-block:calc(var(--spacing) * 1)}.my-2{margin-block:calc(var(--spacing) * 2)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-\[1\.2rem\]{width:1.2rem;height:1.2rem}.size-full{width:100%;height:100%}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-\[calc\(--spacing\(4\.75\)\)\]{height:calc(calc(var(--spacing) * 4.75))}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\(--available-height\){max-height:var(--available-height)}.max-h-72{max-height:calc(var(--spacing) * 72)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[min\(calc\(--spacing\(72\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\]{max-height:min(calc(calc(var(--spacing) * 72) - calc(var(--spacing) * 9)), calc(var(--available-height) - calc(var(--spacing) * 9)))}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-svh{min-height:100svh}.w-\(--anchor-width\){width:var(--anchor-width)}.w-\(--radix-dropdown-menu-trigger-width\){width:var(--radix-dropdown-menu-trigger-width)}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-36{width:calc(var(--spacing) * 36)}.w-48{width:calc(var(--spacing) * 48)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\(--available-width\){max-width:var(--available-width)}.max-w-\(--skeleton-width\){max-width:var(--skeleton-width)}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-56{min-width:calc(var(--spacing) * 56)}.min-w-\[calc\(var\(--anchor-width\)\+--spacing\(7\)\)\]{min-width:calc(var(--anchor-width) + calc(var(--spacing) * 7))}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%-2px\)\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-none{translate:none}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-3d{scale:var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)}.rotate-0{rotate:0deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.scroll-py-1{scroll-padding-block:calc(var(--spacing) * 1)}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-px{gap:1px}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.-space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * -2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * -2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[calc\(var\(--radius-sm\)\+2px\)\]{border-radius:calc(var(--radius-sm) + 2px)}.rounded-\[calc\(var\(--radius-sm\)-2px\)\]{border-radius:calc(var(--radius-sm) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:calc(var(--radius) + 2px)}.rounded-md{border-radius:var(--radius)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:calc(var(--radius) + 2px);border-top-right-radius:calc(var(--radius) + 2px)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:calc(var(--radius) + 2px);border-bottom-left-radius:calc(var(--radius) + 2px)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-bs{border-block-start-style:var(--tw-border-style);border-block-start-width:1px}.border-be{border-block-end-style:var(--tw-border-style);border-block-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab, red, red)){.border-blue-500\/30{border-color:color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.border-border{border-color:var(--border)}.border-destructive{border-color:var(--destructive)}.border-emerald-500{border-color:var(--color-emerald-500)}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\/30{border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.border-foreground\/10{border-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.border-foreground\/10{border-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.border-foreground\/20{border-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.border-foreground\/20{border-color:color-mix(in oklab, var(--foreground) 20%, transparent)}}.border-input{border-color:var(--input)}.border-muted{border-color:var(--muted)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-transparent{border-color:#0000}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-background{background-color:var(--background)}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab, red, red)){.bg-black\/80{background-color:color-mix(in oklab, var(--color-black) 80%, transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/10{background-color:color-mix(in oklab, var(--color-blue-500) 10%, transparent)}}.bg-border,.bg-border\/50{background-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.bg-border\/50{background-color:color-mix(in oklab, var(--border) 50%, transparent)}}.bg-card{background-color:var(--card)}.bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-foreground{background-color:var(--foreground)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-100{background-color:var(--color-green-100)}.bg-input\/20{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.bg-input\/20{background-color:color-mix(in oklab, var(--input) 20%, transparent)}}.bg-muted{background-color:var(--muted)}.bg-muted-foreground\/10{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.bg-muted-foreground\/10{background-color:color-mix(in oklab, var(--muted-foreground) 10%, transparent)}}.bg-muted\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/30{background-color:color-mix(in oklab, var(--muted) 30%, transparent)}}.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-red-100{background-color:var(--color-red-100)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-transparent{background-color:#0000}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-clip-padding{background-clip:padding-box}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-foreground{fill:var(--foreground)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0{padding-inline:calc(var(--spacing) * 0)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\/relaxed{font-size:var(--text-sm);line-height:var(--leading-relaxed)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\/relaxed{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.text-\[0\.625rem\]{font-size:.625rem}.text-\[11px\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-background{color:var(--background)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-emerald-700{color:var(--color-emerald-700)}.text-foreground{color:var(--foreground)}.text-gray-800{color:var(--color-gray-800)}.text-green-800{color:var(--color-green-800)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-red-800{color:var(--color-red-800)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\/70{color:color-mix(in oklab, var(--sidebar-foreground) 70%, transparent)}}.text-tactical-amber{color:var(--tactical-amber)}.text-tactical-cyan{color:var(--tactical-cyan)}.text-tactical-green{color:var(--tactical-green)}.text-yellow-800{color:var(--color-yellow-800)}.text-zinc-500{color:var(--color-zinc-500)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-50{opacity:.5}.bg-blend-color{background-blend-mode:color}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background{--tw-ring-color:var(--background)}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-focus\/dropdown-menu-item\:text-accent-foreground:is(:where(.group\/dropdown-menu-item):focus *){color:var(--accent-foreground)}.group-has-data-\[orientation\=horizontal\]\/field\:text-balance:is(:where(.group\/field):has([data-orientation=horizontal]) *){text-wrap:balance}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-\[size\=lg\]\/avatar-group\:size-10:is(:where(.group\/avatar-group):has([data-size=lg]) *){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.group-has-data-\[size\=sm\]\/avatar-group\:size-6:is(:where(.group\/avatar-group):has([data-size=sm]) *){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.group-has-data-\[slot\=combobox-clear\]\/input-group\:hidden:is(:where(.group\/input-group):has([data-slot=combobox-clear]) *){display:none}.group-has-\[\>input\]\/input-group\:pt-2:is(:where(.group\/input-group):has(>input) *){padding-top:calc(var(--spacing) * 2)}.group-has-\[\>input\]\/input-group\:pb-2:is(:where(.group\/input-group):has(>input) *){padding-bottom:calc(var(--spacing) * 2)}.group-data-empty\/combobox-content\:flex:is(:where(.group\/combobox-content)[data-empty] *){display:flex}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offExamples\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offExamples] *){right:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offExamples\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offExamples] *){left:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offExamples\]\:w-0:is(:where(.group)[data-collapsible=offExamples] *){width:calc(var(--spacing) * 0)}.group-data-\[collapsible\=offExamples\]\:translate-x-0:is(:where(.group)[data-collapsible=offExamples] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\[disabled\=true\]\/field\:opacity-50:is(:where(.group\/field)[data-disabled=true] *),.group-data-\[disabled\=true\]\/input-group\:opacity-50:is(:where(.group\/input-group)[data-disabled=true] *){opacity:.5}.group-data-\[panel-open\]\:rotate-180:is(:where(.group)[data-panel-open] *){rotate:180deg}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing) * 0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[size\=default\]\/avatar\:size-2\.5:is(:where(.group\/avatar)[data-size=default] *){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.group-data-\[size\=lg\]\/avatar\:size-3:is(:where(.group\/avatar)[data-size=lg] *){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/alert-dialog-content\:grid:is(:where(.group\/alert-dialog-content)[data-size=sm] *){display:grid}.group-data-\[size\=sm\]\/alert-dialog-content\:grid-cols-2:is(:where(.group\/alert-dialog-content)[data-size=sm] *){grid-template-columns:repeat(2,minmax(0,1fr))}.group-data-\[size\=sm\]\/avatar\:size-2:is(:where(.group\/avatar)[data-size=sm] *){width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:text-xs:is(:where(.group\/avatar)[data-size=sm] *){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.group-data-\[size\=sm\]\/card\:px-3:is(:where(.group\/card)[data-size=sm] *){padding-inline:calc(var(--spacing) * 3)}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:calc(var(--radius) + 2px)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-1:is(:where(.group)[data-variant=floating] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-sidebar-border:is(:where(.group)[data-variant=floating] *){--tw-ring-color:var(--sidebar-border)}.group-data-\[variant\=outline\]\/field-group\:-mb-2:is(:where(.group\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}@media (hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-active\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button)[data-active]~*){color:var(--sidebar-accent-foreground)}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing) * 1)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-6::file-selector-button{height:calc(var(--spacing) * 6)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-xs\/relaxed::file-selector-button{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:rounded-full:after{content:var(--tw-content);border-radius:3.40282e38px}.after\:border:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:1px}.after\:border-border:after{content:var(--tw-content);border-color:var(--border)}.after\:mix-blend-darken:after{content:var(--tw-content);mix-blend-mode:darken}.group-data-\[collapsible\=offExamples\]\:after\:left-full:is(:where(.group)[data-collapsible=offExamples] *):after{content:var(--tw-content);left:100%}.last\:mt-0:last-child{margin-top:calc(var(--spacing) * 0)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-ring:focus-within{border-color:var(--ring)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\:ring-ring\/30:focus-within{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-within\:ring-ring\/30:focus-within{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\:bg-input\/40:hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-input\/40:hover{background-color:color-mix(in oklab, var(--input) 40%, transparent)}}.hover\:bg-input\/50:hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-input\/50:hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.hover\:bg-muted:hover{background-color:var(--muted)}.hover\:bg-primary\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/80:hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:group-data-\[collapsible\=offExamples\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offExamples] *){background-color:var(--sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus,:is(.focus\:\*\*\:text-accent-foreground:focus *),:is(.not-data-\[variant\=destructive\]\:focus\:\*\*\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\:border-destructive\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:border-destructive\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-2:focus-visible,.focus-visible\:ring-\[2px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}:where([data-slot=combobox-content]) .in-data-\[slot\=combobox-content\]\:focus-within\:border-inherit:focus-within{border-color:inherit}:where([data-slot=combobox-content]) .in-data-\[slot\=combobox-content\]\:focus-within\:ring-0:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-disabled\:pointer-events-none:has(:disabled){pointer-events:none}.has-disabled\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-disabled\:opacity-50:has(:disabled){opacity:.5}.has-aria-invalid\:border-destructive:has([aria-invalid=true]){border-color:var(--destructive)}.has-aria-invalid\:ring-2:has([aria-invalid=true]){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-data-checked\:bg-primary\/5:has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\:bg-primary\/5:has([data-checked]){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-data-\[align\=block-end\]\:rounded-md:has([data-align=block-end]),.has-data-\[align\=block-start\]\:rounded-md:has([data-align=block-start]){border-radius:var(--radius)}.has-data-\[icon\=inline-end\]\:pr-1\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-end\]\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-start\]\:pl-1\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-start\]\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_auto_1fr\]:has([data-slot=alert-dialog-media]){grid-template-rows:auto auto 1fr}.has-data-\[slot\=alert-dialog-media\]\:gap-x-4:has([data-slot=alert-dialog-media]){column-gap:calc(var(--spacing) * 4)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=card-description\]\:grid-rows-\[auto_auto\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\[slot\=combobox-chip\]\:px-1:has([data-slot=combobox-chip]){padding-inline:calc(var(--spacing) * 1)}.has-data-\[slot\=combobox-chip-remove\]\:pr-0:has([data-slot=combobox-chip-remove]){padding-right:calc(var(--spacing) * 0)}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-ring:has([data-slot=input-group-control]:focus-visible){border-color:var(--ring)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-2:has([data-slot=input-group-control]:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/30:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/30:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]){border-color:var(--destructive)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-2:has([data-slot][aria-invalid=true]){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-\[textarea\]\:rounded-md:has(:is(textarea)){border-radius:var(--radius)}.has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]){height:auto}.has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]){flex-direction:column}.has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]){height:auto}.has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]){flex-direction:column}.has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\[\>\[data-slot\=field\]\]\:w-full:has(>[data-slot=field]){width:100%}.has-\[\>\[data-slot\=field\]\]\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\[\>\[data-slot\=field\]\]\:rounded-md:has(>[data-slot=field]){border-radius:var(--radius)}.has-\[\>\[data-slot\=field\]\]\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\[\>\[data-slot\=radio-group\]\]\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}.has-\[\>button\]\:mr-\[-0\.275rem\]:has(>button){margin-right:-.275rem}.has-\[\>button\]\:ml-\[-0\.275rem\]:has(>button){margin-left:-.275rem}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:calc(var(--spacing) * 0)}.has-\[\>kbd\]\:mr-\[-0\.275rem\]:has(>kbd){margin-right:-.275rem}.has-\[\>kbd\]\:ml-\[-0\.275rem\]:has(>kbd){margin-left:-.275rem}.has-\[\>svg\]\:p-0:has(>svg){padding:calc(var(--spacing) * 0)}.has-\[\>textarea\]\:h-auto:has(>textarea){height:auto}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-0[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:ring-2[aria-invalid=true],.aria-invalid\:ring-\[2px\][aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-active\:bg-sidebar-accent[data-active]{background-color:var(--sidebar-accent)}.data-active\:font-medium[data-active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-active\:text-sidebar-accent-foreground[data-active]{color:var(--sidebar-accent-foreground)}.data-closed\:overflow-hidden[data-closed]{overflow:hidden}.data-disabled\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\:opacity-50[data-disabled]{opacity:.5}.data-empty\:p-0[data-empty]{padding:calc(var(--spacing) * 0)}.data-ending-style\:opacity-0[data-ending-style]{opacity:0}.data-highlighted\:bg-accent[data-highlighted]{background-color:var(--accent)}.data-highlighted\:text-accent-foreground[data-highlighted],:is(.not-data-\[variant\=destructive\]\:data-highlighted\:\*\*\:text-accent-foreground:not([data-variant=destructive])[data-highlighted] *){color:var(--accent-foreground)}.data-inset\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-open\:bg-accent[data-open]{background-color:var(--accent)}.data-open\:text-accent-foreground[data-open]{color:var(--accent-foreground)}.data-open\:opacity-100[data-open]{opacity:1}@media (hover:hover){.data-open\:hover\:bg-sidebar-accent[data-open]:hover{background-color:var(--sidebar-accent)}.data-open\:hover\:text-sidebar-accent-foreground[data-open]:hover{color:var(--sidebar-accent-foreground)}}.data-placeholder\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-pressed\:bg-transparent[data-pressed]{background-color:#0000}.data-selected\:border-primary[data-selected]{border-color:var(--primary)}.data-selected\:text-foreground[data-selected]{color:var(--foreground)}.data-starting-style\:opacity-0[data-starting-style]{opacity:0}.data-\[chips\=true\]\:min-w-\(--anchor-width\)[data-chips=true]{min-width:var(--anchor-width)}.data-\[invalid\=true\]\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[orientation\=vertical\]\:self-stretch[data-orientation=vertical]{align-self:stretch}.data-\[side\=bottom\]\:inset-x-0[data-side=bottom]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:calc(var(--spacing) * 1)}.data-\[side\=bottom\]\:bottom-0[data-side=bottom]{bottom:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:h-auto[data-side=bottom]{height:auto}.data-\[side\=bottom\]\:border-t[data-side=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\[side\=left\]\:inset-y-0[data-side=left]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=left\]\:top-1\/2\![data-side=left]{top:50%!important}.data-\[side\=left\]\:-right-1[data-side=left]{right:calc(var(--spacing) * -1)}.data-\[side\=left\]\:left-0[data-side=left]{left:calc(var(--spacing) * 0)}.data-\[side\=left\]\:h-full[data-side=left]{height:100%}.data-\[side\=left\]\:w-3\/4[data-side=left]{width:75%}.data-\[side\=left\]\:-translate-y-1\/2[data-side=left]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:border-r[data-side=left]{border-right-style:var(--tw-border-style);border-right-width:1px}.data-\[side\=right\]\:inset-y-0[data-side=right]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=right\]\:top-1\/2\![data-side=right]{top:50%!important}.data-\[side\=right\]\:right-0[data-side=right]{right:calc(var(--spacing) * 0)}.data-\[side\=right\]\:-left-1[data-side=right]{left:calc(var(--spacing) * -1)}.data-\[side\=right\]\:h-full[data-side=right]{height:100%}.data-\[side\=right\]\:w-3\/4[data-side=right]{width:75%}.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:border-l[data-side=right]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\[side\=top\]\:inset-x-0[data-side=top]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=top\]\:top-0[data-side=top]{top:calc(var(--spacing) * 0)}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]{bottom:calc(var(--spacing) * -2.5)}.data-\[side\=top\]\:h-auto[data-side=top]{height:auto}.data-\[side\=top\]\:border-b[data-side=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.data-\[size\=default\]\:h-7[data-size=default]{height:calc(var(--spacing) * 7)}.data-\[size\=default\]\:max-w-xs[data-size=default]{max-width:var(--container-xs)}.data-\[size\=lg\]\:size-10[data-size=lg]{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.data-\[size\=md\]\:text-xs[data-size=md]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.data-\[size\=sm\]\:size-6[data-size=sm]{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:h-6[data-size=sm]{height:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:max-w-64[data-size=sm]{max-width:calc(var(--spacing) * 64)}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-block:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:text-xs[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:is(.\*\:data-\[slot\=avatar\]\:ring-2>*)[data-slot=avatar]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\:data-\[slot\=avatar\]\:ring-background>*)[data-slot=avatar]{--tw-ring-color:var(--background)}.data-\[slot\=checkbox-group\]\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\*\:data-\[slot\=field\]\:p-2>*)[data-slot=field]{padding:calc(var(--spacing) * 2)}:is(.\*\:data-\[slot\=field-group\]\:gap-4>*)[data-slot=field-group]{gap:calc(var(--spacing) * 4)}:is(.\*\:data-\[slot\=input-group\]\:m-1>*)[data-slot=input-group]{margin:calc(var(--spacing) * 1)}:is(.\*\:data-\[slot\=input-group\]\:mb-0>*)[data-slot=input-group]{margin-bottom:calc(var(--spacing) * 0)}:is(.\*\:data-\[slot\=input-group\]\:h-7>*)[data-slot=input-group]{height:calc(var(--spacing) * 7)}:is(.\*\:data-\[slot\=input-group\]\:border-none>*)[data-slot=input-group]{--tw-border-style:none;border-style:none}:is(.\*\:data-\[slot\=input-group\]\:bg-input\/20>*)[data-slot=input-group]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:bg-input\/20>*)[data-slot=input-group]{background-color:color-mix(in oklab, var(--input) 20%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:shadow-none>*)[data-slot=input-group]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\*\:data-\[slot\=kbd\]\:rounded-\[calc\(var\(--radius-sm\)-2px\)\] *)[data-slot=kbd]{border-radius:calc(var(--radius-sm) - 2px)}:is(.\*\*\:data-\[slot\=kbd\]\:rounded-md *)[data-slot=kbd]{border-radius:var(--radius)}:is(.\*\*\:data-\[slot\=kbd\]\:bg-muted-foreground\/10 *)[data-slot=kbd]{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){:is(.\*\*\:data-\[slot\=kbd\]\:bg-muted-foreground\/10 *)[data-slot=kbd]{background-color:color-mix(in oklab, var(--muted-foreground) 10%, transparent)}}:is(.\*\*\:data-\[slot\=kbd\]\:px-1 *)[data-slot=kbd]{padding-inline:calc(var(--spacing) * 1)}:is(.\*\*\:data-\[slot\=kbd\]\:text-\[0\.625rem\] *)[data-slot=kbd]{font-size:.625rem}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-1\.5>*)[data-slot=select-value]{gap:calc(var(--spacing) * 1.5)}.data-\[state\=open\]\:bg-sidebar-accent[data-state=open]{background-color:var(--sidebar-accent)}.data-\[state\=open\]\:text-sidebar-accent-foreground[data-state=open]{color:var(--sidebar-accent-foreground)}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}.data-\[variant\=label\]\:text-xs\/relaxed[data-variant=label]{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.data-\[variant\=legend\]\:text-sm[data-variant=legend]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.nth-last-2\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.supports-backdrop-filter\:backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}@media (width>=40rem){.sm\:flex{display:flex}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:row-span-2:is(:where(.group\/alert-dialog-content)[data-size=default] *){grid-row:span 2/span 2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:place-items-start:is(:where(.group\/alert-dialog-content)[data-size=default] *){place-items:start}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:text-left:is(:where(.group\/alert-dialog-content)[data-size=default] *){text-align:left}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:group-has-data-\[slot\=alert-dialog-media\]\/alert-dialog-content\:col-start-2:is(:where(.group\/alert-dialog-content)[data-size=default] *):is(:where(.group\/alert-dialog-content):has([data-slot=alert-dialog-media]) *){grid-column-start:2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_1fr\]:is(:where(.group\/alert-dialog-content)[data-size=default] *):has([data-slot=alert-dialog-media]){grid-template-rows:auto 1fr}.data-\[side\=left\]\:sm\:max-w-sm[data-side=left],.data-\[side\=right\]\:sm\:max-w-sm[data-side=right],.data-\[size\=default\]\:sm\:max-w-sm[data-size=default]{max-width:var(--container-sm)}}@media (width>=48rem){.md\:block{display:block}.md\:flex{display:flex}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-xs\/relaxed{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.md\:text-pretty{text-wrap:pretty}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing) * 0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) + 4px)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 2)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media (width>=64rem){.lg\:block{display:block}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container field-group (width>=28rem){.\@md\/field-group\:flex-row{flex-direction:row}.\@md\/field-group\:items-center{align-items:center}.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}}.dark\:scale-0:where(.dark,.dark *){--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dark\:scale-100:where(.dark,.dark *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dark\:-rotate-90:where(.dark,.dark *){rotate:-90deg}.dark\:rotate-0:where(.dark,.dark *){rotate:0deg}.dark\:bg-destructive\/20:where(.dark,.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-destructive\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\:bg-gray-800:where(.dark,.dark *){background-color:var(--color-gray-800)}.dark\:bg-green-900:where(.dark,.dark *){background-color:var(--color-green-900)}.dark\:bg-input\/30:where(.dark,.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-input\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:bg-muted\/30:where(.dark,.dark *){background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-muted\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--muted) 30%, transparent)}}.dark\:bg-popover:where(.dark,.dark *){background-color:var(--popover)}.dark\:bg-red-900:where(.dark,.dark *){background-color:var(--color-red-900)}.dark\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\:bg-yellow-900:where(.dark,.dark *){background-color:var(--color-yellow-900)}.dark\:bg-zinc-800:where(.dark,.dark *){background-color:var(--color-zinc-800)}.dark\:text-emerald-400:where(.dark,.dark *){color:var(--color-emerald-400)}.dark\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\:text-green-100:where(.dark,.dark *){color:var(--color-green-100)}.dark\:text-red-100:where(.dark,.dark *){color:var(--color-red-100)}.dark\:text-yellow-100:where(.dark,.dark *){color:var(--color-yellow-100)}.dark\:text-zinc-400:where(.dark,.dark *){color:var(--color-zinc-400)}.dark\:invert:where(.dark,.dark *){--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dark\:after\:mix-blend-lighten:where(.dark,.dark *):after{content:var(--tw-content);mix-blend-mode:lighten}@media (hover:hover){.dark\:hover\:bg-destructive\/30:where(.dark,.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-destructive\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\:hover\:bg-input\/50:where(.dark,.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-input\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\:hover\:bg-muted\/50:where(.dark,.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-muted\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.dark\:focus-visible\:ring-destructive\/40:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:focus-visible\:ring-destructive\/40:where(.dark,.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-aria-invalid\:border-destructive\/50:where(.dark,.dark *):has([aria-invalid=true]){border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:border-destructive\/50:where(.dark,.dark *):has([aria-invalid=true]){border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:has-aria-invalid\:ring-destructive\/40:where(.dark,.dark *):has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:ring-destructive\/40:where(.dark,.dark *):has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-data-checked\:bg-primary\/10:where(.dark,.dark *):has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\:has-data-checked\:bg-primary\/10:where(.dark,.dark *):has([data-checked]){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:where(.dark,.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:where(.dark,.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:aria-invalid\:border-destructive\/50:where(.dark,.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:border-destructive\/50:where(.dark,.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:aria-invalid\:ring-destructive\/40:where(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:ring-destructive\/40:where(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:where(.dark,.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:where(.dark,.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-2\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\.border-b\]\:pb-2.border-b{padding-bottom:calc(var(--spacing) * 2)}.\[\.border-b\]\:pb-4.border-b{padding-bottom:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-b\]\:pb-3:is(:where(.group\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing) * 3)}.\[\.border-t\]\:pt-2.border-t{padding-top:calc(var(--spacing) * 2)}.\[\.border-t\]\:pt-4.border-t{padding-top:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-t\]\:pt-3:is(:where(.group\/card)[data-size=sm] *).border-t{padding-top:calc(var(--spacing) * 3)}:is(.\*\:\[a\]\:underline>*):is(a){text-decoration-line:underline}:is(.\*\:\[a\]\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[a\]\:hover\:bg-muted:is(a):hover{background-color:var(--muted)}.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.\[a\]\:hover\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}:is(.\*\:\[a\]\:hover\:text-foreground>*):is(a):hover{color:var(--foreground)}}:is(.\*\:\[img\:first-child\]\:rounded-t-lg>*):is(img:first-child){border-top-left-radius:calc(var(--radius) + 2px);border-top-right-radius:calc(var(--radius) + 2px)}:is(.\*\:\[img\:last-child\]\:rounded-b-lg>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) + 2px);border-bottom-left-radius:calc(var(--radius) + 2px)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)}:is(.\*\:\[svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4>*):is(svg:not([class*=size-])){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>\*\]\:w-full>*{width:100%}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\*\]\:w-auto>*{width:auto}}.\[\&\>\.sr-only\]\:w-auto>.sr-only{width:auto}.\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}}.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]{margin-top:1px}@container field-group (width>=28rem){.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]{margin-top:1px}}.\[\&\>a\]\:underline>a{text-decoration-line:underline}.\[\&\>a\]\:underline-offset-4>a{text-underline-offset:4px}.\[\&\>a\:hover\]\:text-primary>a:hover{color:var(--primary)}.\[\&\>button\]\:hidden>button{display:none}.has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-1\.5:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing) * 1.5)}.has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-1\.5:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing) * 1.5)}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-2\.5\!>svg{width:calc(var(--spacing) * 2.5)!important;height:calc(var(--spacing) * 2.5)!important}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}.group-has-data-\[size\=lg\]\/avatar-group\:\[\&\>svg\]\:size-5:is(:where(.group\/avatar-group):has([data-size=lg]) *)>svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.group-has-data-\[size\=sm\]\/avatar-group\:\[\&\>svg\]\:size-3:is(:where(.group\/avatar-group):has([data-size=sm]) *)>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=default\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=default] *)>svg,.group-data-\[size\=lg\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=lg] *)>svg{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:\[\&\>svg\]\:hidden:is(:where(.group\/avatar)[data-size=sm] *)>svg{display:none}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3>svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}[data-side=left][data-collapsible=offExamples] .\[\[data-side\=left\]\[data-collapsible\=offExamples\]_\&\]\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offExamples] .\[\[data-side\=right\]\[data-collapsible\=offExamples\]_\&\]\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-variant=legend]+.\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5{margin-top:calc(var(--spacing) * -1.5)}}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAfsABQAAAAAEAwAAAeCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoP0hWQVJbBmA/U1RBVIFiJyYAdC9qEQgKhGSEAAsgADCGCAE2AiQDOgQgBYlMB4EUDAcbLQ4onoexrSC/2ZyLAa8p8VHB8/x3Vue+V0hVJalMJg2nx/TCrQXxBeqLjQG7FyM1WEa/X1tEXN7cFz9EJEMmMUz3RihWSSKeQCbcIou0izz/C8v+fq3VfajEa9gDD11CImXS7qL/RJFVzC1qiB6KmKeD6TZdQ6IRGv78dL6uSVVCfgni5mzu7kcgQBgAEAQTQRCoL++STTYybkJxNfQxAAIAGu8OdEB9teW2jh4BpgDqFjAeSEByW3zFP0CBBgNMsMCGEDjgggdhiEAUAeIIED7ABTDUEnkIE9Q9ahFgKttcVhApo4ACB4qobHaccgDfEjFO6aaWUhjMLt2SyIvHKoDqoA4CSUwEIYQCEjhAO9R1G6keDeDZGjNo+AhxOjCEGTr1WeIF3kYBiLAOKvkJSMiKX0VdAyQt3SDJClCkxJCHkCzfqyVTriJZLcolS32JZHUekq2TYNkYtCtjYHMQXSxGjXDz2t/yLWXzDzxz+o3zFwDEaN23F+13pyMdQAEaSKAR9vcGq4A4MTSKCElGW+M7UcY7xqkggITb28ZJhlqc9q2twYKTt0NjixBgYvO9BIihEBLYuOFXQzfIQ7dXGUEEEgFDooBfAzqiQbpJrhiWSuKJCRFKYbHCyJKI2G5GiZbNAvgAu5pc3vwx4G+g3aDkhklABiSz0BICXrYghtYhx/cdJ+44rY2oZ0aMNRFz3VZjb6W33F3gzltqtOCV8tTHSpOeXuItfvr5lCdfzFpqtEitvqdcdGGFd28ZqqC0tPbeChGXgrIlnhSWu/eUso4uKWFLugyDzQJhflY4659+WjQ++6x72WUMv9G8mw6QJl7BVxX5fe/kpUsOvnZwee9uQ0cGXYd0o89XB2748sDSnt8d2VphdOTTgceDVvOds0v9P/s7HPq15aGun/6Vllb56f1dl0t1LejqrNkpdRZsG8TOnM5vkBG5oiVyVGnS8LHps5cfNWJs6qKPfaNSxiQNBUm3cKNWROr0GSur7Za31k1vieq7LH11VF+jXdRIasRKflc7jkobm1Z9te1IyZA0pDkhLR98+H37Zf1c/8at+dB7x+7GfVyTfJMPiYztsnl59Y5l4j+0n1RXlpHnF3Tq7HecmNF/CJodEMAikruxiyJaGLvHOdAfoA+oDvpjBm2b91cHGRZMU9n25xEU0A8fgEEAdKI3Q1iDtc034sug5YVMkE2jsE+BIkwSoQ3gxXMqz9tELp48bd0cFKOKS7xYjEuXBnZP5ia7DyiO/X/YI+PQSbt2uSdqAkWL9nQbV1XB94/+uPfdZz8dnXYFBYrcTl2SIR/ybxJNJPz/Gupb0JaZeens2ekC7EKr8t+Ls/P5VJPYJdHKyqfg2nqU6bhlidzcddQV/7MmecTzJ5VPcKXkNKSEogHjYFx6QZ7rQ+FSe8njaiNuOnXS8H2ScQ619c2mC3VTtauL0rRbXd/CkSOP37FY9Zkjz8+GibYUMOEWF+RdrFS8Ecv1SHOpPUPZGEIpjPvFyU5cXKjd6OXqorTqy9GwRd++HVufPGnVsW+aO3vggKZ18jR9sXaTC1PWTEsVUaK0FkNySbTQDqlm2PfDjZcu4aalnSLKjnOoYQ0nUlqqXcGpPu/4VgV/xU2pAqW4BW3qzhQ8/hFKhV2qE3+BKAtDqBXjfgnVdH4y0wg5tbVNRenNdTWOrenWLcupQdmsbq5b+18piTe/xRdp1xbILxNPJGInm2z6hoB21Lal0i+ePTtd7B45+3XhFJ329evskXm7qurUVREotqSluSo/L29d3qDhI4YOQqWhI4YNvBNfsMHeXKemXrxQfKeuPOGRVayA3JtkJKEgbPp+dXUDluddutRYLFoXGXWX6N3WFaGLbQtRSitVYNacTNSdy7AaG/HSaUEANcBoGXNdcZvZsOqQ1icBDv21/gzAoYPHH/WDW0qNR3QTYKEAEHig6o13NXbND06CQPlRtYjGNnSktRc09k1mAMDvAlDKfQjgy6fssInlfzmNAjKkDxoxHOBLdVRAIVt9j4qo+hA1w9T1aNBNTUOTTNUHLbqokE+UAfJXCIGw/IxCSL5GRUJeR40rL/UxTm4Q08H6MbCs70ObuNyIIXrINHQYInF06UUlevTjbQzTh5upiDMzMMogUtEnjPs/Y7jAHCJeB0GBHh04tC6FiB6ZFB1oArUSIoFoqhzCeAN6lHwm0T4C3VVPWvjpSMXReuWesMEcoqrmgtNBGd2noWeV0hNAz9rFeShNJxHGsPa3HXeKTk8b55hahySYHaYKKFFLpCfN8rsoaJn01CR04Gkc+5k7KVTCmClX8Q10HCrUEkVlSX+XO33oQR9609tJ516H497WSobWs5Up6TLaS10/dessIskgJSLiDlWvHVUywpkQ7hdPZqGyiEF0uVQerVcPamT1A3eKXdyI1vG9OoflrSXihZ1qqGE3nhmAgiIbRCQgPLEPtOM3UQwTLYaYYomNlpA44opnjV6jkD6id80OOrzf6BzmMD6eEa1zKyeYG1fzfEf16V6jw9XYOaar1/b2kP/IYX8oR2mcFvv2GtBV3JXgd437AQAA)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-cyrillic-wght-normal.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-greek-wght-normal.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-vietnamese-wght-normal.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-sans:"Geist Variable", sans-serif;--font-mono:"JetBrains Mono Variable", monospace;--background:#f4f1ec;--foreground:#1d2930;--card:#f9f8f6;--card-foreground:#1d2930;--popover:#fbfaf9;--popover-foreground:#1d2930;--primary:#305030;--primary-foreground:#f5f3ef;--secondary:#eae5d7;--secondary-foreground:#263740;--muted:#e9e7e2;--muted-foreground:#576b75;--accent:#e7e2da;--accent-foreground:#1d2930;--destructive:#c32222;--destructive-foreground:#fff;--border:#b6c9b6;--input:#dedbd3;--ring:#3e743e;--chart-1:#2e6b2e;--chart-2:#cfa117;--chart-3:#297aa3;--chart-4:#cc8c33;--chart-5:#b82e2e;--radius:.25rem;--sidebar:#f5f3f0;--sidebar-background:#f5f3f0;--sidebar-foreground:#263740;--sidebar-primary:#305030;--sidebar-primary-foreground:#f5f3ef;--sidebar-accent:#e7e2da;--sidebar-accent-foreground:#1d2930;--sidebar-border:#c4d4c4;--sidebar-ring:#3e743e;--tactical-amber:#c2940a;--tactical-amber-dim:#d6b85c;--tactical-green:#267326;--tactical-green-dim:#7ab87a;--tactical-cyan:#24868f;--tactical-cyan-dim:#5eb2ba;--tactical-red:#bd2828;--tactical-olive:#64783a;--scanline-opacity:.015}.dark{--background:#0d1012;--foreground:#e0ddd1;--card:#14181a;--card-foreground:#e0ddd1;--popover:#111517;--popover-foreground:#e0ddd1;--primary:#fa0;--primary-foreground:#0d1012;--secondary:#323922;--secondary-foreground:#c6d2ac;--muted:#202527;--muted-foreground:#819098;--accent:#292f32;--accent-foreground:#ebe8e0;--destructive:#c32222;--destructive-foreground:#fff;--border:#203c32;--input:#292f32;--ring:#ffbf00;--chart-1:#ffbf00;--chart-2:#22c38e;--chart-3:#1aa1e6;--chart-4:#86ac39;--chart-5:#d92626;--sidebar:#111517;--sidebar-background:#111517;--sidebar-foreground:#e0ddd1;--sidebar-primary:#ffbf00;--sidebar-primary-foreground:#0d1012;--sidebar-accent:#292f32;--sidebar-accent-foreground:#ebe8e0;--sidebar-border:#203c32;--sidebar-ring:#ffbf00;--tactical-amber:#ffbf00;--tactical-amber-dim:#a17d12;--tactical-green:#22c38e;--tactical-green-dim:#20604a;--tactical-cyan:#17bfcf;--tactical-cyan-dim:#196066;--tactical-red:#d92626;--tactical-olive:#576b2e;--scanline-opacity:.03}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}} +@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-100:#ffe2e2;--color-red-800:#9f0712;--color-red-900:#82181a;--color-amber-500:#f99c00;--color-yellow-100:#fef9c2;--color-yellow-800:#874b00;--color-yellow-900:#733e0a;--color-green-100:#dcfce7;--color-green-800:#016630;--color-green-900:#0d542b;--color-emerald-400:#00d294;--color-emerald-500:#00bb7f;--color-emerald-700:#007956;--color-blue-500:#3080ff;--color-gray-100:#f3f4f6;--color-gray-800:#1e2939;--color-zinc-100:#f4f4f5;--color-zinc-400:#9f9fa9;--color-zinc-500:#71717b;--color-zinc-800:#27272a;--color-black:#000;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-4xl:56rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-snug:1.375;--leading-normal:1.5;--leading-relaxed:1.625;--radius-sm:calc(var(--radius) - 2px);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-xs:4px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}@supports (color:lab(0% 0 0)){:root,:host{--color-red-100:lab(92.243% 10.2865 3.83865);--color-red-800:lab(33.7174% 55.8993 41.0293);--color-red-900:lab(28.5139% 44.5539 29.0463);--color-amber-500:lab(72.7183% 31.8672 97.9407);--color-yellow-100:lab(97.3564% -4.51407 27.344);--color-yellow-800:lab(38.7484% 23.5833 51.4916);--color-yellow-900:lab(32.3865% 21.1273 38.5959);--color-green-100:lab(96.1861% -13.8464 6.52365);--color-green-800:lab(37.4616% -36.7971 22.9692);--color-green-900:lab(30.797% -29.6927 17.382);--color-emerald-400:lab(75.0771% -60.7313 19.4147);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-700:lab(44.4871% -41.0396 11.0361);--color-blue-500:lab(54.1736% 13.3369 -74.6839);--color-gray-100:lab(96.1596% -.0823438 -1.13575);--color-gray-800:lab(16.1051% -1.18239 -11.7533);--color-zinc-100:lab(96.1634% .0993311 -.364041);--color-zinc-400:lab(65.6464% 1.53497 -5.42429);--color-zinc-500:lab(47.8878% 1.65477 -5.77283);--color-zinc-800:lab(15.7305% .613764 -2.16959)}}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{overscroll-behavior:none;border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--ring) 50%, transparent)}}*{scrollbar-width:thin}body{background-color:var(--background);width:100%;min-height:100svh;color:var(--foreground);font-family:var(--font-sans), sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.font-mono{font-family:var(--font-mono), monospace}button:not(:disabled),[role=button]:not(:disabled){cursor:pointer}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.\@container\/field-group{container:field-group/inline-size}.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-y-0{inset-block:calc(var(--spacing) * 0)}.top-0{top:calc(var(--spacing) * 0)}.top-1\.5{top:calc(var(--spacing) * 1.5)}.top-1\/2{top:50%}.top-3\.5{top:calc(var(--spacing) * 3.5)}.top-4{top:calc(var(--spacing) * 4)}.right-0{right:calc(var(--spacing) * 0)}.right-1{right:calc(var(--spacing) * 1)}.right-2{right:calc(var(--spacing) * 2)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:calc(var(--spacing) * 0)}.left-0{left:calc(var(--spacing) * 0)}.left-1\/2{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.order-first{order:-9999}.order-last{order:9999}.col-span-2{grid-column:span 2/span 2}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-0{margin-inline:calc(var(--spacing) * 0)}.mx-2{margin-inline:calc(var(--spacing) * 2)}.mx-3\.5{margin-inline:calc(var(--spacing) * 3.5)}.mx-auto{margin-inline:auto}.-my-2{margin-block:calc(var(--spacing) * -2)}.my-1{margin-block:calc(var(--spacing) * 1)}.my-2{margin-block:calc(var(--spacing) * 2)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-4{margin-left:calc(var(--spacing) * 4)}.ml-auto{margin-left:auto}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.field-sizing-content{field-sizing:content}.aspect-square{aspect-ratio:1}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-12{width:calc(var(--spacing) * 12);height:calc(var(--spacing) * 12)}.size-\[1\.2rem\]{width:1.2rem;height:1.2rem}.size-full{width:100%;height:100%}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-\[calc\(--spacing\(4\.75\)\)\]{height:calc(calc(var(--spacing) * 4.75))}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-svh{height:100svh}.max-h-\(--available-height\){max-height:var(--available-height)}.max-h-72{max-height:calc(var(--spacing) * 72)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[min\(calc\(--spacing\(72\)---spacing\(9\)\)\,calc\(var\(--available-height\)---spacing\(9\)\)\)\]{max-height:min(calc(calc(var(--spacing) * 72) - calc(var(--spacing) * 9)), calc(var(--available-height) - calc(var(--spacing) * 9)))}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-svh{min-height:100svh}.w-\(--anchor-width\){width:var(--anchor-width)}.w-\(--radix-dropdown-menu-trigger-width\){width:var(--radix-dropdown-menu-trigger-width)}.w-\(--sidebar-width\){width:var(--sidebar-width)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-8{width:calc(var(--spacing) * 8)}.w-24{width:calc(var(--spacing) * 24)}.w-32{width:calc(var(--spacing) * 32)}.w-36{width:calc(var(--spacing) * 36)}.w-48{width:calc(var(--spacing) * 48)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\(--available-width\){max-width:var(--available-width)}.max-w-\(--skeleton-width\){max-width:var(--skeleton-width)}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-5{min-width:calc(var(--spacing) * 5)}.min-w-16{min-width:calc(var(--spacing) * 16)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-56{min-width:calc(var(--spacing) * 56)}.min-w-\[calc\(var\(--anchor-width\)\+--spacing\(7\)\)\]{min-width:calc(var(--anchor-width) + calc(var(--spacing) * 7))}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.origin-\(--transform-origin\){transform-origin:var(--transform-origin)}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\[calc\(-50\%-2px\)\]{--tw-translate-y:calc(-50% - 2px);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-none{translate:none}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-3d{scale:var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)}.rotate-0{rotate:0deg}.rotate-45{rotate:45deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.cursor-text{cursor:text}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)}.resize{resize:both}.resize-none{resize:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.scroll-py-1{scroll-padding-block:calc(var(--spacing) * 1)}.list-inside{list-style-position:inside}.list-disc{list-style-type:disc}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-\[auto_1fr\]{grid-template-rows:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-px{gap:1px}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}:where(.-space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * -2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * -2) * calc(1 - var(--tw-space-x-reverse)))}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px * var(--tw-divide-x-reverse));border-inline-end-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[calc\(var\(--radius-sm\)\+2px\)\]{border-radius:calc(var(--radius-sm) + 2px)}.rounded-\[calc\(var\(--radius-sm\)-2px\)\]{border-radius:calc(var(--radius-sm) - 2px)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:calc(var(--radius) + 2px)}.rounded-md{border-radius:var(--radius)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 2px)}.rounded-xl{border-radius:calc(var(--radius) + 4px)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-t-lg{border-top-left-radius:calc(var(--radius) + 2px);border-top-right-radius:calc(var(--radius) + 2px)}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-b-lg{border-bottom-right-radius:calc(var(--radius) + 2px);border-bottom-left-radius:calc(var(--radius) + 2px)}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-bs{border-block-start-style:var(--tw-border-style);border-block-start-width:1px}.border-be{border-block-end-style:var(--tw-border-style);border-block-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-2{border-left-style:var(--tw-border-style);border-left-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.border-amber-500\/30{border-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab, red, red)){.border-blue-500\/30{border-color:color-mix(in oklab, var(--color-blue-500) 30%, transparent)}}.border-border{border-color:var(--border)}.border-destructive{border-color:var(--destructive)}.border-emerald-500{border-color:var(--color-emerald-500)}.border-emerald-500\/30{border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\/30{border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.border-foreground\/10{border-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.border-foreground\/10{border-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.border-foreground\/20{border-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.border-foreground\/20{border-color:color-mix(in oklab, var(--foreground) 20%, transparent)}}.border-input{border-color:var(--input)}.border-muted{border-color:var(--muted)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-transparent{border-color:#0000}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab, red, red)){.bg-amber-500\/10{background-color:color-mix(in oklab, var(--color-amber-500) 10%, transparent)}}.bg-background{background-color:var(--background)}.bg-black\/80{background-color:#000c}@supports (color:color-mix(in lab, red, red)){.bg-black\/80{background-color:color-mix(in oklab, var(--color-black) 80%, transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab, red, red)){.bg-blue-500\/10{background-color:color-mix(in oklab, var(--color-blue-500) 10%, transparent)}}.bg-border,.bg-border\/50{background-color:var(--border)}@supports (color:color-mix(in lab, red, red)){.bg-border\/50{background-color:color-mix(in oklab, var(--border) 50%, transparent)}}.bg-card{background-color:var(--card)}.bg-destructive\/10{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.bg-destructive\/10{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.bg-emerald-500\/10{background-color:#00bb7f1a}@supports (color:color-mix(in lab, red, red)){.bg-emerald-500\/10{background-color:color-mix(in oklab, var(--color-emerald-500) 10%, transparent)}}.bg-foreground{background-color:var(--foreground)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-green-100{background-color:var(--color-green-100)}.bg-input\/20{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.bg-input\/20{background-color:color-mix(in oklab, var(--input) 20%, transparent)}}.bg-muted{background-color:var(--muted)}.bg-muted-foreground\/10{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){.bg-muted-foreground\/10{background-color:color-mix(in oklab, var(--muted-foreground) 10%, transparent)}}.bg-muted\/20{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/20{background-color:color-mix(in oklab, var(--muted) 20%, transparent)}}.bg-muted\/30{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/30{background-color:color-mix(in oklab, var(--muted) 30%, transparent)}}.bg-muted\/50{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.bg-muted\/50{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-red-100{background-color:var(--color-red-100)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-transparent{background-color:#0000}.bg-yellow-100{background-color:var(--color-yellow-100)}.bg-zinc-100{background-color:var(--color-zinc-100)}.bg-clip-padding{background-clip:padding-box}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-foreground{fill:var(--foreground)}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-8{padding:calc(var(--spacing) * 8)}.px-0{padding-inline:calc(var(--spacing) * 0)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-0{padding-bottom:calc(var(--spacing) * 0)}.pb-1{padding-bottom:calc(var(--spacing) * 1)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-sm\/relaxed{font-size:var(--text-sm);line-height:var(--leading-relaxed)}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-xs\/relaxed{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.text-\[0\.625rem\]{font-size:.625rem}.text-\[11px\]{font-size:11px}.leading-none{--tw-leading:1;line-height:1}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.leading-snug{--tw-leading:var(--leading-snug);line-height:var(--leading-snug)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-background{color:var(--background)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-emerald-700{color:var(--color-emerald-700)}.text-foreground{color:var(--foreground)}.text-gray-800{color:var(--color-gray-800)}.text-green-800{color:var(--color-green-800)}.text-muted-foreground{color:var(--muted-foreground)}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-red-800{color:var(--color-red-800)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab, red, red)){.text-sidebar-foreground\/70{color:color-mix(in oklab, var(--sidebar-foreground) 70%, transparent)}}.text-tactical-amber{color:var(--tactical-amber)}.text-tactical-cyan{color:var(--tactical-cyan)}.text-tactical-green{color:var(--tactical-green)}.text-yellow-800{color:var(--color-yellow-800)}.text-zinc-500{color:var(--color-zinc-500)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.opacity-50{opacity:.5}.bg-blend-color{background-blend-mode:color}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_0_0_1px_hsl\(var\(--sidebar-border\)\)\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background{--tw-ring-color:var(--background)}.ring-foreground\/10{--tw-ring-color:var(--foreground)}@supports (color:color-mix(in lab, red, red)){.ring-foreground\/10{--tw-ring-color:color-mix(in oklab, var(--foreground) 10%, transparent)}}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a)) drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a) drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[left\,right\,width\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[margin\,opacity\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,padding\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}.group-focus-within\/menu-item\:opacity-100:is(:where(.group\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\/menu-item\:opacity-100:is(:where(.group\/menu-item):hover *){opacity:1}}.group-focus\/dropdown-menu-item\:text-accent-foreground:is(:where(.group\/dropdown-menu-item):focus *){color:var(--accent-foreground)}.group-has-data-\[orientation\=horizontal\]\/field\:text-balance:is(:where(.group\/field):has([data-orientation=horizontal]) *){text-wrap:balance}.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8:is(:where(.group\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing) * 8)}.group-has-data-\[size\=lg\]\/avatar-group\:size-10:is(:where(.group\/avatar-group):has([data-size=lg]) *){width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.group-has-data-\[size\=sm\]\/avatar-group\:size-6:is(:where(.group\/avatar-group):has([data-size=sm]) *){width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.group-has-data-\[slot\=combobox-clear\]\/input-group\:hidden:is(:where(.group\/input-group):has([data-slot=combobox-clear]) *){display:none}.group-has-\[\>input\]\/input-group\:pt-2:is(:where(.group\/input-group):has(>input) *){padding-top:calc(var(--spacing) * 2)}.group-has-\[\>input\]\/input-group\:pb-2:is(:where(.group\/input-group):has(>input) *){padding-bottom:calc(var(--spacing) * 2)}.group-data-empty\/combobox-content\:flex:is(:where(.group\/combobox-content)[data-empty] *){display:flex}.group-data-\[collapsible\=icon\]\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing) * -8)}.group-data-\[collapsible\=icon\]\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\[collapsible\=icon\]\:size-8\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing) * 8)!important;height:calc(var(--spacing) * 8)!important}.group-data-\[collapsible\=icon\]\:w-\(--sidebar-width-icon\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)))}.group-data-\[collapsible\=icon\]\:w-\[calc\(var\(--sidebar-width-icon\)\+\(--spacing\(4\)\)\+2px\)\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing) * 4)) + 2px)}.group-data-\[collapsible\=icon\]\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\[collapsible\=icon\]\:p-0\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 0)!important}.group-data-\[collapsible\=icon\]\:p-2\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing) * 2)!important}.group-data-\[collapsible\=icon\]\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\[collapsible\=offExamples\]\:right-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offExamples] *){right:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offExamples\]\:left-\[calc\(var\(--sidebar-width\)\*-1\)\]:is(:where(.group)[data-collapsible=offExamples] *){left:calc(var(--sidebar-width) * -1)}.group-data-\[collapsible\=offExamples\]\:w-0:is(:where(.group)[data-collapsible=offExamples] *){width:calc(var(--spacing) * 0)}.group-data-\[collapsible\=offExamples\]\:translate-x-0:is(:where(.group)[data-collapsible=offExamples] *){--tw-translate-x:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.group-data-\[disabled\=true\]\:pointer-events-none:is(:where(.group)[data-disabled=true] *){pointer-events:none}.group-data-\[disabled\=true\]\:opacity-50:is(:where(.group)[data-disabled=true] *),.group-data-\[disabled\=true\]\/field\:opacity-50:is(:where(.group\/field)[data-disabled=true] *),.group-data-\[disabled\=true\]\/input-group\:opacity-50:is(:where(.group\/input-group)[data-disabled=true] *){opacity:.5}.group-data-\[panel-open\]\:rotate-180:is(:where(.group)[data-panel-open] *){rotate:180deg}.group-data-\[side\=left\]\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing) * -4)}.group-data-\[side\=left\]\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\[side\=right\]\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing) * 0)}.group-data-\[side\=right\]\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\[side\=right\]\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\[size\=default\]\/avatar\:size-2\.5:is(:where(.group\/avatar)[data-size=default] *){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.group-data-\[size\=lg\]\/avatar\:size-3:is(:where(.group\/avatar)[data-size=lg] *){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=sm\]\/alert-dialog-content\:grid:is(:where(.group\/alert-dialog-content)[data-size=sm] *){display:grid}.group-data-\[size\=sm\]\/alert-dialog-content\:grid-cols-2:is(:where(.group\/alert-dialog-content)[data-size=sm] *){grid-template-columns:repeat(2,minmax(0,1fr))}.group-data-\[size\=sm\]\/avatar\:size-2:is(:where(.group\/avatar)[data-size=sm] *){width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:text-xs:is(:where(.group\/avatar)[data-size=sm] *){font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.group-data-\[size\=sm\]\/card\:px-3:is(:where(.group\/card)[data-size=sm] *){padding-inline:calc(var(--spacing) * 3)}.group-data-\[variant\=floating\]\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:calc(var(--radius) + 2px)}.group-data-\[variant\=floating\]\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-1:is(:where(.group)[data-variant=floating] *){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.group-data-\[variant\=floating\]\:ring-sidebar-border:is(:where(.group)[data-variant=floating] *){--tw-ring-color:var(--sidebar-border)}.group-data-\[variant\=outline\]\/field-group\:-mb-2:is(:where(.group\/field-group)[data-variant=outline] *){margin-bottom:calc(var(--spacing) * -2)}@media (hover:hover){.peer-hover\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-50:is(:where(.peer):disabled~*){opacity:.5}.peer-data-active\/menu-button\:text-sidebar-accent-foreground:is(:where(.peer\/menu-button)[data-active]~*){color:var(--sidebar-accent-foreground)}.peer-data-\[size\=default\]\/menu-button\:top-1\.5:is(:where(.peer\/menu-button)[data-size=default]~*){top:calc(var(--spacing) * 1.5)}.peer-data-\[size\=lg\]\/menu-button\:top-2\.5:is(:where(.peer\/menu-button)[data-size=lg]~*){top:calc(var(--spacing) * 2.5)}.peer-data-\[size\=sm\]\/menu-button\:top-1:is(:where(.peer\/menu-button)[data-size=sm]~*){top:calc(var(--spacing) * 1)}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-6::file-selector-button{height:calc(var(--spacing) * 6)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-xs\/relaxed::file-selector-button{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing) * -2)}.after\:inset-0:after{content:var(--tw-content);inset:calc(var(--spacing) * 0)}.after\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing) * 0)}.after\:left-1\/2:after{content:var(--tw-content);left:50%}.after\:w-\[2px\]:after{content:var(--tw-content);width:2px}.after\:rounded-full:after{content:var(--tw-content);border-radius:3.40282e38px}.after\:border:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:1px}.after\:border-border:after{content:var(--tw-content);border-color:var(--border)}.after\:mix-blend-darken:after{content:var(--tw-content);mix-blend-mode:darken}.group-data-\[collapsible\=offExamples\]\:after\:left-full:is(:where(.group)[data-collapsible=offExamples] *):after{content:var(--tw-content);left:100%}.last\:mt-0:last-child{margin-top:calc(var(--spacing) * 0)}.last\:border-0:last-child{border-style:var(--tw-border-style);border-width:0}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.focus-within\:border-ring:focus-within{border-color:var(--ring)}.focus-within\:ring-2:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-within\:ring-ring\/30:focus-within{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-within\:ring-ring\/30:focus-within{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}@media (hover:hover){.hover\:bg-accent:hover{background-color:var(--accent)}.hover\:bg-destructive\/20:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-destructive\/20:hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.hover\:bg-input\/40:hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-input\/40:hover{background-color:color-mix(in oklab, var(--input) 40%, transparent)}}.hover\:bg-input\/50:hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-input\/50:hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.hover\:bg-muted:hover{background-color:var(--muted)}.hover\:bg-primary\/80:hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-primary\/80:hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.hover\:bg-secondary\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-secondary\/80:hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.hover\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\:text-foreground:hover{color:var(--foreground)}.hover\:text-muted-foreground:hover{color:var(--muted-foreground)}.hover\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-\[0_0_0_1px_hsl\(var\(--sidebar-accent\)\)\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\:group-data-\[collapsible\=offExamples\]\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offExamples] *){background-color:var(--sidebar)}.hover\:after\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\:bg-accent:focus{background-color:var(--accent)}.focus\:text-accent-foreground:focus,:is(.focus\:\*\*\:text-accent-foreground:focus *),:is(.not-data-\[variant\=destructive\]\:focus\:\*\*\:text-accent-foreground:not([data-variant=destructive]):focus *){color:var(--accent-foreground)}.focus-visible\:border-destructive\/40:focus-visible{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:border-destructive\/40:focus-visible{border-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.focus-visible\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-2:focus-visible,.focus-visible\:ring-\[2px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-destructive\/20:focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/30:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.focus-visible\:ring-ring\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--ring) 50%, transparent)}}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\[side\=left\]\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\[side\=right\]\:cursor-e-resize{cursor:e-resize}:where([data-slot=combobox-content]) .in-data-\[slot\=combobox-content\]\:focus-within\:border-inherit:focus-within{border-color:inherit}:where([data-slot=combobox-content]) .in-data-\[slot\=combobox-content\]\:focus-within\:ring-0:focus-within{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-disabled\:pointer-events-none:has(:disabled){pointer-events:none}.has-disabled\:cursor-not-allowed:has(:disabled){cursor:not-allowed}.has-disabled\:opacity-50:has(:disabled){opacity:.5}.has-aria-invalid\:border-destructive:has([aria-invalid=true]){border-color:var(--destructive)}.has-aria-invalid\:ring-2:has([aria-invalid=true]){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-aria-invalid\:ring-destructive\/20:has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-data-checked\:bg-primary\/5:has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.has-data-checked\:bg-primary\/5:has([data-checked]){background-color:color-mix(in oklab, var(--primary) 5%, transparent)}}.has-data-\[align\=block-end\]\:rounded-md:has([data-align=block-end]),.has-data-\[align\=block-start\]\:rounded-md:has([data-align=block-start]){border-radius:var(--radius)}.has-data-\[icon\=inline-end\]\:pr-1\.5:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-end\]\:pr-2:has([data-icon=inline-end]){padding-right:calc(var(--spacing) * 2)}.has-data-\[icon\=inline-start\]\:pl-1\.5:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 1.5)}.has-data-\[icon\=inline-start\]\:pl-2:has([data-icon=inline-start]){padding-left:calc(var(--spacing) * 2)}.has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_auto_1fr\]:has([data-slot=alert-dialog-media]){grid-template-rows:auto auto 1fr}.has-data-\[slot\=alert-dialog-media\]\:gap-x-4:has([data-slot=alert-dialog-media]){column-gap:calc(var(--spacing) * 4)}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-data-\[slot\=card-description\]\:grid-rows-\[auto_auto\]:has([data-slot=card-description]){grid-template-rows:auto auto}.has-data-\[slot\=combobox-chip\]\:px-1:has([data-slot=combobox-chip]){padding-inline:calc(var(--spacing) * 1)}.has-data-\[slot\=combobox-chip-remove\]\:pr-0:has([data-slot=combobox-chip-remove]){padding-right:calc(var(--spacing) * 0)}.has-data-\[variant\=inset\]\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:border-ring:has([data-slot=input-group-control]:focus-visible){border-color:var(--ring)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-2:has([data-slot=input-group-control]:focus-visible){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/30:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-ring\/30:has([data-slot=input-group-control]:focus-visible){--tw-ring-color:color-mix(in oklab, var(--ring) 30%, transparent)}}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:border-destructive:has([data-slot][aria-invalid=true]){border-color:var(--destructive)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-2:has([data-slot][aria-invalid=true]){--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/20:has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.has-\[textarea\]\:rounded-md:has(:is(textarea)){border-radius:var(--radius)}.has-\[\>\[data-align\=block-end\]\]\:h-auto:has(>[data-align=block-end]){height:auto}.has-\[\>\[data-align\=block-end\]\]\:flex-col:has(>[data-align=block-end]){flex-direction:column}.has-\[\>\[data-align\=block-start\]\]\:h-auto:has(>[data-align=block-start]){height:auto}.has-\[\>\[data-align\=block-start\]\]\:flex-col:has(>[data-align=block-start]){flex-direction:column}.has-\[\>\[data-slot\=checkbox-group\]\]\:gap-3:has(>[data-slot=checkbox-group]){gap:calc(var(--spacing) * 3)}.has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}.has-\[\>\[data-slot\=field\]\]\:w-full:has(>[data-slot=field]){width:100%}.has-\[\>\[data-slot\=field\]\]\:flex-col:has(>[data-slot=field]){flex-direction:column}.has-\[\>\[data-slot\=field\]\]\:rounded-md:has(>[data-slot=field]){border-radius:var(--radius)}.has-\[\>\[data-slot\=field\]\]\:border:has(>[data-slot=field]){border-style:var(--tw-border-style);border-width:1px}.has-\[\>\[data-slot\=radio-group\]\]\:gap-3:has(>[data-slot=radio-group]){gap:calc(var(--spacing) * 3)}.has-\[\>button\]\:mr-\[-0\.275rem\]:has(>button){margin-right:-.275rem}.has-\[\>button\]\:ml-\[-0\.275rem\]:has(>button){margin-left:-.275rem}.has-\[\>img\:first-child\]\:pt-0:has(>img:first-child){padding-top:calc(var(--spacing) * 0)}.has-\[\>kbd\]\:mr-\[-0\.275rem\]:has(>kbd){margin-right:-.275rem}.has-\[\>kbd\]\:ml-\[-0\.275rem\]:has(>kbd){margin-left:-.275rem}.has-\[\>svg\]\:p-0:has(>svg){padding:calc(var(--spacing) * 0)}.has-\[\>textarea\]\:h-auto:has(>textarea){height:auto}.aria-disabled\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\:opacity-50[aria-disabled=true]{opacity:.5}.aria-expanded\:bg-muted[aria-expanded=true]{background-color:var(--muted)}.aria-expanded\:bg-secondary[aria-expanded=true]{background-color:var(--secondary)}.aria-expanded\:text-foreground[aria-expanded=true]{color:var(--foreground)}.aria-expanded\:text-secondary-foreground[aria-expanded=true]{color:var(--secondary-foreground)}.aria-invalid\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\:ring-0[aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:ring-2[aria-invalid=true],.aria-invalid\:ring-\[2px\][aria-invalid=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.aria-invalid\:ring-destructive\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.data-active\:bg-sidebar-accent[data-active]{background-color:var(--sidebar-accent)}.data-active\:font-medium[data-active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-active\:text-sidebar-accent-foreground[data-active]{color:var(--sidebar-accent-foreground)}.data-closed\:overflow-hidden[data-closed]{overflow:hidden}.data-disabled\:pointer-events-none[data-disabled]{pointer-events:none}.data-disabled\:opacity-50[data-disabled]{opacity:.5}.data-empty\:p-0[data-empty]{padding:calc(var(--spacing) * 0)}.data-ending-style\:opacity-0[data-ending-style]{opacity:0}.data-highlighted\:bg-accent[data-highlighted]{background-color:var(--accent)}.data-highlighted\:text-accent-foreground[data-highlighted],:is(.not-data-\[variant\=destructive\]\:data-highlighted\:\*\*\:text-accent-foreground:not([data-variant=destructive])[data-highlighted] *){color:var(--accent-foreground)}.data-inset\:pl-8[data-inset]{padding-left:calc(var(--spacing) * 8)}.data-open\:bg-accent[data-open]{background-color:var(--accent)}.data-open\:text-accent-foreground[data-open]{color:var(--accent-foreground)}.data-open\:opacity-100[data-open]{opacity:1}@media (hover:hover){.data-open\:hover\:bg-sidebar-accent[data-open]:hover{background-color:var(--sidebar-accent)}.data-open\:hover\:text-sidebar-accent-foreground[data-open]:hover{color:var(--sidebar-accent-foreground)}}.data-placeholder\:text-muted-foreground[data-placeholder]{color:var(--muted-foreground)}.data-pressed\:bg-transparent[data-pressed]{background-color:#0000}.data-selected\:border-primary[data-selected]{border-color:var(--primary)}.data-selected\:text-foreground[data-selected]{color:var(--foreground)}.data-starting-style\:opacity-0[data-starting-style]{opacity:0}.data-\[chips\=true\]\:min-w-\(--anchor-width\)[data-chips=true]{min-width:var(--anchor-width)}.data-\[invalid\=true\]\:text-destructive[data-invalid=true]{color:var(--destructive)}.data-\[orientation\=horizontal\]\:h-px[data-orientation=horizontal]{height:1px}.data-\[orientation\=horizontal\]\:w-full[data-orientation=horizontal]{width:100%}.data-\[orientation\=vertical\]\:w-px[data-orientation=vertical]{width:1px}.data-\[orientation\=vertical\]\:self-stretch[data-orientation=vertical]{align-self:stretch}.data-\[side\=bottom\]\:inset-x-0[data-side=bottom]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:top-1[data-side=bottom]{top:calc(var(--spacing) * 1)}.data-\[side\=bottom\]\:bottom-0[data-side=bottom]{bottom:calc(var(--spacing) * 0)}.data-\[side\=bottom\]\:h-auto[data-side=bottom]{height:auto}.data-\[side\=bottom\]\:border-t[data-side=bottom]{border-top-style:var(--tw-border-style);border-top-width:1px}.data-\[side\=left\]\:inset-y-0[data-side=left]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=left\]\:top-1\/2\![data-side=left]{top:50%!important}.data-\[side\=left\]\:-right-1[data-side=left]{right:calc(var(--spacing) * -1)}.data-\[side\=left\]\:left-0[data-side=left]{left:calc(var(--spacing) * 0)}.data-\[side\=left\]\:h-full[data-side=left]{height:100%}.data-\[side\=left\]\:w-3\/4[data-side=left]{width:75%}.data-\[side\=left\]\:-translate-y-1\/2[data-side=left]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:border-r[data-side=left]{border-right-style:var(--tw-border-style);border-right-width:1px}.data-\[side\=right\]\:inset-y-0[data-side=right]{inset-block:calc(var(--spacing) * 0)}.data-\[side\=right\]\:top-1\/2\![data-side=right]{top:50%!important}.data-\[side\=right\]\:right-0[data-side=right]{right:calc(var(--spacing) * 0)}.data-\[side\=right\]\:-left-1[data-side=right]{left:calc(var(--spacing) * -1)}.data-\[side\=right\]\:h-full[data-side=right]{height:100%}.data-\[side\=right\]\:w-3\/4[data-side=right]{width:75%}.data-\[side\=right\]\:-translate-y-1\/2[data-side=right]{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:border-l[data-side=right]{border-left-style:var(--tw-border-style);border-left-width:1px}.data-\[side\=top\]\:inset-x-0[data-side=top]{inset-inline:calc(var(--spacing) * 0)}.data-\[side\=top\]\:top-0[data-side=top]{top:calc(var(--spacing) * 0)}.data-\[side\=top\]\:-bottom-2\.5[data-side=top]{bottom:calc(var(--spacing) * -2.5)}.data-\[side\=top\]\:h-auto[data-side=top]{height:auto}.data-\[side\=top\]\:border-b[data-side=top]{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.data-\[size\=default\]\:h-7[data-size=default]{height:calc(var(--spacing) * 7)}.data-\[size\=default\]\:max-w-xs[data-size=default]{max-width:var(--container-xs)}.data-\[size\=lg\]\:size-10[data-size=lg]{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.data-\[size\=md\]\:text-xs[data-size=md]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.data-\[size\=sm\]\:size-6[data-size=sm]{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:h-6[data-size=sm]{height:calc(var(--spacing) * 6)}.data-\[size\=sm\]\:max-w-64[data-size=sm]{max-width:calc(var(--spacing) * 64)}.data-\[size\=sm\]\:gap-3[data-size=sm]{gap:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:py-3[data-size=sm]{padding-block:calc(var(--spacing) * 3)}.data-\[size\=sm\]\:text-xs[data-size=sm]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}:is(.\*\:data-\[slot\=avatar\]\:ring-2>*)[data-slot=avatar]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\:data-\[slot\=avatar\]\:ring-background>*)[data-slot=avatar]{--tw-ring-color:var(--background)}.data-\[slot\=checkbox-group\]\:gap-3[data-slot=checkbox-group]{gap:calc(var(--spacing) * 3)}:is(.\*\:data-\[slot\=field\]\:p-2>*)[data-slot=field]{padding:calc(var(--spacing) * 2)}:is(.\*\:data-\[slot\=field-group\]\:gap-4>*)[data-slot=field-group]{gap:calc(var(--spacing) * 4)}:is(.\*\:data-\[slot\=input-group\]\:m-1>*)[data-slot=input-group]{margin:calc(var(--spacing) * 1)}:is(.\*\:data-\[slot\=input-group\]\:mb-0>*)[data-slot=input-group]{margin-bottom:calc(var(--spacing) * 0)}:is(.\*\:data-\[slot\=input-group\]\:h-7>*)[data-slot=input-group]{height:calc(var(--spacing) * 7)}:is(.\*\:data-\[slot\=input-group\]\:border-none>*)[data-slot=input-group]{--tw-border-style:none;border-style:none}:is(.\*\:data-\[slot\=input-group\]\:bg-input\/20>*)[data-slot=input-group]{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){:is(.\*\:data-\[slot\=input-group\]\:bg-input\/20>*)[data-slot=input-group]{background-color:color-mix(in oklab, var(--input) 20%, transparent)}}:is(.\*\:data-\[slot\=input-group\]\:shadow-none>*)[data-slot=input-group]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}:is(.\*\*\:data-\[slot\=kbd\]\:rounded-\[calc\(var\(--radius-sm\)-2px\)\] *)[data-slot=kbd]{border-radius:calc(var(--radius-sm) - 2px)}:is(.\*\*\:data-\[slot\=kbd\]\:rounded-md *)[data-slot=kbd]{border-radius:var(--radius)}:is(.\*\*\:data-\[slot\=kbd\]\:bg-muted-foreground\/10 *)[data-slot=kbd]{background-color:var(--muted-foreground)}@supports (color:color-mix(in lab, red, red)){:is(.\*\*\:data-\[slot\=kbd\]\:bg-muted-foreground\/10 *)[data-slot=kbd]{background-color:color-mix(in oklab, var(--muted-foreground) 10%, transparent)}}:is(.\*\*\:data-\[slot\=kbd\]\:px-1 *)[data-slot=kbd]{padding-inline:calc(var(--spacing) * 1)}:is(.\*\*\:data-\[slot\=kbd\]\:text-\[0\.625rem\] *)[data-slot=kbd]{font-size:.625rem}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-1\.5>*)[data-slot=select-value]{gap:calc(var(--spacing) * 1.5)}.data-\[state\=open\]\:bg-sidebar-accent[data-state=open]{background-color:var(--sidebar-accent)}.data-\[state\=open\]\:text-sidebar-accent-foreground[data-state=open]{color:var(--sidebar-accent-foreground)}.data-\[variant\=destructive\]\:text-destructive[data-variant=destructive]{color:var(--destructive)}.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.data-\[variant\=destructive\]\:focus\:bg-destructive\/10[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 10%, transparent)}}.data-\[variant\=destructive\]\:focus\:text-destructive[data-variant=destructive]:focus{color:var(--destructive)}.data-\[variant\=label\]\:text-xs\/relaxed[data-variant=label]{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.data-\[variant\=legend\]\:text-sm[data-variant=legend]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.nth-last-2\:-mt-1:nth-last-child(2){margin-top:calc(var(--spacing) * -1)}@supports ((-webkit-backdrop-filter:var(--tw)) or (backdrop-filter:var(--tw))){.supports-backdrop-filter\:backdrop-blur-xs{--tw-backdrop-blur:blur(var(--blur-xs));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}@media (width>=40rem){.sm\:flex{display:flex}.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:row-span-2:is(:where(.group\/alert-dialog-content)[data-size=default] *){grid-row:span 2/span 2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:place-items-start:is(:where(.group\/alert-dialog-content)[data-size=default] *){place-items:start}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:text-left:is(:where(.group\/alert-dialog-content)[data-size=default] *){text-align:left}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:group-has-data-\[slot\=alert-dialog-media\]\/alert-dialog-content\:col-start-2:is(:where(.group\/alert-dialog-content)[data-size=default] *):is(:where(.group\/alert-dialog-content):has([data-slot=alert-dialog-media]) *){grid-column-start:2}.sm\:group-data-\[size\=default\]\/alert-dialog-content\:has-data-\[slot\=alert-dialog-media\]\:grid-rows-\[auto_1fr\]:is(:where(.group\/alert-dialog-content)[data-size=default] *):has([data-slot=alert-dialog-media]){grid-template-rows:auto 1fr}.data-\[side\=left\]\:sm\:max-w-sm[data-side=left],.data-\[side\=right\]\:sm\:max-w-sm[data-side=right],.data-\[size\=default\]\:sm\:max-w-sm[data-size=default]{max-width:var(--container-sm)}}@media (width>=48rem){.md\:block{display:block}.md\:flex{display:flex}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-xs\/relaxed{font-size:var(--text-xs);line-height:var(--leading-relaxed)}.md\:text-pretty{text-wrap:pretty}.md\:opacity-0{opacity:0}.md\:peer-data-\[variant\=inset\]\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing) * 2)}.md\:peer-data-\[variant\=inset\]\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing) * 0)}.md\:peer-data-\[variant\=inset\]\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) + 4px)}.md\:peer-data-\[variant\=inset\]\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.md\:peer-data-\[variant\=inset\]\:peer-data-\[state\=collapsed\]\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing) * 2)}.md\:after\:hidden:after{content:var(--tw-content);display:none}}@media (width>=64rem){.lg\:block{display:block}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container field-group (width>=28rem){.\@md\/field-group\:flex-row{flex-direction:row}.\@md\/field-group\:items-center{align-items:center}.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:items-start:has(>[data-slot=field-content]){align-items:flex-start}}.dark\:scale-0:where(.dark,.dark *){--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dark\:scale-100:where(.dark,.dark *){--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.dark\:-rotate-90:where(.dark,.dark *){rotate:-90deg}.dark\:rotate-0:where(.dark,.dark *){rotate:0deg}.dark\:bg-destructive\/20:where(.dark,.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-destructive\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.dark\:bg-gray-800:where(.dark,.dark *){background-color:var(--color-gray-800)}.dark\:bg-green-900:where(.dark,.dark *){background-color:var(--color-green-900)}.dark\:bg-input\/30:where(.dark,.dark *){background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-input\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--input) 30%, transparent)}}.dark\:bg-muted\/30:where(.dark,.dark *){background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:bg-muted\/30:where(.dark,.dark *){background-color:color-mix(in oklab, var(--muted) 30%, transparent)}}.dark\:bg-popover:where(.dark,.dark *){background-color:var(--popover)}.dark\:bg-red-900:where(.dark,.dark *){background-color:var(--color-red-900)}.dark\:bg-transparent:where(.dark,.dark *){background-color:#0000}.dark\:bg-yellow-900:where(.dark,.dark *){background-color:var(--color-yellow-900)}.dark\:bg-zinc-800:where(.dark,.dark *){background-color:var(--color-zinc-800)}.dark\:text-emerald-400:where(.dark,.dark *){color:var(--color-emerald-400)}.dark\:text-gray-100:where(.dark,.dark *){color:var(--color-gray-100)}.dark\:text-green-100:where(.dark,.dark *){color:var(--color-green-100)}.dark\:text-red-100:where(.dark,.dark *){color:var(--color-red-100)}.dark\:text-yellow-100:where(.dark,.dark *){color:var(--color-yellow-100)}.dark\:text-zinc-400:where(.dark,.dark *){color:var(--color-zinc-400)}.dark\:invert:where(.dark,.dark *){--tw-invert:invert(100%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dark\:after\:mix-blend-lighten:where(.dark,.dark *):after{content:var(--tw-content);mix-blend-mode:lighten}@media (hover:hover){.dark\:hover\:bg-destructive\/30:where(.dark,.dark *):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-destructive\/30:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--destructive) 30%, transparent)}}.dark\:hover\:bg-input\/50:where(.dark,.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-input\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--input) 50%, transparent)}}.dark\:hover\:bg-muted\/50:where(.dark,.dark *):hover{background-color:var(--muted)}@supports (color:color-mix(in lab, red, red)){.dark\:hover\:bg-muted\/50:where(.dark,.dark *):hover{background-color:color-mix(in oklab, var(--muted) 50%, transparent)}}}.dark\:focus-visible\:ring-destructive\/40:where(.dark,.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:focus-visible\:ring-destructive\/40:where(.dark,.dark *):focus-visible{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-aria-invalid\:border-destructive\/50:where(.dark,.dark *):has([aria-invalid=true]){border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:border-destructive\/50:where(.dark,.dark *):has([aria-invalid=true]){border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:has-aria-invalid\:ring-destructive\/40:where(.dark,.dark *):has([aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-aria-invalid\:ring-destructive\/40:where(.dark,.dark *):has([aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:has-data-checked\:bg-primary\/10:where(.dark,.dark *):has([data-checked]){background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.dark\:has-data-checked\:bg-primary\/10:where(.dark,.dark *):has([data-checked]){background-color:color-mix(in oklab, var(--primary) 10%, transparent)}}.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:where(.dark,.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:has-\[\[data-slot\]\[aria-invalid\=true\]\]\:ring-destructive\/40:where(.dark,.dark *):has([data-slot][aria-invalid=true]){--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:aria-invalid\:border-destructive\/50:where(.dark,.dark *)[aria-invalid=true]{border-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:border-destructive\/50:where(.dark,.dark *)[aria-invalid=true]{border-color:color-mix(in oklab, var(--destructive) 50%, transparent)}}.dark\:aria-invalid\:ring-destructive\/40:where(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:aria-invalid\:ring-destructive\/40:where(.dark,.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--destructive) 40%, transparent)}}.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:where(.dark,.dark *)[data-variant=destructive]:focus{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.dark\:data-\[variant\=destructive\]\:focus\:bg-destructive\/20:where(.dark,.dark *)[data-variant=destructive]:focus{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-2\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\.border-b\]\:pb-2.border-b{padding-bottom:calc(var(--spacing) * 2)}.\[\.border-b\]\:pb-4.border-b{padding-bottom:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-b\]\:pb-3:is(:where(.group\/card)[data-size=sm] *).border-b{padding-bottom:calc(var(--spacing) * 3)}.\[\.border-t\]\:pt-2.border-t{padding-top:calc(var(--spacing) * 2)}.\[\.border-t\]\:pt-4.border-t{padding-top:calc(var(--spacing) * 4)}.group-data-\[size\=sm\]\/card\:\[\.border-t\]\:pt-3:is(:where(.group\/card)[data-size=sm] *).border-t{padding-top:calc(var(--spacing) * 3)}:is(.\*\:\[a\]\:underline>*):is(a){text-decoration-line:underline}:is(.\*\:\[a\]\:underline-offset-3>*):is(a){text-underline-offset:3px}@media (hover:hover){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:var(--destructive)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-destructive\/20:is(a):hover{background-color:color-mix(in oklab, var(--destructive) 20%, transparent)}}.\[a\]\:hover\:bg-muted:is(a):hover{background-color:var(--muted)}.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:var(--primary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-primary\/80:is(a):hover{background-color:color-mix(in oklab, var(--primary) 80%, transparent)}}.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:var(--secondary)}@supports (color:color-mix(in lab, red, red)){.\[a\]\:hover\:bg-secondary\/80:is(a):hover{background-color:color-mix(in oklab, var(--secondary) 80%, transparent)}}.\[a\]\:hover\:text-muted-foreground:is(a):hover{color:var(--muted-foreground)}:is(.\*\:\[a\]\:hover\:text-foreground>*):is(a):hover{color:var(--foreground)}}:is(.\*\:\[img\:first-child\]\:rounded-t-lg>*):is(img:first-child){border-top-left-radius:calc(var(--radius) + 2px);border-top-right-radius:calc(var(--radius) + 2px)}:is(.\*\:\[img\:last-child\]\:rounded-b-lg>*):is(img:last-child){border-bottom-right-radius:calc(var(--radius) + 2px);border-bottom-left-radius:calc(var(--radius) + 2px)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}:is(.data-\[variant\=destructive\]\:\*\:\[svg\]\:text-destructive[data-variant=destructive]>*):is(svg){color:var(--destructive)}:is(.\*\:\[svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4>*):is(svg:not([class*=size-])){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>\*\]\:w-full>*{width:100%}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\*\]\:w-auto>*{width:auto}}.\[\&\>\.sr-only\]\:w-auto>.sr-only{width:auto}.\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}@container field-group (width>=28rem){.\@md\/field-group\:\[\&\>\[data-slot\=field-label\]\]\:flex-auto>[data-slot=field-label]{flex:auto}}.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]{margin-top:1px}@container field-group (width>=28rem){.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content])>[role=checkbox],.\@md\/field-group\:has-\[\>\[data-slot\=field-content\]\]\:\[\&\>\[role\=checkbox\]\,\[role\=radio\]\]\:mt-px:has(>[data-slot=field-content]) [role=radio]{margin-top:1px}}.\[\&\>a\]\:underline>a{text-decoration-line:underline}.\[\&\>a\]\:underline-offset-4>a{text-underline-offset:4px}.\[\&\>a\:hover\]\:text-primary>a:hover{color:var(--primary)}.\[\&\>button\]\:hidden>button{display:none}.has-\[\>\[data-align\=block-end\]\]\:\[\&\>input\]\:pt-3:has(>[data-align=block-end])>input{padding-top:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=block-start\]\]\:\[\&\>input\]\:pb-3:has(>[data-align=block-start])>input{padding-bottom:calc(var(--spacing) * 3)}.has-\[\>\[data-align\=inline-end\]\]\:\[\&\>input\]\:pr-1\.5:has(>[data-align=inline-end])>input{padding-right:calc(var(--spacing) * 1.5)}.has-\[\>\[data-align\=inline-start\]\]\:\[\&\>input\]\:pl-1\.5:has(>[data-align=inline-start])>input{padding-left:calc(var(--spacing) * 1.5)}.\[\&\>span\:last-child\]\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-2\.5\!>svg{width:calc(var(--spacing) * 2.5)!important;height:calc(var(--spacing) * 2.5)!important}.\[\&\>svg\]\:size-4>svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&\>svg\]\:shrink-0>svg{flex-shrink:0}.\[\&\>svg\]\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}.group-has-data-\[size\=lg\]\/avatar-group\:\[\&\>svg\]\:size-5:is(:where(.group\/avatar-group):has([data-size=lg]) *)>svg{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.group-has-data-\[size\=sm\]\/avatar-group\:\[\&\>svg\]\:size-3:is(:where(.group\/avatar-group):has([data-size=sm]) *)>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.group-data-\[size\=default\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=default] *)>svg,.group-data-\[size\=lg\]\/avatar\:\[\&\>svg\]\:size-2:is(:where(.group\/avatar)[data-size=lg] *)>svg{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.group-data-\[size\=sm\]\/avatar\:\[\&\>svg\]\:hidden:is(:where(.group\/avatar)[data-size=sm] *)>svg{display:none}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3>svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5>svg:not([class*=size-]){width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}[data-side=left][data-collapsible=offExamples] .\[\[data-side\=left\]\[data-collapsible\=offExamples\]_\&\]\:-right-2{right:calc(var(--spacing) * -2)}[data-side=left][data-state=collapsed] .\[\[data-side\=left\]\[data-state\=collapsed\]_\&\]\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offExamples] .\[\[data-side\=right\]\[data-collapsible\=offExamples\]_\&\]\:-left-2{left:calc(var(--spacing) * -2)}[data-side=right][data-state=collapsed] .\[\[data-side\=right\]\[data-state\=collapsed\]_\&\]\:cursor-w-resize{cursor:w-resize}[data-variant=legend]+.\[\[data-variant\=legend\]\+\&\]\:-mt-1\.5{margin-top:calc(var(--spacing) * -1.5)}}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-cyrillic-wght-normal.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/geist-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(data:font/woff2;base64,d09GMgABAAAAAAfsABQAAAAAEAwAAAeCAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGhwbHhwoP0hWQVJbBmA/U1RBVIFiJyYAdC9qEQgKhGSEAAsgADCGCAE2AiQDOgQgBYlMB4EUDAcbLQ4onoexrSC/2ZyLAa8p8VHB8/x3Vue+V0hVJalMJg2nx/TCrQXxBeqLjQG7FyM1WEa/X1tEXN7cFz9EJEMmMUz3RihWSSKeQCbcIou0izz/C8v+fq3VfajEa9gDD11CImXS7qL/RJFVzC1qiB6KmKeD6TZdQ6IRGv78dL6uSVVCfgni5mzu7kcgQBgAEAQTQRCoL++STTYybkJxNfQxAAIAGu8OdEB9teW2jh4BpgDqFjAeSEByW3zFP0CBBgNMsMCGEDjgggdhiEAUAeIIED7ABTDUEnkIE9Q9ahFgKttcVhApo4ACB4qobHaccgDfEjFO6aaWUhjMLt2SyIvHKoDqoA4CSUwEIYQCEjhAO9R1G6keDeDZGjNo+AhxOjCEGTr1WeIF3kYBiLAOKvkJSMiKX0VdAyQt3SDJClCkxJCHkCzfqyVTriJZLcolS32JZHUekq2TYNkYtCtjYHMQXSxGjXDz2t/yLWXzDzxz+o3zFwDEaN23F+13pyMdQAEaSKAR9vcGq4A4MTSKCElGW+M7UcY7xqkggITb28ZJhlqc9q2twYKTt0NjixBgYvO9BIihEBLYuOFXQzfIQ7dXGUEEEgFDooBfAzqiQbpJrhiWSuKJCRFKYbHCyJKI2G5GiZbNAvgAu5pc3vwx4G+g3aDkhklABiSz0BICXrYghtYhx/cdJ+44rY2oZ0aMNRFz3VZjb6W33F3gzltqtOCV8tTHSpOeXuItfvr5lCdfzFpqtEitvqdcdGGFd28ZqqC0tPbeChGXgrIlnhSWu/eUso4uKWFLugyDzQJhflY4659+WjQ++6x72WUMv9G8mw6QJl7BVxX5fe/kpUsOvnZwee9uQ0cGXYd0o89XB2748sDSnt8d2VphdOTTgceDVvOds0v9P/s7HPq15aGun/6Vllb56f1dl0t1LejqrNkpdRZsG8TOnM5vkBG5oiVyVGnS8LHps5cfNWJs6qKPfaNSxiQNBUm3cKNWROr0GSur7Za31k1vieq7LH11VF+jXdRIasRKflc7jkobm1Z9te1IyZA0pDkhLR98+H37Zf1c/8at+dB7x+7GfVyTfJMPiYztsnl59Y5l4j+0n1RXlpHnF3Tq7HecmNF/CJodEMAikruxiyJaGLvHOdAfoA+oDvpjBm2b91cHGRZMU9n25xEU0A8fgEEAdKI3Q1iDtc034sug5YVMkE2jsE+BIkwSoQ3gxXMqz9tELp48bd0cFKOKS7xYjEuXBnZP5ia7DyiO/X/YI+PQSbt2uSdqAkWL9nQbV1XB94/+uPfdZz8dnXYFBYrcTl2SIR/ybxJNJPz/Gupb0JaZeens2ekC7EKr8t+Ls/P5VJPYJdHKyqfg2nqU6bhlidzcddQV/7MmecTzJ5VPcKXkNKSEogHjYFx6QZ7rQ+FSe8njaiNuOnXS8H2ScQ619c2mC3VTtauL0rRbXd/CkSOP37FY9Zkjz8+GibYUMOEWF+RdrFS8Ecv1SHOpPUPZGEIpjPvFyU5cXKjd6OXqorTqy9GwRd++HVufPGnVsW+aO3vggKZ18jR9sXaTC1PWTEsVUaK0FkNySbTQDqlm2PfDjZcu4aalnSLKjnOoYQ0nUlqqXcGpPu/4VgV/xU2pAqW4BW3qzhQ8/hFKhV2qE3+BKAtDqBXjfgnVdH4y0wg5tbVNRenNdTWOrenWLcupQdmsbq5b+18piTe/xRdp1xbILxNPJGInm2z6hoB21Lal0i+ePTtd7B45+3XhFJ329evskXm7qurUVREotqSluSo/L29d3qDhI4YOQqWhI4YNvBNfsMHeXKemXrxQfKeuPOGRVayA3JtkJKEgbPp+dXUDluddutRYLFoXGXWX6N3WFaGLbQtRSitVYNacTNSdy7AaG/HSaUEANcBoGXNdcZvZsOqQ1icBDv21/gzAoYPHH/WDW0qNR3QTYKEAEHig6o13NXbND06CQPlRtYjGNnSktRc09k1mAMDvAlDKfQjgy6fssInlfzmNAjKkDxoxHOBLdVRAIVt9j4qo+hA1w9T1aNBNTUOTTNUHLbqokE+UAfJXCIGw/IxCSL5GRUJeR40rL/UxTm4Q08H6MbCs70ObuNyIIXrINHQYInF06UUlevTjbQzTh5upiDMzMMogUtEnjPs/Y7jAHCJeB0GBHh04tC6FiB6ZFB1oArUSIoFoqhzCeAN6lHwm0T4C3VVPWvjpSMXReuWesMEcoqrmgtNBGd2noWeV0hNAz9rFeShNJxHGsPa3HXeKTk8b55hahySYHaYKKFFLpCfN8rsoaJn01CR04Gkc+5k7KVTCmClX8Q10HCrUEkVlSX+XO33oQR9609tJ516H497WSobWs5Up6TLaS10/dessIskgJSLiDlWvHVUywpkQ7hdPZqGyiEF0uVQerVcPamT1A3eKXdyI1vG9OoflrSXihZ1qqGE3nhmAgiIbRCQgPLEPtOM3UQwTLYaYYomNlpA44opnjV6jkD6id80OOrzf6BzmMD6eEa1zKyeYG1fzfEf16V6jw9XYOaar1/b2kP/IYX8oR2mcFvv2GtBV3JXgd437AQAA)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-cyrillic-wght-normal.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-greek-wght-normal.woff2)format("woff2-variations");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-vietnamese-wght-normal.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono Variable;font-style:normal;font-display:swap;font-weight:100 800;src:url(/assets/jetbrains-mono-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--font-sans:"Geist Variable", sans-serif;--font-mono:"JetBrains Mono Variable", monospace;--background:#f4f1ec;--foreground:#1d2930;--card:#f9f8f6;--card-foreground:#1d2930;--popover:#fbfaf9;--popover-foreground:#1d2930;--primary:#305030;--primary-foreground:#f5f3ef;--secondary:#eae5d7;--secondary-foreground:#263740;--muted:#e9e7e2;--muted-foreground:#576b75;--accent:#e7e2da;--accent-foreground:#1d2930;--destructive:#c32222;--destructive-foreground:#fff;--border:#b6c9b6;--input:#dedbd3;--ring:#3e743e;--chart-1:#2e6b2e;--chart-2:#cfa117;--chart-3:#297aa3;--chart-4:#cc8c33;--chart-5:#b82e2e;--radius:.25rem;--sidebar:#f5f3f0;--sidebar-background:#f5f3f0;--sidebar-foreground:#263740;--sidebar-primary:#305030;--sidebar-primary-foreground:#f5f3ef;--sidebar-accent:#e7e2da;--sidebar-accent-foreground:#1d2930;--sidebar-border:#c4d4c4;--sidebar-ring:#3e743e;--tactical-amber:#c2940a;--tactical-amber-dim:#d6b85c;--tactical-green:#267326;--tactical-green-dim:#7ab87a;--tactical-cyan:#24868f;--tactical-cyan-dim:#5eb2ba;--tactical-red:#bd2828;--tactical-olive:#64783a;--scanline-opacity:.015}.dark{--background:#0d1012;--foreground:#e0ddd1;--card:#14181a;--card-foreground:#e0ddd1;--popover:#111517;--popover-foreground:#e0ddd1;--primary:#fa0;--primary-foreground:#0d1012;--secondary:#323922;--secondary-foreground:#c6d2ac;--muted:#202527;--muted-foreground:#819098;--accent:#292f32;--accent-foreground:#ebe8e0;--destructive:#c32222;--destructive-foreground:#fff;--border:#203c32;--input:#292f32;--ring:#ffbf00;--chart-1:#ffbf00;--chart-2:#22c38e;--chart-3:#1aa1e6;--chart-4:#86ac39;--chart-5:#d92626;--sidebar:#111517;--sidebar-background:#111517;--sidebar-foreground:#e0ddd1;--sidebar-primary:#ffbf00;--sidebar-primary-foreground:#0d1012;--sidebar-accent:#292f32;--sidebar-accent-foreground:#ebe8e0;--sidebar-border:#203c32;--sidebar-ring:#ffbf00;--tactical-amber:#ffbf00;--tactical-amber-dim:#a17d12;--tactical-green:#22c38e;--tactical-green-dim:#20604a;--tactical-cyan:#17bfcf;--tactical-cyan-dim:#196066;--tactical-red:#d92626;--tactical-olive:#576b2e;--scanline-opacity:.03}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes pulse{50%{opacity:.5}} diff --git a/spinifex/services/spinifexui/frontend/dist/assets/index.js b/spinifex/services/spinifexui/frontend/dist/assets/index.js index 7b2e6ed86..70ab1012f 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/index.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/index.js @@ -89,4 +89,4 @@ If you are using React Native, this API is not yet supported, see: https://react `+t}catch{!n.logger||n.logger?.constructor?.name===`NoOpLogger`?console.warn(t):n.logger?.warn?.(t)}e.$responseBodyText!==void 0&&e.$response&&(e.$response.body=e.$responseBodyText);try{if(Jx.isInstance(i)){let{headers:t={}}=i,n=Object.entries(t);e.$metadata={httpStatusCode:i.statusCode,requestId:XC(/^x-[\w-]+-request-?id$/,n),extendedRequestId:XC(/^x-[\w-]+-id-2$/,n),cfId:XC(/^x-[\w-]+-cf-id$/,n)}}}catch{}}throw e}},XC=(e,t)=>(t.find(([t])=>t.match(e))||[void 0,void 0])[1];function ZC(e){let t={};if(e=e.replace(/^\?/,``),e)for(let n of e.split(`&`)){let[e,r=null]=n.split(`=`);e=decodeURIComponent(e),r&&=decodeURIComponent(r),e in t?Array.isArray(t[e])?t[e].push(r):t[e]=[t[e],r]:t[e]=r}return t}var QC=e=>{if(typeof e==`string`)return QC(new URL(e));let{hostname:t,pathname:n,port:r,protocol:i,search:a}=e,o;return a&&(o=ZC(a)),{hostname:t,port:r?parseInt(r):void 0,protocol:i,path:n,query:o}},$C=e=>{if(typeof e==`object`){if(`url`in e){let t=QC(e.url);if(e.headers){t.headers={};for(let n in e.headers)t.headers[n.toLowerCase()]=e.headers[n].join(`, `)}return t}return e}return QC(e)},ew=e=>(t,n)=>async r=>{let{operationSchema:i}=LS(n),[,a,o,s,c,l]=i??[],u=n.endpointV2?async()=>$C(n.endpointV2):e.endpoint,d=await e.protocol.serializeRequest(JC(a,o,s,c,l),r.input,{...e,...n,endpoint:u});return t({...r,request:d})},tw={name:`deserializerMiddleware`,step:`deserialize`,tags:[`DESERIALIZER`],override:!0},nw={name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0};function rw(e){return{applyToStack:t=>{t.add(ew(e),nw),t.add(YC(e),tw),e.protocol.setSerdeContext(e)}}}var iw=[];function aw(e){if(typeof e==`object`)return e;if(e|=0,iw[e])return iw[e];let t={},n=0;for(let r of[`httpLabel`,`idempotent`,`idempotencyToken`,`sensitive`,`httpPayload`,`httpResponseCode`,`httpQueryParams`])(e>>n++&1)==1&&(t[r]=1);return iw[e]=t}var ow={it:Symbol.for(`@smithy/nor-struct-it`),ns:Symbol.for(`@smithy/ns`)},sw=[],cw={},lw=class e{ref;memberName;static symbol=Symbol.for(`@smithy/nor`);symbol=e.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(t,n){this.ref=t,this.memberName=n;let r=[],i=t,a=t;for(this._isMemberSchema=!1;dw(i);)r.push(i[1]),i=i[0],a=qC(i),this._isMemberSchema=!0;if(r.length>0){this.memberTraits={};for(let e=r.length-1;e>=0;--e){let t=r[e];Object.assign(this.memberTraits,aw(t))}}else this.memberTraits=0;if(a instanceof e){let e=this.memberTraits;Object.assign(this,a),this.memberTraits=Object.assign({},e,a.getMemberTraits(),this.getMemberTraits()),this.normalizedTraits=void 0,this.memberName=n??a.memberName;return}if(this.schema=qC(a),fw(this.schema)?(this.name=`${this.schema[1]}#${this.schema[2]}`,this.traits=this.schema[3]):(this.name=this.memberName??String(a),this.traits=0),this._isMemberSchema&&!n)throw Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(!0)} missing member name.`)}static[Symbol.hasInstance](e){let t=this.prototype.isPrototypeOf(e);return!t&&typeof e==`object`&&e?e.symbol===this.symbol:t}static of(t){let n=typeof t==`function`||typeof t==`object`&&!!t;if(typeof t==`number`){if(sw[t])return sw[t]}else if(typeof t==`string`){if(cw[t])return cw[t]}else if(n&&t[ow.ns])return t[ow.ns];let r=qC(t);if(r instanceof e)return r;if(dw(r)){let[n,i]=r;if(n instanceof e)return Object.assign(n.getMergedTraits(),aw(i)),n;throw Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(t,null,2)}.`)}let i=new e(r);return n?t[ow.ns]=i:typeof r==`string`?cw[r]=i:typeof r==`number`?sw[r]=i:i}getSchema(){let e=this.schema;return Array.isArray(e)&&e[0]===0?e[4]:e}getName(e=!1){let{name:t}=this;return!e&&t&&t.includes(`#`)?t.split(`#`)[1]:t||void 0}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){let e=this.getSchema();return typeof e==`number`?e>=64&&e<128:e[0]===1}isMapSchema(){let e=this.getSchema();return typeof e==`number`?e>=128&&e<=255:e[0]===2}isStructSchema(){let e=this.getSchema();if(typeof e!=`object`)return!1;let t=e[0];return t===3||t===-3||t===4}isUnionSchema(){let e=this.getSchema();return typeof e==`object`?e[0]===4:!1}isBlobSchema(){let e=this.getSchema();return e===21||e===42}isTimestampSchema(){let e=this.getSchema();return typeof e==`number`&&e>=4&&e<=7}isUnitSchema(){return this.getSchema()===`unit`}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){let{streaming:e}=this.getMergedTraits();return!!e||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??={...this.getOwnTraits(),...this.getMemberTraits()}}getMemberTraits(){return aw(this.memberTraits)}getOwnTraits(){return aw(this.traits)}getKeySchema(){let[e,t]=[this.isDocumentSchema(),this.isMapSchema()];if(!e&&!t)throw Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(!0)}`);let n=this.getSchema();return uw([e?15:n[4]??0,0],`key`)}getValueSchema(){let e=this.getSchema(),[t,n,r]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()],i=typeof e==`number`?63&e:e&&typeof e==`object`&&(n||r)?e[3+e[0]]:t?15:void 0;if(i!=null)return uw([i,0],n?`value`:`member`);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no value member.`)}getMemberSchema(e){let t=this.getSchema();if(this.isStructSchema()&&t[4].includes(e)){let n=t[4].indexOf(e),r=t[5][n];return uw(dw(r)?r:[r,0],e)}if(this.isDocumentSchema())return uw([15,0],e);throw Error(`@smithy/core/schema - ${this.getName(!0)} has no member=${e}.`)}getMemberSchemas(){let e={};try{for(let[t,n]of this.structIterator())e[t]=n}catch{}return e}getEventStreamMember(){if(this.isStructSchema()){for(let[e,t]of this.structIterator())if(t.isStreaming()&&t.isStructSchema())return e}return``}*structIterator(){if(this.isUnitSchema())return;if(!this.isStructSchema())throw Error(`@smithy/core/schema - cannot iterate non-struct schema.`);let e=this.getSchema(),t=e[4].length,n=e[ow.it];if(n&&t===n.length){yield*n;return}n=Array(t);for(let r=0;rArray.isArray(e)&&e.length===2,fw=e=>Array.isArray(e)&&e.length>=5,pw=class e{namespace;schemas;exceptions;static registries=new Map;constructor(e,t=new Map,n=new Map){this.namespace=e,this.schemas=t,this.exceptions=n}static for(t){return e.registries.has(t)||e.registries.set(t,new e(t)),e.registries.get(t)}copyFrom(e){let{schemas:t,exceptions:n}=this;for(let[n,r]of e.schemas)t.has(n)||t.set(n,r);for(let[t,r]of e.exceptions)n.has(t)||n.set(t,r)}register(t,n){let r=this.normalizeShapeId(t);for(let t of[this,e.for(r.split(`#`)[0])])t.schemas.set(r,n)}getSchema(e){let t=this.normalizeShapeId(e);if(!this.schemas.has(t))throw Error(`@smithy/core/schema - schema not found for ${t}`);return this.schemas.get(t)}registerError(t,n){let r=t,i=r[1];for(let t of[this,e.for(i)])t.schemas.set(i+`#`+r[2],r),t.exceptions.set(r,n)}getErrorCtor(t){let n=t;return this.exceptions.has(n)?this.exceptions.get(n):e.for(n[1]).exceptions.get(n)}getBaseException(){for(let e of this.exceptions.keys())if(Array.isArray(e)){let[,t,n]=e,r=t+`#`+n;if(r.startsWith(`smithy.ts.sdk.synthetic.`)&&r.endsWith(`ServiceException`))return e}}find(e){for(let t of this.schemas.values())if(e(t))return t}clear(){this.schemas.clear(),this.exceptions.clear()}normalizeShapeId(e){return e.includes(`#`)?e:this.namespace+`#`+e}},mw=e=>{if(e!=null){if(typeof e==`string`){let t=parseFloat(e);if(!Number.isNaN(t))return String(t)!==String(e)&&Ow.warn(Dw(`Expected number but observed string: ${e}`)),t}if(typeof e==`number`)return e;throw TypeError(`Expected number, got ${typeof e}: ${e}`)}},hw=Math.ceil(2**127*(2-2**-23)),gw=e=>{let t=mw(e);if(t!==void 0&&!Number.isNaN(t)&&t!==1/0&&t!==-1/0&&Math.abs(t)>hw)throw TypeError(`Expected 32-bit float, got ${e}`);return t},_w=e=>{if(e!=null){if(Number.isInteger(e)&&!Number.isNaN(e))return e;throw TypeError(`Expected integer, got ${typeof e}: ${e}`)}},vw=e=>bw(e,16),yw=e=>bw(e,8),bw=(e,t)=>{let n=_w(e);if(n!==void 0&&xw(n,t)!==n)throw TypeError(`Expected ${t}-bit integer, got ${e}`);return n},xw=(e,t)=>{switch(t){case 32:return Int32Array.of(e)[0];case 16:return Int16Array.of(e)[0];case 8:return Int8Array.of(e)[0]}},Sw=e=>gw(typeof e==`string`?ww(e):e),Cw=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,ww=e=>{let t=e.match(Cw);if(t===null||t[0].length!==e.length)throw TypeError(`Expected real number, got implicit NaN`);return parseFloat(e)},Tw=e=>vw(typeof e==`string`?ww(e):e),Ew=e=>yw(typeof e==`string`?ww(e):e),Dw=e=>String(TypeError(e).stack||e).split(` `).slice(0,5).filter(e=>!e.includes(`stackTraceWarning`)).join(` `),Ow={warn:console.warn},kw=[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],Aw=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function jw(e){let t=e.getUTCFullYear(),n=e.getUTCMonth(),r=e.getUTCDay(),i=e.getUTCDate(),a=e.getUTCHours(),o=e.getUTCMinutes(),s=e.getUTCSeconds(),c=i<10?`0${i}`:`${i}`,l=a<10?`0${a}`:`${a}`,u=o<10?`0${o}`:`${o}`,d=s<10?`0${s}`:`${s}`;return`${kw[r]}, ${c} ${Aw[n]} ${t} ${l}:${u}:${d} GMT`}var Mw=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Nw=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),Pw=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),Fw=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC-7231 date-times must be expressed as strings`);let t=Mw.exec(e);if(t){let[e,n,r,i,a,o,s,c]=t;return Iw(Tw(Kw(i)),Bw(r),Ww(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c})}if(t=Nw.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return zw(Iw(Lw(i),Bw(r),Ww(n,`day`,1,31),{hours:a,minutes:o,seconds:s,fractionalMilliseconds:c}))}if(t=Pw.exec(e),t){let[e,n,r,i,a,o,s,c]=t;return Iw(Tw(Kw(c)),Bw(n),Ww(r.trimLeft(),`day`,1,31),{hours:i,minutes:a,seconds:o,fractionalMilliseconds:s})}throw TypeError(`Invalid RFC-7231 date-time value`)},Iw=(e,t,n,r)=>{let i=t-1;return Hw(e,i,n),new Date(Date.UTC(e,i,n,Ww(r.hours,`hour`,0,23),Ww(r.minutes,`minute`,0,59),Ww(r.seconds,`seconds`,0,60),Gw(r.fractionalMilliseconds)))},Lw=e=>{let t=new Date().getUTCFullYear(),n=Math.floor(t/100)*100+Tw(Kw(e));return ne.getTime()-new Date().getTime()>Rw?new Date(Date.UTC(e.getUTCFullYear()-100,e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())):e,Bw=e=>{let t=Aw.indexOf(e);if(t<0)throw TypeError(`Invalid month: ${e}`);return t+1},Vw=[31,28,31,30,31,30,31,31,30,31,30,31],Hw=(e,t,n)=>{let r=Vw[t];if(t===1&&Uw(e)&&(r=29),n>r)throw TypeError(`Invalid day for ${Aw[t]} in ${e}: ${n}`)},Uw=e=>e%4==0&&(e%100!=0||e%400==0),Ww=(e,t,n,r)=>{let i=Ew(Kw(e));if(ir)throw TypeError(`${t} must be between ${n} and ${r}, inclusive`);return i},Gw=e=>e==null?0:Sw(`0.`+e)*1e3,Kw=e=>{let t=0;for(;tt.toString(16).padStart(2,`0`)),Yw=()=>{if(qw)return qw();let e=new Uint8Array(16);return crypto.getRandomValues(e),e[6]=e[6]&15|64,e[8]=e[8]&63|128,Jw[e[0]]+Jw[e[1]]+Jw[e[2]]+Jw[e[3]]+`-`+Jw[e[4]]+Jw[e[5]]+`-`+Jw[e[6]]+Jw[e[7]]+`-`+Jw[e[8]]+Jw[e[9]]+`-`+Jw[e[10]]+Jw[e[11]]+Jw[e[12]]+Jw[e[13]]+Jw[e[14]]+Jw[e[15]]},Xw=function(e){return Object.assign(new String(e),{deserializeJSON(){return JSON.parse(String(e))},toString(){return String(e)},toJSON(){return String(e)}})};Xw.from=e=>e&&typeof e==`object`&&(e instanceof Xw||`deserializeJSON`in e)?e:typeof e==`string`||Object.getPrototypeOf(e)===String.prototype?Xw(String(e)):Xw(JSON.stringify(e)),Xw.fromObject=Xw.from;function Zw(e){return(e.includes(`,`)||e.includes(`"`))&&(e=`"${e.replace(/"/g,`\\"`)}"`),e}var Qw=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`,$w=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`,eT=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`,tT=`(\\d?\\d)`,nT=`(\\d{4})`,rT=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/),iT=RegExp(`^${Qw}, ${tT} ${$w} ${nT} ${eT} GMT$`),aT=RegExp(`^${Qw}, ${tT}-${$w}-(\\d\\d) ${eT} GMT$`),oT=RegExp(`^${Qw} ${$w} ( [1-9]|\\d\\d) ${eT} ${nT}$`),sT=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`],cT=e=>{if(e==null)return;let t=NaN;if(typeof e==`number`)t=e;else if(typeof e==`string`){if(!/^-?\d*\.?\d+$/.test(e))throw TypeError(`parseEpochTimestamp - numeric string invalid.`);t=Number.parseFloat(e)}else typeof e==`object`&&e.tag===1&&(t=e.value);if(isNaN(t)||Math.abs(t)===1/0)throw TypeError(`Epoch timestamps must be valid finite numbers.`);return new Date(Math.round(t*1e3))},lT=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC3339 timestamps must be strings`);let t=rT.exec(e);if(!t)throw TypeError(`Invalid RFC3339 timestamp format ${e}`);let[,n,r,i,a,o,s,,c,l]=t;dT(r,1,12),dT(i,1,31),dT(a,0,23),dT(o,0,59),dT(s,0,60);let u=new Date(Date.UTC(Number(n),Number(r)-1,Number(i),Number(a),Number(o),Number(s),Number(c)?Math.round(parseFloat(`0.${c}`)*1e3):0));if(u.setUTCFullYear(Number(n)),l.toUpperCase()!=`Z`){let[,e,t,n]=/([+-])(\d\d):(\d\d)/.exec(l)||[void 0,`+`,0,0],r=e===`-`?1:-1;u.setTime(u.getTime()+r*(Number(t)*60*60*1e3+Number(n)*60*1e3))}return u},uT=e=>{if(e==null)return;if(typeof e!=`string`)throw TypeError(`RFC7231 timestamps must be strings.`);let t,n,r,i,a,o,s,c;if((c=iT.exec(e))?[,t,n,r,i,a,o,s]=c:(c=aT.exec(e))?([,t,n,r,i,a,o,s]=c,r=(Number(r)+1900).toString()):(c=oT.exec(e))&&([,n,t,i,a,o,s,r]=c),r&&o){let e=Date.UTC(Number(r),sT.indexOf(n),Number(t),Number(i),Number(a),Number(o),s?Math.round(parseFloat(`0.${s}`)*1e3):0);dT(t,1,31),dT(i,0,23),dT(a,0,59),dT(o,0,60);let c=new Date(e);return c.setUTCFullYear(Number(r)),c}throw TypeError(`Invalid RFC7231 date-time value ${e}.`)};function dT(e,t,n){let r=Number(e);if(rn)throw Error(`Value ${r} out of range [${t}, ${n}]`)}function fT(e,t,n){if(n<=0||!Number.isInteger(n))throw Error(`Invalid number of delimiters (`+n+`) for splitEvery.`);let r=e.split(t);if(n===1)return r;let i=[],a=``;for(let e=0;e{let t=e.length,n=[],r=!1,i,a=0;for(let o=0;o{e=e.trim();let t=e.length;return t<2?e:(e[0]===`"`&&e[t-1]===`"`&&(e=e.slice(1,t-1)),e.replace(/\\"/g,`"`))})},mT=/^-?\d*(\.\d+)?$/,hT=class e{string;type;constructor(e,t){if(this.string=e,this.type=t,!mT.test(e))throw Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}toString(){return this.string}static[Symbol.hasInstance](t){if(!t||typeof t!=`object`)return!1;let n=t;return e.prototype.isPrototypeOf(t)||n.type===`bigDecimal`&&mT.test(n.string)}},gT=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},_T=`modulepreload`,vT=function(e){return`/`+e},yT={},bT=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=vT(t,n),t in yT)return;yT[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:_T,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},xT=class extends gT{options;compositeErrorRegistry;constructor(e){super(),this.options=e,this.compositeErrorRegistry=pw.for(e.defaultNamespace);for(let t of e.errorTypeRegistries??[])this.compositeErrorRegistry.copyFrom(t)}getRequestType(){return Kx}getResponseType(){return Jx}setSerdeContext(e){this.serdeContext=e,this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e),this.getPayloadCodec()&&this.getPayloadCodec().setSerdeContext(e)}updateServiceEndpoint(e,t){if(`url`in t){e.protocol=t.url.protocol,e.hostname=t.url.hostname,e.port=t.url.port?Number(t.url.port):void 0,e.path=t.url.pathname,e.fragment=t.url.hash||void 0,e.username=t.url.username||void 0,e.password=t.url.password||void 0,e.query||={};for(let[n,r]of t.url.searchParams.entries())e.query[n]=r;if(t.headers)for(let n in t.headers)e.headers[n]=t.headers[n].join(`, `);return e}else{if(e.protocol=t.protocol,e.hostname=t.hostname,e.port=t.port?Number(t.port):void 0,e.path=t.path,e.query={...t.query},t.headers)for(let n in t.headers)e.headers[n]=t.headers[n];return e}}setHostPrefix(e,t,n){if(this.serdeContext?.disableHostPrefix)return;let r=lw.of(t.input),i=aw(t.traits??{});if(i.endpoint){let t=i.endpoint?.[0];if(typeof t==`string`){for(let[e,i]of r.structIterator()){if(!i.getMergedTraits().hostLabel)continue;let r=n[e];if(typeof r!=`string`)throw Error(`@smithy/core/schema - ${e} in input must be a string as hostLabel.`);t=t.replace(`{${e}}`,r)}e.hostname=t+e.hostname}}}deserializeMetadata(e){return{httpStatusCode:e.statusCode,requestId:e.headers[`x-amzn-requestid`]??e.headers[`x-amzn-request-id`]??e.headers[`x-amz-request-id`],extendedRequestId:e.headers[`x-amz-id-2`],cfId:e.headers[`x-amz-cf-id`]}}async serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n}){return(await this.loadEventStreamCapability()).serializeEventStream({eventStream:e,requestSchema:t,initialRequest:n})}async deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n}){return(await this.loadEventStreamCapability()).deserializeEventStream({response:e,responseSchema:t,initialResponseContainer:n})}async loadEventStreamCapability(){let{EventStreamSerde:e}=await bT(async()=>{let{EventStreamSerde:e}=await import(`./event-streams.js`);return{EventStreamSerde:e}},[]);return new e({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(e,t,n,r,i){return[]}getEventStreamMarshaller(){let e=this.serdeContext;if(!e.eventStreamMarshaller)throw Error(`@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.`);return e.eventStreamMarshaller}},ST=class extends xT{async serializeRequest(e,t,n){let r=t&&typeof t==`object`?t:{},i=this.serializer,a={},o={},s=await n.endpoint(),c=lw.of(e?.input),l=[],u=[],d=!1,f,p=new Kx({protocol:``,hostname:``,port:void 0,path:``,fragment:void 0,query:a,headers:o,body:void 0});if(s){this.updateServiceEndpoint(p,s),this.setHostPrefix(p,e,r);let t=aw(e.traits);if(t.http){p.method=t.http[0];let[e,n]=t.http[1].split(`?`);p.path==`/`?p.path=e:p.path+=e;let r=new URLSearchParams(n??``);for(let[e,t]of r)a[e]=t}}for(let[e,t]of c.structIterator()){let n=t.getMergedTraits()??{},s=r[e];if(s==null&&!t.isIdempotencyToken()){if(n.httpLabel&&(p.path.includes(`{${e}+}`)||p.path.includes(`{${e}}`)))throw Error(`No value provided for input HTTP label: ${e}.`);continue}if(n.httpPayload)t.isStreaming()?t.isStructSchema()?r[e]&&(f=await this.serializeEventStream({eventStream:r[e],requestSchema:c})):f=s:(i.write(t,s),f=i.flush());else if(n.httpLabel){i.write(t,s);let n=i.flush();p.path.includes(`{${e}+}`)?p.path=p.path.replace(`{${e}+}`,n.split(`/`).map(KC).join(`/`)):p.path.includes(`{${e}}`)&&(p.path=p.path.replace(`{${e}}`,KC(n)))}else if(n.httpHeader)i.write(t,s),o[n.httpHeader.toLowerCase()]=String(i.flush());else if(typeof n.httpPrefixHeaders==`string`)for(let e in s){let r=s[e],a=n.httpPrefixHeaders+e;i.write([t.getValueSchema(),{httpHeader:a}],r),o[a.toLowerCase()]=i.flush()}else n.httpQuery||n.httpQueryParams?this.serializeQuery(t,s,a):(d=!0,l.push(e),u.push(t))}if(d&&r){let[e,t]=(c.getName(!0)??`#Unknown`).split(`#`),n=c.getSchema()[6],a=[3,e,t,c.getMergedTraits(),l,u,void 0];n?a[6]=n:a.pop(),i.write(a,r),f=i.flush()}return p.headers=o,p.query=a,p.body=f,p}serializeQuery(e,t,n){let r=this.serializer,i=e.getMergedTraits();if(i.httpQueryParams){for(let r in t)if(!(r in n)){let a=t[r],o=e.getValueSchema();Object.assign(o.getMergedTraits(),{...i,httpQuery:r,httpQueryParams:void 0}),this.serializeQuery(o,a,n)}return}if(e.isListSchema()){let a=!!e.getMergedTraits().sparse,o=[];for(let n of t){r.write([e.getValueSchema(),i],n);let t=r.flush();(a||t!==void 0)&&o.push(t)}n[i.httpQuery]=o}else r.write([e,i],t),n[i.httpQuery]=r.flush()}async deserializeResponse(e,t,n){let r=this.deserializer,i=lw.of(e.output),a={};if(n.statusCode>=300){let i=await GC(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - HTTP Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=await this.deserializeHttpMessage(i,t,n,a);if(o.length){let e=await GC(n.body,t);if(e.byteLength>0){let t=await r.read(i,e);for(let e of o)t[e]!=null&&(a[e]=t[e])}}else o.discardResponseBody&&await GC(n.body,t);return a.$metadata=this.deserializeMetadata(n),a}async deserializeHttpMessage(e,t,n,r,i){let a;a=r instanceof Set?i:r;let o=!0,s=this.deserializer,c=lw.of(e),l=[];for(let[e,r]of c.structIterator()){let i=r.getMemberTraits();if(i.httpPayload){if(o=!1,r.isStreaming())r.isStructSchema()?a[e]=await this.deserializeEventStream({response:n,responseSchema:c}):a[e]=UC(n.body);else if(n.body){let i=await GC(n.body,t);i.byteLength>0&&(a[e]=await s.read(r,i))}}else if(i.httpHeader){let t=String(i.httpHeader).toLowerCase(),o=n.headers[t];if(o!=null)if(r.isListSchema()){let n=r.getValueSchema();n.getMergedTraits().httpHeader=t;let i;i=n.isTimestampSchema()&&n.getSchema()===4?fT(o,`,`,2):pT(o);let c=[];for(let e of i)c.push(await s.read(n,e.trim()));a[e]=c}else a[e]=await s.read(r,o)}else if(i.httpPrefixHeaders!==void 0){a[e]={};for(let t in n.headers)if(t.startsWith(i.httpPrefixHeaders)){let o=n.headers[t],c=r.getValueSchema();c.getMergedTraits().httpHeader=t,a[e][t.slice(i.httpPrefixHeaders.length)]=await s.read(c,o)}}else i.httpResponseCode?a[e]=n.statusCode:l.push(e)}return l.discardResponseBody=o,l}},CT=class extends xT{async serializeRequest(e,t,n){let r=this.serializer,i={},a={},o=await n.endpoint(),s=lw.of(e?.input),c=s.getSchema(),l,u=t&&typeof t==`object`?t:{},d=new Kx({protocol:``,hostname:``,port:void 0,path:`/`,fragment:void 0,query:i,headers:a,body:void 0});if(o&&(this.updateServiceEndpoint(d,o),this.setHostPrefix(d,e,u)),u){let e=s.getEventStreamMember();if(e){if(u[e]){let t={};for(let[n,i]of s.structIterator())n!==e&&u[n]&&(r.write(i,u[n]),t[n]=r.flush());l=await this.serializeEventStream({eventStream:u[e],requestSchema:s,initialRequest:t})}}else r.write(c,u),l=r.flush()}return d.headers=Object.assign(d.headers,a),d.query=i,d.body=l,d.method=`POST`,d}async deserializeResponse(e,t,n){let r=this.deserializer,i=lw.of(e.output),a={};if(n.statusCode>=300){let i=await GC(n.body,t);throw i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n)),Error(`@smithy/core/protocols - RPC Protocol error handler failed to throw.`)}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=i.getEventStreamMember();if(o)a[o]=await this.deserializeEventStream({response:n,responseSchema:i,initialResponseContainer:a});else{let e=await GC(n.body,t);e.byteLength>0&&Object.assign(a,await r.read(i,e))}return a.$metadata=this.deserializeMetadata(n),a}};function wT(e,t){if(t.timestampFormat.useTrait&&e.isTimestampSchema()&&(e.getSchema()===5||e.getSchema()===6||e.getSchema()===7))return e.getSchema();let{httpLabel:n,httpPrefixHeaders:r,httpHeader:i,httpQuery:a}=e.getMergedTraits();return(t.httpBindings?typeof r==`string`||i?6:a||n?5:void 0:void 0)??t.timestampFormat.default}var TT=class extends gT{settings;constructor(e){super(),this.settings=e}read(e,t){let n=lw.of(e);if(n.isListSchema())return pT(t).map(e=>this.read(n.getValueSchema(),e));if(n.isBlobSchema())return(this.serdeContext?.base64Decoder??DC)(t);if(n.isTimestampSchema())switch(wT(n,this.settings)){case 5:return lT(t);case 6:return uT(t);case 7:return cT(t);default:return console.warn(`Missing timestamp format, parsing value with Date constructor:`,t),new Date(t)}if(n.isStringSchema()){let e=n.getMergedTraits().mediaType,r=t;if(e)return n.getMergedTraits().httpHeader&&(r=this.base64ToUtf8(r)),(e===`application/json`||e.endsWith(`+json`))&&(r=Xw.from(r)),r}return n.isNumericSchema()?Number(t):n.isBigIntegerSchema()?BigInt(t):n.isBigDecimalSchema()?new hT(t,`bigDecimal`):n.isBooleanSchema()?String(t).toLowerCase()===`true`:t}base64ToUtf8(e){return(this.serdeContext?.utf8Encoder??tS)((this.serdeContext?.base64Decoder??DC)(e))}},ET=class extends gT{codecDeserializer;stringDeserializer;constructor(e,t){super(),this.codecDeserializer=e,this.stringDeserializer=new TT(t)}setSerdeContext(e){this.stringDeserializer.setSerdeContext(e),this.codecDeserializer.setSerdeContext(e),this.serdeContext=e}read(e,t){let n=lw.of(e),r=n.getMergedTraits(),i=this.serdeContext?.utf8Encoder??tS;if(r.httpHeader||r.httpResponseCode)return this.stringDeserializer.read(n,i(t));if(r.httpPayload){if(n.isBlobSchema()){let e=this.serdeContext?.utf8Decoder??$x;return typeof t==`string`?e(t):t}else if(n.isStringSchema())return`byteLength`in t?i(t):t}return this.codecDeserializer.read(n,t)}},DT=class extends gT{settings;stringBuffer=``;constructor(e){super(),this.settings=e}write(e,t){let n=lw.of(e);switch(typeof t){case`object`:if(t===null){this.stringBuffer=`null`;return}if(n.isTimestampSchema()){if(!(t instanceof Date))throw Error(`@smithy/core/protocols - received non-Date value ${t} when schema expected Date in ${n.getName(!0)}`);switch(wT(n,this.settings)){case 5:this.stringBuffer=t.toISOString().replace(`.000Z`,`Z`);break;case 6:this.stringBuffer=jw(t);break;case 7:this.stringBuffer=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using epoch seconds`,t),this.stringBuffer=String(t.getTime()/1e3)}return}if(n.isBlobSchema()&&`byteLength`in t){this.stringBuffer=(this.serdeContext?.base64Encoder??OC)(t);return}if(n.isListSchema()&&Array.isArray(t)){let e=``;for(let r of t){this.write([n.getValueSchema(),n.getMergedTraits()],r);let t=this.flush(),i=n.getValueSchema().isTimestampSchema()?t:Zw(t);e!==``&&(e+=`, `),e+=i}this.stringBuffer=e;return}this.stringBuffer=JSON.stringify(t,null,2);break;case`string`:let e=n.getMergedTraits().mediaType,r=t;if(e&&((e===`application/json`||e.endsWith(`+json`))&&(r=Xw.from(r)),n.getMergedTraits().httpHeader)){this.stringBuffer=(this.serdeContext?.base64Encoder??OC)(r.toString());return}this.stringBuffer=t;break;default:n.isIdempotencyToken()?this.stringBuffer=Yw():this.stringBuffer=String(t)}}flush(){let e=this.stringBuffer;return this.stringBuffer=``,e}},OT=class{codecSerializer;stringSerializer;buffer;constructor(e,t,n=new DT(t)){this.codecSerializer=e,this.stringSerializer=n}setSerdeContext(e){this.codecSerializer.setSerdeContext(e),this.stringSerializer.setSerdeContext(e)}write(e,t){let n=lw.of(e),r=n.getMergedTraits();if(r.httpHeader||r.httpLabel||r.httpQuery){this.stringSerializer.write(n,t),this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(n,t)}flush(){if(this.buffer!==void 0){let e=this.buffer;return this.buffer=void 0,e}return this.codecSerializer.flush()}};function kT(e,t,n){e.__smithy_context?e.__smithy_context.features||(e.__smithy_context.features={}):e.__smithy_context={features:{}},e.__smithy_context.features[t]=n}var AT=class{authSchemes=new Map;constructor(e){for(let t in e){let n=e[t];n!==void 0&&this.authSchemes.set(t,n)}}getIdentityProvider(e){return this.authSchemes.get(e)}},jT=(e=>function(t){return MT(t)&&t.expiration.getTime()-Date.now()e.expiration!==void 0,NT=(e,t,n)=>{if(e===void 0)return;let r=typeof e==`function`?e:async()=>Promise.resolve(e),i,a,o,s=!1,c=async e=>{a||=r(e);try{i=await a,o=!0,s=!1}finally{a=void 0}return i};return t===void 0?async e=>((!o||e?.forceRefresh)&&(i=await c(e)),i):async e=>((!o||e?.forceRefresh)&&(i=await c(e)),s?i:n(i)?(t(i)&&await c(e),i):(s=!0,i))};function PT(e){return e===void 0?!0:typeof e==`string`&&e.length<=50}function FT(e){let t=CC(e.userAgentAppId??void 0),{customUserAgent:n}=e;return Object.assign(e,{customUserAgent:typeof n==`string`?[[n]]:n,userAgentAppId:async()=>{let n=await t();if(!PT(n)){let t=e.logger?.constructor?.name===`NoOpLogger`||!e.logger?console:e.logger;typeof n==`string`?n.length>50&&t?.warn(`The provided userAgentAppId exceeds the maximum length of 50 characters.`):t?.warn(`userAgentAppId must be a string or undefined.`)}return n}})}var IT=class e{nodes;root;conditions;results;constructor(e,t,n,r){this.nodes=e,this.root=t,this.conditions=n,this.results=r}static from(t,n,r,i){return new e(t,n,r,i)}},LT=class{capacity;data=new Map;parameters=[];constructor({size:e,params:t}){this.capacity=e??50,t&&(this.parameters=t)}get(e,t){let n=this.hash(e);if(n===!1)return t();if(!this.data.has(n)){if(this.data.size>this.capacity+10){let e=this.data.keys(),t=0;for(;;){let{value:n,done:r}=e.next();if(this.data.delete(n),r||++t>10)break}}this.data.set(n,t())}return this.data.get(n)}size(){return this.data.size}hash(e){let t=``,{parameters:n}=this;if(n.length===0)return!1;for(let r of n){let n=String(e[r]??``);if(n.includes(`|;`))return!1;t+=n+`|;`}return t}},RT=class extends Error{constructor(e){super(e),this.name=`EndpointError`}},zT=`endpoints`;function BT(e){return typeof e!=`object`||!e?e:`ref`in e?`$${BT(e.ref)}`:`fn`in e?`${e.fn}(${(e.argv||[]).map(BT).join(`, `)})`:JSON.stringify(e,null,2)}var VT={},HT=(e,t)=>e===t;function UT(...e){for(let t of e)if(t!=null)return t}var WT=e=>{let t=e.split(`.`),n=[];for(let r of t){let t=r.indexOf(`[`);if(t!==-1){if(r.indexOf(`]`)!==r.length-1)throw new RT(`Path: '${e}' does not end with ']'`);let i=r.slice(t+1,-1);if(Number.isNaN(parseInt(i)))throw new RT(`Invalid array index: '${i}' in path: '${e}'`);t!==0&&n.push(r.slice(0,t)),n.push(i)}else n.push(r)}return n},GT=(e,t)=>WT(t).reduce((n,r)=>{if(typeof n!=`object`)throw new RT(`Index '${r}' in '${t}' not found in '${JSON.stringify(e)}'`);if(Array.isArray(n)){let e=parseInt(r);return n[e<0?n.length+e:e]}return n[r]},e),KT=e=>e!=null,qT=RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`),JT=(e,t=!1)=>{if(!t)return qT.test(e);let n=e.split(`.`);for(let e of n)if(!JT(e))return!1;return!0};function YT(e,t,n){return e?t:n}var XT=e=>!e,ZT=RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`),QT=e=>ZT.test(e)||e.startsWith(`[`)&&e.endsWith(`]`),$T={[Ux.HTTP]:80,[Ux.HTTPS]:443},eE=e=>{let t=(()=>{try{if(e instanceof URL)return e;if(typeof e==`object`&&`hostname`in e){let{hostname:t,port:n,protocol:r=``,path:i=``,query:a={}}=e,o=new URL(`${r}//${t}${n?`:${n}`:``}${i}`);return o.search=Object.entries(a).map(([e,t])=>`${e}=${t}`).join(`&`),o}return new URL(e)}catch{return null}})();if(!t)return console.error(`Unable to parse ${JSON.stringify(e)} as a whatwg URL.`),null;let n=t.href,{host:r,hostname:i,pathname:a,protocol:o,search:s}=t;if(s)return null;let c=o.slice(0,-1);if(!Object.values(Ux).includes(c))return null;let l=QT(i);return{scheme:c,authority:`${r}${n.includes(`${r}:${$T[c]}`)||typeof e==`string`&&e.includes(`${r}:${$T[c]}`)?`:${$T[c]}`:``}`,path:a,normalizedPath:a.endsWith(`/`)?a:`${a}/`,isIp:l}};function tE(e,t,n){if(n===1)return[e];if(e===``)return[``];let r=e.split(t);return n===0?r:r.slice(0,n-1).concat(r.slice(1).join(t))}var nE={booleanEquals:HT,coalesce:UT,getAttr:GT,isSet:KT,isValidHostLabel:JT,ite:YT,not:XT,parseURL:eE,split:tE,stringEquals:(e,t)=>e===t,substring:(e,t,n,r)=>e==null||t>=n||e.lengthencodeURIComponent(e).replace(/[!*'()]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)},rE=(e,t)=>{let n=[],{referenceRecord:r,endpointParams:i}=t,a=0;for(;at.referenceRecord[e]??t.endpointParams[e],aE=(e,t,n)=>{if(typeof e==`string`)return rE(e,n);if(e.fn)return sE.callFunction(e,n);if(e.ref)return iE(e,n);throw new RT(`'${t}': ${String(e)} is not a string, function or reference.`)},oE=({fn:e,argv:t},n)=>{let r=Array(t.length);for(let e=0;e{let{assign:n}=e;if(n&&n in t.referenceRecord)throw new RT(`'${n}' is already defined in Reference Record.`);let r=oE(e,t);t.logger?.debug?.(`${zT} evaluateCondition: ${BT(e)} = ${BT(r)}`);let i=r===``?!0:!!r;return n==null?{result:i}:{result:i,toAssign:{name:n,value:r}}},lE=(e,t)=>Object.entries(e??{}).reduce((e,[n,r])=>(e[n]=r.map(e=>{let r=aE(e,`Header value entry`,t);if(typeof r!=`string`)throw new RT(`Header '${n}' value '${r}' is not a string`);return r}),e),{}),uE=(e,t)=>Object.entries(e).reduce((e,[n,r])=>(e[n]=fE.getEndpointProperty(r,t),e),{}),dE=(e,t)=>{if(Array.isArray(e))return e.map(e=>dE(e,t));switch(typeof e){case`string`:return rE(e,t);case`object`:if(e===null)throw new RT(`Unexpected endpoint property: ${e}`);return fE.getEndpointProperties(e,t);case`boolean`:return e;default:throw new RT(`Unexpected endpoint property type: ${typeof e}`)}},fE={getEndpointProperty:dE,getEndpointProperties:uE},pE=(e,t)=>{let n=aE(e,`Endpoint URL`,t);if(typeof n==`string`)try{return new URL(n)}catch(e){throw console.error(`Failed to construct URL with ${n}`,e),e}throw new RT(`Endpoint URL must be a string, got ${typeof n}`)},mE=1e8,hE=(e,t)=>{let{nodes:n,root:r,results:i,conditions:a}=e,o=r,s={},c={referenceRecord:s,endpointParams:t.endpointParams,logger:t.logger};for(;o!==1&&o!==-1&&o=0===f.result?r:i}if(o>=mE){let e=i[o-mE];if(e[0]===-1){let[,t]=e;throw new RT(aE(t,`Error`,c))}let[t,n,r]=e;return{url:pE(t,c),properties:uE(n,c),headers:lE(r??{},c)}}throw new RT(`No matching endpoint.`)},gE=(e,t=!1)=>{if(t){for(let t of e.split(`.`))if(!gE(t))return!1;return!0}return!(!JT(e)||e.length<3||e.length>63||e!==e.toLowerCase()||QT(e))},_E=`:`,vE=`/`,yE=e=>{let t=e.split(_E);if(t.length<6)return null;let[n,r,i,a,o,...s]=t;return n!==`arn`||r===``||i===``||s.join(_E)===``?null:{partition:r,service:i,region:a,accountId:o,resourceId:s.map(e=>e.split(vE)).flat()}},bE={partitions:[{id:`aws`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-east-1`,name:`aws`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$`,regions:{"af-south-1":{description:`Africa (Cape Town)`},"ap-east-1":{description:`Asia Pacific (Hong Kong)`},"ap-east-2":{description:`Asia Pacific (Taipei)`},"ap-northeast-1":{description:`Asia Pacific (Tokyo)`},"ap-northeast-2":{description:`Asia Pacific (Seoul)`},"ap-northeast-3":{description:`Asia Pacific (Osaka)`},"ap-south-1":{description:`Asia Pacific (Mumbai)`},"ap-south-2":{description:`Asia Pacific (Hyderabad)`},"ap-southeast-1":{description:`Asia Pacific (Singapore)`},"ap-southeast-2":{description:`Asia Pacific (Sydney)`},"ap-southeast-3":{description:`Asia Pacific (Jakarta)`},"ap-southeast-4":{description:`Asia Pacific (Melbourne)`},"ap-southeast-5":{description:`Asia Pacific (Malaysia)`},"ap-southeast-6":{description:`Asia Pacific (New Zealand)`},"ap-southeast-7":{description:`Asia Pacific (Thailand)`},"aws-global":{description:`aws global region`},"ca-central-1":{description:`Canada (Central)`},"ca-west-1":{description:`Canada West (Calgary)`},"eu-central-1":{description:`Europe (Frankfurt)`},"eu-central-2":{description:`Europe (Zurich)`},"eu-north-1":{description:`Europe (Stockholm)`},"eu-south-1":{description:`Europe (Milan)`},"eu-south-2":{description:`Europe (Spain)`},"eu-west-1":{description:`Europe (Ireland)`},"eu-west-2":{description:`Europe (London)`},"eu-west-3":{description:`Europe (Paris)`},"il-central-1":{description:`Israel (Tel Aviv)`},"me-central-1":{description:`Middle East (UAE)`},"me-south-1":{description:`Middle East (Bahrain)`},"mx-central-1":{description:`Mexico (Central)`},"sa-east-1":{description:`South America (Sao Paulo)`},"us-east-1":{description:`US East (N. Virginia)`},"us-east-2":{description:`US East (Ohio)`},"us-west-1":{description:`US West (N. California)`},"us-west-2":{description:`US West (Oregon)`}}},{id:`aws-cn`,outputs:{dnsSuffix:`amazonaws.com.cn`,dualStackDnsSuffix:`api.amazonwebservices.com.cn`,implicitGlobalRegion:`cn-northwest-1`,name:`aws-cn`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^cn\\-\\w+\\-\\d+$`,regions:{"aws-cn-global":{description:`aws-cn global region`},"cn-north-1":{description:`China (Beijing)`},"cn-northwest-1":{description:`China (Ningxia)`}}},{id:`aws-eusc`,outputs:{dnsSuffix:`amazonaws.eu`,dualStackDnsSuffix:`api.amazonwebservices.eu`,implicitGlobalRegion:`eusc-de-east-1`,name:`aws-eusc`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eusc\\-(de)\\-\\w+\\-\\d+$`,regions:{"eusc-de-east-1":{description:`AWS European Sovereign Cloud (Germany)`}}},{id:`aws-iso`,outputs:{dnsSuffix:`c2s.ic.gov`,dualStackDnsSuffix:`api.aws.ic.gov`,implicitGlobalRegion:`us-iso-east-1`,name:`aws-iso`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-iso\\-\\w+\\-\\d+$`,regions:{"aws-iso-global":{description:`aws-iso global region`},"us-iso-east-1":{description:`US ISO East`},"us-iso-west-1":{description:`US ISO WEST`}}},{id:`aws-iso-b`,outputs:{dnsSuffix:`sc2s.sgov.gov`,dualStackDnsSuffix:`api.aws.scloud`,implicitGlobalRegion:`us-isob-east-1`,name:`aws-iso-b`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isob\\-\\w+\\-\\d+$`,regions:{"aws-iso-b-global":{description:`aws-iso-b global region`},"us-isob-east-1":{description:`US ISOB East (Ohio)`},"us-isob-west-1":{description:`US ISOB West`}}},{id:`aws-iso-e`,outputs:{dnsSuffix:`cloud.adc-e.uk`,dualStackDnsSuffix:`api.cloud-aws.adc-e.uk`,implicitGlobalRegion:`eu-isoe-west-1`,name:`aws-iso-e`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^eu\\-isoe\\-\\w+\\-\\d+$`,regions:{"aws-iso-e-global":{description:`aws-iso-e global region`},"eu-isoe-west-1":{description:`EU ISOE West`}}},{id:`aws-iso-f`,outputs:{dnsSuffix:`csp.hci.ic.gov`,dualStackDnsSuffix:`api.aws.hci.ic.gov`,implicitGlobalRegion:`us-isof-south-1`,name:`aws-iso-f`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-isof\\-\\w+\\-\\d+$`,regions:{"aws-iso-f-global":{description:`aws-iso-f global region`},"us-isof-east-1":{description:`US ISOF EAST`},"us-isof-south-1":{description:`US ISOF SOUTH`}}},{id:`aws-us-gov`,outputs:{dnsSuffix:`amazonaws.com`,dualStackDnsSuffix:`api.aws`,implicitGlobalRegion:`us-gov-west-1`,name:`aws-us-gov`,supportsDualStack:!0,supportsFIPS:!0},regionRegex:`^us\\-gov\\-\\w+\\-\\d+$`,regions:{"aws-us-gov-global":{description:`aws-us-gov global region`},"us-gov-east-1":{description:`AWS GovCloud (US-East)`},"us-gov-west-1":{description:`AWS GovCloud (US-West)`}}}],version:`1.1`},xE=``,SE=e=>{let{partitions:t}=bE;for(let n of t){let{regions:t,outputs:r}=n;for(let[n,i]of Object.entries(t))if(n===e)return{...r,...i}}for(let n of t){let{regionRegex:t,outputs:r}=n;if(new RegExp(t).test(e))return{...r}}let n=t.find(e=>e.id===`aws`);if(!n)throw Error(`Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.`);return{...n.outputs}},CE=()=>xE,wE={isVirtualHostableS3Bucket:gE,parseArn:yE,partition:SE};VT.aws=wE;function TE(e,t,n){return e.$source||={},e.$source[t]=n,e}var EE;(function(e){e.STANDARD=`standard`,e.ADAPTIVE=`adaptive`})(EE||={});var DE=EE.STANDARD,OE=[`BandwidthLimitExceeded`,`EC2ThrottledException`,`LimitExceededException`,`PriorRequestNotComplete`,`ProvisionedThroughputExceededException`,`RequestLimitExceeded`,`RequestThrottled`,`RequestThrottledException`,`SlowDown`,`ThrottledException`,`Throttling`,`ThrottlingException`,`TooManyRequestsException`,`TransactionInProgressException`],kE=[`TimeoutError`,`RequestTimeout`,`RequestTimeoutException`],AE=[500,502,503,504],jE=[`ECONNRESET`,`ECONNREFUSED`,`EPIPE`,`ETIMEDOUT`],ME=[`EHOSTUNREACH`,`ENETUNREACH`,`ENOTFOUND`],NE=e=>e?.$retryable!==void 0,PE=e=>e.$metadata?.clockSkewCorrected,FE=e=>{let t=new Set([`Failed to fetch`,`NetworkError when attempting to fetch resource`,`The Internet connection appears to be offline`,`Load failed`,`Network request failed`]);return e&&e instanceof TypeError?t.has(e.message):!1},IE=e=>e.$metadata?.httpStatusCode===429||OE.includes(e.name)||e.$retryable?.throttling==1,LE=(e,t=0)=>NE(e)||PE(e)||e.name===`InvalidSignatureException`&&e.message?.includes(`Signature expired`)||kE.includes(e.name)||jE.includes(e?.code||``)||ME.includes(e?.code||``)||AE.includes(e.$metadata?.httpStatusCode||0)||FE(e)||zE(e)||e.cause!==void 0&&t<=10&&LE(e.cause,t+1),RE=e=>{if(e.$metadata?.httpStatusCode!==void 0){let t=e.$metadata.httpStatusCode;return 500<=t&&t<=599&&!LE(e)}return!1};function zE(e){return e.code===`ERR_HTTP2_STREAM_ERROR`&&e.message.includes(`NGHTTP2_REFUSED_STREAM`)}var BE=class e{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;enabled=!1;availableTokens=0;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(e){this.beta=e?.beta??.7,this.minCapacity=e?.minCapacity??1,this.minFillRate=e?.minFillRate??.5,this.scaleConstant=e?.scaleConstant??.4,this.smooth=e?.smooth??.8,this.lastThrottleTime=this.getCurrentTimeInSeconds(),this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}async getSendToken(){return this.acquireTokenBucket(1)}updateClientSendingRate(e){let t;this.updateMeasuredRate();let n=e;if(n?.errorType===`THROTTLING`||IE(n?.error??e)){let e=this.enabled?Math.min(this.measuredTxRate,this.fillRate):this.measuredTxRate;this.lastMaxRate=e,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),t=this.cubicThrottle(e),this.enableTokenBucket()}else this.calculateTimeWindow(),t=this.cubicSuccess(this.getCurrentTimeInSeconds());let r=Math.min(t,2*this.measuredTxRate);this.updateTokenBucketRate(r)}getCurrentTimeInSeconds(){return Date.now()/1e3}async acquireTokenBucket(t){if(this.enabled){for(this.refillTokenBucket();t>this.availableTokens;){let n=(t-this.availableTokens)/this.fillRate*1e3;await new Promise(t=>e.setTimeoutFn(t,n)),this.refillTokenBucket()}this.availableTokens-=t}}refillTokenBucket(){let e=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=e;return}let t=(e-this.lastTimestamp)*this.fillRate;this.availableTokens=Math.min(this.maxCapacity,this.availableTokens+t),this.lastTimestamp=e}calculateTimeWindow(){this.timeWindow=this.getPrecise((this.lastMaxRate*(1-this.beta)/this.scaleConstant)**(1/3))}cubicThrottle(e){return this.getPrecise(e*this.beta)}cubicSuccess(e){return this.getPrecise(this.scaleConstant*(e-this.lastThrottleTime-this.timeWindow)**3+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(e){this.refillTokenBucket(),this.fillRate=Math.max(e,this.minFillRate),this.maxCapacity=Math.max(e,this.minCapacity),this.availableTokens=Math.min(this.availableTokens,this.maxCapacity)}updateMeasuredRate(){let e=this.getCurrentTimeInSeconds(),t=Math.floor(e*2)/2;if(this.requestCount++,t>this.lastTxRateBucket){let e=this.requestCount/(t-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(e*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=t}}getPrecise(e){return parseFloat(e.toFixed(8))}},VE=20*1e3,HE=`amz-sdk-invocation-id`,UE=`amz-sdk-request`,WE=class e{static v2026=typeof process<`u`&&{}?.SMITHY_NEW_RETRIES_2026===`true`;static delay(){return e.v2026?50:100}static throttlingDelay(){return e.v2026?1e3:500}static cost(){return e.v2026?14:5}static throttlingCost(){return e.v2026?5:10}static modifiedCostType(){return e.v2026?`THROTTLING`:`TRANSIENT`}},GE=class{x=WE.delay();computeNextBackoffDelay(e){let t=Math.random()*Math.min(this.x*2**e,VE);return Math.floor(t)}setDelayBase(e){this.x=e}},KE=class{delay;count;cost;longPoll;constructor(e,t,n,r){this.delay=e,this.count=t,this.cost=n,this.longPoll=r}getRetryCount(){return this.count}getRetryDelay(){return Math.min(VE,this.delay)}getRetryCost(){return this.cost}isLongPoll(){return this.longPoll}},qE={incompatible:1,attempts:2,capacity:3},JE=class{mode=EE.STANDARD;capacity=500;retryBackoffStrategy;maxAttemptsProvider;baseDelay;constructor(e){typeof e==`number`?this.maxAttemptsProvider=async()=>e:typeof e==`function`?this.maxAttemptsProvider=e:e&&typeof e==`object`&&(this.maxAttemptsProvider=async()=>e.maxAttempts,this.baseDelay=e.baseDelay,this.retryBackoffStrategy=e.backoff),this.maxAttemptsProvider??=async()=>3,this.baseDelay??=WE.delay(),this.retryBackoffStrategy??=new GE}async acquireInitialRetryToken(e){return new KE(WE.delay(),0,void 0,WE.v2026&&e.includes(`:longpoll`))}async refreshRetryTokenForRetry(e,t){let n=await this.getMaxAttempts(),r=this.retryCode(e,t,n),i=r===0,a=e.isLongPoll?.();if(i||a){let n=t.errorType;this.retryBackoffStrategy.setDelayBase(n===`THROTTLING`?WE.throttlingDelay():this.baseDelay);let o=this.retryBackoffStrategy.computeNextBackoffDelay(e.getRetryCount()),s=o;if(t.retryAfterHint instanceof Date&&(s=Math.max(o,Math.min(t.retryAfterHint.getTime()-Date.now(),o+5e3))),i){let t=this.getCapacityCost(n);return this.capacity-=t,new KE(s,e.getRetryCount()+1,t,e.isLongPoll?.()??!1)}else throw Object.assign(Error(`No retry token available`),{$backoff:WE.v2026&&r===qE.capacity&&a?s:0})}throw Error(`No retry token available`)}recordSuccess(e){this.capacity=Math.min(500,this.capacity+(e.getRetryCost()??1))}getCapacity(){return this.capacity}async maxAttempts(){return this.maxAttemptsProvider()}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch{return console.warn(`Max attempts provider could not resolve. Using default of 3`),3}}retryCode(e,t,n){let r=e.getRetryCount()+1,i=this.isRetryableError(t.errorType)?0:qE.incompatible,a=r=this.getCapacityCost(t.errorType)?0:qE.capacity;return i||a||o}getCapacityCost(e){return e===WE.modifiedCostType()?WE.throttlingCost():WE.cost()}isRetryableError(e){return e===`THROTTLING`||e===`TRANSIENT`}},YE=class{mode=EE.ADAPTIVE;rateLimiter;standardRetryStrategy;constructor(e,t){let{rateLimiter:n}=t??{};this.rateLimiter=n??new BE,this.standardRetryStrategy=t?new JE({maxAttempts:typeof e==`number`?e:3,...t}):new JE(e)}async acquireInitialRetryToken(e){let t=await this.standardRetryStrategy.acquireInitialRetryToken(e);return await this.rateLimiter.getSendToken(),t}async refreshRetryTokenForRetry(e,t){this.rateLimiter.updateClientSendingRate(t);let n=await this.standardRetryStrategy.refreshRetryTokenForRetry(e,t);return await this.rateLimiter.getSendToken(),n}recordSuccess(e){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(e)}async maxAttemptsProvider(){return this.standardRetryStrategy.maxAttempts()}};WE.v2026||=typeof process==`object`&&{}?.AWS_NEW_RETRIES_2026===`true`;function XE(e,t,n){e.__aws_sdk_context?e.__aws_sdk_context.features||(e.__aws_sdk_context.features={}):e.__aws_sdk_context={features:{}},e.__aws_sdk_context.features[t]=n}var ZE=/\d{12}\.ddb/;async function QE(e,t,n){if(n.request?.headers?.[`smithy-protocol`]===`rpc-v2-cbor`&&XE(e,`PROTOCOL_RPC_V2_CBOR`,`M`),typeof t.retryStrategy==`function`){let n=await t.retryStrategy();if(typeof n.mode==`string`)switch(n.mode){case EE.ADAPTIVE:XE(e,`RETRY_MODE_ADAPTIVE`,`F`);break;case EE.STANDARD:XE(e,`RETRY_MODE_STANDARD`,`E`);break}}if(typeof t.accountIdEndpointMode==`function`){let n=e.endpointV2;switch(String(n?.url?.hostname).match(ZE)&&XE(e,`ACCOUNT_ID_ENDPOINT`,`O`),await t.accountIdEndpointMode?.()){case`disabled`:XE(e,`ACCOUNT_ID_MODE_DISABLED`,`Q`);break;case`preferred`:XE(e,`ACCOUNT_ID_MODE_PREFERRED`,`P`);break;case`required`:XE(e,`ACCOUNT_ID_MODE_REQUIRED`,`R`);break}}let r=e.__smithy_context?.selectedHttpAuthScheme?.identity;if(r?.$source){let t=r;t.accountId&&XE(e,`RESOLVED_ACCOUNT_ID`,`T`);for(let[n,r]of Object.entries(t.$source??{}))XE(e,n,r)}}var $E=`user-agent`,eD=`x-amz-user-agent`,tD=/[^!$%&'*+\-.^_`|~\w]/g,nD=/[^!$%&'*+\-.^_`|~\w#]/g,rD=1024;function iD(e){let t=``;for(let n in e){let r=e[n];if(t.length+r.length+1<=rD){t.length?t+=`,`+r:t+=r;continue}break}return t}var aD=e=>(t,n)=>async r=>{let{request:i}=r;if(!Kx.isInstance(i))return t(r);let{headers:a}=i,o=n?.userAgent?.map(oD)||[],s=(await e.defaultUserAgentProvider()).map(oD);await QE(n,e,r);let c=n;s.push(`m/${iD(Object.assign({},n.__smithy_context?.features,c.__aws_sdk_context?.features))}`);let l=e?.customUserAgent?.map(oD)||[],u=await e.userAgentAppId();u&&s.push(oD([`app`,`${u}`]));let d=CE(),f=(d?[d]:[]).concat([...s,...o,...l]).join(` `),p=[...s.filter(e=>e.startsWith(`aws-sdk-`)),...l].join(` `);return e.runtime===`browser`?a[eD]=f:(p&&(a[eD]=a[`x-amz-user-agent`]?`${a[$E]} ${p}`:p),a[$E]=f),t({...r,request:i})},oD=e=>{let t=e[0].split(`/`).map(e=>e.replace(tD,`-`)).join(`/`),n=e[1]?.replace(nD,`-`),r=t.indexOf(`/`),i=t.substring(0,r),a=t.substring(r+1);return i===`api`&&(a=a.toLowerCase()),[i,a,n].filter(e=>e&&e.length>0).reduce((e,t,n)=>{switch(n){case 0:return t;case 1:return`${e}/${t}`;default:return`${e}#${t}`}},``)},yre={name:`getUserAgentMiddleware`,step:`build`,priority:`low`,tags:[`SET_USER_AGENT`,`USER_AGENT`],override:!0},sD=e=>({applyToStack:t=>{t.add(aD(e),yre)}}),cD=new Set,bre=(e,t=JT)=>{if(!cD.has(e)&&!t(e))if(e===`*`)console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`);else throw Error(`Region not accepted: region="${e}" is not a valid hostname component.`);else cD.add(e)},lD=e=>typeof e==`string`&&(e.startsWith(`fips-`)||e.endsWith(`-fips`)),xre=e=>lD(e)?[`fips-aws-global`,`aws-fips`].includes(e)?`us-east-1`:e.replace(/fips-(dkr-|prod-)?|-fips/,``):e,uD=e=>{let{region:t,useFipsEndpoint:n}=e;if(!t)throw Error(`Region is missing`);return Object.assign(e,{region:async()=>{let e=xre(typeof t==`function`?await t():t);return bre(e),e},useFipsEndpoint:async()=>lD(typeof t==`string`?t:await t())?!0:typeof n==`function`?n():Promise.resolve(!!n)})},dD=`content-length`;function Sre(e){return t=>async n=>{let r=n.request;if(Kx.isInstance(r)){let{body:t,headers:n}=r;if(t&&Object.keys(n).map(e=>e.toLowerCase()).indexOf(dD)===-1)try{let n=e(t);r.headers={...r.headers,[dD]:String(n)}}catch{}}return t({...n,request:r})}}var Cre={step:`build`,tags:[`SET_CONTENT_LENGTH`,`CONTENT_LENGTH`],name:`contentLengthMiddleware`,override:!0},fD=e=>({applyToStack:t=>{t.add(Sre(e.bodyLengthChecker),Cre)}}),wre=async e=>{let t=e?.Bucket||``;if(typeof e.Bucket==`string`&&(e.Bucket=t.replace(/#/g,`%23`).replace(/\?/g,`%3F`)),kre(t)){if(e.ForcePathStyle===!0)throw Error(`Path-style addressing cannot be used with ARN buckets`)}else (!Ore(t)||t.indexOf(`.`)!==-1&&!String(e.Endpoint).startsWith(`http:`)||t.toLowerCase()!==t||t.length<3)&&(e.ForcePathStyle=!0);return e.DisableMultiRegionAccessPoints&&(e.disableMultiRegionAccessPoints=!0,e.DisableMRAP=!0),e},Tre=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,Ere=/(\d+\.){3}\d+/,Dre=/\.\./,Ore=e=>Tre.test(e)&&!Ere.test(e)&&!Dre.test(e),kre=e=>{let[t,n,r,,,i]=e.split(`:`),a=t===`arn`&&e.split(`:`).length>=6,o=!!(a&&n&&r&&i);if(a&&!o)throw Error(`Invalid ARN: ${e} was an invalid ARN.`);return o},Are=(e,t,n,r=!1)=>{let i=async()=>{let i;return i=r?n.clientContextParams?.[e]??n[e]??n[t]:n[e]??n[t],typeof i==`function`?i():i};return e===`credentialScope`||t===`CredentialScope`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.credentialScope??e?.CredentialScope}:e===`accountId`||t===`AccountId`?async()=>{let e=typeof n.credentials==`function`?await n.credentials():n.credentials;return e?.accountId??e?.AccountId}:e===`endpoint`||t===`endpoint`?async()=>{if(n.isCustomEndpoint===!1)return;let e=await i();if(e&&typeof e==`object`){if(`url`in e)return e.url.href;if(`hostname`in e){let{protocol:t,hostname:n,port:r,path:i}=e;return`${t}//${n}${r?`:`+r:``}${i}`}}return e}:i},pD=async e=>void 0,mD=e=>{if(typeof e==`object`){if(`url`in e){let t=QC(e.url);if(e.headers){t.headers={};for(let[n,r]of Object.entries(e.headers))t.headers[n.toLowerCase()]=r.join(`, `)}return t}return e}return QC(e)},hD=async(e,t,n,r)=>{if(!n.isCustomEndpoint){let e;e=n.serviceConfiguredEndpoint?await n.serviceConfiguredEndpoint():await pD(n.serviceId),e&&(n.endpoint=()=>Promise.resolve(mD(e)),n.isCustomEndpoint=!0)}let i=await gD(e,t,n);if(typeof n.endpointProvider!=`function`)throw Error(`config.endpointProvider is not set.`);let a=n.endpointProvider(i,r);if(n.isCustomEndpoint&&n.endpoint){let e=await n.endpoint();if(e?.headers){a.headers??={};for(let[t,n]of Object.entries(e.headers))a.headers[t]=Array.isArray(n)?n:[n]}}return a},gD=async(e,t,n)=>{let r={},i=t?.getEndpointParameterInstructions?.()||{};for(let[t,a]of Object.entries(i))switch(a.type){case`staticContextParams`:r[t]=a.value;break;case`contextParams`:r[t]=e[a.name];break;case`clientContextParams`:case`builtInParams`:r[t]=await Are(a.name,t,n,a.type!==`builtInParams`)();break;case`operationContextParams`:r[t]=a.get(e);break;default:throw Error(`Unrecognized endpoint parameter instruction: `+JSON.stringify(a))}return Object.keys(i).length===0&&Object.assign(r,n),String(n.serviceId).toLowerCase()===`s3`&&await wre(r),r},jre=({config:e,instructions:t})=>(n,r)=>async i=>{e.isCustomEndpoint&&kT(r,`ENDPOINT_OVERRIDE`,`N`);let a=await hD(i.input,{getEndpointParameterInstructions(){return t}},{...e},r);r.endpointV2=a,r.authSchemes=a.properties?.authSchemes;let o=r.authSchemes?.[0];if(o){r.signing_region=o.signingRegion,r.signing_service=o.signingName;let e=LS(r)?.selectedHttpAuthScheme?.httpAuthOption;e&&(e.signingProperties=Object.assign(e.signingProperties||{},{signing_region:o.signingRegion,signingRegion:o.signingRegion,signing_service:o.signingName,signingName:o.signingName,signingRegionSet:o.signingRegionSet},o.properties))}return n({...i})},Mre={step:`serialize`,tags:[`ENDPOINT_PARAMETERS`,`ENDPOINT_V2`,`ENDPOINT`],name:`endpointV2Middleware`,override:!0,relation:`before`,toMiddleware:{name:`serializerMiddleware`,step:`serialize`,tags:[`SERIALIZER`],override:!0}.name},_D=(e,t)=>({applyToStack:n=>{n.addRelativeTo(jre({config:e,instructions:t}),Mre)}}),vD=e=>{let t=e.tls??!0,{endpoint:n,useDualstackEndpoint:r,useFipsEndpoint:i}=e,a=Object.assign(e,{endpoint:n==null?void 0:async()=>mD(await RS(n)()),tls:t,isCustomEndpoint:!!n,useDualstackEndpoint:RS(r??!1),useFipsEndpoint:RS(i??!1)}),o;return a.serviceConfiguredEndpoint=async()=>(e.serviceId&&!o&&(o=pD(e.serviceId)),o),a},Nre=e=>e instanceof Error?e:e instanceof Object?Object.assign(Error(),e):Error(typeof e==`string`?e:`AWS SDK error wrapper for ${e}`),yD=e=>{let{retryStrategy:t,retryMode:n}=e,r=RS(e.maxAttempts??3),i=t?Promise.resolve(t):void 0,a=async()=>await RS(n)()===EE.ADAPTIVE?new YE(r):new JE(r);return Object.assign(e,{maxAttempts:r,retryStrategy:()=>i??=a()})},bD=(e,t)=>{let n=[];if(e&&n.push(e),t)for(let e of t)n.push(e);return n},xD=(e,t)=>`${e||`anonymous`}${t&&t.length>0?` (a.k.a. ${t.join(`,`)})`:``}`,SD=()=>{let e=[],t=[],n=!1,r=new Set,i=e=>e.sort((e,t)=>CD[t.step]-CD[e.step]||wD[t.priority||`normal`]-wD[e.priority||`normal`]),a=n=>{let i=!1,a=e=>{let t=bD(e.name,e.aliases);if(t.includes(n)){i=!0;for(let e of t)r.delete(e);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},o=n=>{let i=!1,a=e=>{if(e.middleware===n){i=!0;for(let t of bD(e.name,e.aliases))r.delete(t);return!1}return!0};return e=e.filter(a),t=t.filter(a),i},s=n=>(e.forEach(e=>{n.add(e.middleware,{...e})}),t.forEach(e=>{n.addRelativeTo(e.middleware,{...e})}),n.identifyOnResolve?.(u.identifyOnResolve()),n),c=e=>{let t=[];return e.before.forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t.push(e),e.after.reverse().forEach(e=>{e.before.length===0&&e.after.length===0?t.push(e):t.push(...c(e))}),t},l=(n=!1)=>{let r=[],a=[],o={};return e.forEach(e=>{let t={...e,before:[],after:[]};for(let e of bD(t.name,t.aliases))o[e]=t;r.push(t)}),t.forEach(e=>{let t={...e,before:[],after:[]};for(let e of bD(t.name,t.aliases))o[e]=t;a.push(t)}),a.forEach(e=>{if(e.toMiddleware){let t=o[e.toMiddleware];if(t===void 0){if(n)return;throw Error(`${e.toMiddleware} is not found when adding ${xD(e.name,e.aliases)} middleware ${e.relation} ${e.toMiddleware}`)}e.relation===`after`&&t.after.push(e),e.relation===`before`&&t.before.push(e)}}),i(r).map(c).reduce((e,t)=>(e.push(...t),e),[])},u={add:(t,n={})=>{let{name:i,override:a,aliases:o}=n,s={step:`initialize`,priority:`normal`,middleware:t,...n},c=bD(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${xD(i,o)}'`);for(let t of c){let n=e.findIndex(e=>e.name===t||e.aliases?.some(e=>e===t));if(n===-1)continue;let r=e[n];if(r.step!==s.step||s.priority!==r.priority)throw Error(`"${xD(r.name,r.aliases)}" middleware with ${r.priority} priority in ${r.step} step cannot be overridden by "${xD(i,o)}" middleware with ${s.priority} priority in ${s.step} step.`);e.splice(n,1)}}for(let e of c)r.add(e)}e.push(s)},addRelativeTo:(e,n)=>{let{name:i,override:a,aliases:o}=n,s={middleware:e,...n},c=bD(i,o);if(c.length>0){if(c.some(e=>r.has(e))){if(!a)throw Error(`Duplicate middleware name '${xD(i,o)}'`);for(let e of c){let n=t.findIndex(t=>t.name===e||t.aliases?.some(t=>t===e));if(n===-1)continue;let r=t[n];if(r.toMiddleware!==s.toMiddleware||r.relation!==s.relation)throw Error(`"${xD(r.name,r.aliases)}" middleware ${r.relation} "${r.toMiddleware}" middleware cannot be overridden by "${xD(i,o)}" middleware ${s.relation} "${s.toMiddleware}" middleware.`);t.splice(n,1)}}for(let e of c)r.add(e)}t.push(s)},clone:()=>s(SD()),use:e=>{e.applyToStack(u)},remove:e=>typeof e==`string`?a(e):o(e),removeByTag:n=>{let i=!1,a=e=>{let{tags:t,name:a,aliases:o}=e;if(t&&t.includes(n)){let e=bD(a,o);for(let t of e)r.delete(t);return i=!0,!1}return!0};return e=e.filter(a),t=t.filter(a),i},concat:e=>{let t=s(SD());return t.use(e),t.identifyOnResolve(n||t.identifyOnResolve()||(e.identifyOnResolve?.()??!1)),t},applyToStack:s,identify:()=>l(!0).map(e=>{let t=e.step??e.relation+` `+e.toMiddleware;return xD(e.name,e.aliases)+` - `+t}),identifyOnResolve(e){return typeof e==`boolean`&&(n=e),n},resolve:(e,t)=>{for(let n of l().map(e=>e.middleware).reverse())e=n(e,t);return n&&console.log(u.identify()),e}};return u},CD={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},wD={high:3,normal:2,low:1},TD=class{config;middlewareStack=SD();initConfig;handlers;constructor(e){this.config=e;let{protocol:t,protocolSettings:n}=e;n&&typeof t==`function`&&(e.protocol=new t(n))}send(e,t,n){let r=typeof t==`function`?void 0:t,i=typeof t==`function`?t:n,a=r===void 0&&this.config.cacheMiddleware===!0,o;if(a){this.handlers||=new WeakMap;let t=this.handlers;t.has(e.constructor)?o=t.get(e.constructor):(o=e.resolveMiddleware(this.middlewareStack,this.config,r),t.set(e.constructor,o))}else delete this.handlers,o=e.resolveMiddleware(this.middlewareStack,this.config,r);if(i)o(e).then(e=>i(null,e.output),e=>i(e)).catch(()=>{});else return o(e).then(e=>e.output)}destroy(){this.config?.requestHandler?.destroy?.(),delete this.handlers}},ED=`***SensitiveInformation***`;function DD(e,t){if(t==null)return t;let n=lw.of(e);if(n.getMergedTraits().sensitive)return ED;if(n.isListSchema()){if(n.getValueSchema().getMergedTraits().sensitive)return ED}else if(n.isMapSchema()){if(n.getKeySchema().getMergedTraits().sensitive||n.getValueSchema().getMergedTraits().sensitive)return ED}else if(n.isStructSchema()&&typeof t==`object`){let e=t,r={};for(let[t,i]of n.structIterator())e[t]!=null&&(r[t]=DD(i,e[t]));return r}return t}var OD=class{middlewareStack=SD();schema;static classBuilder(){return new Pre}resolveMiddlewareWithContext(e,t,n,{middlewareFn:r,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,smithyContext:c,additionalContext:l,CommandCtor:u}){for(let i of r.bind(this)(u,e,t,n))this.middlewareStack.use(i);let d=e.concat(this.middlewareStack),{logger:f}=t,p={logger:f,clientName:i,commandName:a,inputFilterSensitiveLog:o,outputFilterSensitiveLog:s,[Gx]:{commandInstance:this,...c},...l},{requestHandler:m}=t,h=n??{};return c.eventStream&&(h={isEventStream:!0,...h}),d.resolve(e=>m.handle(e.request,h),p)}},Pre=class{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName=``;_clientName=``;_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=void 0;_outputFilterSensitiveLog=void 0;_serializer=null;_deserializer=null;_operationSchema;init(e){this._init=e}ep(e){return this._ep=e,this}m(e){return this._middlewareFn=e,this}s(e,t,n={}){return this._smithyContext={service:e,operation:t,...n},this}c(e={}){return this._additionalContext=e,this}n(e,t){return this._clientName=e,this._commandName=t,this}f(e=e=>e,t=e=>e){return this._inputFilterSensitiveLog=e,this._outputFilterSensitiveLog=t,this}ser(e){return this._serializer=e,this}de(e){return this._deserializer=e,this}sc(e){return this._operationSchema=e,this._smithyContext.operationSchema=e,this}build(){let e=this,t;return t=class extends OD{input;static getEndpointParameterInstructions(){return e._ep}constructor(...[t]){super(),this.input=t??{},e._init(this),this.schema=e._operationSchema}resolveMiddleware(n,r,i){let a=e._operationSchema,o=a?.[4]??a?.input,s=a?.[5]??a?.output;return this.resolveMiddlewareWithContext(n,r,i,{CommandCtor:t,middlewareFn:e._middlewareFn,clientName:e._clientName,commandName:e._commandName,inputFilterSensitiveLog:e._inputFilterSensitiveLog??(a?DD.bind(null,o):e=>e),outputFilterSensitiveLog:e._outputFilterSensitiveLog??(a?DD.bind(null,s):e=>e),smithyContext:e._smithyContext,additionalContext:e._additionalContext})}serialize=e._serializer;deserialize=e._deserializer}}},kD=class e extends Error{$fault;$response;$retryable;$metadata;constructor(e){super(e.message),Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype),this.name=e.name,this.$fault=e.$fault,this.$metadata=e.$metadata}static isInstance(t){if(!t)return!1;let n=t;return e.prototype.isPrototypeOf(n)||!!n.$fault&&!!n.$metadata&&(n.$fault===`client`||n.$fault===`server`)}static[Symbol.hasInstance](t){if(!t)return!1;let n=t;return this===e?e.isInstance(t):e.isInstance(t)?n.name&&this.name?this.prototype.isPrototypeOf(t)||n.name===this.name:this.prototype.isPrototypeOf(t):!1}},AD=(e,t={})=>(Object.entries(t).filter(([,e])=>e!==void 0).forEach(([t,n])=>{(e[t]==null||e[t]===``)&&(e[t]=n)}),e.message=e.message||e.Message||`UnknownError`,delete e.Message,e),jD=e=>{switch(e){case`standard`:return{retryMode:`standard`,connectionTimeout:3100};case`in-region`:return{retryMode:`standard`,connectionTimeout:1100};case`cross-region`:return{retryMode:`standard`,connectionTimeout:3100};case`mobile`:return{retryMode:`standard`,connectionTimeout:3e4};default:return{}}},MD=Object.values(Wx),Fre=e=>{let t=[];for(let n in Wx){let r=Wx[n];e[r]!==void 0&&t.push({algorithmId:()=>r,checksumConstructor:()=>e[r]})}for(let[n,r]of Object.entries(e.checksumAlgorithms??{}))t.push({algorithmId:()=>n,checksumConstructor:()=>r});return{addChecksumAlgorithm(n){e.checksumAlgorithms=e.checksumAlgorithms??{};let r=n.algorithmId(),i=n.checksumConstructor();MD.includes(r)?e.checksumAlgorithms[r.toUpperCase()]=i:e.checksumAlgorithms[r]=i,t.push(n)},checksumAlgorithms(){return t}}},Ire=e=>{let t={};return e.checksumAlgorithms().forEach(e=>{let n=e.algorithmId();MD.includes(n)&&(t[n]=e.checksumConstructor())}),t},Lre=e=>({setRetryStrategy(t){e.retryStrategy=t},retryStrategy(){return e.retryStrategy}}),Rre=e=>{let t={};return t.retryStrategy=e.retryStrategy(),t},ND=e=>Object.assign(Fre(e),Lre(e)),PD=e=>Object.assign(Ire(e),Rre(e)),FD=e=>{let t=`#text`;for(let n in e)e.hasOwnProperty(n)&&e[n][t]!==void 0?e[n]=e[n][t]:typeof e[n]==`object`&&e[n]!==null&&(e[n]=FD(e[n]));return e},ID=class{trace(){}debug(){}info(){}warn(){}error(){}},zre=e=>e?.body instanceof ReadableStream;function Bre(e,t){if(Jx.isInstance(e))for(let n of Object.keys(e.headers)){let r=n.toLowerCase();if(r===`retry-after`){let r=e.headers[n],i=NaN;if(r.endsWith(`GMT`))try{i=(Fw(r).getTime()-Date.now())/1e3}catch(e){t?.trace?.(`Failed to parse retry-after header`),t?.trace?.(e)}else r.match(/ GMT, ((\d+)|(\d+\.\d+))$/)?i=Number(r.match(/ GMT, ([\d.]+)$/)?.[1]):r.match(/^((\d+)|(\d+\.\d+))$/)?i=Number(r):Date.parse(r)>=Date.now()&&(i=(Date.parse(r)-Date.now())/1e3);return isNaN(i)?void 0:new Date(Date.now()+i*1e3)}else if(r===`x-amz-retry-after`){let r=e.headers[n],i=Number(r);if(isNaN(i)){t?.trace?.(`Failed to parse x-amz-retry-after=${r}`);return}return new Date(Date.now()+i)}}}var Vre=e=>(t,n)=>async r=>{let i=await e.retryStrategy(),a=await e.maxAttempts();if(Hre(i)){i=i;let o=await i.acquireInitialRetryToken((n.partition_id??``)+(n.__retryLongPoll?`:longpoll`:``)),s=Error(),c=0,l=0,{request:u}=r,d=Kx.isInstance(u);for(d&&(u.headers[HE]=Yw());;)try{d&&(u.headers[UE]=`attempt=${c+1}; max=${a}`);let{response:e,output:n}=await t(r);return i.recordSuccess(o),n.$metadata.attempts=c+1,n.$metadata.totalRetryDelay=l,{response:e,output:n}}catch(t){let r=Ure(t,e.logger);if(s=Nre(t),d&&zre(u))throw(n.logger instanceof ID?console:n.logger)?.warn(`An error was encountered in a non-retryable streaming request.`),s;try{o=await i.refreshRetryTokenForRetry(o,r)}catch(e){throw typeof e.$backoff==`number`&&await LD(e.$backoff),s.$metadata||={},s.$metadata.attempts=c+1,s.$metadata.totalRetryDelay=l,s}c=o.getRetryCount();let a=o.getRetryDelay();l+=a,await LD(a)}}else return i=i,i?.mode&&(n.userAgent=[...n.userAgent||[],[`cfg/retry-mode`,i.mode]]),i.retry(t,r)},LD=e=>new Promise(t=>setTimeout(t,e)),Hre=e=>e.acquireInitialRetryToken!==void 0&&e.refreshRetryTokenForRetry!==void 0&&e.recordSuccess!==void 0,Ure=(e,t)=>{let n={error:e,errorType:Wre(e)},r=Bre(e.$response,t);return r&&(n.retryAfterHint=r),n},Wre=e=>IE(e)?`THROTTLING`:LE(e)?`TRANSIENT`:RE(e)?`SERVER_ERROR`:`CLIENT_ERROR`,Gre={name:`retryMiddleware`,tags:[`RETRY`],step:`finalizeRequest`,priority:`high`,override:!0},RD=e=>({applyToStack:t=>{t.add(Vre(e),Gre)}}),zD=e=>Jx.isInstance(e)?e.headers?.date??e.headers?.Date:void 0,BD=e=>new Date(Date.now()+e),Kre=(e,t)=>Math.abs(BD(t).getTime()-e)>=3e5,VD=(e,t)=>{let n=Date.parse(e);return Kre(n,t)?n-Date.now():t},HD=(e,t)=>{if(!t)throw Error(`Property \`${e}\` is not resolved for AWS SDK SigV4Auth`);return t},UD=async e=>{let t=HD(`context`,e.context),n=HD(`config`,e.config),r=t.endpointV2?.properties?.authSchemes?.[0];return{config:n,signer:await HD(`signer`,n.signer)(r),signingRegion:e?.signingRegion,signingRegionSet:e?.signingRegionSet,signingName:e?.signingName}},WD=class{async sign(e,t,n){if(!Kx.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let r=await UD(n),{config:i,signer:a}=r,{signingRegion:o,signingName:s}=r,c=n.context;if(c?.authSchemes?.length??!1){let[e,t]=c.authSchemes;e?.name===`sigv4a`&&t?.name===`sigv4`&&(o=t?.signingRegion??o,s=t?.signingName??s)}return await a.sign(e,{signingDate:BD(i.systemClockOffset),signingRegion:o,signingService:s})}errorHandler(e){return t=>{let n=t.ServerTime??zD(t.$response);if(n){let r=HD(`config`,e.config),i=r.systemClockOffset;r.systemClockOffset=VD(n,r.systemClockOffset),r.systemClockOffset!==i&&t.$metadata&&(t.$metadata.clockSkewCorrected=!0)}throw t}}successHandler(e,t){let n=zD(e);if(n){let e=HD(`config`,t.config);e.systemClockOffset=VD(n,e.systemClockOffset)}}},qre=class extends WD{async sign(e,t,n){if(!Kx.isInstance(e))throw Error("The request is not an instance of `HttpRequest` and cannot be signed");let{config:r,signer:i,signingRegion:a,signingRegionSet:o,signingName:s}=await UD(n),c=(await r.sigv4aSigningRegionSet?.()??o??[a]).join(`,`);return await i.sign(e,{signingDate:BD(r.systemClockOffset),signingRegion:c,signingService:s})}},Jre=(e,t,n)=>{let r,i,a,o=!1,s=async()=>{i||=e();try{r=await i,a=!0,o=!1}finally{i=void 0}return r};return t===void 0?async e=>((!a||e?.forceRefresh)&&(r=await s()),r):async e=>((!a||e?.forceRefresh)&&(r=await s()),o?r:n&&!n(r)?(o=!0,r):(t(r)&&await s(),r))},Yre=e=>(e.sigv4aSigningRegionSet=CC(e.sigv4aSigningRegionSet),e),GD=e=>{let t=e.credentials,n=!!e.credentials,r;Object.defineProperty(e,`credentials`,{set(i){i&&i!==t&&i!==r&&(n=!0),t=i;let a=Zre(e,Xre(e,{credentials:t,credentialDefaultProvider:e.credentialDefaultProvider}));if(n&&!a.attributed){let e=typeof t==`object`&&!!t;r=async t=>{let n=await a(t);return e&&(!n.$source||Object.keys(n.$source).length===0)?TE(n,`CREDENTIALS_CODE`,`e`):n},r.memoized=a.memoized,r.configBound=a.configBound,r.attributed=!0}else r=a},get(){return r},enumerable:!0,configurable:!0}),e.credentials=t;let{signingEscapePath:i=!0,systemClockOffset:a=e.systemClockOffset||0,sha256:o}=e,s;return s=e.signer?CC(e.signer):e.regionInfoProvider?()=>CC(e.region)().then(async t=>[await e.regionInfoProvider(t,{useFipsEndpoint:await e.useFipsEndpoint(),useDualstackEndpoint:await e.useDualstackEndpoint()})||{},t]).then(([t,n])=>{let{signingRegion:r,signingService:a}=t;e.signingRegion=e.signingRegion||r||n,e.signingName=e.signingName||a||e.serviceId;let s={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||GS)(s)}):async t=>{t=Object.assign({},{name:`sigv4`,signingName:e.signingName||e.defaultSigningName,signingRegion:await CC(e.region)(),properties:{}},t);let n=t.signingRegion,r=t.signingName;e.signingRegion=e.signingRegion||n,e.signingName=e.signingName||r||e.serviceId;let a={...e,credentials:e.credentials,region:e.signingRegion,service:e.signingName,sha256:o,uriEscapePath:i};return new(e.signerConstructor||GS)(a)},Object.assign(e,{systemClockOffset:a,signingEscapePath:i,signer:s})};function Xre(e,{credentials:t,credentialDefaultProvider:n}){let r;return r=t?t?.memoized?t:NT(t,jT,MT):n?CC(n(Object.assign({},e,{parentClientConfig:e}))):async()=>{throw Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")},r.memoized=!0,r}function Zre(e,t){if(t.configBound)return t;let n=async n=>t({...n,callerClientConfig:e});return n.memoized=t.memoized,n.configBound=!0,n}var Qre=async(e,t,n)=>({operation:LS(t).operation,region:await RS(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function $re(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`ec2`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var eie=e=>{let t=[];switch(e.operation){default:t.push($re(e))}return t},tie=e=>{let t=GD(e);return Object.assign(t,{authSchemePreference:RS(e.authSchemePreference??[])})},nie=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`ec2`}),KD={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},rie={name:`@aws-sdk/client-ec2`,description:`AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native`,version:`3.1045.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-ec2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo ec2`,test:`yarn g:vitest run --passWithNoTests`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.8`,"@aws-sdk/credential-provider-node":`^3.972.39`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-sdk-ec2":`^3.972.22`,"@aws-sdk/middleware-user-agent":`^3.972.38`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.24`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.7`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.6`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.3.0`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.8`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-ec2`}},qD=({serviceId:e,clientVersion:t})=>async n=>{let r=typeof window<`u`?window.navigator:void 0,i=r?.userAgent??``,a=r?.userAgentData?.platform??JD.os(i)??`other`,o=r?.userAgentData?.brands??[],s=o[o.length-1],c=s?.brand??JD.browser(i)??`unknown`,l=s?.version??`unknown`,u=[[`aws-sdk-js`,t],[`ua`,`2.1`],[`os/${a}`,void 0],[`lang/js`],[`md/browser`,`${c}_${l}`]];e&&u.push([`api/${e}`,t]);let d=await n?.userAgentAppId?.();return d&&u.push([`app/${d}`]),u},JD={os(e){if(/iPhone|iPad|iPod/.test(e))return`iOS`;if(/Macintosh|Mac OS X/.test(e))return`macOS`;if(/Windows NT/.test(e))return`Windows`;if(/Android/.test(e))return`Android`;if(/Linux/.test(e))return`Linux`},browser(e){if(/EdgiOS|EdgA|Edg\//.test(e))return`Microsoft Edge`;if(/Firefox\//.test(e))return`Firefox`;if(/Chrome\//.test(e))return`Chrome`;if(/Safari\//.test(e))return`Safari`}},YD=e=>()=>Promise.reject(e),XD=typeof TextEncoder==`function`?new TextEncoder:null,ZD=e=>{if(typeof e==`string`){if(XD)return XD.encode(e).byteLength;let t=e.length;for(let n=t-1;n>=0;n--){let r=e.charCodeAt(n);r>127&&r<=2047?t++:r>2047&&r<=65535&&(t+=2),r>=56320&&r<=57343&&n--}return t}else if(typeof e.byteLength==`number`)return e.byteLength;else if(typeof e.size==`number`)return e.size;throw Error(`Body Length computation failed for ${e}`)},iie=[`in-region`,`cross-region`,`mobile`,`standard`,`legacy`],QD=({defaultsMode:e}={})=>Jre(async()=>{let t=typeof e==`function`?await e():e;switch(t?.toLowerCase()){case`auto`:return Promise.resolve(aie()?`mobile`:`standard`);case`mobile`:case`in-region`:case`cross-region`:case`standard`:case`legacy`:return Promise.resolve(t?.toLocaleLowerCase());case void 0:return Promise.resolve(`legacy`);default:throw Error(`Invalid parameter for "defaultsMode", expect ${iie.join(`, `)}, got ${t}`)}}),aie=()=>{let e=window?.navigator;if(e?.connection){let{effectiveType:t,rtt:n,downlink:r}=e?.connection;if(typeof t==`string`&&t!==`4g`||Number(n)>100||Number(r)<10)return!0}return e?.userAgentData?.mobile||typeof e?.maxTouchPoints==`number`&&e?.maxTouchPoints>1},$D=class{queryCompat;errorRegistry;constructor(e=!1){this.queryCompat=e}resolveRestContentType(e,t){let n=t.getMemberSchemas(),r=Object.values(n).find(e=>!!e.getMergedTraits().httpPayload);if(r)return r.getMergedTraits().mediaType||(r.isStringSchema()?`text/plain`:r.isBlobSchema()?`application/octet-stream`:e);if(!t.isUnitSchema()&&Object.values(n).find(e=>{let{httpQuery:t,httpQueryParams:n,httpHeader:r,httpLabel:i,httpPrefixHeaders:a}=e.getMergedTraits();return!t&&!n&&!r&&!i&&a===void 0}))return e}async getErrorSchemaOrThrowBaseException(e,t,n,r,i,a){let o=e;e.includes(`#`)&&([,o]=e.split(`#`));let s={$metadata:i,$fault:n.statusCode<500?`client`:`server`};if(!this.errorRegistry)throw Error(`@aws-sdk/core/protocols - error handler not initialized.`);try{return{errorSchema:a?.(this.errorRegistry,o)??this.errorRegistry.getSchema(e),errorMetadata:s}}catch{r.message=r.message??r.Message??`UnknownError`;let e=this.errorRegistry,t=e.getBaseException();if(t){let n=e.getErrorCtor(t)??Error;throw this.decorateServiceException(Object.assign(new n({name:o}),s),r)}let n=r,i=n?.message??n?.Message??n?.Error?.Message??n?.Error?.message;throw this.decorateServiceException(Object.assign(Error(i),{name:o},s),r)}}compose(e,t,n){let r=n;t.includes(`#`)&&([r]=t.split(`#`));let i=pw.for(r),a=pw.for(`smithy.ts.sdk.synthetic.`+n);e.copyFrom(i),e.copyFrom(a),this.errorRegistry=e}decorateServiceException(e,t={}){if(this.queryCompat){let n=e.Message??t.Message,r=AD(e,t);n&&(r.message=n);let i=r.Error??{};i.Type=r.Error?.Type,i.Code=r.Error?.Code,i.Message=r.Error?.message??r.Error?.Message??n,r.Error=i;let a=r.$metadata.requestId;return a&&(r.RequestId=a),r}return AD(e,t)}setQueryCompatError(e,t){let n=t.headers?.[`x-amzn-query-error`];if(e!==void 0&&n!=null){let[t,r]=n.split(`;`),i=Object.keys(e),a={Code:t,Type:r};e.Code=t,e.Type=r;for(let t=0;tlw.of(e).getMergedTraits().awsQueryError?.[0]===t)}}},eO=class{serdeContext;setSerdeContext(e){this.serdeContext=e}},oie=class{from;to;keys;constructor(e,t){this.from=e,this.to=t;let n=Object.keys(this.from),r=new Set(n);r.delete(`__type`),this.keys=r}mark(e){this.keys.delete(e)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){let e=this.keys.values().next().value,t=this.from[e];this.to.$unknown=[e,t]}}},sie=/[&<>"]/g,cie={"&":`&`,"<":`<`,">":`>`,'"':`"`};function lie(e){return e.replace(sie,e=>cie[e])}var uie=/[&"'<>\r\n\u0085\u2028]/g,die={"&":`&`,'"':`"`,"'":`'`,"<":`<`,">":`>`,"\r":` `,"\n":` `,"…":`…`,"\u2028":`
`};function fie(e){return e.replace(uie,e=>die[e])}var tO=class{value;constructor(e){this.value=e}toString(){return fie(``+this.value)}},nO=class e{name;children;attributes={};static of(t,n,r){let i=new e(t);return n!==void 0&&i.addChildNode(new tO(n)),r!==void 0&&i.withName(r),i}constructor(e,t=[]){this.name=e,this.children=t}withName(e){return this.name=e,this}addAttribute(e,t){return this.attributes[e]=t,this}addChildNode(e){return this.children.push(e),this}removeAttribute(e){return delete this.attributes[e],this}n(e){return this.name=e,this}c(e){return this.children.push(e),this}a(e,t){return t!=null&&(this.attributes[e]=t),this}cc(t,n,r=n){if(t[n]!=null){let i=e.of(n,t[n]).withName(r);this.c(i)}}l(e,t,n,r){e[t]!=null&&r().map(e=>{e.withName(n),this.c(e)})}lc(t,n,r,i){if(t[n]!=null){let t=i(),n=new e(r);t.map(e=>{n.c(e)}),this.c(n)}}toString(){let e=!!this.children.length,t=`<${this.name}`,n=this.attributes;for(let e of Object.keys(n)){let r=n[e];r!=null&&(t+=` ${e}="${lie(``+r)}"`)}return t+=e?`>${this.children.map(e=>e.toString()).join(``)}`:`/>`}},rO;function pie(e){rO||=new DOMParser;let t=rO.parseFromString(e,`application/xml`);if(t.getElementsByTagName(`parsererror`).length>0)throw Error(`DOMParser XML parsing error.`);let n=e=>{if(e.nodeType===Node.TEXT_NODE&&e.textContent?.trim())return e.textContent;if(e.nodeType===Node.ELEMENT_NODE){let t=e;if(t.attributes.length===0&&t.childNodes.length===0)return``;let r={},i=Array.from(t.attributes);for(let e of i)r[`${e.name}`]=e.value;let a=Array.from(t.childNodes);for(let e of a){let o=n(e);if(o!=null){let t=e.nodeName;if(a.length===1&&i.length===0&&t===`#text`)return o;r[t]?Array.isArray(r[t])?r[t].push(o):r[t]=[r[t],o]:r[t]=o}else if(a.length===1&&i.length===0)return t.textContent}return r}return null};return{[t.documentElement.nodeName]:n(t.documentElement)}}var iO=class extends eO{settings;stringDeserializer;constructor(e){super(),this.settings=e,this.stringDeserializer=new TT(e)}setSerdeContext(e){this.serdeContext=e,this.stringDeserializer.setSerdeContext(e)}read(e,t,n){let r=lw.of(e),i=r.getMemberSchemas();if(r.isStructSchema()&&r.isMemberSchema()&&Object.values(i).find(e=>!!e.getMemberTraits().eventPayload)){let e={},n=Object.keys(i)[0];return i[n].isBlobSchema()?e[n]=t:e[n]=this.read(i[n],t),e}let a=(this.serdeContext?.utf8Encoder??tS)(t),o=this.parseXml(a);return this.readSchema(e,n?o[n]:o)}readSchema(e,t){let n=lw.of(e);if(n.isUnitSchema())return;let r=n.getMergedTraits();if(n.isListSchema()&&!Array.isArray(t))return this.readSchema(n,[t]);if(t==null)return t;if(typeof t==`object`){let e=!!r.xmlFlattened;if(n.isListSchema()){let r=n.getValueSchema(),i=[],a=r.getMergedTraits().xmlName??`member`,o=e?t:(t[0]??t)[a];if(o==null)return i;let s=Array.isArray(o)?o:[o];for(let e of s)i.push(this.readSchema(r,e));return i}let i={};if(n.isMapSchema()){let r=n.getKeySchema(),a=n.getValueSchema(),o;o=e?Array.isArray(t)?t:[t]:Array.isArray(t.entry)?t.entry:[t.entry];let s=r.getMergedTraits().xmlName??`key`,c=a.getMergedTraits().xmlName??`value`;for(let e of o){let t=e[s],n=e[c];i[t]=this.readSchema(a,n)}return i}if(n.isStructSchema()){let e=n.isUnionSchema(),r;e&&(r=new oie(t,i));for(let[a,o]of n.structIterator()){let n=o.getMergedTraits(),s=n.httpPayload?n.xmlName??o.getName():o.getMemberTraits().xmlName??a;e&&r.mark(s),t[s]!=null&&(i[a]=this.readSchema(o,t[s]))}return e&&r.writeUnknown(),i}if(n.isDocumentSchema())return t;throw Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${n.getName(!0)}`)}return n.isListSchema()?[]:n.isMapSchema()||n.isStructSchema()?{}:this.stringDeserializer.read(n,t)}parseXml(e){if(e.length){let t;try{t=pie(e)}catch(t){throw t&&typeof t==`object`&&Object.defineProperty(t,`$responseBodyText`,{value:e}),t}let n=`#text`,r=Object.keys(t)[0],i=t[r];return i[n]&&(i[r]=i[n],delete i[n]),FD(i)}return{}}},mie=class extends eO{settings;buffer;constructor(e){super(),this.settings=e}write(e,t,n=``){this.buffer===void 0&&(this.buffer=``);let r=lw.of(e);if(n&&!n.endsWith(`.`)&&(n+=`.`),r.isBlobSchema())(typeof t==`string`||t instanceof Uint8Array)&&(this.writeKey(n),this.writeValue((this.serdeContext?.base64Encoder??OC)(t)));else if(r.isBooleanSchema()||r.isNumericSchema()||r.isStringSchema())t==null?r.isIdempotencyToken()&&(this.writeKey(n),this.writeValue(Yw())):(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigIntegerSchema())t!=null&&(this.writeKey(n),this.writeValue(String(t)));else if(r.isBigDecimalSchema())t!=null&&(this.writeKey(n),this.writeValue(t instanceof hT?t.string:String(t)));else if(r.isTimestampSchema()){if(t instanceof Date)switch(this.writeKey(n),wT(r,this.settings)){case 5:this.writeValue(t.toISOString().replace(`.000Z`,`Z`));break;case 6:this.writeValue(jw(t));break;case 7:this.writeValue(String(t.getTime()/1e3));break}}else if(r.isDocumentSchema())Array.isArray(t)?this.write(79,t,n):t instanceof Date?this.write(4,t,n):t instanceof Uint8Array?this.write(21,t,n):t&&typeof t==`object`?this.write(143,t,n):(this.writeKey(n),this.writeValue(String(t)));else if(r.isListSchema()){if(Array.isArray(t))if(t.length===0)this.settings.serializeEmptyLists&&(this.writeKey(n),this.writeValue(``));else{let e=r.getValueSchema(),i=this.settings.flattenLists||r.getMergedTraits().xmlFlattened,a=1;for(let r of t){if(r==null)continue;let t=e.getMergedTraits(),o=this.getKey(`member`,t.xmlName,t.ec2QueryName),s=i?`${n}${a}`:`${n}${o}.${a}`;this.write(e,r,s),++a}}}else if(r.isMapSchema()){if(t&&typeof t==`object`){let e=r.getKeySchema(),i=r.getValueSchema(),a=r.getMergedTraits().xmlFlattened,o=1;for(let r in t){let s=t[r];if(s==null)continue;let c=e.getMergedTraits(),l=this.getKey(`key`,c.xmlName,c.ec2QueryName),u=a?`${n}${o}.${l}`:`${n}entry.${o}.${l}`,d=i.getMergedTraits(),f=this.getKey(`value`,d.xmlName,d.ec2QueryName),p=a?`${n}${o}.${f}`:`${n}entry.${o}.${f}`;this.write(e,r,u),this.write(i,s,p),++o}}}else if(r.isStructSchema()){if(t&&typeof t==`object`){let e=!1;for(let[i,a]of r.structIterator()){if(t[i]==null&&!a.isIdempotencyToken())continue;let r=a.getMergedTraits(),o=this.getKey(i,r.xmlName,r.ec2QueryName,`struct`),s=`${n}${o}`;this.write(a,t[i],s),e=!0}if(!e&&r.isUnionSchema()){let{$unknown:e}=t;if(Array.isArray(e)){let[t,r]=e,i=`${n}${t}`;this.write(15,r,i)}}}}else if(!r.isUnitSchema())throw Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${r.getName(!0)}`)}flush(){if(this.buffer===void 0)throw Error(`@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.`);let e=this.buffer;return delete this.buffer,e}getKey(e,t,n,r){let{ec2:i,capitalizeKeys:a}=this.settings;if(i&&n)return n;let o=t??e;return a&&r===`struct`?o[0].toUpperCase()+o.slice(1):o}writeKey(e){e.endsWith(`.`)&&(e=e.slice(0,e.length-1)),this.buffer+=`&${KC(e)}=`}writeValue(e){this.buffer+=KC(e)}},aO=class extends CT{options;serializer;deserializer;mixin=new $D;constructor(e){super({defaultNamespace:e.defaultNamespace,errorTypeRegistries:e.errorTypeRegistries}),this.options=e;let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!1,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace,serializeEmptyLists:!0};this.serializer=new mie(t),this.deserializer=new iO(t)}getShapeId(){return`aws.protocols#awsQuery`}setSerdeContext(e){this.serializer.setSerdeContext(e),this.deserializer.setSerdeContext(e)}getPayloadCodec(){throw Error(`AWSQuery protocol has no payload codec.`)}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n);return r.path.endsWith(`/`)||(r.path+=`/`),r.headers[`content-type`]=`application/x-www-form-urlencoded`,(qC(e.input)===`unit`||!r.body)&&(r.body=``),r.body=`Action=${e.name.split(`#`)[1]??e.name}&Version=${this.options.version}`+r.body,r.body.endsWith(`&`)&&(r.body=r.body.slice(-1)),r}async deserializeResponse(e,t,n){let r=this.deserializer,i=lw.of(e.output),a={};if(n.statusCode>=300){let i=await GC(n.body,t);i.byteLength>0&&Object.assign(a,await r.read(15,i)),await this.handleError(e,t,n,a,this.deserializeMetadata(n))}for(let e in n.headers){let t=n.headers[e];delete n.headers[e],n.headers[e.toLowerCase()]=t}let o=e.name.split(`#`)[1]??e.name,s=i.isStructSchema()&&this.useNestedResult()?o+`Result`:void 0,c=await GC(n.body,t);return c.byteLength>0&&Object.assign(a,await r.read(i,c,s)),a.$metadata=this.deserializeMetadata(n),a}useNestedResult(){return!0}async handleError(e,t,n,r,i){let a=this.loadQueryErrorCode(n,r)??`Unknown`;this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace);let o=this.loadQueryError(r)??{},s=this.loadQueryErrorMessage(r);o.message=s,o.Error={Type:o.Type,Code:o.Code,Message:s};let{errorSchema:c,errorMetadata:l}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,o,i,this.mixin.findQueryCompatibleError),u=lw.of(c),d=new((this.compositeErrorRegistry.getErrorCtor(c))??Error)(s),f={Type:o.Error.Type,Code:o.Error.Code,Error:o.Error};for(let[e,t]of u.structIterator()){let n=t.getMergedTraits().xmlName??e,i=o[n]??r[n];f[e]=this.deserializer.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(d,l,{$fault:u.getMergedTraits().error,message:s},f),r)}loadQueryErrorCode(e,t){let n=(t.Errors?.[0]?.Error??t.Errors?.Error??t.Error)?.Code;if(n!==void 0)return n;if(e.statusCode==404)return`NotFound`}loadQueryError(e){return e.Errors?.[0]?.Error??e.Errors?.Error??e.Error}loadQueryErrorMessage(e){let t=this.loadQueryError(e);return t?.message??t?.Message??e.message??e.Message??`Unknown`}getDefaultContentType(){return`application/x-www-form-urlencoded`}},hie=class extends aO{options;constructor(e){super(e),this.options=e,Object.assign(this.serializer.settings,{capitalizeKeys:!0,flattenLists:!0,serializeEmptyLists:!1,ec2:!0})}getShapeId(){return`aws.protocols#ec2Query`}useNestedResult(){return!1}},gie=(e,t)=>{if(t?.Error?.Code!==void 0)return t.Error.Code;if(t?.Code!==void 0)return t.Code;if(e.statusCode==404)return`NotFound`},_ie=class extends eO{settings;stringBuffer;byteBuffer;buffer;constructor(e){super(),this.settings=e}write(e,t){let n=lw.of(e);if(n.isStringSchema()&&typeof t==`string`)this.stringBuffer=t;else if(n.isBlobSchema())this.byteBuffer=`byteLength`in t?t:(this.serdeContext?.base64Decoder??DC)(t);else{this.buffer=this.writeStruct(n,t,void 0);let e=n.getMergedTraits();e.httpPayload&&!e.xmlName&&this.buffer.withName(n.getName())}}flush(){if(this.byteBuffer!==void 0){let e=this.byteBuffer;return delete this.byteBuffer,e}if(this.stringBuffer!==void 0){let e=this.stringBuffer;return delete this.stringBuffer,e}let e=this.buffer;return this.settings.xmlNamespace&&(e?.attributes?.xmlns||e.addAttribute(`xmlns`,this.settings.xmlNamespace)),delete this.buffer,e.toString()}writeStruct(e,t,n){let r=e.getMergedTraits(),i=e.isMemberSchema()&&!r.httpPayload?e.getMemberTraits().xmlName??e.getMemberName():r.xmlName??e.getName();if(!i||!e.isStructSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${e.getName(!0)}.`);let a=nO.of(i),[o,s]=this.getXmlnsAttribute(e,n);for(let[n,r]of e.structIterator()){let e=t[n];if(e!=null||r.isIdempotencyToken()){if(r.getMergedTraits().xmlAttribute){a.addAttribute(r.getMergedTraits().xmlName??n,this.writeSimple(r,e));continue}if(r.isListSchema())this.writeList(r,e,a,s);else if(r.isMapSchema())this.writeMap(r,e,a,s);else if(r.isStructSchema())a.addChildNode(this.writeStruct(r,e,s));else{let t=nO.of(r.getMergedTraits().xmlName??r.getMemberName());this.writeSimpleInto(r,e,t,s),a.addChildNode(t)}}}let{$unknown:c}=t;if(c&&e.isUnionSchema()&&Array.isArray(c)&&Object.keys(t).length===1){let[e,n]=c,r=nO.of(e);if(typeof n!=`string`)if(t instanceof nO||t instanceof tO)a.addChildNode(t);else throw Error(`@aws-sdk - $unknown union member in XML requires value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);this.writeSimpleInto(0,n,r,s),a.addChildNode(r)}return s&&a.addAttribute(o,s),a}writeList(e,t,n,r){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${e.getName(!0)}`);let i=e.getMergedTraits(),a=e.getValueSchema(),o=a.getMergedTraits(),s=!!o.sparse,c=!!i.xmlFlattened,[l,u]=this.getXmlnsAttribute(e,r),d=(t,n)=>{if(a.isListSchema())this.writeList(a,Array.isArray(n)?n:[n],t,u);else if(a.isMapSchema())this.writeMap(a,n,t,u);else if(a.isStructSchema()){let r=this.writeStruct(a,n,u);t.addChildNode(r.withName(c?i.xmlName??e.getMemberName():o.xmlName??`member`))}else{let r=nO.of(c?i.xmlName??e.getMemberName():o.xmlName??`member`);this.writeSimpleInto(a,n,r,u),t.addChildNode(r)}};if(c)for(let e of t)(s||e!=null)&&d(n,e);else{let r=nO.of(i.xmlName??e.getMemberName());u&&r.addAttribute(l,u);for(let e of t)(s||e!=null)&&d(r,e);n.addChildNode(r)}}writeMap(e,t,n,r,i=!1){if(!e.isMemberSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${e.getName(!0)}`);let a=e.getMergedTraits(),o=e.getKeySchema(),s=o.getMergedTraits().xmlName??`key`,c=e.getValueSchema(),l=c.getMergedTraits(),u=l.xmlName??`value`,d=!!l.sparse,f=!!a.xmlFlattened,[p,m]=this.getXmlnsAttribute(e,r),h=(e,t,n)=>{let r=nO.of(s,t),[i,a]=this.getXmlnsAttribute(o,m);a&&r.addAttribute(i,a),e.addChildNode(r);let l=nO.of(u);c.isListSchema()?this.writeList(c,n,l,m):c.isMapSchema()?this.writeMap(c,n,l,m,!0):c.isStructSchema()?l=this.writeStruct(c,n,m):this.writeSimpleInto(c,n,l,m),e.addChildNode(l)};if(f)for(let r in t){let i=t[r];if(d||i!=null){let t=nO.of(a.xmlName??e.getMemberName());h(t,r,i),n.addChildNode(t)}}else{let r;i||(r=nO.of(a.xmlName??e.getMemberName()),m&&r.addAttribute(p,m),n.addChildNode(r));for(let e in t){let a=t[e];if(d||a!=null){let t=nO.of(`entry`);h(t,e,a),(i?n:r).addChildNode(t)}}}}writeSimple(e,t){if(t===null)throw Error(`@aws-sdk/core/protocols - (XML serializer) cannot write null value.`);let n=lw.of(e),r=null;if(t&&typeof t==`object`)if(n.isBlobSchema())r=(this.serdeContext?.base64Encoder??OC)(t);else if(n.isTimestampSchema()&&t instanceof Date)switch(wT(n,this.settings)){case 5:r=t.toISOString().replace(`.000Z`,`Z`);break;case 6:r=jw(t);break;case 7:r=String(t.getTime()/1e3);break;default:console.warn(`Missing timestamp format, using http date`,t),r=jw(t);break}else if(n.isBigDecimalSchema()&&t)return t instanceof hT?t.string:String(t);else if(n.isMapSchema()||n.isListSchema())throw Error(`@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.`);else throw Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${n.getName(!0)}`);if((n.isBooleanSchema()||n.isNumericSchema()||n.isBigIntegerSchema()||n.isBigDecimalSchema())&&(r=String(t)),n.isStringSchema()&&(r=t===void 0&&n.isIdempotencyToken()?Yw():String(t)),r===null)throw Error(`Unhandled schema-value pair ${n.getName(!0)}=${t}`);return r}writeSimpleInto(e,t,n,r){let i=this.writeSimple(e,t),a=lw.of(e),o=new tO(i),[s,c]=this.getXmlnsAttribute(a,r);c&&n.addAttribute(s,c),n.addChildNode(o)}getXmlnsAttribute(e,t){let[n,r]=e.getMergedTraits().xmlNamespace??[];return r&&r!==t?[n?`xmlns:${n}`:`xmlns`,r]:[void 0,void 0]}},vie=class extends eO{settings;constructor(e){super(),this.settings=e}createSerializer(){let e=new _ie(this.settings);return e.setSerdeContext(this.serdeContext),e}createDeserializer(){let e=new iO(this.settings);return e.setSerdeContext(this.serdeContext),e}},yie=class extends ST{codec;serializer;deserializer;mixin=new $D;constructor(e){super(e);let t={timestampFormat:{useTrait:!0,default:5},httpBindings:!0,xmlNamespace:e.xmlNamespace,serviceNamespace:e.defaultNamespace};this.codec=new vie(t),this.serializer=new OT(this.codec.createSerializer(),t),this.deserializer=new ET(this.codec.createDeserializer(),t)}getPayloadCodec(){return this.codec}getShapeId(){return`aws.protocols#restXml`}async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=lw.of(e.input);if(!r.headers[`content-type`]){let e=this.mixin.resolveRestContentType(this.getDefaultContentType(),i);e&&(r.headers[`content-type`]=e)}return typeof r.body==`string`&&r.headers[`content-type`]===this.getDefaultContentType()&&!r.body.startsWith(``+r.body),r}async deserializeResponse(e,t,n){return super.deserializeResponse(e,t,n)}async handleError(e,t,n,r,i){let a=gie(n,r)??`Unknown`;if(this.mixin.compose(this.compositeErrorRegistry,a,this.options.defaultNamespace),r.Error&&typeof r.Error==`object`)for(let e of Object.keys(r.Error))r[e]=r.Error[e],e.toLowerCase()===`message`&&(r.message=r.Error[e]);r.RequestId&&!i.requestId&&(i.requestId=r.RequestId);let{errorSchema:o,errorMetadata:s}=await this.mixin.getErrorSchemaOrThrowBaseException(a,this.options.defaultNamespace,n,r,i),c=lw.of(o),l=r.Error?.message??r.Error?.Message??r.message??r.Message??`UnknownError`,u=new((this.compositeErrorRegistry.getErrorCtor(o))??Error)(l);await this.deserializeHttpMessage(o,t,n,r);let d={},f=this.codec.createDeserializer();for(let[e,t]of c.structIterator()){let n=t.getMergedTraits().xmlName??e,i=r.Error?.[n]??r[n];d[e]=f.readSchema(t,i)}throw this.mixin.decorateServiceException(Object.assign(u,s,{$fault:c.getMergedTraits().error,message:l},d),r)}getDefaultContentType(){return`application/xml`}hasUnstructuredPayloadBinding(e){for(let[,t]of e.structIterator())if(t.getMergedTraits().httpPayload)return!(t.isStructSchema()||t.isMapSchema()||t.isListSchema());return!1}},oO=`ref`,sO=-1,cO=!0,lO=`isSet`,uO=`PartitionResult`,dO=`booleanEquals`,fO=`getAttr`,pO={[oO]:`Endpoint`},mO={[oO]:uO},hO={},gO=[{[oO]:`Region`}],_O={conditions:[[lO,[pO]],[lO,gO],[`aws.partition`,gO,uO],[dO,[{[oO]:`UseFIPS`},cO]],[dO,[{[oO]:`UseDualStack`},cO]],[dO,[{fn:fO,argv:[mO,`supportsDualStack`]},cO]],[dO,[{fn:fO,argv:[mO,`supportsFIPS`]},cO]],[`stringEquals`,[{fn:fO,argv:[mO,`name`]},`aws-us-gov`]]],results:[[sO],[sO,`Invalid Configuration: FIPS and custom endpoint are not supported`],[sO,`Invalid Configuration: Dualstack and custom endpoint are not supported`],[pO,hO],[`https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,hO],[sO,`FIPS and DualStack are enabled, but this partition does not support one or both`],[`https://ec2.{Region}.amazonaws.com`,hO],[`https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}`,hO],[sO,`FIPS is enabled but this partition does not support FIPS`],[`https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}`,hO],[sO,`DualStack is enabled but this partition does not support DualStack`],[`https://ec2.{Region}.{PartitionResult#dnsSuffix}`,hO],[sO,`Invalid Configuration: Missing Region`]]},bie=2,vO=1e8,xie=new Int32Array([-1,1,-1,0,13,3,1,4,vO+12,2,5,vO+12,3,8,6,4,7,vO+11,5,vO+9,vO+10,4,11,9,6,10,vO+8,7,vO+6,vO+7,5,12,vO+5,6,vO+4,vO+5,3,vO+1,14,4,vO+2,vO+3]),Sie=IT.from(xie,bie,_O.conditions,_O.results),Cie=new LT({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),wie=(e,t={})=>Cie.get(e,()=>hE(Sie,{endpointParams:e,logger:t.logger}));VT.aws=wE;var Tie=class e extends kD{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},Eie=`AllAvailabilityZones`,Die=`AttributeBooleanValue`,Oie=`AssociateCarrierIpAddress`,kie=`AdditionalFlexibleNetworkInterfaces`,Aie=`AvailableIpAddressCount`,jie=`AssignIpv6AddressOnCreation`,Mie=`AttachInternetGateway`,Nie=`AttachInternetGatewayRequest`,yO=`AdditionalInfo`,bO=`AssociationId`,xO=`AttachmentId`,Pie=`AmiLaunchIndex`,Fie=`AttachmentLimitType`,Iie=`AssociatePublicIpAddress`,Lie=`AmazonProvidedIpv6CidrBlock`,Rie=`AutoRecoverySupported`,zie=`AssociateRouteTableRequest`,Bie=`AssociateRouteTableResult`,Vie=`AssociateRouteTable`,Hie=`AllRegions`,SO=`AssociatedResource`,CO=`AutoRecovery`,wO=`AssociationState`,Uie=`AuthorizeSecurityGroupEgress`,Wie=`AuthorizeSecurityGroupEgressRequest`,Gie=`AuthorizeSecurityGroupEgressResult`,Kie=`AuthorizeSecurityGroupIngressRequest`,qie=`AuthorizeSecurityGroupIngressResult`,Jie=`AuthorizeSecurityGroupIngress`,TO=`AmdSevSnp`,Yie=`ArchitectureTypeList`,EO=`AttachTime`,Xie=`AttachVolumeRequest`,Zie=`AttributeValue`,Qie=`AttachVolume`,DO=`AvailabilityZone`,$ie=`AvailabilityZoneGeography`,eae=`AvailabilityZoneGeographyList`,OO=`AvailabilityZoneId`,tae=`AvailabilityZoneList`,nae=`AvailabilityZoneMessage`,rae=`AvailabilityZoneMessageList`,iae=`AvailabilityZoneSubGeography`,aae=`AvailabilityZoneSubGeographyList`,oae=`AvailabilityZones`,kO=`Accelerators`,sae=`Affinity`,AO=`Arn`,jO=`Architecture`,cae=`Associations`,MO=`Association`,lae=`Attribute`,NO=`Attachment`,PO=`Attachments`,uae=`BlobAttributeValue`,dae=`BaselineBandwidthInGbps`,FO=`BaselineBandwidthInMbps`,IO=`BlockDeviceMapping`,fae=`BlockDeviceMappingList`,pae=`BlockDeviceMappingRequestList`,LO=`BlockDeviceMappings`,mae=`BlockDurationMinutes`,RO=`BaselineIops`,zO=`BootMode`,hae=`BootModeTypeList`,gae=`BareMetal`,BO=`BlockPublicAccessStates`,_ae=`BurstablePerformanceSupported`,VO=`BaselineThroughputInMBps`,HO=`BandwidthWeighting`,vae=`BandwidthWeightingTypeList`,yae=`BandwidthWeightings`,UO=`CidrBlock`,bae=`CidrBlockAssociationSet`,xae=`CapacityBlockId`,Sae=`CidrBlockState`,Cae=`CoreCountList`,WO=`CoreCount`,wae=`CpuCredits`,GO=`CompletionDurationMinutes`,Tae=`CreationDate`,KO=`CarrierGatewayId`,Eae=`CurrentGeneration`,Dae=`CarrierIp`,Oae=`CurrentInstanceBootMode`,kae=`CreateInternetGateway`,Aae=`CreateInternetGatewayRequest`,jae=`CreateInternetGatewayResult`,Mae=`CreateImageRequest`,Nae=`CreateImageResult`,qO=`CidrIp`,JO=`CidrIpv6`,YO=`CidrIpv4`,Pae=`CoreInfo`,Fae=`CreateImage`,Iae=`CreateKeyPair`,Lae=`CreateKeyPairRequest`,XO=`CoreNetworkArn`,ZO=`CpuOptions`,Rae=`CustomerOwnedIp`,zae=`CustomerOwnedIpv4Pool`,Bae=`CpuOptionsRequest`,Vae=`CreatePlacementGroup`,Hae=`CreatePlacementGroupRequest`,Uae=`CreatePlacementGroupResult`,QO=`CapacityReservationId`,$O=`CapacityReservationPreference`,Wae=`CreateRouteRequest`,ek=`CapacityReservationResourceGroupArn`,Gae=`CreateRouteResult`,Kae=`CapacityReservationSpecificationResponse`,tk=`CapacityReservationSpecification`,nk=`CapacityReservationTarget`,qae=`CapacityReservationTargetResponse`,Jae=`CreateRouteTableRequest`,Yae=`CreateRouteTableResult`,Xae=`CreateRouteTable`,Zae=`CreateRoute`,Qae=`CreateSecurityGroup`,$ae=`CreateSecurityGroupRequest`,eoe=`CreateSecurityGroupResult`,toe=`CopySnapshotRequest`,noe=`CopySnapshotRequestPSU`,roe=`CopySnapshotResult`,ioe=`CreateSnapshotRequest`,aoe=`CreateSubnetRequest`,ooe=`CreateSubnetResult`,soe=`CreditSpecificationRequest`,coe=`CopySnapshot`,loe=`CreditSpecification`,uoe=`CreateSnapshot`,doe=`CreateSubnet`,foe=`CurrentState`,rk=`ClientToken`,ik=`ConnectionTrackingConfiguration`,poe=`ConnectionTrackingSpecification`,moe=`ConnectionTrackingSpecificationRequest`,hoe=`ConnectionTrackingSpecificationResponse`,goe=`CompletionTime`,ak=`CreateTime`,_oe=`CreateVolumeRequest`,voe=`CreateVpcRequest`,yoe=`CreateVpcResult`,boe=`CreateVolume`,xoe=`CreateVpc`,ok=`Code`,sk=`Configured`,ck=`Count`,lk=`DisableApiStop`,uk=`DisableApiTermination`,Soe=`DestinationAvailabilityZone`,Coe=`DescribeAvailabilityZonesRequest`,woe=`DescribeAvailabilityZonesResult`,Toe=`DescribeAvailabilityZones`,dk=`DestinationCidrBlock`,Eoe=`DefaultConnectionTrackingConfiguration`,Doe=`DefaultCores`,Ooe=`DataEncryptionKeyId`,koe=`DefaultEnaQueueCountPerInterface`,Aoe=`DefaultForAz`,joe=`DedicatedHostsSupported`,fk=`DeviceIndex`,pk=`DestinationIpv6CidrBlock`,Moe=`DescribeInternetGatewaysRequest`,Noe=`DescribeInternetGatewaysResult`,Poe=`DescribeInternetGateways`,Foe=`DiskInfoList`,Ioe=`DescribeImagesRequest`,Loe=`DescribeImagesResult`,Roe=`DescribeInstancesRequest`,zoe=`DescribeInstancesResult`,Boe=`DescribeInstanceTypesRequest`,Voe=`DescribeInstanceTypesResult`,Hoe=`DescribeInstanceTypes`,Uoe=`DescribeImages`,Woe=`DescribeInstances`,Goe=`DiskInfo`,Koe=`DeleteKeyPair`,qoe=`DeleteKeyPairRequest`,Joe=`DeleteKeyPairResult`,Yoe=`DescribeKeyPairsRequest`,Xoe=`DescribeKeyPairsResult`,Zoe=`DescribeKeyPairs`,mk=`DeviceName`,Qoe=`DefaultNetworkCardIndex`,$oe=`DestinationOutpostArn`,ese=`DhcpOptionsId`,hk=`DeleteOnTermination`,tse=`DeletePlacementGroup`,nse=`DeletePlacementGroupRequest`,rse=`DescribePlacementGroupsRequest`,ise=`DescribePlacementGroupsResult`,ase=`DescribePlacementGroups`,gk=`DestinationPrefixListId`,ose=`DeregistrationProtection`,_k=`DryRun`,sse=`DescribeRegionsRequest`,cse=`DescribeRegionsResult`,lse=`DescribeRouteTablesRequest`,use=`DescribeRouteTablesResult`,dse=`DescribeRouteTables`,fse=`DestinationRegion`,pse=`DescribeRegions`,mse=`DeleteSecurityGroup`,hse=`DeleteSecurityGroupRequest`,gse=`DeleteSecurityGroupResult`,_se=`DescribeSecurityGroupsRequest`,vse=`DescribeSecurityGroupsResult`,yse=`DescribeSecurityGroups`,bse=`DeleteSnapshotRequest`,xse=`DeleteSubnetRequest`,Sse=`DescribeSnapshotsRequest`,Cse=`DescribeSnapshotsResult`,wse=`DescribeSubnetsRequest`,Tse=`DescribeSubnetsResult`,Ese=`DeleteSnapshot`,Dse=`DeleteSubnet`,Ose=`DescribeSnapshots`,kse=`DescribeSubnets`,Ase=`DefaultTcpEstablishedTimeout`,jse=`DefaultThreadsPerCore`,Mse=`DeprecationTime`,Nse=`DefaultUdpStreamTimeout`,Pse=`DefaultUdpTimeout`,Fse=`DefaultVCpus`,Ise=`DeleteVolumeRequest`,Lse=`DeleteVpcRequest`,Rse=`DescribeVolumesRequest`,zse=`DescribeVolumesResult`,Bse=`DescribeVpcsRequest`,Vse=`DescribeVpcsResult`,Hse=`DetachVolumeRequest`,Use=`DeleteVolume`,Wse=`DeleteVpc`,Gse=`DescribeVolumes`,Kse=`DescribeVpcs`,qse=`DetachVolume`,vk=`Description`,yk=`Device`,Jse=`Disks`,Yse=`EbsBlockDevice`,Xse=`ExecutableByStringList`,bk=`ExecutableBy`,xk=`EbsCardIndex`,Zse=`EbsCardInfoList`,Qse=`EbsCardInfo`,$se=`EbsCards`,ece=`EncryptionControl`,tce=`EnableDns64`,nce=`ElasticFileSystem`,rce=`ElasticFileSystemExclusion`,ice=`ElasticGpuAssociation`,ace=`ElasticGpuAssociationId`,oce=`ElasticGpuAssociationList`,sce=`ElasticGpuAssociationState`,cce=`ElasticGpuAssociationTime`,lce=`ElasticGpuAssociations`,uce=`ElasticGpuId`,Sk=`ElasticGpuSpecification`,dce=`ElasticGpuSpecifications`,Ck=`ElasticInferenceAccelerator`,fce=`ElasticInferenceAcceleratorAssociation`,pce=`ElasticInferenceAcceleratorAssociationId`,mce=`ElasticInferenceAcceleratorAssociationList`,hce=`ElasticInferenceAcceleratorAssociationState`,gce=`ElasticInferenceAcceleratorAssociationTime`,_ce=`ElasticInferenceAcceleratorArn`,vce=`ElasticInferenceAcceleratorAssociations`,wk=`ElasticInferenceAccelerators`,yce=`EbsInstanceBlockDevice`,bce=`EbsInstanceBlockDeviceSpecification`,xce=`EncryptionInTransitSupported`,Tk=`EbsInfo`,Ek=`EfaInfo`,Sce=`EnableLniAtDeviceIndex`,Dk=`EbsOptimized`,Ok=`EbsOptimizedInfo`,Cce=`EgressOnlyInternetGateway`,wce=`EgressOnlyInternetGatewayExclusion`,kk=`EgressOnlyInternetGatewayId`,Tce=`EnclaveOptionsRequest`,Ece=`EbsOptimizedSupport`,Ak=`EnclaveOptions`,Dce=`EnablePrimaryIpv6`,jk=`EnaQueueCount`,Mk=`EnableResourceNameDnsAAAARecord`,Nk=`EnableResourceNameDnsARecord`,Pk=`EnaSrdEnabled`,Fk=`EnaSrdSpecification`,Oce=`EnaSrdSpecificationRequest`,kce=`EnaSrdSupported`,Ik=`EnaSrdUdpEnabled`,Lk=`EnaSrdUdpSpecification`,Ace=`EnaSrdUdpSpecificationRequest`,jce=`EfaSupported`,Rk=`EncryptionSupport`,zk=`EnaSupport`,Mce=`EndTime`,Nce=`ExecutableUsers`,Bk=`Ebs`,Vk=`Enabled`,Hk=`Encrypted`,Pce=`Endpoint`,Uk=`Force`,Fce=`FpgaDeviceInfo`,Ice=`FpgaDeviceInfoList`,Lce=`FpgaDeviceMemoryInfo`,Rce=`FlexibleEnaQueuesSupport`,Wk=`FpgaInfo`,zce=`FilterList`,Gk=`FromPort`,Bce=`FastRestored`,Vce=`FullSnapshotSizeInBytes`,Kk=`FreeTierEligible`,qk=`Filters`,Jk=`Filter`,Hce=`Fpgas`,Yk=`Groups`,Uce=`GroupArn`,Wce=`GetConsoleOutput`,Gce=`GetConsoleOutputRequest`,Kce=`GetConsoleOutputResult`,qce=`GroupDescription`,Jce=`GpuDeviceInfo`,Yce=`GpuDeviceInfoList`,Xce=`GpuDeviceMemoryInfo`,Xk=`GatewayId`,Zce=`GroupIdentifierList`,Qce=`GroupIdStringList`,Zk=`GpuInfo`,Qk=`GroupId`,$k=`GroupIds`,$ce=`GroupIdentifier`,ele=`GroupLongName`,eA=`GroupName`,tle=`GroupNameStringList`,tA=`GroupNames`,nle=`GroupOwnerId`,rle=`GpuPartitionSize`,nA=`Geography`,ile=`Gpus`,ale=`HiddenByDefault`,rA=`HttpEndpoint`,ole=`HostId`,iA=`HibernationOptions`,sle=`HibernationOptionsRequest`,aA=`HttpProtocolIpv6`,oA=`HttpPutResponseHopLimit`,cle=`HostResourceGroupArn`,lle=`HibernationSupported`,sA=`HttpTokens`,cA=`HostnameType`,ule=`Hibernate`,lA=`Hypervisor`,dle=`Id`,uA=`Ipv6Addresses`,dA=`Ipv6AddressAttribute`,fA=`Ipv6AddressCount`,fle=`InstanceAttachmentEnaSrdSpecification`,ple=`InstanceAttachmentEnaSrdUdpSpecification`,pA=`InferenceAcceleratorInfo`,mle=`Ipv4AddressesPerInterface`,hle=`Ipv6AddressesPerInterface`,gle=`Ipv4AddressesPerSecondaryInterface`,_le=`ImageAllowed`,vle=`IpAddress`,mA=`Ipv6Address`,yle=`InstanceBlockDeviceMapping`,ble=`InstanceBlockDeviceMappingList`,xle=`InstanceBlockDeviceMappingSpecification`,Sle=`InstanceBlockDeviceMappingSpecificationList`,hA=`Ipv6CidrBlock`,gA=`Ipv6CidrBlockAssociationSet`,Cle=`Ipv6CidrBlockNetworkBorderGroup`,_A=`Ipv6CidrBlockState`,wle=`IncludeDeprecated`,Tle=`InferenceDeviceInfo`,Ele=`InferenceDeviceInfoList`,Dle=`InferenceDeviceMemoryInfo`,Ole=`IncludeDisabled`,kle=`IsDefault`,vA=`IsEgress`,yA=`InternetGateway`,Ale=`InternetGatewayAttachment`,jle=`InternetGatewayAttachmentList`,Mle=`InternetGatewayBlockMode`,Nle=`InternetGatewayExclusion`,bA=`InternetGatewayId`,Ple=`InternetGatewayIdList`,Fle=`InternetGatewayIds`,Ile=`InternetGatewayList`,Lle=`InternetGateways`,xA=`InstanceId`,Rle=`InstanceIpv6Address`,zle=`InstanceIpv6AddressList`,Ble=`InstanceInterruptionBehavior`,SA=`IamInstanceProfile`,CA=`Ipv6IpamPoolId`,wA=`Ipv4IpamPoolId`,Vle=`InstanceIpv4PrefixList`,Hle=`InstanceIpv6PrefixList`,TA=`IamInstanceProfileSpecification`,EA=`InstanceIpv4Prefix`,DA=`InstanceIpv6Prefix`,OA=`InstanceInitiatedShutdownBehavior`,kA=`ImageIdStringList`,AA=`InstanceIdStringList`,jA=`ImageId`,MA=`ImageIds`,NA=`InstanceIds`,PA=`ImportKeyPair`,FA=`ImportKeyPairRequest`,IA=`ImportKeyPairResult`,LA=`ImageLocation`,RA=`ImageList`,zA=`InstanceLifecycle`,BA=`InstanceList`,VA=`InstanceMaintenanceOptions`,HA=`InstanceMaintenanceOptionsRequest`,UA=`InstanceMarketOptionsRequest`,WA=`InstanceMetadataOptionsRequest`,GA=`InstanceMetadataOptionsResponse`,KA=`InstanceMarketOptions`,qA=`IncludeManagedResources`,JA=`InstanceMetadataTags`,YA=`Ipv6Native`,XA=`InstanceNetworkInterface`,ZA=`InstanceNetworkInterfaceAssociation`,QA=`InstanceNetworkInterfaceAttachment`,$A=`InstanceNetworkInterfaceList`,ej=`InstanceNetworkInterfaceSpecification`,tj=`InstanceNetworkInterfaceSpecificationList`,nj=`Ipv6NetmaskLength`,rj=`Ipv4NetmaskLength`,ij=`InstanceNetworkPerformanceOptions`,aj=`InstanceNetworkPerformanceOptionsRequest`,oj=`ImageOwnerAlias`,sj=`IpOwnerId`,cj=`InstanceOwnerId`,lj=`InstanceOwningService`,uj=`Ipv6PrefixCount`,dj=`Ipv4PrefixCount`,fj=`IpPermissionsEgress`,pj=`InstancePrivateIpAddress`,mj=`InstancePrivateIpAddressList`,hj=`IsPrimaryIpv6`,gj=`IncludePublicKey`,_j=`IpPermissionList`,vj=`Ipv4PrefixList`,yj=`Ipv6PrefixList`,bj=`Ipv4PrefixSpecificationRequest`,xj=`Ipv6PrefixSpecificationRequest`,Sj=`Ipv6Prefixes`,Cj=`IpPermissions`,wj=`IpPermission`,Tj=`IpProtocol`,Ej=`Ipv6Prefix`,Dj=`Ipv6Pool`,Oj=`Ipv4Prefixes`,kj=`Ipv4Prefix`,Aj=`IpRangeList`,jj=`Ipv6RangeList`,Mj=`IpRanges`,Nj=`IpRange`,Pj=`Ipv6Ranges`,Fj=`Ipv6Range`,Ij=`InstanceStateChange`,Lj=`InstanceStateChangeList`,Rj=`InstanceSecondaryInterfaceAttachment`,zj=`InstanceSecondaryInterfaceList`,Bj=`InstanceSecondaryInterfacePrivateIpAddress`,Vj=`InstanceSecondaryInterfacePrivateIpAddressList`,Hj=`InstanceSecondaryInterfacePrivateIpAddressListRequest`,Uj=`InstanceSecondaryInterfacePrivateIpAddressRequest`,Wj=`InstanceSecondaryInterfaceSpecificationListRequest`,Gj=`InstanceSecondaryInterfaceSpecificationRequest`,Kj=`InstanceSecondaryInterface`,qj=`InstanceStorageInfo`,Jj=`InstanceStorageSupported`,Yj=`ImdsSupport`,Xj=`InstanceState`,Zj=`IpSource`,Qj=`Ipv6Supported`,$j=`InstanceType`,eM=`InstanceTypeInfoList`,tM=`InstanceTypeInfo`,nM=`ImageType`,rM=`InstanceTenancy`,iM=`InstanceTypes`,aM=`InterfaceType`,oM=`IncludeUnsupportedInRegion`,sM=`Images`,cM=`Image`,lM=`Instance`,uM=`Instances`,dM=`Iops`,fM=`Key`,pM=`KeyFormat`,mM=`KeyFingerprint`,hM=`KernelId`,gM=`KmsKeyId`,_M=`KeyMaterial`,vM=`KeyName`,yM=`KeyNameStringList`,bM=`KeyNames`,xM=`KeyPairs`,SM=`KeyPairId`,CM=`KeyPairIdStringList`,wM=`KeyPairIds`,TM=`KeyPairInfo`,EM=`KeyPairList`,DM=`KeyPair`,OM=`KeyType`,kM=`Kernel`,AM=`LicenseConfigurationArn`,jM=`LicenseConfigurationRequest`,MM=`LicenseConfiguration`,NM=`LambdaExclusion`,PM=`LogicalGpuCount`,FM=`LocalGatewayId`,IM=`LinkedGroupId`,LM=`LicenseList`,RM=`LastLaunchedTime`,zM=`LicenseSpecifications`,BM=`LicenseSpecificationListRequest`,VM=`LicenseSpecification`,HM=`LaunchTemplate`,UM=`LaunchTemplateId`,WM=`LaunchTemplateName`,GM=`LaunchTemplateSpecification`,KM=`LaunchTime`,qM=`Latest`,JM=`Lambda`,YM=`Licenses`,XM=`Location`,ZM=`MultiAttachEnabled`,QM=`MediaAcceleratorInfo`,$M=`MacAddress`,eN=`MaximumBandwidthInMbps`,tN=`MapCustomerOwnedIpOnLaunch`,nN=`MaxCount`,rN=`MinCount`,iN=`MediaDeviceInfo`,aN=`MediaDeviceInfoList`,oN=`MediaDeviceMemoryInfo`,sN=`MaximumEbsAttachments`,cN=`MaximumEbsCards`,lN=`MaximumEfaInterfaces`,uN=`MaximumEnaQueueCount`,dN=`MaximumEnaQueueCountPerInterface`,fN=`MaximumIops`,pN=`ModifyInstanceAttributeRequest`,mN=`ModifyInstanceAttributeValue`,hN=`ModifyInstanceAttribute`,gN=`MemoryInfo`,_N=`MaximumNetworkCards`,vN=`MaximumNetworkInterfaces`,yN=`MetadataOptions`,bN=`MaintenanceOptions`,xN=`MapPublicIpOnLaunch`,SN=`MaxPrice`,CN=`MaxResults`,wN=`MaximumSecondaryNetworkInterfaces`,TN=`ModificationState`,EN=`MarketType`,DN=`MaximumThroughputInMBps`,ON=`ModifyVolumeRequest`,kN=`ModifyVolumeResult`,AN=`ModifyVolume`,jN=`Main`,MN=`Manufacturer`,NN=`Managed`,PN=`Message`,FN=`Messages`,IN=`Mode`,LN=`Monitoring`,RN=`Name`,zN=`NetworkBorderGroup`,BN=`NetworkCards`,VN=`NetworkCardIndex`,HN=`NetworkCardInfoList`,UN=`NetworkCardInfo`,WN=`NoDevice`,GN=`NeuronDeviceCoreInfo`,KN=`NeuronDeviceInfo`,qN=`NeuronDeviceInfoList`,JN=`NeuronDeviceMemoryInfo`,YN=`NeuronDevices`,XN=`NitroEnclavesSupport`,ZN=`NatGateway`,QN=`NatGatewayExclusion`,$N=`NatGatewayId`,eP=`NetworkInterfaceId`,tP=`NetworkInterfaces`,nP=`NetworkInfo`,rP=`NeuronInfo`,iP=`NetworkPerformanceOptions`,aP=`NetworkPerformance`,oP=`NoReboot`,sP=`NvmeSupport`,cP=`NitroTpmInfo`,lP=`NitroTpmSupport`,uP=`NitroTpmSupportedVersionsList`,dP=`NextToken`,fP=`NestedVirtualization`,pP=`Origin`,mP=`OutpostArn`,hP=`OwnerAlias`,gP=`OwnerId`,_P=`OptInStatus`,vP=`OriginalIops`,yP=`OwnerIds`,bP=`OriginalMultiAttachEnabled`,xP=`OdbNetworkArn`,SP=`OperatorRequest`,CP=`OperatorResponse`,wP=`OwnerStringList`,TP=`OriginalSize`,EP=`OriginalThroughput`,DP=`OriginalVolumeType`,OP=`Operator`,kP=`Output`,AP=`Owners`,jP=`Owner`,MP=`Principal`,NP=`PeakBandwidthInGbps`,PP=`ProductCodeId`,FP=`ProductCodeList`,IP=`ProductCodeType`,LP=`PartitionCount`,RP=`ProductCode`,zP=`ProductCodes`,BP=`PrivateDnsName`,VP=`PrivateDnsNameOptions`,HP=`PrivateDnsNameOptionsOnLaunch`,UP=`PrivateDnsNameOptionsRequest`,WP=`PrivateDnsNameOptionsResponse`,GP=`PublicDnsName`,KP=`PlatformDetails`,qP=`PlacementGroup`,JP=`PlacementGroupInfo`,YP=`PlacementGroupIdStringList`,XP=`PlacementGroupList`,ZP=`PlacementGroupStrategyList`,QP=`PlacementGroups`,$P=`PublicIp`,eF=`PrivateIpAddressCount`,tF=`PrivateIpAddressSpecification`,nF=`PrivateIpAddressSpecificationList`,rF=`PrivateIpAddress`,iF=`PrivateIpAddresses`,aF=`PublicIpAddress`,oF=`PublicIpv4Pool`,sF=`PrimaryIpv6`,cF=`ProcessorInfo`,lF=`PublicKey`,uF=`PublicKeyMaterial`,dF=`PrefixListId`,fF=`PrefixListIdList`,pF=`PrefixListIds`,mF=`PartitionNumber`,hF=`PeeringStatus`,gF=`PhcSupport`,_F=`PreviousState`,vF=`PresignedUrl`,yF=`PropagatingVgw`,bF=`PropagatingVgwList`,xF=`PropagatingVgws`,SF=`ParentZoneId`,CF=`ParentZoneName`,wF=`Platform`,TF=`Placement`,EF=`Primary`,DF=`Progress`,OF=`Public`,kF=`Return`,AF=`RestorableByUserIds`,jF=`RestorableBy`,MF=`RootDeviceName`,NF=`RootDeviceType`,PF=`RootDeviceTypeList`,FF=`RestoreExpiryTime`,IF=`ResourceExclusions`,LF=`RegionGeography`,RF=`ReferencedGroupId`,zF=`ReferencedGroupInfo`,BF=`RegionGeographyList`,VF=`RunInstancesMonitoringEnabled`,HF=`RebootInstancesRequest`,UF=`RunInstancesRequest`,WF=`RunInstancesUserData`,GF=`RamdiskId`,KF=`ReservationId`,qF=`RebootInstances`,JF=`RequesterId`,YF=`RunInstances`,XF=`RegionList`,ZF=`ReservationList`,QF=`RouteList`,$F=`RebootMigrationSupport`,eI=`RebootMigration`,tI=`RegionName`,nI=`RegionNameStringList`,rI=`RegionNames`,iI=`ReferencedSecurityGroup`,aI=`RevokeSecurityGroupEgress`,oI=`RevokeSecurityGroupEgressRequest`,sI=`RevokeSecurityGroupEgressResult`,cI=`RevokeSecurityGroupIngressRequest`,lI=`RevokeSecurityGroupIngressResult`,uI=`RevokeSecurityGroupIngress`,dI=`RevokedSecurityGroupRule`,fI=`RevokedSecurityGroupRuleList`,pI=`RevokedSecurityGroupRules`,mI=`RouteTableAssociation`,hI=`RouteTableAssociationId`,gI=`RouteTableAssociationList`,_I=`RouteTableAssociationState`,vI=`RouteTableId`,yI=`RouteTableIdStringList`,bI=`RouteTableIds`,xI=`RouteTableList`,SI=`ResourceType`,CI=`RouteTable`,wI=`RouteTables`,TI=`Ramdisk`,EI=`Regions`,DI=`Region`,OI=`Reservations`,kI=`Reservation`,AI=`Route`,jI=`Routes`,MI=`SupportedAdditionalProcessorFeatureList`,NI=`SubnetArn`,PI=`SupportedArchitectures`,FI=`SupportedBootModes`,II=`SubnetCidrBlockState`,LI=`SustainedClockSpeedInGhz`,RI=`SourceDestCheck`,zI=`SpreadDomain`,BI=`SupportedFeatures`,VI=`SubGeography`,HI=`SecurityGroupArn`,UI=`SecurityGroupId`,WI=`SecurityGroupIdStringList`,GI=`SecurityGroupIds`,KI=`SecurityGroupList`,qI=`SecurityGroupRules`,JI=`SecurityGroupRuleArn`,YI=`SecurityGroupRuleIds`,XI=`SecurityGroupRuleIdList`,ZI=`SecurityGroupRuleId`,QI=`SecurityGroupRuleList`,$I=`SecurityGroupRule`,eL=`SecurityGroupStringList`,tL=`SecurityGroups`,nL=`SecurityGroup`,rL=`SubnetIds`,iL=`SubnetIpv6CidrBlockAssociation`,aL=`SubnetIpv6CidrBlockAssociationSet`,oL=`SizeInGB`,sL=`SourceImageId`,cL=`SecondaryInterfaceId`,lL=`SourceInstanceId`,uL=`SizeInMiB`,dL=`SpotInstanceRequestId`,fL=`SourceImageRegion`,pL=`StartInstancesRequest`,mL=`StartInstancesResult`,hL=`StopInstancesRequest`,gL=`StopInstancesResult`,_L=`SupportedInRegion`,vL=`SnapshotIdStringList`,yL=`SubnetIdStringList`,bL=`SpotInstanceType`,xL=`SecondaryInterfaces`,SL=`SecondaryInterface`,CL=`SnapshotId`,wL=`SnapshotIds`,TL=`StartingInstances`,EL=`StartInstances`,DL=`StoppingInstances`,OL=`StopInstances`,kL=`SubnetId`,AL=`SnapshotLocation`,jL=`SnapshotList`,ML=`SpreadLevel`,NL=`SubnetList`,PL=`SpotMarketOptions`,FL=`StatusMessage`,IL=`StateMessage`,LL=`SecondaryNetworkId`,RL=`SriovNetSupport`,zL=`SecondaryNetworkSupported`,BL=`SpotOptions`,VL=`SkipOsShutdown`,HL=`SecondaryPrivateIpAddressCount`,UL=`SupportedRootDeviceTypes`,WL=`SourceRegion`,GL=`StateReason`,KL=`SourceSecurityGroupName`,qL=`SourceSecurityGroupOwnerId`,JL=`SourceSnapshotId`,YL=`SecondarySubnetId`,XL=`SupportedStrategies`,ZL=`StartTime`,QL=`StateTransitionReason`,$L=`SseType`,eR=`StorageTier`,tR=`SupportedUsageClasses`,nR=`SensitiveUserData`,rR=`SourceVolumeId`,iR=`SupportedVirtualizationTypes`,aR=`SupportedVersions`,oR=`Size`,sR=`Snapshots`,cR=`Snapshot`,lR=`State`,uR=`Status`,dR=`Strategy`,fR=`Subnet`,pR=`Subnets`,mR=`Tags`,hR=`TcpEstablishedTimeout`,gR=`TotalFpgaMemoryInMiB`,_R=`TransitGatewayId`,vR=`TotalGpuMemoryInMiB`,yR=`TerminateInstances`,bR=`TotalInferenceMemoryInMiB`,xR=`TerminateInstancesRequest`,SR=`TerminateInstancesResult`,CR=`TargetIops`,wR=`TerminatingInstances`,TR=`TagList`,ER=`TargetMultiAttachEnabled`,DR=`TotalMediaMemoryInMiB`,OR=`TotalNeuronDeviceMemoryInMiB`,kR=`ToPort`,AR=`ThreadsPerCore`,jR=`ThreadsPerCoreList`,MR=`TagSpecifications`,NR=`TotalSizeInGB`,PR=`TagSpecificationList`,FR=`TagSpecification`,IR=`TargetSize`,LR=`TpmSupport`,RR=`TargetThroughput`,zR=`TransferType`,BR=`TargetVolumeType`,VR=`Tag`,HR=`Tenancy`,UR=`Throughput`,WR=`Timestamp`,GR=`Type`,KR=`UsageClassTypeList`,qR=`UserData`,JR=`UserId`,YR=`UserIdGroupPairs`,XR=`UserIdGroupPairList`,ZR=`UserIdGroupPair`,QR=`UnknownIpPermissions`,$R=`UsageOperation`,ez=`UsageOperationUpdateTime`,tz=`UdpStreamTimeout`,nz=`UdpTimeout`,rz=`Value`,iz=`VolumeAttachmentList`,az=`VolumeAttachment`,oz=`VpcCidrBlockAssociation`,sz=`VpcCidrBlockAssociationSet`,cz=`VpcCidrBlockState`,lz=`VCpuInfo`,uz=`ValidCores`,dz=`VpcEncryptionControl`,fz=`VpcEncryptionControlConfiguration`,pz=`VpcEncryptionControlExclusion`,mz=`VpcEncryptionControlExclusions`,hz=`VpcEncryptionControlId`,gz=`VpcEndpointId`,_z=`VpcId`,vz=`VpcIpv6CidrBlockAssociation`,yz=`VpcIpv6CidrBlockAssociationSet`,bz=`VolumeInitializationRate`,xz=`VolumeIdStringList`,Sz=`VpcIdStringList`,Cz=`VolumeId`,wz=`VolumeIds`,Tz=`VpcIds`,Ez=`VpcLattice`,Dz=`VpcLatticeExclusion`,Oz=`VolumeList`,kz=`VpcList`,Az=`VolumeModification`,jz=`VirtualName`,Mz=`VolumeOwnerId`,Nz=`VpcPeeringConnectionId`,Pz=`VpcPeeringExclusion`,Fz=`VirtualPrivateGateway`,Iz=`VirtualPrivateGatewayExclusion`,Lz=`VpcPeering`,Rz=`ValueStringList`,zz=`VolumeSize`,Bz=`VolumeType`,Vz=`VirtualizationTypeList`,Hz=`ValidThreadsPerCore`,Uz=`VirtualizationType`,Wz=`ValidUntil`,Gz=`Values`,Kz=`Version`,qz=`Volumes`,Jz=`Volume`,Yz=`Vpc`,Xz=`Vpcs`,Zz=`WorkloadsList`,Qz=`Workloads`,$z=`ZoneId`,eB=`ZoneIdStringList`,tB=`ZoneIds`,nB=`ZoneName`,rB=`ZoneNameStringList`,iB=`ZoneNames`,aB=`ZoneType`,oB=`additionalFlexibleNetworkInterfaces`,sB=`availableIpAddressCount`,cB=`assignIpv6AddressOnCreation`,lB=`additionalInfo`,uB=`associationId`,dB=`attachmentId`,fB=`amiLaunchIndex`,pB=`attachmentLimitType`,mB=`associatePublicIpAddress`,hB=`amazonProvidedIpv6CidrBlock`,gB=`autoRecoverySupported`,_B=`associatedResource`,vB=`autoRecovery`,yB=`associationState`,bB=`amdSevSnp`,xB=`associationSet`,SB=`attachmentSet`,CB=`attachTime`,wB=`availabilityZone`,TB=`availabilityZoneId`,EB=`availabilityZoneInfo`,DB=`accelerators`,OB=`affinity`,kB=`arn`,AB=`architecture`,jB=`association`,MB=`attachment`,NB=`attribute`,PB=`baselineBandwidthInGbps`,FB=`baselineBandwidthInMbps`,IB=`blockDeviceMapping`,LB=`baselineIops`,RB=`bootMode`,zB=`bareMetal`,BB=`blockPublicAccessStates`,VB=`burstablePerformanceSupported`,HB=`baselineThroughputInMBps`,UB=`bandwidthWeighting`,WB=`bandwidthWeightings`,GB=`cidrBlock`,KB=`cidrBlockAssociationSet`,qB=`capacityBlockId`,JB=`cidrBlockState`,YB=`coreCount`,XB=`completionDurationMinutes`,ZB=`creationDate`,QB=`carrierGatewayId`,$B=`currentGeneration`,eV=`carrierIp`,tV=`currentInstanceBootMode`,nV=`cidrIp`,rV=`cidrIpv6`,iV=`cidrIpv4`,aV=`coreInfo`,oV=`coreNetworkArn`,sV=`cpuOptions`,cV=`customerOwnedIp`,lV=`customerOwnedIpv4Pool`,uV=`capacityReservationId`,dV=`capacityReservationPreference`,fV=`capacityReservationResourceGroupArn`,pV=`capacityReservationSpecification`,mV=`capacityReservationTarget`,hV=`currentState`,gV=`clientToken`,_V=`connectionTrackingConfiguration`,vV=`completionTime`,yV=`createTime`,bV=`code`,xV=`configured`,SV=`count`,CV=`disableApiTermination`,wV=`destinationCidrBlock`,TV=`defaultCores`,EV=`dataEncryptionKeyId`,DV=`defaultEnaQueueCountPerInterface`,OV=`defaultForAz`,kV=`dedicatedHostsSupported`,AV=`deviceIndex`,jV=`destinationIpv6CidrBlock`,MV=`deviceName`,NV=`defaultNetworkCardIndex`,PV=`dnsName`,FV=`dhcpOptionsId`,IV=`deleteOnTermination`,LV=`destinationPrefixListId`,RV=`deregistrationProtection`,zV=`dryRun`,BV=`destinationRegion`,VV=`defaultTcpEstablishedTimeout`,HV=`defaultThreadsPerCore`,UV=`deprecationTime`,WV=`defaultUdpStreamTimeout`,GV=`defaultUdpTimeout`,KV=`defaultVCpus`,qV=`description`,JV=`device`,YV=`disks`,XV=`ebsCardIndex`,ZV=`ebsCardSet`,QV=`encryptionControl`,$V=`enableDns64`,eH=`elasticFileSystem`,tH=`elasticGpuAssociationId`,nH=`elasticGpuAssociationState`,rH=`elasticGpuAssociationSet`,iH=`elasticGpuAssociationTime`,aH=`elasticGpuId`,oH=`elasticInferenceAcceleratorArn`,sH=`elasticInferenceAcceleratorAssociationId`,cH=`elasticInferenceAcceleratorAssociationState`,lH=`elasticInferenceAcceleratorAssociationSet`,uH=`elasticInferenceAcceleratorAssociationTime`,dH=`encryptionInTransitSupported`,fH=`ebsInfo`,pH=`efaInfo`,mH=`enableLniAtDeviceIndex`,hH=`ebsOptimized`,gH=`ebsOptimizedInfo`,_H=`egressOnlyInternetGateway`,vH=`egressOnlyInternetGatewayId`,yH=`ebsOptimizedSupport`,bH=`enclaveOptions`,xH=`enaQueueCount`,H=`ec2QueryName`,SH=`enableResourceNameDnsAAAARecord`,CH=`enableResourceNameDnsARecord`,wH=`enaSrdEnabled`,TH=`enaSrdSpecification`,EH=`enaSrdSupported`,DH=`enaSrdUdpEnabled`,OH=`enaSrdUdpSpecification`,kH=`efaSupported`,AH=`encryptionSupport`,jH=`enaSupport`,MH=`endTime`,NH=`ebs`,PH=`enabled`,FH=`encrypted`,IH=`flexibleEnaQueuesSupport`,LH=`fpgaInfo`,RH=`fromPort`,zH=`fastRestored`,BH=`fullSnapshotSizeInBytes`,VH=`freeTierEligible`,HH=`force`,UH=`fpgas`,WH=`groupArn`,GH=`groupDescription`,KH=`gatewayId`,qH=`gpuInfo`,JH=`groupId`,YH=`groupLongName`,XH=`groupName`,ZH=`groupOwnerId`,QH=`gpuPartitionSize`,$H=`geographySet`,eU=`groupSet`,tU=`gpus`,nU=`groups`,rU=`hypervisor`,iU=`hiddenByDefault`,aU=`httpEndpoint`,oU=`hostId`,sU=`hibernationOptions`,cU=`httpProtocolIpv6`,lU=`httpPutResponseHopLimit`,uU=`hostResourceGroupArn`,dU=`hibernationSupported`,fU=`httpTokens`,pU=`hostnameType`,mU=`id`,hU=`ipv6AddressAttribute`,gU=`ipv6AddressCount`,_U=`inferenceAcceleratorInfo`,vU=`ipv4AddressesPerInterface`,yU=`ipv6AddressesPerInterface`,bU=`ipv4AddressesPerSecondaryInterface`,xU=`ipv6AddressesSet`,SU=`imageAllowed`,CU=`ipAddress`,wU=`ipv6Address`,TU=`ipv6CidrBlock`,EU=`ipv6CidrBlockAssociationSet`,DU=`ipv6CidrBlockState`,OU=`isDefault`,kU=`isEgress`,AU=`internetGateway`,jU=`internetGatewayBlockMode`,MU=`internetGatewayId`,NU=`internetGatewaySet`,PU=`instanceId`,FU=`iamInstanceProfile`,IU=`instanceInitiatedShutdownBehavior`,LU=`imageId`,RU=`imageLocation`,zU=`instanceLifecycle`,BU=`instanceMetadataTags`,VU=`ipv6Native`,HU=`imageOwnerAlias`,UU=`imageOwnerId`,WU=`instanceOwnerId`,GU=`ipOwnerId`,KU=`instanceOwningService`,qU=`ipPermissionsEgress`,JU=`isPrimaryIpv6`,YU=`ipv4PrefixSet`,XU=`ipv6PrefixSet`,ZU=`ipProtocol`,QU=`ipPermissions`,$U=`ipv4Prefix`,eW=`ipv6Pool`,tW=`ipv6Prefix`,nW=`isPublic`,rW=`ipRanges`,iW=`ipv6Ranges`,aW=`instanceStorageInfo`,oW=`instanceStorageSupported`,sW=`imagesSet`,cW=`imageState`,lW=`imdsSupport`,uW=`instancesSet`,dW=`instanceState`,fW=`ipSource`,pW=`ipv6Supported`,mW=`instanceType`,hW=`instanceTypeSet`,gW=`idempotencyToken`,_W=`imageType`,vW=`instanceTenancy`,yW=`interfaceType`,bW=`iops`,U=`item`,xW=`key`,SW=`keyFingerprint`,CW=`kernelId`,wW=`kmsKeyId`,TW=`keyMaterial`,EW=`keyName`,DW=`keyPairId`,OW=`keySet`,kW=`keyType`,AW=`kernel`,jW=`licenseConfigurationArn`,MW=`logicalGpuCount`,NW=`localGatewayId`,PW=`linkedGroupId`,FW=`lastLaunchedTime`,IW=`licenseSet`,LW=`launchTime`,RW=`lambda`,zW=`multiAttachEnabled`,BW=`mediaAcceleratorInfo`,VW=`macAddress`,HW=`maximumBandwidthInMbps`,UW=`mapCustomerOwnedIpOnLaunch`,WW=`maximumEbsAttachments`,GW=`maximumEbsCards`,KW=`maximumEfaInterfaces`,qW=`maximumEnaQueueCount`,JW=`maximumEnaQueueCountPerInterface`,YW=`maximumIops`,XW=`memoryInfo`,ZW=`maximumNetworkCards`,QW=`maximumNetworkInterfaces`,$W=`metadataOptions`,eG=`maintenanceOptions`,tG=`mapPublicIpOnLaunch`,nG=`maxResults`,rG=`messageSet`,iG=`maximumSecondaryNetworkInterfaces`,aG=`modificationState`,oG=`maximumThroughputInMBps`,sG=`main`,cG=`manufacturer`,lG=`managed`,uG=`message`,dG=`monitoring`,fG=`mode`,pG=`name`,mG=`networkBorderGroup`,hG=`networkCards`,gG=`networkCardIndex`,_G=`noDevice`,vG=`neuronDevices`,yG=`nitroEnclavesSupport`,bG=`natGateway`,xG=`natGatewayId`,SG=`networkInterfaceId`,CG=`networkInterfaceSet`,wG=`networkInterface`,TG=`networkInfo`,EG=`neuronInfo`,DG=`networkPerformanceOptions`,OG=`networkPerformance`,kG=`noReboot`,AG=`nvmeSupport`,jG=`nitroTpmInfo`,MG=`nitroTpmSupport`,NG=`nextToken`,PG=`nestedVirtualization`,FG=`origin`,IG=`outpostArn`,LG=`ownerAlias`,RG=`ownerId`,zG=`optInStatus`,BG=`originalIops`,VG=`originalMultiAttachEnabled`,HG=`odbNetworkArn`,UG=`originalSize`,WG=`originalThroughput`,GG=`originalVolumeType`,KG=`operator`,qG=`output`,JG=`principal`,YG=`peakBandwidthInGbps`,XG=`productCodes`,ZG=`partitionCount`,QG=`productCode`,$G=`privateDnsNameOptions`,eK=`privateDnsNameOptionsOnLaunch`,tK=`privateDnsName`,nK=`publicDnsName`,rK=`platformDetails`,iK=`placementGroup`,aK=`placementGroupInfo`,oK=`placementGroupSet`,sK=`publicIp`,cK=`privateIpAddressesSet`,lK=`privateIpAddressSet`,uK=`privateIpAddress`,dK=`publicIpv4Pool`,fK=`processorInfo`,pK=`publicKey`,mK=`publicKeyMaterial`,hK=`prefixListId`,gK=`prefixListIds`,_K=`partitionNumber`,vK=`peeringStatus`,yK=`phcSupport`,bK=`previousState`,xK=`presignedUrl`,SK=`propagatingVgwSet`,CK=`parentZoneId`,wK=`parentZoneName`,TK=`platform`,EK=`placement`,DK=`primary`,OK=`progress`,kK=`return`,AK=`rootDeviceName`,jK=`rootDeviceType`,MK=`restoreExpiryTime`,NK=`regionEndpoint`,PK=`resourceExclusions`,FK=`referencedGroupId`,IK=`referencedGroupInfo`,LK=`reservationId`,RK=`ramdiskId`,zK=`regionInfo`,BK=`requesterId`,VK=`rebootMigrationSupport`,HK=`rebootMigration`,UK=`regionName`,WK=`revokedSecurityGroupRuleSet`,GK=`reservationSet`,KK=`routeSet`,qK=`routeTableAssociationId`,JK=`routeTableId`,YK=`routeTableSet`,XK=`resourceType`,ZK=`routeTable`,QK=`ramdisk`,$K=`reason`,eq=`smithy.ts.sdk.synthetic.com.amazonaws.ec2`,tq=`supportedArchitectures`,nq=`subnetArn`,rq=`supportedBootModes`,iq=`sustainedClockSpeedInGhz`,aq=`sourceDestCheck`,oq=`spreadDomain`,sq=`supportedFeatures`,cq=`securityGroupArn`,lq=`securityGroupInfo`,uq=`securityGroupRuleArn`,dq=`securityGroupRuleId`,fq=`securityGroupRuleSet`,pq=`subGeographySet`,mq=`sizeInGB`,hq=`sourceInstanceId`,gq=`secondaryInterfaceId`,_q=`sourceImageId`,vq=`sizeInMiB`,yq=`sourceImageRegion`,bq=`spotInstanceRequestId`,xq=`supportedInRegion`,Sq=`secondaryInterfaceSet`,Cq=`snapshotId`,wq=`subnetId`,Tq=`spreadLevel`,Eq=`statusMessage`,Dq=`stateMessage`,Oq=`secondaryNetworkId`,kq=`secondaryNetworkSupported`,Aq=`sriovNetSupport`,jq=`secondaryPrivateIpAddressCount`,Mq=`supportedRootDeviceTypes`,Nq=`stateReason`,Pq=`sourceSecurityGroupName`,Fq=`sourceSecurityGroupOwnerId`,Iq=`secondarySubnetId`,Lq=`snapshotSet`,Rq=`subnetSet`,zq=`supportedStrategies`,Bq=`startTime`,Vq=`sseType`,Hq=`storageTier`,Uq=`supportedUsageClasses`,Wq=`sourceVolumeId`,Gq=`supportedVirtualizationTypes`,Kq=`supportedVersions`,qq=`size`,Jq=`state`,Yq=`status`,Xq=`strategy`,Zq=`subnet`,Qq=`tenancy`,$q=`tcpEstablishedTimeout`,eJ=`totalFpgaMemoryInMiB`,tJ=`transitGatewayId`,nJ=`totalGpuMemoryInMiB`,rJ=`totalInferenceMemoryInMiB`,iJ=`targetIops`,aJ=`targetMultiAttachEnabled`,oJ=`totalMediaMemoryInMiB`,sJ=`totalNeuronDeviceMemoryInMiB`,cJ=`toPort`,lJ=`threadsPerCore`,uJ=`tagSet`,dJ=`totalSizeInGB`,fJ=`targetSize`,pJ=`tpmSupport`,mJ=`targetThroughput`,hJ=`transferType`,gJ=`targetVolumeType`,_J=`throughput`,vJ=`timestamp`,yJ=`type`,bJ=`userData`,xJ=`userId`,SJ=`unknownIpPermissionSet`,CJ=`usageOperation`,wJ=`usageOperationUpdateTime`,TJ=`udpStreamTimeout`,EJ=`udpTimeout`,DJ=`value`,OJ=`vCpuInfo`,kJ=`validCores`,AJ=`vpcEncryptionControlId`,jJ=`vpcId`,MJ=`volumeInitializationRate`,NJ=`volumeId`,PJ=`vpcLattice`,FJ=`volumeModification`,IJ=`virtualName`,LJ=`volumeOwnerId`,RJ=`vpcPeeringConnectionId`,zJ=`virtualPrivateGateway`,BJ=`vpcPeering`,VJ=`volumeSet`,HJ=`volumeSize`,UJ=`vpcSet`,WJ=`volumeType`,GJ=`validThreadsPerCore`,KJ=`virtualizationType`,qJ=`version`,JJ=`vpc`,YJ=`workloadSet`,W=`xmlName`,XJ=`zoneId`,ZJ=`zoneName`,QJ=`zoneState`,$J=`zoneType`,G=`com.amazonaws.ec2`,eY=pw.for(eq),tY=[-3,eq,`EC2ServiceException`,0,[],[]];eY.registerError(tY,Tie);var nY=[eY],rY=[0,G,noe,8,0],iY=[0,G,mN,8,0],aY=[0,G,WF,8,0],oY=[0,G,nR,8,0],sY=[3,G,zie,0,[vI,Xk,oF,_k,kL],[[0,{[H]:`RouteTableId`,[W]:JK}],0,0,[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`SubnetId`,[W]:wq}]],1],cY=[3,G,Bie,0,[bO,wO],[[0,{[H]:`AssociationId`,[W]:uB}],[()=>YQ,{[H]:`AssociationState`,[W]:yB}]]],lY=[3,G,Nie,0,[bA,_z,_k],[[0,{[H]:`InternetGatewayId`,[W]:MU}],[0,{[H]:`VpcId`,[W]:jJ}],[2,{[H]:`DryRun`,[W]:zV}]],2],uY=[3,G,Xie,0,[yk,xA,Cz,xk,_k],[0,0,0,1,[2,{[H]:`DryRun`,[W]:zV}]],3],dY=[3,G,Die,0,[rz],[[2,{[H]:`Value`,[W]:DJ}]]],fY=[3,G,Zie,0,[rz],[[0,{[H]:`Value`,[W]:DJ}]]],pY=[3,G,Wie,0,[Qk,MR,_k,KL,qL,Tj,Gk,kR,qO,Cj],[[0,{[H]:`GroupId`,[W]:JH}],[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`SourceSecurityGroupName`,[W]:Pq}],[0,{[H]:`SourceSecurityGroupOwnerId`,[W]:Fq}],[0,{[H]:`IpProtocol`,[W]:ZU}],[1,{[H]:`FromPort`,[W]:RH}],[1,{[H]:`ToPort`,[W]:cJ}],[0,{[H]:`CidrIp`,[W]:nV}],[()=>y1,{[H]:`IpPermissions`,[W]:QU}]],1],mY=[3,G,Gie,0,[kF,qI],[[2,{[H]:`Return`,[W]:kK}],[()=>T1,{[H]:`SecurityGroupRuleSet`,[W]:fq}]]],hY=[3,G,Kie,0,[qO,Gk,Qk,eA,Cj,Tj,KL,qL,kR,MR,_k],[0,1,0,0,[()=>y1,0],0,0,0,1,[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}]]],gY=[3,G,qie,0,[kF,qI],[[2,{[H]:`Return`,[W]:kK}],[()=>T1,{[H]:`SecurityGroupRuleSet`,[W]:fq}]]],_Y=[3,G,DO,0,[_P,FN,tI,nB,$z,eA,zN,aB,CF,SF,ele,nA,VI,lR],[[0,{[H]:`OptInStatus`,[W]:zG}],[()=>j$,{[H]:`MessageSet`,[W]:rG}],[0,{[H]:`RegionName`,[W]:UK}],[0,{[H]:`ZoneName`,[W]:ZJ}],[0,{[H]:`ZoneId`,[W]:XJ}],[0,{[H]:`GroupName`,[W]:XH}],[0,{[H]:`NetworkBorderGroup`,[W]:mG}],[0,{[H]:`ZoneType`,[W]:$J}],[0,{[H]:`ParentZoneName`,[W]:wK}],[0,{[H]:`ParentZoneId`,[W]:CK}],[0,{[H]:`GroupLongName`,[W]:YH}],[()=>k$,{[H]:`GeographySet`,[W]:$H}],[()=>M$,{[H]:`SubGeographySet`,[W]:pq}],[0,{[H]:`ZoneState`,[W]:QJ}]]],vY=[3,G,$ie,0,[RN],[[0,{[H]:`Name`,[W]:pG}]]],yY=[3,G,nae,0,[PN],[[0,{[H]:`Message`,[W]:uG}]]],bY=[3,G,iae,0,[RN],[[0,{[H]:`Name`,[W]:pG}]]],xY=[3,G,uae,0,[rz],[[21,{[H]:`Value`,[W]:DJ}]]],SY=[3,G,IO,0,[Bk,WN,mk,jz],[[()=>BX,{[H]:`Ebs`,[W]:NH}],[0,{[H]:`NoDevice`,[W]:_G}],[0,{[H]:`DeviceName`,[W]:MV}],[0,{[H]:`VirtualName`,[W]:IJ}]]],CY=[3,G,BO,0,[Mle],[[0,{[H]:`InternetGatewayBlockMode`,[W]:jU}]]],wY=[3,G,tk,0,[$O,nk],[0,()=>EY]],TY=[3,G,Kae,0,[$O,nk],[[0,{[H]:`CapacityReservationPreference`,[W]:dV}],[()=>DY,{[H]:`CapacityReservationTarget`,[W]:mV}]]],EY=[3,G,nk,0,[QO,ek],[0,0]],DY=[3,G,qae,0,[QO,ek],[[0,{[H]:`CapacityReservationId`,[W]:uV}],[0,{[H]:`CapacityReservationResourceGroupArn`,[W]:fV}]]],OY=[3,G,moe,0,[hR,tz,nz],[1,1,1]],kY=[3,G,hoe,0,[hR,tz,nz],[[1,{[H]:`TcpEstablishedTimeout`,[W]:$q}],[1,{[H]:`UdpStreamTimeout`,[W]:TJ}],[1,{[H]:`UdpTimeout`,[W]:EJ}]]],AY=[3,G,toe,0,[WL,JL,vk,$oe,fse,Hk,gM,vF,MR,GO,Soe,_k],[0,0,0,0,[0,{[H]:`DestinationRegion`,[W]:BV}],[2,{[H]:`Encrypted`,[W]:FH}],[0,{[H]:`KmsKeyId`,[W]:wW}],[()=>rY,{[H]:`PresignedUrl`,[W]:xK}],[()=>D1,{[W]:FR}],1,0,[2,{[H]:`DryRun`,[W]:zV}]],2],jY=[3,G,roe,0,[mR,CL],[[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`SnapshotId`,[W]:Cq}]]],MY=[3,G,ZO,0,[WO,AR,TO,fP],[[1,{[H]:`CoreCount`,[W]:YB}],[1,{[H]:`ThreadsPerCore`,[W]:lJ}],[0,{[H]:`AmdSevSnp`,[W]:bB}],[0,{[H]:`NestedVirtualization`,[W]:PG}]]],NY=[3,G,Bae,0,[WO,AR,TO,fP],[1,1,0,0]],PY=[3,G,Mae,0,[xA,RN,MR,AL,_k,vk,oP,LO],[[0,{[H]:`InstanceId`,[W]:PU}],[0,{[H]:`Name`,[W]:pG}],[()=>D1,{[W]:FR}],0,[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`Description`,[W]:qV}],[2,{[H]:`NoReboot`,[W]:kG}],[()=>F$,{[H]:`BlockDeviceMapping`,[W]:IB}]],2],FY=[3,G,Nae,0,[jA],[[0,{[H]:`ImageId`,[W]:LU}]]],IY=[3,G,Aae,0,[MR,_k],[[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}]]],LY=[3,G,jae,0,[yA],[[()=>XZ,{[H]:`InternetGateway`,[W]:AU}]]],RY=[3,G,Lae,0,[vM,OM,MR,pM,_k],[0,0,[()=>D1,{[W]:FR}],0,[2,{[H]:`DryRun`,[W]:zV}]],1],zY=[3,G,Hae,0,[LP,MR,ML,IM,OP,_k,eA,dR],[1,[()=>D1,{[W]:FR}],0,0,()=>CQ,[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`GroupName`,[W]:XH}],[0,{[H]:`Strategy`,[W]:Xq}]]],BY=[3,G,Uae,0,[qP],[[()=>EQ,{[H]:`PlacementGroup`,[W]:iK}]]],VY=[3,G,Wae,0,[vI,gk,gz,_R,FM,KO,XO,xP,_k,dk,Xk,pk,kk,xA,eP,Nz,$N],[[0,{[H]:`RouteTableId`,[W]:JK}],0,0,0,0,0,0,0,[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`DestinationCidrBlock`,[W]:wV}],[0,{[H]:`GatewayId`,[W]:KH}],[0,{[H]:`DestinationIpv6CidrBlock`,[W]:jV}],[0,{[H]:`EgressOnlyInternetGatewayId`,[W]:vH}],[0,{[H]:`InstanceId`,[W]:PU}],[0,{[H]:`NetworkInterfaceId`,[W]:SG}],[0,{[H]:`VpcPeeringConnectionId`,[W]:RJ}],[0,{[H]:`NatGatewayId`,[W]:xG}]],1],HY=[3,G,Gae,0,[kF],[[2,{[H]:`Return`,[W]:kK}]]],UY=[3,G,Jae,0,[_z,MR,rk,_k],[[0,{[H]:`VpcId`,[W]:jJ}],[()=>D1,{[W]:FR}],[0,4],[2,{[H]:`DryRun`,[W]:zV}]],1],WY=[3,G,Yae,0,[CI,rk],[[()=>qQ,{[H]:`RouteTable`,[W]:ZK}],[0,{[H]:`ClientToken`,[W]:gV}]]],GY=[3,G,$ae,0,[vk,eA,_z,MR,_k],[[0,{[W]:qce}],0,0,[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}]],2],KY=[3,G,eoe,0,[Qk,mR,HI],[[0,{[H]:`GroupId`,[W]:JH}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`SecurityGroupArn`,[W]:cq}]]],qY=[3,G,ioe,0,[Cz,vk,mP,MR,XM,_k],[0,0,0,[()=>D1,{[W]:FR}],0,[2,{[H]:`DryRun`,[W]:zV}]],1],JY=[3,G,aoe,0,[_z,MR,DO,OO,UO,hA,mP,YA,wA,rj,CA,nj,_k],[0,[()=>D1,{[W]:FR}],0,0,0,0,0,2,0,1,0,1,[2,{[H]:`DryRun`,[W]:zV}]],1],YY=[3,G,ooe,0,[fR],[[()=>s$,{[H]:`Subnet`,[W]:Zq}]]],XY=[3,G,_oe,0,[DO,OO,Hk,dM,gM,mP,oR,CL,Bz,MR,ZM,UR,rk,bz,OP,_k],[0,0,[2,{[H]:`Encrypted`,[W]:FH}],1,0,0,1,0,0,[()=>D1,{[W]:FR}],2,1,[0,4],1,()=>CQ,[2,{[H]:`DryRun`,[W]:zV}]]],ZY=[3,G,voe,0,[UO,Dj,hA,wA,rj,CA,nj,Cle,dz,MR,_k,rM,Lie],[0,0,0,0,1,0,1,0,()=>C$,[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`InstanceTenancy`,[W]:vW}],[2,{[H]:`AmazonProvidedIpv6CidrBlock`,[W]:hB}]]],QY=[3,G,yoe,0,[Yz],[[()=>y$,{[H]:`Vpc`,[W]:JJ}]]],$Y=[3,G,soe,0,[wae],[0],1],eX=[3,G,Eoe,0,[Ase,Pse,Nse],[[1,{[H]:`DefaultTcpEstablishedTimeout`,[W]:VV}],[1,{[H]:`DefaultUdpTimeout`,[W]:GV}],[1,{[H]:`DefaultUdpStreamTimeout`,[W]:WV}]]],tX=[3,G,qoe,0,[vM,SM,_k],[0,0,[2,{[H]:`DryRun`,[W]:zV}]]],nX=[3,G,Joe,0,[kF,SM],[[2,{[H]:`Return`,[W]:kK}],[0,{[H]:`KeyPairId`,[W]:DW}]]],rX=[3,G,nse,0,[eA,_k],[[0,{[H]:`GroupName`,[W]:XH}],[2,{[H]:`DryRun`,[W]:zV}]],1],iX=[3,G,hse,0,[Qk,eA,_k],[0,0,[2,{[H]:`DryRun`,[W]:zV}]]],aX=[3,G,gse,0,[kF,Qk],[[2,{[H]:`Return`,[W]:kK}],[0,{[H]:`GroupId`,[W]:JH}]]],oX=[3,G,bse,0,[CL,_k],[0,[2,{[H]:`DryRun`,[W]:zV}]],1],sX=[3,G,xse,0,[kL,_k],[0,[2,{[H]:`DryRun`,[W]:zV}]],1],cX=[3,G,Ise,0,[Cz,_k],[0,[2,{[H]:`DryRun`,[W]:zV}]],1],lX=[3,G,Lse,0,[_z,_k],[0,[2,{[H]:`DryRun`,[W]:zV}]],1],uX=[3,G,Coe,0,[iB,tB,Eie,_k,qk],[[()=>zue,{[W]:nB}],[()=>Rue,{[W]:$z}],2,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],dX=[3,G,woe,0,[oae],[[()=>A$,{[H]:`AvailabilityZoneInfo`,[W]:EB}]]],fX=[3,G,Ioe,0,[Nce,MA,AP,wle,Ole,CN,dP,_k,qk],[[()=>W$,{[W]:bk}],[()=>Z$,{[W]:jA}],[()=>b1,{[W]:jP}],2,2,1,0,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],pX=[3,G,Loe,0,[dP,sM],[[0,{[H]:`NextToken`,[W]:NG}],[()=>Q$,{[H]:`ImagesSet`,[W]:sW}]]],mX=[3,G,Roe,0,[NA,qA,_k,qk,dP,CN],[[()=>n1,{[W]:xA}],2,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}],[0,{[H]:`NextToken`,[W]:NG}],[1,{[H]:`MaxResults`,[W]:nG}]]],hX=[3,G,zoe,0,[dP,OI],[[0,{[H]:`NextToken`,[W]:NG}],[()=>due,{[H]:`ReservationSet`,[W]:GK}]]],gX=[3,G,Boe,0,[_k,iM,qk,CN,dP,oM],[2,[64,{[W]:$j}],[()=>G$,{[W]:Jk}],1,0,2]],_X=[3,G,Voe,0,[iM,dP],[[()=>h1,{[H]:`InstanceTypeSet`,[W]:hW}],[0,{[H]:`NextToken`,[W]:NG}]]],vX=[3,G,Moe,0,[dP,CN,_k,Fle,qk],[0,1,[2,{[H]:`DryRun`,[W]:zV}],[()=>_1,{[H]:`InternetGatewayId`,[W]:MU}],[()=>G$,{[W]:Jk}]]],yX=[3,G,Noe,0,[Lle,dP],[[()=>v1,{[H]:`InternetGatewaySet`,[W]:NU}],[0,{[H]:`NextToken`,[W]:NG}]]],bX=[3,G,Yoe,0,[bM,wM,gj,_k,qk],[[()=>qle,{[W]:vM}],[()=>Jle,{[W]:SM}],2,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],xX=[3,G,Xoe,0,[xM],[[()=>Yle,{[H]:`KeySet`,[W]:OW}]]],SX=[3,G,rse,0,[$k,_k,tA,qk],[[()=>nue,{[W]:Qk}],[2,{[H]:`DryRun`,[W]:zV}],[64,{[H]:`GroupName`,[W]:XH}],[()=>G$,{[W]:Jk}]]],CX=[3,G,ise,0,[QP],[[()=>rue,{[H]:`PlacementGroupSet`,[W]:oK}]]],wX=[3,G,sse,0,[rI,Hie,_k,qk],[[()=>uue,{[W]:tI}],2,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],TX=[3,G,cse,0,[EI],[[()=>lue,{[H]:`RegionInfo`,[W]:zK}]]],EX=[3,G,lse,0,[dP,CN,_k,bI,qk],[0,1,[2,{[H]:`DryRun`,[W]:zV}],[()=>hue,{[W]:vI}],[()=>G$,{[W]:Jk}]]],DX=[3,G,use,0,[wI,dP],[[()=>gue,{[H]:`RouteTableSet`,[W]:YK}],[0,{[H]:`NextToken`,[W]:NG}]]],OX=[3,G,_se,0,[$k,tA,dP,CN,_k,qk],[[()=>Y$,{[W]:Qk}],[()=>X$,{[W]:eA}],0,1,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],kX=[3,G,vse,0,[dP,tL],[[0,{[H]:`NextToken`,[W]:NG}],[()=>_ue,{[H]:`SecurityGroupInfo`,[W]:lq}]]],AX=[3,G,Sse,0,[CN,dP,yP,AF,wL,_k,qk],[1,0,[()=>b1,{[W]:jP}],[64,{[W]:jF}],[()=>yue,{[W]:CL}],[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}]]],jX=[3,G,Cse,0,[dP,sR],[[0,{[H]:`NextToken`,[W]:NG}],[()=>bue,{[H]:`SnapshotSet`,[W]:Lq}]]],MX=[3,G,wse,0,[qk,rL,dP,CN,_k],[[()=>G$,{[W]:Jk}],[()=>xue,{[W]:kL}],0,1,[2,{[H]:`DryRun`,[W]:zV}]]],NX=[3,G,Tse,0,[dP,pR],[[0,{[H]:`NextToken`,[W]:NG}],[()=>Cue,{[H]:`SubnetSet`,[W]:Rq}]]],PX=[3,G,Rse,0,[wz,qA,_k,qk,dP,CN],[[()=>jue,{[W]:Cz}],2,[2,{[H]:`DryRun`,[W]:zV}],[()=>G$,{[W]:Jk}],[0,{[H]:`NextToken`,[W]:NG}],[1,{[H]:`MaxResults`,[W]:nG}]]],FX=[3,G,zse,0,[dP,qz],[[0,{[H]:`NextToken`,[W]:NG}],[()=>Mue,{[H]:`VolumeSet`,[W]:VJ}]]],IX=[3,G,Bse,0,[qk,Tz,dP,CN,_k],[[()=>G$,{[W]:Jk}],[()=>Pue,{[W]:_z}],0,1,[2,{[H]:`DryRun`,[W]:zV}]]],LX=[3,G,Vse,0,[dP,Xz],[[0,{[H]:`NextToken`,[W]:NG}],[()=>Iue,{[H]:`VpcSet`,[W]:UJ}]]],RX=[3,G,Hse,0,[Cz,yk,Uk,xA,_k],[0,0,2,0,[2,{[H]:`DryRun`,[W]:zV}]],1],zX=[3,G,Goe,0,[oL,ck,GR],[[1,{[H]:`SizeInGB`,[W]:mq}],[1,{[H]:`Count`,[W]:SV}],[0,{[H]:`Type`,[W]:yJ}]]],BX=[3,G,Yse,0,[hk,dM,CL,zz,Bz,gM,UR,mP,DO,Hk,bz,OO,xk],[[2,{[H]:`DeleteOnTermination`,[W]:IV}],[1,{[H]:`Iops`,[W]:bW}],[0,{[H]:`SnapshotId`,[W]:Cq}],[1,{[H]:`VolumeSize`,[W]:HJ}],[0,{[H]:`VolumeType`,[W]:WJ}],[0,{[H]:`KmsKeyId`,[W]:wW}],[1,{[H]:`Throughput`,[W]:_J}],[0,{[H]:`OutpostArn`,[W]:IG}],[0,{[H]:`AvailabilityZone`,[W]:wB}],[2,{[H]:`Encrypted`,[W]:FH}],1,0,1]],VX=[3,G,Qse,0,[xk,FO,VO,RO,eN,DN,fN],[[1,{[H]:`EbsCardIndex`,[W]:XV}],[1,{[H]:`BaselineBandwidthInMbps`,[W]:FB}],[1,{[H]:`BaselineThroughputInMBps`,[W]:HB}],[1,{[H]:`BaselineIops`,[W]:LB}],[1,{[H]:`MaximumBandwidthInMbps`,[W]:HW}],[1,{[H]:`MaximumThroughputInMBps`,[W]:oG}],[1,{[H]:`MaximumIops`,[W]:YW}]]],HX=[3,G,Tk,0,[Ece,Rk,Ok,sP,sN,Fie,cN,$se],[[0,{[H]:`EbsOptimizedSupport`,[W]:yH}],[0,{[H]:`EncryptionSupport`,[W]:AH}],[()=>GX,{[H]:`EbsOptimizedInfo`,[W]:gH}],[0,{[H]:`NvmeSupport`,[W]:AG}],[1,{[H]:`MaximumEbsAttachments`,[W]:WW}],[0,{[H]:`AttachmentLimitType`,[W]:pB}],[1,{[H]:`MaximumEbsCards`,[W]:GW}],[()=>z$,{[H]:`EbsCardSet`,[W]:ZV}]]],UX=[3,G,yce,0,[EO,hk,uR,Cz,SO,Mz,OP,xk],[[4,{[H]:`AttachTime`,[W]:CB}],[2,{[H]:`DeleteOnTermination`,[W]:IV}],[0,{[H]:`Status`,[W]:Yq}],[0,{[H]:`VolumeId`,[W]:NJ}],[0,{[H]:`AssociatedResource`,[W]:_B}],[0,{[H]:`VolumeOwnerId`,[W]:LJ}],[()=>wQ,{[H]:`Operator`,[W]:KG}],[1,{[H]:`EbsCardIndex`,[W]:XV}]]],WX=[3,G,bce,0,[Cz,hk],[[0,{[H]:`VolumeId`,[W]:NJ}],[2,{[H]:`DeleteOnTermination`,[W]:IV}]]],GX=[3,G,Ok,0,[FO,VO,RO,eN,DN,fN],[[1,{[H]:`BaselineBandwidthInMbps`,[W]:FB}],[1,{[H]:`BaselineThroughputInMBps`,[W]:HB}],[1,{[H]:`BaselineIops`,[W]:LB}],[1,{[H]:`MaximumBandwidthInMbps`,[W]:HW}],[1,{[H]:`MaximumThroughputInMBps`,[W]:oG}],[1,{[H]:`MaximumIops`,[W]:YW}]]],KX=[3,G,Ek,0,[lN],[[1,{[H]:`MaximumEfaInterfaces`,[W]:KW}]]],qX=[3,G,ice,0,[uce,ace,sce,cce],[[0,{[H]:`ElasticGpuId`,[W]:aH}],[0,{[H]:`ElasticGpuAssociationId`,[W]:tH}],[0,{[H]:`ElasticGpuAssociationState`,[W]:nH}],[0,{[H]:`ElasticGpuAssociationTime`,[W]:iH}]]],JX=[3,G,Sk,0,[GR],[0],1],YX=[3,G,Ck,0,[GR,ck],[0,1],1],XX=[3,G,fce,0,[_ce,pce,hce,gce],[[0,{[H]:`ElasticInferenceAcceleratorArn`,[W]:oH}],[0,{[H]:`ElasticInferenceAcceleratorAssociationId`,[W]:sH}],[0,{[H]:`ElasticInferenceAcceleratorAssociationState`,[W]:cH}],[4,{[H]:`ElasticInferenceAcceleratorAssociationTime`,[W]:uH}]]],ZX=[3,G,Oce,0,[Pk,Lk],[2,()=>QX]],QX=[3,G,Ace,0,[Ik],[2]],$X=[3,G,Ak,0,[Vk],[[2,{[H]:`Enabled`,[W]:PH}]]],eZ=[3,G,Tce,0,[Vk],[2]],tZ=[3,G,Jk,0,[RN,Gz],[0,[()=>Oue,{[W]:rz}]]],nZ=[3,G,Fce,0,[RN,MN,ck,gN],[[0,{[H]:`Name`,[W]:pG}],[0,{[H]:`Manufacturer`,[W]:cG}],[1,{[H]:`Count`,[W]:SV}],[()=>rZ,{[H]:`MemoryInfo`,[W]:XW}]]],rZ=[3,G,Lce,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],iZ=[3,G,Wk,0,[Hce,gR],[[()=>K$,{[H]:`Fpgas`,[W]:UH}],[1,{[H]:`TotalFpgaMemoryInMiB`,[W]:eJ}]]],aZ=[3,G,Gce,0,[xA,qM,_k],[0,2,[2,{[H]:`DryRun`,[W]:zV}]],1],oZ=[3,G,Kce,0,[xA,WR,kP],[[0,{[H]:`InstanceId`,[W]:PU}],[4,{[H]:`Timestamp`,[W]:vJ}],[0,{[H]:`Output`,[W]:qG}]]],sZ=[3,G,Jce,0,[RN,MN,ck,PM,rle,Qz,gN],[[0,{[H]:`Name`,[W]:pG}],[0,{[H]:`Manufacturer`,[W]:cG}],[1,{[H]:`Count`,[W]:SV}],[1,{[H]:`LogicalGpuCount`,[W]:MW}],[1,{[H]:`GpuPartitionSize`,[W]:QH}],[()=>Lue,{[H]:`WorkloadSet`,[W]:YJ}],[()=>cZ,{[H]:`MemoryInfo`,[W]:XW}]]],cZ=[3,G,Xce,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],lZ=[3,G,Zk,0,[ile,vR],[[()=>q$,{[H]:`Gpus`,[W]:tU}],[1,{[H]:`TotalGpuMemoryInMiB`,[W]:nJ}]]],uZ=[3,G,$ce,0,[Qk,eA],[[0,{[H]:`GroupId`,[W]:JH}],[0,{[H]:`GroupName`,[W]:XH}]]],dZ=[3,G,iA,0,[sk],[[2,{[H]:`Configured`,[W]:xV}]]],fZ=[3,G,sle,0,[sk],[2]],pZ=[3,G,SA,0,[AO,dle],[[0,{[H]:`Arn`,[W]:kB}],[0,{[H]:`Id`,[W]:mU}]]],mZ=[3,G,TA,0,[AO,RN],[[0,{[H]:`Arn`,[W]:kB}],[0,{[H]:`Name`,[W]:pG}]]],hZ=[3,G,cM,0,[KP,$R,LO,vk,zk,lA,oj,RN,MF,NF,RL,GL,mR,Uz,zO,LR,Mse,Yj,lL,ose,RM,_le,sL,fL,Kk,jA,LA,lR,gP,Tae,OF,zP,jO,nM,hM,GF,wF],[[0,{[H]:`PlatformDetails`,[W]:rK}],[0,{[H]:`UsageOperation`,[W]:CJ}],[()=>P$,{[H]:`BlockDeviceMapping`,[W]:IB}],[0,{[H]:`Description`,[W]:qV}],[2,{[H]:`EnaSupport`,[W]:jH}],[0,{[H]:`Hypervisor`,[W]:rU}],[0,{[H]:`ImageOwnerAlias`,[W]:HU}],[0,{[H]:`Name`,[W]:pG}],[0,{[H]:`RootDeviceName`,[W]:AK}],[0,{[H]:`RootDeviceType`,[W]:jK}],[0,{[H]:`SriovNetSupport`,[W]:Aq}],[()=>i$,{[H]:`StateReason`,[W]:Nq}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`VirtualizationType`,[W]:KJ}],[0,{[H]:`BootMode`,[W]:RB}],[0,{[H]:`TpmSupport`,[W]:pJ}],[0,{[H]:`DeprecationTime`,[W]:UV}],[0,{[H]:`ImdsSupport`,[W]:lW}],[0,{[H]:`SourceInstanceId`,[W]:hq}],[0,{[H]:`DeregistrationProtection`,[W]:RV}],[0,{[H]:`LastLaunchedTime`,[W]:FW}],[2,{[H]:`ImageAllowed`,[W]:SU}],[0,{[H]:`SourceImageId`,[W]:_q}],[0,{[H]:`SourceImageRegion`,[W]:yq}],[2,{[H]:`FreeTierEligible`,[W]:VH}],[0,{[H]:`ImageId`,[W]:LU}],[0,{[H]:`ImageLocation`,[W]:RU}],[0,{[H]:`ImageState`,[W]:cW}],[0,{[H]:`ImageOwnerId`,[W]:UU}],[0,{[H]:`CreationDate`,[W]:ZB}],[2,{[H]:`IsPublic`,[W]:nW}],[()=>x1,{[H]:`ProductCodes`,[W]:XG}],[0,{[H]:`Architecture`,[W]:AB}],[0,{[H]:`ImageType`,[W]:_W}],[0,{[H]:`KernelId`,[W]:CW}],[0,{[H]:`RamdiskId`,[W]:RK}],[0,{[H]:`Platform`,[W]:TK}]]],gZ=[3,G,FA,0,[vM,uF,MR,_k],[[0,{[H]:`KeyName`,[W]:EW}],[21,{[H]:`PublicKeyMaterial`,[W]:mK}],[()=>D1,{[W]:FR}],[2,{[H]:`DryRun`,[W]:zV}]],2],_Z=[3,G,IA,0,[mM,vM,SM,mR],[[0,{[H]:`KeyFingerprint`,[W]:SW}],[0,{[H]:`KeyName`,[W]:EW}],[0,{[H]:`KeyPairId`,[W]:DW}],[()=>E1,{[H]:`TagSet`,[W]:uJ}]]],vZ=[3,G,pA,0,[kO,bR],[[()=>$$,{[H]:`Accelerators`,[W]:DB}],[1,{[H]:`TotalInferenceMemoryInMiB`,[W]:rJ}]]],yZ=[3,G,Tle,0,[ck,RN,MN,gN],[[1,{[H]:`Count`,[W]:SV}],[0,{[H]:`Name`,[W]:pG}],[0,{[H]:`Manufacturer`,[W]:cG}],[()=>bZ,{[H]:`MemoryInfo`,[W]:XW}]]],bZ=[3,G,Dle,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],xZ=[3,G,lM,0,[jO,LO,rk,Dk,zk,lA,SA,zA,lce,vce,tP,mP,MF,NF,tL,RI,dL,RL,GL,mR,Uz,ZO,xae,QO,tk,iA,YM,yN,Ak,zO,KP,$R,ez,VP,mA,LR,bN,Oae,iP,OP,xL,xA,jA,lR,BP,GP,QL,vM,Pie,zP,$j,KM,TF,hM,GF,wF,LN,kL,_z,rF,aF],[[0,{[H]:`Architecture`,[W]:AB}],[()=>e1,{[H]:`BlockDeviceMapping`,[W]:IB}],[0,{[H]:`ClientToken`,[W]:gV}],[2,{[H]:`EbsOptimized`,[W]:hH}],[2,{[H]:`EnaSupport`,[W]:jH}],[0,{[H]:`Hypervisor`,[W]:rU}],[()=>pZ,{[H]:`IamInstanceProfile`,[W]:FU}],[0,{[H]:`InstanceLifecycle`,[W]:zU}],[()=>B$,{[H]:`ElasticGpuAssociationSet`,[W]:rH}],[()=>H$,{[H]:`ElasticInferenceAcceleratorAssociationSet`,[W]:lH}],[()=>s1,{[H]:`NetworkInterfaceSet`,[W]:CG}],[0,{[H]:`OutpostArn`,[W]:IG}],[0,{[H]:`RootDeviceName`,[W]:AK}],[0,{[H]:`RootDeviceType`,[W]:jK}],[()=>J$,{[H]:`GroupSet`,[W]:eU}],[2,{[H]:`SourceDestCheck`,[W]:aq}],[0,{[H]:`SpotInstanceRequestId`,[W]:bq}],[0,{[H]:`SriovNetSupport`,[W]:Aq}],[()=>i$,{[H]:`StateReason`,[W]:Nq}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`VirtualizationType`,[W]:KJ}],[()=>MY,{[H]:`CpuOptions`,[W]:sV}],[0,{[H]:`CapacityBlockId`,[W]:qB}],[0,{[H]:`CapacityReservationId`,[W]:uV}],[()=>TY,{[H]:`CapacityReservationSpecification`,[W]:pV}],[()=>dZ,{[H]:`HibernationOptions`,[W]:sU}],[()=>Xle,{[H]:`LicenseSet`,[W]:IW}],[()=>NZ,{[H]:`MetadataOptions`,[W]:$W}],[()=>$X,{[H]:`EnclaveOptions`,[W]:bH}],[0,{[H]:`BootMode`,[W]:RB}],[0,{[H]:`PlatformDetails`,[W]:rK}],[0,{[H]:`UsageOperation`,[W]:CJ}],[4,{[H]:`UsageOperationUpdateTime`,[W]:wJ}],[()=>jQ,{[H]:`PrivateDnsNameOptions`,[W]:$G}],[0,{[H]:`Ipv6Address`,[W]:wU}],[0,{[H]:`TpmSupport`,[W]:pJ}],[()=>kZ,{[H]:`MaintenanceOptions`,[W]:eG}],[0,{[H]:`CurrentInstanceBootMode`,[W]:tV}],[()=>RZ,{[H]:`NetworkPerformanceOptions`,[W]:DG}],[()=>wQ,{[H]:`Operator`,[W]:KG}],[()=>u1,{[H]:`SecondaryInterfaceSet`,[W]:Sq}],[0,{[H]:`InstanceId`,[W]:PU}],[0,{[H]:`ImageId`,[W]:LU}],[()=>KZ,{[H]:`InstanceState`,[W]:dW}],[0,{[H]:`PrivateDnsName`,[W]:tK}],[0,{[H]:`DnsName`,[W]:PV}],[0,{[H]:`Reason`,[W]:$K}],[0,{[H]:`KeyName`,[W]:EW}],[1,{[H]:`AmiLaunchIndex`,[W]:fB}],[()=>x1,{[H]:`ProductCodes`,[W]:XG}],[0,{[H]:`InstanceType`,[W]:mW}],[4,{[H]:`LaunchTime`,[W]:LW}],[()=>TQ,{[H]:`Placement`,[W]:EK}],[0,{[H]:`KernelId`,[W]:CW}],[0,{[H]:`RamdiskId`,[W]:RK}],[0,{[H]:`Platform`,[W]:TK}],[()=>hQ,{[H]:`Monitoring`,[W]:dG}],[0,{[H]:`SubnetId`,[W]:wq}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`PrivateIpAddress`,[W]:uK}],[0,{[H]:`IpAddress`,[W]:CU}]]],SZ=[3,G,fle,0,[Pk,Lk],[[2,{[H]:`EnaSrdEnabled`,[W]:wH}],[()=>CZ,{[H]:`EnaSrdUdpSpecification`,[W]:OH}]]],CZ=[3,G,ple,0,[Ik],[[2,{[H]:`EnaSrdUdpEnabled`,[W]:DH}]]],wZ=[3,G,yle,0,[mk,Bk],[[0,{[H]:`DeviceName`,[W]:MV}],[()=>UX,{[H]:`Ebs`,[W]:NH}]]],TZ=[3,G,xle,0,[mk,Bk,jz,WN],[[0,{[H]:`DeviceName`,[W]:MV}],[()=>WX,{[H]:`Ebs`,[W]:NH}],[0,{[H]:`VirtualName`,[W]:IJ}],[0,{[H]:`NoDevice`,[W]:_G}]]],EZ=[3,G,EA,0,[kj],[[0,{[H]:`Ipv4Prefix`,[W]:$U}]]],DZ=[3,G,Rle,0,[mA,hj],[[0,{[H]:`Ipv6Address`,[W]:wU}],[2,{[H]:`IsPrimaryIpv6`,[W]:JU}]]],OZ=[3,G,DA,0,[Ej],[[0,{[H]:`Ipv6Prefix`,[W]:tW}]]],kZ=[3,G,VA,0,[CO,eI],[[0,{[H]:`AutoRecovery`,[W]:vB}],[0,{[H]:`RebootMigration`,[W]:HK}]]],AZ=[3,G,HA,0,[CO],[0]],jZ=[3,G,UA,0,[EN,BL],[0,()=>t$]],MZ=[3,G,WA,0,[sA,oA,rA,aA,JA],[0,1,0,0,0]],NZ=[3,G,GA,0,[lR,sA,oA,rA,aA,JA],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`HttpTokens`,[W]:fU}],[1,{[H]:`HttpPutResponseHopLimit`,[W]:lU}],[0,{[H]:`HttpEndpoint`,[W]:aU}],[0,{[H]:`HttpProtocolIpv6`,[W]:cU}],[0,{[H]:`InstanceMetadataTags`,[W]:BU}]]],PZ=[3,G,XA,0,[MO,NO,vk,Yk,uA,$M,eP,gP,BP,rF,iF,RI,uR,kL,_z,aM,Oj,Sj,ik,OP],[[()=>FZ,{[H]:`Association`,[W]:jB}],[()=>IZ,{[H]:`Attachment`,[W]:MB}],[0,{[H]:`Description`,[W]:qV}],[()=>J$,{[H]:`GroupSet`,[W]:eU}],[()=>i1,{[H]:`Ipv6AddressesSet`,[W]:xU}],[0,{[H]:`MacAddress`,[W]:VW}],[0,{[H]:`NetworkInterfaceId`,[W]:SG}],[0,{[H]:`OwnerId`,[W]:RG}],[0,{[H]:`PrivateDnsName`,[W]:tK}],[0,{[H]:`PrivateIpAddress`,[W]:uK}],[()=>l1,{[H]:`PrivateIpAddressesSet`,[W]:cK}],[2,{[H]:`SourceDestCheck`,[W]:aq}],[0,{[H]:`Status`,[W]:Yq}],[0,{[H]:`SubnetId`,[W]:wq}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`InterfaceType`,[W]:yW}],[()=>r1,{[H]:`Ipv4PrefixSet`,[W]:YU}],[()=>a1,{[H]:`Ipv6PrefixSet`,[W]:XU}],[()=>kY,{[H]:`ConnectionTrackingConfiguration`,[W]:_V}],[()=>wQ,{[H]:`Operator`,[W]:KG}]]],FZ=[3,G,ZA,0,[Dae,Rae,sj,GP,$P],[[0,{[H]:`CarrierIp`,[W]:eV}],[0,{[H]:`CustomerOwnedIp`,[W]:cV}],[0,{[H]:`IpOwnerId`,[W]:GU}],[0,{[H]:`PublicDnsName`,[W]:nK}],[0,{[H]:`PublicIp`,[W]:sK}]]],IZ=[3,G,QA,0,[EO,xO,hk,fk,uR,VN,Fk,jk],[[4,{[H]:`AttachTime`,[W]:CB}],[0,{[H]:`AttachmentId`,[W]:dB}],[2,{[H]:`DeleteOnTermination`,[W]:IV}],[1,{[H]:`DeviceIndex`,[W]:AV}],[0,{[H]:`Status`,[W]:Yq}],[1,{[H]:`NetworkCardIndex`,[W]:gG}],[()=>SZ,{[H]:`EnaSrdSpecification`,[W]:TH}],[1,{[H]:`EnaQueueCount`,[W]:xH}]]],LZ=[3,G,ej,0,[Iie,hk,vk,fk,Yk,fA,uA,eP,rF,iF,HL,kL,Oie,aM,VN,Oj,dj,Sj,uj,sF,Fk,poe,jk],[[2,{[H]:`AssociatePublicIpAddress`,[W]:mB}],[2,{[H]:`DeleteOnTermination`,[W]:IV}],[0,{[H]:`Description`,[W]:qV}],[1,{[H]:`DeviceIndex`,[W]:AV}],[()=>C1,{[W]:UI}],[1,{[H]:`Ipv6AddressCount`,[W]:gU}],[()=>i1,{[H]:`Ipv6Addresses`,[W]:xU}],[0,{[H]:`NetworkInterfaceId`,[W]:SG}],[0,{[H]:`PrivateIpAddress`,[W]:uK}],[()=>oue,{[H]:`PrivateIpAddresses`,[W]:cK}],[1,{[H]:`SecondaryPrivateIpAddressCount`,[W]:jq}],[0,{[H]:`SubnetId`,[W]:wq}],2,0,1,[()=>Wle,{[W]:kj}],1,[()=>Gle,{[W]:Ej}],1,2,()=>ZX,()=>OY,1]],RZ=[3,G,ij,0,[HO],[[0,{[H]:`BandwidthWeighting`,[W]:UB}]]],zZ=[3,G,aj,0,[HO],[0]],BZ=[3,G,pj,0,[MO,EF,BP,rF],[[()=>FZ,{[H]:`Association`,[W]:jB}],[2,{[H]:`Primary`,[W]:DK}],[0,{[H]:`PrivateDnsName`,[W]:tK}],[0,{[H]:`PrivateIpAddress`,[W]:uK}]]],VZ=[3,G,Kj,0,[NO,$M,cL,gP,iF,RI,uR,YL,LL,aM],[[()=>HZ,{[H]:`Attachment`,[W]:MB}],[0,{[H]:`MacAddress`,[W]:VW}],[0,{[H]:`SecondaryInterfaceId`,[W]:gq}],[0,{[H]:`OwnerId`,[W]:RG}],[()=>d1,{[H]:`PrivateIpAddressSet`,[W]:lK}],[2,{[H]:`SourceDestCheck`,[W]:aq}],[0,{[H]:`Status`,[W]:Yq}],[0,{[H]:`SecondarySubnetId`,[W]:Iq}],[0,{[H]:`SecondaryNetworkId`,[W]:Oq}],[0,{[H]:`InterfaceType`,[W]:yW}]]],HZ=[3,G,Rj,0,[EO,xO,hk,fk,uR,VN],[[4,{[H]:`AttachTime`,[W]:CB}],[0,{[H]:`AttachmentId`,[W]:dB}],[2,{[H]:`DeleteOnTermination`,[W]:IV}],[1,{[H]:`DeviceIndex`,[W]:AV}],[0,{[H]:`Status`,[W]:Yq}],[1,{[H]:`NetworkCardIndex`,[W]:gG}]]],UZ=[3,G,Bj,0,[rF],[[0,{[H]:`PrivateIpAddress`,[W]:uK}]]],WZ=[3,G,Uj,0,[rF],[0],1],GZ=[3,G,Gj,0,[hk,fk,iF,eF,YL,aM,VN],[2,1,[()=>f1,{[W]:rF}],1,0,0,1]],KZ=[3,G,Xj,0,[ok,RN],[[1,{[H]:`Code`,[W]:bV}],[0,{[H]:`Name`,[W]:pG}]]],qZ=[3,G,Ij,0,[xA,foe,_F],[[0,{[H]:`InstanceId`,[W]:PU}],[()=>KZ,{[H]:`CurrentState`,[W]:hV}],[()=>KZ,{[H]:`PreviousState`,[W]:bK}]]],JZ=[3,G,qj,0,[NR,Jse,sP,Rk],[[1,{[H]:`TotalSizeInGB`,[W]:dJ}],[()=>R$,{[H]:`Disks`,[W]:YV}],[0,{[H]:`NvmeSupport`,[W]:AG}],[0,{[H]:`EncryptionSupport`,[W]:AH}]]],YZ=[3,G,tM,0,[$j,Eae,Kk,tR,UL,iR,gae,lA,cF,lz,gN,Jj,qj,Tk,nP,Zk,Wk,JP,pA,lle,_ae,joe,Rie,FI,XN,lP,cP,QM,rP,gF,$F,_L],[[0,{[H]:`InstanceType`,[W]:mW}],[2,{[H]:`CurrentGeneration`,[W]:$B}],[2,{[H]:`FreeTierEligible`,[W]:VH}],[()=>Eue,{[H]:`SupportedUsageClasses`,[W]:Uq}],[()=>fue,{[H]:`SupportedRootDeviceTypes`,[W]:Mq}],[()=>kue,{[H]:`SupportedVirtualizationTypes`,[W]:Gq}],[2,{[H]:`BareMetal`,[W]:zB}],[0,{[H]:`Hypervisor`,[W]:rU}],[()=>NQ,{[H]:`ProcessorInfo`,[W]:fK}],[()=>h$,{[H]:`VCpuInfo`,[W]:OJ}],[()=>dQ,{[H]:`MemoryInfo`,[W]:XW}],[2,{[H]:`InstanceStorageSupported`,[W]:oW}],[()=>JZ,{[H]:`InstanceStorageInfo`,[W]:aW}],[()=>HX,{[H]:`EbsInfo`,[W]:fH}],[()=>_Q,{[H]:`NetworkInfo`,[W]:TG}],[()=>lZ,{[H]:`GpuInfo`,[W]:qH}],[()=>iZ,{[H]:`FpgaInfo`,[W]:LH}],[()=>DQ,{[H]:`PlacementGroupInfo`,[W]:aK}],[()=>vZ,{[H]:`InferenceAcceleratorInfo`,[W]:_U}],[2,{[H]:`HibernationSupported`,[W]:dU}],[2,{[H]:`BurstablePerformanceSupported`,[W]:VB}],[2,{[H]:`DedicatedHostsSupported`,[W]:kV}],[2,{[H]:`AutoRecoverySupported`,[W]:gB}],[()=>I$,{[H]:`SupportedBootModes`,[W]:rq}],[0,{[H]:`NitroEnclavesSupport`,[W]:yG}],[0,{[H]:`NitroTpmSupport`,[W]:MG}],[()=>SQ,{[H]:`NitroTpmInfo`,[W]:jG}],[()=>cQ,{[H]:`MediaAcceleratorInfo`,[W]:BW}],[()=>xQ,{[H]:`NeuronInfo`,[W]:EG}],[0,{[H]:`PhcSupport`,[W]:yK}],[0,{[H]:`RebootMigrationSupport`,[W]:VK}],[2,{[H]:`SupportedInRegion`,[W]:xq}]]],XZ=[3,G,yA,0,[PO,bA,gP,mR],[[()=>g1,{[H]:`AttachmentSet`,[W]:SB}],[0,{[H]:`InternetGatewayId`,[W]:MU}],[0,{[H]:`OwnerId`,[W]:RG}],[()=>E1,{[H]:`TagSet`,[W]:uJ}]]],ZZ=[3,G,Ale,0,[lR,_z],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`VpcId`,[W]:jJ}]]],QZ=[3,G,wj,0,[Tj,Gk,kR,YR,Mj,Pj,pF],[[0,{[H]:`IpProtocol`,[W]:ZU}],[1,{[H]:`FromPort`,[W]:RH}],[1,{[H]:`ToPort`,[W]:cJ}],[()=>Due,{[H]:`Groups`,[W]:nU}],[()=>Ule,{[H]:`IpRanges`,[W]:rW}],[()=>Kle,{[H]:`Ipv6Ranges`,[W]:iW}],[()=>aue,{[H]:`PrefixListIds`,[W]:gK}]]],$Z=[3,G,Nj,0,[vk,qO],[[0,{[H]:`Description`,[W]:qV}],[0,{[H]:`CidrIp`,[W]:nV}]]],eQ=[3,G,bj,0,[kj],[0]],tQ=[3,G,xj,0,[Ej],[0]],nQ=[3,G,Fj,0,[vk,JO],[[0,{[H]:`Description`,[W]:qV}],[0,{[H]:`CidrIpv6`,[W]:rV}]]],rQ=[3,G,DM,0,[SM,mR,vM,mM,_M],[[0,{[H]:`KeyPairId`,[W]:DW}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`KeyName`,[W]:EW}],[0,{[H]:`KeyFingerprint`,[W]:SW}],[()=>oY,{[H]:`KeyMaterial`,[W]:TW}]]],iQ=[3,G,TM,0,[SM,OM,mR,lF,ak,vM,mM],[[0,{[H]:`KeyPairId`,[W]:DW}],[0,{[H]:`KeyType`,[W]:kW}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`PublicKey`,[W]:pK}],[4,{[H]:`CreateTime`,[W]:yV}],[0,{[H]:`KeyName`,[W]:EW}],[0,{[H]:`KeyFingerprint`,[W]:SW}]]],aQ=[3,G,GM,0,[UM,WM,Kz],[0,0,0]],oQ=[3,G,MM,0,[AM],[[0,{[H]:`LicenseConfigurationArn`,[W]:jW}]]],sQ=[3,G,jM,0,[AM],[0]],cQ=[3,G,QM,0,[kO,DR],[[()=>Qle,{[H]:`Accelerators`,[W]:DB}],[1,{[H]:`TotalMediaMemoryInMiB`,[W]:oJ}]]],lQ=[3,G,iN,0,[ck,RN,MN,gN],[[1,{[H]:`Count`,[W]:SV}],[0,{[H]:`Name`,[W]:pG}],[0,{[H]:`Manufacturer`,[W]:cG}],[()=>uQ,{[H]:`MemoryInfo`,[W]:XW}]]],uQ=[3,G,oN,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],dQ=[3,G,gN,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],fQ=[3,G,pN,0,[xA,RI,lk,_k,lae,rz,LO,uk,$j,kM,TI,qR,OA,Yk,Dk,RL,zk],[[0,{[H]:`InstanceId`,[W]:PU}],[()=>dY,0],[()=>dY,0],[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`Attribute`,[W]:NB}],[()=>iY,{[H]:`Value`,[W]:DJ}],[()=>t1,{[H]:`BlockDeviceMapping`,[W]:IB}],[()=>dY,{[H]:`DisableApiTermination`,[W]:CV}],[()=>fY,{[H]:`InstanceType`,[W]:mW}],[()=>fY,{[H]:`Kernel`,[W]:AW}],[()=>fY,{[H]:`Ramdisk`,[W]:QK}],[()=>xY,{[H]:`UserData`,[W]:bJ}],[()=>fY,{[H]:`InstanceInitiatedShutdownBehavior`,[W]:IU}],[()=>Y$,{[W]:Qk}],[()=>dY,{[H]:`EbsOptimized`,[W]:hH}],[()=>fY,{[H]:`SriovNetSupport`,[W]:Aq}],[()=>dY,{[H]:`EnaSupport`,[W]:jH}]],1],pQ=[3,G,ON,0,[Cz,_k,oR,Bz,dM,UR,ZM],[0,2,1,0,1,1,2],1],mQ=[3,G,kN,0,[Az],[[()=>v$,{[H]:`VolumeModification`,[W]:FJ}]]],hQ=[3,G,LN,0,[lR],[[0,{[H]:`State`,[W]:Jq}]]],gQ=[3,G,UN,0,[VN,aP,vN,kie,dae,NP,koe,uN,dN],[[1,{[H]:`NetworkCardIndex`,[W]:gG}],[0,{[H]:`NetworkPerformance`,[W]:OG}],[1,{[H]:`MaximumNetworkInterfaces`,[W]:QW}],[1,{[H]:`AdditionalFlexibleNetworkInterfaces`,[W]:oB}],[1,{[H]:`BaselineBandwidthInGbps`,[W]:PB}],[1,{[H]:`PeakBandwidthInGbps`,[W]:YG}],[1,{[H]:`DefaultEnaQueueCountPerInterface`,[W]:DV}],[1,{[H]:`MaximumEnaQueueCount`,[W]:qW}],[1,{[H]:`MaximumEnaQueueCountPerInterface`,[W]:JW}]]],_Q=[3,G,nP,0,[aP,vN,_N,Qoe,BN,mle,hle,Qj,zk,jce,Ek,xce,kce,yae,Rce,ik,zL,wN,gle],[[0,{[H]:`NetworkPerformance`,[W]:OG}],[1,{[H]:`MaximumNetworkInterfaces`,[W]:QW}],[1,{[H]:`MaximumNetworkCards`,[W]:ZW}],[1,{[H]:`DefaultNetworkCardIndex`,[W]:NV}],[()=>$le,{[H]:`NetworkCards`,[W]:hG}],[1,{[H]:`Ipv4AddressesPerInterface`,[W]:vU}],[1,{[H]:`Ipv6AddressesPerInterface`,[W]:yU}],[2,{[H]:`Ipv6Supported`,[W]:pW}],[0,{[H]:`EnaSupport`,[W]:jH}],[2,{[H]:`EfaSupported`,[W]:kH}],[()=>KX,{[H]:`EfaInfo`,[W]:pH}],[2,{[H]:`EncryptionInTransitSupported`,[W]:dH}],[2,{[H]:`EnaSrdSupported`,[W]:EH}],[()=>N$,{[H]:`BandwidthWeightings`,[W]:WB}],[0,{[H]:`FlexibleEnaQueuesSupport`,[W]:IH}],[()=>eX,{[H]:`ConnectionTrackingConfiguration`,[W]:_V}],[2,{[H]:`SecondaryNetworkSupported`,[W]:kq}],[1,{[H]:`MaximumSecondaryNetworkInterfaces`,[W]:iG}],[1,{[H]:`Ipv4AddressesPerSecondaryInterface`,[W]:bU}]]],vQ=[3,G,GN,0,[ck,Kz],[[1,{[H]:`Count`,[W]:SV}],[1,{[H]:`Version`,[W]:qJ}]]],yQ=[3,G,KN,0,[ck,RN,Pae,gN],[[1,{[H]:`Count`,[W]:SV}],[0,{[H]:`Name`,[W]:pG}],[()=>vQ,{[H]:`CoreInfo`,[W]:aV}],[()=>bQ,{[H]:`MemoryInfo`,[W]:XW}]]],bQ=[3,G,JN,0,[uL],[[1,{[H]:`SizeInMiB`,[W]:vq}]]],xQ=[3,G,rP,0,[YN,OR],[[()=>eue,{[H]:`NeuronDevices`,[W]:vG}],[1,{[H]:`TotalNeuronDeviceMemoryInMiB`,[W]:sJ}]]],SQ=[3,G,cP,0,[aR],[[()=>tue,{[H]:`SupportedVersions`,[W]:Kq}]]],CQ=[3,G,SP,0,[MP],[0]],wQ=[3,G,CP,0,[NN,MP,ale],[[2,{[H]:`Managed`,[W]:lG}],[0,{[H]:`Principal`,[W]:JG}],[2,{[H]:`HiddenByDefault`,[W]:iU}]]],TQ=[3,G,TF,0,[OO,sae,eA,mF,ole,HR,zI,cle,Qk,DO],[[0,{[H]:`AvailabilityZoneId`,[W]:TB}],[0,{[H]:`Affinity`,[W]:OB}],[0,{[H]:`GroupName`,[W]:XH}],[1,{[H]:`PartitionNumber`,[W]:_K}],[0,{[H]:`HostId`,[W]:oU}],[0,{[H]:`Tenancy`,[W]:Qq}],[0,{[H]:`SpreadDomain`,[W]:oq}],[0,{[H]:`HostResourceGroupArn`,[W]:uU}],[0,{[H]:`GroupId`,[W]:JH}],[0,{[H]:`AvailabilityZone`,[W]:wB}]]],EQ=[3,G,qP,0,[eA,lR,dR,LP,Qk,mR,Uce,ML,IM,OP],[[0,{[H]:`GroupName`,[W]:XH}],[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`Strategy`,[W]:Xq}],[1,{[H]:`PartitionCount`,[W]:ZG}],[0,{[H]:`GroupId`,[W]:JH}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`GroupArn`,[W]:WH}],[0,{[H]:`SpreadLevel`,[W]:Tq}],[0,{[H]:`LinkedGroupId`,[W]:PW}],[()=>wQ,{[H]:`Operator`,[W]:KG}]]],DQ=[3,G,JP,0,[XL],[[()=>iue,{[H]:`SupportedStrategies`,[W]:zq}]]],OQ=[3,G,dF,0,[vk,dF],[[0,{[H]:`Description`,[W]:qV}],[0,{[H]:`PrefixListId`,[W]:hK}]]],kQ=[3,G,HP,0,[cA,Nk,Mk],[[0,{[H]:`HostnameType`,[W]:pU}],[2,{[H]:`EnableResourceNameDnsARecord`,[W]:CH}],[2,{[H]:`EnableResourceNameDnsAAAARecord`,[W]:SH}]]],AQ=[3,G,UP,0,[cA,Nk,Mk],[0,2,2]],jQ=[3,G,WP,0,[cA,Nk,Mk],[[0,{[H]:`HostnameType`,[W]:pU}],[2,{[H]:`EnableResourceNameDnsARecord`,[W]:CH}],[2,{[H]:`EnableResourceNameDnsAAAARecord`,[W]:SH}]]],MQ=[3,G,tF,0,[EF,rF],[[2,{[H]:`Primary`,[W]:DK}],[0,{[H]:`PrivateIpAddress`,[W]:uK}]]],NQ=[3,G,cF,0,[PI,LI,BI,MN],[[()=>O$,{[H]:`SupportedArchitectures`,[W]:tq}],[1,{[H]:`SustainedClockSpeedInGhz`,[W]:iq}],[()=>wue,{[H]:`SupportedFeatures`,[W]:sq}],[0,{[H]:`Manufacturer`,[W]:cG}]]],PQ=[3,G,RP,0,[PP,IP],[[0,{[H]:`ProductCode`,[W]:QG}],[0,{[H]:`Type`,[W]:yJ}]]],FQ=[3,G,yF,0,[Xk],[[0,{[H]:`GatewayId`,[W]:KH}]]],IQ=[3,G,HF,0,[NA,_k],[[()=>n1,{[W]:xA}],[2,{[H]:`DryRun`,[W]:zV}]],1],LQ=[3,G,iI,0,[Qk,hF,JR,_z,Nz],[[0,{[H]:`GroupId`,[W]:JH}],[0,{[H]:`PeeringStatus`,[W]:vK}],[0,{[H]:`UserId`,[W]:xJ}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`VpcPeeringConnectionId`,[W]:RJ}]]],RQ=[3,G,DI,0,[_P,nA,tI,Pce],[[0,{[H]:`OptInStatus`,[W]:zG}],[()=>cue,{[H]:`GeographySet`,[W]:$H}],[0,{[H]:`RegionName`,[W]:UK}],[0,{[H]:`RegionEndpoint`,[W]:NK}]]],zQ=[3,G,LF,0,[RN],[[0,{[H]:`Name`,[W]:pG}]]],BQ=[3,G,kI,0,[KF,gP,JF,Yk,uM],[[0,{[H]:`ReservationId`,[W]:LK}],[0,{[H]:`OwnerId`,[W]:RG}],[0,{[H]:`RequesterId`,[W]:BK}],[()=>J$,{[H]:`GroupSet`,[W]:eU}],[()=>o1,{[H]:`InstancesSet`,[W]:uW}]]],VQ=[3,G,dI,0,[ZI,Qk,vA,Tj,Gk,kR,YO,JO,dF,RF,vk],[[0,{[H]:`SecurityGroupRuleId`,[W]:dq}],[0,{[H]:`GroupId`,[W]:JH}],[2,{[H]:`IsEgress`,[W]:kU}],[0,{[H]:`IpProtocol`,[W]:ZU}],[1,{[H]:`FromPort`,[W]:RH}],[1,{[H]:`ToPort`,[W]:cJ}],[0,{[H]:`CidrIpv4`,[W]:iV}],[0,{[H]:`CidrIpv6`,[W]:rV}],[0,{[H]:`PrefixListId`,[W]:hK}],[0,{[H]:`ReferencedGroupId`,[W]:FK}],[0,{[H]:`Description`,[W]:qV}]]],HQ=[3,G,oI,0,[Qk,YI,_k,KL,qL,Tj,Gk,kR,qO,Cj],[[0,{[H]:`GroupId`,[W]:JH}],[()=>w1,{[W]:ZI}],[2,{[H]:`DryRun`,[W]:zV}],[0,{[H]:`SourceSecurityGroupName`,[W]:Pq}],[0,{[H]:`SourceSecurityGroupOwnerId`,[W]:Fq}],[0,{[H]:`IpProtocol`,[W]:ZU}],[1,{[H]:`FromPort`,[W]:RH}],[1,{[H]:`ToPort`,[W]:cJ}],[0,{[H]:`CidrIp`,[W]:nV}],[()=>y1,{[H]:`IpPermissions`,[W]:QU}]],1],UQ=[3,G,sI,0,[kF,QR,pI],[[2,{[H]:`Return`,[W]:kK}],[()=>y1,{[H]:`UnknownIpPermissionSet`,[W]:SJ}],[()=>S1,{[H]:`RevokedSecurityGroupRuleSet`,[W]:WK}]]],WQ=[3,G,cI,0,[qO,Gk,Qk,eA,Cj,Tj,KL,qL,kR,YI,_k],[0,1,0,0,[()=>y1,0],0,0,0,1,[()=>w1,{[W]:ZI}],[2,{[H]:`DryRun`,[W]:zV}]]],GQ=[3,G,lI,0,[kF,QR,pI],[[2,{[H]:`Return`,[W]:kK}],[()=>y1,{[H]:`UnknownIpPermissionSet`,[W]:SJ}],[()=>S1,{[H]:`RevokedSecurityGroupRuleSet`,[W]:WK}]]],KQ=[3,G,AI,0,[dk,pk,gk,kk,Xk,xA,cj,$N,_R,FM,KO,eP,pP,lR,Nz,XO,xP,vle],[[0,{[H]:`DestinationCidrBlock`,[W]:wV}],[0,{[H]:`DestinationIpv6CidrBlock`,[W]:jV}],[0,{[H]:`DestinationPrefixListId`,[W]:LV}],[0,{[H]:`EgressOnlyInternetGatewayId`,[W]:vH}],[0,{[H]:`GatewayId`,[W]:KH}],[0,{[H]:`InstanceId`,[W]:PU}],[0,{[H]:`InstanceOwnerId`,[W]:WU}],[0,{[H]:`NatGatewayId`,[W]:xG}],[0,{[H]:`TransitGatewayId`,[W]:tJ}],[0,{[H]:`LocalGatewayId`,[W]:NW}],[0,{[H]:`CarrierGatewayId`,[W]:QB}],[0,{[H]:`NetworkInterfaceId`,[W]:SG}],[0,{[H]:`Origin`,[W]:FG}],[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`VpcPeeringConnectionId`,[W]:RJ}],[0,{[H]:`CoreNetworkArn`,[W]:oV}],[0,{[H]:`OdbNetworkArn`,[W]:HG}],[0,{[H]:`IpAddress`,[W]:CU}]]],qQ=[3,G,CI,0,[cae,xF,vI,jI,mR,_z,gP],[[()=>mue,{[H]:`AssociationSet`,[W]:xB}],[()=>sue,{[H]:`PropagatingVgwSet`,[W]:SK}],[0,{[H]:`RouteTableId`,[W]:JK}],[()=>pue,{[H]:`RouteSet`,[W]:KK}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`OwnerId`,[W]:RG}]]],JQ=[3,G,mI,0,[jN,hI,vI,kL,Xk,oF,wO],[[2,{[H]:`Main`,[W]:sG}],[0,{[H]:`RouteTableAssociationId`,[W]:qK}],[0,{[H]:`RouteTableId`,[W]:JK}],[0,{[H]:`SubnetId`,[W]:wq}],[0,{[H]:`GatewayId`,[W]:KH}],[0,{[H]:`PublicIpv4Pool`,[W]:dK}],[()=>YQ,{[H]:`AssociationState`,[W]:yB}]]],YQ=[3,G,_I,0,[lR,FL],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`StatusMessage`,[W]:Eq}]]],XQ=[3,G,VF,0,[Vk],[[2,{[H]:`Enabled`,[W]:PH}]],1],ZQ=[3,G,UF,0,[nN,rN,LO,jA,$j,fA,uA,hM,vM,LN,TF,GF,GI,tL,kL,qR,Sk,wk,MR,HM,KA,loe,ZO,tk,iA,zM,yN,Ak,VP,bN,lk,Dce,iP,OP,xL,_k,uk,OA,rF,rk,yO,tP,SA,Dk],[1,1,[()=>F$,{[W]:IO}],0,0,1,[()=>i1,{[W]:mA}],0,0,[()=>XQ,0],[()=>TQ,0],0,[()=>C1,{[W]:UI}],[()=>vue,{[W]:nL}],0,[()=>aY,0],[()=>V$,0],[()=>U$,{[W]:Ck}],[()=>D1,{[W]:FR}],()=>aQ,()=>jZ,()=>$Y,()=>NY,()=>wY,()=>fZ,[()=>Zle,{[W]:VM}],()=>MZ,()=>eZ,()=>AQ,()=>AZ,2,2,()=>zZ,()=>CQ,[()=>p1,{[W]:SL}],[2,{[H]:`DryRun`,[W]:zV}],[2,{[H]:`DisableApiTermination`,[W]:CV}],[0,{[H]:`InstanceInitiatedShutdownBehavior`,[W]:IU}],[0,{[H]:`PrivateIpAddress`,[W]:uK}],[0,{[H]:`ClientToken`,[gW]:1,[W]:gV}],[0,{[H]:`AdditionalInfo`,[W]:lB}],[()=>c1,{[H]:`NetworkInterface`,[W]:wG}],[()=>mZ,{[H]:`IamInstanceProfile`,[W]:FU}],[2,{[H]:`EbsOptimized`,[W]:hH}]],2],QQ=[3,G,nL,0,[Qk,fj,mR,_z,HI,gP,eA,vk,Cj],[[0,{[H]:`GroupId`,[W]:JH}],[()=>y1,{[H]:`IpPermissionsEgress`,[W]:qU}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`SecurityGroupArn`,[W]:cq}],[0,{[H]:`OwnerId`,[W]:RG}],[0,{[H]:`GroupName`,[W]:XH}],[0,{[H]:`GroupDescription`,[W]:GH}],[()=>y1,{[H]:`IpPermissions`,[W]:QU}]]],$Q=[3,G,$I,0,[ZI,Qk,nle,vA,Tj,Gk,kR,YO,JO,dF,zF,vk,mR,JI],[[0,{[H]:`SecurityGroupRuleId`,[W]:dq}],[0,{[H]:`GroupId`,[W]:JH}],[0,{[H]:`GroupOwnerId`,[W]:ZH}],[2,{[H]:`IsEgress`,[W]:kU}],[0,{[H]:`IpProtocol`,[W]:ZU}],[1,{[H]:`FromPort`,[W]:RH}],[1,{[H]:`ToPort`,[W]:cJ}],[0,{[H]:`CidrIpv4`,[W]:iV}],[0,{[H]:`CidrIpv6`,[W]:rV}],[0,{[H]:`PrefixListId`,[W]:hK}],[()=>LQ,{[H]:`ReferencedGroupInfo`,[W]:IK}],[0,{[H]:`Description`,[W]:qV}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`SecurityGroupRuleArn`,[W]:uq}]]],e$=[3,G,cR,0,[hP,mP,mR,eR,FF,$L,DO,zR,GO,goe,Vce,CL,Cz,lR,IL,ZL,DF,gP,vk,zz,Hk,gM,Ooe],[[0,{[H]:`OwnerAlias`,[W]:LG}],[0,{[H]:`OutpostArn`,[W]:IG}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`StorageTier`,[W]:Hq}],[4,{[H]:`RestoreExpiryTime`,[W]:MK}],[0,{[H]:`SseType`,[W]:Vq}],[0,{[H]:`AvailabilityZone`,[W]:wB}],[0,{[H]:`TransferType`,[W]:hJ}],[1,{[H]:`CompletionDurationMinutes`,[W]:XB}],[4,{[H]:`CompletionTime`,[W]:vV}],[1,{[H]:`FullSnapshotSizeInBytes`,[W]:BH}],[0,{[H]:`SnapshotId`,[W]:Cq}],[0,{[H]:`VolumeId`,[W]:NJ}],[0,{[H]:`Status`,[W]:Yq}],[0,{[H]:`StatusMessage`,[W]:Eq}],[4,{[H]:`StartTime`,[W]:Bq}],[0,{[H]:`Progress`,[W]:OK}],[0,{[H]:`OwnerId`,[W]:RG}],[0,{[H]:`Description`,[W]:qV}],[1,{[H]:`VolumeSize`,[W]:HJ}],[2,{[H]:`Encrypted`,[W]:FH}],[0,{[H]:`KmsKeyId`,[W]:wW}],[0,{[H]:`DataEncryptionKeyId`,[W]:EV}]]],t$=[3,G,PL,0,[SN,bL,mae,Wz,Ble],[0,0,1,4,0]],n$=[3,G,pL,0,[NA,yO,_k],[[()=>n1,{[W]:xA}],[0,{[H]:`AdditionalInfo`,[W]:lB}],[2,{[H]:`DryRun`,[W]:zV}]],1],r$=[3,G,mL,0,[TL],[[()=>m1,{[H]:`InstancesSet`,[W]:uW}]]],i$=[3,G,GL,0,[ok,PN],[[0,{[H]:`Code`,[W]:bV}],[0,{[H]:`Message`,[W]:uG}]]],a$=[3,G,hL,0,[NA,ule,VL,_k,Uk],[[()=>n1,{[W]:xA}],2,2,[2,{[H]:`DryRun`,[W]:zV}],[2,{[H]:`Force`,[W]:HH}]],1],o$=[3,G,gL,0,[DL],[[()=>m1,{[H]:`InstancesSet`,[W]:uW}]]],s$=[3,G,fR,0,[OO,Sce,tN,zae,gP,jie,gA,mR,NI,mP,tce,YA,HP,BO,GR,kL,lR,_z,UO,Aie,DO,Aoe,xN],[[0,{[H]:`AvailabilityZoneId`,[W]:TB}],[1,{[H]:`EnableLniAtDeviceIndex`,[W]:mH}],[2,{[H]:`MapCustomerOwnedIpOnLaunch`,[W]:UW}],[0,{[H]:`CustomerOwnedIpv4Pool`,[W]:lV}],[0,{[H]:`OwnerId`,[W]:RG}],[2,{[H]:`AssignIpv6AddressOnCreation`,[W]:cB}],[()=>Sue,{[H]:`Ipv6CidrBlockAssociationSet`,[W]:EU}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`SubnetArn`,[W]:nq}],[0,{[H]:`OutpostArn`,[W]:IG}],[2,{[H]:`EnableDns64`,[W]:$V}],[2,{[H]:`Ipv6Native`,[W]:VU}],[()=>kQ,{[H]:`PrivateDnsNameOptionsOnLaunch`,[W]:eK}],[()=>CY,{[H]:`BlockPublicAccessStates`,[W]:BB}],[0,{[H]:`Type`,[W]:yJ}],[0,{[H]:`SubnetId`,[W]:wq}],[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`CidrBlock`,[W]:GB}],[1,{[H]:`AvailableIpAddressCount`,[W]:sB}],[0,{[H]:`AvailabilityZone`,[W]:wB}],[2,{[H]:`DefaultForAz`,[W]:OV}],[2,{[H]:`MapPublicIpOnLaunch`,[W]:tG}]]],c$=[3,G,II,0,[lR,FL],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`StatusMessage`,[W]:Eq}]]],l$=[3,G,iL,0,[bO,hA,_A,dA,Zj],[[0,{[H]:`AssociationId`,[W]:uB}],[0,{[H]:`Ipv6CidrBlock`,[W]:TU}],[()=>c$,{[H]:`Ipv6CidrBlockState`,[W]:DU}],[0,{[H]:`Ipv6AddressAttribute`,[W]:hU}],[0,{[H]:`IpSource`,[W]:fW}]]],u$=[3,G,VR,0,[fM,rz],[[0,{[H]:`Key`,[W]:xW}],[0,{[H]:`Value`,[W]:DJ}]]],d$=[3,G,FR,0,[SI,mR],[[0,{[H]:`ResourceType`,[W]:XK}],[()=>E1,{[W]:VR}]]],f$=[3,G,xR,0,[NA,Uk,VL,_k],[[()=>n1,{[W]:xA}],2,2,[2,{[H]:`DryRun`,[W]:zV}]],1],p$=[3,G,SR,0,[wR],[[()=>m1,{[H]:`InstancesSet`,[W]:uW}]]],m$=[3,G,ZR,0,[vk,JR,eA,Qk,_z,Nz,hF],[[0,{[H]:`Description`,[W]:qV}],[0,{[H]:`UserId`,[W]:xJ}],[0,{[H]:`GroupName`,[W]:XH}],[0,{[H]:`GroupId`,[W]:JH}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`VpcPeeringConnectionId`,[W]:RJ}],[0,{[H]:`PeeringStatus`,[W]:vK}]]],h$=[3,G,lz,0,[Fse,Doe,jse,uz,Hz],[[1,{[H]:`DefaultVCpus`,[W]:KV}],[1,{[H]:`DefaultCores`,[W]:TV}],[1,{[H]:`DefaultThreadsPerCore`,[W]:HV}],[()=>L$,{[H]:`ValidCores`,[W]:kJ}],[()=>Tue,{[H]:`ValidThreadsPerCore`,[W]:GJ}]]],g$=[3,G,Jz,0,[OO,mP,rR,dM,mR,Bz,Bce,ZM,UR,$L,OP,bz,Cz,oR,CL,DO,lR,ak,PO,Hk,gM],[[0,{[H]:`AvailabilityZoneId`,[W]:TB}],[0,{[H]:`OutpostArn`,[W]:IG}],[0,{[H]:`SourceVolumeId`,[W]:Wq}],[1,{[H]:`Iops`,[W]:bW}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[0,{[H]:`VolumeType`,[W]:WJ}],[2,{[H]:`FastRestored`,[W]:zH}],[2,{[H]:`MultiAttachEnabled`,[W]:zW}],[1,{[H]:`Throughput`,[W]:_J}],[0,{[H]:`SseType`,[W]:Vq}],[()=>wQ,{[H]:`Operator`,[W]:KG}],[1,{[H]:`VolumeInitializationRate`,[W]:MJ}],[0,{[H]:`VolumeId`,[W]:NJ}],[1,{[H]:`Size`,[W]:qq}],[0,{[H]:`SnapshotId`,[W]:Cq}],[0,{[H]:`AvailabilityZone`,[W]:wB}],[0,{[H]:`Status`,[W]:Yq}],[4,{[H]:`CreateTime`,[W]:yV}],[()=>Aue,{[H]:`AttachmentSet`,[W]:SB}],[2,{[H]:`Encrypted`,[W]:FH}],[0,{[H]:`KmsKeyId`,[W]:wW}]]],_$=[3,G,az,0,[hk,SO,lj,xk,Cz,xA,yk,lR,EO],[[2,{[H]:`DeleteOnTermination`,[W]:IV}],[0,{[H]:`AssociatedResource`,[W]:_B}],[0,{[H]:`InstanceOwningService`,[W]:KU}],[1,{[H]:`EbsCardIndex`,[W]:XV}],[0,{[H]:`VolumeId`,[W]:NJ}],[0,{[H]:`InstanceId`,[W]:PU}],[0,{[H]:`Device`,[W]:JV}],[0,{[H]:`Status`,[W]:Yq}],[4,{[H]:`AttachTime`,[W]:CB}]]],v$=[3,G,Az,0,[Cz,TN,FL,IR,CR,BR,RR,ER,TP,vP,DP,EP,bP,DF,ZL,Mce,OP],[[0,{[H]:`VolumeId`,[W]:NJ}],[0,{[H]:`ModificationState`,[W]:aG}],[0,{[H]:`StatusMessage`,[W]:Eq}],[1,{[H]:`TargetSize`,[W]:fJ}],[1,{[H]:`TargetIops`,[W]:iJ}],[0,{[H]:`TargetVolumeType`,[W]:gJ}],[1,{[H]:`TargetThroughput`,[W]:mJ}],[2,{[H]:`TargetMultiAttachEnabled`,[W]:aJ}],[1,{[H]:`OriginalSize`,[W]:UG}],[1,{[H]:`OriginalIops`,[W]:BG}],[0,{[H]:`OriginalVolumeType`,[W]:GG}],[1,{[H]:`OriginalThroughput`,[W]:WG}],[2,{[H]:`OriginalMultiAttachEnabled`,[W]:VG}],[1,{[H]:`Progress`,[W]:OK}],[4,{[H]:`StartTime`,[W]:Bq}],[4,{[H]:`EndTime`,[W]:MH}],[()=>wQ,{[H]:`Operator`,[W]:KG}]]],y$=[3,G,Yz,0,[gP,rM,gA,bae,kle,ece,mR,BO,_z,lR,UO,ese],[[0,{[H]:`OwnerId`,[W]:RG}],[0,{[H]:`InstanceTenancy`,[W]:vW}],[()=>Fue,{[H]:`Ipv6CidrBlockAssociationSet`,[W]:EU}],[()=>Nue,{[H]:`CidrBlockAssociationSet`,[W]:KB}],[2,{[H]:`IsDefault`,[W]:OU}],[()=>S$,{[H]:`EncryptionControl`,[W]:QV}],[()=>E1,{[H]:`TagSet`,[W]:uJ}],[()=>CY,{[H]:`BlockPublicAccessStates`,[W]:BB}],[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`CidrBlock`,[W]:GB}],[0,{[H]:`DhcpOptionsId`,[W]:FV}]]],b$=[3,G,oz,0,[bO,UO,Sae],[[0,{[H]:`AssociationId`,[W]:uB}],[0,{[H]:`CidrBlock`,[W]:GB}],[()=>x$,{[H]:`CidrBlockState`,[W]:JB}]]],x$=[3,G,cz,0,[lR,FL],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`StatusMessage`,[W]:Eq}]]],S$=[3,G,dz,0,[_z,hz,IN,lR,IL,IF,mR],[[0,{[H]:`VpcId`,[W]:jJ}],[0,{[H]:`VpcEncryptionControlId`,[W]:AJ}],[0,{[H]:`Mode`,[W]:fG}],[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`StateMessage`,[W]:Dq}],[()=>T$,{[H]:`ResourceExclusions`,[W]:PK}],[()=>E1,{[H]:`TagSet`,[W]:uJ}]]],C$=[3,G,fz,0,[IN,Nle,wce,QN,Iz,Pz,NM,Dz,rce],[0,0,0,0,0,0,0,0,0],1],w$=[3,G,pz,0,[lR,IL],[[0,{[H]:`State`,[W]:Jq}],[0,{[H]:`StateMessage`,[W]:Dq}]]],T$=[3,G,mz,0,[yA,Cce,ZN,Fz,Lz,JM,Ez,nce],[[()=>w$,{[H]:`InternetGateway`,[W]:AU}],[()=>w$,{[H]:`EgressOnlyInternetGateway`,[W]:_H}],[()=>w$,{[H]:`NatGateway`,[W]:bG}],[()=>w$,{[H]:`VirtualPrivateGateway`,[W]:zJ}],[()=>w$,{[H]:`VpcPeering`,[W]:BJ}],[()=>w$,{[H]:`Lambda`,[W]:RW}],[()=>w$,{[H]:`VpcLattice`,[W]:PJ}],[()=>w$,{[H]:`ElasticFileSystem`,[W]:eH}]]],E$=[3,G,vz,0,[bO,hA,_A,zN,Dj,dA,Zj],[[0,{[H]:`AssociationId`,[W]:uB}],[0,{[H]:`Ipv6CidrBlock`,[W]:TU}],[()=>x$,{[H]:`Ipv6CidrBlockState`,[W]:DU}],[0,{[H]:`NetworkBorderGroup`,[W]:mG}],[0,{[H]:`Ipv6Pool`,[W]:eW}],[0,{[H]:`Ipv6AddressAttribute`,[W]:hU}],[0,{[H]:`IpSource`,[W]:fW}]]],D$=`unit`,O$=[1,G,Yie,0,[0,{[W]:U}]],k$=[1,G,eae,0,[()=>vY,{[W]:U}]],A$=[1,G,tae,0,[()=>_Y,{[W]:U}]],j$=[1,G,rae,0,[()=>yY,{[W]:U}]],M$=[1,G,aae,0,[()=>bY,{[W]:U}]],N$=[1,G,vae,0,[0,{[W]:U}]],P$=[1,G,fae,0,[()=>SY,{[W]:U}]],F$=[1,G,pae,0,[()=>SY,{[W]:IO}]],I$=[1,G,hae,0,[0,{[W]:U}]],L$=[1,G,Cae,0,[1,{[W]:U}]],R$=[1,G,Foe,0,[()=>zX,{[W]:U}]],z$=[1,G,Zse,0,[()=>VX,{[W]:U}]],B$=[1,G,oce,0,[()=>qX,{[W]:U}]],V$=[1,G,dce,0,[()=>JX,{[W]:U}]],H$=[1,G,mce,0,[()=>XX,{[W]:U}]],U$=[1,G,wk,0,[()=>YX,{[W]:U}]],W$=[1,G,Xse,0,[0,{[W]:bk}]],G$=[1,G,zce,0,[()=>tZ,{[W]:Jk}]],K$=[1,G,Ice,0,[()=>nZ,{[W]:U}]],q$=[1,G,Yce,0,[()=>sZ,{[W]:U}]],J$=[1,G,Zce,0,[()=>uZ,{[W]:U}]],Y$=[1,G,Qce,0,[0,{[W]:JH}]],X$=[1,G,tle,0,[0,{[W]:eA}]],Z$=[1,G,kA,0,[0,{[W]:jA}]],Q$=[1,G,RA,0,[()=>hZ,{[W]:U}]],$$=[1,G,Ele,0,[()=>yZ,0]],e1=[1,G,ble,0,[()=>wZ,{[W]:U}]],t1=[1,G,Sle,0,[()=>TZ,{[W]:U}]],n1=[1,G,AA,0,[0,{[W]:xA}]],r1=[1,G,Vle,0,[()=>EZ,{[W]:U}]],i1=[1,G,zle,0,[()=>DZ,{[W]:U}]],a1=[1,G,Hle,0,[()=>OZ,{[W]:U}]],o1=[1,G,BA,0,[()=>xZ,{[W]:U}]],s1=[1,G,$A,0,[()=>PZ,{[W]:U}]],c1=[1,G,tj,0,[()=>LZ,{[W]:U}]],l1=[1,G,mj,0,[()=>BZ,{[W]:U}]],u1=[1,G,zj,0,[()=>VZ,{[W]:U}]],d1=[1,G,Vj,0,[()=>UZ,{[W]:U}]],f1=[1,G,Hj,0,[()=>WZ,{[W]:U}]],p1=[1,G,Wj,0,[()=>GZ,{[W]:U}]],m1=[1,G,Lj,0,[()=>qZ,{[W]:U}]],h1=[1,G,eM,0,[()=>YZ,{[W]:U}]],g1=[1,G,jle,0,[()=>ZZ,{[W]:U}]],_1=[1,G,Ple,0,[0,{[W]:U}]],v1=[1,G,Ile,0,[()=>XZ,{[W]:U}]],y1=[1,G,_j,0,[()=>QZ,{[W]:U}]],Ule=[1,G,Aj,0,[()=>$Z,{[W]:U}]],Wle=[1,G,vj,0,[()=>eQ,{[W]:U}]],Gle=[1,G,yj,0,[()=>tQ,{[W]:U}]],Kle=[1,G,jj,0,[()=>nQ,{[W]:U}]],qle=[1,G,yM,0,[0,{[W]:vM}]],Jle=[1,G,CM,0,[0,{[W]:SM}]],Yle=[1,G,EM,0,[()=>iQ,{[W]:U}]],Xle=[1,G,LM,0,[()=>oQ,{[W]:U}]],Zle=[1,G,BM,0,[()=>sQ,{[W]:U}]],Qle=[1,G,aN,0,[()=>lQ,{[W]:U}]],$le=[1,G,HN,0,[()=>gQ,{[W]:U}]],eue=[1,G,qN,0,[()=>yQ,{[W]:U}]],tue=[1,G,uP,0,[0,{[W]:U}]],b1=[1,G,wP,0,[0,{[W]:jP}]],nue=[1,G,YP,0,[0,{[W]:Qk}]],rue=[1,G,XP,0,[()=>EQ,{[W]:U}]],iue=[1,G,ZP,0,[0,{[W]:U}]],aue=[1,G,fF,0,[()=>OQ,{[W]:U}]],oue=[1,G,nF,0,[()=>MQ,{[W]:U}]],x1=[1,G,FP,0,[()=>PQ,{[W]:U}]],sue=[1,G,bF,0,[()=>FQ,{[W]:U}]],cue=[1,G,BF,0,[()=>zQ,{[W]:U}]],lue=[1,G,XF,0,[()=>RQ,{[W]:U}]],uue=[1,G,nI,0,[0,{[W]:tI}]],due=[1,G,ZF,0,[()=>BQ,{[W]:U}]],S1=[1,G,fI,0,[()=>VQ,{[W]:U}]],fue=[1,G,PF,0,[0,{[W]:U}]],pue=[1,G,QF,0,[()=>KQ,{[W]:U}]],mue=[1,G,gI,0,[()=>JQ,{[W]:U}]],hue=[1,G,yI,0,[0,{[W]:U}]],gue=[1,G,xI,0,[()=>qQ,{[W]:U}]],C1=[1,G,WI,0,[0,{[W]:UI}]],_ue=[1,G,KI,0,[()=>QQ,{[W]:U}]],w1=[1,G,XI,0,[0,{[W]:U}]],T1=[1,G,QI,0,[()=>$Q,{[W]:U}]],vue=[1,G,eL,0,[0,{[W]:nL}]],yue=[1,G,vL,0,[0,{[W]:CL}]],bue=[1,G,jL,0,[()=>e$,{[W]:U}]],xue=[1,G,yL,0,[0,{[W]:kL}]],Sue=[1,G,aL,0,[()=>l$,{[W]:U}]],Cue=[1,G,NL,0,[()=>s$,{[W]:U}]],wue=[1,G,MI,0,[0,{[W]:U}]],E1=[1,G,TR,0,[()=>u$,{[W]:U}]],D1=[1,G,PR,0,[()=>d$,{[W]:U}]],Tue=[1,G,jR,0,[1,{[W]:U}]],Eue=[1,G,KR,0,[0,{[W]:U}]],Due=[1,G,XR,0,[()=>m$,{[W]:U}]],Oue=[1,G,Rz,0,[0,{[W]:U}]],kue=[1,G,Vz,0,[0,{[W]:U}]],Aue=[1,G,iz,0,[()=>_$,{[W]:U}]],jue=[1,G,xz,0,[0,{[W]:Cz}]],Mue=[1,G,Oz,0,[()=>g$,{[W]:U}]],Nue=[1,G,sz,0,[()=>b$,{[W]:U}]],Pue=[1,G,Sz,0,[0,{[W]:_z}]],Fue=[1,G,yz,0,[()=>E$,{[W]:U}]],Iue=[1,G,kz,0,[()=>y$,{[W]:U}]],Lue=[1,G,Zz,0,[0,{[W]:U}]],Rue=[1,G,eB,0,[0,{[W]:$z}]],zue=[1,G,rB,0,[0,{[W]:nB}]],Bue=[9,G,Vie,0,()=>sY,()=>cY],Vue=[9,G,Mie,0,()=>lY,()=>D$],Hue=[9,G,Qie,0,()=>uY,()=>_$],Uue=[9,G,Uie,0,()=>pY,()=>mY],Wue=[9,G,Jie,0,()=>hY,()=>gY],Gue=[9,G,coe,0,()=>AY,()=>jY],Kue=[9,G,Fae,0,()=>PY,()=>FY],que=[9,G,kae,0,()=>IY,()=>LY],Jue=[9,G,Iae,0,()=>RY,()=>rQ],Yue=[9,G,Vae,0,()=>zY,()=>BY],Xue=[9,G,Zae,0,()=>VY,()=>HY],Zue=[9,G,Xae,0,()=>UY,()=>WY],Que=[9,G,Qae,0,()=>GY,()=>KY],$ue=[9,G,uoe,0,()=>qY,()=>e$],ede=[9,G,doe,0,()=>JY,()=>YY],tde=[9,G,boe,0,()=>XY,()=>g$],nde=[9,G,xoe,0,()=>ZY,()=>QY],rde=[9,G,Koe,0,()=>tX,()=>nX],ide=[9,G,tse,0,()=>rX,()=>D$],ade=[9,G,mse,0,()=>iX,()=>aX],ode=[9,G,Ese,0,()=>oX,()=>D$],sde=[9,G,Dse,0,()=>sX,()=>D$],cde=[9,G,Use,0,()=>cX,()=>D$],lde=[9,G,Wse,0,()=>lX,()=>D$],ude=[9,G,Toe,0,()=>uX,()=>dX],dde=[9,G,Uoe,0,()=>fX,()=>pX],fde=[9,G,Woe,0,()=>mX,()=>hX],pde=[9,G,Hoe,0,()=>gX,()=>_X],mde=[9,G,Poe,0,()=>vX,()=>yX],hde=[9,G,Zoe,0,()=>bX,()=>xX],gde=[9,G,ase,0,()=>SX,()=>CX],_de=[9,G,pse,0,()=>wX,()=>TX],vde=[9,G,dse,0,()=>EX,()=>DX],yde=[9,G,yse,0,()=>OX,()=>kX],bde=[9,G,Ose,0,()=>AX,()=>jX],xde=[9,G,kse,0,()=>MX,()=>NX],Sde=[9,G,Gse,0,()=>PX,()=>FX],Cde=[9,G,Kse,0,()=>IX,()=>LX],wde=[9,G,qse,0,()=>RX,()=>_$],Tde=[9,G,Wce,0,()=>aZ,()=>oZ],Ede=[9,G,PA,0,()=>gZ,()=>_Z],Dde=[9,G,hN,0,()=>fQ,()=>D$],Ode=[9,G,AN,0,()=>pQ,()=>mQ],kde=[9,G,qF,0,()=>IQ,()=>D$],Ade=[9,G,aI,0,()=>HQ,()=>UQ],jde=[9,G,uI,0,()=>WQ,()=>GQ],Mde=[9,G,YF,0,()=>ZQ,()=>BQ],Nde=[9,G,EL,0,()=>n$,()=>r$],Pde=[9,G,OL,0,()=>a$,()=>o$],Fde=[9,G,yR,0,()=>f$,()=>p$],Ide=e=>({apiVersion:`2016-11-15`,base64Decoder:e?.base64Decoder??DC,base64Encoder:e?.base64Encoder??OC,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??wie,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??eie,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new WD}],logger:e?.logger??new ID,protocol:e?.protocol??hie,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.ec2`,errorTypeRegistries:nY,xmlNamespace:`http://ec2.amazonaws.com/doc/2016-11-15`,version:`2016-11-15`,serviceTarget:`AmazonEC2`},serviceId:e?.serviceId??`EC2`,urlParser:e?.urlParser??QC,utf8Decoder:e?.utf8Decoder??$x,utf8Encoder:e?.utf8Encoder??tS}),Lde=e=>{let t=QD(e),n=()=>t().then(jD),r=Ide(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ZD,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??qD({serviceId:r.serviceId,clientVersion:rie.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??YD(`Region is missing`),requestHandler:IC.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||DE),sha256:e?.sha256??Bx,streamCollector:e?.streamCollector??RC,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},O1=e=>({setRegion(t){e.region=t},region(){return e.region}}),k1=e=>({region:e.region()}),Rde=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},zde=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Bde=(e,t)=>{let n=Object.assign(O1(e),ND(e),Vx(e),Rde(e));return t.forEach(e=>e.configure(n)),Object.assign(e,k1(n),PD(n),Hx(n),zde(n))},Vde=class extends TD{config;constructor(...[e]){let t=Lde(e||{});super(t),this.initConfig=t;let n=Bde(tie(vD(rC(uD(yD(FT(nie(t))))))),e?.extensions||[]);this.config=n,this.middlewareStack.use(rw(this.config)),this.middlewareStack.use(sD(this.config)),this.middlewareStack.use(RD(this.config)),this.middlewareStack.use(fD(this.config)),this.middlewareStack.use(oC(this.config)),this.middlewareStack.use(lC(this.config)),this.middlewareStack.use(fC(this.config)),this.middlewareStack.use(_C(this.config,{httpAuthSchemeParametersProvider:Qre,identityProviderConfigProvider:async e=>new AT({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(SC(this.config))}destroy(){super.destroy()}},Hde=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeAvailabilityZones`,{}).n(`EC2Client`,`DescribeAvailabilityZonesCommand`).sc(ude).build(){},A1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeImages`,{}).n(`EC2Client`,`DescribeImagesCommand`).sc(dde).build(){},j1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeInstances`,{}).n(`EC2Client`,`DescribeInstancesCommand`).sc(fde).build(){},Ude=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeInstanceTypes`,{}).n(`EC2Client`,`DescribeInstanceTypesCommand`).sc(pde).build(){};OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeInternetGateways`,{}).n(`EC2Client`,`DescribeInternetGatewaysCommand`).sc(mde).build();var M1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeKeyPairs`,{}).n(`EC2Client`,`DescribeKeyPairsCommand`).sc(hde).build(){},N1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribePlacementGroups`,{}).n(`EC2Client`,`DescribePlacementGroupsCommand`).sc(gde).build(){},Wde=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeRegions`,{}).n(`EC2Client`,`DescribeRegionsCommand`).sc(_de).build(){};OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeRouteTables`,{}).n(`EC2Client`,`DescribeRouteTablesCommand`).sc(vde).build();var P1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeSecurityGroups`,{}).n(`EC2Client`,`DescribeSecurityGroupsCommand`).sc(yde).build(){},F1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeSnapshots`,{}).n(`EC2Client`,`DescribeSnapshotsCommand`).sc(bde).build(){},I1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeSubnets`,{}).n(`EC2Client`,`DescribeSubnetsCommand`).sc(xde).build(){},L1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeVolumes`,{}).n(`EC2Client`,`DescribeVolumesCommand`).sc(Sde).build(){},R1=class extends OD.classBuilder().ep(KD).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AmazonEC2`,`DescribeVpcs`,{}).n(`EC2Client`,`DescribeVpcsCommand`).sc(Cde).build(){},Gde=async(e,t,n)=>({operation:LS(t).operation,region:await RS(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Kde(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`elasticloadbalancing`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var qde=e=>{let t=[];switch(e.operation){default:t.push(Kde(e))}return t},Jde=e=>{let t=GD(e);return Object.assign(t,{authSchemePreference:RS(e.authSchemePreference??[])})},Yde=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`elasticloadbalancing`}),z1={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},Xde={name:`@aws-sdk/client-elastic-load-balancing-v2`,description:`AWS SDK for JavaScript Elastic Load Balancing V2 Client for Node.js, Browser and React Native`,version:`3.1045.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-elastic-load-balancing-v2`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo elastic-load-balancing-v2`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.8`,"@aws-sdk/credential-provider-node":`^3.972.39`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-user-agent":`^3.972.38`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.24`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.7`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.6`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.3.0`,tslib:`^2.6.2`},devDependencies:{"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-elastic-load-balancing-v2`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-elastic-load-balancing-v2`}},B1=`ref`,V1=-1,H1=!0,U1=`isSet`,W1=`PartitionResult`,G1=`booleanEquals`,K1=`getAttr`,q1={[B1]:`Endpoint`},J1={[B1]:W1},Y1={},X1=[{[B1]:`Region`}],Z1={conditions:[[U1,[q1]],[U1,X1],[`aws.partition`,X1,W1],[G1,[{[B1]:`UseFIPS`},H1]],[G1,[{[B1]:`UseDualStack`},H1]],[G1,[{fn:K1,argv:[J1,`supportsDualStack`]},H1]],[G1,[{fn:K1,argv:[J1,`supportsFIPS`]},H1]],[`stringEquals`,[{fn:K1,argv:[J1,`name`]},`aws-us-gov`]]],results:[[V1],[V1,`Invalid Configuration: FIPS and custom endpoint are not supported`],[V1,`Invalid Configuration: Dualstack and custom endpoint are not supported`],[q1,Y1],[`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dualStackDnsSuffix}`,Y1],[V1,`FIPS and DualStack are enabled, but this partition does not support one or both`],[`https://elasticloadbalancing.{Region}.amazonaws.com`,Y1],[`https://elasticloadbalancing-fips.{Region}.{PartitionResult#dnsSuffix}`,Y1],[V1,`FIPS is enabled but this partition does not support FIPS`],[`https://elasticloadbalancing.{Region}.{PartitionResult#dualStackDnsSuffix}`,Y1],[V1,`DualStack is enabled but this partition does not support DualStack`],[`https://elasticloadbalancing.{Region}.{PartitionResult#dnsSuffix}`,Y1],[V1,`Invalid Configuration: Missing Region`]]},Zde=2,Q1=1e8,Qde=new Int32Array([-1,1,-1,0,13,3,1,4,Q1+12,2,5,Q1+12,3,8,6,4,7,Q1+11,5,Q1+9,Q1+10,4,11,9,6,10,Q1+8,7,Q1+6,Q1+7,5,12,Q1+5,6,Q1+4,Q1+5,3,Q1+1,14,4,Q1+2,Q1+3]),$de=IT.from(Qde,Zde,Z1.conditions,Z1.results),efe=new LT({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),tfe=(e,t={})=>efe.get(e,()=>hE($de,{endpointParams:e,logger:t.logger}));VT.aws=wE;var K=class e extends kD{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},nfe=class e extends K{name=`CertificateNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CertificateNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},rfe=class e extends K{name=`ListenerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ListenerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},ife=class e extends K{name=`TooManyCertificatesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyCertificatesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},afe=class e extends K{name=`DuplicateTagKeysException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTagKeysException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},ofe=class e extends K{name=`LoadBalancerNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`LoadBalancerNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},sfe=class e extends K{name=`RuleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RuleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},cfe=class e extends K{name=`TargetGroupNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},lfe=class e extends K{name=`TooManyTagsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTagsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},ufe=class e extends K{name=`TrustStoreNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},dfe=class e extends K{name=`InvalidRevocationContentException`;$fault=`client`;Message;constructor(t){super({name:`InvalidRevocationContentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},ffe=class e extends K{name=`RevocationContentNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationContentNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},pfe=class e extends K{name=`TooManyTrustStoreRevocationEntriesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoreRevocationEntriesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},mfe=class e extends K{name=`AllocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`AllocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},hfe=class e extends K{name=`ALPNPolicyNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`ALPNPolicyNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},gfe=class e extends K{name=`AvailabilityZoneNotSupportedException`;$fault=`client`;Message;constructor(t){super({name:`AvailabilityZoneNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},_fe=class e extends K{name=`CaCertificatesBundleNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`CaCertificatesBundleNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},vfe=class e extends K{name=`CapacityDecreaseRequestsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityDecreaseRequestsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},yfe=class e extends K{name=`CapacityReservationPendingException`;$fault=`client`;Message;constructor(t){super({name:`CapacityReservationPendingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},bfe=class e extends K{name=`CapacityUnitsLimitExceededException`;$fault=`client`;Message;constructor(t){super({name:`CapacityUnitsLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},xfe=class e extends K{name=`DuplicateListenerException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateListenerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Sfe=class e extends K{name=`IncompatibleProtocolsException`;$fault=`client`;Message;constructor(t){super({name:`IncompatibleProtocolsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Cfe=class e extends K{name=`InvalidConfigurationRequestException`;$fault=`client`;Message;constructor(t){super({name:`InvalidConfigurationRequestException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},wfe=class e extends K{name=`InvalidLoadBalancerActionException`;$fault=`client`;Message;constructor(t){super({name:`InvalidLoadBalancerActionException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Tfe=class e extends K{name=`SSLPolicyNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SSLPolicyNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Efe=class e extends K{name=`TargetGroupAssociationLimitException`;$fault=`client`;Message;constructor(t){super({name:`TargetGroupAssociationLimitException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Dfe=class e extends K{name=`TooManyActionsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyActionsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ofe=class e extends K{name=`TooManyListenersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyListenersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},kfe=class e extends K{name=`TooManyRegistrationsForTargetIdException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRegistrationsForTargetIdException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Afe=class e extends K{name=`TooManyTargetsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},jfe=class e extends K{name=`TooManyUniqueTargetGroupsPerLoadBalancerException`;$fault=`client`;Message;constructor(t){super({name:`TooManyUniqueTargetGroupsPerLoadBalancerException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Mfe=class e extends K{name=`TrustStoreNotReadyException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Nfe=class e extends K{name=`UnsupportedProtocolException`;$fault=`client`;Message;constructor(t){super({name:`UnsupportedProtocolException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Pfe=class e extends K{name=`DuplicateLoadBalancerNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateLoadBalancerNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ffe=class e extends K{name=`InvalidSchemeException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSchemeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ife=class e extends K{name=`InvalidSecurityGroupException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSecurityGroupException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Lfe=class e extends K{name=`InvalidSubnetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidSubnetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Rfe=class e extends K{name=`OperationNotPermittedException`;$fault=`client`;Message;constructor(t){super({name:`OperationNotPermittedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},zfe=class e extends K{name=`ResourceInUseException`;$fault=`client`;Message;constructor(t){super({name:`ResourceInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Bfe=class e extends K{name=`SubnetNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`SubnetNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Vfe=class e extends K{name=`TooManyLoadBalancersException`;$fault=`client`;Message;constructor(t){super({name:`TooManyLoadBalancersException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Hfe=class e extends K{name=`PriorityInUseException`;$fault=`client`;Message;constructor(t){super({name:`PriorityInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Ufe=class e extends K{name=`TooManyRulesException`;$fault=`client`;Message;constructor(t){super({name:`TooManyRulesException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Wfe=class e extends K{name=`TooManyTargetGroupsException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTargetGroupsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Gfe=class e extends K{name=`DuplicateTargetGroupNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTargetGroupNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Kfe=class e extends K{name=`DuplicateTrustStoreNameException`;$fault=`client`;Message;constructor(t){super({name:`DuplicateTrustStoreNameException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},qfe=class e extends K{name=`InvalidCaCertificatesBundleException`;$fault=`client`;Message;constructor(t){super({name:`InvalidCaCertificatesBundleException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Jfe=class e extends K{name=`TooManyTrustStoresException`;$fault=`client`;Message;constructor(t){super({name:`TooManyTrustStoresException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Yfe=class e extends K{name=`DeleteAssociationSameAccountException`;$fault=`client`;Message;constructor(t){super({name:`DeleteAssociationSameAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Xfe=class e extends K{name=`TrustStoreAssociationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreAssociationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Zfe=class e extends K{name=`TrustStoreInUseException`;$fault=`client`;Message;constructor(t){super({name:`TrustStoreInUseException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},Qfe=class e extends K{name=`InvalidTargetException`;$fault=`client`;Message;constructor(t){super({name:`InvalidTargetException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},$fe=class e extends K{name=`HealthUnavailableException`;$fault=`server`;Message;constructor(t){super({name:`HealthUnavailableException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},epe=class e extends K{name=`RevocationIdNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`RevocationIdNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},tpe=class e extends K{name=`ResourceNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`ResourceNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},npe=class e extends K{name=`InsufficientCapacityException`;$fault=`server`;Message;constructor(t){super({name:`InsufficientCapacityException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},rpe=class e extends K{name=`PriorRequestNotCompleteException`;$fault=`client`;Message;constructor(t){super({name:`PriorRequestNotCompleteException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},ipe=`Action`,ape=`AdditionalClaims`,ope=`AuthenticateCognitoActionConfig`,spe=`AuthenticateCognitoConfig`,$1=`AnomalyDetection`,cpe=`AuthorizationEndpoint`,e0=`AllocationId`,lpe=`AllocationIdNotFoundException`,upe=`ALPNPolicyNotSupportedException`,t0=`AdministrativeOverride`,dpe=`AuthenticateOidcActionConfig`,fpe=`AuthenticateOidcConfig`,n0=`AlpnPolicy`,r0=`AuthenticationRequestExtraParams`,ppe=`AdvertiseTrustStoreCaNames`,i0=`AvailabilityZone`,mpe=`AvailabilityZoneNotSupportedException`,a0=`AvailabilityZones`,hpe=`Actions`,o0=`Attributes`,s0=`Certificates`,gpe=`CertificateArn`,_pe=`CaCertificatesBundleNotFoundException`,vpe=`CapacityDecreaseRequestsLimitExceededException`,ype=`CanonicalHostedZoneId`,bpe=`ClientId`,xpe=`CertificateList`,Spe=`CreateLoadBalancer`,Cpe=`CreateLoadBalancerInput`,wpe=`CreateLoadBalancerOutput`,Tpe=`CreateListenerInput`,Epe=`CreateListenerOutput`,Dpe=`CreateListener`,Ope=`CertificateNotFoundException`,c0=`CustomerOwnedIpv4Pool`,kpe=`CapacityReservationPendingException`,Ape=`ClientSecret`,jpe=`ContentType`,Mpe=`CreateTargetGroup`,Npe=`CreateTargetGroupInput`,Ppe=`CreateTargetGroupOutput`,Fpe=`CreatedTime`,Ipe=`CapacityUnitsLimitExceededException`,Lpe=`Certificate`,Rpe=`Code`,l0=`Description`,u0=`DefaultActions`,zpe=`DeleteAssociationSameAccountException`,Bpe=`DeleteListener`,Vpe=`DeleteLoadBalancer`,Hpe=`DescribeLoadBalancerAttributes`,Upe=`DescribeLoadBalancerAttributesInput`,Wpe=`DescribeLoadBalancerAttributesOutput`,Gpe=`DeleteLoadBalancerInput`,Kpe=`DescribeLoadBalancersInput`,qpe=`DuplicateLoadBalancerNameException`,Jpe=`DeleteLoadBalancerOutput`,Ype=`DescribeLoadBalancersOutput`,Xpe=`DescribeLoadBalancers`,Zpe=`DuplicateListenerException`,Qpe=`DeleteListenerInput`,$pe=`DescribeListenersInput`,eme=`DeleteListenerOutput`,tme=`DescribeListenersOutput`,nme=`DescribeListeners`,rme=`DNSName`,ime=`DurationSeconds`,ame=`DeregisterTargets`,ome=`DeleteTargetGroup`,sme=`DescribeTargetGroupAttributes`,cme=`DescribeTargetGroupAttributesInput`,lme=`DescribeTargetGroupAttributesOutput`,ume=`DeleteTargetGroupInput`,dme=`DescribeTargetGroupsInput`,fme=`DuplicateTargetGroupNameException`,pme=`DeleteTargetGroupOutput`,mme=`DescribeTargetGroupsOutput`,hme=`DescribeTargetGroups`,gme=`DescribeTargetHealth`,_me=`DescribeTargetHealthInput`,vme=`DescribeTargetHealthOutput`,yme=`DeregisterTargetsInput`,bme=`DescribeTagsInput`,xme=`DuplicateTagKeysException`,Sme=`DeregisterTargetsOutput`,Cme=`DescribeTagsOutput`,wme=`DuplicateTrustStoreNameException`,Tme=`DescribeTags`,Eme=`Enabled`,d0=`EnablePrefixForIpv6SourceNat`,Dme=`EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic`,Ome=`Format`,kme=`ForwardActionConfig`,Ame=`ForwardConfig`,jme=`FixedResponseActionConfig`,Mme=`FixedResponseConfig`,Nme=`GrpcCode`,Pme=`Host`,Fme=`HttpCode`,f0=`HealthCheckEnabled`,p0=`HealthCheckIntervalSeconds`,m0=`HealthCheckProtocol`,h0=`HealthCheckPort`,g0=`HealthCheckPath`,_0=`HealthCheckTimeoutSeconds`,v0=`HealthyThresholdCount`,Ime=`HealthUnavailableException`,y0=`Issuer`,Lme=`IpAddress`,b0=`IpAddressType`,Rme=`InvalidCaCertificatesBundleException`,zme=`IgnoreClientCertificateExpiry`,Bme=`InsufficientCapacityException`,Vme=`InvalidConfigurationRequestException`,Hme=`IsDefault`,Ume=`Ipv4IpamPoolId`,Wme=`InvalidLoadBalancerActionException`,x0=`IpamPools`,S0=`IPv6Address`,Gme=`IncompatibleProtocolsException`,Kme=`InvalidRevocationContentException`,qme=`InvalidSchemeException`,Jme=`InvalidSubnetException`,Yme=`InvalidSecurityGroupException`,Xme=`InvalidTargetException`,Zme=`Id`,Qme=`Include`,$me=`JwksEndpoint`,ehe=`JwtValidationActionAdditionalClaim`,the=`JwtValidationActionAdditionalClaims`,nhe=`JwtValidationActionConfig`,rhe=`JwtValidationConfig`,C0=`Key`,w0=`Listeners`,T0=`ListenerArn`,ihe=`ListenerArns`,E0=`LoadBalancers`,D0=`LoadBalancerAddresses`,O0=`LoadBalancerArn`,k0=`LoadBalancerArns`,ahe=`LoadBalancerAddress`,ohe=`LoadBalancerAttribute`,she=`LoadBalancerAttributes`,che=`LoadBalancerName`,lhe=`LoadBalancerNotFoundException`,uhe=`LoadBalancerState`,dhe=`LoadBalancer`,fhe=`ListenerNotFoundException`,phe=`Listener`,A0=`Message`,j0=`MutualAuthentication`,mhe=`MutualAuthenticationAttributes`,hhe=`MessageBody`,ghe=`MitigationInEffect`,_he=`ModifyLoadBalancerAttributes`,vhe=`ModifyLoadBalancerAttributesInput`,yhe=`ModifyLoadBalancerAttributesOutput`,bhe=`ModifyTargetGroupAttributes`,xhe=`ModifyTargetGroupAttributesInput`,She=`ModifyTargetGroupAttributesOutput`,M0=`Matcher`,N0=`Marker`,Che=`Mode`,P0=`Name`,F0=`NextMarker`,I0=`Names`,whe=`Order`,The=`OutpostId`,Ehe=`OperationNotPermittedException`,L0=`OnUnauthenticatedRequest`,R0=`PrivateIPv4Address`,Dhe=`PriorityInUseException`,Ohe=`PriorRequestNotCompleteException`,z0=`PageSize`,B0=`ProtocolVersion`,khe=`Path`,V0=`Port`,H0=`Protocol`,Ahe=`Query`,jhe=`QuicServerId`,U0=`Reason`,Mhe=`ResourceArns`,Nhe=`RedirectActionConfig`,Phe=`ResourceArn`,Fhe=`RedirectConfig`,Ihe=`RevocationContentNotFoundException`,Lhe=`RevocationIdNotFoundException`,Rhe=`ResourceInUseException`,zhe=`ResourceNotFoundException`,Bhe=`RuleNotFoundException`,Vhe=`RegisterTargetsInput`,Hhe=`RegisterTargetsOutput`,Uhe=`RegisterTargets`,Whe=`Result`,W0=`State`,G0=`StatusCode`,K0=`SessionCookieName`,q0=`SecurityGroups`,J0=`SubnetId`,Y0=`SubnetMappings`,Ghe=`SubnetMapping`,Khe=`SubnetNotFoundException`,qhe=`SourceNatIpv6Prefixes`,Jhe=`SourceNatIpv6Prefix`,X0=`SslPolicy`,Yhe=`SSLPolicyNotFoundException`,Z0=`SessionTimeout`,Q0=`Scope`,$0=`Scheme`,Xhe=`Subnets`,e2=`Type`,t2=`TargetControlPort`,n2=`TagDescriptions`,Zhe=`TagDescription`,Qhe=`TargetDescription`,$he=`TargetDescriptions`,ege=`TokenEndpoint`,r2=`TargetGroups`,i2=`TargetGroupArn`,tge=`TargetGroupAssociationLimitException`,nge=`TargetGroupArns`,rge=`TargetGroupAttribute`,ige=`TargetGroupAttributes`,age=`TargetGroupList`,oge=`TargetGroupName`,sge=`TargetGroupNotFoundException`,a2=`TargetGroupStickinessConfig`,cge=`TargetGroupTuple`,lge=`TargetGroup`,o2=`TargetHealth`,s2=`TargetHealthDescriptions`,uge=`TargetHealthDescription`,dge=`TagList`,fge=`TooManyActionsException`,pge=`TooManyCertificatesException`,mge=`TooManyLoadBalancersException`,hge=`TooManyListenersException`,gge=`TooManyRulesException`,_ge=`TooManyRegistrationsForTargetIdException`,vge=`TooManyTagsException`,yge=`TooManyTargetsException`,bge=`TooManyTargetGroupsException`,xge=`TooManyTrustStoresException`,Sge=`TooManyTrustStoreRevocationEntriesException`,Cge=`TooManyUniqueTargetGroupsPerLoadBalancerException`,wge=`TrustStoreArn`,Tge=`TrustStoreAssociationNotFoundException`,Ege=`TrustStoreAssociationStatus`,Dge=`TrustStoreInUseException`,Oge=`TrustStoreNotFoundException`,kge=`TrustStoreNotReadyException`,c2=`TargetType`,l2=`Tags`,Age=`Tag`,u2=`Targets`,jge=`Target`,Mge=`UseExistingClientSecret`,Nge=`UserInfoEndpoint`,Pge=`UserPoolArn`,Fge=`UserPoolClientId`,Ige=`UserPoolDomain`,Lge=`UnsupportedProtocolException`,d2=`UnhealthyThresholdCount`,Rge=`Values`,f2=`VpcId`,p2=`Value`,zge=`Weight`,Bge=`ZoneName`,m2=`awsQueryError`,h2=`client`,g2=`error`,q=`httpError`,_2=`smithy.ts.sdk.synthetic.com.amazonaws.elasticloadbalancingv2`,v2=`server`,J=`com.amazonaws.elasticloadbalancingv2`,y2=pw.for(_2),Vge=[-3,_2,`ElasticLoadBalancingV2ServiceException`,0,[],[]];y2.registerError(Vge,K);var Y=pw.for(J),Hge=[-3,J,lpe,{[m2]:[`AllocationIdNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Hge,mfe);var Uge=[-3,J,upe,{[m2]:[`ALPNPolicyNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Uge,hfe);var Wge=[-3,J,mpe,{[m2]:[`AvailabilityZoneNotSupported`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Wge,gfe);var Gge=[-3,J,_pe,{[m2]:[`CaCertificatesBundleNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Gge,_fe);var Kge=[-3,J,vpe,{[m2]:[`CapacityDecreaseRequestLimitExceeded`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Kge,vfe);var qge=[-3,J,kpe,{[m2]:[`CapacityReservationPending`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(qge,yfe);var Jge=[-3,J,Ipe,{[m2]:[`CapacityUnitsLimitExceeded`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Jge,bfe);var Yge=[-3,J,Ope,{[m2]:[`CertificateNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Yge,nfe);var Xge=[-3,J,zpe,{[m2]:[`DeleteAssociationSameAccount`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Xge,Yfe);var Zge=[-3,J,Zpe,{[m2]:[`DuplicateListener`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Zge,xfe);var Qge=[-3,J,qpe,{[m2]:[`DuplicateLoadBalancerName`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(Qge,Pfe);var $ge=[-3,J,xme,{[m2]:[`DuplicateTagKeys`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError($ge,afe);var e_e=[-3,J,fme,{[m2]:[`DuplicateTargetGroupName`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(e_e,Gfe);var t_e=[-3,J,wme,{[m2]:[`DuplicateTrustStoreName`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(t_e,Kfe);var n_e=[-3,J,Ime,{[m2]:[`HealthUnavailable`,500],[g2]:v2,[q]:500},[A0],[0]];Y.registerError(n_e,$fe);var r_e=[-3,J,Gme,{[m2]:[`IncompatibleProtocols`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(r_e,Sfe);var i_e=[-3,J,Bme,{[m2]:[`InsufficientCapacity`,500],[g2]:v2,[q]:500},[A0],[0]];Y.registerError(i_e,npe);var a_e=[-3,J,Rme,{[m2]:[`InvalidCaCertificatesBundle`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(a_e,qfe);var o_e=[-3,J,Vme,{[m2]:[`InvalidConfigurationRequest`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(o_e,Cfe);var s_e=[-3,J,Wme,{[m2]:[`InvalidLoadBalancerAction`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(s_e,wfe);var c_e=[-3,J,Kme,{[m2]:[`InvalidRevocationContent`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(c_e,dfe);var l_e=[-3,J,qme,{[m2]:[`InvalidScheme`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(l_e,Ffe);var u_e=[-3,J,Yme,{[m2]:[`InvalidSecurityGroup`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(u_e,Ife);var d_e=[-3,J,Jme,{[m2]:[`InvalidSubnet`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(d_e,Lfe);var f_e=[-3,J,Xme,{[m2]:[`InvalidTarget`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(f_e,Qfe);var p_e=[-3,J,fhe,{[m2]:[`ListenerNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(p_e,rfe);var m_e=[-3,J,lhe,{[m2]:[`LoadBalancerNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(m_e,ofe);var h_e=[-3,J,Ehe,{[m2]:[`OperationNotPermitted`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(h_e,Rfe);var g_e=[-3,J,Dhe,{[m2]:[`PriorityInUse`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(g_e,Hfe);var __e=[-3,J,Ohe,{[m2]:[`PriorRequestNotComplete`,429],[g2]:h2,[q]:429},[A0],[0]];Y.registerError(__e,rpe);var v_e=[-3,J,Rhe,{[m2]:[`ResourceInUse`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(v_e,zfe);var y_e=[-3,J,zhe,{[m2]:[`ResourceNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(y_e,tpe);var b_e=[-3,J,Ihe,{[m2]:[`RevocationContentNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(b_e,ffe);var x_e=[-3,J,Lhe,{[m2]:[`RevocationIdNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(x_e,epe);var S_e=[-3,J,Bhe,{[m2]:[`RuleNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(S_e,sfe);var C_e=[-3,J,Yhe,{[m2]:[`SSLPolicyNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(C_e,Tfe);var w_e=[-3,J,Khe,{[m2]:[`SubnetNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(w_e,Bfe);var T_e=[-3,J,tge,{[m2]:[`TargetGroupAssociationLimit`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(T_e,Efe);var E_e=[-3,J,sge,{[m2]:[`TargetGroupNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(E_e,cfe);var D_e=[-3,J,fge,{[m2]:[`TooManyActions`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(D_e,Dfe);var O_e=[-3,J,pge,{[m2]:[`TooManyCertificates`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(O_e,ife);var k_e=[-3,J,hge,{[m2]:[`TooManyListeners`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(k_e,Ofe);var A_e=[-3,J,mge,{[m2]:[`TooManyLoadBalancers`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(A_e,Vfe);var j_e=[-3,J,_ge,{[m2]:[`TooManyRegistrationsForTargetId`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(j_e,kfe);var M_e=[-3,J,gge,{[m2]:[`TooManyRules`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(M_e,Ufe);var N_e=[-3,J,vge,{[m2]:[`TooManyTags`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(N_e,lfe);var P_e=[-3,J,bge,{[m2]:[`TooManyTargetGroups`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(P_e,Wfe);var F_e=[-3,J,yge,{[m2]:[`TooManyTargets`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(F_e,Afe);var I_e=[-3,J,Sge,{[m2]:[`TooManyTrustStoreRevocationEntries`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(I_e,pfe);var L_e=[-3,J,xge,{[m2]:[`TooManyTrustStores`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(L_e,Jfe);var R_e=[-3,J,Cge,{[m2]:[`TooManyUniqueTargetGroupsPerLoadBalancer`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(R_e,jfe);var z_e=[-3,J,Tge,{[m2]:[`AssociationNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(z_e,Xfe);var B_e=[-3,J,Dge,{[m2]:[`TrustStoreInUse`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(B_e,Zfe);var V_e=[-3,J,Oge,{[m2]:[`TrustStoreNotFound`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(V_e,ufe);var H_e=[-3,J,kge,{[m2]:[`TrustStoreNotReady`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(H_e,Mfe);var U_e=[-3,J,Lge,{[m2]:[`UnsupportedProtocol`,400],[g2]:h2,[q]:400},[A0],[0]];Y.registerError(U_e,Nfe);var W_e=[y2,Y],G_e=[3,J,ipe,0,[e2,i2,fpe,spe,whe,Fhe,Mme,Ame,rhe],[0,0,()=>Y_e,()=>J_e,1,()=>zve,()=>Eve,()=>Dve,()=>kve],1],K_e=[3,J,t0,0,[W0,U0,l0],[0,0,0]],q_e=[3,J,$1,0,[Whe,ghe],[0,0]],J_e=[3,J,ope,0,[Pge,Fge,Ige,K0,Q0,Z0,r0,L0],[0,0,0,0,0,1,128,0],3],Y_e=[3,J,dpe,0,[y0,cpe,ege,Nge,bpe,Ape,K0,Q0,Z0,r0,L0,Mge],[0,0,0,0,0,0,0,0,1,128,0,2],5],X_e=[3,J,i0,0,[Bge,J0,The,D0,qhe],[0,0,0,()=>$ve,64]],Z_e=[3,J,Lpe,0,[gpe,Hme],[0,2]],Q_e=[3,J,Tpe,0,[O0,u0,H0,V0,X0,s0,n0,l2,j0],[0,()=>w2,0,1,0,()=>T2,64,()=>k2,()=>S2],2],$_e=[3,J,Epe,0,[w0],[()=>E2]],eve=[3,J,Cpe,0,[P0,Xhe,Y0,q0,$0,l2,e2,b0,c0,d0,x0],[0,64,()=>eye,64,0,()=>k2,0,0,0,0,()=>b2],1],tve=[3,J,wpe,0,[E0],[()=>O2]],nve=[3,J,Npe,0,[P0,H0,B0,V0,f2,m0,h0,f0,g0,p0,_0,v0,d2,M0,c2,l2,b0,t2],[0,0,0,1,0,0,0,2,0,1,1,1,1,()=>x2,0,()=>k2,0,1],1],rve=[3,J,Ppe,0,[r2],[()=>M2]],ive=[3,J,Qpe,0,[T0],[0],1],ave=[3,J,eme,0,[],[]],ove=[3,J,Gpe,0,[O0],[0],1],sve=[3,J,Jpe,0,[],[]],cve=[3,J,ume,0,[i2],[0],1],lve=[3,J,pme,0,[],[]],uve=[3,J,yme,0,[i2,u2],[0,()=>A2],2],dve=[3,J,Sme,0,[],[]],fve=[3,J,$pe,0,[O0,ihe,N0,z0],[0,64,0,1]],pve=[3,J,tme,0,[w0,F0],[()=>E2,0]],mve=[3,J,Upe,0,[O0],[0],1],hve=[3,J,Wpe,0,[o0],[()=>D2]],gve=[3,J,Kpe,0,[k0,I0,N0,z0],[64,64,0,1]],_ve=[3,J,Ype,0,[E0,F0],[()=>O2,0]],vve=[3,J,bme,0,[Mhe],[64],1],yve=[3,J,Cme,0,[n2],[()=>tye]],bve=[3,J,cme,0,[i2],[0],1],xve=[3,J,lme,0,[o0],[()=>j2]],Sve=[3,J,dme,0,[O0,nge,I0,N0,z0],[0,64,64,0,1]],Cve=[3,J,mme,0,[r2,F0],[()=>M2,0]],wve=[3,J,_me,0,[i2,u2,Qme],[0,()=>A2,64],1],Tve=[3,J,vme,0,[s2],[()=>rye]],Eve=[3,J,jme,0,[G0,hhe,jpe],[0,0,0],1],Dve=[3,J,kme,0,[r2,a2],[()=>nye,()=>qve]],b2=[3,J,x0,0,[Ume],[0]],Ove=[3,J,ehe,0,[Ome,P0,Rge],[0,0,64],3],kve=[3,J,nhe,0,[$me,y0,ape],[0,0,()=>Qve],2],Ave=[3,J,phe,0,[T0,O0,V0,H0,s0,X0,u0,n0,j0],[0,0,1,0,()=>T2,0,()=>w2,64,()=>S2]],jve=[3,J,dhe,0,[O0,rme,ype,Fpe,che,$0,f2,W0,e2,a0,q0,b0,c0,Dme,d0,x0],[0,0,0,4,0,0,0,()=>Pve,0,()=>Zve,64,0,0,0,0,()=>b2]],Mve=[3,J,ahe,0,[Lme,e0,R0,S0],[0,0,0,0]],Nve=[3,J,ohe,0,[C0,p2],[0,0]],Pve=[3,J,uhe,0,[Rpe,U0],[0,0]],x2=[3,J,M0,0,[Fme,Nme],[0,0]],Fve=[3,J,vhe,0,[O0,o0],[0,()=>D2],2],Ive=[3,J,yhe,0,[o0],[()=>D2]],Lve=[3,J,xhe,0,[i2,o0],[0,()=>j2],2],Rve=[3,J,She,0,[o0],[()=>j2]],S2=[3,J,mhe,0,[Che,wge,zme,Ege,ppe],[0,0,2,0,0]],zve=[3,J,Nhe,0,[G0,H0,V0,Pme,khe,Ahe],[0,0,0,0,0,0],1],Bve=[3,J,Vhe,0,[i2,u2],[0,()=>A2],2],Vve=[3,J,Hhe,0,[],[]],Hve=[3,J,Ghe,0,[J0,e0,R0,S0,Jhe],[0,0,0,0,0]],Uve=[3,J,Age,0,[C0,p2],[0,0],1],Wve=[3,J,Zhe,0,[Phe,l2],[0,()=>k2]],C2=[3,J,Qhe,0,[Zme,V0,i0,jhe],[0,1,0,0],1],Gve=[3,J,lge,0,[i2,oge,H0,V0,f2,m0,h0,f0,p0,_0,v0,d2,g0,M0,k0,c2,B0,b0,t2],[0,0,0,1,0,0,0,2,1,1,1,1,0,()=>x2,64,0,0,0,1]],Kve=[3,J,rge,0,[C0,p2],[0,0]],qve=[3,J,a2,0,[Eme,ime],[2,1]],Jve=[3,J,cge,0,[i2,zge],[0,1]],Yve=[3,J,o2,0,[W0,U0,l0],[0,0,0]],Xve=[3,J,uge,0,[jge,h0,o2,$1,t0],[()=>C2,0,()=>Yve,()=>q_e,()=>K_e]],w2=[1,J,hpe,0,()=>G_e],Zve=[1,J,a0,0,()=>X_e],T2=[1,J,xpe,0,()=>Z_e],Qve=[1,J,the,0,()=>Ove],E2=[1,J,w0,0,()=>Ave],$ve=[1,J,D0,0,()=>Mve],D2=[1,J,she,0,()=>Nve],O2=[1,J,E0,0,()=>jve],eye=[1,J,Y0,0,()=>Hve],tye=[1,J,n2,0,()=>Wve],k2=[1,J,dge,0,()=>Uve],A2=[1,J,$he,0,()=>C2],j2=[1,J,ige,0,()=>Kve],nye=[1,J,age,0,()=>Jve],M2=[1,J,r2,0,()=>Gve],rye=[1,J,s2,0,()=>Xve],iye=[9,J,Dpe,0,()=>Q_e,()=>$_e],aye=[9,J,Spe,0,()=>eve,()=>tve],oye=[9,J,Mpe,0,()=>nve,()=>rve],sye=[9,J,Bpe,0,()=>ive,()=>ave],cye=[9,J,Vpe,0,()=>ove,()=>sve],lye=[9,J,ome,0,()=>cve,()=>lve],uye=[9,J,ame,0,()=>uve,()=>dve],dye=[9,J,nme,0,()=>fve,()=>pve],fye=[9,J,Hpe,0,()=>mve,()=>hve],pye=[9,J,Xpe,0,()=>gve,()=>_ve],mye=[9,J,Tme,0,()=>vve,()=>yve],hye=[9,J,sme,0,()=>bve,()=>xve],gye=[9,J,hme,0,()=>Sve,()=>Cve],_ye=[9,J,gme,0,()=>wve,()=>Tve],vye=[9,J,_he,0,()=>Fve,()=>Ive],yye=[9,J,bhe,0,()=>Lve,()=>Rve],bye=[9,J,Uhe,0,()=>Bve,()=>Vve],xye=e=>({apiVersion:`2015-12-01`,base64Decoder:e?.base64Decoder??DC,base64Encoder:e?.base64Encoder??OC,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??tfe,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??qde,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new WD}],logger:e?.logger??new ID,protocol:e?.protocol??aO,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.elasticloadbalancingv2`,errorTypeRegistries:W_e,xmlNamespace:`http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/`,version:`2015-12-01`,serviceTarget:`ElasticLoadBalancing_v10`},serviceId:e?.serviceId??`Elastic Load Balancing v2`,urlParser:e?.urlParser??QC,utf8Decoder:e?.utf8Decoder??$x,utf8Encoder:e?.utf8Encoder??tS}),Sye=e=>{let t=QD(e),n=()=>t().then(jD),r=xye(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ZD,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??qD({serviceId:r.serviceId,clientVersion:Xde.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??YD(`Region is missing`),requestHandler:IC.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||DE),sha256:e?.sha256??Bx,streamCollector:e?.streamCollector??RC,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},Cye=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},wye=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),Tye=(e,t)=>{let n=Object.assign(O1(e),ND(e),Vx(e),Cye(e));return t.forEach(e=>e.configure(n)),Object.assign(e,k1(n),PD(n),Hx(n),wye(n))},Eye=class extends TD{config;constructor(...[e]){let t=Sye(e||{});super(t),this.initConfig=t;let n=Tye(Jde(vD(rC(uD(yD(FT(Yde(t))))))),e?.extensions||[]);this.config=n,this.middlewareStack.use(rw(this.config)),this.middlewareStack.use(sD(this.config)),this.middlewareStack.use(RD(this.config)),this.middlewareStack.use(fD(this.config)),this.middlewareStack.use(oC(this.config)),this.middlewareStack.use(lC(this.config)),this.middlewareStack.use(fC(this.config)),this.middlewareStack.use(_C(this.config,{httpAuthSchemeParametersProvider:Gde,identityProviderConfigProvider:async e=>new AT({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(SC(this.config))}destroy(){super.destroy()}},Dye=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeListeners`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeListenersCommand`).sc(dye).build(){},Oye=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeLoadBalancerAttributes`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeLoadBalancerAttributesCommand`).sc(fye).build(){},N2=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeLoadBalancers`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeLoadBalancersCommand`).sc(pye).build(){},kye=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeTags`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeTagsCommand`).sc(mye).build(){},Aye=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeTargetGroupAttributes`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeTargetGroupAttributesCommand`).sc(hye).build(){},P2=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeTargetGroups`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeTargetGroupsCommand`).sc(gye).build(){},jye=class extends OD.classBuilder().ep(z1).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`ElasticLoadBalancing_v10`,`DescribeTargetHealth`,{}).n(`ElasticLoadBalancingV2Client`,`DescribeTargetHealthCommand`).sc(_ye).build(){},Mye=async(e,t,n)=>({operation:LS(t).operation,region:await RS(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()});function Nye(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`iam`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var Pye=e=>{let t=[];switch(e.operation){default:t.push(Nye(e))}return t},Fye=e=>{let t=GD(e);return Object.assign(t,{authSchemePreference:RS(e.authSchemePreference??[])})},Iye=e=>Object.assign(e,{useDualstackEndpoint:e.useDualstackEndpoint??!1,useFipsEndpoint:e.useFipsEndpoint??!1,defaultSigningName:`iam`}),F2={UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},Lye={name:`@aws-sdk/client-iam`,description:`AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native`,version:`3.1045.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-iam`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo iam`,test:`yarn g:vitest run --passWithNoTests`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts --mode development`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch --passWithNoTests`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.8`,"@aws-sdk/credential-provider-node":`^3.972.39`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-user-agent":`^3.972.38`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.24`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.7`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.6`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.3.0`,tslib:`^2.6.2`},devDependencies:{"@smithy/snapshot-testing":`^2.0.8`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-iam`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-iam`}},I2=`ref`,L2=`authSchemes`,R2=`name`,z2=`signingRegion`,B2=-1,V2=!0,H2=`isSet`,U2=`PartitionResult`,W2=`booleanEquals`,G2=`stringEquals`,K2=`getAttr`,q2=`sigv4`,J2={[I2]:`Endpoint`},Y2={fn:K2,argv:[{[I2]:U2},`name`]},X2={[I2]:U2},Z2={[L2]:[{[R2]:q2,[z2]:`us-east-1`}]},Q2={[L2]:[{[R2]:q2,[z2]:`cn-north-1`}]},$2={[L2]:[{[R2]:q2,[z2]:`us-gov-west-1`}]},e4={[L2]:[{[R2]:q2,[z2]:`us-iso-east-1`}]},t4={[L2]:[{[R2]:q2,[z2]:`us-isob-east-1`}]},n4={[L2]:[{[R2]:q2,[z2]:`{PartitionResult#implicitGlobalRegion}`}]},r4=[{[I2]:`Region`}],i4={conditions:[[H2,[J2]],[H2,r4],[`aws.partition`,r4,U2],[W2,[{[I2]:`UseFIPS`},V2]],[W2,[{[I2]:`UseDualStack`},V2]],[G2,[Y2,`aws`]],[G2,[Y2,`aws-cn`]],[G2,[Y2,`aws-us-gov`]],[W2,[{fn:K2,argv:[X2,`supportsDualStack`]},V2]],[G2,[Y2,`aws-iso`]],[G2,[Y2,`aws-iso-b`]],[W2,[{fn:K2,argv:[X2,`supportsFIPS`]},V2]],[G2,[Y2,`aws-iso-e`]],[G2,[Y2,`aws-iso-f`]],[G2,[Y2,`aws-eusc`]]],results:[[B2],[B2,`Invalid Configuration: FIPS and custom endpoint are not supported`],[B2,`Invalid Configuration: Dualstack and custom endpoint are not supported`],[J2,{}],[`https://iam.global.api.aws`,Z2],[`https://iam-fips.global.api.aws`,Z2],[`https://iam.global.api.amazonwebservices.com.cn`,Q2],[`https://iam.cn-north-1.amazonaws.com.cn`,Q2],[`https://iam.us-gov.api.aws`,$2],[`https://iam.us-gov.amazonaws.com`,$2],[`https://iam.us-iso-east-1.c2s.ic.gov`,e4],[`https://iam-fips.us-iso-east-1.c2s.ic.gov`,e4],[`https://iam.us-isob-east-1.sc2s.sgov.gov`,t4],[`https://iam-fips.us-isob-east-1.sc2s.sgov.gov`,t4],[`https://iam.eu-isoe-west-1.cloud.adc-e.uk`,{[L2]:[{[R2]:q2,[z2]:`eu-isoe-west-1`}]}],[`https://iam.us-isof-south-1.csp.hci.ic.gov`,{[L2]:[{[R2]:q2,[z2]:`us-isof-south-1`}]}],[`https://iam.eusc-de-east-1.amazonaws.eu`,{[L2]:[{[R2]:q2,[z2]:`eusc-de-east-1`}]}],[`https://iam-fips.{PartitionResult#dualStackDnsSuffix}`,n4],[B2,`FIPS and DualStack are enabled, but this partition does not support one or both`],[`https://iam-fips.{PartitionResult#dnsSuffix}`,n4],[B2,`FIPS is enabled but this partition does not support FIPS`],[`https://iam.{PartitionResult#dualStackDnsSuffix}`,n4],[B2,`DualStack is enabled but this partition does not support DualStack`],[`https://iam.{PartitionResult#dnsSuffix}`,n4],[B2,`Invalid Configuration: Missing Region`]]},Rye=2,a4=1e8,zye=new Int32Array([-1,1,-1,0,27,3,1,4,a4+24,2,5,a4+24,3,18,6,4,14,7,6,a4+7,8,7,a4+9,9,9,a4+10,10,10,a4+12,11,12,a4+14,12,13,a4+15,13,14,a4+16,a4+23,5,a4+4,15,6,a4+6,16,7,a4+8,17,8,a4+21,a4+22,4,23,19,7,a4+9,20,9,a4+11,21,10,a4+13,22,11,a4+19,a4+20,5,a4+5,24,7,a4+8,25,8,26,a4+18,11,a4+17,a4+18,3,a4+1,28,4,a4+2,a4+3]),Bye=IT.from(zye,Rye,i4.conditions,i4.results),Vye=new LT({size:50,params:[`Endpoint`,`Region`,`UseDualStack`,`UseFIPS`]}),Hye=(e,t={})=>Vye.get(e,()=>hE(Bye,{endpointParams:e,logger:t.logger}));VT.aws=wE;var o4=class e extends kD{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},Uye=class e extends o4{name=`ConcurrentModificationException`;$fault=`client`;constructor(t){super({name:`ConcurrentModificationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Wye=class e extends o4{name=`NoSuchEntityException`;$fault=`client`;constructor(t){super({name:`NoSuchEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Gye=class e extends o4{name=`ServiceFailureException`;$fault=`server`;constructor(t){super({name:`ServiceFailureException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},Kye=class e extends o4{name=`AccountNotManagementOrDelegatedAdministratorException`;$fault=`client`;Message;constructor(t){super({name:`AccountNotManagementOrDelegatedAdministratorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},qye=class e extends o4{name=`InvalidInputException`;$fault=`client`;constructor(t){super({name:`InvalidInputException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Jye=class e extends o4{name=`LimitExceededException`;$fault=`client`;constructor(t){super({name:`LimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Yye=class e extends o4{name=`EntityAlreadyExistsException`;$fault=`client`;constructor(t){super({name:`EntityAlreadyExistsException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Xye=class e extends o4{name=`UnmodifiableEntityException`;$fault=`client`;constructor(t){super({name:`UnmodifiableEntityException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Zye=class e extends o4{name=`PolicyNotAttachableException`;$fault=`client`;constructor(t){super({name:`PolicyNotAttachableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Qye=class e extends o4{name=`EntityTemporarilyUnmodifiableException`;$fault=`client`;constructor(t){super({name:`EntityTemporarilyUnmodifiableException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},$ye=class e extends o4{name=`InvalidUserTypeException`;$fault=`client`;constructor(t){super({name:`InvalidUserTypeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ebe=class e extends o4{name=`PasswordPolicyViolationException`;$fault=`client`;constructor(t){super({name:`PasswordPolicyViolationException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},tbe=class e extends o4{name=`OpenIdIdpCommunicationErrorException`;$fault=`client`;constructor(t){super({name:`OpenIdIdpCommunicationErrorException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},nbe=class e extends o4{name=`MalformedPolicyDocumentException`;$fault=`client`;constructor(t){super({name:`MalformedPolicyDocumentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},rbe=class e extends o4{name=`ServiceNotSupportedException`;$fault=`client`;constructor(t){super({name:`ServiceNotSupportedException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ibe=class e extends o4{name=`DeleteConflictException`;$fault=`client`;constructor(t){super({name:`DeleteConflictException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},abe=class e extends o4{name=`OrganizationNotFoundException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotFoundException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},obe=class e extends o4{name=`OrganizationNotInAllFeaturesModeException`;$fault=`client`;Message;constructor(t){super({name:`OrganizationNotInAllFeaturesModeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},sbe=class e extends o4{name=`ServiceAccessNotEnabledException`;$fault=`client`;Message;constructor(t){super({name:`ServiceAccessNotEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},cbe=class e extends o4{name=`FeatureDisabledException`;$fault=`client`;constructor(t){super({name:`FeatureDisabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},lbe=class e extends o4{name=`InvalidAuthenticationCodeException`;$fault=`client`;constructor(t){super({name:`InvalidAuthenticationCodeException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ube=class e extends o4{name=`CallerIsNotManagementAccountException`;$fault=`client`;Message;constructor(t){super({name:`CallerIsNotManagementAccountException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.Message=t.Message}},dbe=class e extends o4{name=`FeatureEnabledException`;$fault=`client`;constructor(t){super({name:`FeatureEnabledException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},fbe=class e extends o4{name=`ReportGenerationLimitExceededException`;$fault=`client`;constructor(t){super({name:`ReportGenerationLimitExceededException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},pbe=class e extends o4{name=`CredentialReportExpiredException`;$fault=`client`;constructor(t){super({name:`CredentialReportExpiredException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},mbe=class e extends o4{name=`CredentialReportNotPresentException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotPresentException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},hbe=class e extends o4{name=`CredentialReportNotReadyException`;$fault=`client`;constructor(t){super({name:`CredentialReportNotReadyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},gbe=class e extends o4{name=`UnrecognizedPublicKeyEncodingException`;$fault=`client`;constructor(t){super({name:`UnrecognizedPublicKeyEncodingException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},_be=class e extends o4{name=`PolicyEvaluationException`;$fault=`server`;constructor(t){super({name:`PolicyEvaluationException`,$fault:`server`,...t}),Object.setPrototypeOf(this,e.prototype)}},vbe=class e extends o4{name=`KeyPairMismatchException`;$fault=`client`;constructor(t){super({name:`KeyPairMismatchException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ybe=class e extends o4{name=`MalformedCertificateException`;$fault=`client`;constructor(t){super({name:`MalformedCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},bbe=class e extends o4{name=`DuplicateCertificateException`;$fault=`client`;constructor(t){super({name:`DuplicateCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},xbe=class e extends o4{name=`InvalidCertificateException`;$fault=`client`;constructor(t){super({name:`InvalidCertificateException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Sbe=class e extends o4{name=`DuplicateSSHPublicKeyException`;$fault=`client`;constructor(t){super({name:`DuplicateSSHPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},Cbe=class e extends o4{name=`InvalidPublicKeyException`;$fault=`client`;constructor(t){super({name:`InvalidPublicKeyException`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},s4=`Arn`,wbe=`AttachmentCount`,c4=`AccessKey`,l4=`AccessKeyId`,u4=`AccessKeyMetadata`,Tbe=`AccountNotManagementOrDelegatedAdministratorException`,Ebe=`AttachedPolicy`,Dbe=`AttachedPermissionsBoundary`,Obe=`AttachedPolicies`,kbe=`AttachUserPolicy`,Abe=`AttachUserPolicyRequest`,jbe=`CreateAccessKey`,Mbe=`CreateAccessKeyRequest`,Nbe=`CreateAccessKeyResponse`,d4=`CreateDate`,Pbe=`CallerIsNotManagementAccountException`,Fbe=`ConcurrentModificationException`,Ibe=`CreatePolicyRequest`,Lbe=`CreatePolicyResponse`,Rbe=`CreatePolicy`,zbe=`CredentialReportExpiredException`,Bbe=`CredentialReportNotPresentException`,Vbe=`CredentialReportNotReadyException`,Hbe=`CreateUser`,Ube=`CreateUserRequest`,Wbe=`CreateUserResponse`,f4=`Description`,Gbe=`DeleteAccessKey`,Kbe=`DeleteAccessKeyRequest`,qbe=`DeleteConflictException`,Jbe=`DuplicateCertificateException`,Ybe=`DeletePolicyRequest`,Xbe=`DeletePolicy`,Zbe=`DuplicateSSHPublicKeyException`,Qbe=`DeleteUser`,$be=`DetachUserPolicyRequest`,exe=`DetachUserPolicy`,txe=`DeleteUserRequest`,nxe=`DefaultVersionId`,rxe=`Document`,ixe=`EntityAlreadyExistsException`,axe=`EntityTemporarilyUnmodifiableException`,oxe=`FeatureDisabledException`,sxe=`FeatureEnabledException`,cxe=`GetPolicy`,lxe=`GetPolicyRequest`,uxe=`GetPolicyResponse`,dxe=`GetPolicyVersion`,fxe=`GetPolicyVersionRequest`,pxe=`GetPolicyVersionResponse`,mxe=`GetUser`,hxe=`GetUserRequest`,gxe=`GetUserResponse`,_xe=`IsAttachable`,vxe=`InvalidAuthenticationCodeException`,yxe=`InvalidCertificateException`,bxe=`IsDefaultVersion`,xxe=`InvalidInputException`,Sxe=`InvalidPublicKeyException`,p4=`IsTruncated`,Cxe=`InvalidUserTypeException`,wxe=`Key`,Txe=`KeyPairMismatchException`,Exe=`ListAccessKeys`,Dxe=`ListAccessKeysRequest`,Oxe=`ListAccessKeysResponse`,kxe=`ListAttachedUserPolicies`,Axe=`ListAttachedUserPoliciesRequest`,jxe=`ListAttachedUserPoliciesResponse`,Mxe=`LimitExceededException`,Nxe=`ListPoliciesRequest`,Pxe=`ListPoliciesResponse`,Fxe=`ListPolicies`,Ixe=`ListUsers`,Lxe=`ListUsersRequest`,Rxe=`ListUsersResponse`,m4=`Message`,zxe=`MalformedCertificateException`,h4=`MaxItems`,Bxe=`MalformedPolicyDocumentException`,g4=`Marker`,Vxe=`NoSuchEntityException`,Hxe=`OnlyAttached`,Uxe=`OpenIdIdpCommunicationErrorException`,Wxe=`OrganizationNotFoundException`,Gxe=`OrganizationNotInAllFeaturesModeException`,_4=`PolicyArn`,v4=`PermissionsBoundary`,Kxe=`PermissionsBoundaryArn`,qxe=`PermissionsBoundaryType`,Jxe=`PermissionsBoundaryUsageCount`,Yxe=`PolicyDocument`,Xxe=`PolicyEvaluationException`,Zxe=`PolicyId`,Qxe=`PasswordLastUsed`,y4=`PolicyName`,$xe=`PolicyNotAttachableException`,eSe=`PasswordPolicyViolationException`,b4=`PathPrefix`,tSe=`PolicyUsageFilter`,x4=`PolicyVersion`,S4=`Path`,C4=`Policy`,nSe=`Policies`,rSe=`ReportGenerationLimitExceededException`,w4=`Status`,iSe=`SecretAccessKey`,aSe=`ServiceAccessNotEnabledException`,oSe=`ServiceFailureException`,sSe=`ServiceNotSupportedException`,cSe=`Scope`,T4=`Tags`,lSe=`Tag`,uSe=`UpdateAccessKey`,dSe=`UpdateAccessKeyRequest`,fSe=`UpdateDate`,pSe=`UnmodifiableEntityException`,mSe=`UserId`,E4=`UserName`,hSe=`UnrecognizedPublicKeyEncodingException`,D4=`User`,gSe=`Users`,O4=`VersionId`,_Se=`Value`,vSe=`accessKeyMetadataListType`,ySe=`accessKeySecretType`,bSe=`attachedPoliciesListType`,k4=`awsQueryError`,A4=`client`,j4=`error`,M4=`httpError`,N4=`message`,xSe=`policyListType`,P4=`smithy.ts.sdk.synthetic.com.amazonaws.iam`,F4=`server`,SSe=`tagListType`,CSe=`userListType`,X=`com.amazonaws.iam`,I4=pw.for(P4),wSe=[-3,P4,`IAMServiceException`,0,[],[]];I4.registerError(wSe,o4);var L4=pw.for(X),TSe=[-3,X,Tbe,{[j4]:A4,[M4]:400},[m4],[0]];L4.registerError(TSe,Kye);var ESe=[-3,X,Pbe,{[j4]:A4,[M4]:400},[m4],[0]];L4.registerError(ESe,ube);var DSe=[-3,X,Fbe,{[k4]:[`ConcurrentModification`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(DSe,Uye);var OSe=[-3,X,zbe,{[k4]:[`ReportExpired`,410],[j4]:A4,[M4]:410},[N4],[0]];L4.registerError(OSe,pbe);var kSe=[-3,X,Bbe,{[k4]:[`ReportNotPresent`,410],[j4]:A4,[M4]:410},[N4],[0]];L4.registerError(kSe,mbe);var ASe=[-3,X,Vbe,{[k4]:[`ReportInProgress`,404],[j4]:A4,[M4]:404},[N4],[0]];L4.registerError(ASe,hbe);var jSe=[-3,X,qbe,{[k4]:[`DeleteConflict`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(jSe,ibe);var MSe=[-3,X,Jbe,{[k4]:[`DuplicateCertificate`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(MSe,bbe);var NSe=[-3,X,Zbe,{[k4]:[`DuplicateSSHPublicKey`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(NSe,Sbe);var PSe=[-3,X,ixe,{[k4]:[`EntityAlreadyExists`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(PSe,Yye);var FSe=[-3,X,axe,{[k4]:[`EntityTemporarilyUnmodifiable`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(FSe,Qye);var ISe=[-3,X,oxe,{[k4]:[`FeatureDisabled`,404],[j4]:A4,[M4]:404},[N4],[0]];L4.registerError(ISe,cbe);var LSe=[-3,X,sxe,{[k4]:[`FeatureEnabled`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(LSe,dbe);var RSe=[-3,X,vxe,{[k4]:[`InvalidAuthenticationCode`,403],[j4]:A4,[M4]:403},[N4],[0]];L4.registerError(RSe,lbe);var zSe=[-3,X,yxe,{[k4]:[`InvalidCertificate`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(zSe,xbe);var BSe=[-3,X,xxe,{[k4]:[`InvalidInput`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(BSe,qye);var VSe=[-3,X,Sxe,{[k4]:[`InvalidPublicKey`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(VSe,Cbe);var HSe=[-3,X,Cxe,{[k4]:[`InvalidUserType`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(HSe,$ye);var USe=[-3,X,Txe,{[k4]:[`KeyPairMismatch`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(USe,vbe);var WSe=[-3,X,Mxe,{[k4]:[`LimitExceeded`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(WSe,Jye);var GSe=[-3,X,zxe,{[k4]:[`MalformedCertificate`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(GSe,ybe);var KSe=[-3,X,Bxe,{[k4]:[`MalformedPolicyDocument`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(KSe,nbe);var qSe=[-3,X,Vxe,{[k4]:[`NoSuchEntity`,404],[j4]:A4,[M4]:404},[N4],[0]];L4.registerError(qSe,Wye);var JSe=[-3,X,Uxe,{[k4]:[`OpenIdIdpCommunicationError`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(JSe,tbe);var YSe=[-3,X,Wxe,{[j4]:A4,[M4]:400},[m4],[0]];L4.registerError(YSe,abe);var XSe=[-3,X,Gxe,{[j4]:A4,[M4]:400},[m4],[0]];L4.registerError(XSe,obe);var ZSe=[-3,X,eSe,{[k4]:[`PasswordPolicyViolation`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(ZSe,ebe);var QSe=[-3,X,Xxe,{[k4]:[`PolicyEvaluation`,500],[j4]:F4,[M4]:500},[N4],[0]];L4.registerError(QSe,_be);var $Se=[-3,X,$xe,{[k4]:[`PolicyNotAttachable`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError($Se,Zye);var eCe=[-3,X,rSe,{[k4]:[`ReportGenerationLimitExceeded`,409],[j4]:A4,[M4]:409},[N4],[0]];L4.registerError(eCe,fbe);var tCe=[-3,X,aSe,{[j4]:A4,[M4]:400},[m4],[0]];L4.registerError(tCe,sbe);var nCe=[-3,X,oSe,{[k4]:[`ServiceFailure`,500],[j4]:F4,[M4]:500},[N4],[0]];L4.registerError(nCe,Gye);var rCe=[-3,X,sSe,{[k4]:[`NotSupportedService`,404],[j4]:A4,[M4]:404},[N4],[0]];L4.registerError(rCe,rbe);var iCe=[-3,X,pSe,{[k4]:[`UnmodifiableEntity`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(iCe,Xye);var aCe=[-3,X,hSe,{[k4]:[`UnrecognizedPublicKeyEncoding`,400],[j4]:A4,[M4]:400},[N4],[0]];L4.registerError(aCe,gbe);var oCe=[I4,L4],sCe=[0,X,ySe,8,0],cCe=[3,X,c4,0,[E4,l4,w4,iSe,d4],[0,0,0,[()=>sCe,0],4],4],lCe=[3,X,u4,0,[E4,l4,w4,d4],[0,0,0,4]],uCe=[3,X,Dbe,0,[qxe,Kxe],[0,0]],dCe=[3,X,Ebe,0,[y4,_4],[0,0]],fCe=[3,X,Abe,0,[E4,_4],[0,0],2],pCe=[3,X,Mbe,0,[E4],[0]],mCe=[3,X,Nbe,0,[c4],[[()=>cCe,0]],1],hCe=[3,X,Ibe,0,[y4,Yxe,S4,f4,T4],[0,0,0,0,()=>V4],2],gCe=[3,X,Lbe,0,[C4],[()=>R4]],_Ce=[3,X,Ube,0,[E4,S4,v4,T4],[0,0,0,()=>V4],1],vCe=[3,X,Wbe,0,[D4],[()=>z4]],yCe=[3,X,Kbe,0,[l4,E4],[0,0],1],bCe=[3,X,Ybe,0,[_4],[0],1],xCe=[3,X,txe,0,[E4],[0],1],SCe=[3,X,$be,0,[E4,_4],[0,0],2],CCe=[3,X,lxe,0,[_4],[0],1],wCe=[3,X,uxe,0,[C4],[()=>R4]],TCe=[3,X,fxe,0,[_4,O4],[0,0],2],ECe=[3,X,pxe,0,[x4],[()=>LCe]],DCe=[3,X,hxe,0,[E4],[0]],OCe=[3,X,gxe,0,[D4],[()=>z4],1],kCe=[3,X,Dxe,0,[E4,g4,h4],[0,0,1]],ACe=[3,X,Oxe,0,[u4,p4,g4],[()=>BCe,2,0],1],jCe=[3,X,Axe,0,[E4,b4,g4,h4],[0,0,0,1],1],MCe=[3,X,jxe,0,[Obe,p4,g4],[()=>VCe,2,0]],NCe=[3,X,Nxe,0,[cSe,Hxe,b4,tSe,g4,h4],[0,2,0,0,0,1]],PCe=[3,X,Pxe,0,[nSe,p4,g4],[()=>HCe,2,0]],FCe=[3,X,Lxe,0,[b4,g4,h4],[0,0,1]],ICe=[3,X,Rxe,0,[gSe,p4,g4],[()=>UCe,2,0],1],R4=[3,X,C4,0,[y4,Zxe,s4,S4,nxe,wbe,Jxe,_xe,f4,d4,fSe,T4],[0,0,0,0,0,1,1,2,0,4,4,()=>V4]],LCe=[3,X,x4,0,[rxe,O4,bxe,d4],[0,0,2,4]],RCe=[3,X,lSe,0,[wxe,_Se],[0,0],2],zCe=[3,X,dSe,0,[l4,w4,E4],[0,0,0],2],z4=[3,X,D4,0,[S4,E4,mSe,s4,d4,Qxe,v4,T4],[0,0,0,0,4,4,()=>uCe,()=>V4],5],B4=`unit`,BCe=[1,X,vSe,0,()=>lCe],VCe=[1,X,bSe,0,()=>dCe],HCe=[1,X,xSe,0,()=>R4],V4=[1,X,SSe,0,()=>RCe],UCe=[1,X,CSe,0,()=>z4],WCe=[9,X,kbe,0,()=>fCe,()=>B4],GCe=[9,X,jbe,0,()=>pCe,()=>mCe],KCe=[9,X,Rbe,0,()=>hCe,()=>gCe],qCe=[9,X,Hbe,0,()=>_Ce,()=>vCe],JCe=[9,X,Gbe,0,()=>yCe,()=>B4],YCe=[9,X,Xbe,0,()=>bCe,()=>B4],XCe=[9,X,Qbe,0,()=>xCe,()=>B4],ZCe=[9,X,exe,0,()=>SCe,()=>B4],QCe=[9,X,cxe,0,()=>CCe,()=>wCe],$Ce=[9,X,dxe,0,()=>TCe,()=>ECe],ewe=[9,X,mxe,0,()=>DCe,()=>OCe],twe=[9,X,Exe,0,()=>kCe,()=>ACe],nwe=[9,X,kxe,0,()=>jCe,()=>MCe],rwe=[9,X,Fxe,0,()=>NCe,()=>PCe],iwe=[9,X,Ixe,0,()=>FCe,()=>ICe],awe=[9,X,uSe,0,()=>zCe,()=>B4],owe=e=>({apiVersion:`2010-05-08`,base64Decoder:e?.base64Decoder??DC,base64Encoder:e?.base64Encoder??OC,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??Hye,extensions:e?.extensions??[],httpAuthSchemeProvider:e?.httpAuthSchemeProvider??Pye,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new WD}],logger:e?.logger??new ID,protocol:e?.protocol??aO,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.iam`,errorTypeRegistries:oCe,xmlNamespace:`https://iam.amazonaws.com/doc/2010-05-08/`,version:`2010-05-08`,serviceTarget:`AWSIdentityManagementV20100508`},serviceId:e?.serviceId??`IAM`,urlParser:e?.urlParser??QC,utf8Decoder:e?.utf8Decoder??$x,utf8Encoder:e?.utf8Encoder??tS}),swe=e=>{let t=QD(e),n=()=>t().then(jD),r=owe(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ZD,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??qD({serviceId:r.serviceId,clientVersion:Lye.version}),maxAttempts:e?.maxAttempts??3,region:e?.region??YD(`Region is missing`),requestHandler:IC.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||DE),sha256:e?.sha256??Bx,streamCollector:e?.streamCollector??RC,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},cwe=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},lwe=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),uwe=(e,t)=>{let n=Object.assign(O1(e),ND(e),Vx(e),cwe(e));return t.forEach(e=>e.configure(n)),Object.assign(e,k1(n),PD(n),Hx(n),lwe(n))},dwe=class extends TD{config;constructor(...[e]){let t=swe(e||{});super(t),this.initConfig=t;let n=uwe(Fye(vD(rC(uD(yD(FT(Iye(t))))))),e?.extensions||[]);this.config=n,this.middlewareStack.use(rw(this.config)),this.middlewareStack.use(sD(this.config)),this.middlewareStack.use(RD(this.config)),this.middlewareStack.use(fD(this.config)),this.middlewareStack.use(oC(this.config)),this.middlewareStack.use(lC(this.config)),this.middlewareStack.use(fC(this.config)),this.middlewareStack.use(_C(this.config,{httpAuthSchemeParametersProvider:Mye,identityProviderConfigProvider:async e=>new AT({"aws.auth#sigv4":e.credentials})})),this.middlewareStack.use(SC(this.config))}destroy(){super.destroy()}},fwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`GetPolicy`,{}).n(`IAMClient`,`GetPolicyCommand`).sc(QCe).build(){},pwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`GetPolicyVersion`,{}).n(`IAMClient`,`GetPolicyVersionCommand`).sc($Ce).build(){},mwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`GetUser`,{}).n(`IAMClient`,`GetUserCommand`).sc(ewe).build(){},hwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`ListAccessKeys`,{}).n(`IAMClient`,`ListAccessKeysCommand`).sc(twe).build(){},gwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`ListAttachedUserPolicies`,{}).n(`IAMClient`,`ListAttachedUserPoliciesCommand`).sc(nwe).build(){},_we=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`ListPolicies`,{}).n(`IAMClient`,`ListPoliciesCommand`).sc(rwe).build(){},vwe=class extends OD.classBuilder().ep(F2).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions())]}).s(`AWSIdentityManagementV20100508`,`ListUsers`,{}).n(`IAMClient`,`ListUsersCommand`).sc(iwe).build(){};function ywe(e){return t=>async n=>{let{request:r}=n;if(e.expectContinueHeader!==!1&&Kx.isInstance(r)&&r.body&&e.runtime===`node`&&e.requestHandler?.constructor?.name!==`FetchHttpHandler`){let t=!0;if(typeof e.expectContinueHeader==`number`)try{t=(Number(r.headers?.[`content-length`])??e.bodyLengthChecker?.(r.body)??1/0)>=e.expectContinueHeader}catch{}else t=!!e.expectContinueHeader;t&&(r.headers.Expect=`100-continue`)}return t({...n,request:r})}}var bwe={step:`build`,tags:[`SET_EXPECT_HEADER`,`EXPECT_HEADER`],name:`addExpectContinueMiddleware`,override:!0},xwe=e=>({applyToStack:t=>{t.add(ywe(e),bwe)}}),H4={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},Swe=H4.WHEN_SUPPORTED,Cwe={WHEN_SUPPORTED:`WHEN_SUPPORTED`,WHEN_REQUIRED:`WHEN_REQUIRED`},wwe=H4.WHEN_SUPPORTED,U4;(function(e){e.MD5=`MD5`,e.CRC32=`CRC32`,e.CRC32C=`CRC32C`,e.CRC64NVME=`CRC64NVME`,e.SHA1=`SHA1`,e.SHA256=`SHA256`})(U4||={});var Twe;(function(e){e.HEADER=`header`,e.TRAILER=`trailer`})(Twe||={});var Ewe=U4.CRC32,Dwe=function(){function e(){this.crc32=new W4}return e.prototype.update=function(e){vx(e)||this.crc32.update(_x(e))},e.prototype.digest=function(){return Dx(this,void 0,void 0,function(){return Ox(this,function(e){return[2,yx(this.crc32.digest())]})})},e.prototype.reset=function(){this.crc32=new W4},e}(),W4=function(){function e(){this.checksum=4294967295}return e.prototype.update=function(e){var t,n;try{for(var r=kx(e),i=r.next();!i.done;i=r.next()){var a=i.value;this.checksum=this.checksum>>>8^Owe[(this.checksum^a)&255]}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return this},e.prototype.digest=function(){return(this.checksum^4294967295)>>>0},e}(),Owe=bx([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]),kwe=e=>{let{requestChecksumCalculation:t,responseChecksumValidation:n,requestStreamBufferSize:r}=e;return Object.assign(e,{requestChecksumCalculation:RS(t??Swe),responseChecksumValidation:RS(n??wwe),requestStreamBufferSize:Number(r??0),checksumAlgorithms:e.checksumAlgorithms??{}})},Awe=e=>(t,n)=>async r=>{let i=await e.region(),a=e.region,o=()=>{};n.__s3RegionRedirect&&(Object.defineProperty(e,`region`,{writable:!1,value:async()=>n.__s3RegionRedirect}),o=()=>Object.defineProperty(e,`region`,{writable:!0,value:a}));try{let a=await t(r);if(n.__s3RegionRedirect&&(o(),i!==await e.region()))throw Error(`Region was not restored following S3 region redirect.`);return a}catch(e){throw o(),e}},jwe={tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectEndpointMiddleware`,override:!0,relation:`before`,toMiddleware:`endpointV2Middleware`};function Mwe(e){return(t,n)=>async r=>{try{return await t(r)}catch(i){if(e.followRegionRedirects){let a=i?.$metadata?.httpStatusCode,o=n.commandName===`HeadBucketCommand`,s=i?.$response?.headers?.[`x-amz-bucket-region`];if(s&&(a===301||a===400&&(i?.name===`IllegalLocationConstraintException`||o))){try{let t=s;n.logger?.debug(`Redirecting from ${await e.region()} to ${t}`),n.__s3RegionRedirect=t}catch(e){throw Error(`Region redirect failed: `+e)}return t(r)}}throw i}}}var Nwe={step:`initialize`,tags:[`REGION_REDIRECT`,`S3`],name:`regionRedirectMiddleware`,override:!0},Pwe=e=>({applyToStack:t=>{t.add(Mwe(e),Nwe),t.addRelativeTo(Awe(e),jwe)}}),Fwe=class e{data;lastPurgeTime=Date.now();static EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS=3e4;constructor(e={}){this.data=e}get(e){let t=this.data[e];if(t)return t}set(e,t){return this.data[e]=t,t}delete(e){delete this.data[e]}async purgeExpired(){let t=Date.now();if(!(this.lastPurgeTime+e.EXPIRED_CREDENTIAL_PURGE_INTERVAL_MS>t))for(let e in this.data){let n=this.data[e];if(!n.isRefreshing){let r=await n.identity;r.expiration&&r.expiration.getTime()(t.expiration?.getTime()??0){i.set(r,new G4(Promise.resolve(e)))})),t)):i.set(r,new G4(this.getIdentity(r))).identity}async getIdentity(e){await this.cache.purgeExpired().catch(e=>{console.warn(`Error while clearing expired entries in S3ExpressIdentityCache: -`+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error(`s3#createSession response credential missing AccessKeyId or SecretAccessKey.`);return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}},Lwe=`sigv4-s3express`,K4=`X-Amz-S3session-Token`,q4=K4.toLowerCase(),Rwe=class extends GS{async signWithCredentials(e,t,n){let r=J4(t);e.headers[q4]=t.sessionToken;let i=this;return Y4(i,r),i.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=J4(t);return delete e.headers[q4],e.headers[K4]=t.sessionToken,e.query=e.query??{},e.query[K4]=t.sessionToken,Y4(this,r),this.presign(e,n)}};function J4(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function Y4(e,t){let n=setTimeout(()=>{throw Error(`SignatureV4S3Express credential override was created but not called.`)},10),r=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t))}var zwe=e=>(t,n)=>async r=>{if(n.endpointV2){let t=n.endpointV2,i=t.properties?.authSchemes?.[0]?.name===Lwe;if((t.properties?.backend===`S3Express`||t.properties?.bucketType===`Directory`)&&(XE(n,`S3_EXPRESS_BUCKET`,`J`),n.isS3ExpressBucket=!0),i){let t=r.input.Bucket;if(t){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=i,Kx.isInstance(r.request)&&i.sessionToken&&(r.request.headers[q4]=i.sessionToken)}}}return t(r)},Bwe={name:`s3ExpressMiddleware`,step:`build`,tags:[`S3`,`S3_EXPRESS`],override:!0},Vwe=e=>({applyToStack:t=>{t.add(zwe(e),Bwe)}}),Hwe=async(e,t,n,r)=>{let i=await r.signWithCredentials(n,e,{});if(i.headers[`X-Amz-Security-Token`]||i.headers[`x-amz-security-token`])throw Error(`X-Amz-Security-Token must not be set for s3-express requests.`);return i},Uwe=e=>e=>{throw e},Wwe=(e,t)=>{},Gwe=e=>(t,n)=>async r=>{if(!Kx.isInstance(r.request))return t(r);let i=LS(n).selectedHttpAuthScheme;if(!i)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:a={}},identity:o,signer:s}=i,c;c=n.s3ExpressIdentity?await Hwe(n.s3ExpressIdentity,a,r.request,await e.signer()):await s.sign(r.request,o,a);let l=await t({...r,request:c}).catch((s.errorHandler||Uwe)(a));return(s.successHandler||Wwe)(l.response,a),l},Kwe=e=>({applyToStack:t=>{t.addRelativeTo(Gwe(e),xC)}}),qwe=(e,{session:t})=>{let[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:o,followRegionRedirects:s,s3ExpressIdentityProvider:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new Iwe(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})};function Jwe(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}var Ywe={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Xwe=e=>(t,n)=>async r=>{let i=await t(r),{response:a}=i;if(!Jx.isInstance(a))return i;let{statusCode:o,body:s}=a;if(o<200||o>=300)return i;let c=await Zwe(s,e);if(a.body=Jwe(c),c.length===0&&Ywe[n.commandName]){let e=Error(`S3 aborted request`);throw e.$metadata={httpStatusCode:503},e.name=`InternalError`,e}let l=e.utf8Encoder(c.subarray(c.length-16));return l&&l.endsWith(``)&&(a.statusCode=503),i},Zwe=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),Qwe={relation:`after`,toMiddleware:`deserializerMiddleware`,tags:[`THROW_200_EXCEPTIONS`,`S3`],name:`throw200ExceptionsMiddleware`,override:!0},X4=e=>({applyToStack:t=>{t.addRelativeTo(Xwe(e),Qwe)}}),$we=e=>typeof e==`string`&&e.indexOf(`arn:`)===0&&e.split(`:`).length>=6;function eTe(e){return(t,n)=>async r=>{if(e.bucketEndpoint){let e=n.endpointV2;if(e){let t=r.input.Bucket;if(typeof t==`string`)try{let r=new URL(t);n.endpointV2={...e,url:r}}catch(e){let r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw n.logger?.constructor?.name===`NoOpLogger`?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}var tTe={name:`bucketEndpointMiddleware`,override:!0,relation:`after`,toMiddleware:`endpointV2Middleware`};function nTe({bucketEndpoint:e}){return t=>async n=>{let{input:{Bucket:r}}=n;if(!e&&typeof r==`string`&&!$we(r)&&r.indexOf(`/`)>=0){let e=Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name=`InvalidBucketName`,e}return t({...n})}}var rTe={step:`initialize`,tags:[`VALIDATE_BUCKET_NAME`],name:`validateBucketNameMiddleware`,override:!0},iTe=e=>({applyToStack:t=>{t.add(nTe(e),rTe),t.addRelativeTo(eTe(e),tTe)}}),aTe=class extends yie{async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=lw.of(e.input),a=i.getSchema(),o=0,s=a[6]??0;if(t&&typeof t==`object`)for(let[e,n]of i.structIterator()){if(++o>s)break;if(e===`Bucket`){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw Error(`No value provided for input HTTP label: Bucket.`);break}}return r}},oTe=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),Z4={CrtSignerV4:null},Q4=class{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return typeof Z4.CrtSignerV4==`function`?`crt`:typeof KS.SignatureV4a==`function`?`js`:`none`}constructor(e){this.sigv4Signer=new Rwe(e),this.signerOptions=e}async sign(e,t={}){return t.signingRegion===`*`?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if(n.signingRegion===`*`){let r=this.getSigv4aSigner(),i=Z4.CrtSignerV4;if(i&&r instanceof i)return r.signWithCredentials(e,t,n);throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if(t.signingRegion===`*`){let n=this.getSigv4aSigner(),r=Z4.CrtSignerV4;if(r&&n instanceof r)return n.presign(e,t);throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if(n.signingRegion===`*`)throw Error(`Method presignWithCredentials is not supported for [signingRegion=*].`);return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Z4.CrtSignerV4,t=KS.SignatureV4a;if(this.signerOptions.runtime===`node`){if(!e&&!t)throw Error(`Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);if(e&&typeof e==`function`)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==`function`)this.sigv4aSigner=new t({...this.signerOptions});else throw Error(`Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}else{if(!t||typeof t!=`function`)throw Error(`JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a`);this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}},$4=`ref`,e3=`argv`,t3=`backend`,n3=`authSchemes`,r3=`disableDoubleEncoding`,i3=`signingName`,a3=`signingRegion`,o3=`signingRegionSet`,s3=-1,c3=!0,l3=!1,u3=`isSet`,d3=`booleanEquals`,f3=`stringEquals`,p3=`coalesce`,m3=`substring`,h3=``,g3=`aws.partition`,_3=`partitionResult`,v3=`accessPointSuffix`,y3=`regionPrefix`,b3=e=>`outpostId_ssa_`+e+h3,x3=`hardwareType`,S3=`ite`,C3=`isValidHostLabel`,w3=`sigv4`,T3=`aws.isVirtualHostableS3Bucket`,E3=`url`,D3=`getAttr`,O3=`bucketArn`,k3=`--`,A3=`arnType`,j3=`accesspoint`,M3=e=>`accessPointName_ssa_`+e+h3,N3=`s3-object-lambda`,P3=`s3-outposts`,F3=`bucketPartition`,I3=`us-east-1`,L3=`outpostType`,R3=`name`,z3=`s3`,B3=`{url#scheme}://{Bucket}.{url#authority}{url#path}`,V3=`{url#scheme}://{url#authority}{url#path}`,H3=`{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}`,U3=`https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}`,W3=`https://{Bucket}.s3.{partitionResult#dnsSuffix}`,G3=e=>`{url#scheme}://{accessPointName_ssa_`+e+`}-{bucketArn#accountId}.{url#authority}{url#path}`,K3=e=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+e+"}`",q3=`sigv4a`,J3=`{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}`,Y3=`https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,X3=`https://s3.{partitionResult#dnsSuffix}`,Z3={[$4]:`UseFIPS`},Q3={[$4]:`UseDualStack`},$3={[$4]:`Bucket`},e6={fn:D3,[e3]:[{[$4]:_3},R3]},t6={[$4]:E3},n6={[$4]:`Region`},r6={[$4]:O3},i6={[$4]:A3},a6={[$4]:`accessPointName_ssa_1`},o6={fn:D3,[e3]:[r6,`region`]},s6={[$4]:x3},c6={fn:D3,[e3]:[r6,`service`]},l6={fn:D3,[e3]:[r6,`accountId`]},u6={[t3]:`S3Express`,[n3]:[{[r3]:!0,[R3]:`{_s3e_auth}`,[i3]:`s3express`,[a3]:`{Region}`}]},d6={[t3]:`S3Express`,[n3]:[{[r3]:!0,[R3]:w3,[i3]:`s3express`,[a3]:`{Region}`}]},f6={[n3]:[{[r3]:!0,[R3]:q3,[i3]:P3,[o3]:[`*`]},{[r3]:!0,[R3]:w3,[i3]:P3,[a3]:`{Region}`}]},p6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:I3}]},m6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:`{Region}`}]},h6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:N3,[a3]:`{bucketArn#region}`}]},g6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:`{bucketArn#region}`}]},_6={[n3]:[{[r3]:!0,[R3]:q3,[i3]:P3,[o3]:[`*`]},{[r3]:!0,[R3]:w3,[i3]:P3,[a3]:`{bucketArn#region}`}]},v6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:N3,[a3]:`{Region}`}]},y6=[n6],b6=[{[$4]:`Endpoint`}],x6=[$3],S6=[$3,0,7,!0],C6=[r6,`resourceId[1]`],sTe=[`*`],w6={conditions:[[u3,y6],[d3,[{[$4]:`Accelerate`},c3]],[d3,[Z3,c3]],[d3,[Q3,c3]],[u3,b6],[u3,x6],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,0,6,c3]},h3]},`--x-s3`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:S6},h3]},`--xa-s3`]],[g3,y6,_3],[m3,S6,v3],[f3,[{[$4]:v3},`--op-s3`]],[m3,[$3,8,12,c3],y3],[m3,[$3,32,49,c3],b3(2)],[m3,[$3,49,50,c3],x3],[d3,[{[$4]:`ForcePathStyle`},c3]],[f3,[e6,`aws-cn`]],[S3,[Q3,`.dualstack`,h3],`_s3e_ds`],[C3,[{[$4]:b3(2)},l3]],[S3,[Z3,`-fips`,h3],`_s3e_fips`],[S3,[{fn:p3,[e3]:[{[$4]:`DisableS3ExpressSessionAuth`},l3]},w3,`sigv4-s3express`],`_s3e_auth`],[T3,[$3,l3]],[`parseURL`,b6,E3],[d3,[{fn:p3,[e3]:[{[$4]:`UseS3ExpressControlEndpoint`},l3]},c3]],[T3,[$3,c3]],[f3,[{fn:D3,[e3]:[t6,`scheme`]},`http`]],[C3,[n6,l3]],[`aws.parseArn`,x6,O3],[D3,[{fn:`split`,[e3]:[$3,k3,0]},`[-2]`],`s3expressAvailabilityZoneId`],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,0,4,l3]},h3]},`arn:`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,16,18,c3]},h3]},k3]],[d3,[{fn:D3,[e3]:[t6,`isIp`]},c3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,21,23,c3]},h3]},k3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,27,29,c3]},h3]},k3]],[f3,[{[$4]:y3},`beta`]],[`uriEncode`,x6,`uri_encoded_bucket`],[C3,[n6,c3]],[d3,[{fn:p3,[e3]:[{[$4]:`UseObjectLambdaEndpoint`},l3]},c3]],[D3,[r6,`resourceId[0]`],A3],[f3,[i6,h3]],[f3,[i6,j3]],[D3,C6,M3(1)],[f3,[a6,h3]],[f3,[o6,h3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,14,16,c3]},h3]},k3]],[f3,[s6,`e`]],[f3,[s6,`o`]],[f3,[n6,`aws-global`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,19,21,c3]},h3]},k3]],[f3,[c6,N3]],[d3,[{fn:p3,[e3]:[{[$4]:`DisableAccessPoints`},l3]},c3]],[f3,[c6,P3]],[g3,[o6],F3],[C3,[a6,c3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,26,28,c3]},h3]},k3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,15,17,c3]},h3]},k3]],[D3,[r6,`resourceId[4]`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,20,22,c3]},h3]},k3]],[d3,[{[$4]:`UseGlobalEndpoint`},c3]],[f3,[n6,I3]],[D3,C6,b3(1)],[d3,[{fn:p3,[e3]:[{[$4]:`UseArnRegion`},c3]},c3]],[C3,[{[$4]:b3(1)},l3]],[D3,[r6,`resourceId[2]`],L3],[f3,[n6,o6]],[f3,[{fn:D3,[e3]:[{[$4]:F3},R3]},e6]],[d3,[{[$4]:`DisableMultiRegionAccessPoints`},c3]],[C3,[o6,c3]],[f3,[{fn:D3,[e3]:[r6,`partition`]},e6]],[f3,[l6,h3]],[f3,[c6,z3]],[C3,[l6,l3]],[D3,[r6,`resourceId[3]`],M3(2)],[C3,[a6,l3]],[f3,[{[$4]:L3},j3]],[C3,[{[$4]:M3(2)},l3]]],results:[[s3],[s3,`Accelerate cannot be used with FIPS`],[s3,`Cannot set dual-stack in combination with a custom endpoint.`],[s3,`A custom endpoint cannot be combined with FIPS`],[s3,`A custom endpoint cannot be combined with S3 Accelerate`],[s3,`Partition does not support FIPS`],[s3,`S3Express does not support S3 Accelerate.`],[`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,u6],[B3,u6],[s3,`S3Express bucket name is not a valid virtual hostable name.`],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,d6],[`https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,u6],[s3,`Unrecognized S3Express bucket name format.`],[V3,u6],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,d6],[s3,`Expected a endpoint to be specified but no endpoint was found`],[`https://{Bucket}.ec2.{url#authority}`,f6],[`https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,f6],[`https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}`,f6],[`https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,f6],[s3,`Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"`],[s3,`Invalid Outposts Bucket alias - it must be a valid bucket name.`],[s3,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[s3,"Custom endpoint `{Endpoint}` was not a valid URI"],[s3,`S3 Accelerate cannot be used in this region`],[`https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[H3,p6],[B3,p6],[H3,m6],[B3,m6],[U3,p6],[U3,m6],[W3,p6],[W3,m6],[`https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}`,m6],[s3,`Invalid region: region was not a valid DNS name.`],[s3,`S3 Object Lambda does not support Dual-stack`],[s3,`S3 Object Lambda does not support S3 Accelerate`],[s3,`Access points are not supported for this operation`],[s3,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[s3,`Invalid ARN: Missing account id`],[G3(1),h6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,h6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}`,h6],[s3,K3(1)],[s3,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[s3,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[s3,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[s3,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[s3,`Invalid ARN: bucket ARN is missing a region`],[s3,"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided"],[s3,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[s3,`Access Points do not support S3 Accelerate`],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[G3(1),g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[s3,`Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}`],[s3,`S3 MRAP does not support dual-stack`],[s3,`S3 MRAP does not support FIPS`],[s3,`S3 MRAP does not support S3 Accelerate`],[s3,`Invalid configuration: Multi-Region Access Point ARNs are disabled.`],[`https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}`,{[n3]:[{[r3]:c3,name:q3,[i3]:z3,[o3]:sTe}]}],[s3,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[s3,`Invalid Access Point Name`],[s3,`S3 Outposts does not support Dual-stack`],[s3,`S3 Outposts does not support FIPS`],[s3,`S3 Outposts does not support S3 Accelerate`],[s3,`Invalid Arn: Outpost Access Point ARN contains sub resources`],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}`,_6],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}`,_6],[s3,K3(2)],[s3,"Expected an outpost type `accesspoint`, found {outpostType}"],[s3,`Invalid ARN: expected an access point name`],[s3,`Invalid ARN: Expected a 4-component resource`],[s3,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[s3,`Invalid ARN: The Outpost Id was not set`],[s3,`Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})`],[s3,`Invalid ARN: No ARN type specified`],[s3,"Invalid ARN: `{Bucket}` was not a valid ARN"],[s3,`Path-style addressing cannot be used with ARN buckets`],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[J3,p6],[J3,m6],[Y3,p6],[Y3,m6],[`https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[s3,`Path-style addressing cannot be used with S3 Accelerate`],[V3,v6],[`https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}`,v6],[`https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}`,v6],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[V3,p6],[V3,m6],[X3,p6],[X3,m6],[`https://s3.{Region}.{partitionResult#dnsSuffix}`,m6],[s3,`A region must be set when sending requests to S3.`]]},cTe=2,Z=1e8,lTe=new Int32Array([-1,1,-1,0,3,Z+115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,Z+115,16,10,13,18,11,13,19,12,13,22,Z+14,13,35,14,Z+42,36,Z+103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,Z+86,38,Z+86,29,39,47,30,48,Z+58,31,50,32,Z+85,51,33,136,55,Z+76,34,59,35,Z+84,60,39,36,61,37,Z+83,62,38,146,63,41,Z+46,61,40,Z+83,62,41,150,64,42,Z+54,66,43,Z+53,70,44,Z+52,71,45,Z+81,73,46,Z+80,74,Z+78,Z+79,40,48,Z+57,41,Z+57,49,42,185,50,48,62,51,49,Z+45,52,51,53,526,60,56,54,62,Z+55,55,63,57,Z+46,62,Z+55,57,64,58,Z+54,66,59,Z+53,69,60,Z+65,70,61,Z+52,72,Z+64,Z+51,49,Z+45,63,51,64,526,60,67,65,62,Z+55,66,63,68,Z+46,62,Z+55,68,64,69,Z+54,66,70,Z+53,68,Z+47,71,70,72,Z+52,72,Z+50,Z+51,25,74,Z+42,46,Z+39,75,57,76,Z+41,58,Z+40,Z+41,26,Z+88,78,28,Z+87,79,34,82,80,35,81,545,36,Z+103,Z+115,46,Z+97,83,57,84,Z+99,58,Z+98,Z+99,5,101,86,8,87,Z+115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,Z+14,95,35,96,Z+42,36,Z+103,Z+42,22,Z+13,98,35,99,Z+42,36,Z+101,100,46,Z+110,Z+111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,Z+23,26,107,502,37,108,Z+86,38,Z+86,109,39,112,110,48,Z+58,111,50,136,Z+85,40,113,Z+57,41,Z+57,114,42,115,500,48,Z+56,116,52,117,Z+72,65,Z+69,Z+72,21,501,Z+23,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,Z+23,23,128,129,24,189,129,26,130,197,37,131,Z+86,38,Z+86,132,39,159,133,48,Z+58,134,50,135,Z+85,51,141,136,55,Z+76,137,59,138,Z+84,60,Z+83,139,61,140,Z+83,63,Z+83,Z+46,55,Z+76,142,59,143,Z+84,60,148,144,61,145,Z+83,62,147,146,63,150,Z+46,63,153,Z+46,61,149,Z+83,62,153,150,64,151,Z+54,66,152,Z+53,70,Z+82,Z+52,64,154,Z+54,66,155,Z+53,70,156,Z+52,71,157,Z+81,73,158,Z+80,74,Z+77,Z+79,40,160,Z+57,41,Z+57,161,42,185,162,48,174,163,49,Z+45,164,51,165,526,60,168,166,62,Z+55,167,63,169,Z+46,62,Z+55,169,64,170,Z+54,66,171,Z+53,69,172,Z+65,70,173,Z+52,72,Z+63,Z+51,49,Z+45,175,51,176,526,60,179,177,62,Z+55,178,63,180,Z+46,62,Z+55,180,64,181,Z+54,66,182,Z+53,68,Z+47,183,70,184,Z+52,72,Z+48,Z+51,48,Z+56,186,52,187,Z+72,65,Z+69,188,67,Z+70,Z+71,25,Z+36,Z+42,21,191,Z+23,25,192,Z+42,30,194,193,46,Z+34,Z+36,46,Z+33,Z+35,21,196,Z+23,26,Z+88,197,28,Z+87,198,34,201,199,35,200,545,36,Z+101,Z+115,46,Z+95,Z+96,17,203,Z+22,20,204,Z+21,21,205,550,33,206,550,44,Z+16,207,45,Z+18,Z+20,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,Z+9,20,217,227,21,231,Z+9,16,219,220,18,223,220,19,221,224,20,222,227,21,231,Z+12,19,226,224,20,225,Z+9,21,Z+9,Z+12,20,230,227,21,228,Z+9,30,229,Z+9,34,Z+7,Z+9,21,231,415,30,232,Z+8,34,Z+7,Z+8,4,Z+2,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,Z+86,38,Z+86,248,39,249,518,40,250,Z+57,41,Z+57,251,42,538,252,48,Z+43,253,49,Z+45,254,51,255,526,60,258,256,62,Z+55,257,63,259,Z+46,62,Z+55,259,64,260,Z+54,66,261,Z+53,69,262,Z+65,70,263,Z+52,72,Z+62,Z+51,25,265,Z+42,46,Z+31,Z+32,26,Z+88,267,28,Z+87,268,34,269,544,46,Z+93,Z+94,8,397,Z+9,8,407,Z+9,3,346,273,4,Z+3,274,5,284,275,8,276,Z+115,15,Z+5,277,16,278,281,18,279,281,19,280,281,22,Z+14,281,35,282,Z+42,36,Z+102,283,46,Z+106,Z+107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,Z+86,38,Z+86,291,39,292,307,40,293,Z+57,41,Z+57,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,Z+5,302,20,337,303,26,304,341,37,305,Z+86,38,Z+86,306,39,309,307,48,Z+58,308,50,Z+74,Z+85,40,310,Z+57,41,Z+57,311,42,335,312,48,324,313,49,Z+45,314,51,315,526,60,318,316,62,Z+55,317,63,319,Z+46,62,Z+55,319,64,320,Z+54,66,321,Z+53,69,322,Z+65,70,323,Z+52,72,Z+61,Z+51,49,Z+45,325,51,326,526,60,329,327,62,Z+55,328,63,330,Z+46,62,Z+55,330,64,331,Z+54,66,332,Z+53,68,Z+47,333,70,334,Z+52,72,Z+49,Z+51,48,Z+56,336,52,Z+67,Z+72,25,338,Z+42,46,Z+27,Z+28,15,Z+5,340,26,Z+88,341,28,Z+87,342,34,345,343,35,344,545,36,Z+102,Z+115,46,Z+91,Z+92,4,Z+2,347,5,357,348,8,349,Z+115,15,Z+5,350,16,351,354,18,352,354,19,353,354,22,Z+14,354,35,355,Z+42,36,Z+43,356,46,Z+104,Z+105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,Z+5,367,20,387,368,26,369,391,37,370,Z+86,38,Z+86,371,39,372,518,40,373,Z+57,41,Z+57,374,42,538,375,48,Z+43,376,49,Z+45,377,51,378,526,60,381,379,62,Z+55,380,63,382,Z+46,62,Z+55,382,64,383,Z+54,66,384,Z+53,69,385,Z+65,70,386,Z+52,72,Z+60,Z+51,25,388,Z+42,46,Z+25,Z+26,15,Z+5,390,26,Z+88,391,28,Z+87,392,34,393,544,46,Z+89,Z+90,15,Z+5,547,8,396,Z+9,15,Z+5,397,16,398,410,18,399,410,19,400,410,20,401,Z+9,27,402,Z+12,29,Z+11,403,31,Z+11,404,32,Z+11,422,8,406,Z+9,15,Z+5,407,16,408,410,18,409,410,19,411,410,20,Z+12,Z+9,20,414,412,22,413,Z+9,34,Z+10,Z+9,22,416,415,27,419,Z+12,27,418,417,34,Z+10,Z+12,34,Z+10,419,43,Z+11,420,47,Z+11,421,53,Z+11,422,54,Z+11,423,56,Z+11,Z+12,2,Z+1,425,3,478,426,4,Z+4,427,5,438,428,8,429,Z+115,16,430,433,18,431,433,19,432,433,22,Z+14,433,35,434,Z+42,36,Z+44,435,46,Z+112,436,57,437,Z+114,58,Z+113,Z+114,6,Z+6,439,7,Z+6,440,8,450,441,14,501,442,26,443,502,37,444,Z+86,38,Z+86,445,39,446,465,40,447,Z+57,41,Z+57,448,42,471,449,48,Z+44,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,Z+42,46,Z+37,Z+38,20,540,461,26,462,474,37,463,Z+86,38,Z+86,464,39,467,465,48,Z+58,466,50,Z+75,Z+85,40,468,Z+57,41,Z+57,469,42,471,470,48,Z+44,524,48,Z+44,472,52,Z+68,Z+72,26,Z+88,474,28,Z+87,475,34,Z+100,476,35,477,545,36,Z+44,Z+115,4,Z+2,479,5,488,480,8,481,Z+115,16,482,485,18,483,485,19,484,485,22,Z+14,485,35,486,Z+42,36,Z+43,487,46,Z+108,Z+109,6,Z+6,489,7,Z+6,490,8,503,491,14,501,492,26,493,502,37,494,Z+86,38,Z+86,495,39,496,518,40,497,Z+57,41,Z+57,498,42,538,499,48,Z+43,500,49,Z+45,526,26,Z+88,502,28,Z+87,Z+115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,Z+42,46,Z+29,Z+30,20,540,514,26,515,542,37,516,Z+86,38,Z+86,517,39,520,518,48,Z+58,519,50,Z+73,Z+85,40,521,Z+57,41,Z+57,522,42,538,523,48,Z+43,524,49,Z+45,525,51,529,526,60,Z+55,527,62,Z+55,528,63,Z+55,Z+46,60,532,530,62,Z+55,531,63,533,Z+46,62,Z+55,533,64,534,Z+54,66,535,Z+53,69,536,Z+65,70,537,Z+52,72,Z+59,Z+51,48,Z+43,539,52,Z+66,Z+72,25,Z+24,Z+42,26,Z+88,542,28,Z+87,543,34,Z+100,544,35,546,545,36,Z+42,Z+115,36,Z+43,Z+115,17,548,Z+22,20,549,Z+21,33,552,550,44,Z+17,551,45,Z+19,Z+20,44,Z+15,553,45,Z+15,Z+20]),uTe=IT.from(lTe,cTe,w6.conditions,w6.results),dTe=new LT({size:50,params:[`Accelerate`,`Bucket`,`DisableAccessPoints`,`DisableMultiRegionAccessPoints`,`DisableS3ExpressSessionAuth`,`Endpoint`,`ForcePathStyle`,`Region`,`UseArnRegion`,`UseDualStack`,`UseFIPS`,`UseGlobalEndpoint`,`UseObjectLambdaEndpoint`,`UseS3ExpressControlEndpoint`]}),T6=(e,t={})=>dTe.get(e,()=>hE(uTe,{endpointParams:e,logger:t.logger}));VT.aws=wE;var fTe=(e=>async(t,n,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let i=await e(t,n,r),a=LS(n)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw Error(`getEndpointParameterInstructions() is not defined on '${n.commandName}'`);let o=await gD(r,{getEndpointParameterInstructions:a},t);return Object.assign(i,o)})(async(e,t,n)=>({operation:LS(t).operation,region:await RS(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}));function E6(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function D6(e){return{schemeId:`aws.auth#sigv4a`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var pTe=((e,t,n)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let a=[];for(let e of i){let{name:t,properties:o={},...s}=e,c=t.toLowerCase();t!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${t}' to '${c}'`);let l;if(c===`sigv4a`){l=`aws.auth#sigv4a`;let e=i.find(e=>{let t=e.name.toLowerCase();return t!==`sigv4a`&&t.startsWith(`sigv4`)});if(Q4.sigv4aDependency()===`none`&&e)continue}else if(c.startsWith(`sigv4`))l=`aws.auth#sigv4`;else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);let u=n[l];if(!u)throw Error(`Could not find HttpAuthOption create function for '${l}'`);let d=u(r);d.schemeId=l,d.signingProperties={...d.signingProperties||{},...s,...o},a.push(d)}return a})(T6,e=>{let t=[];switch(e.operation){default:t.push(E6(e)),t.push(D6(e))}return t},{"aws.auth#sigv4":E6,"aws.auth#sigv4a":D6}),mTe=e=>{let t=Yre(GD(e));return Object.assign(t,{authSchemePreference:RS(e.authSchemePreference??[])})},hTe=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:`s3`,clientContextParams:e.clientContextParams??{}}),O6={ForcePathStyle:{type:`clientContextParams`,name:`forcePathStyle`},UseArnRegion:{type:`clientContextParams`,name:`useArnRegion`},DisableMultiRegionAccessPoints:{type:`clientContextParams`,name:`disableMultiregionAccessPoints`},Accelerate:{type:`clientContextParams`,name:`useAccelerateEndpoint`},DisableS3ExpressSessionAuth:{type:`clientContextParams`,name:`disableS3ExpressSessionAuth`},UseGlobalEndpoint:{type:`builtInParams`,name:`useGlobalEndpoint`},UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},k6=class e extends kD{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},gTe=class e extends k6{name=`NoSuchUpload`;$fault=`client`;constructor(t){super({name:`NoSuchUpload`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},_Te=class e extends k6{name=`AccessDenied`;$fault=`client`;constructor(t){super({name:`AccessDenied`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},vTe=class e extends k6{name=`ObjectNotInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectNotInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},yTe=class e extends k6{name=`BucketAlreadyExists`;$fault=`client`;constructor(t){super({name:`BucketAlreadyExists`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},bTe=class e extends k6{name=`BucketAlreadyOwnedByYou`;$fault=`client`;constructor(t){super({name:`BucketAlreadyOwnedByYou`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},xTe=class e extends k6{name=`NoSuchBucket`;$fault=`client`;constructor(t){super({name:`NoSuchBucket`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},STe=class e extends k6{name=`InvalidObjectState`;$fault=`client`;StorageClass;AccessTier;constructor(t){super({name:`InvalidObjectState`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.StorageClass=t.StorageClass,this.AccessTier=t.AccessTier}},CTe=class e extends k6{name=`NoSuchKey`;$fault=`client`;constructor(t){super({name:`NoSuchKey`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},wTe=class e extends k6{name=`NotFound`;$fault=`client`;constructor(t){super({name:`NotFound`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},TTe=class e extends k6{name=`EncryptionTypeMismatch`;$fault=`client`;constructor(t){super({name:`EncryptionTypeMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ETe=class e extends k6{name=`InvalidRequest`;$fault=`client`;constructor(t){super({name:`InvalidRequest`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},DTe=class e extends k6{name=`InvalidWriteOffset`;$fault=`client`;constructor(t){super({name:`InvalidWriteOffset`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},OTe=class e extends k6{name=`TooManyParts`;$fault=`client`;constructor(t){super({name:`TooManyParts`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},kTe=class e extends k6{name=`IdempotencyParameterMismatch`;$fault=`client`;constructor(t){super({name:`IdempotencyParameterMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ATe=class e extends k6{name=`ObjectAlreadyInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectAlreadyInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},A6=`ACL`,jTe=`AccessDenied`,MTe=`AbortDate`,j6=`AccessKeyId`,NTe=`AbortMultipartUpload`,PTe=`AbortMultipartUploadOutput`,FTe=`AbortMultipartUploadRequest`,ITe=`AcceptRanges`,LTe=`AbortRuleId`,RTe=`AccessTier`,M6=`Bucket`,N6=`BucketArn`,zTe=`BucketAlreadyExists`,BTe=`BucketAlreadyOwnedByYou`,VTe=`BypassGovernanceRetention`,HTe=`BucketInfo`,P6=`BucketKeyEnabled`,UTe=`BucketNamespace`,F6=`BucketRegion`,I6=`Body`,L6=`Buckets`,R6=`ChecksumAlgorithm`,WTe=`CreateBucket`,z6=`CreateBucketConfiguration`,GTe=`CreateBucketOutput`,KTe=`CreateBucketRequest`,B6=`CacheControl`,V6=`ChecksumCRC32`,H6=`ChecksumCRC32C`,U6=`ChecksumCRC64NVME`,W6=`Cache-Control`,qTe=`CreationDate`,G6=`Content-Disposition`,K6=`ContentDisposition`,q6=`Content-Encoding`,J6=`ContentEncoding`,Y6=`ContentLanguage`,X6=`Content-Language`,Z6=`Content-Length`,Q6=`ContentLength`,$6=`Content-MD5`,e8=`ChecksumMD5`,t8=`ContentMD5`,JTe=`CompletedMultipartUpload`,YTe=`CompleteMultipartUploadOutput`,XTe=`CreateMultipartUploadOutput`,ZTe=`CompleteMultipartUploadResult`,QTe=`CompleteMultipartUploadRequest`,$Te=`CreateMultipartUploadRequest`,n8=`CompleteMultipartUpload`,eEe=`CreateMultipartUpload`,tEe=`ChecksumMode`,nEe=`CommonPrefix`,rEe=`CommonPrefixList`,iEe=`CompletedPartList`,aEe=`CompletedPart`,oEe=`CommonPrefixes`,sEe=`ContentRange`,cEe=`Content-Range`,r8=`ChecksumSHA1`,i8=`ChecksumSHA256`,a8=`ChecksumSHA512`,lEe=`CreateSessionOutput`,uEe=`CreateSessionResult`,dEe=`CreateSessionRequest`,fEe=`CreateSession`,o8=`ChecksumType`,s8=`Content-Type`,c8=`ContentType`,l8=`ContinuationToken`,u8=`ChecksumXXHASH64`,d8=`ChecksumXXHASH3`,f8=`ChecksumXXHASH128`,pEe=`Contents`,p8=`Credentials`,m8=`DeleteMarker`,mEe=`DisplayName`,hEe=`DeleteObjectOutput`,gEe=`DeleteObjectRequest`,_Ee=`DeleteObject`,vEe=`DataRedundancy`,h8=`Delimiter`,g8=`Expiration`,_8=`ExpectedBucketOwner`,v8=`ExpiresString`,yEe=`EncryptionTypeMismatch`,y8=`ETag`,b8=`EncodingType`,x8=`Expires`,bEe=`FetchOwner`,S8=`GrantFullControl`,xEe=`GetObject`,SEe=`GetObjectOutput`,CEe=`GetObjectRequest`,C8=`GrantRead`,w8=`GrantReadACP`,wEe=`GrantWrite`,T8=`GrantWriteACP`,TEe=`ID`,E8=`IfMatch`,EEe=`IfMatchInitiatedTime`,DEe=`IfMatchLastModifiedTime`,OEe=`IfMatchSize`,kEe=`If-Modified-Since`,AEe=`IfModifiedSince`,jEe=`InitiateMultipartUploadResult`,D8=`If-Match`,O8=`IfNoneMatch`,k8=`If-None-Match`,MEe=`InvalidObjectState`,NEe=`IdempotencyParameterMismatch`,PEe=`InvalidRequest`,FEe=`IsRestoreInProgress`,IEe=`IsTruncated`,LEe=`IfUnmodifiedSince`,REe=`If-Unmodified-Since`,zEe=`InvalidWriteOffset`,A8=`Key`,BEe=`KeyCount`,j8=`Location`,VEe=`ListAllMyBucketsResult`,HEe=`ListBuckets`,UEe=`ListBucketsOutput`,WEe=`ListBucketsRequest`,GEe=`ListBucketResult`,KEe=`LocationConstraint`,qEe=`LocationInfo`,M8=`LastModified`,JEe=`Last-Modified`,YEe=`ListObjectsV2`,XEe=`ListObjectsV2Output`,ZEe=`ListObjectsV2Request`,N8=`Metadata`,QEe=`MaxBuckets`,$Ee=`MFA`,P8=`MaxKeys`,eDe=`MissingMeta`,tDe=`MpuObjectSize`,nDe=`MultipartUpload`,F8=`Name`,rDe=`NextContinuationToken`,iDe=`NotFound`,aDe=`NoSuchBucket`,oDe=`NoSuchKey`,sDe=`NoSuchUpload`,I8=`Owner`,cDe=`ObjectAlreadyInActiveTierError`,lDe=`ObjectLockEnabledForBucket`,L8=`ObjectLockLegalHoldStatus`,R8=`ObjectLockMode`,z8=`ObjectLockRetainUntilDate`,uDe=`ObjectList`,dDe=`ObjectNotInActiveTierError`,fDe=`ObjectOwnership`,pDe=`OptionalObjectAttributes`,mDe=`Object`,B8=`Prefix`,hDe=`PartsCount`,V8=`PartNumber`,gDe=`PutObject`,_De=`PutObjectOutput`,vDe=`PutObjectRequest`,yDe=`PutObjectTagging`,bDe=`PutObjectTaggingOutput`,xDe=`PutObjectTaggingRequest`,SDe=`Parts`,CDe=`Part`,H8=`RequestCharged`,wDe=`ResponseCacheControl`,TDe=`ResponseContentDisposition`,EDe=`ResponseContentEncoding`,DDe=`ResponseContentLanguage`,ODe=`ResponseContentType`,kDe=`ResponseExpires`,ADe=`RestoreExpiryDate`,U8=`RequestPayer`,jDe=`ReplicationStatus`,W8=`RestoreStatus`,G8=`Range`,MDe=`Restore`,K8=`StartAfter`,q8=`SecretAccessKey`,NDe=`StreamingBlob`,J8=`StorageClass`,PDe=`SessionCredentialValue`,FDe=`SessionCredentials`,IDe=`SessionMode`,Y8=`ServerSideEncryption`,X8=`SSECustomerAlgorithm`,Z8=`SSECustomerKey`,Q8=`SSECustomerKeyMD5`,$8=`SSEKMSEncryptionContext`,e5=`SSEKMSKeyId`,t5=`SessionToken`,n5=`Size`,LDe=`Tags`,RDe=`TagCount`,zDe=`TooManyParts`,r5=`TagSet`,i5=`Tag`,a5=`Tagging`,o5=`Type`,s5=`UploadId`,BDe=`UploadPart`,VDe=`UploadPartOutput`,HDe=`UploadPartRequest`,UDe=`Value`,c5=`VersionId`,WDe=`WriteOffsetBytes`,l5=`WebsiteRedirectLocation`,GDe=`accept-ranges`,KDe=`bucket-region`,u5=`client`,d5=`continuation-token`,qDe=`delimiter`,f5=`error`,JDe=`encoding-type`,YDe=`fetch-owner`,p5=`http`,m5=`httpChecksum`,h5=`httpError`,Q=`httpHeader`,g5=`httpPayload`,_5=`httpPrefixHeaders`,v5=`httpQuery`,XDe=`max-buckets`,ZDe=`max-keys`,y5=`prefix`,b5=`partNumber`,QDe=`response-cache-control`,$De=`response-content-disposition`,eOe=`response-content-encoding`,tOe=`response-content-language`,nOe=`response-content-type`,rOe=`response-expires`,x5=`smithy.ts.sdk.synthetic.com.amazonaws.s3`,iOe=`start-after`,aOe=`streaming`,S5=`uploadId`,C5=`versionId`,w5=`xmlFlattened`,T5=`xmlName`,E5=`x-amz-acl`,oOe=`x-amz-abort-date`,sOe=`x-amz-abort-rule-id`,cOe=`x-amz-bucket-arn`,lOe=`x-amz-bypass-governance-retention`,uOe=`x-amz-bucket-namespace`,dOe=`x-amz-bucket-object-lock-enabled`,D5=`x-amz-checksum-algorithm`,O5=`x-amz-checksum-crc32`,k5=`x-amz-checksum-crc32c`,A5=`x-amz-checksum-crc64nvme`,j5=`x-amz-checksum-md5`,fOe=`x-amz-checksum-mode`,M5=`x-amz-checksum-sha1`,N5=`x-amz-checksum-sha256`,P5=`x-amz-checksum-sha512`,pOe=`x-amz-create-session-mode`,F5=`x-amz-checksum-type`,I5=`x-amz-checksum-xxhash64`,L5=`x-amz-checksum-xxhash3`,R5=`x-amz-checksum-xxhash128`,z5=`x-amz-delete-marker`,B5=`x-amz-expiration`,V5=`x-amz-expected-bucket-owner`,H5=`x-amz-grant-full-control`,U5=`x-amz-grant-read`,W5=`x-amz-grant-read-acp`,mOe=`x-amz-grant-write`,G5=`x-amz-grant-write-acp`,hOe=`x-amz-if-match-initiated-time`,gOe=`x-amz-if-match-last-modified-time`,_Oe=`x-amz-if-match-size`,K5=`x-amz-meta-`,vOe=`x-amz-mfa`,yOe=`x-amz-missing-meta`,bOe=`x-amz-mp-object-size`,xOe=`x-amz-mp-parts-count`,q5=`x-amz-object-lock-legal-hold`,J5=`x-amz-object-lock-mode`,Y5=`x-amz-object-lock-retain-until-date`,SOe=`x-amz-object-ownership`,COe=`x-amz-optional-object-attributes`,wOe=`x-amz-object-size`,TOe=`x-amz-restore`,X5=`x-amz-request-charged`,Z5=`x-amz-request-payer`,EOe=`x-amz-replication-status`,Q5=`x-amz-storage-class`,$5=`x-amz-sdk-checksum-algorithm`,e7=`x-amz-server-side-encryption`,t7=`x-amz-server-side-encryption-aws-kms-key-id`,n7=`x-amz-server-side-encryption-bucket-key-enabled`,r7=`x-amz-server-side-encryption-context`,i7=`x-amz-server-side-encryption-customer-algorithm`,a7=`x-amz-server-side-encryption-customer-key`,o7=`x-amz-server-side-encryption-customer-key-MD5`,s7=`x-amz-tagging`,DOe=`x-amz-tagging-count`,c7=`x-amz-version-id`,OOe=`x-amz-write-offset-bytes`,l7=`x-amz-website-redirect-location`,$=`com.amazonaws.s3`,u7=pw.for(x5),kOe=[-3,x5,`S3ServiceException`,0,[],[]];u7.registerError(kOe,k6);var d7=pw.for($),AOe=[-3,$,jTe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(AOe,_Te);var jOe=[-3,$,zTe,{[f5]:u5,[h5]:409},[],[]];d7.registerError(jOe,yTe);var MOe=[-3,$,BTe,{[f5]:u5,[h5]:409},[],[]];d7.registerError(MOe,bTe);var NOe=[-3,$,yEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(NOe,TTe);var POe=[-3,$,NEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(POe,kTe);var FOe=[-3,$,MEe,{[f5]:u5,[h5]:403},[J8,RTe],[0,0]];d7.registerError(FOe,STe);var IOe=[-3,$,PEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(IOe,ETe);var LOe=[-3,$,zEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(LOe,DTe);var ROe=[-3,$,aDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(ROe,xTe);var zOe=[-3,$,oDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(zOe,CTe);var BOe=[-3,$,sDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(BOe,gTe);var VOe=[-3,$,iDe,{[f5]:u5},[],[]];d7.registerError(VOe,wTe);var HOe=[-3,$,cDe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(HOe,ATe);var UOe=[-3,$,dDe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(UOe,vTe);var WOe=[-3,$,zDe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(WOe,OTe);var GOe=[u7,d7],f7=[0,$,PDe,8,0],p7=[0,$,Z8,8,0],m7=[0,$,$8,8,0],h7=[0,$,e5,8,0],g7=[0,$,NDe,{[aOe]:1},42],KOe=[3,$,PTe,0,[H8],[[0,{[Q]:X5}]]],qOe=[3,$,FTe,0,[M6,A8,s5,U8,_8,EEe],[[0,1],[0,1],[0,{[v5]:S5}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[6,{[Q]:hOe}]],3],JOe=[3,$,M6,0,[F8,qTe,F6,N6],[0,4,0,0]],YOe=[3,$,HTe,0,[vEe,o5],[0,0]],XOe=[3,$,nEe,0,[B8],[0]],ZOe=[3,$,JTe,0,[SDe],[[()=>Ake,{[w5]:1,[T5]:CDe}]]],QOe=[3,$,aEe,0,[y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,V8],[0,0,0,0,0,0,0,0,0,0,0,1]],$Oe=[3,$,YTe,{[T5]:ZTe},[j8,M6,A8,g8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,Y8,c5,e5,P6,H8],[0,0,0,[0,{[Q]:B5}],0,0,0,0,0,0,0,0,0,0,0,0,[0,{[Q]:e7}],[0,{[Q]:c7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:X5}]]],eke=[3,$,QTe,0,[M6,A8,s5,nDe,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,tDe,U8,_8,E8,O8,X8,Z8,Q8],[[0,1],[0,1],[0,{[v5]:S5}],[()=>ZOe,{[g5]:1,[T5]:n8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[1,{[Q]:bOe}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[0,{[Q]:D8}],[0,{[Q]:k8}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}]],3],tke=[3,$,z6,0,[KEe,j8,M6,LDe],[0,()=>gke,()=>YOe,[()=>v7,0]]],nke=[3,$,GTe,0,[j8,N6],[[0,{[Q]:j8}],[0,{[Q]:cOe}]]],rke=[3,$,KTe,0,[M6,A6,z6,S8,C8,w8,wEe,T8,lDe,fDe,UTe],[[0,1],[0,{[Q]:E5}],[()=>tke,{[g5]:1,[T5]:z6}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:mOe}],[0,{[Q]:G5}],[2,{[Q]:dOe}],[0,{[Q]:SOe}],[0,{[Q]:uOe}]],1],ike=[3,$,XTe,{[T5]:jEe},[MTe,LTe,M6,A8,s5,Y8,X8,Q8,e5,$8,P6,H8,R6,o8],[[4,{[Q]:oOe}],[0,{[Q]:sOe}],[0,{[T5]:M6}],0,0,[0,{[Q]:e7}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:X5}],[0,{[Q]:D5}],[0,{[Q]:F5}]]],ake=[3,$,$Te,0,[M6,A8,A6,B6,K6,J6,Y6,c8,x8,S8,C8,w8,T8,N8,Y8,J8,l5,X8,Z8,Q8,e5,$8,P6,U8,a5,R8,z8,L8,_8,R6,o8],[[0,1],[0,1],[0,{[Q]:E5}],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[0,{[Q]:s8}],[4,{[Q]:x8}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:G5}],[128,{[_5]:K5}],[0,{[Q]:e7}],[0,{[Q]:Q5}],[0,{[Q]:l7}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:Z5}],[0,{[Q]:s7}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}],[0,{[Q]:V5}],[0,{[Q]:D5}],[0,{[Q]:F5}]],2],oke=[3,$,lEe,{[T5]:uEe},[p8,Y8,e5,$8,P6],[[()=>Cke,{[T5]:p8}],[0,{[Q]:e7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}]],1],ske=[3,$,dEe,0,[M6,IDe,Y8,e5,$8,P6],[[0,1],[0,{[Q]:pOe}],[0,{[Q]:e7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}]],1],cke=[3,$,hEe,0,[m8,c5,H8],[[2,{[Q]:z5}],[0,{[Q]:c7}],[0,{[Q]:X5}]]],lke=[3,$,gEe,0,[M6,A8,$Ee,c5,U8,VTe,_8,E8,DEe,OEe],[[0,1],[0,1],[0,{[Q]:vOe}],[0,{[v5]:C5}],[0,{[Q]:Z5}],[2,{[Q]:lOe}],[0,{[Q]:V5}],[0,{[Q]:D8}],[6,{[Q]:gOe}],[1,{[Q]:_Oe}]],2],uke=[3,$,SEe,0,[I6,m8,ITe,g8,MDe,M8,Q6,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,eDe,c5,B6,K6,J6,Y6,sEe,c8,x8,v8,l5,Y8,N8,X8,Q8,e5,P6,J8,H8,jDe,hDe,RDe,R8,z8,L8],[[()=>g7,16],[2,{[Q]:z5}],[0,{[Q]:GDe}],[0,{[Q]:B5}],[0,{[Q]:TOe}],[4,{[Q]:JEe}],[1,{[Q]:Z6}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[1,{[Q]:yOe}],[0,{[Q]:c7}],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[0,{[Q]:cEe}],[0,{[Q]:s8}],[4,{[Q]:x8}],[0,{[Q]:v8}],[0,{[Q]:l7}],[0,{[Q]:e7}],[128,{[_5]:K5}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:Q5}],[0,{[Q]:X5}],[0,{[Q]:EOe}],[1,{[Q]:xOe}],[1,{[Q]:DOe}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}]]],dke=[3,$,CEe,0,[M6,A8,E8,AEe,O8,LEe,G8,wDe,TDe,EDe,DDe,ODe,kDe,c5,X8,Z8,Q8,U8,V8,_8,tEe],[[0,1],[0,1],[0,{[Q]:D8}],[4,{[Q]:kEe}],[0,{[Q]:k8}],[4,{[Q]:REe}],[0,{[Q]:G8}],[0,{[v5]:QDe}],[0,{[v5]:$De}],[0,{[v5]:eOe}],[0,{[v5]:tOe}],[0,{[v5]:nOe}],[6,{[v5]:rOe}],[0,{[v5]:C5}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[0,{[Q]:Z5}],[1,{[v5]:b5}],[0,{[Q]:V5}],[0,{[Q]:fOe}]],2],fke=[3,$,UEe,{[T5]:VEe},[L6,I8,l8,B8],[[()=>Oke,0],()=>_7,0,0]],pke=[3,$,WEe,0,[QEe,l8,B8,F6],[[1,{[v5]:XDe}],[0,{[v5]:d5}],[0,{[v5]:y5}],[0,{[v5]:KDe}]]],mke=[3,$,XEe,{[T5]:GEe},[IEe,pEe,F8,B8,h8,P8,oEe,b8,BEe,l8,rDe,K8,H8],[2,[()=>jke,{[w5]:1}],0,0,0,1,[()=>kke,{[w5]:1}],0,1,0,0,0,[0,{[Q]:X5}]]],hke=[3,$,ZEe,0,[M6,h8,b8,P8,B8,l8,bEe,K8,U8,_8,pDe],[[0,1],[0,{[v5]:qDe}],[0,{[v5]:JDe}],[1,{[v5]:ZDe}],[0,{[v5]:y5}],[0,{[v5]:d5}],[2,{[v5]:YDe}],[0,{[v5]:iOe}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[64,{[Q]:COe}]],1],gke=[3,$,qEe,0,[o5,F8],[0,0]],_ke=[3,$,mDe,0,[A8,M8,y8,R6,o8,n5,J8,I8,W8],[0,4,0,[64,{[w5]:1}],0,1,0,()=>_7,()=>Ske]],_7=[3,$,I8,0,[mEe,TEe],[0,0]],vke=[3,$,_De,0,[g8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,Y8,c5,X8,Q8,e5,$8,P6,n5,H8],[[0,{[Q]:B5}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[0,{[Q]:e7}],[0,{[Q]:c7}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[1,{[Q]:wOe}],[0,{[Q]:X5}]]],yke=[3,$,vDe,0,[M6,A8,A6,I6,B6,K6,J6,Y6,Q6,t8,c8,R6,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,x8,E8,O8,S8,C8,w8,T8,WDe,N8,Y8,J8,l5,X8,Z8,Q8,e5,$8,P6,U8,a5,R8,z8,L8,_8],[[0,1],[0,1],[0,{[Q]:E5}],[()=>g7,16],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[1,{[Q]:Z6}],[0,{[Q]:$6}],[0,{[Q]:s8}],[0,{[Q]:$5}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[4,{[Q]:x8}],[0,{[Q]:D8}],[0,{[Q]:k8}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:G5}],[1,{[Q]:OOe}],[128,{[_5]:K5}],[0,{[Q]:e7}],[0,{[Q]:Q5}],[0,{[Q]:l7}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:Z5}],[0,{[Q]:s7}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}],[0,{[Q]:V5}]],2],bke=[3,$,bDe,0,[c5],[[0,{[Q]:c7}]]],xke=[3,$,xDe,0,[M6,A8,a5,c5,t8,R6,_8,U8],[[0,1],[0,1],[()=>Tke,{[g5]:1,[T5]:a5}],[0,{[v5]:C5}],[0,{[Q]:$6}],[0,{[Q]:$5}],[0,{[Q]:V5}],[0,{[Q]:Z5}]],3],Ske=[3,$,W8,0,[FEe,ADe],[2,4]],Cke=[3,$,FDe,0,[j6,q8,t5,g8],[[0,{[T5]:j6}],[()=>f7,{[T5]:q8}],[()=>f7,{[T5]:t5}],[4,{[T5]:g8}]],4],wke=[3,$,i5,0,[A8,UDe],[0,0],2],Tke=[3,$,a5,0,[r5],[[()=>v7,0]],1],Eke=[3,$,VDe,0,[Y8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,X8,Q8,e5,P6,H8],[[0,{[Q]:e7}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:X5}]]],Dke=[3,$,HDe,0,[M6,A8,V8,s5,I6,Q6,t8,R6,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,X8,Z8,Q8,U8,_8],[[0,1],[0,1],[1,{[v5]:b5}],[0,{[v5]:S5}],[()=>g7,16],[1,{[Q]:Z6}],[0,{[Q]:$6}],[0,{[Q]:$5}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[0,{[Q]:Z5}],[0,{[Q]:V5}]],4],Oke=[1,$,L6,0,[()=>JOe,{[T5]:M6}]],kke=[1,$,rEe,0,()=>XOe],Ake=[1,$,iEe,0,()=>QOe],jke=[1,$,uDe,0,[()=>_ke,0]],v7=[1,$,r5,0,[()=>wke,{[T5]:i5}]],Mke=[9,$,NTe,{[p5]:[`DELETE`,`/{Key+}?x-id=AbortMultipartUpload`,204]},()=>qOe,()=>KOe],Nke=[9,$,n8,{[p5]:[`POST`,`/{Key+}`,200]},()=>eke,()=>$Oe],Pke=[9,$,WTe,{[p5]:[`PUT`,`/`,200]},()=>rke,()=>nke],Fke=[9,$,eEe,{[p5]:[`POST`,`/{Key+}?uploads`,200]},()=>ake,()=>ike],Ike=[9,$,fEe,{[p5]:[`GET`,`/?session`,200]},()=>ske,()=>oke],Lke=[9,$,_Ee,{[p5]:[`DELETE`,`/{Key+}?x-id=DeleteObject`,204]},()=>lke,()=>cke],Rke=[9,$,xEe,{[m5]:`-`,[p5]:[`GET`,`/{Key+}?x-id=GetObject`,200]},()=>dke,()=>uke],zke=[9,$,HEe,{[p5]:[`GET`,`/?x-id=ListBuckets`,200]},()=>pke,()=>fke],Bke=[9,$,YEe,{[p5]:[`GET`,`/?list-type=2`,200]},()=>hke,()=>mke],Vke=[9,$,gDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?x-id=PutObject`,200]},()=>yke,()=>vke],Hke=[9,$,yDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?tagging`,200]},()=>xke,()=>bke],Uke=[9,$,BDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?x-id=UploadPart`,200]},()=>Dke,()=>Eke],Wke=class extends OD.classBuilder().ep({...O6,DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}}).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`CreateSession`,{}).n(`S3Client`,`CreateSessionCommand`).sc(Ike).build(){},Gke={name:`@aws-sdk/client-s3`,description:`AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native`,version:`3.1045.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-s3`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo s3`,test:`yarn g:vitest run`,"test:browser":`node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.mts`,"test:browser:watch":`node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.mts`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts && yarn test:browser`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest watch -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":`5.2.0`,"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.8`,"@aws-sdk/credential-provider-node":`^3.972.39`,"@aws-sdk/middleware-bucket-endpoint":`^3.972.10`,"@aws-sdk/middleware-expect-continue":`^3.972.10`,"@aws-sdk/middleware-flexible-checksums":`^3.974.16`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-location-constraint":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-sdk-s3":`^3.972.37`,"@aws-sdk/middleware-ssec":`^3.972.10`,"@aws-sdk/middleware-user-agent":`^3.972.38`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/signature-v4-multi-region":`^3.996.25`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.24`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/eventstream-serde-browser":`^4.2.14`,"@smithy/eventstream-serde-config-resolver":`^4.3.14`,"@smithy/eventstream-serde-node":`^4.2.14`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-blob-browser":`^4.2.15`,"@smithy/hash-node":`^4.2.14`,"@smithy/hash-stream-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/md5-js":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.7`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.6`,"@smithy/util-stream":`^4.5.25`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.3.0`,tslib:`^2.6.2`},devDependencies:{"@aws-sdk/signature-v4-crt":`3.1045.0`,"@smithy/snapshot-testing":`^2.0.8`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-s3`}};function y7(e){return typeof e==`string`?e.length===0:e.byteLength===0}var b7={name:`SHA-1`},x7={name:`HMAC`,hash:b7},Kke=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]),qke=function(){function e(e){this.toHash=new Uint8Array,e!==void 0&&(this.key=new Promise(function(t,n){Tx().crypto.subtle.importKey(`raw`,S7(e),x7,!1,[`sign`]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!y7(e)){var t=S7(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return Tx().crypto.subtle.sign(x7,t,e.toHash).then(function(e){return new Uint8Array(e)})}):y7(this.toHash)?Promise.resolve(Kke):Promise.resolve().then(function(){return Tx().crypto.subtle.digest(b7,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array},e}();function S7(e){return typeof e==`string`?hx(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var Jke=function(){function e(e){if(Lx(Tx()))this.hash=new qke(e);else throw Error(`SHA1 not supported`)}return e.prototype.update=function(e,t){this.hash.update(_x(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),C7=class e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&w7(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&w7(e),parseInt(Qx(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};function w7(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var Yke=class{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(C7.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!aAe.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(Zx(e.value.replace(/\-/g,``)),1),u}}parse(e){let t={},n=0;for(;n{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),_Ae=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})},vAe=class{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new hAe({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=yAe(e)?gAe(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return typeof ReadableStream==`function`?_Ae(n):n}},yAe=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream,bAe=e=>new vAe(e);async function xAe(e,t,n=1024*1024){let r=e.size,i=0;for(;i{n.update(e)}),n.digest()},CAe=[1732584193,4023233417,2562383102,271733878],wAe=class{state;buffer;bufferLength;bytesHashed;finished;constructor(){this.reset()}update(e){if(TAe(e))return;if(this.finished)throw Error(`Attempted to update an already finished hash.`);let t=EAe(e),n=0,{byteLength:r}=t;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===64&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:n}=this,r=n*8;if(e.setUint8(this.bufferLength++,128),t%64>=56){for(let t=this.bufferLength;t<64;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<56;t++)e.setUint8(t,0);e.setUint32(56,r>>>0,!0),e.setUint32(60,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(16));for(let t=0;t<4;t++)e.setUint32(t*4,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,n=t[0],r=t[1],i=t[2],a=t[3];n=A7(n,r,i,a,e.getUint32(0,!0),7,3614090360),a=A7(a,n,r,i,e.getUint32(4,!0),12,3905402710),i=A7(i,a,n,r,e.getUint32(8,!0),17,606105819),r=A7(r,i,a,n,e.getUint32(12,!0),22,3250441966),n=A7(n,r,i,a,e.getUint32(16,!0),7,4118548399),a=A7(a,n,r,i,e.getUint32(20,!0),12,1200080426),i=A7(i,a,n,r,e.getUint32(24,!0),17,2821735955),r=A7(r,i,a,n,e.getUint32(28,!0),22,4249261313),n=A7(n,r,i,a,e.getUint32(32,!0),7,1770035416),a=A7(a,n,r,i,e.getUint32(36,!0),12,2336552879),i=A7(i,a,n,r,e.getUint32(40,!0),17,4294925233),r=A7(r,i,a,n,e.getUint32(44,!0),22,2304563134),n=A7(n,r,i,a,e.getUint32(48,!0),7,1804603682),a=A7(a,n,r,i,e.getUint32(52,!0),12,4254626195),i=A7(i,a,n,r,e.getUint32(56,!0),17,2792965006),r=A7(r,i,a,n,e.getUint32(60,!0),22,1236535329),n=j7(n,r,i,a,e.getUint32(4,!0),5,4129170786),a=j7(a,n,r,i,e.getUint32(24,!0),9,3225465664),i=j7(i,a,n,r,e.getUint32(44,!0),14,643717713),r=j7(r,i,a,n,e.getUint32(0,!0),20,3921069994),n=j7(n,r,i,a,e.getUint32(20,!0),5,3593408605),a=j7(a,n,r,i,e.getUint32(40,!0),9,38016083),i=j7(i,a,n,r,e.getUint32(60,!0),14,3634488961),r=j7(r,i,a,n,e.getUint32(16,!0),20,3889429448),n=j7(n,r,i,a,e.getUint32(36,!0),5,568446438),a=j7(a,n,r,i,e.getUint32(56,!0),9,3275163606),i=j7(i,a,n,r,e.getUint32(12,!0),14,4107603335),r=j7(r,i,a,n,e.getUint32(32,!0),20,1163531501),n=j7(n,r,i,a,e.getUint32(52,!0),5,2850285829),a=j7(a,n,r,i,e.getUint32(8,!0),9,4243563512),i=j7(i,a,n,r,e.getUint32(28,!0),14,1735328473),r=j7(r,i,a,n,e.getUint32(48,!0),20,2368359562),n=M7(n,r,i,a,e.getUint32(20,!0),4,4294588738),a=M7(a,n,r,i,e.getUint32(32,!0),11,2272392833),i=M7(i,a,n,r,e.getUint32(44,!0),16,1839030562),r=M7(r,i,a,n,e.getUint32(56,!0),23,4259657740),n=M7(n,r,i,a,e.getUint32(4,!0),4,2763975236),a=M7(a,n,r,i,e.getUint32(16,!0),11,1272893353),i=M7(i,a,n,r,e.getUint32(28,!0),16,4139469664),r=M7(r,i,a,n,e.getUint32(40,!0),23,3200236656),n=M7(n,r,i,a,e.getUint32(52,!0),4,681279174),a=M7(a,n,r,i,e.getUint32(0,!0),11,3936430074),i=M7(i,a,n,r,e.getUint32(12,!0),16,3572445317),r=M7(r,i,a,n,e.getUint32(24,!0),23,76029189),n=M7(n,r,i,a,e.getUint32(36,!0),4,3654602809),a=M7(a,n,r,i,e.getUint32(48,!0),11,3873151461),i=M7(i,a,n,r,e.getUint32(60,!0),16,530742520),r=M7(r,i,a,n,e.getUint32(8,!0),23,3299628645),n=N7(n,r,i,a,e.getUint32(0,!0),6,4096336452),a=N7(a,n,r,i,e.getUint32(28,!0),10,1126891415),i=N7(i,a,n,r,e.getUint32(56,!0),15,2878612391),r=N7(r,i,a,n,e.getUint32(20,!0),21,4237533241),n=N7(n,r,i,a,e.getUint32(48,!0),6,1700485571),a=N7(a,n,r,i,e.getUint32(12,!0),10,2399980690),i=N7(i,a,n,r,e.getUint32(40,!0),15,4293915773),r=N7(r,i,a,n,e.getUint32(4,!0),21,2240044497),n=N7(n,r,i,a,e.getUint32(32,!0),6,1873313359),a=N7(a,n,r,i,e.getUint32(60,!0),10,4264355552),i=N7(i,a,n,r,e.getUint32(24,!0),15,2734768916),r=N7(r,i,a,n,e.getUint32(52,!0),21,1309151649),n=N7(n,r,i,a,e.getUint32(16,!0),6,4149444226),a=N7(a,n,r,i,e.getUint32(44,!0),10,3174756917),i=N7(i,a,n,r,e.getUint32(8,!0),15,718787259),r=N7(r,i,a,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=a+t[3]&4294967295}reset(){this.state=Uint32Array.from(CAe),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}};function k7(e,t,n,r,i,a){return t=(t+e&4294967295)+(r+a&4294967295)&4294967295,(t<>>32-i)+n&4294967295}function A7(e,t,n,r,i,a,o){return k7(t&n|~t&r,e,t,i,a,o)}function j7(e,t,n,r,i,a,o){return k7(t&r|n&~r,e,t,i,a,o)}function M7(e,t,n,r,i,a,o){return k7(t^n^r,e,t,i,a,o)}function N7(e,t,n,r,i,a,o){return k7(n^(t|~r),e,t,i,a,o)}function TAe(e){return typeof e==`string`?e.length===0:e.byteLength===0}function EAe(e){return typeof e==`string`?$x(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var DAe=e=>({apiVersion:`2006-03-01`,base64Decoder:e?.base64Decoder??DC,base64Encoder:e?.base64Encoder??OC,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??T6,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??jC,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??pTe,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new WD},{schemeId:`aws.auth#sigv4a`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4a`),signer:new qre}],logger:e?.logger??new ID,protocol:e?.protocol??aTe,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.s3`,errorTypeRegistries:GOe,xmlNamespace:`http://s3.amazonaws.com/doc/2006-03-01/`,version:`2006-03-01`,serviceTarget:`AmazonS3`},sdkStreamMixin:e?.sdkStreamMixin??UC,serviceId:e?.serviceId??`S3`,signerConstructor:e?.signerConstructor??Q4,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??QC,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??$x,utf8Encoder:e?.utf8Encoder??tS}),OAe=e=>{let t=QD(e),n=()=>t().then(jD),r=DAe(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ZD,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??qD({serviceId:r.serviceId,clientVersion:Gke.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??bAe,maxAttempts:e?.maxAttempts??3,md5:e?.md5??wAe,region:e?.region??YD(`Region is missing`),requestHandler:IC.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||DE),sha1:e?.sha1??Jke,sha256:e?.sha256??Bx,streamCollector:e?.streamCollector??RC,streamHasher:e?.streamHasher??SAe,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},kAe=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},AAe=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),jAe=(e,t)=>{let n=Object.assign(O1(e),ND(e),Vx(e),kAe(e));return t.forEach(e=>e.configure(n)),Object.assign(e,k1(n),PD(n),Hx(n),AAe(n))},MAe=class extends TD{config;constructor(...[e]){let t=OAe(e||{});super(t),this.initConfig=t;let n=jAe(qwe(mTe(oTe(vD(rC(uD(yD(kwe(FT(hTe(t))))))))),{session:[()=>this,Wke]}),e?.extensions||[]);this.config=n,this.middlewareStack.use(rw(this.config)),this.middlewareStack.use(sD(this.config)),this.middlewareStack.use(RD(this.config)),this.middlewareStack.use(fD(this.config)),this.middlewareStack.use(oC(this.config)),this.middlewareStack.use(lC(this.config)),this.middlewareStack.use(fC(this.config)),this.middlewareStack.use(_C(this.config,{httpAuthSchemeParametersProvider:fTe,identityProviderConfigProvider:async e=>new AT({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use(SC(this.config)),this.middlewareStack.use(iTe(this.config)),this.middlewareStack.use(xwe(this.config)),this.middlewareStack.use(Pwe(this.config)),this.middlewareStack.use(Vwe(this.config)),this.middlewareStack.use(Kwe(this.config))}destroy(){super.destroy()}},NAe=class extends OD.classBuilder().ep(O6).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`ListBuckets`,{}).n(`S3Client`,`ListBucketsCommand`).sc(zke).build(){},PAe=class extends OD.classBuilder().ep({...O6,Bucket:{type:`contextParams`,name:`Bucket`},Prefix:{type:`contextParams`,name:`Prefix`}}).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`ListObjectsV2`,{}).n(`S3Client`,`ListObjectsV2Command`).sc(Bke).build(){},P7=`ap-southeast-2`,F7=`${window.location.protocol}//localhost:9999`,FAe=`${window.location.protocol}//localhost:8443`,I7=null,L7=null,R7=null,z7=null;function B7(){if(!I7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);I7=new Vde({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),I7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return I7}function V7(){if(!L7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);L7=new Eye({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),L7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return L7}function H7(){if(!R7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);R7=new dwe({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),R7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return R7}function U7(){if(!z7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);z7=new MAe({endpoint:FAe,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey},forcePathStyle:!0}),z7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&t.request.path.endsWith(`/`)&&t.request.path!==`/`&&(t.request.path=t.request.path.slice(0,-1)),await e(t)),{step:`build`,name:`removeTrailingSlash`}),z7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/s3${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return z7}function W7(){I7=null,L7=null,R7=null,z7=null}function G7(){let e=(0,fa.c)(144),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:IAe},e[0]=t):t=e[0];let n=$i(t),r=fi(),i=Fe(),{isAdmin:a}=$S(),o;e[1]!==r||e[2]!==i?(o=function(){mx(),W7(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=o):o=e[3];let s=o,c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsxs)(Kg,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,F.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,F.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(Zg,{children:`General`}),e[5]=l):l=e[5];let u=n===`/`,d,f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,F.jsx)(Do,{className:`size-4`}),f=(0,F.jsx)(`span`,{children:`Dashboard`}),e[6]=d,e[7]=f):(d=e[6],f=e[7]);let p;e[8]===u?p=e[9]:(p=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/`,children:(0,F.jsxs)(t_,{isActive:u,tooltip:`Dashboard`,children:[d,f]})})}),e[8]=u,e[9]=p);let m;e[10]!==a||e[11]!==n?(m=a&&(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/nodes`,children:(0,F.jsxs)(t_,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,F.jsx)(Io,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=a,e[11]=n,e[12]=m):m=e[12];let h;e[13]!==p||e[14]!==m?(h=(0,F.jsxs)(Xg,{children:[l,(0,F.jsxs)(Qg,{children:[p,m]})]}),e[13]=p,e[14]=m,e[15]=h):h=e[15];let g;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,F.jsx)(Zg,{children:`EC2`}),e[16]=g):g=e[16];let _;e[17]===n?_=e[18]:(_=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=_);let v,y;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,F.jsx)(Io,{className:`size-4`}),y=(0,F.jsx)(`span`,{children:`Instances`}),e[19]=v,e[20]=y):(v=e[19],y=e[20]);let b;e[21]===_?b=e[22]:(b=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-instances`,children:(0,F.jsxs)(t_,{isActive:_,tooltip:`EC2 Instances`,children:[v,y]})})}),e[21]=_,e[22]=b);let x;e[23]===n?x=e[24]:(x=n.startsWith(`/ec2/describe-images`),e[23]=n,e[24]=x);let S,C;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,F.jsx)(Oo,{className:`size-4`}),C=(0,F.jsx)(`span`,{children:`Images`}),e[25]=S,e[26]=C):(S=e[25],C=e[26]);let w;e[27]===x?w=e[28]:(w=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-images`,children:(0,F.jsxs)(t_,{isActive:x,tooltip:`Images`,children:[S,C]})})}),e[27]=x,e[28]=w);let T;e[29]===n?T=e[30]:(T=n.startsWith(`/ec2/describe-key-pairs`),e[29]=n,e[30]=T);let E,ee;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,F.jsx)(ko,{className:`size-4`}),ee=(0,F.jsx)(`span`,{children:`Key Pairs`}),e[31]=E,e[32]=ee):(E=e[31],ee=e[32]);let D;e[33]===T?D=e[34]:(D=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-key-pairs`,children:(0,F.jsxs)(t_,{isActive:T,tooltip:`Key Pairs`,children:[E,ee]})})}),e[33]=T,e[34]=D);let O;e[35]===n?O=e[36]:(O=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[35]=n,e[36]=O);let te,ne;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,F.jsx)(Eo,{className:`size-4`}),ne=(0,F.jsx)(`span`,{children:`Volumes`}),e[37]=te,e[38]=ne):(te=e[37],ne=e[38]);let re;e[39]===O?re=e[40]:(re=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-volumes`,children:(0,F.jsxs)(t_,{isActive:O,tooltip:`Volumes`,children:[te,ne]})})}),e[39]=O,e[40]=re);let k;e[41]===n?k=e[42]:(k=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[41]=n,e[42]=k);let A,ie;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,F.jsx)(Co,{className:`size-4`}),ie=(0,F.jsx)(`span`,{children:`Snapshots`}),e[43]=A,e[44]=ie):(A=e[43],ie=e[44]);let j;e[45]===k?j=e[46]:(j=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-snapshots`,children:(0,F.jsxs)(t_,{isActive:k,tooltip:`Snapshots`,children:[A,ie]})})}),e[45]=k,e[46]=j);let ae;e[47]===n?ae=e[48]:(ae=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[47]=n,e[48]=ae);let oe,se;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,F.jsx)(Ao,{className:`size-4`}),se=(0,F.jsx)(`span`,{children:`Placement Groups`}),e[49]=oe,e[50]=se):(oe=e[49],se=e[50]);let ce;e[51]===ae?ce=e[52]:(ce=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-placement-groups`,children:(0,F.jsxs)(t_,{isActive:ae,tooltip:`Placement Groups`,children:[oe,se]})})}),e[51]=ae,e[52]=ce);let M;e[53]===n?M=e[54]:(M=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[53]=n,e[54]=M);let le,ue;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,F.jsx)(Vo,{className:`size-4`}),ue=(0,F.jsx)(`span`,{children:`Load Balancers`}),e[55]=le,e[56]=ue):(le=e[55],ue=e[56]);let N;e[57]===M?N=e[58]:(N=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-load-balancers`,children:(0,F.jsxs)(t_,{isActive:M,tooltip:`Load Balancers`,children:[le,ue]})})}),e[57]=M,e[58]=N);let de;e[59]===n?de=e[60]:(de=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[59]=n,e[60]=de);let fe,pe;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,F.jsx)(To,{className:`size-4`}),pe=(0,F.jsx)(`span`,{children:`Target Groups`}),e[61]=fe,e[62]=pe):(fe=e[61],pe=e[62]);let me;e[63]===de?me=e[64]:(me=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-target-groups`,children:(0,F.jsxs)(t_,{isActive:de,tooltip:`Target Groups`,children:[fe,pe]})})}),e[63]=de,e[64]=me);let he;e[65]!==b||e[66]!==w||e[67]!==D||e[68]!==re||e[69]!==j||e[70]!==ce||e[71]!==N||e[72]!==me?(he=(0,F.jsxs)(Xg,{children:[g,(0,F.jsxs)(Qg,{children:[b,w,D,re,j,ce,N,me]})]}),e[65]=b,e[66]=w,e[67]=D,e[68]=re,e[69]=j,e[70]=ce,e[71]=N,e[72]=me,e[73]=he):he=e[73];let ge;e[74]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,F.jsx)(Zg,{children:`Networking`}),e[74]=ge):ge=e[74];let _e;e[75]===n?_e=e[76]:(_e=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[75]=n,e[76]=_e);let ve,ye;e[77]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,F.jsx)(Po,{className:`size-4`}),ye=(0,F.jsx)(`span`,{children:`VPCs`}),e[77]=ve,e[78]=ye):(ve=e[77],ye=e[78]);let be;e[79]===_e?be=e[80]:(be=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-vpcs`,children:(0,F.jsxs)(t_,{isActive:_e,tooltip:`VPCs`,children:[ve,ye]})})}),e[79]=_e,e[80]=be);let xe;e[81]===n?xe=e[82]:(xe=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[81]=n,e[82]=xe);let Se,Ce;e[83]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,F.jsx)(jo,{className:`size-4`}),Ce=(0,F.jsx)(`span`,{children:`Subnets`}),e[83]=Se,e[84]=Ce):(Se=e[83],Ce=e[84]);let we;e[85]===xe?we=e[86]:(we=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-subnets`,children:(0,F.jsxs)(t_,{isActive:xe,tooltip:`Subnets`,children:[Se,Ce]})})}),e[85]=xe,e[86]=we);let Te;e[87]===n?Te=e[88]:(Te=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[87]=n,e[88]=Te);let Ee,De;e[89]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,F.jsx)(Lo,{className:`size-4`}),De=(0,F.jsx)(`span`,{children:`Security Groups`}),e[89]=Ee,e[90]=De):(Ee=e[89],De=e[90]);let Oe;e[91]===Te?Oe=e[92]:(Oe=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-security-groups`,children:(0,F.jsxs)(t_,{isActive:Te,tooltip:`Security Groups`,children:[Ee,De]})})}),e[91]=Te,e[92]=Oe);let ke;e[93]!==be||e[94]!==we||e[95]!==Oe?(ke=(0,F.jsxs)(Xg,{children:[ge,(0,F.jsxs)(Qg,{children:[be,we,Oe]})]}),e[93]=be,e[94]=we,e[95]=Oe,e[96]=ke):ke=e[96];let Ae;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Ae=(0,F.jsx)(Zg,{children:`IAM`}),e[97]=Ae):Ae=e[97];let je;e[98]===n?je=e[99]:(je=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[98]=n,e[99]=je);let Me,Ne;e[100]===Symbol.for(`react.memo_cache_sentinel`)?(Me=(0,F.jsx)(Bo,{className:`size-4`}),Ne=(0,F.jsx)(`span`,{children:`Users`}),e[100]=Me,e[101]=Ne):(Me=e[100],Ne=e[101]);let P;e[102]===je?P=e[103]:(P=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/iam/list-users`,children:(0,F.jsxs)(t_,{isActive:je,tooltip:`Users`,children:[Me,Ne]})})}),e[102]=je,e[103]=P);let Pe;e[104]===n?Pe=e[105]:(Pe=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[104]=n,e[105]=Pe);let Ie,Le;e[106]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=(0,F.jsx)(Ro,{className:`size-4`}),Le=(0,F.jsx)(`span`,{children:`Policies`}),e[106]=Ie,e[107]=Le):(Ie=e[106],Le=e[107]);let Re;e[108]===Pe?Re=e[109]:(Re=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/iam/list-policies`,children:(0,F.jsxs)(t_,{isActive:Pe,tooltip:`Policies`,children:[Ie,Le]})})}),e[108]=Pe,e[109]=Re);let ze;e[110]!==P||e[111]!==Re?(ze=(0,F.jsxs)(Xg,{children:[Ae,(0,F.jsxs)(Qg,{children:[P,Re]})]}),e[110]=P,e[111]=Re,e[112]=ze):ze=e[112];let Be;e[113]===Symbol.for(`react.memo_cache_sentinel`)?(Be=(0,F.jsx)(Zg,{children:`S3`}),e[113]=Be):Be=e[113];let Ve;e[114]===n?Ve=e[115]:(Ve=n.startsWith(`/s3/ls`),e[114]=n,e[115]=Ve);let He,Ue;e[116]===Symbol.for(`react.memo_cache_sentinel`)?(He=(0,F.jsx)(Io,{className:`size-4`}),Ue=(0,F.jsx)(`span`,{children:`Buckets`}),e[116]=He,e[117]=Ue):(He=e[116],Ue=e[117]);let We;e[118]===Ve?We=e[119]:(We=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/s3/ls`,children:(0,F.jsxs)(t_,{isActive:Ve,tooltip:`Buckets`,children:[He,Ue]})})}),e[118]=Ve,e[119]=We);let Ge;e[120]!==a||e[121]!==n?(Ge=a&&(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/s3/service-metrics`,children:(0,F.jsxs)(t_,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,F.jsx)(xo,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Service Metrics`})]})})}),e[120]=a,e[121]=n,e[122]=Ge):Ge=e[122];let Ke;e[123]!==We||e[124]!==Ge?(Ke=(0,F.jsxs)(Xg,{children:[Be,(0,F.jsxs)(Qg,{children:[We,Ge]})]}),e[123]=We,e[124]=Ge,e[125]=Ke):Ke=e[125];let qe;e[126]===a?qe=e[127]:(qe=a&&(0,F.jsxs)(Xg,{children:[(0,F.jsx)(Zg,{children:`Documentation`}),(0,F.jsx)(Qg,{children:(0,F.jsx)($g,{children:(0,F.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,F.jsxs)(t_,{tooltip:`Documentation`,children:[(0,F.jsx)(So,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Docs`})]})})})})]}),e[126]=a,e[127]=qe);let Je;e[128]!==he||e[129]!==ke||e[130]!==ze||e[131]!==Ke||e[132]!==qe||e[133]!==h?(Je=(0,F.jsxs)(Yg,{children:[h,he,ke,ze,Ke,qe]}),e[128]=he,e[129]=ke,e[130]=ze,e[131]=Ke,e[132]=qe,e[133]=h,e[134]=Je):Je=e[134];let Ye;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(Ye=(0,F.jsx)(Jg,{className:`mx-0 w-full`}),e[135]=Ye):Ye=e[135];let Xe,Ze;e[136]===Symbol.for(`react.memo_cache_sentinel`)?(Xe=(0,F.jsx)(Mo,{className:`size-4`}),Ze=(0,F.jsx)(`span`,{children:`Sign out`}),e[136]=Xe,e[137]=Ze):(Xe=e[136],Ze=e[137]);let Qe;e[138]===s?Qe=e[139]:(Qe=(0,F.jsxs)(qg,{children:[Ye,(0,F.jsx)(Qg,{children:(0,F.jsx)($g,{children:(0,F.jsxs)(t_,{onClick:s,tooltip:`Sign out`,children:[Xe,Ze]})})})]}),e[138]=s,e[139]=Qe);let $e;e[140]===Symbol.for(`react.memo_cache_sentinel`)?($e=(0,F.jsx)(Gg,{}),e[140]=$e):$e=e[140];let et;return e[141]!==Je||e[142]!==Qe?(et=(0,F.jsxs)(Ug,{collapsible:`icon`,children:[c,Je,Qe,$e]}),e[141]=Je,e[142]=Qe,e[143]=et):et=e[143],et}function IAe(e){return e.pathname}function LAe(e){let t=(0,fa.c)(18),{error:n,reset:r}=e,i=Mr(),a=Fe(),o;t[0]!==a||t[1]!==r||t[2]!==i?(o=function(){a.invalidateQueries(),r(),i.invalidate()},t[0]=a,t[1]=r,t[2]=i,t[3]=o):o=t[3];let s=o,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsx)(G7,{}),t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(tC,{}),t[5]=l):l=t[5];let u,d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,F.jsx)(`div`,{className:`flex justify-center`,children:(0,F.jsx)(wo,{className:`size-12 text-destructive`})}),d=(0,F.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=u,t[7]=d):(u=t[6],d=t[7]);let f=n.message||`An unexpected error occurred`,p;t[8]===f?p=t[9]:(p=(0,F.jsx)(`p`,{className:`text-muted-foreground`,children:f}),t[8]=f,t[9]=p);let m;t[10]===s?m=t[11]:(m=(0,F.jsx)(fl,{onClick:s,variant:`default`,children:`Try Again`}),t[10]=s,t[11]=m);let h;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,F.jsx)(Oi,{to:`/`,children:(0,F.jsx)(fl,{variant:`outline`,children:`Go Home`})}),t[12]=h):h=t[12];let g;t[13]===m?g=t[14]:(g=(0,F.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[m,h]}),t[13]=m,t[14]=g);let _;return t[15]!==g||t[16]!==p?(_=(0,F.jsxs)(F.Fragment,{children:[c,(0,F.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[l,(0,F.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,F.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[u,d,p,g]})})]})]}),t[15]=g,t[16]=p,t[17]=_):_=t[17],_}var K7=Mi()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ia,{}),(0,F.jsx)(G7,{}),(0,F.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,F.jsx)(tC,{}),(0,F.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,F.jsx)(Wi,{})})]})]}),errorComponent:LAe,notFoundComponent:nC}),RAe=I(`/login`)({beforeLoad:()=>{if(fx())throw bn({to:`/`})},component:L(()=>bT(()=>import(`./login.js`),__vite__mapDeps([0,1,2,3,4])),`component`)}),zAe=I(`/_auth`)({beforeLoad:()=>{if(!fx())throw bn({to:`/login`})},component:L(()=>bT(()=>import(`./route.js`),[]),`component`)}),q7=Le({queryKey:[`ec2`,`availabilityZones`],queryFn:async()=>{let e=new Hde({});return await B7().send(e)},staleTime:3e5}),J7=Le({queryKey:[`ec2`,`instances`],queryFn:async()=>{let e=new j1({});return await B7().send(e)},refetchInterval:5e3}),Y7=e=>Le({queryKey:[`ec2`,`instances`,e],queryFn:async()=>{let t=new j1({InstanceIds:[e]});return await B7().send(t)},refetchInterval:5e3}),X7=Le({queryKey:[`ec2`,`instances`,`types`],queryFn:async()=>{let e=new Ude({Filters:[{Name:`capacity`,Values:[`true`]}]});return await B7().send(e)},refetchInterval:5e3}),Z7=Le({queryKey:[`ec2`,`images`],queryFn:async()=>{let e=new A1({});return await B7().send(e)}}),Q7=e=>Le({queryKey:[`ec2`,`images`,e??`none`],queryFn:async()=>{if(!e)return{Images:[],$metadata:{}};let t=new A1({ImageIds:[e]});return await B7().send(t)}}),$7=Le({queryKey:[`ec2`,`keypairs`],queryFn:async()=>{let e=new M1({});return await B7().send(e)}}),e9=e=>Le({queryKey:[`ec2`,`keypairs`,e],queryFn:async()=>{let t=new M1({KeyPairIds:[e]});return await B7().send(t)}}),t9=Le({queryKey:[`ec2`,`regions`],queryFn:async()=>{let e=new Wde({});return await B7().send(e)},staleTime:3e5}),n9=Le({queryKey:[`ec2`,`subnets`],queryFn:async()=>{let e=new I1({});return await B7().send(e)}}),r9=e=>Le({queryKey:[`ec2`,`subnets`,e],queryFn:async()=>{let t=new I1({SubnetIds:[e]});return await B7().send(t)}}),i9=Le({queryKey:[`ec2`,`snapshots`],queryFn:async()=>{let e=new F1({});return await B7().send(e)},refetchInterval:5e3}),a9=e=>Le({queryKey:[`ec2`,`snapshots`,e],queryFn:async()=>{let t=new F1({SnapshotIds:[e]});return await B7().send(t)},refetchInterval:5e3}),o9=Le({queryKey:[`ec2`,`vpcs`],queryFn:async()=>{let e=new R1({});return await B7().send(e)}}),s9=e=>Le({queryKey:[`ec2`,`vpcs`,e],queryFn:async()=>{let t=new R1({VpcIds:[e]});return await B7().send(t)}}),c9=Le({queryKey:[`ec2`,`placementGroups`],queryFn:async()=>{let e=new N1({});return await B7().send(e)}}),l9=e=>Le({queryKey:[`ec2`,`placementGroups`,e],queryFn:async()=>{let t=new N1({GroupIds:[e]});return await B7().send(t)}}),u9=Le({queryKey:[`ec2`,`securityGroups`],queryFn:async()=>{let e=new P1({});return await B7().send(e)}}),d9=e=>Le({queryKey:[`ec2`,`securityGroups`,e],queryFn:async()=>{let t=new P1({GroupIds:[e]});return await B7().send(t)}}),f9=Le({queryKey:[`ec2`,`volumes`],queryFn:async()=>{let e=new L1({});return await B7().send(e)},refetchInterval:5e3}),p9=e=>Le({queryKey:[`ec2`,`volumes`,e],queryFn:async()=>{let t=new L1({VolumeIds:[e]});return await B7().send(t)},refetchInterval:5e3}),m9=Le({queryKey:[`s3`,`buckets`],queryFn:async()=>{let e=new NAe({});return await U7().send(e)}}),h9=(e,t)=>Le({queryKey:[`s3`,`buckets`,e,`objects`,t??``],queryFn:async()=>{let n=new PAe({Bucket:e,Prefix:t,Delimiter:`/`});return await U7().send(n)}}),BAe=I(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(J7),e.queryClient.ensureQueryData(f9),e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData($7),e.queryClient.ensureQueryData(m9),e.queryClient.ensureQueryData(u9)])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:L(()=>bT(()=>import(`./_auth.js`),__vite__mapDeps([5,6,7,8,9,10,11,12,3])),`component`)}),VAe=I(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:L(()=>bT(()=>import(`./nodes.js`),__vite__mapDeps([13,6,7,10,12,3])),`component`)}),HAe=I(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | Mulga`}]}),component:L(()=>bT(()=>import(`./service-metrics.js`),__vite__mapDeps([14,6,7,10,12,3])),`component`)}),UAe=I(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(m9)},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./ls.js`),__vite__mapDeps([15,16,7,17,10])),`component`)}),WAe=I(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-bucket.js`),__vite__mapDeps([18,19,20,2,21,22,23,8,24,25,26,10,4])),`component`)}),GAe=I(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./create-user.js`),__vite__mapDeps([27,28,20,2,21,22,23,8,24,25,26,10,4,29])),`component`)}),KAe=I(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./create-policy.js`),__vite__mapDeps([30,28,20,2,21,22,23,8,24,25,26,10,4,31,29])),`component`)}),qAe=I(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-vpc.js`),__vite__mapDeps([32,33,20,34,23,8,2,21,9,22,24,25,26,10,4,35])),`component`)}),JAe=I(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(q7)},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-volume.js`),__vite__mapDeps([36,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),YAe=I(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-target-group.js`),__vite__mapDeps([37,38,20,2,16,7,21,22,23,8,24,25,39,1,34,40,41,4,26,10,42])),`component`)}),XAe=I(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData(q7)])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-subnet.js`),__vite__mapDeps([43,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),g9=I(`/_auth/ec2/(snapshots)/create-snapshot`)({validateSearch:e=>({volumeId:typeof e.volumeId==`string`?e.volumeId:void 0}),loader:async({context:e})=>{await e.queryClient.ensureQueryData(f9)},head:()=>({meta:[{title:`Create Snapshot | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-snapshot.js`),__vite__mapDeps([44,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,31,35])),`component`)}),ZAe=I(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-security-group.js`),__vite__mapDeps([45,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),QAe=I(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-placement-group.js`),__vite__mapDeps([46,33,20,34,23,8,2,21,22,24,25,26,10,4,35])),`component`)}),_9=5e3,v9=Le({queryKey:[`elbv2`,`loadBalancers`],queryFn:async()=>{let e=new N2({});return await V7().send(e)},refetchInterval:e=>(e.state.data?.LoadBalancers??[]).some(e=>e.State?.Code===`provisioning`)?_9:!1}),y9=e=>Le({queryKey:[`elbv2`,`loadBalancers`,e],queryFn:async()=>{let t=new N2({LoadBalancerArns:[e]});return await V7().send(t)},refetchInterval:e=>(e.state.data?.LoadBalancers?.[0])?.State?.Code===`provisioning`?_9:!1}),b9=e=>Le({queryKey:[`elbv2`,`loadBalancers`,e,`attributes`],queryFn:async()=>{let t=new Oye({LoadBalancerArn:e});return await V7().send(t)}}),x9=Le({queryKey:[`elbv2`,`targetGroups`],queryFn:async()=>{let e=new P2({});return await V7().send(e)}}),S9=e=>Le({queryKey:[`elbv2`,`targetGroups`,e],queryFn:async()=>{let t=new P2({TargetGroupArns:[e]});return await V7().send(t)}}),C9=e=>Le({queryKey:[`elbv2`,`targetGroups`,e,`attributes`],queryFn:async()=>{let t=new Aye({TargetGroupArn:e});return await V7().send(t)}}),w9=e=>Le({queryKey:[`elbv2`,`listeners`,e],queryFn:async()=>{let t=new Dye({LoadBalancerArn:e});return await V7().send(t)}}),$Ae=e=>Le({queryKey:[`elbv2`,`targetGroups`,e,`health`],queryFn:async()=>{let t=new jye({TargetGroupArn:e});return await V7().send(t)}}),T9=e=>Le({queryKey:[`elbv2`,`tags`,...e],queryFn:async()=>{let t=new kye({ResourceArns:e});return await V7().send(t)},enabled:e.length>0}),eje=I(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData(n9),e.queryClient.ensureQueryData(u9),e.queryClient.ensureQueryData(x9),e.queryClient.ensureQueryData(Z7)])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-load-balancer.js`),__vite__mapDeps([47,38,20,34,23,8,2,16,7,21,40,22,24,25,41,39,1,4,26,10,42])),`component`)}),tje=I(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./import-key-pair.js`),__vite__mapDeps([48,33,20,2,21,22,23,8,24,25,26,10,4,31,35])),`component`)}),nje=I(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-key-pair.js`),__vite__mapDeps([49,33,20,50,2,21,23,51,22,8,24,25,52,26,10,4,35])),`component`)}),rje=I(`/_auth/ec2/(instances)/run-instances`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(Z7),e.queryClient.ensureQueryData($7),e.queryClient.ensureQueryData(X7),e.queryClient.ensureQueryData(n9),e.queryClient.ensureQueryData(c9)])},head:()=>({meta:[{title:`Run Instances | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./run-instances.js`),__vite__mapDeps([53,33,20,1,34,23,8,2,16,7,21,22,24,25,10,4,35])),`component`)}),ije=I(`/_auth/s3/ls/$bucket`)({component:L(()=>bT(()=>import(`./route2.js`),[]),`component`)}),E9=I(`/_auth/s3/ls/$bucket/`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(h9(t.bucket))},head:({params:e})=>({meta:[{title:`${e.bucket} | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./_bucket.js`),__vite__mapDeps([54,19,20,55,51,41,56,50,16,7,21,10])),`component`)}),D9=Le({queryKey:[`iam`,`users`],queryFn:async()=>{let e=new vwe({});return await H7().send(e)},staleTime:3e5}),O9=e=>Le({queryKey:[`iam`,`users`,e],queryFn:async()=>{let t=new mwe({UserName:e});return await H7().send(t)},staleTime:3e5}),k9=e=>Le({queryKey:[`iam`,`access-keys`,e],queryFn:async()=>{let t=new hwe({UserName:e});return await H7().send(t)},staleTime:3e5}),A9=Le({queryKey:[`iam`,`policies`],queryFn:async()=>{let e=new _we({Scope:`Local`});return await H7().send(e)},staleTime:3e5}),j9=e=>Le({queryKey:[`iam`,`policies`,e],queryFn:async()=>{let t=new fwe({PolicyArn:e});return await H7().send(t)},staleTime:3e5}),M9=(e,t)=>Le({queryKey:[`iam`,`policy-versions`,e,t],queryFn:async()=>{let n=new pwe({PolicyArn:e,VersionId:t});return await H7().send(n)},staleTime:3e5}),N9=e=>Le({queryKey:[`iam`,`attached-user-policies`,e],queryFn:async()=>{let t=new gwe({UserName:e});return await H7().send(t)},staleTime:3e5}),aje=I(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(D9)},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./list-users.js`),__vite__mapDeps([57,16,7,17,10])),`component`)}),oje=I(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(A9)},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./list-policies.js`),__vite__mapDeps([58,16,7,17,10])),`component`)}),sje=I(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-vpcs.js`),__vite__mapDeps([59,16,7,17,10,11])),`component`)}),cje=I(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(f9)},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-volumes.js`),__vite__mapDeps([60,16,7,17,10,11])),`component`)}),lje=I(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(x9)},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-target-groups.js`),__vite__mapDeps([61,6,7,16,10])),`component`)}),uje=I(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(n9)},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-subnets.js`),__vite__mapDeps([62,16,7,17,10,11])),`component`)}),dje=I(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(i9)},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-snapshots.js`),__vite__mapDeps([63,16,7,17,10,11])),`component`)}),fje=I(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(u9)},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-security-groups.js`),__vite__mapDeps([64,16,7,17,10])),`component`)}),pje=I(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(c9)},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-placement-groups.js`),__vite__mapDeps([65,16,7,17,10,11])),`component`)}),mje=I(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(v9),e.queryClient.ensureQueryData(Z7)])},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-load-balancers.js`),__vite__mapDeps([66,16,7,10,11])),`component`)}),hje=I(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData($7)},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-key-pairs.js`),__vite__mapDeps([67,16,7,17,10])),`component`)}),gje=I(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(J7)},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-instances.js`),__vite__mapDeps([68,16,7,17,10,11])),`component`)}),_je=I(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(Z7)},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-images.js`),__vite__mapDeps([69,16,7,17,10,11,70])),`component`)}),P9=I(`/_auth/s3/ls/$bucket/$`)({loader:async({context:e,params:t})=>{let n=cl(t._splat??``);await e.queryClient.ensureQueryData(h9(t.bucket,n))},head:({params:e})=>({meta:[{title:`${ll(e._splat??``,`${e.bucket}/`)} | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./_.js`),__vite__mapDeps([71,19,20,55,51,41,56,50,16,7,21])),`component`)}),F9=I(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(O9(t.userName)),e.queryClient.ensureQueryData(k9(t.userName)),e.queryClient.ensureQueryData(N9(t.userName)),e.queryClient.ensureQueryData(A9)])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./_userName.js`),__vite__mapDeps([72,28,20,50,16,7,21,23,41,52,56,73,10,11,25])),`component`)}),I9=I(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.policyArn),r=await e.queryClient.ensureQueryData(j9(n)),i=r.Policy?.DefaultVersionId;return i&&await e.queryClient.ensureQueryData(M9(n,i)),r},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./_policyArn.js`),__vite__mapDeps([74,28,20,16,7,21,41,56,50,73,10])),`component`)}),L9=I(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s9(t.id)),e.queryClient.ensureQueryData(n9)])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:L(()=>bT(()=>import(`./_id12.js`),__vite__mapDeps([75,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),R9=I(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(p9(t.id))},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id11.js`),__vite__mapDeps([76,33,20,2,16,7,21,26,10,4,35])),`component`)}),z9=I(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(p9(t.id)),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id10.js`),__vite__mapDeps([77,33,20,50,34,23,8,16,7,21,41,56,73,10,11,4])),`component`)}),B9=I(`/_auth/ec2/(target-groups)/describe-target-groups/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(S9(n)),e.queryClient.ensureQueryData(C9(n)),e.queryClient.ensureQueryData(T9([n])),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Target Group | Mulga`}]}),component:L(()=>bT(()=>import(`./_id9.js`),__vite__mapDeps([78,38,20,50,79,34,23,8,4,6,7,16,21,41,56,73,10])),`component`)}),V9=I(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r9(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:L(()=>bT(()=>import(`./_id8.js`),__vite__mapDeps([80,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),H9=I(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a9(t.id)),e.queryClient.ensureQueryData(t9)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id7.js`),__vite__mapDeps([81,33,20,50,16,7,21,24,41,56,73,10,11,4])),`component`)}),U9=I(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(d9(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:L(()=>bT(()=>import(`./_id6.js`),__vite__mapDeps([82,33,20,50,34,23,8,2,16,7,21,40,41,56,73,10,4,35])),`component`)}),W9=I(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(l9(t.id)),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id5.js`),__vite__mapDeps([83,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),G9=I(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(y9(n)),e.queryClient.ensureQueryData(w9(n)),e.queryClient.ensureQueryData(b9(n)),e.queryClient.ensureQueryData(T9([n])),e.queryClient.ensureQueryData(x9),e.queryClient.ensureQueryData(n9)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Load Balancer | Mulga`}]}),component:L(()=>bT(()=>import(`./_id4.js`),__vite__mapDeps([84,38,20,50,34,23,8,79,4,2,16,7,21,41,56,73,10,11,42])),`component`)}),K9=I(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(e9(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id3.js`),__vite__mapDeps([85,33,20,16,7,21,41,56,50,73,10])),`component`)}),q9=I(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.ensureQueryData(Y7(t.id)),e.queryClient.ensureQueryData(X7)]),r=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.ensureQueryData(Q7(r)),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id2.js`),__vite__mapDeps([86,33,20,50,34,23,8,16,7,21,41,56,73,10,11,4,31,87])),`component`)}),J9=I(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(Q7(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id.js`),__vite__mapDeps([88,16,7,21,10,11,70,87,73])),`component`)}),vje=RAe.update({id:`/login`,path:`/login`,getParentRoute:()=>K7}),Y9=zAe.update({id:`/_auth`,getParentRoute:()=>K7}),yje=BAe.update({id:`/`,path:`/`,getParentRoute:()=>Y9}),bje=VAe.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>Y9}),xje=HAe.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>Y9}),Sje=UAe.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>Y9}),Cje=WAe.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>Y9}),wje=GAe.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>Y9}),Tje=KAe.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>Y9}),Eje=qAe.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>Y9}),Dje=JAe.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>Y9}),Oje=YAe.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>Y9}),kje=XAe.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>Y9}),Aje=g9.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>Y9}),jje=ZAe.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>Y9}),Mje=QAe.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>Y9}),X9=eje.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>Y9}),Nje=tje.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>Y9}),Pje=nje.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>Y9}),Fje=rje.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>Y9}),Z9=ije.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>Y9}),Ije=E9.update({id:`/`,path:`/`,getParentRoute:()=>Z9}),Lje=aje.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>Y9}),Rje=oje.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>Y9}),zje=sje.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>Y9}),Bje=cje.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>Y9}),Vje=lje.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>Y9}),Hje=uje.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>Y9}),Uje=dje.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>Y9}),Wje=fje.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>Y9}),Gje=pje.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>Y9}),Kje=mje.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>Y9}),qje=hje.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>Y9}),Jje=gje.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>Y9}),Yje=_je.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>Y9}),Xje=P9.update({id:`/$`,path:`/$`,getParentRoute:()=>Z9}),Zje=F9.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>Y9}),Qje=I9.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>Y9}),$je=L9.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>Y9}),eMe=R9.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>Y9}),tMe=z9.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>Y9}),nMe=B9.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>Y9}),rMe=V9.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>Y9}),iMe=H9.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>Y9}),aMe=U9.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>Y9}),oMe=W9.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>Y9}),sMe=G9.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>Y9}),cMe=K9.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>Y9}),lMe=q9.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>Y9}),uMe=J9.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>Y9}),dMe={AuthS3LsBucketSplatRoute:Xje,AuthS3LsBucketIndexRoute:Ije},fMe={AuthNodesRoute:bje,AuthIndexRoute:yje,AuthS3ServiceMetricsRoute:xje,AuthS3LsBucketRouteRoute:Z9._addFileChildren(dMe),AuthEc2instancesRunInstancesRoute:Fje,AuthEc2keyCreateKeyPairRoute:Pje,AuthEc2keyImportKeyPairRoute:Nje,AuthEc2loadBalancersCreateLoadBalancerRoute:X9,AuthEc2placementGroupsCreatePlacementGroupRoute:Mje,AuthEc2securityGroupsCreateSecurityGroupRoute:jje,AuthEc2snapshotsCreateSnapshotRoute:Aje,AuthEc2subnetCreateSubnetRoute:kje,AuthEc2targetGroupsCreateTargetGroupRoute:Oje,AuthEc2volumesCreateVolumeRoute:Dje,AuthEc2vpcCreateVpcRoute:Eje,AuthIampoliciesCreatePolicyRoute:Tje,AuthIamusersCreateUserRoute:wje,AuthS3bucketsCreateBucketRoute:Cje,AuthS3LsIndexRoute:Sje,AuthEc2imagesDescribeImagesIdRoute:uMe,AuthEc2instancesDescribeInstancesIdRoute:lMe,AuthEc2keyDescribeKeyPairsIdRoute:cMe,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:sMe,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:oMe,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:aMe,AuthEc2snapshotsDescribeSnapshotsIdRoute:iMe,AuthEc2subnetDescribeSubnetsIdRoute:rMe,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:nMe,AuthEc2volumesDescribeVolumesIdRoute:tMe,AuthEc2volumesModifyVolumeIdRoute:eMe,AuthEc2vpcDescribeVpcsIdRoute:$je,AuthIampoliciesListPoliciesPolicyArnRoute:Qje,AuthIamusersListUsersUserNameRoute:Zje,AuthEc2imagesDescribeImagesIndexRoute:Yje,AuthEc2instancesDescribeInstancesIndexRoute:Jje,AuthEc2keyDescribeKeyPairsIndexRoute:qje,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:Kje,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:Gje,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:Wje,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Uje,AuthEc2subnetDescribeSubnetsIndexRoute:Hje,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Vje,AuthEc2volumesDescribeVolumesIndexRoute:Bje,AuthEc2vpcDescribeVpcsIndexRoute:zje,AuthIampoliciesListPoliciesIndexRoute:Rje,AuthIamusersListUsersIndexRoute:Lje},pMe={AuthRouteRoute:Y9._addFileChildren(fMe),LoginRoute:vje},mMe=K7._addFileChildren(pMe)._addFileTypes(),Q9=new ke({defaultOptions:{queries:{staleTime:5e3}}}),hMe=Yi({routeTree:mMe,context:{queryClient:Q9},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0}),$9=document.querySelector(`#app`);$9&&!$9.innerHTML&&da.createRoot($9).render((0,F.jsx)(P.StrictMode,{children:(0,F.jsx)(ha,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,F.jsx)(Ie,{client:Q9,children:(0,F.jsx)(QS,{children:(0,F.jsx)(Bg,{children:(0,F.jsx)(Qi,{router:hMe})})})})})}));export{p9 as $,ya as $a,cu as $i,yx as $n,pm as $r,que as $t,S9 as A,xs as Aa,Ld as Ai,OD as An,Kh as Ar,XCe as At,X7 as B,ko as Ba,Ku as Bi,$S as Bn,kh as Br,uye as Bt,E9 as C,cl as Ca,Wd as Ci,jde as Cn,f as Co,lg as Cr,Cwe as Ct,v9 as D,al as Da,Bd as Di,Fde as Dn,c as Do,rg as Dr,qCe as Dt,y9 as E,il as Ea,Ud as Ei,Pde as En,o as Eo,ag as Er,KCe as Et,m9 as F,Yo as Fa,Nd as Fi,Fw as Fn,Ph as Fr,aye as Ft,c9 as G,io as Ga,Uu as Gi,eS as Gn,Nh as Gr,j1 as Gt,e9 as H,Co as Ha,qu as Hi,GS as Hn,jh as Hr,yye as Ht,q7 as I,Ho as Ia,Dd as Ii,KC as In,Dh as Ir,oye as It,u9 as J,Ja,Vu as Ji,Kx as Jn,dh as Jr,Hue as Jt,t9 as K,Qa as Ka,Hu as Ki,$x as Kn,zh as Kr,Bue as Kt,Q7 as L,Ro as La,Od as Li,MC as Ln,Oh as Lr,sye as Lt,$Ae as M,bs as Ma,Fd as Mi,hD as Mn,Wh as Mr,awe as Mt,g9 as N,gs as Na,Pd as Ni,mD as Nn,Fh as Nr,F2 as Nt,T9 as O,sl as Oa,Qd as Oi,KD as On,Jh as Or,JCe as Ot,h9 as P,Go as Pa,Ad as Pi,XE as Pn,Eh as Pr,iye as Pt,n9 as Q,Pa as Qa,uu as Qi,bx as Qn,km as Qr,Kue as Qt,Z7 as R,Io as Ra,wd as Ri,AC as Rn,Th as Rr,cye as Rt,D9 as S,el as Sa,Kd as Si,Ade as Sn,v as So,dg as Sr,H4 as St,b9 as T,nl as Ta,zd as Ti,Nde as Tn,l as To,og as Tr,GCe as Tt,$7 as U,bo as Ua,Ju as Ui,DS as Un,Lh as Ur,bye as Ut,J7 as V,Eo as Va,Wu as Vi,YS as Vn,Ah as Vr,vye as Vt,l9 as W,lo as Wa,Gu as Wi,tS as Wn,Mh as Wr,z1 as Wt,i9 as X,La as Xa,zu as Xi,Ox as Xn,Um as Xr,Wue as Xt,a9 as Y,Ka as Ya,Yu as Yi,Dx as Yn,nh as Yr,Uue as Yt,r9 as Z,Ia as Za,du as Zi,kx as Zn,zm as Zr,Gue as Zt,N9 as _,yl as _a,of as _i,Tde as _n,k as _o,Ng as _r,O6 as _t,W9 as a,Jl as aa,$f as ai,$ue as an,Le as ao,px as ar,V7 as at,M9 as b,dl as ba,$d as bi,Ode as bn,D as bo,Eg as br,U4 as bt,V9 as c,ql as ca,Ff as ci,nde as cn,je as co,dre as cr,Mke as ct,R9 as d,Kl as da,xf as di,ade as dn,N as do,Nb as dr,Fke as dt,lu as ea,Dp as ei,Jue as en,ua as eo,vx as er,f9 as et,L9 as f,Nl as fa,bf as fi,ode as fn,M as fo,Lb as fr,Lke as ft,k9 as g,wl as ga,hf as gi,wde as gn,h as go,G_ as gr,Uke as gt,P9 as h,El as ha,gf as hi,lde as hn,_ as ho,Q_ as hr,Hke as ht,G9 as i,$l as ia,op as ii,Que as in,bn as io,fx as ir,B7 as it,x9 as j,Ss as ja,Id as ji,_D as jn,Gh as jr,ZCe as jt,C9 as k,ws as ka,Rd as ki,ID as kn,qh as kr,YCe as kt,B9 as l,Wl as la,jf as li,rde as ln,Te as lo,Ab as lr,Nke as lt,F9 as m,Dl as ma,_f as mi,cde as mn,w as mo,X_ as mr,Vke as mt,q9 as n,ru as na,up as ni,Xue as nn,Oi as no,ux as nr,o9 as nt,U9 as o,B as oa,zf as oi,ede as on,Fe as oo,zb as or,H7 as ot,I9 as p,Ol as pa,yf as pi,sde as pn,ce as po,Tb as pr,Rke as pt,d9 as q,qa,Zu as qi,Jx as qn,Bh as qr,Vue as qt,K9 as r,tu as ra,dp as ri,Zue as rn,fi as ro,mx as rr,W7 as rt,H9 as s,Yl as sa,Pf as si,tde as sn,Ne as so,Mb as sr,U7 as st,J9 as t,ou as ta,bp as ti,Yue as tn,Wi as to,_x as tr,s9 as tt,z9 as u,Gl as ua,kf as ui,ide as un,xe as uo,cre as ur,Pke as ut,A9 as v,_l as va,sf as vi,Ede as vn,b as vo,Mg as vr,X4 as vt,w9 as w,ul as wa,Jd as wi,Mde as wn,u as wo,sg as wr,WCe as wt,O9 as x,ll as xa,Yd as xi,kde as xn,oe as xo,pg as xr,Ewe as xt,j9 as y,fl as ya,nf as yi,Dde as yn,y as yo,Ag as yr,Dwe as yt,Y7 as z,Po as za,xd as zi,OC as zn,Ih as zr,lye as zt}; \ No newline at end of file +`+e)});let t=await this.createSessionFn(e);if(!t.Credentials?.AccessKeyId||!t.Credentials?.SecretAccessKey)throw Error(`s3#createSession response credential missing AccessKeyId or SecretAccessKey.`);return{accessKeyId:t.Credentials.AccessKeyId,secretAccessKey:t.Credentials.SecretAccessKey,sessionToken:t.Credentials.SessionToken,expiration:t.Credentials.Expiration?new Date(t.Credentials.Expiration):void 0}}},Lwe=`sigv4-s3express`,K4=`X-Amz-S3session-Token`,q4=K4.toLowerCase(),Rwe=class extends GS{async signWithCredentials(e,t,n){let r=J4(t);e.headers[q4]=t.sessionToken;let i=this;return Y4(i,r),i.signRequest(e,n??{})}async presignWithCredentials(e,t,n){let r=J4(t);return delete e.headers[q4],e.headers[K4]=t.sessionToken,e.query=e.query??{},e.query[K4]=t.sessionToken,Y4(this,r),this.presign(e,n)}};function J4(e){return{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey,expiration:e.expiration}}function Y4(e,t){let n=setTimeout(()=>{throw Error(`SignatureV4S3Express credential override was created but not called.`)},10),r=e.credentialProvider;e.credentialProvider=()=>(clearTimeout(n),e.credentialProvider=r,Promise.resolve(t))}var zwe=e=>(t,n)=>async r=>{if(n.endpointV2){let t=n.endpointV2,i=t.properties?.authSchemes?.[0]?.name===Lwe;if((t.properties?.backend===`S3Express`||t.properties?.bucketType===`Directory`)&&(XE(n,`S3_EXPRESS_BUCKET`,`J`),n.isS3ExpressBucket=!0),i){let t=r.input.Bucket;if(t){let i=await e.s3ExpressIdentityProvider.getS3ExpressIdentity(await e.credentials(),{Bucket:t});n.s3ExpressIdentity=i,Kx.isInstance(r.request)&&i.sessionToken&&(r.request.headers[q4]=i.sessionToken)}}}return t(r)},Bwe={name:`s3ExpressMiddleware`,step:`build`,tags:[`S3`,`S3_EXPRESS`],override:!0},Vwe=e=>({applyToStack:t=>{t.add(zwe(e),Bwe)}}),Hwe=async(e,t,n,r)=>{let i=await r.signWithCredentials(n,e,{});if(i.headers[`X-Amz-Security-Token`]||i.headers[`x-amz-security-token`])throw Error(`X-Amz-Security-Token must not be set for s3-express requests.`);return i},Uwe=e=>e=>{throw e},Wwe=(e,t)=>{},Gwe=e=>(t,n)=>async r=>{if(!Kx.isInstance(r.request))return t(r);let i=LS(n).selectedHttpAuthScheme;if(!i)throw Error(`No HttpAuthScheme was selected: unable to sign request`);let{httpAuthOption:{signingProperties:a={}},identity:o,signer:s}=i,c;c=n.s3ExpressIdentity?await Hwe(n.s3ExpressIdentity,a,r.request,await e.signer()):await s.sign(r.request,o,a);let l=await t({...r,request:c}).catch((s.errorHandler||Uwe)(a));return(s.successHandler||Wwe)(l.response,a),l},Kwe=e=>({applyToStack:t=>{t.addRelativeTo(Gwe(e),xC)}}),qwe=(e,{session:t})=>{let[n,r]=t,{forcePathStyle:i,useAccelerateEndpoint:a,disableMultiregionAccessPoints:o,followRegionRedirects:s,s3ExpressIdentityProvider:c,bucketEndpoint:l,expectContinueHeader:u}=e;return Object.assign(e,{forcePathStyle:i??!1,useAccelerateEndpoint:a??!1,disableMultiregionAccessPoints:o??!1,followRegionRedirects:s??!1,s3ExpressIdentityProvider:c??new Iwe(async e=>n().send(new r({Bucket:e}))),bucketEndpoint:l??!1,expectContinueHeader:u??2097152})};function Jwe(e){return new ReadableStream({start(t){t.enqueue(e),t.close()}})}var Ywe={CopyObjectCommand:!0,UploadPartCopyCommand:!0,CompleteMultipartUploadCommand:!0},Xwe=e=>(t,n)=>async r=>{let i=await t(r),{response:a}=i;if(!Jx.isInstance(a))return i;let{statusCode:o,body:s}=a;if(o<200||o>=300)return i;let c=await Zwe(s,e);if(a.body=Jwe(c),c.length===0&&Ywe[n.commandName]){let e=Error(`S3 aborted request`);throw e.$metadata={httpStatusCode:503},e.name=`InternalError`,e}let l=e.utf8Encoder(c.subarray(c.length-16));return l&&l.endsWith(``)&&(a.statusCode=503),i},Zwe=(e=new Uint8Array,t)=>e instanceof Uint8Array?Promise.resolve(e):t.streamCollector(e)||Promise.resolve(new Uint8Array),Qwe={relation:`after`,toMiddleware:`deserializerMiddleware`,tags:[`THROW_200_EXCEPTIONS`,`S3`],name:`throw200ExceptionsMiddleware`,override:!0},X4=e=>({applyToStack:t=>{t.addRelativeTo(Xwe(e),Qwe)}}),$we=e=>typeof e==`string`&&e.indexOf(`arn:`)===0&&e.split(`:`).length>=6;function eTe(e){return(t,n)=>async r=>{if(e.bucketEndpoint){let e=n.endpointV2;if(e){let t=r.input.Bucket;if(typeof t==`string`)try{let r=new URL(t);n.endpointV2={...e,url:r}}catch(e){let r=`@aws-sdk/middleware-sdk-s3: bucketEndpoint=true was set but Bucket=${t} could not be parsed as URL.`;throw n.logger?.constructor?.name===`NoOpLogger`?console.warn(r):n.logger?.warn?.(r),e}}}return t(r)}}var tTe={name:`bucketEndpointMiddleware`,override:!0,relation:`after`,toMiddleware:`endpointV2Middleware`};function nTe({bucketEndpoint:e}){return t=>async n=>{let{input:{Bucket:r}}=n;if(!e&&typeof r==`string`&&!$we(r)&&r.indexOf(`/`)>=0){let e=Error(`Bucket name shouldn't contain '/', received '${r}'`);throw e.name=`InvalidBucketName`,e}return t({...n})}}var rTe={step:`initialize`,tags:[`VALIDATE_BUCKET_NAME`],name:`validateBucketNameMiddleware`,override:!0},iTe=e=>({applyToStack:t=>{t.add(nTe(e),rTe),t.addRelativeTo(eTe(e),tTe)}}),aTe=class extends yie{async serializeRequest(e,t,n){let r=await super.serializeRequest(e,t,n),i=lw.of(e.input),a=i.getSchema(),o=0,s=a[6]??0;if(t&&typeof t==`object`)for(let[e,n]of i.structIterator()){if(++o>s)break;if(e===`Bucket`){if(!t.Bucket&&n.getMergedTraits().httpLabel)throw Error(`No value provided for input HTTP label: Bucket.`);break}}return r}},oTe=e=>Object.assign(e,{eventStreamMarshaller:e.eventStreamSerdeProvider(e)}),Z4={CrtSignerV4:null},Q4=class{sigv4aSigner;sigv4Signer;signerOptions;static sigv4aDependency(){return typeof Z4.CrtSignerV4==`function`?`crt`:typeof KS.SignatureV4a==`function`?`js`:`none`}constructor(e){this.sigv4Signer=new Rwe(e),this.signerOptions=e}async sign(e,t={}){return t.signingRegion===`*`?this.getSigv4aSigner().sign(e,t):this.sigv4Signer.sign(e,t)}async signWithCredentials(e,t,n={}){if(n.signingRegion===`*`){let r=this.getSigv4aSigner(),i=Z4.CrtSignerV4;if(i&&r instanceof i)return r.signWithCredentials(e,t,n);throw Error(`signWithCredentials with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.signWithCredentials(e,t,n)}async presign(e,t={}){if(t.signingRegion===`*`){let n=this.getSigv4aSigner(),r=Z4.CrtSignerV4;if(r&&n instanceof r)return n.presign(e,t);throw Error(`presign with signingRegion '*' is only supported when using the CRT dependency @aws-sdk/signature-v4-crt. Please check whether you have installed the "@aws-sdk/signature-v4-crt" package explicitly. You must also register the package by calling [require("@aws-sdk/signature-v4-crt");] or an ESM equivalent such as [import "@aws-sdk/signature-v4-crt";]. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}return this.sigv4Signer.presign(e,t)}async presignWithCredentials(e,t,n={}){if(n.signingRegion===`*`)throw Error(`Method presignWithCredentials is not supported for [signingRegion=*].`);return this.sigv4Signer.presignWithCredentials(e,t,n)}getSigv4aSigner(){if(!this.sigv4aSigner){let e=Z4.CrtSignerV4,t=KS.SignatureV4a;if(this.signerOptions.runtime===`node`){if(!e&&!t)throw Error(`Neither CRT nor JS SigV4a implementation is available. Please load either @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a. For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`);if(e&&typeof e==`function`)this.sigv4aSigner=new e({...this.signerOptions,signingAlgorithm:1});else if(t&&typeof t==`function`)this.sigv4aSigner=new t({...this.signerOptions});else throw Error(`Available SigV4a implementation is not a valid constructor. Please ensure you've properly imported @aws-sdk/signature-v4-crt or @aws-sdk/signature-v4a.For more information please go to https://github.com/aws/aws-sdk-js-v3#functionality-requiring-aws-common-runtime-crt`)}else{if(!t||typeof t!=`function`)throw Error(`JS SigV4a implementation is not available or not a valid constructor. Please check whether you have installed the @aws-sdk/signature-v4a package explicitly. The CRT implementation is not available for browsers. You must also register the package by calling [require('@aws-sdk/signature-v4a');] or an ESM equivalent such as [import '@aws-sdk/signature-v4a';]. For more information please go to https://github.com/aws/aws-sdk-js-v3#using-javascript-non-crt-implementation-of-sigv4a`);this.sigv4aSigner=new t({...this.signerOptions})}}return this.sigv4aSigner}},$4=`ref`,e3=`argv`,t3=`backend`,n3=`authSchemes`,r3=`disableDoubleEncoding`,i3=`signingName`,a3=`signingRegion`,o3=`signingRegionSet`,s3=-1,c3=!0,l3=!1,u3=`isSet`,d3=`booleanEquals`,f3=`stringEquals`,p3=`coalesce`,m3=`substring`,h3=``,g3=`aws.partition`,_3=`partitionResult`,v3=`accessPointSuffix`,y3=`regionPrefix`,b3=e=>`outpostId_ssa_`+e+h3,x3=`hardwareType`,S3=`ite`,C3=`isValidHostLabel`,w3=`sigv4`,T3=`aws.isVirtualHostableS3Bucket`,E3=`url`,D3=`getAttr`,O3=`bucketArn`,k3=`--`,A3=`arnType`,j3=`accesspoint`,M3=e=>`accessPointName_ssa_`+e+h3,N3=`s3-object-lambda`,P3=`s3-outposts`,F3=`bucketPartition`,I3=`us-east-1`,L3=`outpostType`,R3=`name`,z3=`s3`,B3=`{url#scheme}://{Bucket}.{url#authority}{url#path}`,V3=`{url#scheme}://{url#authority}{url#path}`,H3=`{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}`,U3=`https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}`,W3=`https://{Bucket}.s3.{partitionResult#dnsSuffix}`,G3=e=>`{url#scheme}://{accessPointName_ssa_`+e+`}-{bucketArn#accountId}.{url#authority}{url#path}`,K3=e=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_"+e+"}`",q3=`sigv4a`,J3=`{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}`,Y3=`https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,X3=`https://s3.{partitionResult#dnsSuffix}`,Z3={[$4]:`UseFIPS`},Q3={[$4]:`UseDualStack`},$3={[$4]:`Bucket`},e6={fn:D3,[e3]:[{[$4]:_3},R3]},t6={[$4]:E3},n6={[$4]:`Region`},r6={[$4]:O3},i6={[$4]:A3},a6={[$4]:`accessPointName_ssa_1`},o6={fn:D3,[e3]:[r6,`region`]},s6={[$4]:x3},c6={fn:D3,[e3]:[r6,`service`]},l6={fn:D3,[e3]:[r6,`accountId`]},u6={[t3]:`S3Express`,[n3]:[{[r3]:!0,[R3]:`{_s3e_auth}`,[i3]:`s3express`,[a3]:`{Region}`}]},d6={[t3]:`S3Express`,[n3]:[{[r3]:!0,[R3]:w3,[i3]:`s3express`,[a3]:`{Region}`}]},f6={[n3]:[{[r3]:!0,[R3]:q3,[i3]:P3,[o3]:[`*`]},{[r3]:!0,[R3]:w3,[i3]:P3,[a3]:`{Region}`}]},p6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:I3}]},m6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:`{Region}`}]},h6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:N3,[a3]:`{bucketArn#region}`}]},g6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:z3,[a3]:`{bucketArn#region}`}]},_6={[n3]:[{[r3]:!0,[R3]:q3,[i3]:P3,[o3]:[`*`]},{[r3]:!0,[R3]:w3,[i3]:P3,[a3]:`{bucketArn#region}`}]},v6={[n3]:[{[r3]:!0,[R3]:w3,[i3]:N3,[a3]:`{Region}`}]},y6=[n6],b6=[{[$4]:`Endpoint`}],x6=[$3],S6=[$3,0,7,!0],C6=[r6,`resourceId[1]`],sTe=[`*`],w6={conditions:[[u3,y6],[d3,[{[$4]:`Accelerate`},c3]],[d3,[Z3,c3]],[d3,[Q3,c3]],[u3,b6],[u3,x6],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,0,6,c3]},h3]},`--x-s3`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:S6},h3]},`--xa-s3`]],[g3,y6,_3],[m3,S6,v3],[f3,[{[$4]:v3},`--op-s3`]],[m3,[$3,8,12,c3],y3],[m3,[$3,32,49,c3],b3(2)],[m3,[$3,49,50,c3],x3],[d3,[{[$4]:`ForcePathStyle`},c3]],[f3,[e6,`aws-cn`]],[S3,[Q3,`.dualstack`,h3],`_s3e_ds`],[C3,[{[$4]:b3(2)},l3]],[S3,[Z3,`-fips`,h3],`_s3e_fips`],[S3,[{fn:p3,[e3]:[{[$4]:`DisableS3ExpressSessionAuth`},l3]},w3,`sigv4-s3express`],`_s3e_auth`],[T3,[$3,l3]],[`parseURL`,b6,E3],[d3,[{fn:p3,[e3]:[{[$4]:`UseS3ExpressControlEndpoint`},l3]},c3]],[T3,[$3,c3]],[f3,[{fn:D3,[e3]:[t6,`scheme`]},`http`]],[C3,[n6,l3]],[`aws.parseArn`,x6,O3],[D3,[{fn:`split`,[e3]:[$3,k3,0]},`[-2]`],`s3expressAvailabilityZoneId`],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,0,4,l3]},h3]},`arn:`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,16,18,c3]},h3]},k3]],[d3,[{fn:D3,[e3]:[t6,`isIp`]},c3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,21,23,c3]},h3]},k3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,27,29,c3]},h3]},k3]],[f3,[{[$4]:y3},`beta`]],[`uriEncode`,x6,`uri_encoded_bucket`],[C3,[n6,c3]],[d3,[{fn:p3,[e3]:[{[$4]:`UseObjectLambdaEndpoint`},l3]},c3]],[D3,[r6,`resourceId[0]`],A3],[f3,[i6,h3]],[f3,[i6,j3]],[D3,C6,M3(1)],[f3,[a6,h3]],[f3,[o6,h3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,14,16,c3]},h3]},k3]],[f3,[s6,`e`]],[f3,[s6,`o`]],[f3,[n6,`aws-global`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,19,21,c3]},h3]},k3]],[f3,[c6,N3]],[d3,[{fn:p3,[e3]:[{[$4]:`DisableAccessPoints`},l3]},c3]],[f3,[c6,P3]],[g3,[o6],F3],[C3,[a6,c3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,26,28,c3]},h3]},k3]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,15,17,c3]},h3]},k3]],[D3,[r6,`resourceId[4]`]],[f3,[{fn:p3,[e3]:[{fn:m3,[e3]:[$3,20,22,c3]},h3]},k3]],[d3,[{[$4]:`UseGlobalEndpoint`},c3]],[f3,[n6,I3]],[D3,C6,b3(1)],[d3,[{fn:p3,[e3]:[{[$4]:`UseArnRegion`},c3]},c3]],[C3,[{[$4]:b3(1)},l3]],[D3,[r6,`resourceId[2]`],L3],[f3,[n6,o6]],[f3,[{fn:D3,[e3]:[{[$4]:F3},R3]},e6]],[d3,[{[$4]:`DisableMultiRegionAccessPoints`},c3]],[C3,[o6,c3]],[f3,[{fn:D3,[e3]:[r6,`partition`]},e6]],[f3,[l6,h3]],[f3,[c6,z3]],[C3,[l6,l3]],[D3,[r6,`resourceId[3]`],M3(2)],[C3,[a6,l3]],[f3,[{[$4]:L3},j3]],[C3,[{[$4]:M3(2)},l3]]],results:[[s3],[s3,`Accelerate cannot be used with FIPS`],[s3,`Cannot set dual-stack in combination with a custom endpoint.`],[s3,`A custom endpoint cannot be combined with FIPS`],[s3,`A custom endpoint cannot be combined with S3 Accelerate`],[s3,`Partition does not support FIPS`],[s3,`S3Express does not support S3 Accelerate.`],[`{url#scheme}://{url#authority}/{uri_encoded_bucket}{url#path}`,u6],[B3,u6],[s3,`S3Express bucket name is not a valid virtual hostable name.`],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,d6],[`https://{Bucket}.s3express{_s3e_fips}-{s3expressAvailabilityZoneId}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,u6],[s3,`Unrecognized S3Express bucket name format.`],[V3,u6],[`https://s3express-control{_s3e_fips}{_s3e_ds}.{Region}.{partitionResult#dnsSuffix}`,d6],[s3,`Expected a endpoint to be specified but no endpoint was found`],[`https://{Bucket}.ec2.{url#authority}`,f6],[`https://{Bucket}.ec2.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,f6],[`https://{Bucket}.op-{outpostId_ssa_2}.{url#authority}`,f6],[`https://{Bucket}.op-{outpostId_ssa_2}.s3-outposts.{Region}.{partitionResult#dnsSuffix}`,f6],[s3,`Unrecognized hardware type: "Expected hardware type o or e but got {hardwareType}"`],[s3,`Invalid Outposts Bucket alias - it must be a valid bucket name.`],[s3,"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."],[s3,"Custom endpoint `{Endpoint}` was not a valid URI"],[s3,`S3 Accelerate cannot be used in this region`],[`https://{Bucket}.s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3-fips.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-fips.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3-accelerate.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3-accelerate.dualstack.{partitionResult#dnsSuffix}`,m6],[`https://{Bucket}.s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://{Bucket}.s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[H3,p6],[B3,p6],[H3,m6],[B3,m6],[U3,p6],[U3,m6],[W3,p6],[W3,m6],[`https://{Bucket}.s3.{Region}.{partitionResult#dnsSuffix}`,m6],[s3,`Invalid region: region was not a valid DNS name.`],[s3,`S3 Object Lambda does not support Dual-stack`],[s3,`S3 Object Lambda does not support S3 Accelerate`],[s3,`Access points are not supported for this operation`],[s3,"Invalid configuration: region from ARN `{bucketArn#region}` does not match client region `{Region}` and UseArnRegion is `false`"],[s3,`Invalid ARN: Missing account id`],[G3(1),h6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,h6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-object-lambda.{bucketArn#region}.{bucketPartition#dnsSuffix}`,h6],[s3,K3(1)],[s3,"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `{bucketArn#accountId}`"],[s3,"Invalid region in ARN: `{bucketArn#region}` (invalid DNS name)"],[s3,"Client was configured for partition `{partitionResult#name}` but ARN (`{Bucket}`) has `{bucketPartition#name}`"],[s3,"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."],[s3,`Invalid ARN: bucket ARN is missing a region`],[s3,"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided"],[s3,"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `{arnType}`"],[s3,`Access Points do not support S3 Accelerate`],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint-fips.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.dualstack.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[G3(1),g6],[`https://{accessPointName_ssa_1}-{bucketArn#accountId}.s3-accesspoint.{bucketArn#region}.{bucketPartition#dnsSuffix}`,g6],[s3,`Invalid ARN: The ARN was not for the S3 service, found: {bucketArn#service}`],[s3,`S3 MRAP does not support dual-stack`],[s3,`S3 MRAP does not support FIPS`],[s3,`S3 MRAP does not support S3 Accelerate`],[s3,`Invalid configuration: Multi-Region Access Point ARNs are disabled.`],[`https://{accessPointName_ssa_1}.accesspoint.s3-global.{partitionResult#dnsSuffix}`,{[n3]:[{[r3]:c3,name:q3,[i3]:z3,[o3]:sTe}]}],[s3,"Client was configured for partition `{partitionResult#name}` but bucket referred to partition `{bucketArn#partition}`"],[s3,`Invalid Access Point Name`],[s3,`S3 Outposts does not support Dual-stack`],[s3,`S3 Outposts does not support FIPS`],[s3,`S3 Outposts does not support S3 Accelerate`],[s3,`Invalid Arn: Outpost Access Point ARN contains sub resources`],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.{url#authority}`,_6],[`https://{accessPointName_ssa_2}-{bucketArn#accountId}.{outpostId_ssa_1}.s3-outposts.{bucketArn#region}.{bucketPartition#dnsSuffix}`,_6],[s3,K3(2)],[s3,"Expected an outpost type `accesspoint`, found {outpostType}"],[s3,`Invalid ARN: expected an access point name`],[s3,`Invalid ARN: Expected a 4-component resource`],[s3,"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `{outpostId_ssa_1}`"],[s3,`Invalid ARN: The Outpost Id was not set`],[s3,`Invalid ARN: Unrecognized format: {Bucket} (type: {arnType})`],[s3,`Invalid ARN: No ARN type specified`],[s3,"Invalid ARN: `{Bucket}` was not a valid ARN"],[s3,`Path-style addressing cannot be used with ARN buckets`],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,p6],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[J3,p6],[J3,m6],[Y3,p6],[Y3,m6],[`https://s3.{Region}.{partitionResult#dnsSuffix}/{uri_encoded_bucket}`,m6],[s3,`Path-style addressing cannot be used with S3 Accelerate`],[V3,v6],[`https://s3-object-lambda-fips.{Region}.{partitionResult#dnsSuffix}`,v6],[`https://s3-object-lambda.{Region}.{partitionResult#dnsSuffix}`,v6],[`https://s3-fips.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3-fips.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://s3-fips.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3-fips.{Region}.{partitionResult#dnsSuffix}`,m6],[`https://s3.dualstack.us-east-1.{partitionResult#dnsSuffix}`,p6],[`https://s3.dualstack.{Region}.{partitionResult#dnsSuffix}`,m6],[V3,p6],[V3,m6],[X3,p6],[X3,m6],[`https://s3.{Region}.{partitionResult#dnsSuffix}`,m6],[s3,`A region must be set when sending requests to S3.`]]},cTe=2,Z=1e8,lTe=new Int32Array([-1,1,-1,0,3,Z+115,1,424,4,2,272,5,3,233,6,4,85,7,5,15,8,8,9,Z+115,16,10,13,18,11,13,19,12,13,22,Z+14,13,35,14,Z+42,36,Z+103,435,6,271,16,7,270,17,8,19,18,14,501,106,9,20,24,10,21,24,11,22,24,12,23,24,13,547,24,14,77,25,20,73,26,26,27,78,37,28,Z+86,38,Z+86,29,39,47,30,48,Z+58,31,50,32,Z+85,51,33,136,55,Z+76,34,59,35,Z+84,60,39,36,61,37,Z+83,62,38,146,63,41,Z+46,61,40,Z+83,62,41,150,64,42,Z+54,66,43,Z+53,70,44,Z+52,71,45,Z+81,73,46,Z+80,74,Z+78,Z+79,40,48,Z+57,41,Z+57,49,42,185,50,48,62,51,49,Z+45,52,51,53,526,60,56,54,62,Z+55,55,63,57,Z+46,62,Z+55,57,64,58,Z+54,66,59,Z+53,69,60,Z+65,70,61,Z+52,72,Z+64,Z+51,49,Z+45,63,51,64,526,60,67,65,62,Z+55,66,63,68,Z+46,62,Z+55,68,64,69,Z+54,66,70,Z+53,68,Z+47,71,70,72,Z+52,72,Z+50,Z+51,25,74,Z+42,46,Z+39,75,57,76,Z+41,58,Z+40,Z+41,26,Z+88,78,28,Z+87,79,34,82,80,35,81,545,36,Z+103,Z+115,46,Z+97,83,57,84,Z+99,58,Z+98,Z+99,5,101,86,8,87,Z+115,16,88,89,18,91,89,19,90,92,21,97,95,19,93,92,21,98,95,21,97,94,22,Z+14,95,35,96,Z+42,36,Z+103,Z+42,22,Z+13,98,35,99,Z+42,36,Z+101,100,46,Z+110,Z+111,6,214,102,7,208,103,8,119,104,14,118,105,21,106,Z+23,26,107,502,37,108,Z+86,38,Z+86,109,39,112,110,48,Z+58,111,50,136,Z+85,40,113,Z+57,41,Z+57,114,42,115,500,48,Z+56,116,52,117,Z+72,65,Z+69,Z+72,21,501,Z+23,9,120,124,10,121,124,11,122,124,12,123,124,13,202,124,14,195,125,20,190,126,21,127,Z+23,23,128,129,24,189,129,26,130,197,37,131,Z+86,38,Z+86,132,39,159,133,48,Z+58,134,50,135,Z+85,51,141,136,55,Z+76,137,59,138,Z+84,60,Z+83,139,61,140,Z+83,63,Z+83,Z+46,55,Z+76,142,59,143,Z+84,60,148,144,61,145,Z+83,62,147,146,63,150,Z+46,63,153,Z+46,61,149,Z+83,62,153,150,64,151,Z+54,66,152,Z+53,70,Z+82,Z+52,64,154,Z+54,66,155,Z+53,70,156,Z+52,71,157,Z+81,73,158,Z+80,74,Z+77,Z+79,40,160,Z+57,41,Z+57,161,42,185,162,48,174,163,49,Z+45,164,51,165,526,60,168,166,62,Z+55,167,63,169,Z+46,62,Z+55,169,64,170,Z+54,66,171,Z+53,69,172,Z+65,70,173,Z+52,72,Z+63,Z+51,49,Z+45,175,51,176,526,60,179,177,62,Z+55,178,63,180,Z+46,62,Z+55,180,64,181,Z+54,66,182,Z+53,68,Z+47,183,70,184,Z+52,72,Z+48,Z+51,48,Z+56,186,52,187,Z+72,65,Z+69,188,67,Z+70,Z+71,25,Z+36,Z+42,21,191,Z+23,25,192,Z+42,30,194,193,46,Z+34,Z+36,46,Z+33,Z+35,21,196,Z+23,26,Z+88,197,28,Z+87,198,34,201,199,35,200,545,36,Z+101,Z+115,46,Z+95,Z+96,17,203,Z+22,20,204,Z+21,21,205,550,33,206,550,44,Z+16,207,45,Z+18,Z+20,8,209,215,16,210,220,18,211,220,19,212,224,20,213,227,21,231,401,8,218,215,19,216,Z+9,20,217,227,21,231,Z+9,16,219,220,18,223,220,19,221,224,20,222,227,21,231,Z+12,19,226,224,20,225,Z+9,21,Z+9,Z+12,20,230,227,21,228,Z+9,30,229,Z+9,34,Z+7,Z+9,21,231,415,30,232,Z+8,34,Z+7,Z+8,4,Z+2,234,5,235,480,6,271,236,7,270,237,8,238,491,9,239,243,10,240,243,11,241,243,12,242,243,13,547,243,14,266,244,20,264,245,26,246,267,37,247,Z+86,38,Z+86,248,39,249,518,40,250,Z+57,41,Z+57,251,42,538,252,48,Z+43,253,49,Z+45,254,51,255,526,60,258,256,62,Z+55,257,63,259,Z+46,62,Z+55,259,64,260,Z+54,66,261,Z+53,69,262,Z+65,70,263,Z+52,72,Z+62,Z+51,25,265,Z+42,46,Z+31,Z+32,26,Z+88,267,28,Z+87,268,34,269,544,46,Z+93,Z+94,8,397,Z+9,8,407,Z+9,3,346,273,4,Z+3,274,5,284,275,8,276,Z+115,15,Z+5,277,16,278,281,18,279,281,19,280,281,22,Z+14,281,35,282,Z+42,36,Z+102,283,46,Z+106,Z+107,6,405,285,7,395,286,8,295,287,14,501,288,26,289,502,37,290,Z+86,38,Z+86,291,39,292,307,40,293,Z+57,41,Z+57,294,42,335,500,9,296,300,10,297,300,11,298,300,12,299,300,13,394,300,14,339,301,15,Z+5,302,20,337,303,26,304,341,37,305,Z+86,38,Z+86,306,39,309,307,48,Z+58,308,50,Z+74,Z+85,40,310,Z+57,41,Z+57,311,42,335,312,48,324,313,49,Z+45,314,51,315,526,60,318,316,62,Z+55,317,63,319,Z+46,62,Z+55,319,64,320,Z+54,66,321,Z+53,69,322,Z+65,70,323,Z+52,72,Z+61,Z+51,49,Z+45,325,51,326,526,60,329,327,62,Z+55,328,63,330,Z+46,62,Z+55,330,64,331,Z+54,66,332,Z+53,68,Z+47,333,70,334,Z+52,72,Z+49,Z+51,48,Z+56,336,52,Z+67,Z+72,25,338,Z+42,46,Z+27,Z+28,15,Z+5,340,26,Z+88,341,28,Z+87,342,34,345,343,35,344,545,36,Z+102,Z+115,46,Z+91,Z+92,4,Z+2,347,5,357,348,8,349,Z+115,15,Z+5,350,16,351,354,18,352,354,19,353,354,22,Z+14,354,35,355,Z+42,36,Z+43,356,46,Z+104,Z+105,6,405,358,7,395,359,8,360,491,9,361,365,10,362,365,11,363,365,12,364,365,13,394,365,14,389,366,15,Z+5,367,20,387,368,26,369,391,37,370,Z+86,38,Z+86,371,39,372,518,40,373,Z+57,41,Z+57,374,42,538,375,48,Z+43,376,49,Z+45,377,51,378,526,60,381,379,62,Z+55,380,63,382,Z+46,62,Z+55,382,64,383,Z+54,66,384,Z+53,69,385,Z+65,70,386,Z+52,72,Z+60,Z+51,25,388,Z+42,46,Z+25,Z+26,15,Z+5,390,26,Z+88,391,28,Z+87,392,34,393,544,46,Z+89,Z+90,15,Z+5,547,8,396,Z+9,15,Z+5,397,16,398,410,18,399,410,19,400,410,20,401,Z+9,27,402,Z+12,29,Z+11,403,31,Z+11,404,32,Z+11,422,8,406,Z+9,15,Z+5,407,16,408,410,18,409,410,19,411,410,20,Z+12,Z+9,20,414,412,22,413,Z+9,34,Z+10,Z+9,22,416,415,27,419,Z+12,27,418,417,34,Z+10,Z+12,34,Z+10,419,43,Z+11,420,47,Z+11,421,53,Z+11,422,54,Z+11,423,56,Z+11,Z+12,2,Z+1,425,3,478,426,4,Z+4,427,5,438,428,8,429,Z+115,16,430,433,18,431,433,19,432,433,22,Z+14,433,35,434,Z+42,36,Z+44,435,46,Z+112,436,57,437,Z+114,58,Z+113,Z+114,6,Z+6,439,7,Z+6,440,8,450,441,14,501,442,26,443,502,37,444,Z+86,38,Z+86,445,39,446,465,40,447,Z+57,41,Z+57,448,42,471,449,48,Z+44,500,9,451,455,10,452,455,11,453,455,12,454,455,13,547,455,14,473,456,15,460,457,20,458,461,25,459,Z+42,46,Z+37,Z+38,20,540,461,26,462,474,37,463,Z+86,38,Z+86,464,39,467,465,48,Z+58,466,50,Z+75,Z+85,40,468,Z+57,41,Z+57,469,42,471,470,48,Z+44,524,48,Z+44,472,52,Z+68,Z+72,26,Z+88,474,28,Z+87,475,34,Z+100,476,35,477,545,36,Z+44,Z+115,4,Z+2,479,5,488,480,8,481,Z+115,16,482,485,18,483,485,19,484,485,22,Z+14,485,35,486,Z+42,36,Z+43,487,46,Z+108,Z+109,6,Z+6,489,7,Z+6,490,8,503,491,14,501,492,26,493,502,37,494,Z+86,38,Z+86,495,39,496,518,40,497,Z+57,41,Z+57,498,42,538,499,48,Z+43,500,49,Z+45,526,26,Z+88,502,28,Z+87,Z+115,9,504,508,10,505,508,11,506,508,12,507,508,13,547,508,14,541,509,15,513,510,20,511,514,25,512,Z+42,46,Z+29,Z+30,20,540,514,26,515,542,37,516,Z+86,38,Z+86,517,39,520,518,48,Z+58,519,50,Z+73,Z+85,40,521,Z+57,41,Z+57,522,42,538,523,48,Z+43,524,49,Z+45,525,51,529,526,60,Z+55,527,62,Z+55,528,63,Z+55,Z+46,60,532,530,62,Z+55,531,63,533,Z+46,62,Z+55,533,64,534,Z+54,66,535,Z+53,69,536,Z+65,70,537,Z+52,72,Z+59,Z+51,48,Z+43,539,52,Z+66,Z+72,25,Z+24,Z+42,26,Z+88,542,28,Z+87,543,34,Z+100,544,35,546,545,36,Z+42,Z+115,36,Z+43,Z+115,17,548,Z+22,20,549,Z+21,33,552,550,44,Z+17,551,45,Z+19,Z+20,44,Z+15,553,45,Z+15,Z+20]),uTe=IT.from(lTe,cTe,w6.conditions,w6.results),dTe=new LT({size:50,params:[`Accelerate`,`Bucket`,`DisableAccessPoints`,`DisableMultiRegionAccessPoints`,`DisableS3ExpressSessionAuth`,`Endpoint`,`ForcePathStyle`,`Region`,`UseArnRegion`,`UseDualStack`,`UseFIPS`,`UseGlobalEndpoint`,`UseObjectLambdaEndpoint`,`UseS3ExpressControlEndpoint`]}),T6=(e,t={})=>dTe.get(e,()=>hE(uTe,{endpointParams:e,logger:t.logger}));VT.aws=wE;var fTe=(e=>async(t,n,r)=>{if(!r)throw Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");let i=await e(t,n,r),a=LS(n)?.commandInstance?.constructor?.getEndpointParameterInstructions;if(!a)throw Error(`getEndpointParameterInstructions() is not defined on '${n.commandName}'`);let o=await gD(r,{getEndpointParameterInstructions:a},t);return Object.assign(i,o)})(async(e,t,n)=>({operation:LS(t).operation,region:await RS(e.region)()||(()=>{throw Error("expected `region` to be configured for `aws.auth#sigv4`")})()}));function E6(e){return{schemeId:`aws.auth#sigv4`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}function D6(e){return{schemeId:`aws.auth#sigv4a`,signingProperties:{name:`s3`,region:e.region},propertiesExtractor:(e,t)=>({signingProperties:{config:e,context:t}})}}var pTe=((e,t,n)=>r=>{let i=e(r).properties?.authSchemes;if(!i)return t(r);let a=[];for(let e of i){let{name:t,properties:o={},...s}=e,c=t.toLowerCase();t!==c&&console.warn(`HttpAuthScheme has been normalized with lowercasing: '${t}' to '${c}'`);let l;if(c===`sigv4a`){l=`aws.auth#sigv4a`;let e=i.find(e=>{let t=e.name.toLowerCase();return t!==`sigv4a`&&t.startsWith(`sigv4`)});if(Q4.sigv4aDependency()===`none`&&e)continue}else if(c.startsWith(`sigv4`))l=`aws.auth#sigv4`;else throw Error(`Unknown HttpAuthScheme found in '@smithy.rules#endpointRuleSet': '${c}'`);let u=n[l];if(!u)throw Error(`Could not find HttpAuthOption create function for '${l}'`);let d=u(r);d.schemeId=l,d.signingProperties={...d.signingProperties||{},...s,...o},a.push(d)}return a})(T6,e=>{let t=[];switch(e.operation){default:t.push(E6(e)),t.push(D6(e))}return t},{"aws.auth#sigv4":E6,"aws.auth#sigv4a":D6}),mTe=e=>{let t=Yre(GD(e));return Object.assign(t,{authSchemePreference:RS(e.authSchemePreference??[])})},hTe=e=>Object.assign(e,{useFipsEndpoint:e.useFipsEndpoint??!1,useDualstackEndpoint:e.useDualstackEndpoint??!1,forcePathStyle:e.forcePathStyle??!1,useAccelerateEndpoint:e.useAccelerateEndpoint??!1,useGlobalEndpoint:e.useGlobalEndpoint??!1,disableMultiregionAccessPoints:e.disableMultiregionAccessPoints??!1,defaultSigningName:`s3`,clientContextParams:e.clientContextParams??{}}),O6={ForcePathStyle:{type:`clientContextParams`,name:`forcePathStyle`},UseArnRegion:{type:`clientContextParams`,name:`useArnRegion`},DisableMultiRegionAccessPoints:{type:`clientContextParams`,name:`disableMultiregionAccessPoints`},Accelerate:{type:`clientContextParams`,name:`useAccelerateEndpoint`},DisableS3ExpressSessionAuth:{type:`clientContextParams`,name:`disableS3ExpressSessionAuth`},UseGlobalEndpoint:{type:`builtInParams`,name:`useGlobalEndpoint`},UseFIPS:{type:`builtInParams`,name:`useFipsEndpoint`},Endpoint:{type:`builtInParams`,name:`endpoint`},Region:{type:`builtInParams`,name:`region`},UseDualStack:{type:`builtInParams`,name:`useDualstackEndpoint`}},k6=class e extends kD{constructor(t){super(t),Object.setPrototypeOf(this,e.prototype)}},gTe=class e extends k6{name=`NoSuchUpload`;$fault=`client`;constructor(t){super({name:`NoSuchUpload`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},_Te=class e extends k6{name=`AccessDenied`;$fault=`client`;constructor(t){super({name:`AccessDenied`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},vTe=class e extends k6{name=`ObjectNotInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectNotInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},yTe=class e extends k6{name=`BucketAlreadyExists`;$fault=`client`;constructor(t){super({name:`BucketAlreadyExists`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},bTe=class e extends k6{name=`BucketAlreadyOwnedByYou`;$fault=`client`;constructor(t){super({name:`BucketAlreadyOwnedByYou`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},xTe=class e extends k6{name=`NoSuchBucket`;$fault=`client`;constructor(t){super({name:`NoSuchBucket`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},STe=class e extends k6{name=`InvalidObjectState`;$fault=`client`;StorageClass;AccessTier;constructor(t){super({name:`InvalidObjectState`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype),this.StorageClass=t.StorageClass,this.AccessTier=t.AccessTier}},CTe=class e extends k6{name=`NoSuchKey`;$fault=`client`;constructor(t){super({name:`NoSuchKey`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},wTe=class e extends k6{name=`NotFound`;$fault=`client`;constructor(t){super({name:`NotFound`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},TTe=class e extends k6{name=`EncryptionTypeMismatch`;$fault=`client`;constructor(t){super({name:`EncryptionTypeMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ETe=class e extends k6{name=`InvalidRequest`;$fault=`client`;constructor(t){super({name:`InvalidRequest`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},DTe=class e extends k6{name=`InvalidWriteOffset`;$fault=`client`;constructor(t){super({name:`InvalidWriteOffset`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},OTe=class e extends k6{name=`TooManyParts`;$fault=`client`;constructor(t){super({name:`TooManyParts`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},kTe=class e extends k6{name=`IdempotencyParameterMismatch`;$fault=`client`;constructor(t){super({name:`IdempotencyParameterMismatch`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},ATe=class e extends k6{name=`ObjectAlreadyInActiveTierError`;$fault=`client`;constructor(t){super({name:`ObjectAlreadyInActiveTierError`,$fault:`client`,...t}),Object.setPrototypeOf(this,e.prototype)}},A6=`ACL`,jTe=`AccessDenied`,MTe=`AbortDate`,j6=`AccessKeyId`,NTe=`AbortMultipartUpload`,PTe=`AbortMultipartUploadOutput`,FTe=`AbortMultipartUploadRequest`,ITe=`AcceptRanges`,LTe=`AbortRuleId`,RTe=`AccessTier`,M6=`Bucket`,N6=`BucketArn`,zTe=`BucketAlreadyExists`,BTe=`BucketAlreadyOwnedByYou`,VTe=`BypassGovernanceRetention`,HTe=`BucketInfo`,P6=`BucketKeyEnabled`,UTe=`BucketNamespace`,F6=`BucketRegion`,I6=`Body`,L6=`Buckets`,R6=`ChecksumAlgorithm`,WTe=`CreateBucket`,z6=`CreateBucketConfiguration`,GTe=`CreateBucketOutput`,KTe=`CreateBucketRequest`,B6=`CacheControl`,V6=`ChecksumCRC32`,H6=`ChecksumCRC32C`,U6=`ChecksumCRC64NVME`,W6=`Cache-Control`,qTe=`CreationDate`,G6=`Content-Disposition`,K6=`ContentDisposition`,q6=`Content-Encoding`,J6=`ContentEncoding`,Y6=`ContentLanguage`,X6=`Content-Language`,Z6=`Content-Length`,Q6=`ContentLength`,$6=`Content-MD5`,e8=`ChecksumMD5`,t8=`ContentMD5`,JTe=`CompletedMultipartUpload`,YTe=`CompleteMultipartUploadOutput`,XTe=`CreateMultipartUploadOutput`,ZTe=`CompleteMultipartUploadResult`,QTe=`CompleteMultipartUploadRequest`,$Te=`CreateMultipartUploadRequest`,n8=`CompleteMultipartUpload`,eEe=`CreateMultipartUpload`,tEe=`ChecksumMode`,nEe=`CommonPrefix`,rEe=`CommonPrefixList`,iEe=`CompletedPartList`,aEe=`CompletedPart`,oEe=`CommonPrefixes`,sEe=`ContentRange`,cEe=`Content-Range`,r8=`ChecksumSHA1`,i8=`ChecksumSHA256`,a8=`ChecksumSHA512`,lEe=`CreateSessionOutput`,uEe=`CreateSessionResult`,dEe=`CreateSessionRequest`,fEe=`CreateSession`,o8=`ChecksumType`,s8=`Content-Type`,c8=`ContentType`,l8=`ContinuationToken`,u8=`ChecksumXXHASH64`,d8=`ChecksumXXHASH3`,f8=`ChecksumXXHASH128`,pEe=`Contents`,p8=`Credentials`,m8=`DeleteMarker`,mEe=`DisplayName`,hEe=`DeleteObjectOutput`,gEe=`DeleteObjectRequest`,_Ee=`DeleteObject`,vEe=`DataRedundancy`,h8=`Delimiter`,g8=`Expiration`,_8=`ExpectedBucketOwner`,v8=`ExpiresString`,yEe=`EncryptionTypeMismatch`,y8=`ETag`,b8=`EncodingType`,x8=`Expires`,bEe=`FetchOwner`,S8=`GrantFullControl`,xEe=`GetObject`,SEe=`GetObjectOutput`,CEe=`GetObjectRequest`,C8=`GrantRead`,w8=`GrantReadACP`,wEe=`GrantWrite`,T8=`GrantWriteACP`,TEe=`ID`,E8=`IfMatch`,EEe=`IfMatchInitiatedTime`,DEe=`IfMatchLastModifiedTime`,OEe=`IfMatchSize`,kEe=`If-Modified-Since`,AEe=`IfModifiedSince`,jEe=`InitiateMultipartUploadResult`,D8=`If-Match`,O8=`IfNoneMatch`,k8=`If-None-Match`,MEe=`InvalidObjectState`,NEe=`IdempotencyParameterMismatch`,PEe=`InvalidRequest`,FEe=`IsRestoreInProgress`,IEe=`IsTruncated`,LEe=`IfUnmodifiedSince`,REe=`If-Unmodified-Since`,zEe=`InvalidWriteOffset`,A8=`Key`,BEe=`KeyCount`,j8=`Location`,VEe=`ListAllMyBucketsResult`,HEe=`ListBuckets`,UEe=`ListBucketsOutput`,WEe=`ListBucketsRequest`,GEe=`ListBucketResult`,KEe=`LocationConstraint`,qEe=`LocationInfo`,M8=`LastModified`,JEe=`Last-Modified`,YEe=`ListObjectsV2`,XEe=`ListObjectsV2Output`,ZEe=`ListObjectsV2Request`,N8=`Metadata`,QEe=`MaxBuckets`,$Ee=`MFA`,P8=`MaxKeys`,eDe=`MissingMeta`,tDe=`MpuObjectSize`,nDe=`MultipartUpload`,F8=`Name`,rDe=`NextContinuationToken`,iDe=`NotFound`,aDe=`NoSuchBucket`,oDe=`NoSuchKey`,sDe=`NoSuchUpload`,I8=`Owner`,cDe=`ObjectAlreadyInActiveTierError`,lDe=`ObjectLockEnabledForBucket`,L8=`ObjectLockLegalHoldStatus`,R8=`ObjectLockMode`,z8=`ObjectLockRetainUntilDate`,uDe=`ObjectList`,dDe=`ObjectNotInActiveTierError`,fDe=`ObjectOwnership`,pDe=`OptionalObjectAttributes`,mDe=`Object`,B8=`Prefix`,hDe=`PartsCount`,V8=`PartNumber`,gDe=`PutObject`,_De=`PutObjectOutput`,vDe=`PutObjectRequest`,yDe=`PutObjectTagging`,bDe=`PutObjectTaggingOutput`,xDe=`PutObjectTaggingRequest`,SDe=`Parts`,CDe=`Part`,H8=`RequestCharged`,wDe=`ResponseCacheControl`,TDe=`ResponseContentDisposition`,EDe=`ResponseContentEncoding`,DDe=`ResponseContentLanguage`,ODe=`ResponseContentType`,kDe=`ResponseExpires`,ADe=`RestoreExpiryDate`,U8=`RequestPayer`,jDe=`ReplicationStatus`,W8=`RestoreStatus`,G8=`Range`,MDe=`Restore`,K8=`StartAfter`,q8=`SecretAccessKey`,NDe=`StreamingBlob`,J8=`StorageClass`,PDe=`SessionCredentialValue`,FDe=`SessionCredentials`,IDe=`SessionMode`,Y8=`ServerSideEncryption`,X8=`SSECustomerAlgorithm`,Z8=`SSECustomerKey`,Q8=`SSECustomerKeyMD5`,$8=`SSEKMSEncryptionContext`,e5=`SSEKMSKeyId`,t5=`SessionToken`,n5=`Size`,LDe=`Tags`,RDe=`TagCount`,zDe=`TooManyParts`,r5=`TagSet`,i5=`Tag`,a5=`Tagging`,o5=`Type`,s5=`UploadId`,BDe=`UploadPart`,VDe=`UploadPartOutput`,HDe=`UploadPartRequest`,UDe=`Value`,c5=`VersionId`,WDe=`WriteOffsetBytes`,l5=`WebsiteRedirectLocation`,GDe=`accept-ranges`,KDe=`bucket-region`,u5=`client`,d5=`continuation-token`,qDe=`delimiter`,f5=`error`,JDe=`encoding-type`,YDe=`fetch-owner`,p5=`http`,m5=`httpChecksum`,h5=`httpError`,Q=`httpHeader`,g5=`httpPayload`,_5=`httpPrefixHeaders`,v5=`httpQuery`,XDe=`max-buckets`,ZDe=`max-keys`,y5=`prefix`,b5=`partNumber`,QDe=`response-cache-control`,$De=`response-content-disposition`,eOe=`response-content-encoding`,tOe=`response-content-language`,nOe=`response-content-type`,rOe=`response-expires`,x5=`smithy.ts.sdk.synthetic.com.amazonaws.s3`,iOe=`start-after`,aOe=`streaming`,S5=`uploadId`,C5=`versionId`,w5=`xmlFlattened`,T5=`xmlName`,E5=`x-amz-acl`,oOe=`x-amz-abort-date`,sOe=`x-amz-abort-rule-id`,cOe=`x-amz-bucket-arn`,lOe=`x-amz-bypass-governance-retention`,uOe=`x-amz-bucket-namespace`,dOe=`x-amz-bucket-object-lock-enabled`,D5=`x-amz-checksum-algorithm`,O5=`x-amz-checksum-crc32`,k5=`x-amz-checksum-crc32c`,A5=`x-amz-checksum-crc64nvme`,j5=`x-amz-checksum-md5`,fOe=`x-amz-checksum-mode`,M5=`x-amz-checksum-sha1`,N5=`x-amz-checksum-sha256`,P5=`x-amz-checksum-sha512`,pOe=`x-amz-create-session-mode`,F5=`x-amz-checksum-type`,I5=`x-amz-checksum-xxhash64`,L5=`x-amz-checksum-xxhash3`,R5=`x-amz-checksum-xxhash128`,z5=`x-amz-delete-marker`,B5=`x-amz-expiration`,V5=`x-amz-expected-bucket-owner`,H5=`x-amz-grant-full-control`,U5=`x-amz-grant-read`,W5=`x-amz-grant-read-acp`,mOe=`x-amz-grant-write`,G5=`x-amz-grant-write-acp`,hOe=`x-amz-if-match-initiated-time`,gOe=`x-amz-if-match-last-modified-time`,_Oe=`x-amz-if-match-size`,K5=`x-amz-meta-`,vOe=`x-amz-mfa`,yOe=`x-amz-missing-meta`,bOe=`x-amz-mp-object-size`,xOe=`x-amz-mp-parts-count`,q5=`x-amz-object-lock-legal-hold`,J5=`x-amz-object-lock-mode`,Y5=`x-amz-object-lock-retain-until-date`,SOe=`x-amz-object-ownership`,COe=`x-amz-optional-object-attributes`,wOe=`x-amz-object-size`,TOe=`x-amz-restore`,X5=`x-amz-request-charged`,Z5=`x-amz-request-payer`,EOe=`x-amz-replication-status`,Q5=`x-amz-storage-class`,$5=`x-amz-sdk-checksum-algorithm`,e7=`x-amz-server-side-encryption`,t7=`x-amz-server-side-encryption-aws-kms-key-id`,n7=`x-amz-server-side-encryption-bucket-key-enabled`,r7=`x-amz-server-side-encryption-context`,i7=`x-amz-server-side-encryption-customer-algorithm`,a7=`x-amz-server-side-encryption-customer-key`,o7=`x-amz-server-side-encryption-customer-key-MD5`,s7=`x-amz-tagging`,DOe=`x-amz-tagging-count`,c7=`x-amz-version-id`,OOe=`x-amz-write-offset-bytes`,l7=`x-amz-website-redirect-location`,$=`com.amazonaws.s3`,u7=pw.for(x5),kOe=[-3,x5,`S3ServiceException`,0,[],[]];u7.registerError(kOe,k6);var d7=pw.for($),AOe=[-3,$,jTe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(AOe,_Te);var jOe=[-3,$,zTe,{[f5]:u5,[h5]:409},[],[]];d7.registerError(jOe,yTe);var MOe=[-3,$,BTe,{[f5]:u5,[h5]:409},[],[]];d7.registerError(MOe,bTe);var NOe=[-3,$,yEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(NOe,TTe);var POe=[-3,$,NEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(POe,kTe);var FOe=[-3,$,MEe,{[f5]:u5,[h5]:403},[J8,RTe],[0,0]];d7.registerError(FOe,STe);var IOe=[-3,$,PEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(IOe,ETe);var LOe=[-3,$,zEe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(LOe,DTe);var ROe=[-3,$,aDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(ROe,xTe);var zOe=[-3,$,oDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(zOe,CTe);var BOe=[-3,$,sDe,{[f5]:u5,[h5]:404},[],[]];d7.registerError(BOe,gTe);var VOe=[-3,$,iDe,{[f5]:u5},[],[]];d7.registerError(VOe,wTe);var HOe=[-3,$,cDe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(HOe,ATe);var UOe=[-3,$,dDe,{[f5]:u5,[h5]:403},[],[]];d7.registerError(UOe,vTe);var WOe=[-3,$,zDe,{[f5]:u5,[h5]:400},[],[]];d7.registerError(WOe,OTe);var GOe=[u7,d7],f7=[0,$,PDe,8,0],p7=[0,$,Z8,8,0],m7=[0,$,$8,8,0],h7=[0,$,e5,8,0],g7=[0,$,NDe,{[aOe]:1},42],KOe=[3,$,PTe,0,[H8],[[0,{[Q]:X5}]]],qOe=[3,$,FTe,0,[M6,A8,s5,U8,_8,EEe],[[0,1],[0,1],[0,{[v5]:S5}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[6,{[Q]:hOe}]],3],JOe=[3,$,M6,0,[F8,qTe,F6,N6],[0,4,0,0]],YOe=[3,$,HTe,0,[vEe,o5],[0,0]],XOe=[3,$,nEe,0,[B8],[0]],ZOe=[3,$,JTe,0,[SDe],[[()=>Ake,{[w5]:1,[T5]:CDe}]]],QOe=[3,$,aEe,0,[y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,V8],[0,0,0,0,0,0,0,0,0,0,0,1]],$Oe=[3,$,YTe,{[T5]:ZTe},[j8,M6,A8,g8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,Y8,c5,e5,P6,H8],[0,0,0,[0,{[Q]:B5}],0,0,0,0,0,0,0,0,0,0,0,0,[0,{[Q]:e7}],[0,{[Q]:c7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:X5}]]],eke=[3,$,QTe,0,[M6,A8,s5,nDe,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,tDe,U8,_8,E8,O8,X8,Z8,Q8],[[0,1],[0,1],[0,{[v5]:S5}],[()=>ZOe,{[g5]:1,[T5]:n8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[1,{[Q]:bOe}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[0,{[Q]:D8}],[0,{[Q]:k8}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}]],3],tke=[3,$,z6,0,[KEe,j8,M6,LDe],[0,()=>gke,()=>YOe,[()=>v7,0]]],nke=[3,$,GTe,0,[j8,N6],[[0,{[Q]:j8}],[0,{[Q]:cOe}]]],rke=[3,$,KTe,0,[M6,A6,z6,S8,C8,w8,wEe,T8,lDe,fDe,UTe],[[0,1],[0,{[Q]:E5}],[()=>tke,{[g5]:1,[T5]:z6}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:mOe}],[0,{[Q]:G5}],[2,{[Q]:dOe}],[0,{[Q]:SOe}],[0,{[Q]:uOe}]],1],ike=[3,$,XTe,{[T5]:jEe},[MTe,LTe,M6,A8,s5,Y8,X8,Q8,e5,$8,P6,H8,R6,o8],[[4,{[Q]:oOe}],[0,{[Q]:sOe}],[0,{[T5]:M6}],0,0,[0,{[Q]:e7}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:X5}],[0,{[Q]:D5}],[0,{[Q]:F5}]]],ake=[3,$,$Te,0,[M6,A8,A6,B6,K6,J6,Y6,c8,x8,S8,C8,w8,T8,N8,Y8,J8,l5,X8,Z8,Q8,e5,$8,P6,U8,a5,R8,z8,L8,_8,R6,o8],[[0,1],[0,1],[0,{[Q]:E5}],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[0,{[Q]:s8}],[4,{[Q]:x8}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:G5}],[128,{[_5]:K5}],[0,{[Q]:e7}],[0,{[Q]:Q5}],[0,{[Q]:l7}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:Z5}],[0,{[Q]:s7}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}],[0,{[Q]:V5}],[0,{[Q]:D5}],[0,{[Q]:F5}]],2],oke=[3,$,lEe,{[T5]:uEe},[p8,Y8,e5,$8,P6],[[()=>Cke,{[T5]:p8}],[0,{[Q]:e7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}]],1],ske=[3,$,dEe,0,[M6,IDe,Y8,e5,$8,P6],[[0,1],[0,{[Q]:pOe}],[0,{[Q]:e7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}]],1],cke=[3,$,hEe,0,[m8,c5,H8],[[2,{[Q]:z5}],[0,{[Q]:c7}],[0,{[Q]:X5}]]],lke=[3,$,gEe,0,[M6,A8,$Ee,c5,U8,VTe,_8,E8,DEe,OEe],[[0,1],[0,1],[0,{[Q]:vOe}],[0,{[v5]:C5}],[0,{[Q]:Z5}],[2,{[Q]:lOe}],[0,{[Q]:V5}],[0,{[Q]:D8}],[6,{[Q]:gOe}],[1,{[Q]:_Oe}]],2],uke=[3,$,SEe,0,[I6,m8,ITe,g8,MDe,M8,Q6,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,eDe,c5,B6,K6,J6,Y6,sEe,c8,x8,v8,l5,Y8,N8,X8,Q8,e5,P6,J8,H8,jDe,hDe,RDe,R8,z8,L8],[[()=>g7,16],[2,{[Q]:z5}],[0,{[Q]:GDe}],[0,{[Q]:B5}],[0,{[Q]:TOe}],[4,{[Q]:JEe}],[1,{[Q]:Z6}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[1,{[Q]:yOe}],[0,{[Q]:c7}],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[0,{[Q]:cEe}],[0,{[Q]:s8}],[4,{[Q]:x8}],[0,{[Q]:v8}],[0,{[Q]:l7}],[0,{[Q]:e7}],[128,{[_5]:K5}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:Q5}],[0,{[Q]:X5}],[0,{[Q]:EOe}],[1,{[Q]:xOe}],[1,{[Q]:DOe}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}]]],dke=[3,$,CEe,0,[M6,A8,E8,AEe,O8,LEe,G8,wDe,TDe,EDe,DDe,ODe,kDe,c5,X8,Z8,Q8,U8,V8,_8,tEe],[[0,1],[0,1],[0,{[Q]:D8}],[4,{[Q]:kEe}],[0,{[Q]:k8}],[4,{[Q]:REe}],[0,{[Q]:G8}],[0,{[v5]:QDe}],[0,{[v5]:$De}],[0,{[v5]:eOe}],[0,{[v5]:tOe}],[0,{[v5]:nOe}],[6,{[v5]:rOe}],[0,{[v5]:C5}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[0,{[Q]:Z5}],[1,{[v5]:b5}],[0,{[Q]:V5}],[0,{[Q]:fOe}]],2],fke=[3,$,UEe,{[T5]:VEe},[L6,I8,l8,B8],[[()=>Oke,0],()=>_7,0,0]],pke=[3,$,WEe,0,[QEe,l8,B8,F6],[[1,{[v5]:XDe}],[0,{[v5]:d5}],[0,{[v5]:y5}],[0,{[v5]:KDe}]]],mke=[3,$,XEe,{[T5]:GEe},[IEe,pEe,F8,B8,h8,P8,oEe,b8,BEe,l8,rDe,K8,H8],[2,[()=>jke,{[w5]:1}],0,0,0,1,[()=>kke,{[w5]:1}],0,1,0,0,0,[0,{[Q]:X5}]]],hke=[3,$,ZEe,0,[M6,h8,b8,P8,B8,l8,bEe,K8,U8,_8,pDe],[[0,1],[0,{[v5]:qDe}],[0,{[v5]:JDe}],[1,{[v5]:ZDe}],[0,{[v5]:y5}],[0,{[v5]:d5}],[2,{[v5]:YDe}],[0,{[v5]:iOe}],[0,{[Q]:Z5}],[0,{[Q]:V5}],[64,{[Q]:COe}]],1],gke=[3,$,qEe,0,[o5,F8],[0,0]],_ke=[3,$,mDe,0,[A8,M8,y8,R6,o8,n5,J8,I8,W8],[0,4,0,[64,{[w5]:1}],0,1,0,()=>_7,()=>Ske]],_7=[3,$,I8,0,[mEe,TEe],[0,0]],vke=[3,$,_De,0,[g8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,o8,Y8,c5,X8,Q8,e5,$8,P6,n5,H8],[[0,{[Q]:B5}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:F5}],[0,{[Q]:e7}],[0,{[Q]:c7}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[1,{[Q]:wOe}],[0,{[Q]:X5}]]],yke=[3,$,vDe,0,[M6,A8,A6,I6,B6,K6,J6,Y6,Q6,t8,c8,R6,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,x8,E8,O8,S8,C8,w8,T8,WDe,N8,Y8,J8,l5,X8,Z8,Q8,e5,$8,P6,U8,a5,R8,z8,L8,_8],[[0,1],[0,1],[0,{[Q]:E5}],[()=>g7,16],[0,{[Q]:W6}],[0,{[Q]:G6}],[0,{[Q]:q6}],[0,{[Q]:X6}],[1,{[Q]:Z6}],[0,{[Q]:$6}],[0,{[Q]:s8}],[0,{[Q]:$5}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[4,{[Q]:x8}],[0,{[Q]:D8}],[0,{[Q]:k8}],[0,{[Q]:H5}],[0,{[Q]:U5}],[0,{[Q]:W5}],[0,{[Q]:G5}],[1,{[Q]:OOe}],[128,{[_5]:K5}],[0,{[Q]:e7}],[0,{[Q]:Q5}],[0,{[Q]:l7}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[()=>m7,{[Q]:r7}],[2,{[Q]:n7}],[0,{[Q]:Z5}],[0,{[Q]:s7}],[0,{[Q]:J5}],[5,{[Q]:Y5}],[0,{[Q]:q5}],[0,{[Q]:V5}]],2],bke=[3,$,bDe,0,[c5],[[0,{[Q]:c7}]]],xke=[3,$,xDe,0,[M6,A8,a5,c5,t8,R6,_8,U8],[[0,1],[0,1],[()=>Tke,{[g5]:1,[T5]:a5}],[0,{[v5]:C5}],[0,{[Q]:$6}],[0,{[Q]:$5}],[0,{[Q]:V5}],[0,{[Q]:Z5}]],3],Ske=[3,$,W8,0,[FEe,ADe],[2,4]],Cke=[3,$,FDe,0,[j6,q8,t5,g8],[[0,{[T5]:j6}],[()=>f7,{[T5]:q8}],[()=>f7,{[T5]:t5}],[4,{[T5]:g8}]],4],wke=[3,$,i5,0,[A8,UDe],[0,0],2],Tke=[3,$,a5,0,[r5],[[()=>v7,0]],1],Eke=[3,$,VDe,0,[Y8,y8,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,X8,Q8,e5,P6,H8],[[0,{[Q]:e7}],[0,{[Q]:y8}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:i7}],[0,{[Q]:o7}],[()=>h7,{[Q]:t7}],[2,{[Q]:n7}],[0,{[Q]:X5}]]],Dke=[3,$,HDe,0,[M6,A8,V8,s5,I6,Q6,t8,R6,V6,H6,U6,r8,i8,a8,e8,u8,d8,f8,X8,Z8,Q8,U8,_8],[[0,1],[0,1],[1,{[v5]:b5}],[0,{[v5]:S5}],[()=>g7,16],[1,{[Q]:Z6}],[0,{[Q]:$6}],[0,{[Q]:$5}],[0,{[Q]:O5}],[0,{[Q]:k5}],[0,{[Q]:A5}],[0,{[Q]:M5}],[0,{[Q]:N5}],[0,{[Q]:P5}],[0,{[Q]:j5}],[0,{[Q]:I5}],[0,{[Q]:L5}],[0,{[Q]:R5}],[0,{[Q]:i7}],[()=>p7,{[Q]:a7}],[0,{[Q]:o7}],[0,{[Q]:Z5}],[0,{[Q]:V5}]],4],Oke=[1,$,L6,0,[()=>JOe,{[T5]:M6}]],kke=[1,$,rEe,0,()=>XOe],Ake=[1,$,iEe,0,()=>QOe],jke=[1,$,uDe,0,[()=>_ke,0]],v7=[1,$,r5,0,[()=>wke,{[T5]:i5}]],Mke=[9,$,NTe,{[p5]:[`DELETE`,`/{Key+}?x-id=AbortMultipartUpload`,204]},()=>qOe,()=>KOe],Nke=[9,$,n8,{[p5]:[`POST`,`/{Key+}`,200]},()=>eke,()=>$Oe],Pke=[9,$,WTe,{[p5]:[`PUT`,`/`,200]},()=>rke,()=>nke],Fke=[9,$,eEe,{[p5]:[`POST`,`/{Key+}?uploads`,200]},()=>ake,()=>ike],Ike=[9,$,fEe,{[p5]:[`GET`,`/?session`,200]},()=>ske,()=>oke],Lke=[9,$,_Ee,{[p5]:[`DELETE`,`/{Key+}?x-id=DeleteObject`,204]},()=>lke,()=>cke],Rke=[9,$,xEe,{[m5]:`-`,[p5]:[`GET`,`/{Key+}?x-id=GetObject`,200]},()=>dke,()=>uke],zke=[9,$,HEe,{[p5]:[`GET`,`/?x-id=ListBuckets`,200]},()=>pke,()=>fke],Bke=[9,$,YEe,{[p5]:[`GET`,`/?list-type=2`,200]},()=>hke,()=>mke],Vke=[9,$,gDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?x-id=PutObject`,200]},()=>yke,()=>vke],Hke=[9,$,yDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?tagging`,200]},()=>xke,()=>bke],Uke=[9,$,BDe,{[m5]:`-`,[p5]:[`PUT`,`/{Key+}?x-id=UploadPart`,200]},()=>Dke,()=>Eke],Wke=class extends OD.classBuilder().ep({...O6,DisableS3ExpressSessionAuth:{type:`staticContextParams`,value:!0},Bucket:{type:`contextParams`,name:`Bucket`}}).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`CreateSession`,{}).n(`S3Client`,`CreateSessionCommand`).sc(Ike).build(){},Gke={name:`@aws-sdk/client-s3`,description:`AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native`,version:`3.1045.0`,scripts:{build:`concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs`,"build:cjs":`node ../../scripts/compilation/inline client-s3`,"build:es":`tsc -p tsconfig.es.json`,"build:include:deps":`yarn g:turbo run build -F="$npm_package_name"`,"build:types":`tsc -p tsconfig.types.json`,"build:types:downlevel":`downlevel-dts dist-types dist-types/ts3.4`,clean:`premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo`,"extract:docs":`api-extractor run --local`,"generate:client":`node ../../scripts/generate-clients/single-service --solo s3`,test:`yarn g:vitest run`,"test:browser":`node ./test/browser-build/esbuild && yarn g:vitest run -c vitest.config.browser.mts`,"test:browser:watch":`node ./test/browser-build/esbuild && yarn g:vitest watch -c vitest.config.browser.mts`,"test:e2e":`yarn g:vitest run -c vitest.config.e2e.mts && yarn test:browser`,"test:e2e:watch":`yarn g:vitest watch -c vitest.config.e2e.mts`,"test:index":`tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs`,"test:integration":`yarn g:vitest run -c vitest.config.integ.mts`,"test:integration:watch":`yarn g:vitest watch -c vitest.config.integ.mts`,"test:watch":`yarn g:vitest watch`},main:`./dist-cjs/index.js`,types:`./dist-types/index.d.ts`,module:`./dist-es/index.js`,sideEffects:!1,dependencies:{"@aws-crypto/sha1-browser":`5.2.0`,"@aws-crypto/sha256-browser":`5.2.0`,"@aws-crypto/sha256-js":`5.2.0`,"@aws-sdk/core":`^3.974.8`,"@aws-sdk/credential-provider-node":`^3.972.39`,"@aws-sdk/middleware-bucket-endpoint":`^3.972.10`,"@aws-sdk/middleware-expect-continue":`^3.972.10`,"@aws-sdk/middleware-flexible-checksums":`^3.974.16`,"@aws-sdk/middleware-host-header":`^3.972.10`,"@aws-sdk/middleware-location-constraint":`^3.972.10`,"@aws-sdk/middleware-logger":`^3.972.10`,"@aws-sdk/middleware-recursion-detection":`^3.972.11`,"@aws-sdk/middleware-sdk-s3":`^3.972.37`,"@aws-sdk/middleware-ssec":`^3.972.10`,"@aws-sdk/middleware-user-agent":`^3.972.38`,"@aws-sdk/region-config-resolver":`^3.972.13`,"@aws-sdk/signature-v4-multi-region":`^3.996.25`,"@aws-sdk/types":`^3.973.8`,"@aws-sdk/util-endpoints":`^3.996.8`,"@aws-sdk/util-user-agent-browser":`^3.972.10`,"@aws-sdk/util-user-agent-node":`^3.973.24`,"@smithy/config-resolver":`^4.4.17`,"@smithy/core":`^3.23.17`,"@smithy/eventstream-serde-browser":`^4.2.14`,"@smithy/eventstream-serde-config-resolver":`^4.3.14`,"@smithy/eventstream-serde-node":`^4.2.14`,"@smithy/fetch-http-handler":`^5.3.17`,"@smithy/hash-blob-browser":`^4.2.15`,"@smithy/hash-node":`^4.2.14`,"@smithy/hash-stream-node":`^4.2.14`,"@smithy/invalid-dependency":`^4.2.14`,"@smithy/md5-js":`^4.2.14`,"@smithy/middleware-content-length":`^4.2.14`,"@smithy/middleware-endpoint":`^4.4.32`,"@smithy/middleware-retry":`^4.5.7`,"@smithy/middleware-serde":`^4.2.20`,"@smithy/middleware-stack":`^4.2.14`,"@smithy/node-config-provider":`^4.3.14`,"@smithy/node-http-handler":`^4.6.1`,"@smithy/protocol-http":`^5.3.14`,"@smithy/smithy-client":`^4.12.13`,"@smithy/types":`^4.14.1`,"@smithy/url-parser":`^4.2.14`,"@smithy/util-base64":`^4.3.2`,"@smithy/util-body-length-browser":`^4.2.2`,"@smithy/util-body-length-node":`^4.2.3`,"@smithy/util-defaults-mode-browser":`^4.3.49`,"@smithy/util-defaults-mode-node":`^4.2.54`,"@smithy/util-endpoints":`^3.4.2`,"@smithy/util-middleware":`^4.2.14`,"@smithy/util-retry":`^4.3.6`,"@smithy/util-stream":`^4.5.25`,"@smithy/util-utf8":`^4.2.2`,"@smithy/util-waiter":`^4.3.0`,tslib:`^2.6.2`},devDependencies:{"@aws-sdk/signature-v4-crt":`3.1045.0`,"@smithy/snapshot-testing":`^2.0.8`,"@tsconfig/node20":`20.1.8`,"@types/node":`^20.14.8`,concurrently:`7.0.0`,"downlevel-dts":`0.10.1`,premove:`4.0.0`,typescript:`~5.8.3`,vitest:`^4.0.17`},engines:{node:`>=20.0.0`},typesVersions:{"<4.5":{"dist-types/*":[`dist-types/ts3.4/*`]}},files:[`dist-*/**`],author:{name:`AWS SDK for JavaScript Team`,url:`https://aws.amazon.com/javascript/`},license:`Apache-2.0`,browser:{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.browser`},"react-native":{"./dist-es/runtimeConfig":`./dist-es/runtimeConfig.native`},homepage:`https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3`,repository:{type:`git`,url:`https://github.com/aws/aws-sdk-js-v3.git`,directory:`clients/client-s3`}};function y7(e){return typeof e==`string`?e.length===0:e.byteLength===0}var b7={name:`SHA-1`},x7={name:`HMAC`,hash:b7},Kke=new Uint8Array([218,57,163,238,94,107,75,13,50,85,191,239,149,96,24,144,175,216,7,9]),qke=function(){function e(e){this.toHash=new Uint8Array,e!==void 0&&(this.key=new Promise(function(t,n){Tx().crypto.subtle.importKey(`raw`,S7(e),x7,!1,[`sign`]).then(t,n)}),this.key.catch(function(){}))}return e.prototype.update=function(e){if(!y7(e)){var t=S7(e),n=new Uint8Array(this.toHash.byteLength+t.byteLength);n.set(this.toHash,0),n.set(t,this.toHash.byteLength),this.toHash=n}},e.prototype.digest=function(){var e=this;return this.key?this.key.then(function(t){return Tx().crypto.subtle.sign(x7,t,e.toHash).then(function(e){return new Uint8Array(e)})}):y7(this.toHash)?Promise.resolve(Kke):Promise.resolve().then(function(){return Tx().crypto.subtle.digest(b7,e.toHash)}).then(function(e){return Promise.resolve(new Uint8Array(e))})},e.prototype.reset=function(){this.toHash=new Uint8Array},e}();function S7(e){return typeof e==`string`?hx(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var Jke=function(){function e(e){if(Lx(Tx()))this.hash=new qke(e);else throw Error(`SHA1 not supported`)}return e.prototype.update=function(e,t){this.hash.update(_x(e))},e.prototype.digest=function(){return this.hash.digest()},e.prototype.reset=function(){this.hash.reset()},e}(),C7=class e{bytes;constructor(e){if(this.bytes=e,e.byteLength!==8)throw Error(`Int64 buffers must be exactly 8 bytes`)}static fromNumber(t){if(t>0x8000000000000000||t<-0x8000000000000000)throw Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);let n=new Uint8Array(8);for(let e=7,r=Math.abs(Math.round(t));e>-1&&r>0;e--,r/=256)n[e]=r;return t<0&&w7(n),new e(n)}valueOf(){let e=this.bytes.slice(0),t=e[0]&128;return t&&w7(e),parseInt(Qx(e),16)*(t?-1:1)}toString(){return String(this.valueOf())}};function w7(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}var Yke=class{toUtf8;fromUtf8;constructor(e,t){this.toUtf8=e,this.fromUtf8=t}format(e){let t=[];for(let n of Object.keys(e)){let r=this.fromUtf8(n);t.push(Uint8Array.from([r.byteLength]),r,this.formatHeaderValue(e[n]))}let n=new Uint8Array(t.reduce((e,t)=>e+t.byteLength,0)),r=0;for(let e of t)n.set(e,r),r+=e.byteLength;return n}formatHeaderValue(e){switch(e.type){case`boolean`:return Uint8Array.from([+!e.value]);case`byte`:return Uint8Array.from([2,e.value]);case`short`:let t=new DataView(new ArrayBuffer(3));return t.setUint8(0,3),t.setInt16(1,e.value,!1),new Uint8Array(t.buffer);case`integer`:let n=new DataView(new ArrayBuffer(5));return n.setUint8(0,4),n.setInt32(1,e.value,!1),new Uint8Array(n.buffer);case`long`:let r=new Uint8Array(9);return r[0]=5,r.set(e.value.bytes,1),r;case`binary`:let i=new DataView(new ArrayBuffer(3+e.value.byteLength));i.setUint8(0,6),i.setUint16(1,e.value.byteLength,!1);let a=new Uint8Array(i.buffer);return a.set(e.value,3),a;case`string`:let o=this.fromUtf8(e.value),s=new DataView(new ArrayBuffer(3+o.byteLength));s.setUint8(0,7),s.setUint16(1,o.byteLength,!1);let c=new Uint8Array(s.buffer);return c.set(o,3),c;case`timestamp`:let l=new Uint8Array(9);return l[0]=8,l.set(C7.fromNumber(e.value.valueOf()).bytes,1),l;case`uuid`:if(!aAe.test(e.value))throw Error(`Invalid UUID received: ${e.value}`);let u=new Uint8Array(17);return u[0]=9,u.set(Zx(e.value.replace(/\-/g,``)),1),u}}parse(e){let t={},n=0;for(;n{if(typeof e!=`number`)throw Error(`Attempted to allocate an event message where size was not a number: `+e);t=e,n=4,r=new Uint8Array(e),new DataView(r.buffer).setUint32(0,e,!1)},o=async function*(){let o=e[Symbol.asyncIterator]();for(;;){let{value:e,done:s}=await o.next();if(s){if(!t)return;if(t===n)yield r;else throw Error(`Truncated event message received.`);return}let c=e.length,l=0;for(;l({[Symbol.asyncIterator]:async function*(){let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)return;yield n}}finally{t.releaseLock()}}}),_Ae=e=>{let t=e[Symbol.asyncIterator]();return new ReadableStream({async pull(e){let{done:n,value:r}=await t.next();if(n)return e.close();e.enqueue(r)}})},vAe=class{universalMarshaller;constructor({utf8Encoder:e,utf8Decoder:t}){this.universalMarshaller=new hAe({utf8Decoder:t,utf8Encoder:e})}deserialize(e,t){let n=yAe(e)?gAe(e):e;return this.universalMarshaller.deserialize(n,t)}serialize(e,t){let n=this.universalMarshaller.serialize(e,t);return typeof ReadableStream==`function`?_Ae(n):n}},yAe=e=>typeof ReadableStream==`function`&&e instanceof ReadableStream,bAe=e=>new vAe(e);async function xAe(e,t,n=1024*1024){let r=e.size,i=0;for(;i{n.update(e)}),n.digest()},CAe=[1732584193,4023233417,2562383102,271733878],wAe=class{state;buffer;bufferLength;bytesHashed;finished;constructor(){this.reset()}update(e){if(TAe(e))return;if(this.finished)throw Error(`Attempted to update an already finished hash.`);let t=EAe(e),n=0,{byteLength:r}=t;for(this.bytesHashed+=r;r>0;)this.buffer.setUint8(this.bufferLength++,t[n++]),r--,this.bufferLength===64&&(this.hashBuffer(),this.bufferLength=0)}async digest(){if(!this.finished){let{buffer:e,bufferLength:t,bytesHashed:n}=this,r=n*8;if(e.setUint8(this.bufferLength++,128),t%64>=56){for(let t=this.bufferLength;t<64;t++)e.setUint8(t,0);this.hashBuffer(),this.bufferLength=0}for(let t=this.bufferLength;t<56;t++)e.setUint8(t,0);e.setUint32(56,r>>>0,!0),e.setUint32(60,Math.floor(r/4294967296),!0),this.hashBuffer(),this.finished=!0}let e=new DataView(new ArrayBuffer(16));for(let t=0;t<4;t++)e.setUint32(t*4,this.state[t],!0);return new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}hashBuffer(){let{buffer:e,state:t}=this,n=t[0],r=t[1],i=t[2],a=t[3];n=A7(n,r,i,a,e.getUint32(0,!0),7,3614090360),a=A7(a,n,r,i,e.getUint32(4,!0),12,3905402710),i=A7(i,a,n,r,e.getUint32(8,!0),17,606105819),r=A7(r,i,a,n,e.getUint32(12,!0),22,3250441966),n=A7(n,r,i,a,e.getUint32(16,!0),7,4118548399),a=A7(a,n,r,i,e.getUint32(20,!0),12,1200080426),i=A7(i,a,n,r,e.getUint32(24,!0),17,2821735955),r=A7(r,i,a,n,e.getUint32(28,!0),22,4249261313),n=A7(n,r,i,a,e.getUint32(32,!0),7,1770035416),a=A7(a,n,r,i,e.getUint32(36,!0),12,2336552879),i=A7(i,a,n,r,e.getUint32(40,!0),17,4294925233),r=A7(r,i,a,n,e.getUint32(44,!0),22,2304563134),n=A7(n,r,i,a,e.getUint32(48,!0),7,1804603682),a=A7(a,n,r,i,e.getUint32(52,!0),12,4254626195),i=A7(i,a,n,r,e.getUint32(56,!0),17,2792965006),r=A7(r,i,a,n,e.getUint32(60,!0),22,1236535329),n=j7(n,r,i,a,e.getUint32(4,!0),5,4129170786),a=j7(a,n,r,i,e.getUint32(24,!0),9,3225465664),i=j7(i,a,n,r,e.getUint32(44,!0),14,643717713),r=j7(r,i,a,n,e.getUint32(0,!0),20,3921069994),n=j7(n,r,i,a,e.getUint32(20,!0),5,3593408605),a=j7(a,n,r,i,e.getUint32(40,!0),9,38016083),i=j7(i,a,n,r,e.getUint32(60,!0),14,3634488961),r=j7(r,i,a,n,e.getUint32(16,!0),20,3889429448),n=j7(n,r,i,a,e.getUint32(36,!0),5,568446438),a=j7(a,n,r,i,e.getUint32(56,!0),9,3275163606),i=j7(i,a,n,r,e.getUint32(12,!0),14,4107603335),r=j7(r,i,a,n,e.getUint32(32,!0),20,1163531501),n=j7(n,r,i,a,e.getUint32(52,!0),5,2850285829),a=j7(a,n,r,i,e.getUint32(8,!0),9,4243563512),i=j7(i,a,n,r,e.getUint32(28,!0),14,1735328473),r=j7(r,i,a,n,e.getUint32(48,!0),20,2368359562),n=M7(n,r,i,a,e.getUint32(20,!0),4,4294588738),a=M7(a,n,r,i,e.getUint32(32,!0),11,2272392833),i=M7(i,a,n,r,e.getUint32(44,!0),16,1839030562),r=M7(r,i,a,n,e.getUint32(56,!0),23,4259657740),n=M7(n,r,i,a,e.getUint32(4,!0),4,2763975236),a=M7(a,n,r,i,e.getUint32(16,!0),11,1272893353),i=M7(i,a,n,r,e.getUint32(28,!0),16,4139469664),r=M7(r,i,a,n,e.getUint32(40,!0),23,3200236656),n=M7(n,r,i,a,e.getUint32(52,!0),4,681279174),a=M7(a,n,r,i,e.getUint32(0,!0),11,3936430074),i=M7(i,a,n,r,e.getUint32(12,!0),16,3572445317),r=M7(r,i,a,n,e.getUint32(24,!0),23,76029189),n=M7(n,r,i,a,e.getUint32(36,!0),4,3654602809),a=M7(a,n,r,i,e.getUint32(48,!0),11,3873151461),i=M7(i,a,n,r,e.getUint32(60,!0),16,530742520),r=M7(r,i,a,n,e.getUint32(8,!0),23,3299628645),n=N7(n,r,i,a,e.getUint32(0,!0),6,4096336452),a=N7(a,n,r,i,e.getUint32(28,!0),10,1126891415),i=N7(i,a,n,r,e.getUint32(56,!0),15,2878612391),r=N7(r,i,a,n,e.getUint32(20,!0),21,4237533241),n=N7(n,r,i,a,e.getUint32(48,!0),6,1700485571),a=N7(a,n,r,i,e.getUint32(12,!0),10,2399980690),i=N7(i,a,n,r,e.getUint32(40,!0),15,4293915773),r=N7(r,i,a,n,e.getUint32(4,!0),21,2240044497),n=N7(n,r,i,a,e.getUint32(32,!0),6,1873313359),a=N7(a,n,r,i,e.getUint32(60,!0),10,4264355552),i=N7(i,a,n,r,e.getUint32(24,!0),15,2734768916),r=N7(r,i,a,n,e.getUint32(52,!0),21,1309151649),n=N7(n,r,i,a,e.getUint32(16,!0),6,4149444226),a=N7(a,n,r,i,e.getUint32(44,!0),10,3174756917),i=N7(i,a,n,r,e.getUint32(8,!0),15,718787259),r=N7(r,i,a,n,e.getUint32(36,!0),21,3951481745),t[0]=n+t[0]&4294967295,t[1]=r+t[1]&4294967295,t[2]=i+t[2]&4294967295,t[3]=a+t[3]&4294967295}reset(){this.state=Uint32Array.from(CAe),this.buffer=new DataView(new ArrayBuffer(64)),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}};function k7(e,t,n,r,i,a){return t=(t+e&4294967295)+(r+a&4294967295)&4294967295,(t<>>32-i)+n&4294967295}function A7(e,t,n,r,i,a,o){return k7(t&n|~t&r,e,t,i,a,o)}function j7(e,t,n,r,i,a,o){return k7(t&r|n&~r,e,t,i,a,o)}function M7(e,t,n,r,i,a,o){return k7(t^n^r,e,t,i,a,o)}function N7(e,t,n,r,i,a,o){return k7(n^(t|~r),e,t,i,a,o)}function TAe(e){return typeof e==`string`?e.length===0:e.byteLength===0}function EAe(e){return typeof e==`string`?$x(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}var DAe=e=>({apiVersion:`2006-03-01`,base64Decoder:e?.base64Decoder??DC,base64Encoder:e?.base64Encoder??OC,disableHostPrefix:e?.disableHostPrefix??!1,endpointProvider:e?.endpointProvider??T6,extensions:e?.extensions??[],getAwsChunkedEncodingStream:e?.getAwsChunkedEncodingStream??jC,httpAuthSchemeProvider:e?.httpAuthSchemeProvider??pTe,httpAuthSchemes:e?.httpAuthSchemes??[{schemeId:`aws.auth#sigv4`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4`),signer:new WD},{schemeId:`aws.auth#sigv4a`,identityProvider:e=>e.getIdentityProvider(`aws.auth#sigv4a`),signer:new qre}],logger:e?.logger??new ID,protocol:e?.protocol??aTe,protocolSettings:e?.protocolSettings??{defaultNamespace:`com.amazonaws.s3`,errorTypeRegistries:GOe,xmlNamespace:`http://s3.amazonaws.com/doc/2006-03-01/`,version:`2006-03-01`,serviceTarget:`AmazonS3`},sdkStreamMixin:e?.sdkStreamMixin??UC,serviceId:e?.serviceId??`S3`,signerConstructor:e?.signerConstructor??Q4,signingEscapePath:e?.signingEscapePath??!1,urlParser:e?.urlParser??QC,useArnRegion:e?.useArnRegion??void 0,utf8Decoder:e?.utf8Decoder??$x,utf8Encoder:e?.utf8Encoder??tS}),OAe=e=>{let t=QD(e),n=()=>t().then(jD),r=DAe(e);return{...r,...e,runtime:`browser`,defaultsMode:t,bodyLengthChecker:e?.bodyLengthChecker??ZD,credentialDefaultProvider:e?.credentialDefaultProvider??(e=>()=>Promise.reject(Error(`Credential is missing`))),defaultUserAgentProvider:e?.defaultUserAgentProvider??qD({serviceId:r.serviceId,clientVersion:Gke.version}),eventStreamSerdeProvider:e?.eventStreamSerdeProvider??bAe,maxAttempts:e?.maxAttempts??3,md5:e?.md5??wAe,region:e?.region??YD(`Region is missing`),requestHandler:IC.create(e?.requestHandler??n),retryMode:e?.retryMode??(async()=>(await n()).retryMode||DE),sha1:e?.sha1??Jke,sha256:e?.sha256??Bx,streamCollector:e?.streamCollector??RC,streamHasher:e?.streamHasher??SAe,useDualstackEndpoint:e?.useDualstackEndpoint??(()=>Promise.resolve(!1)),useFipsEndpoint:e?.useFipsEndpoint??(()=>Promise.resolve(!1))}},kAe=e=>{let t=e.httpAuthSchemes,n=e.httpAuthSchemeProvider,r=e.credentials;return{setHttpAuthScheme(e){let n=t.findIndex(t=>t.schemeId===e.schemeId);n===-1?t.push(e):t.splice(n,1,e)},httpAuthSchemes(){return t},setHttpAuthSchemeProvider(e){n=e},httpAuthSchemeProvider(){return n},setCredentials(e){r=e},credentials(){return r}}},AAe=e=>({httpAuthSchemes:e.httpAuthSchemes(),httpAuthSchemeProvider:e.httpAuthSchemeProvider(),credentials:e.credentials()}),jAe=(e,t)=>{let n=Object.assign(O1(e),ND(e),Vx(e),kAe(e));return t.forEach(e=>e.configure(n)),Object.assign(e,k1(n),PD(n),Hx(n),AAe(n))},MAe=class extends TD{config;constructor(...[e]){let t=OAe(e||{});super(t),this.initConfig=t;let n=jAe(qwe(mTe(oTe(vD(rC(uD(yD(kwe(FT(hTe(t))))))))),{session:[()=>this,Wke]}),e?.extensions||[]);this.config=n,this.middlewareStack.use(rw(this.config)),this.middlewareStack.use(sD(this.config)),this.middlewareStack.use(RD(this.config)),this.middlewareStack.use(fD(this.config)),this.middlewareStack.use(oC(this.config)),this.middlewareStack.use(lC(this.config)),this.middlewareStack.use(fC(this.config)),this.middlewareStack.use(_C(this.config,{httpAuthSchemeParametersProvider:fTe,identityProviderConfigProvider:async e=>new AT({"aws.auth#sigv4":e.credentials,"aws.auth#sigv4a":e.credentials})})),this.middlewareStack.use(SC(this.config)),this.middlewareStack.use(iTe(this.config)),this.middlewareStack.use(xwe(this.config)),this.middlewareStack.use(Pwe(this.config)),this.middlewareStack.use(Vwe(this.config)),this.middlewareStack.use(Kwe(this.config))}destroy(){super.destroy()}},NAe=class extends OD.classBuilder().ep(O6).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`ListBuckets`,{}).n(`S3Client`,`ListBucketsCommand`).sc(zke).build(){},PAe=class extends OD.classBuilder().ep({...O6,Bucket:{type:`contextParams`,name:`Bucket`},Prefix:{type:`contextParams`,name:`Prefix`}}).m(function(e,t,n,r){return[_D(n,e.getEndpointParameterInstructions()),X4(n)]}).s(`AmazonS3`,`ListObjectsV2`,{}).n(`S3Client`,`ListObjectsV2Command`).sc(Bke).build(){},P7=`ap-southeast-2`,F7=`${window.location.protocol}//localhost:9999`,FAe=`${window.location.protocol}//localhost:8443`,I7=null,L7=null,R7=null,z7=null;function B7(){if(!I7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);I7=new Vde({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),I7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return I7}function V7(){if(!L7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);L7=new Eye({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),L7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return L7}function H7(){if(!R7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);R7=new dwe({endpoint:F7,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey}}),R7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/awsgw${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return R7}function U7(){if(!z7){let e=fx();if(!e)throw Error(`AWS credentials not configured`);z7=new MAe({endpoint:FAe,region:P7,credentials:{accessKeyId:e.accessKeyId,secretAccessKey:e.secretAccessKey},forcePathStyle:!0}),z7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&t.request.path.endsWith(`/`)&&t.request.path!==`/`&&(t.request.path=t.request.path.slice(0,-1)),await e(t)),{step:`build`,name:`removeTrailingSlash`}),z7.middlewareStack.add(e=>async t=>(Kx.isInstance(t.request)&&(t.request.hostname=window.location.hostname,t.request.port=Number(window.location.port)||443,t.request.path=`/proxy/s3${t.request.path}`),await e(t)),{step:`finalizeRequest`,name:`proxyRewrite`,override:!0})}return z7}function W7(){I7=null,L7=null,R7=null,z7=null}function G7(){let e=(0,fa.c)(144),t;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t={select:IAe},e[0]=t):t=e[0];let n=$i(t),r=fi(),i=Fe(),{isAdmin:a}=$S(),o;e[1]!==r||e[2]!==i?(o=function(){mx(),W7(),i.clear(),r({to:`/login`})},e[1]=r,e[2]=i,e[3]=o):o=e[3];let s=o,c;e[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsxs)(Kg,{className:`flex flex-row items-center gap-2 px-4 py-3`,children:[(0,F.jsx)(`img`,{src:`/mulga-logo.svg`,alt:`Mulga`,className:`size-6 shrink-0 dark:invert`}),(0,F.jsx)(`span`,{className:`truncate text-sm font-semibold group-data-[collapsible=icon]:hidden`,children:`Spinifex`})]}),e[4]=c):c=e[4];let l;e[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(Zg,{children:`General`}),e[5]=l):l=e[5];let u=n===`/`,d,f;e[6]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,F.jsx)(Do,{className:`size-4`}),f=(0,F.jsx)(`span`,{children:`Dashboard`}),e[6]=d,e[7]=f):(d=e[6],f=e[7]);let p;e[8]===u?p=e[9]:(p=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/`,children:(0,F.jsxs)(t_,{isActive:u,tooltip:`Dashboard`,children:[d,f]})})}),e[8]=u,e[9]=p);let m;e[10]!==a||e[11]!==n?(m=a&&(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/nodes`,children:(0,F.jsxs)(t_,{isActive:n.startsWith(`/nodes`),tooltip:`Nodes`,children:[(0,F.jsx)(Io,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Nodes`})]})})}),e[10]=a,e[11]=n,e[12]=m):m=e[12];let h;e[13]!==p||e[14]!==m?(h=(0,F.jsxs)(Xg,{children:[l,(0,F.jsxs)(Qg,{children:[p,m]})]}),e[13]=p,e[14]=m,e[15]=h):h=e[15];let g;e[16]===Symbol.for(`react.memo_cache_sentinel`)?(g=(0,F.jsx)(Zg,{children:`EC2`}),e[16]=g):g=e[16];let _;e[17]===n?_=e[18]:(_=n.startsWith(`/ec2/describe-instances`)||n.startsWith(`/ec2/run-instances`),e[17]=n,e[18]=_);let v,y;e[19]===Symbol.for(`react.memo_cache_sentinel`)?(v=(0,F.jsx)(Io,{className:`size-4`}),y=(0,F.jsx)(`span`,{children:`Instances`}),e[19]=v,e[20]=y):(v=e[19],y=e[20]);let b;e[21]===_?b=e[22]:(b=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-instances`,children:(0,F.jsxs)(t_,{isActive:_,tooltip:`Instances`,children:[v,y]})})}),e[21]=_,e[22]=b);let x;e[23]===n?x=e[24]:(x=n.startsWith(`/ec2/describe-images`),e[23]=n,e[24]=x);let S,C;e[25]===Symbol.for(`react.memo_cache_sentinel`)?(S=(0,F.jsx)(Oo,{className:`size-4`}),C=(0,F.jsx)(`span`,{children:`Images`}),e[25]=S,e[26]=C):(S=e[25],C=e[26]);let w;e[27]===x?w=e[28]:(w=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-images`,children:(0,F.jsxs)(t_,{isActive:x,tooltip:`Images`,children:[S,C]})})}),e[27]=x,e[28]=w);let T;e[29]===n?T=e[30]:(T=n.startsWith(`/ec2/describe-key-pairs`),e[29]=n,e[30]=T);let E,ee;e[31]===Symbol.for(`react.memo_cache_sentinel`)?(E=(0,F.jsx)(ko,{className:`size-4`}),ee=(0,F.jsx)(`span`,{children:`Key Pairs`}),e[31]=E,e[32]=ee):(E=e[31],ee=e[32]);let D;e[33]===T?D=e[34]:(D=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-key-pairs`,children:(0,F.jsxs)(t_,{isActive:T,tooltip:`Key Pairs`,children:[E,ee]})})}),e[33]=T,e[34]=D);let O;e[35]===n?O=e[36]:(O=n.startsWith(`/ec2/describe-volumes`)||n.startsWith(`/ec2/create-volume`)||n.startsWith(`/ec2/modify-volume`),e[35]=n,e[36]=O);let te,ne;e[37]===Symbol.for(`react.memo_cache_sentinel`)?(te=(0,F.jsx)(Eo,{className:`size-4`}),ne=(0,F.jsx)(`span`,{children:`Volumes`}),e[37]=te,e[38]=ne):(te=e[37],ne=e[38]);let re;e[39]===O?re=e[40]:(re=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-volumes`,children:(0,F.jsxs)(t_,{isActive:O,tooltip:`Volumes`,children:[te,ne]})})}),e[39]=O,e[40]=re);let k;e[41]===n?k=e[42]:(k=n.startsWith(`/ec2/describe-snapshots`)||n.startsWith(`/ec2/create-snapshot`),e[41]=n,e[42]=k);let A,ie;e[43]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,F.jsx)(Co,{className:`size-4`}),ie=(0,F.jsx)(`span`,{children:`Snapshots`}),e[43]=A,e[44]=ie):(A=e[43],ie=e[44]);let j;e[45]===k?j=e[46]:(j=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-snapshots`,children:(0,F.jsxs)(t_,{isActive:k,tooltip:`Snapshots`,children:[A,ie]})})}),e[45]=k,e[46]=j);let ae;e[47]===n?ae=e[48]:(ae=n.startsWith(`/ec2/describe-placement-groups`)||n.startsWith(`/ec2/create-placement-group`),e[47]=n,e[48]=ae);let oe,se;e[49]===Symbol.for(`react.memo_cache_sentinel`)?(oe=(0,F.jsx)(Ao,{className:`size-4`}),se=(0,F.jsx)(`span`,{children:`Placement Groups`}),e[49]=oe,e[50]=se):(oe=e[49],se=e[50]);let ce;e[51]===ae?ce=e[52]:(ce=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-placement-groups`,children:(0,F.jsxs)(t_,{isActive:ae,tooltip:`Placement Groups`,children:[oe,se]})})}),e[51]=ae,e[52]=ce);let M;e[53]===n?M=e[54]:(M=n.startsWith(`/ec2/describe-load-balancers`)||n.startsWith(`/ec2/create-load-balancer`),e[53]=n,e[54]=M);let le,ue;e[55]===Symbol.for(`react.memo_cache_sentinel`)?(le=(0,F.jsx)(Vo,{className:`size-4`}),ue=(0,F.jsx)(`span`,{children:`Load Balancers`}),e[55]=le,e[56]=ue):(le=e[55],ue=e[56]);let N;e[57]===M?N=e[58]:(N=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-load-balancers`,children:(0,F.jsxs)(t_,{isActive:M,tooltip:`Load Balancers`,children:[le,ue]})})}),e[57]=M,e[58]=N);let de;e[59]===n?de=e[60]:(de=n.startsWith(`/ec2/describe-target-groups`)||n.startsWith(`/ec2/create-target-group`),e[59]=n,e[60]=de);let fe,pe;e[61]===Symbol.for(`react.memo_cache_sentinel`)?(fe=(0,F.jsx)(To,{className:`size-4`}),pe=(0,F.jsx)(`span`,{children:`Target Groups`}),e[61]=fe,e[62]=pe):(fe=e[61],pe=e[62]);let me;e[63]===de?me=e[64]:(me=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-target-groups`,children:(0,F.jsxs)(t_,{isActive:de,tooltip:`Target Groups`,children:[fe,pe]})})}),e[63]=de,e[64]=me);let he;e[65]!==b||e[66]!==w||e[67]!==D||e[68]!==re||e[69]!==j||e[70]!==ce||e[71]!==N||e[72]!==me?(he=(0,F.jsxs)(Xg,{children:[g,(0,F.jsxs)(Qg,{children:[b,w,D,re,j,ce,N,me]})]}),e[65]=b,e[66]=w,e[67]=D,e[68]=re,e[69]=j,e[70]=ce,e[71]=N,e[72]=me,e[73]=he):he=e[73];let ge;e[74]===Symbol.for(`react.memo_cache_sentinel`)?(ge=(0,F.jsx)(Zg,{children:`Networking`}),e[74]=ge):ge=e[74];let _e;e[75]===n?_e=e[76]:(_e=n.startsWith(`/ec2/describe-vpcs`)||n.startsWith(`/ec2/create-vpc`),e[75]=n,e[76]=_e);let ve,ye;e[77]===Symbol.for(`react.memo_cache_sentinel`)?(ve=(0,F.jsx)(Po,{className:`size-4`}),ye=(0,F.jsx)(`span`,{children:`VPCs`}),e[77]=ve,e[78]=ye):(ve=e[77],ye=e[78]);let be;e[79]===_e?be=e[80]:(be=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-vpcs`,children:(0,F.jsxs)(t_,{isActive:_e,tooltip:`VPCs`,children:[ve,ye]})})}),e[79]=_e,e[80]=be);let xe;e[81]===n?xe=e[82]:(xe=n.startsWith(`/ec2/describe-subnets`)||n.startsWith(`/ec2/create-subnet`),e[81]=n,e[82]=xe);let Se,Ce;e[83]===Symbol.for(`react.memo_cache_sentinel`)?(Se=(0,F.jsx)(jo,{className:`size-4`}),Ce=(0,F.jsx)(`span`,{children:`Subnets`}),e[83]=Se,e[84]=Ce):(Se=e[83],Ce=e[84]);let we;e[85]===xe?we=e[86]:(we=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-subnets`,children:(0,F.jsxs)(t_,{isActive:xe,tooltip:`Subnets`,children:[Se,Ce]})})}),e[85]=xe,e[86]=we);let Te;e[87]===n?Te=e[88]:(Te=n.startsWith(`/ec2/describe-security-groups`)||n.startsWith(`/ec2/create-security-group`),e[87]=n,e[88]=Te);let Ee,De;e[89]===Symbol.for(`react.memo_cache_sentinel`)?(Ee=(0,F.jsx)(Lo,{className:`size-4`}),De=(0,F.jsx)(`span`,{children:`Security Groups`}),e[89]=Ee,e[90]=De):(Ee=e[89],De=e[90]);let Oe;e[91]===Te?Oe=e[92]:(Oe=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/ec2/describe-security-groups`,children:(0,F.jsxs)(t_,{isActive:Te,tooltip:`Security Groups`,children:[Ee,De]})})}),e[91]=Te,e[92]=Oe);let ke;e[93]!==be||e[94]!==we||e[95]!==Oe?(ke=(0,F.jsxs)(Xg,{children:[ge,(0,F.jsxs)(Qg,{children:[be,we,Oe]})]}),e[93]=be,e[94]=we,e[95]=Oe,e[96]=ke):ke=e[96];let Ae;e[97]===Symbol.for(`react.memo_cache_sentinel`)?(Ae=(0,F.jsx)(Zg,{children:`IAM`}),e[97]=Ae):Ae=e[97];let je;e[98]===n?je=e[99]:(je=n.startsWith(`/iam/list-users`)||n.startsWith(`/iam/create-user`),e[98]=n,e[99]=je);let Me,Ne;e[100]===Symbol.for(`react.memo_cache_sentinel`)?(Me=(0,F.jsx)(Bo,{className:`size-4`}),Ne=(0,F.jsx)(`span`,{children:`Users`}),e[100]=Me,e[101]=Ne):(Me=e[100],Ne=e[101]);let P;e[102]===je?P=e[103]:(P=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/iam/list-users`,children:(0,F.jsxs)(t_,{isActive:je,tooltip:`Users`,children:[Me,Ne]})})}),e[102]=je,e[103]=P);let Pe;e[104]===n?Pe=e[105]:(Pe=n.startsWith(`/iam/list-policies`)||n.startsWith(`/iam/create-policy`),e[104]=n,e[105]=Pe);let Ie,Le;e[106]===Symbol.for(`react.memo_cache_sentinel`)?(Ie=(0,F.jsx)(Ro,{className:`size-4`}),Le=(0,F.jsx)(`span`,{children:`Policies`}),e[106]=Ie,e[107]=Le):(Ie=e[106],Le=e[107]);let Re;e[108]===Pe?Re=e[109]:(Re=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/iam/list-policies`,children:(0,F.jsxs)(t_,{isActive:Pe,tooltip:`Policies`,children:[Ie,Le]})})}),e[108]=Pe,e[109]=Re);let ze;e[110]!==P||e[111]!==Re?(ze=(0,F.jsxs)(Xg,{children:[Ae,(0,F.jsxs)(Qg,{children:[P,Re]})]}),e[110]=P,e[111]=Re,e[112]=ze):ze=e[112];let Be;e[113]===Symbol.for(`react.memo_cache_sentinel`)?(Be=(0,F.jsx)(Zg,{children:`S3`}),e[113]=Be):Be=e[113];let Ve;e[114]===n?Ve=e[115]:(Ve=n.startsWith(`/s3/ls`),e[114]=n,e[115]=Ve);let He,Ue;e[116]===Symbol.for(`react.memo_cache_sentinel`)?(He=(0,F.jsx)(Io,{className:`size-4`}),Ue=(0,F.jsx)(`span`,{children:`Buckets`}),e[116]=He,e[117]=Ue):(He=e[116],Ue=e[117]);let We;e[118]===Ve?We=e[119]:(We=(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/s3/ls`,children:(0,F.jsxs)(t_,{isActive:Ve,tooltip:`Buckets`,children:[He,Ue]})})}),e[118]=Ve,e[119]=We);let Ge;e[120]!==a||e[121]!==n?(Ge=a&&(0,F.jsx)($g,{children:(0,F.jsx)(Oi,{to:`/s3/service-metrics`,children:(0,F.jsxs)(t_,{isActive:n.startsWith(`/s3/service-metrics`),tooltip:`Service Metrics`,children:[(0,F.jsx)(xo,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Service Metrics`})]})})}),e[120]=a,e[121]=n,e[122]=Ge):Ge=e[122];let Ke;e[123]!==We||e[124]!==Ge?(Ke=(0,F.jsxs)(Xg,{children:[Be,(0,F.jsxs)(Qg,{children:[We,Ge]})]}),e[123]=We,e[124]=Ge,e[125]=Ke):Ke=e[125];let qe;e[126]===a?qe=e[127]:(qe=a&&(0,F.jsxs)(Xg,{children:[(0,F.jsx)(Zg,{children:`Documentation`}),(0,F.jsx)(Qg,{children:(0,F.jsx)($g,{children:(0,F.jsx)(`a`,{href:`https://docs.mulgadc.com`,target:`_blank`,rel:`noopener noreferrer`,children:(0,F.jsxs)(t_,{tooltip:`Documentation`,children:[(0,F.jsx)(So,{className:`size-4`}),(0,F.jsx)(`span`,{children:`Docs`})]})})})})]}),e[126]=a,e[127]=qe);let Je;e[128]!==he||e[129]!==ke||e[130]!==ze||e[131]!==Ke||e[132]!==qe||e[133]!==h?(Je=(0,F.jsxs)(Yg,{children:[h,he,ke,ze,Ke,qe]}),e[128]=he,e[129]=ke,e[130]=ze,e[131]=Ke,e[132]=qe,e[133]=h,e[134]=Je):Je=e[134];let Ye;e[135]===Symbol.for(`react.memo_cache_sentinel`)?(Ye=(0,F.jsx)(Jg,{className:`mx-0 w-full`}),e[135]=Ye):Ye=e[135];let Xe,Ze;e[136]===Symbol.for(`react.memo_cache_sentinel`)?(Xe=(0,F.jsx)(Mo,{className:`size-4`}),Ze=(0,F.jsx)(`span`,{children:`Sign out`}),e[136]=Xe,e[137]=Ze):(Xe=e[136],Ze=e[137]);let Qe;e[138]===s?Qe=e[139]:(Qe=(0,F.jsxs)(qg,{children:[Ye,(0,F.jsx)(Qg,{children:(0,F.jsx)($g,{children:(0,F.jsxs)(t_,{onClick:s,tooltip:`Sign out`,children:[Xe,Ze]})})})]}),e[138]=s,e[139]=Qe);let $e;e[140]===Symbol.for(`react.memo_cache_sentinel`)?($e=(0,F.jsx)(Gg,{}),e[140]=$e):$e=e[140];let et;return e[141]!==Je||e[142]!==Qe?(et=(0,F.jsxs)(Ug,{collapsible:`icon`,children:[c,Je,Qe,$e]}),e[141]=Je,e[142]=Qe,e[143]=et):et=e[143],et}function IAe(e){return e.pathname}function LAe(e){let t=(0,fa.c)(18),{error:n,reset:r}=e,i=Mr(),a=Fe(),o;t[0]!==a||t[1]!==r||t[2]!==i?(o=function(){a.invalidateQueries(),r(),i.invalidate()},t[0]=a,t[1]=r,t[2]=i,t[3]=o):o=t[3];let s=o,c;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(c=(0,F.jsx)(G7,{}),t[4]=c):c=t[4];let l;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(l=(0,F.jsx)(tC,{}),t[5]=l):l=t[5];let u,d;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(u=(0,F.jsx)(`div`,{className:`flex justify-center`,children:(0,F.jsx)(wo,{className:`size-12 text-destructive`})}),d=(0,F.jsx)(`h1`,{className:`text-2xl font-semibold`,children:`Something went wrong`}),t[6]=u,t[7]=d):(u=t[6],d=t[7]);let f=n.message||`An unexpected error occurred`,p;t[8]===f?p=t[9]:(p=(0,F.jsx)(`p`,{className:`text-muted-foreground`,children:f}),t[8]=f,t[9]=p);let m;t[10]===s?m=t[11]:(m=(0,F.jsx)(fl,{onClick:s,variant:`default`,children:`Try Again`}),t[10]=s,t[11]=m);let h;t[12]===Symbol.for(`react.memo_cache_sentinel`)?(h=(0,F.jsx)(Oi,{to:`/`,children:(0,F.jsx)(fl,{variant:`outline`,children:`Go Home`})}),t[12]=h):h=t[12];let g;t[13]===m?g=t[14]:(g=(0,F.jsxs)(`div`,{className:`flex justify-center gap-2`,children:[m,h]}),t[13]=m,t[14]=g);let _;return t[15]!==g||t[16]!==p?(_=(0,F.jsxs)(F.Fragment,{children:[c,(0,F.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[l,(0,F.jsx)(`div`,{className:`flex flex-1 items-center justify-center p-6 pt-0`,children:(0,F.jsxs)(`div`,{className:`max-w-md space-y-4 text-center`,children:[u,d,p,g]})})]})]}),t[15]=g,t[16]=p,t[17]=_):_=t[17],_}var K7=Mi()({head:()=>({meta:[{title:`Mulga`}]}),component:()=>(0,F.jsxs)(F.Fragment,{children:[(0,F.jsx)(ia,{}),(0,F.jsx)(G7,{}),(0,F.jsxs)(`main`,{className:`flex flex-1 flex-col`,children:[(0,F.jsx)(tC,{}),(0,F.jsx)(`div`,{className:`flex flex-1 flex-col p-8`,children:(0,F.jsx)(Wi,{})})]})]}),errorComponent:LAe,notFoundComponent:nC}),RAe=I(`/login`)({beforeLoad:()=>{if(fx())throw bn({to:`/`})},component:L(()=>bT(()=>import(`./login.js`),__vite__mapDeps([0,1,2,3,4])),`component`)}),zAe=I(`/_auth`)({beforeLoad:()=>{if(!fx())throw bn({to:`/login`})},component:L(()=>bT(()=>import(`./route.js`),[]),`component`)}),q7=Le({queryKey:[`ec2`,`availabilityZones`],queryFn:async()=>{let e=new Hde({});return await B7().send(e)},staleTime:3e5}),J7=Le({queryKey:[`ec2`,`instances`],queryFn:async()=>{let e=new j1({});return await B7().send(e)},refetchInterval:5e3}),Y7=e=>Le({queryKey:[`ec2`,`instances`,e],queryFn:async()=>{let t=new j1({InstanceIds:[e]});return await B7().send(t)},refetchInterval:5e3}),X7=Le({queryKey:[`ec2`,`instances`,`types`],queryFn:async()=>{let e=new Ude({Filters:[{Name:`capacity`,Values:[`true`]}]});return await B7().send(e)},refetchInterval:5e3}),Z7=Le({queryKey:[`ec2`,`images`],queryFn:async()=>{let e=new A1({});return await B7().send(e)}}),Q7=e=>Le({queryKey:[`ec2`,`images`,e??`none`],queryFn:async()=>{if(!e)return{Images:[],$metadata:{}};let t=new A1({ImageIds:[e]});return await B7().send(t)}}),$7=Le({queryKey:[`ec2`,`keypairs`],queryFn:async()=>{let e=new M1({});return await B7().send(e)}}),e9=e=>Le({queryKey:[`ec2`,`keypairs`,e],queryFn:async()=>{let t=new M1({KeyPairIds:[e]});return await B7().send(t)}}),t9=Le({queryKey:[`ec2`,`regions`],queryFn:async()=>{let e=new Wde({});return await B7().send(e)},staleTime:3e5}),n9=Le({queryKey:[`ec2`,`subnets`],queryFn:async()=>{let e=new I1({});return await B7().send(e)}}),r9=e=>Le({queryKey:[`ec2`,`subnets`,e],queryFn:async()=>{let t=new I1({SubnetIds:[e]});return await B7().send(t)}}),i9=Le({queryKey:[`ec2`,`snapshots`],queryFn:async()=>{let e=new F1({});return await B7().send(e)},refetchInterval:5e3}),a9=e=>Le({queryKey:[`ec2`,`snapshots`,e],queryFn:async()=>{let t=new F1({SnapshotIds:[e]});return await B7().send(t)},refetchInterval:5e3}),o9=Le({queryKey:[`ec2`,`vpcs`],queryFn:async()=>{let e=new R1({});return await B7().send(e)}}),s9=e=>Le({queryKey:[`ec2`,`vpcs`,e],queryFn:async()=>{let t=new R1({VpcIds:[e]});return await B7().send(t)}}),c9=Le({queryKey:[`ec2`,`placementGroups`],queryFn:async()=>{let e=new N1({});return await B7().send(e)}}),l9=e=>Le({queryKey:[`ec2`,`placementGroups`,e],queryFn:async()=>{let t=new N1({GroupIds:[e]});return await B7().send(t)}}),u9=Le({queryKey:[`ec2`,`securityGroups`],queryFn:async()=>{let e=new P1({});return await B7().send(e)}}),d9=e=>Le({queryKey:[`ec2`,`securityGroups`,e],queryFn:async()=>{let t=new P1({GroupIds:[e]});return await B7().send(t)}}),f9=Le({queryKey:[`ec2`,`volumes`],queryFn:async()=>{let e=new L1({});return await B7().send(e)},refetchInterval:5e3}),p9=e=>Le({queryKey:[`ec2`,`volumes`,e],queryFn:async()=>{let t=new L1({VolumeIds:[e]});return await B7().send(t)},refetchInterval:5e3}),m9=Le({queryKey:[`s3`,`buckets`],queryFn:async()=>{let e=new NAe({});return await U7().send(e)}}),h9=(e,t)=>Le({queryKey:[`s3`,`buckets`,e,`objects`,t??``],queryFn:async()=>{let n=new PAe({Bucket:e,Prefix:t,Delimiter:`/`});return await U7().send(n)}}),BAe=I(`/_auth/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(J7),e.queryClient.ensureQueryData(f9),e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData($7),e.queryClient.ensureQueryData(m9),e.queryClient.ensureQueryData(u9)])},head:()=>({meta:[{title:`Dashboard | Mulga`}]}),component:L(()=>bT(()=>import(`./_auth.js`),__vite__mapDeps([5,6,7,8,9,10,11,12,3])),`component`)}),VAe=I(`/_auth/nodes`)({head:()=>({meta:[{title:`Nodes | Mulga`}]}),component:L(()=>bT(()=>import(`./nodes.js`),__vite__mapDeps([13,6,7,10,12,3])),`component`)}),HAe=I(`/_auth/s3/service-metrics`)({head:()=>({meta:[{title:`Service Metrics | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./service-metrics.js`),__vite__mapDeps([14,6,7,10,12,3])),`component`)}),UAe=I(`/_auth/s3/ls/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(m9)},head:()=>({meta:[{title:`Buckets | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./ls.js`),__vite__mapDeps([15,16,7,17,10])),`component`)}),WAe=I(`/_auth/s3/(buckets)/create-bucket`)({head:()=>({meta:[{title:`Create Bucket | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-bucket.js`),__vite__mapDeps([18,19,20,2,21,22,23,8,24,25,26,10,4])),`component`)}),GAe=I(`/_auth/iam/(users)/create-user`)({head:()=>({meta:[{title:`Create User | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./create-user.js`),__vite__mapDeps([27,28,20,2,21,22,23,8,24,25,26,10,4,29])),`component`)}),KAe=I(`/_auth/iam/(policies)/create-policy`)({head:()=>({meta:[{title:`Create Policy | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./create-policy.js`),__vite__mapDeps([30,28,20,2,21,22,23,8,24,25,26,10,4,31,29])),`component`)}),qAe=I(`/_auth/ec2/(vpc)/create-vpc`)({head:()=>({meta:[{title:`Create VPC | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-vpc.js`),__vite__mapDeps([32,33,20,34,23,8,2,21,9,22,24,25,26,10,4,35])),`component`)}),JAe=I(`/_auth/ec2/(volumes)/create-volume`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(q7)},head:()=>({meta:[{title:`Create Volume | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-volume.js`),__vite__mapDeps([36,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),YAe=I(`/_auth/ec2/(target-groups)/create-target-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`Create Target Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-target-group.js`),__vite__mapDeps([37,38,20,2,16,7,21,22,23,8,24,25,39,1,34,40,41,4,26,10,42])),`component`)}),XAe=I(`/_auth/ec2/(subnet)/create-subnet`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData(q7)])},head:()=>({meta:[{title:`Create Subnet | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-subnet.js`),__vite__mapDeps([43,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),g9=I(`/_auth/ec2/(snapshots)/create-snapshot`)({validateSearch:e=>({volumeId:typeof e.volumeId==`string`?e.volumeId:void 0}),loader:async({context:e})=>{await e.queryClient.ensureQueryData(f9)},head:()=>({meta:[{title:`Create Snapshot | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-snapshot.js`),__vite__mapDeps([44,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,31,35])),`component`)}),ZAe=I(`/_auth/ec2/(security-groups)/create-security-group`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`Create Security Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-security-group.js`),__vite__mapDeps([45,33,20,34,23,8,2,16,7,21,22,24,25,26,10,4,35])),`component`)}),QAe=I(`/_auth/ec2/(placement-groups)/create-placement-group`)({head:()=>({meta:[{title:`Create Placement Group | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-placement-group.js`),__vite__mapDeps([46,33,20,34,23,8,2,21,22,24,25,26,10,4,35])),`component`)}),_9=5e3,v9=Le({queryKey:[`elbv2`,`loadBalancers`],queryFn:async()=>{let e=new N2({});return await V7().send(e)},refetchInterval:e=>(e.state.data?.LoadBalancers??[]).some(e=>e.State?.Code===`provisioning`)?_9:!1}),y9=e=>Le({queryKey:[`elbv2`,`loadBalancers`,e],queryFn:async()=>{let t=new N2({LoadBalancerArns:[e]});return await V7().send(t)},refetchInterval:e=>(e.state.data?.LoadBalancers?.[0])?.State?.Code===`provisioning`?_9:!1}),b9=e=>Le({queryKey:[`elbv2`,`loadBalancers`,e,`attributes`],queryFn:async()=>{let t=new Oye({LoadBalancerArn:e});return await V7().send(t)}}),x9=Le({queryKey:[`elbv2`,`targetGroups`],queryFn:async()=>{let e=new P2({});return await V7().send(e)}}),S9=e=>Le({queryKey:[`elbv2`,`targetGroups`,e],queryFn:async()=>{let t=new P2({TargetGroupArns:[e]});return await V7().send(t)}}),C9=e=>Le({queryKey:[`elbv2`,`targetGroups`,e,`attributes`],queryFn:async()=>{let t=new Aye({TargetGroupArn:e});return await V7().send(t)}}),w9=e=>Le({queryKey:[`elbv2`,`listeners`,e],queryFn:async()=>{let t=new Dye({LoadBalancerArn:e});return await V7().send(t)}}),$Ae=e=>Le({queryKey:[`elbv2`,`targetGroups`,e,`health`],queryFn:async()=>{let t=new jye({TargetGroupArn:e});return await V7().send(t)}}),T9=e=>Le({queryKey:[`elbv2`,`tags`,...e],queryFn:async()=>{let t=new kye({ResourceArns:e});return await V7().send(t)},enabled:e.length>0}),eje=I(`/_auth/ec2/(load-balancers)/create-load-balancer`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(o9),e.queryClient.ensureQueryData(n9),e.queryClient.ensureQueryData(u9),e.queryClient.ensureQueryData(x9),e.queryClient.ensureQueryData(Z7)])},head:()=>({meta:[{title:`Create Load Balancer | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-load-balancer.js`),__vite__mapDeps([47,38,20,34,23,8,2,16,7,21,40,22,24,25,41,39,1,4,26,10,42])),`component`)}),tje=I(`/_auth/ec2/(key)/import-key-pair`)({head:()=>({meta:[{title:`Import Key Pair | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./import-key-pair.js`),__vite__mapDeps([48,33,20,2,21,22,23,8,24,25,26,10,4,31,35])),`component`)}),nje=I(`/_auth/ec2/(key)/create-key-pair`)({head:()=>({meta:[{title:`Create Key Pair | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./create-key-pair.js`),__vite__mapDeps([49,33,20,50,2,21,23,51,22,8,24,25,52,26,10,4,35])),`component`)}),rje=I(`/_auth/ec2/(instances)/run-instances`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(Z7),e.queryClient.ensureQueryData($7),e.queryClient.ensureQueryData(X7),e.queryClient.ensureQueryData(n9),e.queryClient.ensureQueryData(c9)])},head:()=>({meta:[{title:`Run Instances | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./run-instances.js`),__vite__mapDeps([53,33,20,1,34,23,8,2,16,7,21,22,24,25,10,4,35])),`component`)}),ije=I(`/_auth/s3/ls/$bucket`)({component:L(()=>bT(()=>import(`./route2.js`),[]),`component`)}),E9=I(`/_auth/s3/ls/$bucket/`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(h9(t.bucket))},head:({params:e})=>({meta:[{title:`${e.bucket} | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./_bucket.js`),__vite__mapDeps([54,19,20,55,51,41,56,50,16,7,21,10])),`component`)}),D9=Le({queryKey:[`iam`,`users`],queryFn:async()=>{let e=new vwe({});return await H7().send(e)},staleTime:3e5}),O9=e=>Le({queryKey:[`iam`,`users`,e],queryFn:async()=>{let t=new mwe({UserName:e});return await H7().send(t)},staleTime:3e5}),k9=e=>Le({queryKey:[`iam`,`access-keys`,e],queryFn:async()=>{let t=new hwe({UserName:e});return await H7().send(t)},staleTime:3e5}),A9=Le({queryKey:[`iam`,`policies`],queryFn:async()=>{let e=new _we({Scope:`Local`});return await H7().send(e)},staleTime:3e5}),j9=e=>Le({queryKey:[`iam`,`policies`,e],queryFn:async()=>{let t=new fwe({PolicyArn:e});return await H7().send(t)},staleTime:3e5}),M9=(e,t)=>Le({queryKey:[`iam`,`policy-versions`,e,t],queryFn:async()=>{let n=new pwe({PolicyArn:e,VersionId:t});return await H7().send(n)},staleTime:3e5}),N9=e=>Le({queryKey:[`iam`,`attached-user-policies`,e],queryFn:async()=>{let t=new gwe({UserName:e});return await H7().send(t)},staleTime:3e5}),aje=I(`/_auth/iam/(users)/list-users/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(D9)},head:()=>({meta:[{title:`Users | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./list-users.js`),__vite__mapDeps([57,16,7,17,10])),`component`)}),oje=I(`/_auth/iam/(policies)/list-policies/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(A9)},head:()=>({meta:[{title:`Policies | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./list-policies.js`),__vite__mapDeps([58,16,7,17,10])),`component`)}),sje=I(`/_auth/ec2/(vpc)/describe-vpcs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(o9)},head:()=>({meta:[{title:`VPCs | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-vpcs.js`),__vite__mapDeps([59,16,7,17,10,11])),`component`)}),cje=I(`/_auth/ec2/(volumes)/describe-volumes/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(f9)},head:()=>({meta:[{title:`Volumes | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-volumes.js`),__vite__mapDeps([60,16,7,17,10,11])),`component`)}),lje=I(`/_auth/ec2/(target-groups)/describe-target-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(x9)},head:()=>({meta:[{title:`Target Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-target-groups.js`),__vite__mapDeps([61,6,7,16,10])),`component`)}),uje=I(`/_auth/ec2/(subnet)/describe-subnets/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(n9)},head:()=>({meta:[{title:`Subnets | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-subnets.js`),__vite__mapDeps([62,16,7,17,10,11])),`component`)}),dje=I(`/_auth/ec2/(snapshots)/describe-snapshots/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(i9)},head:()=>({meta:[{title:`Snapshots | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-snapshots.js`),__vite__mapDeps([63,16,7,17,10,11])),`component`)}),fje=I(`/_auth/ec2/(security-groups)/describe-security-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(u9)},head:()=>({meta:[{title:`Security Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-security-groups.js`),__vite__mapDeps([64,16,7,17,10])),`component`)}),pje=I(`/_auth/ec2/(placement-groups)/describe-placement-groups/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(c9)},head:()=>({meta:[{title:`Placement Groups | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-placement-groups.js`),__vite__mapDeps([65,16,7,17,10,11])),`component`)}),mje=I(`/_auth/ec2/(load-balancers)/describe-load-balancers/`)({loader:async({context:e})=>{await Promise.all([e.queryClient.ensureQueryData(v9),e.queryClient.ensureQueryData(Z7)])},head:()=>({meta:[{title:`Load Balancers | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-load-balancers.js`),__vite__mapDeps([66,16,7,10,11])),`component`)}),hje=I(`/_auth/ec2/(key)/describe-key-pairs/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData($7)},head:()=>({meta:[{title:`Key Pairs | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-key-pairs.js`),__vite__mapDeps([67,16,7,17,10])),`component`)}),gje=I(`/_auth/ec2/(instances)/describe-instances/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(J7)},head:()=>({meta:[{title:`Instances | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-instances.js`),__vite__mapDeps([68,16,7,17,10,11])),`component`)}),_je=I(`/_auth/ec2/(images)/describe-images/`)({loader:async({context:e})=>{await e.queryClient.ensureQueryData(Z7)},head:()=>({meta:[{title:`Images | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./describe-images.js`),__vite__mapDeps([69,16,7,17,10,11,70])),`component`)}),P9=I(`/_auth/s3/ls/$bucket/$`)({loader:async({context:e,params:t})=>{let n=cl(t._splat??``);await e.queryClient.ensureQueryData(h9(t.bucket,n))},head:({params:e})=>({meta:[{title:`${ll(e._splat??``,`${e.bucket}/`)} | S3 | Mulga`}]}),component:L(()=>bT(()=>import(`./_.js`),__vite__mapDeps([71,19,20,55,51,41,56,50,16,7,21])),`component`)}),F9=I(`/_auth/iam/(users)/list-users/$userName`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(O9(t.userName)),e.queryClient.ensureQueryData(k9(t.userName)),e.queryClient.ensureQueryData(N9(t.userName)),e.queryClient.ensureQueryData(A9)])},head:({params:e})=>({meta:[{title:`${e.userName} | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./_userName.js`),__vite__mapDeps([72,28,20,50,16,7,21,23,41,52,56,73,10,11,25])),`component`)}),I9=I(`/_auth/iam/(policies)/list-policies/$policyArn`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.policyArn),r=await e.queryClient.ensureQueryData(j9(n)),i=r.Policy?.DefaultVersionId;return i&&await e.queryClient.ensureQueryData(M9(n,i)),r},head:({loaderData:e})=>({meta:[{title:`${e?.Policy?.PolicyName??`Policy`} | IAM | Mulga`}]}),component:L(()=>bT(()=>import(`./_policyArn.js`),__vite__mapDeps([74,28,20,16,7,21,41,56,50,73,10])),`component`)}),L9=I(`/_auth/ec2/(vpc)/describe-vpcs/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(s9(t.id)),e.queryClient.ensureQueryData(n9)])},head:({params:e})=>({meta:[{title:`${e.id} | VPC | Mulga`}]}),component:L(()=>bT(()=>import(`./_id12.js`),__vite__mapDeps([75,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),R9=I(`/_auth/ec2/(volumes)/modify-volume/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(p9(t.id))},head:({params:e})=>({meta:[{title:`Resize ${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id11.js`),__vite__mapDeps([76,33,20,2,16,7,21,26,10,4,35])),`component`)}),z9=I(`/_auth/ec2/(volumes)/describe-volumes/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(p9(t.id)),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id10.js`),__vite__mapDeps([77,33,20,50,34,23,8,16,7,21,41,56,73,10,11,4])),`component`)}),B9=I(`/_auth/ec2/(target-groups)/describe-target-groups/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(S9(n)),e.queryClient.ensureQueryData(C9(n)),e.queryClient.ensureQueryData(T9([n])),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Target Group | Mulga`}]}),component:L(()=>bT(()=>import(`./_id9.js`),__vite__mapDeps([78,38,20,50,79,34,23,8,4,6,7,16,21,41,56,73,10])),`component`)}),V9=I(`/_auth/ec2/(subnet)/describe-subnets/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(r9(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Subnet | Mulga`}]}),component:L(()=>bT(()=>import(`./_id8.js`),__vite__mapDeps([80,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),H9=I(`/_auth/ec2/(snapshots)/describe-snapshots/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(a9(t.id)),e.queryClient.ensureQueryData(t9)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id7.js`),__vite__mapDeps([81,33,20,50,16,7,21,24,41,56,73,10,11,4])),`component`)}),U9=I(`/_auth/ec2/(security-groups)/describe-security-groups/$id`)({loader:async({context:e,params:t})=>{await e.queryClient.ensureQueryData(d9(t.id))},head:({params:e})=>({meta:[{title:`${e.id} | Security Group | Mulga`}]}),component:L(()=>bT(()=>import(`./_id6.js`),__vite__mapDeps([82,33,20,50,34,23,8,2,16,7,21,40,41,56,73,10,4,35])),`component`)}),W9=I(`/_auth/ec2/(placement-groups)/describe-placement-groups/$id`)({loader:async({context:e,params:t})=>{await Promise.all([e.queryClient.ensureQueryData(l9(t.id)),e.queryClient.ensureQueryData(J7)])},head:({params:e})=>({meta:[{title:`${e.id} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id5.js`),__vite__mapDeps([83,33,20,16,7,21,41,56,50,73,10,11])),`component`)}),G9=I(`/_auth/ec2/(load-balancers)/describe-load-balancers/$id`)({loader:async({context:e,params:t})=>{let n=decodeURIComponent(t.id);await Promise.all([e.queryClient.ensureQueryData(y9(n)),e.queryClient.ensureQueryData(w9(n)),e.queryClient.ensureQueryData(b9(n)),e.queryClient.ensureQueryData(T9([n])),e.queryClient.ensureQueryData(x9),e.queryClient.ensureQueryData(n9)])},head:({params:e})=>({meta:[{title:`${decodeURIComponent(e.id)} | Load Balancer | Mulga`}]}),component:L(()=>bT(()=>import(`./_id4.js`),__vite__mapDeps([84,38,20,50,34,23,8,79,4,2,16,7,21,41,56,73,10,11,42])),`component`)}),K9=I(`/_auth/ec2/(key)/describe-key-pairs/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(e9(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.KeyPairs?.[0]?.KeyName??`Key Pair`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id3.js`),__vite__mapDeps([85,33,20,16,7,21,41,56,50,73,10])),`component`)}),q9=I(`/_auth/ec2/(instances)/describe-instances/$id`)({loader:async({context:e,params:t})=>{let[n]=await Promise.all([e.queryClient.ensureQueryData(Y7(t.id)),e.queryClient.ensureQueryData(X7)]),r=n.Reservations?.[0]?.Instances?.[0]?.ImageId;return await e.queryClient.ensureQueryData(Q7(r)),n},head:({loaderData:e})=>({meta:[{title:`${e?.Reservations?.[0]?.Instances?.[0]?.InstanceId??`Instance`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id2.js`),__vite__mapDeps([86,33,20,50,34,23,8,16,7,21,41,56,73,10,11,4,31,87])),`component`)}),J9=I(`/_auth/ec2/(images)/describe-images/$id`)({loader:async({context:e,params:t})=>await e.queryClient.ensureQueryData(Q7(t.id)),head:({loaderData:e})=>({meta:[{title:`${e?.Images?.[0]?.Name??`Image`} | EC2 | Mulga`}]}),component:L(()=>bT(()=>import(`./_id.js`),__vite__mapDeps([88,16,7,21,10,11,70,87,73])),`component`)}),vje=RAe.update({id:`/login`,path:`/login`,getParentRoute:()=>K7}),Y9=zAe.update({id:`/_auth`,getParentRoute:()=>K7}),yje=BAe.update({id:`/`,path:`/`,getParentRoute:()=>Y9}),bje=VAe.update({id:`/nodes`,path:`/nodes`,getParentRoute:()=>Y9}),xje=HAe.update({id:`/s3/service-metrics`,path:`/s3/service-metrics`,getParentRoute:()=>Y9}),Sje=UAe.update({id:`/s3/ls/`,path:`/s3/ls/`,getParentRoute:()=>Y9}),Cje=WAe.update({id:`/s3/(buckets)/create-bucket`,path:`/s3/create-bucket`,getParentRoute:()=>Y9}),wje=GAe.update({id:`/iam/(users)/create-user`,path:`/iam/create-user`,getParentRoute:()=>Y9}),Tje=KAe.update({id:`/iam/(policies)/create-policy`,path:`/iam/create-policy`,getParentRoute:()=>Y9}),Eje=qAe.update({id:`/ec2/(vpc)/create-vpc`,path:`/ec2/create-vpc`,getParentRoute:()=>Y9}),Dje=JAe.update({id:`/ec2/(volumes)/create-volume`,path:`/ec2/create-volume`,getParentRoute:()=>Y9}),Oje=YAe.update({id:`/ec2/(target-groups)/create-target-group`,path:`/ec2/create-target-group`,getParentRoute:()=>Y9}),kje=XAe.update({id:`/ec2/(subnet)/create-subnet`,path:`/ec2/create-subnet`,getParentRoute:()=>Y9}),Aje=g9.update({id:`/ec2/(snapshots)/create-snapshot`,path:`/ec2/create-snapshot`,getParentRoute:()=>Y9}),jje=ZAe.update({id:`/ec2/(security-groups)/create-security-group`,path:`/ec2/create-security-group`,getParentRoute:()=>Y9}),Mje=QAe.update({id:`/ec2/(placement-groups)/create-placement-group`,path:`/ec2/create-placement-group`,getParentRoute:()=>Y9}),X9=eje.update({id:`/ec2/(load-balancers)/create-load-balancer`,path:`/ec2/create-load-balancer`,getParentRoute:()=>Y9}),Nje=tje.update({id:`/ec2/(key)/import-key-pair`,path:`/ec2/import-key-pair`,getParentRoute:()=>Y9}),Pje=nje.update({id:`/ec2/(key)/create-key-pair`,path:`/ec2/create-key-pair`,getParentRoute:()=>Y9}),Fje=rje.update({id:`/ec2/(instances)/run-instances`,path:`/ec2/run-instances`,getParentRoute:()=>Y9}),Z9=ije.update({id:`/s3/ls/$bucket`,path:`/s3/ls/$bucket`,getParentRoute:()=>Y9}),Ije=E9.update({id:`/`,path:`/`,getParentRoute:()=>Z9}),Lje=aje.update({id:`/iam/(users)/list-users/`,path:`/iam/list-users/`,getParentRoute:()=>Y9}),Rje=oje.update({id:`/iam/(policies)/list-policies/`,path:`/iam/list-policies/`,getParentRoute:()=>Y9}),zje=sje.update({id:`/ec2/(vpc)/describe-vpcs/`,path:`/ec2/describe-vpcs/`,getParentRoute:()=>Y9}),Bje=cje.update({id:`/ec2/(volumes)/describe-volumes/`,path:`/ec2/describe-volumes/`,getParentRoute:()=>Y9}),Vje=lje.update({id:`/ec2/(target-groups)/describe-target-groups/`,path:`/ec2/describe-target-groups/`,getParentRoute:()=>Y9}),Hje=uje.update({id:`/ec2/(subnet)/describe-subnets/`,path:`/ec2/describe-subnets/`,getParentRoute:()=>Y9}),Uje=dje.update({id:`/ec2/(snapshots)/describe-snapshots/`,path:`/ec2/describe-snapshots/`,getParentRoute:()=>Y9}),Wje=fje.update({id:`/ec2/(security-groups)/describe-security-groups/`,path:`/ec2/describe-security-groups/`,getParentRoute:()=>Y9}),Gje=pje.update({id:`/ec2/(placement-groups)/describe-placement-groups/`,path:`/ec2/describe-placement-groups/`,getParentRoute:()=>Y9}),Kje=mje.update({id:`/ec2/(load-balancers)/describe-load-balancers/`,path:`/ec2/describe-load-balancers/`,getParentRoute:()=>Y9}),qje=hje.update({id:`/ec2/(key)/describe-key-pairs/`,path:`/ec2/describe-key-pairs/`,getParentRoute:()=>Y9}),Jje=gje.update({id:`/ec2/(instances)/describe-instances/`,path:`/ec2/describe-instances/`,getParentRoute:()=>Y9}),Yje=_je.update({id:`/ec2/(images)/describe-images/`,path:`/ec2/describe-images/`,getParentRoute:()=>Y9}),Xje=P9.update({id:`/$`,path:`/$`,getParentRoute:()=>Z9}),Zje=F9.update({id:`/iam/(users)/list-users/$userName`,path:`/iam/list-users/$userName`,getParentRoute:()=>Y9}),Qje=I9.update({id:`/iam/(policies)/list-policies/$policyArn`,path:`/iam/list-policies/$policyArn`,getParentRoute:()=>Y9}),$je=L9.update({id:`/ec2/(vpc)/describe-vpcs/$id`,path:`/ec2/describe-vpcs/$id`,getParentRoute:()=>Y9}),eMe=R9.update({id:`/ec2/(volumes)/modify-volume/$id`,path:`/ec2/modify-volume/$id`,getParentRoute:()=>Y9}),tMe=z9.update({id:`/ec2/(volumes)/describe-volumes/$id`,path:`/ec2/describe-volumes/$id`,getParentRoute:()=>Y9}),nMe=B9.update({id:`/ec2/(target-groups)/describe-target-groups/$id`,path:`/ec2/describe-target-groups/$id`,getParentRoute:()=>Y9}),rMe=V9.update({id:`/ec2/(subnet)/describe-subnets/$id`,path:`/ec2/describe-subnets/$id`,getParentRoute:()=>Y9}),iMe=H9.update({id:`/ec2/(snapshots)/describe-snapshots/$id`,path:`/ec2/describe-snapshots/$id`,getParentRoute:()=>Y9}),aMe=U9.update({id:`/ec2/(security-groups)/describe-security-groups/$id`,path:`/ec2/describe-security-groups/$id`,getParentRoute:()=>Y9}),oMe=W9.update({id:`/ec2/(placement-groups)/describe-placement-groups/$id`,path:`/ec2/describe-placement-groups/$id`,getParentRoute:()=>Y9}),sMe=G9.update({id:`/ec2/(load-balancers)/describe-load-balancers/$id`,path:`/ec2/describe-load-balancers/$id`,getParentRoute:()=>Y9}),cMe=K9.update({id:`/ec2/(key)/describe-key-pairs/$id`,path:`/ec2/describe-key-pairs/$id`,getParentRoute:()=>Y9}),lMe=q9.update({id:`/ec2/(instances)/describe-instances/$id`,path:`/ec2/describe-instances/$id`,getParentRoute:()=>Y9}),uMe=J9.update({id:`/ec2/(images)/describe-images/$id`,path:`/ec2/describe-images/$id`,getParentRoute:()=>Y9}),dMe={AuthS3LsBucketSplatRoute:Xje,AuthS3LsBucketIndexRoute:Ije},fMe={AuthNodesRoute:bje,AuthIndexRoute:yje,AuthS3ServiceMetricsRoute:xje,AuthS3LsBucketRouteRoute:Z9._addFileChildren(dMe),AuthEc2instancesRunInstancesRoute:Fje,AuthEc2keyCreateKeyPairRoute:Pje,AuthEc2keyImportKeyPairRoute:Nje,AuthEc2loadBalancersCreateLoadBalancerRoute:X9,AuthEc2placementGroupsCreatePlacementGroupRoute:Mje,AuthEc2securityGroupsCreateSecurityGroupRoute:jje,AuthEc2snapshotsCreateSnapshotRoute:Aje,AuthEc2subnetCreateSubnetRoute:kje,AuthEc2targetGroupsCreateTargetGroupRoute:Oje,AuthEc2volumesCreateVolumeRoute:Dje,AuthEc2vpcCreateVpcRoute:Eje,AuthIampoliciesCreatePolicyRoute:Tje,AuthIamusersCreateUserRoute:wje,AuthS3bucketsCreateBucketRoute:Cje,AuthS3LsIndexRoute:Sje,AuthEc2imagesDescribeImagesIdRoute:uMe,AuthEc2instancesDescribeInstancesIdRoute:lMe,AuthEc2keyDescribeKeyPairsIdRoute:cMe,AuthEc2loadBalancersDescribeLoadBalancersIdRoute:sMe,AuthEc2placementGroupsDescribePlacementGroupsIdRoute:oMe,AuthEc2securityGroupsDescribeSecurityGroupsIdRoute:aMe,AuthEc2snapshotsDescribeSnapshotsIdRoute:iMe,AuthEc2subnetDescribeSubnetsIdRoute:rMe,AuthEc2targetGroupsDescribeTargetGroupsIdRoute:nMe,AuthEc2volumesDescribeVolumesIdRoute:tMe,AuthEc2volumesModifyVolumeIdRoute:eMe,AuthEc2vpcDescribeVpcsIdRoute:$je,AuthIampoliciesListPoliciesPolicyArnRoute:Qje,AuthIamusersListUsersUserNameRoute:Zje,AuthEc2imagesDescribeImagesIndexRoute:Yje,AuthEc2instancesDescribeInstancesIndexRoute:Jje,AuthEc2keyDescribeKeyPairsIndexRoute:qje,AuthEc2loadBalancersDescribeLoadBalancersIndexRoute:Kje,AuthEc2placementGroupsDescribePlacementGroupsIndexRoute:Gje,AuthEc2securityGroupsDescribeSecurityGroupsIndexRoute:Wje,AuthEc2snapshotsDescribeSnapshotsIndexRoute:Uje,AuthEc2subnetDescribeSubnetsIndexRoute:Hje,AuthEc2targetGroupsDescribeTargetGroupsIndexRoute:Vje,AuthEc2volumesDescribeVolumesIndexRoute:Bje,AuthEc2vpcDescribeVpcsIndexRoute:zje,AuthIampoliciesListPoliciesIndexRoute:Rje,AuthIamusersListUsersIndexRoute:Lje},pMe={AuthRouteRoute:Y9._addFileChildren(fMe),LoginRoute:vje},mMe=K7._addFileChildren(pMe)._addFileTypes(),Q9=new ke({defaultOptions:{queries:{staleTime:5e3}}}),hMe=Yi({routeTree:mMe,context:{queryClient:Q9},defaultPreload:`intent`,scrollRestoration:!0,defaultStructuralSharing:!0,defaultPreloadStaleTime:0}),$9=document.querySelector(`#app`);$9&&!$9.innerHTML&&da.createRoot($9).render((0,F.jsx)(P.StrictMode,{children:(0,F.jsx)(ha,{defaultTheme:`dark`,storageKey:`spinifex-ui-theme`,children:(0,F.jsx)(Ie,{client:Q9,children:(0,F.jsx)(QS,{children:(0,F.jsx)(Bg,{children:(0,F.jsx)(Qi,{router:hMe})})})})})}));export{p9 as $,ya as $a,cu as $i,yx as $n,pm as $r,que as $t,S9 as A,xs as Aa,Ld as Ai,OD as An,Kh as Ar,XCe as At,X7 as B,ko as Ba,Ku as Bi,$S as Bn,kh as Br,uye as Bt,E9 as C,cl as Ca,Wd as Ci,jde as Cn,f as Co,lg as Cr,Cwe as Ct,v9 as D,al as Da,Bd as Di,Fde as Dn,c as Do,rg as Dr,qCe as Dt,y9 as E,il as Ea,Ud as Ei,Pde as En,o as Eo,ag as Er,KCe as Et,m9 as F,Yo as Fa,Nd as Fi,Fw as Fn,Ph as Fr,aye as Ft,c9 as G,io as Ga,Uu as Gi,eS as Gn,Nh as Gr,j1 as Gt,e9 as H,Co as Ha,qu as Hi,GS as Hn,jh as Hr,yye as Ht,q7 as I,Ho as Ia,Dd as Ii,KC as In,Dh as Ir,oye as It,u9 as J,Ja,Vu as Ji,Kx as Jn,dh as Jr,Hue as Jt,t9 as K,Qa as Ka,Hu as Ki,$x as Kn,zh as Kr,Bue as Kt,Q7 as L,Ro as La,Od as Li,MC as Ln,Oh as Lr,sye as Lt,$Ae as M,bs as Ma,Fd as Mi,hD as Mn,Wh as Mr,awe as Mt,g9 as N,gs as Na,Pd as Ni,mD as Nn,Fh as Nr,F2 as Nt,T9 as O,sl as Oa,Qd as Oi,KD as On,Jh as Or,JCe as Ot,h9 as P,Go as Pa,Ad as Pi,XE as Pn,Eh as Pr,iye as Pt,n9 as Q,Pa as Qa,uu as Qi,bx as Qn,km as Qr,Kue as Qt,Z7 as R,Io as Ra,wd as Ri,AC as Rn,Th as Rr,cye as Rt,D9 as S,el as Sa,Kd as Si,Ade as Sn,v as So,dg as Sr,H4 as St,b9 as T,nl as Ta,zd as Ti,Nde as Tn,l as To,og as Tr,GCe as Tt,$7 as U,bo as Ua,Ju as Ui,DS as Un,Lh as Ur,bye as Ut,J7 as V,Eo as Va,Wu as Vi,YS as Vn,Ah as Vr,vye as Vt,l9 as W,lo as Wa,Gu as Wi,tS as Wn,Mh as Wr,z1 as Wt,i9 as X,La as Xa,zu as Xi,Ox as Xn,Um as Xr,Wue as Xt,a9 as Y,Ka as Ya,Yu as Yi,Dx as Yn,nh as Yr,Uue as Yt,r9 as Z,Ia as Za,du as Zi,kx as Zn,zm as Zr,Gue as Zt,N9 as _,yl as _a,of as _i,Tde as _n,k as _o,Ng as _r,O6 as _t,W9 as a,Jl as aa,$f as ai,$ue as an,Le as ao,px as ar,V7 as at,M9 as b,dl as ba,$d as bi,Ode as bn,D as bo,Eg as br,U4 as bt,V9 as c,ql as ca,Ff as ci,nde as cn,je as co,dre as cr,Mke as ct,R9 as d,Kl as da,xf as di,ade as dn,N as do,Nb as dr,Fke as dt,lu as ea,Dp as ei,Jue as en,ua as eo,vx as er,f9 as et,L9 as f,Nl as fa,bf as fi,ode as fn,M as fo,Lb as fr,Lke as ft,k9 as g,wl as ga,hf as gi,wde as gn,h as go,G_ as gr,Uke as gt,P9 as h,El as ha,gf as hi,lde as hn,_ as ho,Q_ as hr,Hke as ht,G9 as i,$l as ia,op as ii,Que as in,bn as io,fx as ir,B7 as it,x9 as j,Ss as ja,Id as ji,_D as jn,Gh as jr,ZCe as jt,C9 as k,ws as ka,Rd as ki,ID as kn,qh as kr,YCe as kt,B9 as l,Wl as la,jf as li,rde as ln,Te as lo,Ab as lr,Nke as lt,F9 as m,Dl as ma,_f as mi,cde as mn,w as mo,X_ as mr,Vke as mt,q9 as n,ru as na,up as ni,Xue as nn,Oi as no,ux as nr,o9 as nt,U9 as o,B as oa,zf as oi,ede as on,Fe as oo,zb as or,H7 as ot,I9 as p,Ol as pa,yf as pi,sde as pn,ce as po,Tb as pr,Rke as pt,d9 as q,qa,Zu as qi,Jx as qn,Bh as qr,Vue as qt,K9 as r,tu as ra,dp as ri,Zue as rn,fi as ro,mx as rr,W7 as rt,H9 as s,Yl as sa,Pf as si,tde as sn,Ne as so,Mb as sr,U7 as st,J9 as t,ou as ta,bp as ti,Yue as tn,Wi as to,_x as tr,s9 as tt,z9 as u,Gl as ua,kf as ui,ide as un,xe as uo,cre as ur,Pke as ut,A9 as v,_l as va,sf as vi,Ede as vn,b as vo,Mg as vr,X4 as vt,w9 as w,ul as wa,Jd as wi,Mde as wn,u as wo,sg as wr,WCe as wt,O9 as x,ll as xa,Yd as xi,kde as xn,oe as xo,pg as xr,Ewe as xt,j9 as y,fl as ya,nf as yi,Dde as yn,y as yo,Ag as yr,Dwe as yt,Y7 as z,Po as za,xd as zi,OC as zn,Ih as zr,lye as zt}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/list-policies.js b/spinifex/services/spinifexui/frontend/dist/assets/list-policies.js index 1b555fdab..b24f3beab 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/list-policies.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/list-policies.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{eo as t,no as n,so as r,v as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=t(),l=r();function u(){let t=(0,c.c)(3),{data:r}=e(i),s;if(t[0]!==r.Policies){let e=(r.Policies??[]).toSorted(f),i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(o,{actions:(0,l.jsx)(n,{to:`/iam/create-policy`,children:(0,l.jsx)(a,{children:`Create Policy`})}),title:`IAM Policies`}),t[2]=i):i=t[2],s=(0,l.jsxs)(l.Fragment,{children:[i,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No IAM policies found.`})]}),t[0]=r.Policies,t[1]=s}else s=t[1];return s}function d(e){return e.Arn?(0,l.jsx)(s,{params:{policyArn:encodeURIComponent(e.Arn)},subtitle:e.Arn??``,title:e.PolicyName??``,to:`/iam/list-policies/$policyArn`},e.Arn):null}function f(e,t){let n=e.PolicyName?.toLowerCase()??``,r=t.PolicyName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{eo as t,no as n,so as r,v as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=t(),l=r();function u(){let t=(0,c.c)(3),{data:r}=e(i),s;if(t[0]!==r.Policies){let e=(r.Policies??[]).toSorted(f),i;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(i=(0,l.jsx)(o,{actions:(0,l.jsx)(n,{to:`/iam/create-policy`,children:(0,l.jsx)(a,{children:`Create Policy`})}),title:`Policies`}),t[2]=i):i=t[2],s=(0,l.jsxs)(l.Fragment,{children:[i,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No IAM policies found.`})]}),t[0]=r.Policies,t[1]=s}else s=t[1];return s}function d(e){return e.Arn?(0,l.jsx)(s,{params:{policyArn:encodeURIComponent(e.Arn)},subtitle:e.Arn??``,title:e.PolicyName??``,to:`/iam/list-policies/$policyArn`},e.Arn):null}function f(e,t){let n=e.PolicyName?.toLowerCase()??``,r=t.PolicyName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/list-users.js b/spinifex/services/spinifexui/frontend/dist/assets/list-users.js index f79a5341d..990f399ab 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/list-users.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/list-users.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{S as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=n(),l=i();function u(){let n=(0,c.c)(3),{data:i}=e(t),s;if(n[0]!==i.Users){let e=(i.Users??[]).toSorted(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(o,{actions:(0,l.jsx)(r,{to:`/iam/create-user`,children:(0,l.jsx)(a,{children:`Create User`})}),title:`IAM Users`}),n[2]=t):t=n[2],s=(0,l.jsxs)(l.Fragment,{children:[t,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No IAM users found.`})]}),n[0]=i.Users,n[1]=s}else s=n[1];return s}function d(e){return e.UserName?(0,l.jsx)(s,{params:{userName:e.UserName},subtitle:e.UserId??``,title:e.UserName,to:`/iam/list-users/$userName`},e.UserName):null}function f(e,t){let n=e.UserName?.toLowerCase()??``,r=t.UserName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{S as t,eo as n,no as r,so as i,ya as a}from"./index.js";import{t as o}from"./page-heading.js";import{t as s}from"./list-card.js";var c=n(),l=i();function u(){let n=(0,c.c)(3),{data:i}=e(t),s;if(n[0]!==i.Users){let e=(i.Users??[]).toSorted(f),t;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,l.jsx)(o,{actions:(0,l.jsx)(r,{to:`/iam/create-user`,children:(0,l.jsx)(a,{children:`Create User`})}),title:`Users`}),n[2]=t):t=n[2],s=(0,l.jsxs)(l.Fragment,{children:[t,e.length>0?(0,l.jsx)(`div`,{className:`space-y-4`,children:e.map(d)}):(0,l.jsx)(`p`,{className:`text-muted-foreground`,children:`No IAM users found.`})]}),n[0]=i.Users,n[1]=s}else s=n[1];return s}function d(e){return e.UserName?(0,l.jsx)(s,{params:{userName:e.UserName},subtitle:e.UserId??``,title:e.UserName,to:`/iam/list-users/$userName`},e.UserName):null}function f(e,t){let n=e.UserName?.toLowerCase()??``,r=t.UserName?.toLowerCase()??``;return n.localeCompare(r)}export{u as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/ls.js b/spinifex/services/spinifexui/frontend/dist/assets/ls.js index dc0701e76..302e1f19d 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/ls.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/ls.js @@ -1 +1 @@ -import{t as e}from"./useSuspenseQuery.js";import{F as t,Ta as n,eo as r,no as i,so as a,ya as o}from"./index.js";import{t as s}from"./page-heading.js";import{t as c}from"./list-card.js";var l=r(),u=a();function d(){let n=(0,l.c)(5),{data:r}=e(t),a;n[0]===r.Buckets?a=n[1]:(a=r.Buckets??[],n[0]=r.Buckets,n[1]=a);let c=a,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(s,{actions:(0,u.jsx)(i,{to:`/s3/create-bucket`,children:(0,u.jsx)(o,{children:`Create Bucket`})}),title:`S3 Buckets`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No buckets found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.Name?(0,u.jsx)(c,{params:{bucket:e.Name},subtitle:e.CreationDate?`Created: ${n(e.CreationDate)}`:void 0,title:e.Name,to:`/s3/ls/$bucket`},e.Name):null}export{d as component}; \ No newline at end of file +import{t as e}from"./useSuspenseQuery.js";import{F as t,Ta as n,eo as r,no as i,so as a,ya as o}from"./index.js";import{t as s}from"./page-heading.js";import{t as c}from"./list-card.js";var l=r(),u=a();function d(){let n=(0,l.c)(5),{data:r}=e(t),a;n[0]===r.Buckets?a=n[1]:(a=r.Buckets??[],n[0]=r.Buckets,n[1]=a);let c=a,d;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,u.jsx)(s,{actions:(0,u.jsx)(i,{to:`/s3/create-bucket`,children:(0,u.jsx)(o,{children:`Create Bucket`})}),title:`Buckets`}),n[2]=d):d=n[2];let p;return n[3]===c?p=n[4]:(p=(0,u.jsxs)(u.Fragment,{children:[d,c.length>0?(0,u.jsx)(`div`,{className:`space-y-4`,children:c.map(f)}):(0,u.jsx)(`p`,{className:`text-muted-foreground`,children:`No buckets found.`})]}),n[3]=c,n[4]=p),p}function f(e){return e.Name?(0,u.jsx)(c,{params:{bucket:e.Name},subtitle:e.CreationDate?`Created: ${n(e.CreationDate)}`:void 0,title:e.Name,to:`/s3/ls/$bucket`},e.Name):null}export{d as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/nodes.js b/spinifex/services/spinifexui/frontend/dist/assets/nodes.js index 437de24fd..107032807 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/nodes.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/nodes.js @@ -1 +1 @@ -import{t as e}from"./useQuery.js";import{Bn as t,eo as n,io as r,so as i}from"./index.js";import{t as a}from"./page-heading.js";import{i as o,r as s,t as c}from"./admin.js";import{a as l,o as u,r as d,t as f}from"./card.js";var p=n(),m=i();function h(e){let t=Math.floor(e/86400),n=Math.floor(e%86400/3600);if(t>0)return`${t}d ${n}h`;let r=Math.floor(e%3600/60);return n>0?`${n}h ${r}m`:`${r}m`}function g(e){return e>=1?`${e.toFixed(1)}Gi`:`${Math.round(e*1024)}Mi`}function _(e){let t=Math.floor(Date.now()/1e3-e);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<24?`${r}h ${n%60}m`:`${Math.floor(r/24)}d ${r%24}h`}function v(){let n=(0,p.c)(28),{isAdmin:i}=t(),o;n[0]===i?o=n[1]:(o={...c,enabled:i,refetchInterval:5e3},n[0]=i,n[1]=o);let{data:h}=e(o),g;n[2]===i?g=n[3]:(g={...s,enabled:i,refetchInterval:5e3},n[2]=i,n[3]=g);let{data:_}=e(g);if(!i)throw r({to:`/`});let v,C,T;if(n[4]!==h?.nodes||n[5]!==_?.vms){v=h?.nodes??[];let e;n[9]===_?.vms?e=n[10]:(e=_?.vms??[],n[9]=_?.vms,n[10]=e);let t;n[11]===e?t=n[12]:(t=e.filter(x),n[11]=e,n[12]=t),T=t;let r=new Map;for(let e of v)for(let t of e.instance_types??[]){let e=r.get(t.name);e?e.available+=t.available:r.set(t.name,{vcpu:t.vcpu,memory_gb:t.memory_gb,available:t.available})}C=[...r.entries()].map(b).toSorted(y),n[4]=h?.nodes,n[5]=_?.vms,n[6]=v,n[7]=C,n[8]=T}else v=n[6],C=n[7],T=n[8];let D=C,k;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,m.jsx)(a,{title:`Nodes`}),n[13]=k):k=n[13];let A;n[14]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Cluster Nodes`})}),n[14]=A):A=n[14];let j;n[15]===v?j=n[16]:(j=(0,m.jsxs)(f,{children:[A,(0,m.jsx)(d,{children:v.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No nodes responding`}):(0,m.jsx)(S,{nodes:v})})]}),n[15]=v,n[16]=j);let M;n[17]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Elastic Compute Cloud (EC2)`})}),n[17]=M):M=n[17];let N;n[18]===T?N=n[19]:(N=(0,m.jsxs)(f,{children:[M,(0,m.jsx)(d,{children:T.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances running`}):(0,m.jsx)(w,{vms:T})})]}),n[18]=T,n[19]=N);let P;n[20]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Resource Usage`})}),n[20]=P):P=n[20];let F;n[21]!==D||n[22]!==v?(F=(0,m.jsxs)(f,{children:[P,(0,m.jsx)(d,{className:`space-y-4`,children:v.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(E,{nodes:v}),D.length>0&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(`h4`,{className:`mt-4 text-xs font-medium text-muted-foreground`,children:`Instance Type Capacity`}),(0,m.jsx)(O,{instanceTypes:D})]})]})})]}),n[21]=D,n[22]=v,n[23]=F):F=n[23];let I;return n[24]!==j||n[25]!==N||n[26]!==F?(I=(0,m.jsxs)(m.Fragment,{children:[k,(0,m.jsxs)(`div`,{className:`space-y-6`,children:[j,N,F]})]}),n[24]=j,n[25]=N,n[26]=F,n[27]=I):I=n[27],I}function y(e,t){return e.name.localeCompare(t.name)}function b(e){let[t,n]=e;return{name:t,...n}}function x(e){return!e.managed_by}function S(e){let t=(0,p.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Roles`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`IP`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Region`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`AZ`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Uptime`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`EC2`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`Services`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(C),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function C(e){let t=[e.nats_role?`nats:${e.nats_role}`:null,e.predastore_role?`predastore:${e.predastore_role}`:null].filter(Boolean).join(`,`);return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,m.jsx)(o,{variant:e.status===`Ready`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono text-muted-foreground`,children:t||`-`}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.region}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.az}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:h(e.uptime)}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vm_count}),(0,m.jsx)(`td`,{className:`py-1.5`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e.services?.join(`,`)??`-`})})]},e.node)}function w(e){let t=(0,p.c)(5),{vms:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Instance`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Type`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`vCPU`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Memory`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`Age`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(T),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function T(e){return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.instance_id}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,m.jsx)(o,{variant:e.status===`running`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.instance_type}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vcpu}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:g(e.memory_gb)}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.node}),(0,m.jsx)(`td`,{className:`py-1.5`,children:e.launch_time>0?_(e.launch_time):`-`})]},e.instance_id)}function E(e){let t=(0,p.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`CPU (used/total)`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`MEM (used/total)`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`EC2`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(D),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function D(e){return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,m.jsxs)(`td`,{className:`py-1.5 pr-4 font-mono`,children:[e.alloc_vcpu,`/`,e.total_vcpu]}),(0,m.jsxs)(`td`,{className:`py-1.5 pr-4 font-mono`,children:[g(e.alloc_mem_gb),`/`,g(e.total_mem_gb)]}),(0,m.jsx)(`td`,{className:`py-1.5`,children:e.vm_count})]},e.node)}function O(e){let t=(0,p.c)(5),{instanceTypes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Instance Type`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Available`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`vCPU`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`Memory`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(k),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function k(e){return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.name}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.available}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vcpu}),(0,m.jsx)(`td`,{className:`py-1.5`,children:g(e.memory_gb)})]},e.name)}export{v as component}; \ No newline at end of file +import{t as e}from"./useQuery.js";import{Bn as t,eo as n,io as r,so as i}from"./index.js";import{t as a}from"./page-heading.js";import{i as o,r as s,t as c}from"./admin.js";import{a as l,o as u,r as d,t as f}from"./card.js";var p=n(),m=i();function h(e){let t=Math.floor(e/86400),n=Math.floor(e%86400/3600);if(t>0)return`${t}d ${n}h`;let r=Math.floor(e%3600/60);return n>0?`${n}h ${r}m`:`${r}m`}function g(e){return e>=1?`${e.toFixed(1)}Gi`:`${Math.round(e*1024)}Mi`}function _(e){let t=Math.floor(Date.now()/1e3-e);if(t<60)return`${t}s`;let n=Math.floor(t/60);if(n<60)return`${n}m`;let r=Math.floor(n/60);return r<24?`${r}h ${n%60}m`:`${Math.floor(r/24)}d ${r%24}h`}function v(){let n=(0,p.c)(26),{isAdmin:i}=t(),o;n[0]===i?o=n[1]:(o={...c,enabled:i,refetchInterval:5e3},n[0]=i,n[1]=o);let{data:h}=e(o),g;n[2]===i?g=n[3]:(g={...s,enabled:i,refetchInterval:5e3},n[2]=i,n[3]=g);let{data:_}=e(g);if(!i)throw r({to:`/`});let v,x;if(n[4]!==h?.nodes||n[5]!==_?.vms){v=h?.nodes??[];let e;n[8]===_?.vms?e=n[9]:(e=_?.vms??[],n[8]=_?.vms,n[9]=e);let t;n[10]===e?t=n[11]:(t=e.filter(y),n[10]=e,n[11]=t),x=t;let r=new Map;for(let e of v)for(let t of e.instance_types??[]){let e=r.get(t.name);e?e.available+=t.available:r.set(t.name,{vcpu:t.vcpu,memory_gb:t.memory_gb,available:t.available})}n[4]=h?.nodes,n[5]=_?.vms,n[6]=v,n[7]=x}else v=n[6],x=n[7];let C;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(C=(0,m.jsx)(a,{title:`Nodes`}),n[12]=C):C=n[12];let T;n[13]===Symbol.for(`react.memo_cache_sentinel`)?(T=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Cluster Nodes`})}),n[13]=T):T=n[13];let E;n[14]===v?E=n[15]:(E=(0,m.jsxs)(f,{children:[T,(0,m.jsx)(d,{children:v.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No nodes responding`}):(0,m.jsx)(b,{nodes:v})})]}),n[14]=v,n[15]=E);let D;n[16]===Symbol.for(`react.memo_cache_sentinel`)?(D=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Elastic Compute Cloud (EC2)`})}),n[16]=D):D=n[16];let O;n[17]===x?O=n[18]:(O=(0,m.jsxs)(f,{children:[D,(0,m.jsx)(d,{children:x.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No instances running`}):(0,m.jsx)(S,{vms:x})})]}),n[17]=x,n[18]=O);let k;n[19]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,m.jsx)(l,{children:(0,m.jsx)(u,{className:`text-sm`,children:`Resource Usage`})}),n[19]=k):k=n[19];let A;n[20]===v?A=n[21]:(A=(0,m.jsxs)(f,{children:[k,(0,m.jsx)(d,{className:`space-y-4`,children:v.length===0?(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,m.jsx)(m.Fragment,{children:(0,m.jsx)(w,{nodes:v})})})]}),n[20]=v,n[21]=A);let j;return n[22]!==E||n[23]!==O||n[24]!==A?(j=(0,m.jsxs)(m.Fragment,{children:[C,(0,m.jsxs)(`div`,{className:`space-y-6`,children:[E,O,A]})]}),n[22]=E,n[23]=O,n[24]=A,n[25]=j):j=n[25],j}function y(e){return!e.managed_by}function b(e){let t=(0,p.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Roles`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`IP`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Region`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`AZ`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Uptime`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`EC2`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`Services`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(x),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function x(e){let t=[e.nats_role?`nats:${e.nats_role}`:null,e.predastore_role?`predastore:${e.predastore_role}`:null].filter(Boolean).join(`,`);return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,m.jsx)(o,{variant:e.status===`Ready`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono text-muted-foreground`,children:t||`-`}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.region}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.az}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:h(e.uptime)}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vm_count}),(0,m.jsx)(`td`,{className:`py-1.5`,children:(0,m.jsx)(`span`,{className:`text-muted-foreground`,children:e.services?.join(`,`)??`-`})})]},e.node)}function S(e){let t=(0,p.c)(5),{vms:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Instance`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Status`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Type`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`vCPU`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Memory`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`Age`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(C),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function C(e){return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.instance_id}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,m.jsx)(o,{variant:e.status===`running`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.status})}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.instance_type}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.vcpu}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4`,children:g(e.memory_gb)}),(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.node}),(0,m.jsx)(`td`,{className:`py-1.5`,children:e.launch_time>0?_(e.launch_time):`-`})]},e.instance_id)}function w(e){let t=(0,p.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,m.jsx)(`thead`,{children:(0,m.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Name`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`CPU (used/total)`}),(0,m.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`MEM (used/total)`}),(0,m.jsx)(`th`,{className:`pb-1 font-medium`,children:`EC2`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(T),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,m.jsx)(`div`,{className:`overflow-x-auto`,children:(0,m.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,m.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function T(e){return(0,m.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,m.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.node}),(0,m.jsxs)(`td`,{className:`py-1.5 pr-4 font-mono`,children:[e.alloc_vcpu,`/`,e.total_vcpu]}),(0,m.jsxs)(`td`,{className:`py-1.5 pr-4 font-mono`,children:[g(e.alloc_mem_gb),`/`,g(e.total_mem_gb)]}),(0,m.jsx)(`td`,{className:`py-1.5`,children:e.vm_count})]},e.node)}export{v as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/dist/assets/run-instances.js b/spinifex/services/spinifexui/frontend/dist/assets/run-instances.js index 178beb4bd..b762312e1 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/run-instances.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/run-instances.js @@ -1,4 +1,4 @@ -import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./chevron-down.js";import{a as i,i as a,n as o,r as s,t as c}from"./select.js";import{t as l}from"./cli-command-panel.js";import{o as u}from"./ec2.js";import{B as d,Do as f,G as p,Q as m,R as h,U as g,co as _,ro as v,so as y,ya as b,yi as x}from"./index.js";import{t as ee}from"./page-heading.js";import{a as S,n as te,r as C,t as w}from"./field.js";import{n as T,r as E,t as D}from"./zod.js";import{n as ne,r as re,t as ie}from"./collapsible.js";import{n as O,t as k}from"./ec22.js";var A=f(_()),j=y(),M=`/dev/sda1`,ae=`gp3`,oe=1,se=16384;function N(){let f=v(),{data:_}=t(h),{data:y}=t(g),{data:M}=t(d),{data:N}=t(m),{data:F}=t(p),I=u(),L=_.Images??[],R=y.KeyPairs??[],z=N.Subnets??[],B=F.PlacementGroups??[],V={};for(let e of M.InstanceTypes??[]){let t=e.InstanceType;t&&(V[t]=(V[t]??0)+1)}let H=Object.keys(V).toSorted(),U=L[0]?.ImageId,W=R[0]?.KeyName,le=H.find(e=>e.endsWith(`.nano`))??H[0],ue=P(L.find(e=>e.ImageId===U)),{control:G,handleSubmit:de,register:K,setValue:q,watch:J,formState:{errors:Y,isSubmitting:X}}=E({resolver:D(O.refine(e=>e.count<=(V[e.instanceType]??1),{message:`Cannot exceed available capacity`,path:[`count`]}).superRefine((e,t)=>{let n=P(L.find(t=>t.ImageId===e.imageId)).snapshotSize;e.rootVolumeSize!==void 0&&n!==void 0&&e.rootVolumeSizee.ImageId===Q));return(0,A.useEffect)(()=>{q(`rootDeviceName`,$.deviceName)},[Q,$.deviceName,q]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),(0,j.jsx)(ee,{title:`Run EC2 Instances`}),H.length===0&&(0,j.jsx)(e,{msg:`No compute available. No new instances can be created until compute is available.`}),I.error&&(0,j.jsx)(e,{error:I.error,msg:`Failed to create instance`}),(0,j.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:de(async e=>{await I.mutateAsync(e),f({to:`/ec2/describe-instances`})}),children:[(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`imageId`,children:`Image`})}),(0,j.jsx)(T,{control:G,name:`imageId`,render:({field:e})=>{let t=L.find(t=>t.ImageId===e.value);return(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value??``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.imageId,className:`w-full`,id:`imageId`,children:(0,j.jsx)(i,{children:t?`${t.Name??`Unnamed`} (${t.Architecture})`:``})}),(0,j.jsx)(o,{children:L.map(e=>(0,j.jsxs)(s,{value:e.ImageId??``,children:[e.Name??`Unnamed`,` (`,e.Architecture,`)`]},e.ImageId))})]})}}),(0,j.jsx)(C,{errors:[Y.imageId]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`instanceType`,children:`Instance Type`})}),(0,j.jsx)(T,{control:G,name:`instanceType`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value||``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.instanceType,className:`w-full`,id:`instanceType`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:H.map(e=>(0,j.jsxs)(s,{value:e,children:[e,` (`,V[e],` available)`]},e))})]})}),(0,j.jsx)(C,{errors:[Y.instanceType]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`keyName`,children:`Key Pair`})}),(0,j.jsx)(T,{control:G,name:`keyName`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value||``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.keyName,className:`w-full`,id:`keyName`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:R.map(e=>(0,j.jsx)(s,{value:e.KeyName??``,children:e.KeyName},e.KeyPairId))})]})}),(0,j.jsx)(C,{errors:[Y.keyName]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`subnetId`,children:`Subnet`})}),(0,j.jsx)(T,{control:G,name:`subnetId`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t===`none`?void 0:t),value:e.value??`none`,children:[(0,j.jsx)(a,{className:`w-full`,id:`subnetId`,children:(0,j.jsx)(i,{})}),(0,j.jsxs)(o,{children:[(0,j.jsx)(s,{value:`none`,children:`none`}),z.map(e=>(0,j.jsx)(s,{value:e.SubnetId??``,children:e.SubnetId},e.SubnetId))]})]})})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`placementGroupName`,children:`Placement Group`})}),(0,j.jsx)(T,{control:G,name:`placementGroupName`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t===`none`?void 0:t),value:e.value??`none`,children:[(0,j.jsx)(a,{className:`w-full`,id:`placementGroupName`,children:(0,j.jsx)(i,{})}),(0,j.jsxs)(o,{children:[(0,j.jsx)(s,{value:`none`,children:`none`}),B.map(e=>(0,j.jsxs)(s,{value:e.GroupName??``,children:[e.GroupName,` (`,e.Strategy,`)`]},e.GroupId))]})]})})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`count`,children:`Number of Instances`})}),(0,j.jsx)(x,{"aria-describedby":`count-description`,"aria-invalid":!!Y.count,id:`count`,type:`number`,...K(`count`,{valueAsNumber:!0})}),(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground`,id:`count-description`,children:Z&&`Available capacity for ${Z}: ${fe}`}),(0,j.jsx)(C,{errors:[Y.count]})]}),(0,j.jsxs)(ie,{children:[(0,j.jsxs)(re,{className:`group flex h-7 w-full items-center justify-between rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none hover:bg-input/40 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 md:text-xs/relaxed dark:bg-input/30 dark:hover:bg-input/50`,render:(0,j.jsx)(`button`,{"aria-label":`Block Device Mappings (root volume)`,type:`button`}),children:[(0,j.jsx)(`span`,{children:`Block Device Mappings (root volume)`}),(0,j.jsx)(r,{className:`size-3.5 text-muted-foreground transition-transform group-data-[panel-open]:rotate-180`})]}),(0,j.jsxs)(ne,{className:`mt-3 space-y-4 rounded-md border border-border p-4`,children:[(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootDeviceName`,children:`Device Name`})}),(0,j.jsx)(x,{"aria-invalid":!!Y.rootDeviceName,id:`rootDeviceName`,type:`text`,...K(`rootDeviceName`)}),(0,j.jsx)(C,{errors:[Y.rootDeviceName]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootVolumeSize`,children:`Volume Size (GiB)`})}),(0,j.jsx)(x,{"aria-invalid":!!Y.rootVolumeSize,id:`rootVolumeSize`,max:se,min:$.snapshotSize??oe,placeholder:$.snapshotSize?`${$.snapshotSize} (AMI default)`:`use AMI / backend default`,type:`number`,...K(`rootVolumeSize`,{setValueAs:e=>e===``||e==null?void 0:Number(e)})}),$.snapshotSize!==void 0&&(0,j.jsxs)(te,{children:[`AMI snapshot size: `,$.snapshotSize,` GiB`]}),(0,j.jsx)(C,{errors:[Y.rootVolumeSize]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootVolumeType`,children:`Volume Type`})}),(0,j.jsx)(T,{control:G,name:`rootVolumeType`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value??ae,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.rootVolumeType,className:`w-full`,id:`rootVolumeType`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:k.map(e=>(0,j.jsx)(s,{value:e,children:e},e))})]})}),(0,j.jsx)(C,{errors:[Y.rootVolumeType]})]}),(0,j.jsx)(w,{children:(0,j.jsx)(T,{control:G,name:`rootDeleteOnTermination`,render:({field:e})=>(0,j.jsxs)(`label`,{className:`flex items-center gap-2 text-sm`,children:[(0,j.jsx)(`input`,{"aria-label":`Delete on termination`,checked:e.value??!0,onChange:t=>e.onChange(t.target.checked),type:`checkbox`}),`Delete on termination`]})})})]})]}),(0,j.jsx)(l,{commands:ce(J)}),(0,j.jsxs)(`div`,{className:`flex gap-2`,children:[(0,j.jsx)(b,{disabled:X||I.isPending,onClick:async()=>await f({to:`/ec2/describe-instances`}),type:`button`,variant:`outline`,children:`Cancel`}),(0,j.jsx)(b,{disabled:X||I.isPending||H.length===0,type:`submit`,children:X||I.isPending?`Creating…`:`Create Instance`})]})]})]})}function P(e){let t=e?.RootDeviceName??M,n=e?.BlockDeviceMappings??[];return{deviceName:t,snapshotSize:(n.find(e=>e.DeviceName===t)??n[0])?.Ebs?.VolumeSize}}function ce(e){let t=e(`imageId`),n=typeof t==`string`?t:``,r=e(`instanceType`),i=typeof r==`string`?r:``,a=e(`keyName`),o=typeof a==`string`?a:``,s=e(`subnetId`),c=typeof s==`string`?s:``,l=e(`placementGroupName`),u=typeof l==`string`?l:``,d=e(`count`),f=typeof d==`number`?d:0,p=e(`rootDeviceName`),m=typeof p==`string`?p:``,h=e(`rootVolumeSize`),g=typeof h==`number`?h:void 0,_=e(`rootVolumeType`),v=typeof _==`string`?_:``,y=e(`rootDeleteOnTermination`),b=typeof y==`boolean`?y:!0,x=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 run-instances`},{type:`flag`,value:` \\ +import{t as e}from"./error-banner.js";import{t}from"./useSuspenseQuery.js";import{t as n}from"./back-link.js";import{t as r}from"./chevron-down.js";import{a as i,i as a,n as o,r as s,t as c}from"./select.js";import{t as l}from"./cli-command-panel.js";import{o as u}from"./ec2.js";import{B as d,Do as f,G as p,Q as m,R as h,U as g,co as _,ro as v,so as y,ya as b,yi as x}from"./index.js";import{t as ee}from"./page-heading.js";import{a as S,n as te,r as C,t as w}from"./field.js";import{n as T,r as E,t as D}from"./zod.js";import{n as ne,r as re,t as ie}from"./collapsible.js";import{n as O,t as k}from"./ec22.js";var A=f(_()),j=y(),M=`/dev/sda1`,ae=`gp3`,oe=1,se=16384;function N(){let f=v(),{data:_}=t(h),{data:y}=t(g),{data:M}=t(d),{data:N}=t(m),{data:F}=t(p),I=u(),L=_.Images??[],R=y.KeyPairs??[],z=N.Subnets??[],B=F.PlacementGroups??[],V={};for(let e of M.InstanceTypes??[]){let t=e.InstanceType;t&&(V[t]=(V[t]??0)+1)}let H=Object.keys(V).toSorted(),U=L[0]?.ImageId,W=R[0]?.KeyName,le=H.find(e=>e.endsWith(`.nano`))??H[0],ue=P(L.find(e=>e.ImageId===U)),{control:G,handleSubmit:de,register:K,setValue:q,watch:J,formState:{errors:Y,isSubmitting:X}}=E({resolver:D(O.refine(e=>e.count<=(V[e.instanceType]??1),{message:`Cannot exceed available capacity`,path:[`count`]}).superRefine((e,t)=>{let n=P(L.find(t=>t.ImageId===e.imageId)).snapshotSize;e.rootVolumeSize!==void 0&&n!==void 0&&e.rootVolumeSizee.ImageId===Q));return(0,A.useEffect)(()=>{q(`rootDeviceName`,$.deviceName)},[Q,$.deviceName,q]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(n,{to:`/ec2/describe-instances`,children:`Back to instances`}),(0,j.jsx)(ee,{title:`Run Instances`}),H.length===0&&(0,j.jsx)(e,{msg:`No compute available. No new instances can be created until compute is available.`}),I.error&&(0,j.jsx)(e,{error:I.error,msg:`Failed to create instance`}),(0,j.jsxs)(`form`,{className:`max-w-4xl space-y-6`,onSubmit:de(async e=>{await I.mutateAsync(e),f({to:`/ec2/describe-instances`})}),children:[(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`imageId`,children:`Image`})}),(0,j.jsx)(T,{control:G,name:`imageId`,render:({field:e})=>{let t=L.find(t=>t.ImageId===e.value);return(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value??``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.imageId,className:`w-full`,id:`imageId`,children:(0,j.jsx)(i,{children:t?`${t.Name??`Unnamed`} (${t.Architecture})`:``})}),(0,j.jsx)(o,{children:L.map(e=>(0,j.jsxs)(s,{value:e.ImageId??``,children:[e.Name??`Unnamed`,` (`,e.Architecture,`)`]},e.ImageId))})]})}}),(0,j.jsx)(C,{errors:[Y.imageId]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`instanceType`,children:`Instance Type`})}),(0,j.jsx)(T,{control:G,name:`instanceType`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value||``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.instanceType,className:`w-full`,id:`instanceType`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:H.map(e=>(0,j.jsxs)(s,{value:e,children:[e,` (`,V[e],` available)`]},e))})]})}),(0,j.jsx)(C,{errors:[Y.instanceType]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`keyName`,children:`Key Pair`})}),(0,j.jsx)(T,{control:G,name:`keyName`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value||``,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.keyName,className:`w-full`,id:`keyName`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:R.map(e=>(0,j.jsx)(s,{value:e.KeyName??``,children:e.KeyName},e.KeyPairId))})]})}),(0,j.jsx)(C,{errors:[Y.keyName]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`subnetId`,children:`Subnet`})}),(0,j.jsx)(T,{control:G,name:`subnetId`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t===`none`?void 0:t),value:e.value??`none`,children:[(0,j.jsx)(a,{className:`w-full`,id:`subnetId`,children:(0,j.jsx)(i,{})}),(0,j.jsxs)(o,{children:[(0,j.jsx)(s,{value:`none`,children:`none`}),z.map(e=>(0,j.jsx)(s,{value:e.SubnetId??``,children:e.SubnetId},e.SubnetId))]})]})})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`placementGroupName`,children:`Placement Group`})}),(0,j.jsx)(T,{control:G,name:`placementGroupName`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t===`none`?void 0:t),value:e.value??`none`,children:[(0,j.jsx)(a,{className:`w-full`,id:`placementGroupName`,children:(0,j.jsx)(i,{})}),(0,j.jsxs)(o,{children:[(0,j.jsx)(s,{value:`none`,children:`none`}),B.map(e=>(0,j.jsxs)(s,{value:e.GroupName??``,children:[e.GroupName,` (`,e.Strategy,`)`]},e.GroupId))]})]})})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`count`,children:`Number of Instances`})}),(0,j.jsx)(x,{"aria-describedby":`count-description`,"aria-invalid":!!Y.count,id:`count`,type:`number`,...K(`count`,{valueAsNumber:!0})}),(0,j.jsx)(`p`,{className:`text-xs text-muted-foreground`,id:`count-description`,children:Z&&`Available capacity for ${Z}: ${fe}`}),(0,j.jsx)(C,{errors:[Y.count]})]}),(0,j.jsxs)(ie,{children:[(0,j.jsxs)(re,{className:`group flex h-7 w-full items-center justify-between rounded-md border border-input bg-input/20 px-2 py-0.5 text-sm transition-colors outline-none hover:bg-input/40 focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/30 md:text-xs/relaxed dark:bg-input/30 dark:hover:bg-input/50`,render:(0,j.jsx)(`button`,{"aria-label":`Block Device Mappings (root volume)`,type:`button`}),children:[(0,j.jsx)(`span`,{children:`Block Device Mappings (root volume)`}),(0,j.jsx)(r,{className:`size-3.5 text-muted-foreground transition-transform group-data-[panel-open]:rotate-180`})]}),(0,j.jsxs)(ne,{className:`mt-3 space-y-4 rounded-md border border-border p-4`,children:[(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootDeviceName`,children:`Device Name`})}),(0,j.jsx)(x,{"aria-invalid":!!Y.rootDeviceName,id:`rootDeviceName`,type:`text`,...K(`rootDeviceName`)}),(0,j.jsx)(C,{errors:[Y.rootDeviceName]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootVolumeSize`,children:`Volume Size (GiB)`})}),(0,j.jsx)(x,{"aria-invalid":!!Y.rootVolumeSize,id:`rootVolumeSize`,max:se,min:$.snapshotSize??oe,placeholder:$.snapshotSize?`${$.snapshotSize} (AMI default)`:`use AMI / backend default`,type:`number`,...K(`rootVolumeSize`,{setValueAs:e=>e===``||e==null?void 0:Number(e)})}),$.snapshotSize!==void 0&&(0,j.jsxs)(te,{children:[`AMI snapshot size: `,$.snapshotSize,` GiB`]}),(0,j.jsx)(C,{errors:[Y.rootVolumeSize]})]}),(0,j.jsxs)(w,{children:[(0,j.jsx)(S,{children:(0,j.jsx)(`label`,{htmlFor:`rootVolumeType`,children:`Volume Type`})}),(0,j.jsx)(T,{control:G,name:`rootVolumeType`,render:({field:e})=>(0,j.jsxs)(c,{onValueChange:t=>e.onChange(t),value:e.value??ae,children:[(0,j.jsx)(a,{"aria-invalid":!!Y.rootVolumeType,className:`w-full`,id:`rootVolumeType`,children:(0,j.jsx)(i,{})}),(0,j.jsx)(o,{children:k.map(e=>(0,j.jsx)(s,{value:e,children:e},e))})]})}),(0,j.jsx)(C,{errors:[Y.rootVolumeType]})]}),(0,j.jsx)(w,{children:(0,j.jsx)(T,{control:G,name:`rootDeleteOnTermination`,render:({field:e})=>(0,j.jsxs)(`label`,{className:`flex items-center gap-2 text-sm`,children:[(0,j.jsx)(`input`,{"aria-label":`Delete on termination`,checked:e.value??!0,onChange:t=>e.onChange(t.target.checked),type:`checkbox`}),`Delete on termination`]})})})]})]}),(0,j.jsx)(l,{commands:ce(J)}),(0,j.jsxs)(`div`,{className:`flex gap-2`,children:[(0,j.jsx)(b,{disabled:X||I.isPending,onClick:async()=>await f({to:`/ec2/describe-instances`}),type:`button`,variant:`outline`,children:`Cancel`}),(0,j.jsx)(b,{disabled:X||I.isPending||H.length===0,type:`submit`,children:X||I.isPending?`Creating…`:`Create Instance`})]})]})]})}function P(e){let t=e?.RootDeviceName??M,n=e?.BlockDeviceMappings??[];return{deviceName:t,snapshotSize:(n.find(e=>e.DeviceName===t)??n[0])?.Ebs?.VolumeSize}}function ce(e){let t=e(`imageId`),n=typeof t==`string`?t:``,r=e(`instanceType`),i=typeof r==`string`?r:``,a=e(`keyName`),o=typeof a==`string`?a:``,s=e(`subnetId`),c=typeof s==`string`?s:``,l=e(`placementGroupName`),u=typeof l==`string`?l:``,d=e(`count`),f=typeof d==`number`?d:0,p=e(`rootDeviceName`),m=typeof p==`string`?p:``,h=e(`rootVolumeSize`),g=typeof h==`number`?h:void 0,_=e(`rootVolumeType`),v=typeof _==`string`?_:``,y=e(`rootDeleteOnTermination`),b=typeof y==`boolean`?y:!0,x=[{type:`bin`,value:`AWS_PROFILE=spinifex aws ec2 run-instances`},{type:`flag`,value:` \\ --image-id`},{type:`value`,value:` ${n||``}`},{type:`flag`,value:` \\ --instance-type`},{type:`value`,value:` ${i||``}`},{type:`flag`,value:` \\ --key-name`},{type:`value`,value:` ${o||``}`}];if(c&&x.push({type:`flag`,value:` \\ diff --git a/spinifex/services/spinifexui/frontend/dist/assets/service-metrics.js b/spinifex/services/spinifexui/frontend/dist/assets/service-metrics.js index 8863a436a..26f205990 100644 --- a/spinifex/services/spinifexui/frontend/dist/assets/service-metrics.js +++ b/spinifex/services/spinifexui/frontend/dist/assets/service-metrics.js @@ -1 +1 @@ -import{t as e}from"./useQuery.js";import{Bn as t,eo as n,io as r,so as i}from"./index.js";import{t as a}from"./page-heading.js";import{i as o,n as s}from"./admin.js";import{a as c,o as l,r as u,t as d}from"./card.js";var f=n(),p=i();function m(){let n=(0,f.c)(46),{isAdmin:i}=t(),m;n[0]===i?m=n[1]:(m={...s,enabled:i,refetchInterval:5e3},n[0]=i,n[1]=m);let{data:y}=e(m);if(!i)throw r({to:`/`});let x=y?.encoding,S;n[2]===y?.db_nodes?S=n[3]:(S=y?.db_nodes??[],n[2]=y?.db_nodes,n[3]=S);let C=S,w;n[4]===y?.shard_nodes?w=n[5]:(w=y?.shard_nodes??[],n[4]=y?.shard_nodes,n[5]=w);let T=w,E;n[6]===C?E=n[7]:(E=C.length>0&&C.every(g),n[6]=C,n[7]=E);let D=E,O;n[8]===C?O=n[9]:(O=C.some(h),n[8]=C,n[9]=O);let k=O,A;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,p.jsx)(a,{title:`S3 Service Metrics`}),n[10]=A):A=n[10];let j;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`Predastore (S3) Overview`})}),n[11]=j):j=n[11];let M;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Encoding`}),n[12]=M):M=n[12];let N;n[13]===x?N=n[14]:(N=(0,p.jsxs)(`div`,{children:[M,(0,p.jsx)(`div`,{className:`mt-1`,children:x?(0,p.jsxs)(o,{variant:`outline`,children:[x.type,` RS(`,x.data_shards,`,`,x.parity_shards,`)`]}):(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})})]}),n[13]=x,n[14]=N);let P;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`DB Nodes`}),n[15]=P):P=n[15];let F;n[16]===C.length?F=n[17]:(F=(0,p.jsxs)(`div`,{children:[P,(0,p.jsx)(`div`,{className:`mt-1 font-mono font-medium`,children:C.length})]}),n[16]=C.length,n[17]=F);let I;n[18]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Shard Nodes`}),n[18]=I):I=n[18];let L;n[19]===T.length?L=n[20]:(L=(0,p.jsxs)(`div`,{children:[I,(0,p.jsx)(`div`,{className:`mt-1 font-mono font-medium`,children:T.length})]}),n[19]=T.length,n[20]=L);let R;n[21]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Cluster Health`}),n[21]=R):R=n[21];let z;n[22]!==D||n[23]!==k||n[24]!==C.length?(z=(0,p.jsxs)(`div`,{children:[R,(0,p.jsx)(`div`,{className:`mt-1`,children:(0,p.jsx)(_,{nodeCount:C.length,allHealthy:D,anyUnhealthy:k})})]}),n[22]=D,n[23]=k,n[24]=C.length,n[25]=z):z=n[25];let B;n[26]!==F||n[27]!==L||n[28]!==z||n[29]!==N?(B=(0,p.jsxs)(`div`,{className:`grid grid-cols-2 gap-4 text-xs md:grid-cols-4`,children:[N,F,L,z]}),n[26]=F,n[27]=L,n[28]=z,n[29]=N,n[30]=B):B=n[30];let V;n[31]===x?V=n[32]:(V=x&&(0,p.jsxs)(`p`,{className:`mt-3 text-[0.625rem] text-muted-foreground`,children:[`Reed-Solomon erasure coding: `,x.data_shards,` data shards + `,x.parity_shards,` parity`,` `,x.parity_shards===1?`shard`:`shards`,`. Can tolerate `,x.parity_shards,` shard`,` `,x.parity_shards===1?`failure`:`failures`,` without data loss.`]}),n[31]=x,n[32]=V);let H;n[33]!==B||n[34]!==V?(H=(0,p.jsxs)(d,{children:[j,(0,p.jsxs)(u,{children:[B,V]})]}),n[33]=B,n[34]=V,n[35]=H):H=n[35];let U;n[36]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`DB Consensus Nodes (Raft)`})}),n[36]=U):U=n[36];let W;n[37]===C?W=n[38]:(W=(0,p.jsxs)(d,{children:[U,(0,p.jsx)(u,{children:C.length===0?(0,p.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,p.jsx)(v,{nodes:C})})]}),n[37]=C,n[38]=W);let G;n[39]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`Object Storage Shard Nodes`})}),n[39]=G):G=n[39];let K;n[40]===T?K=n[41]:(K=(0,p.jsxs)(d,{children:[G,(0,p.jsx)(u,{children:T.length===0?(0,p.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,p.jsx)(b,{nodes:T})})]}),n[40]=T,n[41]=K);let q;return n[42]!==H||n[43]!==W||n[44]!==K?(q=(0,p.jsxs)(p.Fragment,{children:[A,(0,p.jsxs)(`div`,{className:`space-y-6`,children:[H,W,K]})]}),n[42]=H,n[43]=W,n[44]=K,n[45]=q):q=n[45],q}function h(e){return!e.healthy}function g(e){return e.healthy}function _(e){let t=(0,f.c)(4),{nodeCount:n,allHealthy:r,anyUnhealthy:i}=e;if(n===0){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`secondary`,children:`Unknown`}),t[0]=e):e=t[0],e}if(r){let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`default`,children:`Healthy`}),t[1]=e):e=t[1],e}if(i){let e;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`destructive`,children:`Degraded`}),t[2]=e):e=t[2],e}let a;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,p.jsx)(o,{variant:`secondary`,children:`Unknown`}),t[3]=a):a=t[3],a}function v(e){let t=(0,f.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,p.jsx)(`thead`,{children:(0,p.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Host`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Port`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Health`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`State`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Leader`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Term`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Commit Index`}),(0,p.jsx)(`th`,{className:`pb-1 font-medium`,children:`Applied Index`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(y),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,p.jsx)(`div`,{className:`overflow-x-auto`,children:(0,p.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,p.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function y(e){return(0,p.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.id}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.port}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,p.jsx)(o,{variant:e.healthy?`default`:`destructive`,className:`text-[0.625rem]`,children:e.healthy?`Healthy`:`Unreachable`})}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.state?(0,p.jsx)(o,{variant:e.state===`Leader`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.state}):(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.leader??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.term??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.commit_index??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 font-mono`,children:e.applied_index??`-`})]},e.id)}function b(e){let t=(0,f.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,p.jsx)(`thead`,{children:(0,p.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Host`}),(0,p.jsx)(`th`,{className:`pb-1 font-medium`,children:`Port`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(x),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,p.jsx)(`div`,{className:`overflow-x-auto`,children:(0,p.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,p.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function x(e){return(0,p.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.id}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,p.jsx)(`td`,{className:`py-1.5 font-mono`,children:e.port})]},e.id)}export{m as component}; \ No newline at end of file +import{t as e}from"./useQuery.js";import{Bn as t,eo as n,io as r,so as i}from"./index.js";import{t as a}from"./page-heading.js";import{i as o,n as s}from"./admin.js";import{a as c,o as l,r as u,t as d}from"./card.js";var f=n(),p=i();function m(){let n=(0,f.c)(46),{isAdmin:i}=t(),m;n[0]===i?m=n[1]:(m={...s,enabled:i,refetchInterval:5e3},n[0]=i,n[1]=m);let{data:y}=e(m);if(!i)throw r({to:`/`});let x=y?.encoding,S;n[2]===y?.db_nodes?S=n[3]:(S=y?.db_nodes??[],n[2]=y?.db_nodes,n[3]=S);let C=S,w;n[4]===y?.shard_nodes?w=n[5]:(w=y?.shard_nodes??[],n[4]=y?.shard_nodes,n[5]=w);let T=w,E;n[6]===C?E=n[7]:(E=C.length>0&&C.every(g),n[6]=C,n[7]=E);let D=E,O;n[8]===C?O=n[9]:(O=C.some(h),n[8]=C,n[9]=O);let k=O,A;n[10]===Symbol.for(`react.memo_cache_sentinel`)?(A=(0,p.jsx)(a,{title:`Service Metrics`}),n[10]=A):A=n[10];let j;n[11]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`Predastore (S3) Overview`})}),n[11]=j):j=n[11];let M;n[12]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Encoding`}),n[12]=M):M=n[12];let N;n[13]===x?N=n[14]:(N=(0,p.jsxs)(`div`,{children:[M,(0,p.jsx)(`div`,{className:`mt-1`,children:x?(0,p.jsxs)(o,{variant:`outline`,children:[x.type,` RS(`,x.data_shards,`,`,x.parity_shards,`)`]}):(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})})]}),n[13]=x,n[14]=N);let P;n[15]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`DB Nodes`}),n[15]=P):P=n[15];let F;n[16]===C.length?F=n[17]:(F=(0,p.jsxs)(`div`,{children:[P,(0,p.jsx)(`div`,{className:`mt-1 font-mono font-medium`,children:C.length})]}),n[16]=C.length,n[17]=F);let I;n[18]===Symbol.for(`react.memo_cache_sentinel`)?(I=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Shard Nodes`}),n[18]=I):I=n[18];let L;n[19]===T.length?L=n[20]:(L=(0,p.jsxs)(`div`,{children:[I,(0,p.jsx)(`div`,{className:`mt-1 font-mono font-medium`,children:T.length})]}),n[19]=T.length,n[20]=L);let R;n[21]===Symbol.for(`react.memo_cache_sentinel`)?(R=(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`Cluster Health`}),n[21]=R):R=n[21];let z;n[22]!==D||n[23]!==k||n[24]!==C.length?(z=(0,p.jsxs)(`div`,{children:[R,(0,p.jsx)(`div`,{className:`mt-1`,children:(0,p.jsx)(_,{nodeCount:C.length,allHealthy:D,anyUnhealthy:k})})]}),n[22]=D,n[23]=k,n[24]=C.length,n[25]=z):z=n[25];let B;n[26]!==F||n[27]!==L||n[28]!==z||n[29]!==N?(B=(0,p.jsxs)(`div`,{className:`grid grid-cols-2 gap-4 text-xs md:grid-cols-4`,children:[N,F,L,z]}),n[26]=F,n[27]=L,n[28]=z,n[29]=N,n[30]=B):B=n[30];let V;n[31]===x?V=n[32]:(V=x&&(0,p.jsxs)(`p`,{className:`mt-3 text-[0.625rem] text-muted-foreground`,children:[`Reed-Solomon erasure coding: `,x.data_shards,` data shards + `,x.parity_shards,` parity`,` `,x.parity_shards===1?`shard`:`shards`,`. Can tolerate `,x.parity_shards,` shard`,` `,x.parity_shards===1?`failure`:`failures`,` without data loss.`]}),n[31]=x,n[32]=V);let H;n[33]!==B||n[34]!==V?(H=(0,p.jsxs)(d,{children:[j,(0,p.jsxs)(u,{children:[B,V]})]}),n[33]=B,n[34]=V,n[35]=H):H=n[35];let U;n[36]===Symbol.for(`react.memo_cache_sentinel`)?(U=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`DB Consensus Nodes (Raft)`})}),n[36]=U):U=n[36];let W;n[37]===C?W=n[38]:(W=(0,p.jsxs)(d,{children:[U,(0,p.jsx)(u,{children:C.length===0?(0,p.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,p.jsx)(v,{nodes:C})})]}),n[37]=C,n[38]=W);let G;n[39]===Symbol.for(`react.memo_cache_sentinel`)?(G=(0,p.jsx)(c,{children:(0,p.jsx)(l,{className:`text-sm`,children:`Object Storage Shard Nodes`})}),n[39]=G):G=n[39];let K;n[40]===T?K=n[41]:(K=(0,p.jsxs)(d,{children:[G,(0,p.jsx)(u,{children:T.length===0?(0,p.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`No data`}):(0,p.jsx)(b,{nodes:T})})]}),n[40]=T,n[41]=K);let q;return n[42]!==H||n[43]!==W||n[44]!==K?(q=(0,p.jsxs)(p.Fragment,{children:[A,(0,p.jsxs)(`div`,{className:`space-y-6`,children:[H,W,K]})]}),n[42]=H,n[43]=W,n[44]=K,n[45]=q):q=n[45],q}function h(e){return!e.healthy}function g(e){return e.healthy}function _(e){let t=(0,f.c)(4),{nodeCount:n,allHealthy:r,anyUnhealthy:i}=e;if(n===0){let e;return t[0]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`secondary`,children:`Unknown`}),t[0]=e):e=t[0],e}if(r){let e;return t[1]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`default`,children:`Healthy`}),t[1]=e):e=t[1],e}if(i){let e;return t[2]===Symbol.for(`react.memo_cache_sentinel`)?(e=(0,p.jsx)(o,{variant:`destructive`,children:`Degraded`}),t[2]=e):e=t[2],e}let a;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,p.jsx)(o,{variant:`secondary`,children:`Unknown`}),t[3]=a):a=t[3],a}function v(e){let t=(0,f.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,p.jsx)(`thead`,{children:(0,p.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Host`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Port`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Health`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`State`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Leader`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Term`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Commit Index`}),(0,p.jsx)(`th`,{className:`pb-1 font-medium`,children:`Applied Index`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(y),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,p.jsx)(`div`,{className:`overflow-x-auto`,children:(0,p.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,p.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function y(e){return(0,p.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.id}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.port}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4`,children:(0,p.jsx)(o,{variant:e.healthy?`default`:`destructive`,className:`text-[0.625rem]`,children:e.healthy?`Healthy`:`Unreachable`})}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4`,children:e.state?(0,p.jsx)(o,{variant:e.state===`Leader`?`default`:`secondary`,className:`text-[0.625rem]`,children:e.state}):(0,p.jsx)(`span`,{className:`text-muted-foreground`,children:`-`})}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.leader??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.term??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.commit_index??`-`}),(0,p.jsx)(`td`,{className:`py-1.5 font-mono`,children:e.applied_index??`-`})]},e.id)}function b(e){let t=(0,f.c)(5),{nodes:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,p.jsx)(`thead`,{children:(0,p.jsxs)(`tr`,{className:`border-b text-left text-muted-foreground`,children:[(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Node`}),(0,p.jsx)(`th`,{className:`pr-4 pb-1 font-medium`,children:`Host`}),(0,p.jsx)(`th`,{className:`pb-1 font-medium`,children:`Port`})]})}),t[0]=r):r=t[0];let i;t[1]===n?i=t[2]:(i=n.map(x),t[1]=n,t[2]=i);let a;return t[3]===i?a=t[4]:(a=(0,p.jsx)(`div`,{className:`overflow-x-auto`,children:(0,p.jsxs)(`table`,{className:`w-full text-xs`,children:[r,(0,p.jsx)(`tbody`,{children:i})]})}),t[3]=i,t[4]=a),a}function x(e){return(0,p.jsxs)(`tr`,{className:`border-b last:border-0`,children:[(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono font-medium`,children:e.id}),(0,p.jsx)(`td`,{className:`py-1.5 pr-4 font-mono`,children:e.host}),(0,p.jsx)(`td`,{className:`py-1.5 font-mono`,children:e.port})]},e.id)}export{m as component}; \ No newline at end of file diff --git a/spinifex/services/spinifexui/frontend/src/components/admin-dashboard-panel.tsx b/spinifex/services/spinifexui/frontend/src/components/admin-dashboard-panel.tsx index 361d2b537..6f409bb96 100644 --- a/spinifex/services/spinifexui/frontend/src/components/admin-dashboard-panel.tsx +++ b/spinifex/services/spinifexui/frontend/src/components/admin-dashboard-panel.tsx @@ -136,7 +136,7 @@ export function AdminDashboardPanel() { {nodes.length}
- EC2 Instances + Instances {vms.length}
diff --git a/spinifex/services/spinifexui/frontend/src/layouts/sidebar-layout.tsx b/spinifex/services/spinifexui/frontend/src/layouts/sidebar-layout.tsx index 4e3fa06a4..f9435495b 100644 --- a/spinifex/services/spinifexui/frontend/src/layouts/sidebar-layout.tsx +++ b/spinifex/services/spinifexui/frontend/src/layouts/sidebar-layout.tsx @@ -116,7 +116,7 @@ export function SidebarLayout() { pathname.startsWith("/ec2/describe-instances") || pathname.startsWith("/ec2/run-instances") } - tooltip="EC2 Instances" + tooltip="Instances" > Instances diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/$id.tsx index 5ea69fb14..b6d922f9b 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/$id.tsx @@ -47,7 +47,7 @@ function ImageDetail() {
} - subtitle="EC2 Image Details" + subtitle="Image Details" title={image.ImageId} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/index.tsx index d6632c900..424a8a4da 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(images)/describe-images/index.tsx @@ -31,7 +31,7 @@ function Images() { return ( <> - + {images.length > 0 ? (
diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/$id.tsx index 8706bb0e7..311a8195a 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/$id.tsx @@ -192,7 +192,7 @@ function InstanceDetail() {
} - subtitle="EC2 Instance Details" + subtitle="Instance Details" title={instance.InstanceId} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/index.tsx index f281717d7..4f87a9097 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/describe-instances/index.tsx @@ -57,7 +57,7 @@ function Ec2() { } - title="EC2 Instances" + title="Instances" /> {instances.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/run-instances.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/run-instances.tsx index eb002eb29..81a5526fe 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/run-instances.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(instances)/run-instances.tsx @@ -173,7 +173,7 @@ function CreateInstance() { return ( <> Back to instances - + {/* Handle error when no instance types available */} {uniqueInstanceTypes.length === 0 && ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/$id.tsx index cb6f06aab..bee166675 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/$id.tsx @@ -82,7 +82,7 @@ function KeyPairDetail() { Delete } - subtitle="EC2 Key Pair Details" + subtitle="Key Pair Details" title={keyPair.KeyName ?? ""} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/index.tsx index 7bfb5f3c8..095632823 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(key)/describe-key-pairs/index.tsx @@ -43,7 +43,7 @@ function KeyPairs() {
} - title="EC2 Key Pairs" + title="Key Pairs" /> {keyPairs.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx index d96d8dc63..e6eda2bd3 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/create-load-balancer-page.tsx @@ -224,7 +224,7 @@ export function CreateLoadBalancerPage() { Back to load balancers - + {wizardMutation.error && ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/load-balancer-detail-page.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/load-balancer-detail-page.tsx index 91f145310..a67eee228 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/load-balancer-detail-page.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/-components/load-balancer-detail-page.tsx @@ -113,7 +113,7 @@ export function LoadBalancerDetailPage({ arn }: Props) {
} - subtitle="Load balancer details" + subtitle="Load Balancer Details" title={lb.LoadBalancerName ?? lb.LoadBalancerArn} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/create-load-balancer.test.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/create-load-balancer.test.tsx index 54a90ebd1..e13f2eede 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/create-load-balancer.test.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(load-balancers)/create-load-balancer.test.tsx @@ -147,7 +147,7 @@ describe("create-load-balancer route", () => { await selectSubnets(user) await user.click( - screen.getByRole("button", { name: "Create load balancer" }), + screen.getByRole("button", { name: "Create Load Balancer" }), ) await waitFor(() => { @@ -198,7 +198,7 @@ describe("create-load-balancer route", () => { await user.click(tgItem) await user.click( - screen.getByRole("button", { name: "Create load balancer" }), + screen.getByRole("button", { name: "Create Load Balancer" }), ) await waitFor(() => { @@ -246,7 +246,7 @@ describe("create-load-balancer route", () => { await selectSubnets(user) await user.click( - screen.getByRole("button", { name: "Create load balancer" }), + screen.getByRole("button", { name: "Create Load Balancer" }), ) await expect( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/$id.tsx index 2e635c68d..2f3bb5259 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/$id.tsx @@ -104,7 +104,7 @@ function PlacementGroupDetail() { } - subtitle="EC2 Placement Group Details" + subtitle="Placement Group Details" title={pg.GroupName ?? pg.GroupId} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/index.tsx index a28fcd8c4..5a31c1f51 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(placement-groups)/describe-placement-groups/index.tsx @@ -37,7 +37,7 @@ function PlacementGroups() { } - title="EC2 Placement Groups" + title="Placement Groups" /> {placementGroups.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/$id.tsx index c25418684..496c05f2b 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/$id.tsx @@ -136,7 +136,7 @@ function SnapshotDetail() { } - subtitle="EC2 Snapshot Details" + subtitle="Snapshot Details" title={snapshot.SnapshotId} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/index.tsx index ed32657d6..a1516c4a0 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(snapshots)/describe-snapshots/index.tsx @@ -37,7 +37,7 @@ function Snapshots() { } - title="EC2 Snapshots" + title="Snapshots" /> {snapshots.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/create-target-group-page.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/create-target-group-page.tsx index 068d5b237..f8050713b 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/create-target-group-page.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/create-target-group-page.tsx @@ -77,7 +77,7 @@ export function CreateTargetGroupPage() { Back to target groups - + {createMutation.error && ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/target-group-detail-page.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/target-group-detail-page.tsx index c90fea727..6d3c8dd7b 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/target-group-detail-page.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/-components/target-group-detail-page.tsx @@ -95,7 +95,7 @@ export function TargetGroupDetailPage({ arn }: Props) { Delete } - subtitle="Target group details" + subtitle="Target Group Details" title={tg.TargetGroupName ?? tg.TargetGroupArn} /> @@ -223,7 +223,7 @@ export function TargetGroupDetailPage({ arn }: Props) { onConfirm={handleDelete} onOpenChange={setShowDeleteDialog} open={showDeleteDialog} - title="Delete target group" + title="Delete Target Group" /> ) diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/create-target-group.test.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/create-target-group.test.tsx index de4d0144b..29dd5fb3f 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/create-target-group.test.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/create-target-group.test.tsx @@ -89,7 +89,7 @@ describe("create-target-group route", () => { await expect(screen.findByLabelText("Name")).resolves.toBeInTheDocument() await user.type(screen.getByLabelText("Name"), "my-tg") await user.click( - screen.getByRole("button", { name: "Create target group" }), + screen.getByRole("button", { name: "Create Target Group" }), ) await waitFor(() => { @@ -119,7 +119,7 @@ describe("create-target-group route", () => { setup() await user.click( - screen.getByRole("button", { name: "Create target group" }), + screen.getByRole("button", { name: "Create Target Group" }), ) await expect( @@ -139,7 +139,7 @@ describe("create-target-group route", () => { await user.type(screen.getByLabelText("Name"), "my-tg") await user.click( - screen.getByRole("button", { name: "Create target group" }), + screen.getByRole("button", { name: "Create Target Group" }), ) await expect( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/describe-target-groups/$id.test.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/describe-target-groups/$id.test.tsx index 05a3b7a22..d89231703 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/describe-target-groups/$id.test.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(target-groups)/describe-target-groups/$id.test.tsx @@ -118,7 +118,7 @@ describe("target-group detail route", () => { renderWithClient(, seed()) expect(screen.getByText("my-tg")).toBeInTheDocument() - expect(screen.getByText("Target group details")).toBeInTheDocument() + expect(screen.getByText("Target Group Details")).toBeInTheDocument() expect(screen.getByText(TG_ARN)).toBeInTheDocument() expect(screen.getByText("instance")).toBeInTheDocument() }) diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx index b8cdca0a7..688634ee8 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/$id.tsx @@ -214,7 +214,7 @@ function VolumeDetail() { } - subtitle="EC2 Volume Details" + subtitle="Volume Details" title={volume.VolumeId} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/index.tsx index 5deebbf09..84ef4ff37 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/ec2/(volumes)/describe-volumes/index.tsx @@ -35,7 +35,7 @@ function Volumes() { } - title="EC2 Volumes" + title="Volumes" /> {volumes.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/$policyArn.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/$policyArn.tsx index 523bf5509..ec6e4286f 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/$policyArn.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/$policyArn.tsx @@ -106,7 +106,7 @@ function PolicyDetail() { Delete } - subtitle="IAM Policy Details" + subtitle="Policy Details" title={policy.PolicyName ?? ""} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/index.tsx index cba7d9bff..9df99290c 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(policies)/list-policies/index.tsx @@ -34,7 +34,7 @@ function Policies() { } - title="IAM Policies" + title="Policies" /> {policies.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/$userName.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/$userName.tsx index 88bdf7bff..ba0f1020e 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/$userName.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/$userName.tsx @@ -204,7 +204,7 @@ function UserDetail() { Delete } - subtitle="IAM User Details" + subtitle="User Details" title={user.UserName ?? ""} /> diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/index.tsx index e741bb78a..446ea1db3 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/iam/(users)/list-users/index.tsx @@ -34,7 +34,7 @@ function Users() { } - title="IAM Users" + title="Users" /> {users.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/nodes.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/nodes.tsx index 44d1c1c76..1ae4b0083 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/nodes.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/nodes.tsx @@ -8,7 +8,6 @@ import { useAdmin } from "@/contexts/admin-context" import { adminNodesQueryOptions, adminVMsQueryOptions, - type InstanceTypeCap, type NodeInfo, type VMInfo, } from "@/queries/admin" @@ -93,9 +92,6 @@ function NodesPage() { } } } - const instanceTypes = [...typeMap.entries()] - .map(([name, data]) => ({ name, ...data })) - .toSorted((a, b) => a.name.localeCompare(b.name)) return ( <> @@ -146,14 +142,6 @@ function NodesPage() { ) : ( <> - {instanceTypes.length > 0 && ( - <> -

- Instance Type Capacity -

- - - )} )} @@ -299,34 +287,3 @@ function ResourceTable({ nodes }: { nodes: NodeInfo[] }) { ) } - -function InstanceTypesTable({ - instanceTypes, -}: { - instanceTypes: InstanceTypeCap[] -}) { - return ( -
- - - - - - - - - - - {instanceTypes.map((it) => ( - - - - - - - ))} - -
Instance TypeAvailablevCPUMemory
{it.name}{it.available}{it.vcpu}{formatMemory(it.memory_gb)}
-
- ) -} diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/ls/index.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/ls/index.tsx index 78d41b7e0..6489337ff 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/ls/index.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/ls/index.tsx @@ -35,7 +35,7 @@ function Buckets() { } - title="S3 Buckets" + title="Buckets" /> {buckets.length > 0 ? ( diff --git a/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/service-metrics.tsx b/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/service-metrics.tsx index 3c51ebe2c..1ebcda6bf 100644 --- a/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/service-metrics.tsx +++ b/spinifex/services/spinifexui/frontend/src/routes/_auth/s3/service-metrics.tsx @@ -13,7 +13,7 @@ import { export const Route = createFileRoute("/_auth/s3/service-metrics")({ head: () => ({ - meta: [{ title: "Service Metrics | Mulga" }], + meta: [{ title: "Service Metrics | S3 | Mulga" }], }), component: ServiceMetricsPage, }) @@ -39,7 +39,7 @@ function ServiceMetricsPage() { return ( <> - +
{/* Section 1: Storage Overview */}