@deslop/auth 0.1.1365 → 0.1.1366

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t,n,o as r,r as i}from"./react-DLGSahv8.js";import{$r as a,A as o,Ar as s,Et as c,F as l,I as u,Kr as d,Lr as f,Ot as p,Qr as m,Rr as h,W as g,Yr as _,_i as v,ai as y,ci as b,ei as x,hi as S,ii as C,j as w,jr as T,ni as E,oi as D,pi as O,q as k,si as A}from"./effect-CpFeHtCH.js";import{C as j,D as M,T as N,b as P,f as F,i as I,m as L,p as R,r as ee,s as te,t as z,v as ne,y as re}from"./index--ltVrWJm.js";import{n as ie,t as B}from"./clock-B53uDHKr.js";import{t as ae}from"./format-D3RX-ejB.js";import{A as oe,g as V,l as se,p as H,r as U,t as W}from"./dist-BPRUA1hI.js";import{D as ce,H as le,I as ue,K as de,Q as fe,R as pe,a as me,b as G,i as K,n as he,r as ge,s as _e}from"./app-bar-AyDDCxvi.js";import{A as ve,B as ye,C as be,D as xe,E as Se,F as Ce,G as we,H as Te,I as Ee,J as De,K as q,L as Oe,M as ke,N as Ae,O as je,P as Me,Q as Ne,R as Pe,S as Fe,T as Ie,U as Le,V as Re,W as ze,X as Be,Y as Ve,Z as He,_ as Ue,a as We,b as J,d as Ge,f as Ke,g as qe,h as Je,i as Ye,j as Xe,k as Ze,l as Qe,m as $e,n as et,o as tt,p as nt,q as rt,r as it,s as at,t as ot,u as st,v as ct,w as lt,x as ut,y as dt,z as ft}from"./dropdown-menu-Dctt5sQd.js";var Y=e(r(),1),X=t(),pt=w(e=>l(t=>g(t(e))?D(_(t.self()),()=>A(t.once(B(`1 second`)))):y())),Z=i(),mt=R(`inline-block size-1.5 shrink-0 rounded-full`,{variants:{status:{error:`bg-destructive`,off:`border-muted-foreground border`,warning:`bg-warning`}}});function ht(e){let t=(0,X.c)(5),n=e.label,r=e.label,i;t[0]===e.status?i=t[1]:(i=mt({status:e.status}),t[0]=e.status,t[1]=i);let a;return t[2]!==e.label||t[3]!==i?(a=(0,Z.jsx)(`span`,{"data-slot":`status-dot`,role:`img`,"aria-label":n,title:r,className:i}),t[2]=e.label,t[3]=i,t[4]=a):a=t[4],a}var Q=Y.createContext(void 0);function $(e){let t=Y.useContext(Q);if(t===void 0&&!e)throw Error(H(47));return t}var gt=e(n(),1),_t={...J,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!J.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&J.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>J.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},vt=class extends Ae{constructor(e,t,n){let r=new ut;super(yt(e,r,t,n),bt(r),_t)}setOpen=(e,t)=>{let n=t.reason===ue,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=lt(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=Se(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),gt.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function yt(e,t,n,r=!1){let i={...dt(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function bt(e){return{popupRef:Y.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:Y.createRef(),beforeTriggerFocusGuardRef:Y.createRef(),beforeContentFocusGuardRef:Y.createRef(),stickIfOpenTimeout:new le,stickIfOpen:!0,triggerElements:e}}var xt=rt(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=Ct(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),Xe(u,d),xe(u);let{forceUnmount:m}=je(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),Y.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),Y.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,pe(ce))}),[m,u]);let h=d||f||s!=null;return(0,Z.jsxs)(Q.Provider,{value:u,children:[s&&(0,Z.jsx)(be,{handle:s,store:u}),h&&(0,Z.jsx)(wt,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function St(e){return $(!0)?(0,Z.jsx)(xt,{props:e}):(0,Z.jsx)(Re,{children:(0,Z.jsx)(xt,{props:e})})}function Ct(e,t){let n=ve((e,n)=>new vt(t,e,n));return Y.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function wt({store:e,modal:t}){let n=e.useState(`floatingRootContext`),r=Oe(n,{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),i=r.reference,a=r.floating;return Ze(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:a}),null}var Tt=De(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=$(!0),h=ct(s)??m;if(!h)throw Error(H(74));let g=G(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=Y.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=ke(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=Ce(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:Me(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=V(()=>h.context.stickIfOpen),k=Pe(v,{stickIfOpen:O}),A=qe(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),j=h.useState(`triggerProps`,C),{getButtonProps:M,buttonRef:N}=se({disabled:a,native:o}),P={open(e){return w?He.open(e):Ne.open(e)}},{handlePreFocusGuardFocus:F,handleFocusTargetFocus:I}=Ue(h,x),L=U(`button`,e,{state:{disabled:a,open:y},ref:[N,t,S,x],props:[k.reference,D,j,A,{[ze]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,M],stateAttributesMapping:P}),R=(0,Z.jsx)(Y.Fragment,{children:L},g);return E?(0,Z.jsxs)(Y.Fragment,{children:[(0,Z.jsx)(q,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:F}),R,(0,Z.jsx)(q,{ref:h.context.triggerFocusTargetRef,onFocus:I})]}):R}),Et=Y.createContext(void 0);function Dt(){let e=Y.useContext(Et);if(e===void 0)throw Error(H(45));return e}var Ot=Y.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return $().useState(`mounted`)||n?(0,Z.jsx)(Et.Provider,{value:n,children:(0,Z.jsx)(Le,{ref:t,...r})}):null}),kt=Y.createContext(void 0);function At(){let e=Y.useContext(kt);if(!e)throw Error(H(46));return e}var jt=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=we,..._}=e,v=$(),y=Dt(),b=Te(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),k=v.useState(`instantType`),A=v.useState(`transitionStatus`),j=v.useState(`adaptiveOrigin`),M=Je({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:j}),N=x.useState(`domReferenceElement`);nt({store:v,domReference:N,positionerElement:O,open:C});let P=E===!0&&w!==`trigger-hover`;st(C&&P,D===`touch`,O,T);let F=v.useStateSetter(`positionerElement`),I={open:C,side:M.side,align:M.align,anchorHidden:M.anchorHidden,instant:k},L=Ge(e,I,{styles:M.positionerStyles,transitionStatus:A,props:_,refs:[t,F],hidden:!S,inert:!C});return(0,Z.jsxs)(kt.Provider,{value:M,children:[S&&P&&(0,Z.jsx)($e,{inert:Ve(!C),cutout:T}),(0,Z.jsx)(ye,{id:b,children:L})]})}),Mt=Y.createContext(void 0);function Nt(){let[e,t]=Y.useState(0),n=V(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:Y.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var Pt=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=$(),l=At(),u=Qe(!0)!=null,{context:d,hasClosePart:f}=Nt(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),b=c.useState(`modal`),x=c.useState(`mounted`),S=c.useState(`openChangeReason`),C=c.useState(`activeTriggerElement`),w=c.useState(`floatingRootContext`),T=w.useState(`floatingId`),E=c.useState(`disabled`),D=c.useState(`openOnHover`),O=c.useState(`closeDelay`);de({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),Ee(w,{enabled:D&&!E,closeDelay:O});let k=a===void 0?Ie(c.context.popupRef):a,A=b!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M={open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},N=U(`div`,e,{state:M,ref:[t,c.context.popupRef,j],props:[_,{id:T,role:`dialog`,...Fe,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&_e.has(e.key)&&e.stopPropagation()}},Ke(g),s],stateAttributesMapping:Be});return(0,Z.jsx)(ft,{context:w,openInteractionType:m,modal:A,disabled:!x||S===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:oe(C)?C:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,Z.jsx)(Mt.Provider,{value:d,children:N})})}),Ft=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=$(),s=G(a.id);return o.useSyncedValueWithCleanup(`titleElementId`,s),U(`h2`,e,{ref:t,props:[{id:s},a]})});function It(e){let t=(0,X.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(St,{"data-slot":`popover`,...n}),t[2]=n,t[3]=r),r}function Lt(e){let t=(0,X.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Tt,{"data-slot":`popover-trigger`,...n}),t[2]=n,t[3]=r),r}function Rt(e){let t=(0,X.c)(18),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:n,align:i,alignOffset:a,side:o,sideOffset:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=i===void 0?`center`:i,l=a===void 0?0:a,u=o===void 0?`bottom`:o,d=s===void 0?4:s,f;t[7]===n?f=t[8]:(f=W(`z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-none bg-popover p-2.5 text-xs text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,n),t[7]=n,t[8]=f);let p;t[9]!==r||t[10]!==f?(p=(0,Z.jsx)(Pt,{"data-slot":`popover-content`,className:f,...r}),t[9]=r,t[10]=f,t[11]=p):p=t[11];let m;return t[12]!==c||t[13]!==l||t[14]!==u||t[15]!==d||t[16]!==p?(m=(0,Z.jsx)(Ot,{children:(0,Z.jsx)(jt,{align:c,alignOffset:l,side:u,sideOffset:d,className:`isolate z-50`,children:p})}),t[12]=c,t[13]=l,t[14]=u,t[15]=d,t[16]=p,t[17]=m):m=t[17],m}function zt(e){let t=(0,X.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=W(`flex flex-col gap-1 text-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`div`,{"data-slot":`popover-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bt(e){let t=(0,X.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=W(`text-sm font-medium`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Ft,{"data-slot":`popover-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Vt=w(e=>u(t=>v(e,s(e=>{let n=t(e);return!g(n)||x(k(n))?[]:b(t(pt(e)))}),f({onEmpty:()=>y(),onNonEmpty:e=>A(h(e,c))})),t=>T(e,e=>t(e)))),Ht=w(e=>{let t=l(e=>e.once(B(`1 second`)));return l(n=>ae(v(e,E(p),m(()=>n(t))),n(B(`1 second`))))});function Ut(e){let t=(0,X.c)(27),n=(0,Y.useId)(),r=e.since??n,i;t[0]===r?i=t[1]:(i=Ht(r),t[0]=r,t[1]=i);let a=M(i),[o,s]=(0,Y.useState)(!1),c=(0,Y.useRef)(null),l=(0,Y.useRef)(null),u=(0,Y.useRef)(!1),d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(e,t)=>{!e&&t.reason===`escape-key`&&(u.current=!0),!e&&t.reason===`trigger-press`?l.current?.focus():s(e)},t[2]=d):d=t[2];let f;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(F,{variant:`ghost`}),t[3]=f):f=t[3];let p,m;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=e=>{u.current?u.current=!1:e.currentTarget.matches(`:focus-visible`)&&c.current?.contains(e.relatedTarget)!==!0&&s(!0)},m=()=>{u.current=!1},t[4]=p,t[5]=m):(p=t[4],m=t[5]);let h;t[6]===e.label?h=t[7]:(h=(0,Z.jsx)(ht,{status:`warning`,label:e.label}),t[6]=e.label,t[7]=h);let g;t[8]===a?g=t[9]:(g=(0,Z.jsx)(`span`,{"aria-hidden":!0,className:`text-muted-foreground tabular-nums`,children:a}),t[8]=a,t[9]=g);let _;t[10]!==n||t[11]!==e.label||t[12]!==h||t[13]!==g?(_=(0,Z.jsxs)(Lt,{id:n,render:f,openOnHover:!0,delay:150,"aria-label":e.label,onFocus:p,onBlur:m,children:[h,g]}),t[10]=n,t[11]=e.label,t[12]=h,t[13]=g,t[14]=_):_=t[14];let v;t[15]===e.label?v=t[16]:(v=(0,Z.jsx)(zt,{children:(0,Z.jsx)(Bt,{children:e.label})}),t[15]=e.label,t[16]=v);let y;t[17]===e.reset?y=t[18]:(y=e.reset!==void 0&&(0,Z.jsxs)(F,{ref:l,variant:`outline`,size:`sm`,onClick:e.reset,children:[(0,Z.jsx)(L,{}),`Try again`]}),t[17]=e.reset,t[18]=y);let b;t[19]!==y||t[20]!==v?(b=(0,Z.jsxs)(Rt,{ref:c,initialFocus:!1,align:`end`,className:`w-auto`,children:[v,y]}),t[19]=y,t[20]=v,t[21]=b):b=t[21];let x;return t[22]!==n||t[23]!==o||t[24]!==b||t[25]!==_?(x=(0,Z.jsxs)(It,{open:o,triggerId:n,onOpenChange:d,children:[_,b]}),t[22]=n,t[23]=o,t[24]=b,t[25]=_,t[26]=x):x=t[26],x}function Wt(e){let t=(0,X.c)(11),n;t[0]===e.readers?n=t[1]:(n=Vt(e.readers),t[0]=e.readers,t[1]=n);let r=M(n),i;t[2]===e.readers?i=t[3]:(i=Vt(e.readers),t[2]=e.readers,t[3]=i);let a=N(i),o;if(t[4]!==e.label||t[5]!==a||t[6]!==r){let n;t[8]!==e.label||t[9]!==a?(n=t=>(0,Z.jsx)(Ut,{label:e.label,reset:a,since:t}),t[8]=e.label,t[9]=a,t[10]=n):n=t[10],o=C(r,{onNone:O,onSome:n}),t[4]=e.label,t[5]=a,t[6]=r,t[7]=o}else o=t[7];return o}function Gt(e){let t=(0,X.c)(2),n;return t[0]===e.children?n=t[1]:(n=(0,Z.jsx)(`main`,{className:`pb-safe-bottom relative flex min-h-0 flex-1 justify-center overflow-y-auto px-4 pt-4 sm:px-6 lg:px-8 lg:pt-6`,children:(0,Z.jsx)(`div`,{className:`flex min-h-full w-full max-w-160 flex-col gap-4 self-start`,children:e.children})}),t[0]=e.children,t[1]=n),n}function Kt(e){let t=(0,X.c)(12),n;t[0]===e.account?n=t[1]:(n=(0,Z.jsx)(at,{render:(0,Z.jsx)(he,{account:e.account})}),t[0]=e.account,t[1]=n);let r;t[2]===e.account.name?r=t[3]:(r=(0,Z.jsx)(it,{children:(0,Z.jsxs)(We,{children:[`@`,e.account.name]})}),t[2]=e.account.name,t[3]=r);let i;t[4]===e.account.signOut?i=t[5]:(i=e.account.signOut&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(tt,{}),(0,Z.jsx)(`form`,{action:`/sign-out`,method:`post`,children:(0,Z.jsx)(Ye,{variant:`destructive`,render:(0,Z.jsx)(`button`,{"aria-label":`Sign out`,type:`submit`}),children:`Sign out`})})]}),t[4]=e.account.signOut,t[5]=i);let a;t[6]!==r||t[7]!==i?(a=(0,Z.jsxs)(et,{align:`end`,className:`w-56`,children:[r,i]}),t[6]=r,t[7]=i,t[8]=a):a=t[8];let o;return t[9]!==n||t[10]!==a?(o=(0,Z.jsxs)(ot,{children:[n,a]}),t[9]=n,t[10]=a,t[11]=o):o=t[11],o}var qt=e=>{let t=(0,X.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z`,transform:`scale(64)`,fill:`#ffff`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(`svg`,{...e,viewBox:`0 0 1024 1024`,fill:`none`,children:n}),t[1]=e,t[2]=r),r},Jt=e=>{let t=(0,X.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fill:`#1b1f23`,fillRule:`evenodd`,d:`M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28s87.04 5.76 128 17.28c97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0`,clipRule:`evenodd`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(`svg`,{...e,viewBox:`0 0 1024 1024`,fill:`none`,children:n}),t[1]=e,t[2]=r),r},Yt=P(`/(home)`);function Xt(){let e=(0,X.c)(12),t=Yt.useSearch(),n;e[0]===t.next?n=e[1]:(n=()=>location.assign(`/sign-in?${new URLSearchParams({next:m(t.next,Zt)})}`),e[0]=t.next,e[1]=n);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(ie,{light:qt,dark:Jt}),e[2]=r):r=e[2];let i;e[3]===n?i=e[4]:(i=(0,Z.jsxs)(F,{size:`lg`,onClick:n,children:[r,`Continue with GitHub`]}),e[3]=n,e[4]=i);let o;e[5]===t.error?o=e[6]:(o=a(t.error),e[5]=t.error,e[6]=o);let s;e[7]===o?s=e[8]:(s=(0,Z.jsx)(fe,{children:o}),e[7]=o,e[8]=s);let c;return e[9]!==i||e[10]!==s?(c=(0,Z.jsxs)(`section`,{className:`m-auto flex w-full flex-col gap-5 sm:max-w-80`,"aria-label":`Sign in`,children:[i,s]}),e[9]=i,e[10]=s,e[11]=c):c=e[11],c}function Zt(){return location.origin}var Qt=`/assets/icon-CPvsBESP.svg`;function $t(e){let t=(0,X.c)(25),n=ne(),r;t[0]===n?r=t[1]:(r=n({to:`/people`}),t[0]=n,t[1]=r);let i=o(r!==!1,{onFalse:S(`/`),onTrue:S(`/people`)}),a;t[2]===e.account?a=t[3]:(a=C(e.account,{onNone:O,onSome:cn}),t[2]=e.account,t[3]=a);let s;if(t[4]!==e.account||t[5]!==i){let n;t[7]===i?n=t[8]:(n=()=>[z,{"/":I,"/people":ee}[i]],t[7]=i,t[8]=n),s=v(e.account,d(sn),o({onFalse:on,onTrue:n})),t[4]=e.account,t[5]=i,t[6]=s}else s=t[6];let c;t[9]===s?c=t[10]:(c=(0,Z.jsx)(Wt,{label:`Out of date`,readers:s}),t[9]=s,t[10]=c);let l;t[11]!==e.account||t[12]!==i?(l=d(e.account,an)&&(0,Z.jsxs)(me,{value:i,children:[(0,Z.jsx)(K,{value:`/`,render:(0,Z.jsx)(j,{to:`/`,search:{}}),children:`Sessions`}),(0,Z.jsx)(K,{value:`/people`,render:(0,Z.jsx)(j,{to:`/people`,search:{}}),children:`People`})]}),t[11]=e.account,t[12]=i,t[13]=l):l=t[13];let u;t[14]!==a||t[15]!==c||t[16]!==l?(u=(0,Z.jsx)(ge,{name:`auth`,icon:Qt,account:a,controls:c,tabs:l}),t[14]=a,t[15]=c,t[16]=l,t[17]=u):u=t[17];let f;t[18]===e.account?f=t[19]:(f=C(e.account,{onNone:rn,onSome:en}),t[18]=e.account,t[19]=f);let p;t[20]===f?p=t[21]:(p=(0,Z.jsx)(Gt,{children:f}),t[20]=f,t[21]=p);let m;return t[22]!==u||t[23]!==p?(m=(0,Z.jsxs)(Z.Fragment,{children:[u,p]}),t[22]=u,t[23]=p,t[24]=m):m=t[24],m}function en(e){return o(e.role===`Waiting`,{onFalse:nn,onTrue:tn})}function tn(){return(0,Z.jsx)(`p`,{className:`text-muted-foreground m-auto`,children:`Waiting for an admin`})}function nn(){return(0,Z.jsx)(re,{})}function rn(){return(0,Z.jsx)(Xt,{})}function an(e){return e.role===`Admin`}function on(){return[z]}function sn(e){return e.role!==`Waiting`}function cn(e){return(0,Z.jsx)(Kt,{account:e})}function ln(){let e=(0,X.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(Y.Suspense,{fallback:null,children:(0,Z.jsx)(te,{atom:z,children:un})}),e[0]=t):t=e[0],t}function un(e){return(0,Z.jsx)($t,{account:e})}export{ln as component};
1
+ import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{a as t,n,o as r,r as i}from"./react-CS2OHYTO.js";import{$r as a,A as o,Ar as s,Et as c,F as l,I as u,Kr as d,Lr as f,Ot as p,Qr as m,Rr as h,W as g,Yr as _,_i as v,ai as y,ci as b,ei as x,hi as S,ii as C,j as w,jr as T,ni as E,oi as D,pi as O,q as k,si as A}from"./effect-CpFeHtCH.js";import{C as j,D as M,T as N,b as P,f as F,i as I,m as L,p as R,r as ee,s as te,t as z,v as ne,y as re}from"./index-DASjbBg3.js";import{n as ie,t as B}from"./clock-UTIt25SD.js";import{t as ae}from"./format-D3RX-ejB.js";import{A as oe,g as V,l as se,p as H,r as U,t as W}from"./dist-CVGysgJT.js";import{D as ce,H as le,I as ue,K as de,Q as fe,R as pe,a as me,b as G,i as K,n as he,r as ge,s as _e}from"./app-bar-BSD_F-Rs.js";import{A as ve,B as ye,C as be,D as xe,E as Se,F as Ce,G as we,H as Te,I as Ee,J as De,K as q,L as Oe,M as ke,N as Ae,O as je,P as Me,Q as Ne,R as Pe,S as Fe,T as Ie,U as Le,V as Re,W as ze,X as Be,Y as Ve,Z as He,_ as Ue,a as We,b as J,d as Ge,f as Ke,g as qe,h as Je,i as Ye,j as Xe,k as Ze,l as Qe,m as $e,n as et,o as tt,p as nt,q as rt,r as it,s as at,t as ot,u as st,v as ct,w as lt,x as ut,y as dt,z as ft}from"./dropdown-menu-DuNIqsAZ.js";var Y=e(r(),1),X=t(),pt=w(e=>l(t=>g(t(e))?D(_(t.self()),()=>A(t.once(B(`1 second`)))):y())),Z=i(),mt=R(`inline-block size-1.5 shrink-0 rounded-full`,{variants:{status:{error:`bg-destructive`,off:`border-muted-foreground border`,warning:`bg-warning`}}});function ht(e){let t=(0,X.c)(5),n=e.label,r=e.label,i;t[0]===e.status?i=t[1]:(i=mt({status:e.status}),t[0]=e.status,t[1]=i);let a;return t[2]!==e.label||t[3]!==i?(a=(0,Z.jsx)(`span`,{"data-slot":`status-dot`,role:`img`,"aria-label":n,title:r,className:i}),t[2]=e.label,t[3]=i,t[4]=a):a=t[4],a}var Q=Y.createContext(void 0);function $(e){let t=Y.useContext(Q);if(t===void 0&&!e)throw Error(H(47));return t}var gt=e(n(),1),_t={...J,disabled:e=>e.disabled,instantType:e=>e.instantType===`trigger-change`&&!J.open(e)?void 0:e.instantType,openMethod:e=>e.openMethod,openChangeReason:e=>e.openChangeReason,isPressOpenedByTrigger:(e,t)=>e.openChangeReason===`trigger-press`&&J.isOpenedByTrigger(e,t),isTouchPressOpen:(e,t)=>t&&e.openMethod===`touch`&&e.openChangeReason===`trigger-press`,hasTriggerFocusGuards:(e,t)=>J.isOpenedByTrigger(e,t)&&!e.focusManagerModal,modal:e=>e.modal,titleElementId:e=>e.titleElementId,descriptionElementId:e=>e.descriptionElementId,openOnHover:e=>e.openOnHover,closeDelay:e=>e.closeDelay,adaptiveOrigin:e=>e.adaptiveOrigin},vt=class extends Ae{constructor(e,t,n){let r=new ut;super(yt(e,r,t,n),bt(r),_t)}setOpen=(e,t)=>{let n=t.reason===ue,r=t.reason===`trigger-press`&&t.event.detail===0,i=!e&&(t.reason===`escape-key`||t.reason==null),a=lt(t),o=this.select(`activeTriggerId`);if(!e&&t.reason===`close-press`&&t.trigger==null&&o!=null&&(t.trigger=this.context.triggerElements.getById(o)??this.select(`activeTriggerElement`)??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;this.state.floatingRootContext.dispatchOpenChange(e,t);let s=()=>{let n=Se(this.state,e,t.trigger,a());n.openChangeReason=t.reason,this.update(n)};n?(this.context.stickIfOpen=!0,this.context.stickIfOpenTimeout.start(500,()=>{this.context.stickIfOpen=!1}),gt.flushSync(s)):s();let c;r?c=`click`:i?c=`dismiss`:t.reason===`focus-out`&&(c=`focus`),this.set(`instantType`,c)}};function yt(e,t,n,r=!1){let i={...dt(t,n,r),disabled:!1,modal:!1,focusManagerModal:!1,instantType:void 0,openMethod:null,openChangeReason:null,titleElementId:void 0,descriptionElementId:void 0,openOnHover:!1,closeDelay:0,adaptiveOrigin:void 0,...e};return i.open&&e?.mounted===void 0&&(i.mounted=!0),i}function bt(e){return{popupRef:Y.createRef(),onOpenChange:void 0,onOpenChangeComplete:void 0,triggerFocusTargetRef:Y.createRef(),beforeTriggerFocusGuardRef:Y.createRef(),beforeContentFocusGuardRef:Y.createRef(),stickIfOpenTimeout:new le,stickIfOpen:!0,triggerElements:e}}var xt=rt(function({props:e}){let{children:t,open:n,defaultOpen:r=!1,onOpenChange:i,onOpenChangeComplete:a,modal:o=!1,handle:s,triggerId:c,defaultTriggerId:l=null}=e,u=Ct(s,{modal:o,open:r,openProp:n,activeTriggerId:l,triggerIdProp:c});u.useControlledProp(`openProp`,n),u.useControlledProp(`triggerIdProp`,c);let d=u.useState(`open`),f=u.useState(`mounted`),p=u.useState(`payload`);u.useContextCallback(`onOpenChange`,i),u.useContextCallback(`onOpenChangeComplete`,a),Xe(u,d),xe(u);let{forceUnmount:m}=je(d,u,()=>{u.context.stickIfOpen=!0,u.set(`openChangeReason`,null)});u.useSyncedValues({modal:o}),Y.useEffect(()=>{d||u.context.stickIfOpenTimeout.clear()},[u,d]),Y.useImperativeHandle(e.actionsRef,()=>({unmount:m,close:()=>u.setOpen(!1,pe(ce))}),[m,u]);let h=d||f||s!=null;return(0,Z.jsxs)(Q.Provider,{value:u,children:[s&&(0,Z.jsx)(be,{handle:s,store:u}),h&&(0,Z.jsx)(wt,{store:u,modal:o}),typeof t==`function`?t({payload:p}):t]})});function St(e){return $(!0)?(0,Z.jsx)(xt,{props:e}):(0,Z.jsx)(Re,{children:(0,Z.jsx)(xt,{props:e})})}function Ct(e,t){let n=ve((e,n)=>new vt(t,e,n));return Y.useEffect(()=>n.context.stickIfOpenTimeout.disposeEffect(),[n]),n}function wt({store:e,modal:t}){let n=e.useState(`floatingRootContext`),r=Oe(n,{outsidePressEvent:{mouse:t===`trap-focus`?`sloppy`:`intentional`,touch:`sloppy`}}),i=r.reference,a=r.floating;return Ze(e,{activeTriggerProps:i,inactiveTriggerProps:i,popupProps:a}),null}var Tt=De(function(e,t){let{render:n,className:r,style:i,disabled:a=!1,nativeButton:o=!0,handle:s,payload:c,openOnHover:l=!1,delay:u=300,closeDelay:d=0,id:f,...p}=e,m=$(!0),h=ct(s)??m;if(!h)throw Error(H(74));let g=G(f),_=h.useState(`isTriggerActive`,g),v=h.useState(`floatingRootContext`),y=h.useState(`isOpenedByTrigger`,g),b=h.useState(`triggerPopupId`,g),x=Y.useRef(null),{registerTrigger:S,isMountedByThisTrigger:C}=ke(g,x,h,{payload:c,disabled:a,openOnHover:l,closeDelay:d}),w=h.useState(`isPressOpenedByTrigger`,g),T=h.useState(`isTouchPressOpen`,l),E=h.useState(`hasTriggerFocusGuards`,g),D=Ce(v,{enabled:!a&&l&&!T,mouseOnly:!0,move:!1,handleClose:Me(),restMs:u,delay:{close:d},triggerElementRef:x,isActiveTrigger:_,isClosing:()=>h.select(`transitionStatus`)===`ending`}),O=V(()=>h.context.stickIfOpen),k=Pe(v,{stickIfOpen:O}),A=qe(()=>h.select(`open`),e=>{h.set(`openMethod`,e)}),j=h.useState(`triggerProps`,C),{getButtonProps:M,buttonRef:N}=se({disabled:a,native:o}),P={open(e){return w?He.open(e):Ne.open(e)}},{handlePreFocusGuardFocus:F,handleFocusTargetFocus:I}=Ue(h,x),L=U(`button`,e,{state:{disabled:a,open:y},ref:[N,t,S,x],props:[k.reference,D,j,A,{[ze]:``,id:g,"aria-haspopup":`dialog`,"aria-expanded":y,"aria-controls":b},p,M],stateAttributesMapping:P}),R=(0,Z.jsx)(Y.Fragment,{children:L},g);return E?(0,Z.jsxs)(Y.Fragment,{children:[(0,Z.jsx)(q,{ref:h.context.beforeTriggerFocusGuardRef,onFocus:F}),R,(0,Z.jsx)(q,{ref:h.context.triggerFocusTargetRef,onFocus:I})]}):R}),Et=Y.createContext(void 0);function Dt(){let e=Y.useContext(Et);if(e===void 0)throw Error(H(45));return e}var Ot=Y.forwardRef(function(e,t){let{keepMounted:n=!1,...r}=e;return $().useState(`mounted`)||n?(0,Z.jsx)(Et.Provider,{value:n,children:(0,Z.jsx)(Le,{ref:t,...r})}):null}),kt=Y.createContext(void 0);function At(){let e=Y.useContext(kt);if(!e)throw Error(H(46));return e}var jt=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,anchor:a,positionMethod:o,side:s,align:c,sideOffset:l,alignOffset:u,collisionBoundary:d=`clipping-ancestors`,collisionPadding:f,arrowPadding:p,sticky:m,disableAnchorTracking:h=!1,collisionAvoidance:g=we,..._}=e,v=$(),y=Dt(),b=Te(),x=v.useState(`floatingRootContext`),S=v.useState(`mounted`),C=v.useState(`open`),w=v.useState(`openChangeReason`),T=v.useState(`activeTriggerElement`),E=v.useState(`modal`),D=v.useState(`openMethod`),O=v.useState(`positionerElement`),k=v.useState(`instantType`),A=v.useState(`transitionStatus`),j=v.useState(`adaptiveOrigin`),M=Je({anchor:a,floatingRootContext:x,positionMethod:o,mounted:S,side:s,sideOffset:l,align:c,alignOffset:u,arrowPadding:p,collisionBoundary:d,collisionPadding:f,sticky:m,disableAnchorTracking:h,keepMounted:y,nodeId:b,collisionAvoidance:g,adaptiveOrigin:j}),N=x.useState(`domReferenceElement`);nt({store:v,domReference:N,positionerElement:O,open:C});let P=E===!0&&w!==`trigger-hover`;st(C&&P,D===`touch`,O,T);let F=v.useStateSetter(`positionerElement`),I={open:C,side:M.side,align:M.align,anchorHidden:M.anchorHidden,instant:k},L=Ge(e,I,{styles:M.positionerStyles,transitionStatus:A,props:_,refs:[t,F],hidden:!S,inert:!C});return(0,Z.jsxs)(kt.Provider,{value:M,children:[S&&P&&(0,Z.jsx)($e,{inert:Ve(!C),cutout:T}),(0,Z.jsx)(ye,{id:b,children:L})]})}),Mt=Y.createContext(void 0);function Nt(){let[e,t]=Y.useState(0),n=V(()=>(t(e=>e+1),()=>{t(e=>Math.max(0,e-1))}));return{context:Y.useMemo(()=>({register:n}),[n]),hasClosePart:e>0}}var Pt=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,initialFocus:a,finalFocus:o,...s}=e,c=$(),l=At(),u=Qe(!0)!=null,{context:d,hasClosePart:f}=Nt(),p=c.useState(`open`),m=c.useState(`openMethod`),h=c.useState(`instantType`),g=c.useState(`transitionStatus`),_=c.useState(`popupProps`),v=c.useState(`titleElementId`),y=c.useState(`descriptionElementId`),b=c.useState(`modal`),x=c.useState(`mounted`),S=c.useState(`openChangeReason`),C=c.useState(`activeTriggerElement`),w=c.useState(`floatingRootContext`),T=w.useState(`floatingId`),E=c.useState(`disabled`),D=c.useState(`openOnHover`),O=c.useState(`closeDelay`);de({open:p,ref:c.context.popupRef,onComplete(){p&&c.context.onOpenChangeComplete?.(!0)}}),Ee(w,{enabled:D&&!E,closeDelay:O});let k=a===void 0?Ie(c.context.popupRef):a,A=b!==!1&&f;c.useSyncedValue(`focusManagerModal`,A);let j=c.useStateSetter(`popupElement`),M={open:p,side:l.side,align:l.align,instant:h,transitionStatus:g},N=U(`div`,e,{state:M,ref:[t,c.context.popupRef,j],props:[_,{id:T,role:`dialog`,...Fe,"aria-labelledby":v,"aria-describedby":y,onKeyDown(e){u&&_e.has(e.key)&&e.stopPropagation()}},Ke(g),s],stateAttributesMapping:Be});return(0,Z.jsx)(ft,{context:w,openInteractionType:m,modal:A,disabled:!x||S===`trigger-hover`,initialFocus:k,returnFocus:o,restoreFocus:`popup`,getInsideElements:()=>[c.context.beforeTriggerFocusGuardRef.current],previousFocusableElement:oe(C)?C:void 0,nextFocusableElement:c.context.triggerFocusTargetRef,beforeContentFocusGuardRef:c.context.beforeContentFocusGuardRef,children:(0,Z.jsx)(Mt.Provider,{value:d,children:N})})}),Ft=Y.forwardRef(function(e,t){let{render:n,className:r,style:i,...a}=e,o=$(),s=G(a.id);return o.useSyncedValueWithCleanup(`titleElementId`,s),U(`h2`,e,{ref:t,props:[{id:s},a]})});function It(e){let t=(0,X.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(St,{"data-slot":`popover`,...n}),t[2]=n,t[3]=r),r}function Lt(e){let t=(0,X.c)(4),n;t[0]===e?n=t[1]:({...n}=e,t[0]=e,t[1]=n);let r;return t[2]===n?r=t[3]:(r=(0,Z.jsx)(Tt,{"data-slot":`popover-trigger`,...n}),t[2]=n,t[3]=r),r}function Rt(e){let t=(0,X.c)(18),n,r,i,a,o,s;t[0]===e?(n=t[1],r=t[2],i=t[3],a=t[4],o=t[5],s=t[6]):({className:n,align:i,alignOffset:a,side:o,sideOffset:s,...r}=e,t[0]=e,t[1]=n,t[2]=r,t[3]=i,t[4]=a,t[5]=o,t[6]=s);let c=i===void 0?`center`:i,l=a===void 0?0:a,u=o===void 0?`bottom`:o,d=s===void 0?4:s,f;t[7]===n?f=t[8]:(f=W(`z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-none bg-popover p-2.5 text-xs text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95`,n),t[7]=n,t[8]=f);let p;t[9]!==r||t[10]!==f?(p=(0,Z.jsx)(Pt,{"data-slot":`popover-content`,className:f,...r}),t[9]=r,t[10]=f,t[11]=p):p=t[11];let m;return t[12]!==c||t[13]!==l||t[14]!==u||t[15]!==d||t[16]!==p?(m=(0,Z.jsx)(Ot,{children:(0,Z.jsx)(jt,{align:c,alignOffset:l,side:u,sideOffset:d,className:`isolate z-50`,children:p})}),t[12]=c,t[13]=l,t[14]=u,t[15]=d,t[16]=p,t[17]=m):m=t[17],m}function zt(e){let t=(0,X.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=W(`flex flex-col gap-1 text-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(`div`,{"data-slot":`popover-header`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function Bt(e){let t=(0,X.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=W(`text-sm font-medium`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,Z.jsx)(Ft,{"data-slot":`popover-title`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}var Vt=w(e=>u(t=>v(e,s(e=>{let n=t(e);return!g(n)||x(k(n))?[]:b(t(pt(e)))}),f({onEmpty:()=>y(),onNonEmpty:e=>A(h(e,c))})),t=>T(e,e=>t(e)))),Ht=w(e=>{let t=l(e=>e.once(B(`1 second`)));return l(n=>ae(v(e,E(p),m(()=>n(t))),n(B(`1 second`))))});function Ut(e){let t=(0,X.c)(27),n=(0,Y.useId)(),r=e.since??n,i;t[0]===r?i=t[1]:(i=Ht(r),t[0]=r,t[1]=i);let a=M(i),[o,s]=(0,Y.useState)(!1),c=(0,Y.useRef)(null),l=(0,Y.useRef)(null),u=(0,Y.useRef)(!1),d;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(d=(e,t)=>{!e&&t.reason===`escape-key`&&(u.current=!0),!e&&t.reason===`trigger-press`?l.current?.focus():s(e)},t[2]=d):d=t[2];let f;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=(0,Z.jsx)(F,{variant:`ghost`}),t[3]=f):f=t[3];let p,m;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(p=e=>{u.current?u.current=!1:e.currentTarget.matches(`:focus-visible`)&&c.current?.contains(e.relatedTarget)!==!0&&s(!0)},m=()=>{u.current=!1},t[4]=p,t[5]=m):(p=t[4],m=t[5]);let h;t[6]===e.label?h=t[7]:(h=(0,Z.jsx)(ht,{status:`warning`,label:e.label}),t[6]=e.label,t[7]=h);let g;t[8]===a?g=t[9]:(g=(0,Z.jsx)(`span`,{"aria-hidden":!0,className:`text-muted-foreground tabular-nums`,children:a}),t[8]=a,t[9]=g);let _;t[10]!==n||t[11]!==e.label||t[12]!==h||t[13]!==g?(_=(0,Z.jsxs)(Lt,{id:n,render:f,openOnHover:!0,delay:150,"aria-label":e.label,onFocus:p,onBlur:m,children:[h,g]}),t[10]=n,t[11]=e.label,t[12]=h,t[13]=g,t[14]=_):_=t[14];let v;t[15]===e.label?v=t[16]:(v=(0,Z.jsx)(zt,{children:(0,Z.jsx)(Bt,{children:e.label})}),t[15]=e.label,t[16]=v);let y;t[17]===e.reset?y=t[18]:(y=e.reset!==void 0&&(0,Z.jsxs)(F,{ref:l,variant:`outline`,size:`sm`,onClick:e.reset,children:[(0,Z.jsx)(L,{}),`Try again`]}),t[17]=e.reset,t[18]=y);let b;t[19]!==y||t[20]!==v?(b=(0,Z.jsxs)(Rt,{ref:c,initialFocus:!1,align:`end`,className:`w-auto`,children:[v,y]}),t[19]=y,t[20]=v,t[21]=b):b=t[21];let x;return t[22]!==n||t[23]!==o||t[24]!==b||t[25]!==_?(x=(0,Z.jsxs)(It,{open:o,triggerId:n,onOpenChange:d,children:[_,b]}),t[22]=n,t[23]=o,t[24]=b,t[25]=_,t[26]=x):x=t[26],x}function Wt(e){let t=(0,X.c)(11),n;t[0]===e.readers?n=t[1]:(n=Vt(e.readers),t[0]=e.readers,t[1]=n);let r=M(n),i;t[2]===e.readers?i=t[3]:(i=Vt(e.readers),t[2]=e.readers,t[3]=i);let a=N(i),o;if(t[4]!==e.label||t[5]!==a||t[6]!==r){let n;t[8]!==e.label||t[9]!==a?(n=t=>(0,Z.jsx)(Ut,{label:e.label,reset:a,since:t}),t[8]=e.label,t[9]=a,t[10]=n):n=t[10],o=C(r,{onNone:O,onSome:n}),t[4]=e.label,t[5]=a,t[6]=r,t[7]=o}else o=t[7];return o}function Gt(e){let t=(0,X.c)(2),n;return t[0]===e.children?n=t[1]:(n=(0,Z.jsx)(`main`,{className:`pb-safe-bottom relative flex min-h-0 flex-1 justify-center overflow-y-auto px-4 pt-4 sm:px-6 lg:px-8 lg:pt-6`,children:(0,Z.jsx)(`div`,{className:`flex min-h-full w-full max-w-160 flex-col gap-4 self-start`,children:e.children})}),t[0]=e.children,t[1]=n),n}function Kt(e){let t=(0,X.c)(12),n;t[0]===e.account?n=t[1]:(n=(0,Z.jsx)(at,{render:(0,Z.jsx)(he,{account:e.account})}),t[0]=e.account,t[1]=n);let r;t[2]===e.account.name?r=t[3]:(r=(0,Z.jsx)(it,{children:(0,Z.jsxs)(We,{children:[`@`,e.account.name]})}),t[2]=e.account.name,t[3]=r);let i;t[4]===e.account.signOut?i=t[5]:(i=e.account.signOut&&(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)(tt,{}),(0,Z.jsx)(`form`,{action:`/sign-out`,method:`post`,children:(0,Z.jsx)(Ye,{variant:`destructive`,render:(0,Z.jsx)(`button`,{"aria-label":`Sign out`,type:`submit`}),children:`Sign out`})})]}),t[4]=e.account.signOut,t[5]=i);let a;t[6]!==r||t[7]!==i?(a=(0,Z.jsxs)(et,{align:`end`,className:`w-56`,children:[r,i]}),t[6]=r,t[7]=i,t[8]=a):a=t[8];let o;return t[9]!==n||t[10]!==a?(o=(0,Z.jsxs)(ot,{children:[n,a]}),t[9]=n,t[10]=a,t[11]=o):o=t[11],o}var qt=e=>{let t=(0,X.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z`,transform:`scale(64)`,fill:`#ffff`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(`svg`,{...e,viewBox:`0 0 1024 1024`,fill:`none`,children:n}),t[1]=e,t[2]=r),r},Jt=e=>{let t=(0,X.c)(3),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,Z.jsx)(`path`,{fill:`#1b1f23`,fillRule:`evenodd`,d:`M512 0C229.12 0 0 229.12 0 512c0 226.56 146.56 417.92 350.08 485.76 25.6 4.48 35.2-10.88 35.2-24.32 0-12.16-.64-52.48-.64-95.36-128.64 23.68-161.92-31.36-172.16-60.16-5.76-14.72-30.72-60.16-52.48-72.32-17.92-9.6-43.52-33.28-.64-33.92 40.32-.64 69.12 37.12 78.72 52.48 46.08 77.44 119.68 55.68 149.12 42.24 4.48-33.28 17.92-55.68 32.64-68.48-113.92-12.8-232.96-56.96-232.96-252.8 0-55.68 19.84-101.76 52.48-137.6-5.12-12.8-23.04-65.28 5.12-135.68 0 0 42.88-13.44 140.8 52.48 40.96-11.52 84.48-17.28 128-17.28s87.04 5.76 128 17.28c97.92-66.56 140.8-52.48 140.8-52.48 28.16 70.4 10.24 122.88 5.12 135.68 32.64 35.84 52.48 81.28 52.48 137.6 0 196.48-119.68 240-233.6 252.8 18.56 16 34.56 46.72 34.56 94.72 0 68.48-.64 123.52-.64 140.8 0 13.44 9.6 29.44 35.2 24.32C877.44 929.92 1024 737.92 1024 512 1024 229.12 794.88 0 512 0`,clipRule:`evenodd`}),t[0]=n):n=t[0];let r;return t[1]===e?r=t[2]:(r=(0,Z.jsx)(`svg`,{...e,viewBox:`0 0 1024 1024`,fill:`none`,children:n}),t[1]=e,t[2]=r),r},Yt=P(`/(home)`);function Xt(){let e=(0,X.c)(12),t=Yt.useSearch(),n;e[0]===t.next?n=e[1]:(n=()=>location.assign(`/sign-in?${new URLSearchParams({next:m(t.next,Zt)})}`),e[0]=t.next,e[1]=n);let r;e[2]===Symbol.for(`react.memo_cache_sentinel`)?(r=(0,Z.jsx)(ie,{light:qt,dark:Jt}),e[2]=r):r=e[2];let i;e[3]===n?i=e[4]:(i=(0,Z.jsxs)(F,{size:`lg`,onClick:n,children:[r,`Continue with GitHub`]}),e[3]=n,e[4]=i);let o;e[5]===t.error?o=e[6]:(o=a(t.error),e[5]=t.error,e[6]=o);let s;e[7]===o?s=e[8]:(s=(0,Z.jsx)(fe,{children:o}),e[7]=o,e[8]=s);let c;return e[9]!==i||e[10]!==s?(c=(0,Z.jsxs)(`section`,{className:`m-auto flex w-full flex-col gap-5 sm:max-w-80`,"aria-label":`Sign in`,children:[i,s]}),e[9]=i,e[10]=s,e[11]=c):c=e[11],c}function Zt(){return location.origin}var Qt=`/assets/icon-CPvsBESP.svg`;function $t(e){let t=(0,X.c)(25),n=ne(),r;t[0]===n?r=t[1]:(r=n({to:`/people`}),t[0]=n,t[1]=r);let i=o(r!==!1,{onFalse:S(`/`),onTrue:S(`/people`)}),a;t[2]===e.account?a=t[3]:(a=C(e.account,{onNone:O,onSome:cn}),t[2]=e.account,t[3]=a);let s;if(t[4]!==e.account||t[5]!==i){let n;t[7]===i?n=t[8]:(n=()=>[z,{"/":I,"/people":ee}[i]],t[7]=i,t[8]=n),s=v(e.account,d(sn),o({onFalse:on,onTrue:n})),t[4]=e.account,t[5]=i,t[6]=s}else s=t[6];let c;t[9]===s?c=t[10]:(c=(0,Z.jsx)(Wt,{label:`Out of date`,readers:s}),t[9]=s,t[10]=c);let l;t[11]!==e.account||t[12]!==i?(l=d(e.account,an)&&(0,Z.jsxs)(me,{value:i,children:[(0,Z.jsx)(K,{value:`/`,render:(0,Z.jsx)(j,{to:`/`,search:{}}),children:`Sessions`}),(0,Z.jsx)(K,{value:`/people`,render:(0,Z.jsx)(j,{to:`/people`,search:{}}),children:`People`})]}),t[11]=e.account,t[12]=i,t[13]=l):l=t[13];let u;t[14]!==a||t[15]!==c||t[16]!==l?(u=(0,Z.jsx)(ge,{name:`auth`,icon:Qt,account:a,controls:c,tabs:l}),t[14]=a,t[15]=c,t[16]=l,t[17]=u):u=t[17];let f;t[18]===e.account?f=t[19]:(f=C(e.account,{onNone:rn,onSome:en}),t[18]=e.account,t[19]=f);let p;t[20]===f?p=t[21]:(p=(0,Z.jsx)(Gt,{children:f}),t[20]=f,t[21]=p);let m;return t[22]!==u||t[23]!==p?(m=(0,Z.jsxs)(Z.Fragment,{children:[u,p]}),t[22]=u,t[23]=p,t[24]=m):m=t[24],m}function en(e){return o(e.role===`Waiting`,{onFalse:nn,onTrue:tn})}function tn(){return(0,Z.jsx)(`p`,{className:`text-muted-foreground m-auto`,children:`Waiting for an admin`})}function nn(){return(0,Z.jsx)(re,{})}function rn(){return(0,Z.jsx)(Xt,{})}function an(e){return e.role===`Admin`}function on(){return[z]}function sn(e){return e.role!==`Waiting`}function cn(e){return(0,Z.jsx)(Kt,{account:e})}function ln(){let e=(0,X.c)(1),t;return e[0]===Symbol.for(`react.memo_cache_sentinel`)?(t=(0,Z.jsx)(Y.Suspense,{fallback:null,children:(0,Z.jsx)(te,{atom:z,children:un})}),e[0]=t):t=e[0],t}function un(e){return(0,Z.jsx)($t,{account:e})}export{ln as component};
@@ -1 +1 @@
1
- import"./rolldown-runtime-XKyaHtl9.js";import{a as e,o as t,r as n}from"./react-DLGSahv8.js";import{Ir as r,Zr as i,hi as a,ii as o,mi as s,zr as c}from"./effect-CpFeHtCH.js";import{t as l}from"./dist-BPRUA1hI.js";var u=e(),d=n();function f(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`animate-pulse rounded-none bg-muted`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`div`,{"data-slot":`skeleton`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}t();function p(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`w-full caption-bottom text-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,d.jsx)(`table`,{"data-slot":`table`,className:i,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function m(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`[&_tr:last-child]:border-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`tbody`,{"data-slot":`table-body`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function h(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`tr`,{"data-slot":`table-row`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function g(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`td`,{"data-slot":`table-cell`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _(e){let t=(0,u.c)(6),n;t[0]===e.label?n=t[1]:(n=o(i(e.label),{onNone:s,onSome:a(`img`)}),t[0]=e.label,t[1]=n);let r;return t[2]!==e.children||t[3]!==e.label||t[4]!==n?(r=(0,d.jsx)(`span`,{role:n,"aria-label":e.label,title:e.label,className:`flex size-6 shrink-0 items-center justify-center`,children:e.children}),t[2]=e.children,t[3]=e.label,t[4]=n,t[5]=r):r=t[5],r}function v(e){let t=(0,u.c)(16),n=`${(e.depth??0)*.75}rem`,r;t[0]===n?r=t[1]:(r={"--indent":n},t[0]=n,t[1]=r);let a;t[2]!==e.mark||t[3]!==e.markLabel?(a=e.mark!==void 0&&(0,d.jsx)(_,{...o(i(e.markLabel),{onNone:b,onSome:y}),children:e.mark}),t[2]=e.mark,t[3]=e.markLabel,t[4]=a):a=t[4];let s;t[5]===e.children?s=t[6]:(s=(0,d.jsx)(`span`,{className:`truncate`,children:e.children}),t[5]=e.children,t[6]=s);let c;t[7]===e.detail?c=t[8]:(c=e.detail!==void 0&&(0,d.jsx)(`span`,{className:`text-muted-foreground grow basis-0 truncate`,children:e.detail}),t[7]=e.detail,t[8]=c);let l;return t[9]!==e.after||t[10]!==e.title||t[11]!==r||t[12]!==a||t[13]!==s||t[14]!==c?(l=(0,d.jsx)(g,{className:`w-full`,children:(0,d.jsxs)(`span`,{className:`flex h-6 w-0 min-w-full items-center gap-2 ps-(--indent)`,style:r,title:e.title,children:[a,s,e.after,c]})}),t[9]=e.after,t[10]=e.title,t[11]=r,t[12]=a,t[13]=s,t[14]=c,t[15]=l):l=t[15],l}function y(e){return{label:e}}function b(){return{}}function x(e){let t=(0,u.c)(6),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,d.jsxs)(`span`,{className:`flex w-full items-center gap-2`,children:[(0,d.jsx)(f,{className:`size-6`}),(0,d.jsx)(f,{className:`h-4 w-1/3`})]}),t[0]=n):n=t[0];let r;t[1]===e.columns?r=t[2]:(r=(0,d.jsx)(g,{colSpan:e.columns,children:n}),t[1]=e.columns,t[2]=r);let i;return t[3]!==e.label||t[4]!==r?(i=(0,d.jsx)(h,{"aria-busy":`true`,"aria-label":e.label,children:r}),t[3]=e.label,t[4]=r,t[5]=i):i=t[5],i}function S(e){let t=(0,u.c)(10),n=e.label,i;if(t[0]!==e.label||t[1]!==e.rows){let n;t[3]===e.label?n=t[4]:(n=t=>(0,d.jsx)(x,{label:e.label},t),t[3]=e.label,t[4]=n),i=r(c(1,e.rows),n),t[0]=e.label,t[1]=e.rows,t[2]=i}else i=t[2];let a;t[5]===i?a=t[6]:(a=(0,d.jsx)(m,{children:i}),t[5]=i,t[6]=a);let o;return t[7]!==e.label||t[8]!==a?(o=(0,d.jsx)(p,{"aria-busy":`true`,"aria-label":n,children:a}),t[7]=e.label,t[8]=a,t[9]=o):o=t[9],o}export{g as a,m as i,v as n,h as o,p as r,S as t};
1
+ import"./rolldown-runtime-XKyaHtl9.js";import{a as e,o as t,r as n}from"./react-CS2OHYTO.js";import{Ir as r,Zr as i,hi as a,ii as o,mi as s,zr as c}from"./effect-CpFeHtCH.js";import{t as l}from"./dist-CVGysgJT.js";var u=e(),d=n();function f(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`animate-pulse rounded-none bg-muted`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`div`,{"data-slot":`skeleton`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}t();function p(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`w-full caption-bottom text-xs`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`div`,{"data-slot":`table-container`,className:`relative w-full overflow-x-auto`,children:(0,d.jsx)(`table`,{"data-slot":`table`,className:i,...r})}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function m(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`[&_tr:last-child]:border-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`tbody`,{"data-slot":`table-body`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function h(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`tr`,{"data-slot":`table-row`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function g(e){let t=(0,u.c)(8),n,r;t[0]===e?(n=t[1],r=t[2]):({className:n,...r}=e,t[0]=e,t[1]=n,t[2]=r);let i;t[3]===n?i=t[4]:(i=l(`p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0`,n),t[3]=n,t[4]=i);let a;return t[5]!==r||t[6]!==i?(a=(0,d.jsx)(`td`,{"data-slot":`table-cell`,className:i,...r}),t[5]=r,t[6]=i,t[7]=a):a=t[7],a}function _(e){let t=(0,u.c)(6),n;t[0]===e.label?n=t[1]:(n=o(i(e.label),{onNone:s,onSome:a(`img`)}),t[0]=e.label,t[1]=n);let r;return t[2]!==e.children||t[3]!==e.label||t[4]!==n?(r=(0,d.jsx)(`span`,{role:n,"aria-label":e.label,title:e.label,className:`flex size-6 shrink-0 items-center justify-center`,children:e.children}),t[2]=e.children,t[3]=e.label,t[4]=n,t[5]=r):r=t[5],r}function v(e){let t=(0,u.c)(16),n=`${(e.depth??0)*.75}rem`,r;t[0]===n?r=t[1]:(r={"--indent":n},t[0]=n,t[1]=r);let a;t[2]!==e.mark||t[3]!==e.markLabel?(a=e.mark!==void 0&&(0,d.jsx)(_,{...o(i(e.markLabel),{onNone:b,onSome:y}),children:e.mark}),t[2]=e.mark,t[3]=e.markLabel,t[4]=a):a=t[4];let s;t[5]===e.children?s=t[6]:(s=(0,d.jsx)(`span`,{className:`truncate`,children:e.children}),t[5]=e.children,t[6]=s);let c;t[7]===e.detail?c=t[8]:(c=e.detail!==void 0&&(0,d.jsx)(`span`,{className:`text-muted-foreground grow basis-0 truncate`,children:e.detail}),t[7]=e.detail,t[8]=c);let l;return t[9]!==e.after||t[10]!==e.title||t[11]!==r||t[12]!==a||t[13]!==s||t[14]!==c?(l=(0,d.jsx)(g,{className:`w-full`,children:(0,d.jsxs)(`span`,{className:`flex h-6 w-0 min-w-full items-center gap-2 ps-(--indent)`,style:r,title:e.title,children:[a,s,e.after,c]})}),t[9]=e.after,t[10]=e.title,t[11]=r,t[12]=a,t[13]=s,t[14]=c,t[15]=l):l=t[15],l}function y(e){return{label:e}}function b(){return{}}function x(e){let t=(0,u.c)(6),n;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(n=(0,d.jsxs)(`span`,{className:`flex w-full items-center gap-2`,children:[(0,d.jsx)(f,{className:`size-6`}),(0,d.jsx)(f,{className:`h-4 w-1/3`})]}),t[0]=n):n=t[0];let r;t[1]===e.columns?r=t[2]:(r=(0,d.jsx)(g,{colSpan:e.columns,children:n}),t[1]=e.columns,t[2]=r);let i;return t[3]!==e.label||t[4]!==r?(i=(0,d.jsx)(h,{"aria-busy":`true`,"aria-label":e.label,children:r}),t[3]=e.label,t[4]=r,t[5]=i):i=t[5],i}function S(e){let t=(0,u.c)(10),n=e.label,i;if(t[0]!==e.label||t[1]!==e.rows){let n;t[3]===e.label?n=t[4]:(n=t=>(0,d.jsx)(x,{label:e.label},t),t[3]=e.label,t[4]=n),i=r(c(1,e.rows),n),t[0]=e.label,t[1]=e.rows,t[2]=i}else i=t[2];let a;t[5]===i?a=t[6]:(a=(0,d.jsx)(m,{children:i}),t[5]=i,t[6]=a);let o;return t[7]!==e.label||t[8]!==a?(o=(0,d.jsx)(p,{"aria-busy":`true`,"aria-label":n,children:a}),t[7]=e.label,t[8]=a,t[9]=o):o=t[9],o}export{g as a,m as i,v as n,h as o,p as r,S as t};
@@ -17,12 +17,12 @@
17
17
  <link rel="preload" href="/api/runtime" as="fetch" crossorigin />
18
18
 
19
19
  <title>Auth</title>
20
- <script type="module" crossorigin src="/assets/index--ltVrWJm.js"></script>
20
+ <script type="module" crossorigin src="/assets/index-DASjbBg3.js"></script>
21
21
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-XKyaHtl9.js">
22
- <link rel="modulepreload" crossorigin href="/assets/react-DLGSahv8.js">
22
+ <link rel="modulepreload" crossorigin href="/assets/react-CS2OHYTO.js">
23
23
  <link rel="modulepreload" crossorigin href="/assets/effect-CpFeHtCH.js">
24
- <link rel="modulepreload" crossorigin href="/assets/preload-helper-Cp12E29U.js">
25
- <link rel="modulepreload" crossorigin href="/assets/dist-BPRUA1hI.js">
24
+ <link rel="modulepreload" crossorigin href="/assets/preload-helper-C0TLfzsi.js">
25
+ <link rel="modulepreload" crossorigin href="/assets/dist-CVGysgJT.js">
26
26
  <link rel="stylesheet" crossorigin href="/assets/index-BarryaFN.css">
27
27
  </head>
28
28
  <body>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/auth",
3
- "version": "0.1.1365",
3
+ "version": "0.1.1366",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/MP281X/deslop.git",
@@ -33,5 +33,5 @@
33
33
  "engines": {
34
34
  "node": ">=26"
35
35
  },
36
- "fingerprint": "3e7f6e5fdc081a5175e535bf7aa08faa9d56323d72a2313c7f1fd893b20e8abe"
36
+ "fingerprint": "336e0e17547d41c0dd068a4b3cd1c26270cd63595e2dea5d47bf44f3034a3710"
37
37
  }