@hyperdrive.bot/fleet-server 0.3.123 → 0.3.124

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.
@@ -849,7 +849,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{v
849
849
  __d(function(g,r,i,a,m,e,d){"use strict";var t=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.shouldAppendSitemap=u,e.shouldAppendNotFound=s,e.getRootStackRouteNames=function(){const t=[n.INTERNAL_SLOT_NAME];s()&&t.push(n.NOT_FOUND_ROUTE_NAME);u()&&t.push(n.SITEMAP_ROUTE_NAME);return t};const o=t(r(d[0])),n=r(d[1]);function u(){const t=o.default.expoConfig?.extra?.router;return!1!==t?.sitemap}function s(){const t=o.default.expoConfig?.extra?.router;return!1!==t?.notFound}},717,[718,721]);
850
850
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return N}}),Object.defineProperty(_e,"AppOwnership",{enumerable:!0,get:function(){return l.AppOwnership}}),Object.defineProperty(_e,"ExecutionEnvironment",{enumerable:!0,get:function(){return l.ExecutionEnvironment}}),Object.defineProperty(_e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return l.UserInterfaceIdiom}});var n=e(r(d[0])),t=r(d[1]);r(d[2]);var u=e(r(d[3])),l=r(d[4]),o=e(r(d[5]));o.default||console.warn("No native ExponentConstants module found, are you sure the expo-constants's module is linked properly?");const s=(0,t.requireOptionalNativeModule)('ExpoUpdates');let f=null;if(s){let e;s.manifest?e=s.manifest:s.manifestString&&(e=JSON.parse(s.manifestString)),e&&Object.keys(e).length>0&&(f=e)}let c=null;if(u.default.EXDevLauncher){let e;u.default.EXDevLauncher.manifestString&&(e=JSON.parse(u.default.EXDevLauncher.manifestString)),e&&Object.keys(e).length>0&&(c=e)}let p=null;if(o.default&&o.default.manifest){const e=o.default.manifest;p='string'==typeof e?JSON.parse(e):e}let b=f??c??p;const E=o.default||{},{appOwnership:O}=E,x=(0,n.default)(E,["name","appOwnership"]),v=Object.assign({},x,{appOwnership:O??null});function _(e){return!h(e)}function h(e){return'metadata'in e}function S(e=!1){if(!b){const e=null===b?'null':'undefined';if(x.executionEnvironment,l.ExecutionEnvironment.Bare,x.executionEnvironment===l.ExecutionEnvironment.StoreClient||x.executionEnvironment===l.ExecutionEnvironment.Standalone)throw new t.CodedError('ERR_CONSTANTS_MANIFEST_UNAVAILABLE',`Constants.manifest is ${e}, must be an object.`)}return b}Object.defineProperties(v,{__unsafeNoWarnManifest:{get(){const e=S(!0);return e&&_(e)?e:null},enumerable:!1},__unsafeNoWarnManifest2:{get(){const e=S(!0);return e&&h(e)?e:null},enumerable:!1},manifest:{get(){const e=S();return e&&_(e)?e:null},enumerable:!0},manifest2:{get(){const e=S();return e&&h(e)?e:null},enumerable:!0},expoConfig:{get(){const e=S(!0);return e?s&&s.isEmbeddedLaunch?p:h(e)?e.extra?.expoClient??null:_(e)?e:null:null},enumerable:!0},expoGoConfig:{get(){const e=S(!0);return e?h(e)?e.extra?.expoGo??null:_(e)?e:null:null},enumerable:!0},easConfig:{get(){const e=S(!0);return e?h(e)?e.extra?.eas??null:_(e)?e:null:null},enumerable:!0},__rawManifest_TEST:{get:()=>b,set(e){b=e},enumerable:!1}});var N=v},718,[35,4,25,637,719,720]);
851
851
  __d(function(g,r,i,a,m,e,d){"use strict";var t,n,o;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"AppOwnership",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ExecutionEnvironment",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"UserInterfaceIdiom",{enumerable:!0,get:function(){return o}}),(function(t){t.Expo="expo"})(t||(t={})),(function(t){t.Bare="bare",t.Standalone="standalone",t.StoreClient="storeClient"})(n||(n={})),(function(t){t.Handset="handset",t.Tablet="tablet",t.Desktop="desktop",t.TV="tv",t.Unsupported="unsupported"})(o||(o={}))},719,[]);
852
- __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"paseo-hyperdrive\",\"version\":\"0.3.123\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"router\":{},\"eas\":{\"build\":{\"experimental\":{\"ios\":{\"appExtensions\":[{\"bundleIdentifier\":\"bot.hyperdrive.paseo.AgentActivity\",\"targetName\":\"AgentActivity\"}]}}}}},\"sdkVersion\":\"54.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},720,[719]);
852
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return s}});var t=r(d[0]);const n=(Date.now()+'-'+Math.floor(1e9*Math.random())).toString();function o(){if('undefined'!=typeof navigator&&'string'==typeof navigator.userAgent){const t=navigator.userAgent.toLowerCase();if(t.includes('edge'))return'Edge';if(t.includes('edg'))return'Chromium Edge';if(t.includes('opr')&&'opr'in window&&window.opr)return'Opera';if(t.includes('chrome')&&'chrome'in window&&window.chrome)return'Chrome';if(t.includes('trident'))return'IE';if(t.includes('firefox'))return'Firefox';if(t.includes('safari'))return'Safari'}}var s={get appOwnership(){return null},get executionEnvironment(){return t.ExecutionEnvironment.Bare},get sessionId(){return n},get isHeadless(){return'undefined'==typeof navigator||/\bHeadlessChrome\//.test(navigator.userAgent)},get expoVersion(){return this.manifest.sdkVersion||null},get linkingUri(){return'undefined'!=typeof location?location.origin:''},get expoRuntimeVersion(){return this.expoVersion},get deviceName(){return o()},get systemFonts(){return[]},get statusBarHeight(){return 0},get deviceYearClass(){return null},get manifest(){return"{\"name\":\"Paseo\",\"slug\":\"paseo-hyperdrive\",\"version\":\"0.3.124\",\"orientation\":\"portrait\",\"icon\":\"./assets/images/icon.png\",\"scheme\":\"paseo\",\"userInterfaceStyle\":\"automatic\",\"newArchEnabled\":true,\"web\":{\"output\":\"single\",\"favicon\":\"./assets/images/favicon.png\",\"shortName\":\"Paseo\",\"orientation\":\"portrait\",\"name\":\"Paseo\"},\"autolinking\":{\"searchPaths\":[\"../../node_modules\",\"./node_modules\"]},\"experiments\":{\"typedRoutes\":true,\"reactCompiler\":true,\"autolinkingModuleResolution\":true},\"extra\":{\"router\":{},\"eas\":{\"build\":{\"experimental\":{\"ios\":{\"appExtensions\":[{\"bundleIdentifier\":\"bot.hyperdrive.paseo.AgentActivity\",\"targetName\":\"AgentActivity\"}]}}}}},\"sdkVersion\":\"54.0.0\",\"platforms\":[\"ios\",\"android\",\"web\"]}"},get manifest2(){return null},get experienceUrl(){return'undefined'!=typeof location?location.origin:''},get debugMode(){return!1},getWebViewUserAgentAsync:async()=>'undefined'!=typeof navigator?navigator.userAgent:null}},720,[719]);
853
853
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SITEMAP_ROUTE_NAME=e.NOT_FOUND_ROUTE_NAME=e.INTERNAL_SLOT_NAME=void 0,e.INTERNAL_SLOT_NAME='__root',e.NOT_FOUND_ROUTE_NAME='+not-found',e.SITEMAP_ROUTE_NAME='_sitemap'},721,[]);
854
854
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.resolveHref=void 0,e.resolveHrefStringWithSegments=function(t,{segments:n=[],params:s={}}={},{relativeToDirectory:o}={}){if(t.startsWith('.')){let c=n?.map(t=>{if(!t.startsWith('['))return t;if(t.startsWith('[...')){t=t.slice(4,-1);const n=s[t];return Array.isArray(n)?n.join('/'):n?.split(',')?.join('/')??''}return t=t.slice(1,-1),s[t]}).filter(Boolean).join('/')??'/';o&&(c=`${c}/`);const f=new URL(t,`http://hostname/${c}`);t=`${f.pathname}${f.search}`}return t};function t(t,s){for(const[o,c=""]of Object.entries(s)){const f=`[${o}]`,l=`[...${o}]`;if(t.includes(f))t=t.replace(f,n(c));else{if(!t.includes(l))continue;t=t.replace(l,n(c))}delete s[o]}return{pathname:t,params:s}}function n(t){return Array.isArray(t)?t.map(t=>n(t)).join('/'):encodeURIComponent(t.toString())}function s(t){return Object.entries(t).filter(([,t])=>null!=t).map(([t,n])=>`${t}=${encodeURIComponent(n.toString())}`).join('&')}e.resolveHref=n=>{if('string'==typeof n)return(0,e.resolveHref)({pathname:n});const o=n.pathname??'';if(!n?.params)return o;const{pathname:c,params:f}=t(o,Object.assign({},n.params)),l=s(f);return c+(l?`?${l}`:'')}},722,[]);
855
855
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isRoutePreloadedInStack=function(t,o){if(!t||'stack'!==t.type)return!1;return t.preloadedRoutes.some(t=>t.key===o.key)}},723,[]);
@@ -14092,7 +14092,7 @@ __d(function(g,r,i,a,m,_e,_d){"use strict";const e=["color","size","strokeWidth"
14092
14092
  __d(function(g,r,i,a,m,_e,d){"use strict";const e=["children","variant","size","leftIcon","trailing","style","textStyle","disabled","loading","accessibilityRole"];Object.defineProperty(_e,'__esModule',{value:!0}),_e.Button=function(o){const t=(0,p.c)(58);let h,v,C,j,z,R,S,H,V,M,k;if(t[0]!==o){var w=o;({children:v,variant:S,size:H,leftIcon:j,trailing:k,style:R,textStyle:M,disabled:C,loading:V,accessibilityRole:h}=w),z=(0,n.default)(w,e),t[0]=o,t[1]=h,t[2]=v,t[3]=C,t[4]=j,t[5]=z,t[6]=R,t[7]=S,t[8]=H,t[9]=V,t[10]=M,t[11]=k}else h=t[1],v=t[2],C=t[3],j=t[4],z=t[5],R=t[6],S=t[7],H=t[8],V=t[9],M=t[10],k=t[11];const D=void 0===S?"secondary":S,F=void 0===H?"md":H,I=void 0!==V&&V,[G,O]=(0,f.useState)(!1),{theme:W}=(0,_.useUnistyles)(),A=C||I;let P,X;t[12]!==D?(P="default"===D?y.default:"secondary"===D?y.secondary:"outline"===D?y.outline:"ghost"===D?y.ghost:y.destructive,t[12]=D,t[13]=P):P=t[13];t[14]!==F?(X="xs"===F?y.xs:"sm"===F?y.sm:"lg"===F?y.lg:y.md,t[14]=F,t[15]=X):X=t[15];const B=G&&"ghost"===D;let T;t[16]===Symbol.for("react.memo_cache_sentinel")?(T=()=>O(!0),t[16]=T):T=t[16];const U=T;let q;t[17]===Symbol.for("react.memo_cache_sentinel")?(q=()=>O(!1),t[17]=q):q=t[17];const E=q;let J;t[18]!==A||t[19]!==X||t[20]!==R||t[21]!==P?(J=e=>{const{pressed:o}=e;return[y.base,X,P,o?y.pressed:null,A?y.disabled:null,R]},t[18]=A,t[19]=X,t[20]=R,t[21]=P,t[22]=J):J=t[22];const K=J,L="xs"===F?y.textXs:null,N="default"===D?y.textDefault:null,Q="destructive"===D?y.textDestructive:null,Y="ghost"===D?y.textGhost:null,Z=B?y.textGhostHovered:null;let $;t[23]!==Y||t[24]!==Z||t[25]!==L||t[26]!==N||t[27]!==Q||t[28]!==M?($=[y.text,L,N,Q,Y,M,Z],t[23]=Y,t[24]=Z,t[25]=L,t[26]=N,t[27]=Q,t[28]=M,t[29]=$):$=t[29];const ee=$;let oe;t[30]!==A||t[31]!==I?(oe={disabled:A,busy:I},t[30]=A,t[31]=I,t[32]=oe):oe=t[32];const te=oe;let ne;t[33]!==B||t[34]!==W.colors.accentForeground||t[35]!==W.colors.foreground||t[36]!==W.colors.foregroundMuted||t[37]!==D?(ne=function(){return"default"===D?W.colors.accentForeground:"ghost"===D?B?W.colors.foreground:W.colors.foregroundMuted:W.colors.foreground},t[33]=B,t[34]=W.colors.accentForeground,t[35]=W.colors.foreground,t[36]=W.colors.foregroundMuted,t[37]=D,t[38]=ne):ne=t[38];const re=ne;let se;t[39]!==j||t[40]!==I||t[41]!==re||t[42]!==F?(se=function(){if(I)return(0,b.jsx)(s.View,{children:(0,b.jsx)(u.ActivityIndicator,{size:"small",color:re()})});if(!j)return null;if("object"==typeof j&&"type"in j)return(0,b.jsx)(s.View,{children:j});const e=re(),o=x[F];if("function"==typeof j&&!j.prototype?.isReactComponent&&j.length>0)return(0,b.jsx)(s.View,{children:j(e)});const t=j;return(0,b.jsx)(s.View,{children:(0,b.jsx)(t,{color:e,size:o})})},t[39]=j,t[40]=I,t[41]=re,t[42]=F,t[43]=se):se=t[43];const ie=se,de=h??"button";let ce,le,ae;t[44]!==ie?(ce=ie(),t[44]=ie,t[45]=ce):ce=t[45];t[46]!==v||t[47]!==ee?(le=null!=v?(0,b.jsx)(c.Text,{style:ee,children:v}):null,t[46]=v,t[47]=ee,t[48]=le):le=t[48];t[49]!==te||t[50]!==A||t[51]!==K||t[52]!==z||t[53]!==de||t[54]!==ce||t[55]!==le||t[56]!==k?(ae=(0,b.jsxs)(l.Pressable,Object.assign({},z,{accessibilityRole:de,accessibilityState:te,disabled:A,onHoverIn:U,onHoverOut:E,style:K,children:[ce,le,k]})),t[49]=te,t[50]=A,t[51]=K,t[52]=z,t[53]=de,t[54]=ce,t[55]=le,t[56]=k,t[57]=ae):ae=t[57];return ae};var o,t=r(d[0]),n=(o=t)&&o.__esModule?o:{default:o},s=r(d[1]),c=r(d[2]),l=r(d[3]),u=r(d[4]),p=r(d[5]),f=r(d[6]);r(d[7]),r(d[8]),r(d[9]),r(d[10]);var _=r(d[11]),b=r(d[12]);const x={xs:12,sm:14,md:16,lg:20},y=_.StyleSheet.create(e=>({base:{flexDirection:"row",alignItems:"center",justifyContent:"center",gap:e.spacing[2],borderRadius:e.borderRadius.lg,borderWidth:1,borderColor:"transparent",uni__dependencies:[0]},md:{paddingVertical:e.spacing[3],paddingHorizontal:e.spacing[4],uni__dependencies:[0]},xs:{minHeight:28,paddingVertical:e.spacing[1],paddingHorizontal:e.spacing[3],borderRadius:e.borderRadius.md,uni__dependencies:[0]},sm:{paddingVertical:e.spacing[1.5],paddingHorizontal:e.spacing[3],borderRadius:e.borderRadius.md,uni__dependencies:[0]},lg:{paddingVertical:e.spacing[4],paddingHorizontal:e.spacing[6],borderRadius:e.borderRadius.xl,uni__dependencies:[0]},default:{backgroundColor:e.colors.accent,borderColor:e.colors.accent,uni__dependencies:[0]},secondary:{backgroundColor:e.colors.surface3,borderColor:e.colors.surface3,uni__dependencies:[0]},outline:{backgroundColor:"transparent",borderColor:e.colors.borderAccent,uni__dependencies:[0]},ghost:{backgroundColor:"transparent",borderColor:"transparent"},destructive:{backgroundColor:e.colors.destructive,borderColor:e.colors.destructive,uni__dependencies:[0]},pressed:{opacity:.85,transform:[{scale:.97}]},disabled:{opacity:e.opacity[50],uni__dependencies:[0]},text:{color:e.colors.foreground,fontSize:e.fontSize.sm,fontWeight:e.fontWeight.normal,uni__dependencies:[0]},textXs:{fontSize:e.fontSize.xs,uni__dependencies:[0]},textDefault:{color:e.colors.accentForeground,uni__dependencies:[0]},textDestructive:{color:e.colors.destructiveForeground,uni__dependencies:[0]},textGhost:{color:e.colors.foregroundMuted,uni__dependencies:[0]},textGhostHovered:{color:e.colors.foreground,uni__dependencies:[0]}}))},2475,[35,348,349,2476,2477,350,36,654,546,234,146,56,279]);
14093
14093
  __d(function(g,r,i,a,m,_e,d){"use strict";const e=["style"];function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Pressable",{enumerable:!0,get:function(){return h}});var s=t(r(d[0])),n=r(d[1]),o=t(r(d[2])),l=r(d[3]),y=r(d[4]),u=r(d[5]),c=r(d[6]);const h=(0,n.forwardRef)((t,n)=>{let{style:h}=t,f=(0,s.default)(t,e);const S=y.UnistylesShadowRegistry.getScopedTheme();let p,w=null;return(0,c.jsx)(o.default,Object.assign({},f,{ref:(0,u.isServer)()?void 0:e=>{if(w=e,y.UnistylesShadowRegistry.add(w,p?.hash),'function'==typeof n)return n(e);n&&(n.current=e)},style:e=>{const t='function'==typeof h?h(e):h,s=y.UnistylesShadowRegistry.getScopedTheme();return y.UnistylesShadowRegistry.setScopedTheme(S),y.UnistylesShadowRegistry.remove(w,p?.hash),p=(0,l.getClassName)(t),y.UnistylesShadowRegistry.add(w,p?.hash),y.UnistylesShadowRegistry.setScopedTheme(s),p}}))})},2476,[35,36,546,274,57,137,279]);
14094
14094
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ActivityIndicator",{enumerable:!0,get:function(){return u}});var e,t=r(d[0]),n=(e=t)&&e.__esModule?e:{default:e};const u=(0,r(d[1]).createUnistylesElement)(n.default)},2477,[654,274]);
14095
- __d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t.default=e,t}function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return At}}),_e.useEarliestOnlineHostServerId=ze,_e.useStoreReady=qe,_e.useHostRuntimeBootstrapState=function(){return(0,S.useContext)(He)};var n=r(_d[0]),o=r(_d[1]);r(_d[2]);var s=r(_d[3]),c=r(_d[4]),l=r(_d[5]),u=e(r(_d[6])),d=e(r(_d[7])),h=r(_d[8]),S=r(_d[9]),f=(t(r(_d[10])),t(r(_d[11])));r(_d[12]);var _=r(_d[13]),p=r(_d[14]),v=r(_d[15]),b=r(_d[16]),y=r(_d[17]),x=r(_d[18]),k=r(_d[19]),j=r(_d[20]),w=r(_d[21]),O=r(_d[22]),E=r(_d[23]),P=r(_d[24]),I=r(_d[25]),T=r(_d[26]),D=r(_d[27]),F=r(_d[28]),W=r(_d[29]),C=r(_d[30]),R=r(_d[31]),A=r(_d[32]),H=r(_d[33]),G=r(_d[34]),L=r(_d[35]),X=r(_d[36]),M=r(_d[37]),B=r(_d[38]),z=r(_d[39]),N=r(_d[40]),Y=r(_d[41]),U=r(_d[42]),J=r(_d[43]),V=r(_d[44]),K=r(_d[45]),$=r(_d[46]),q=r(_d[47]),Q=r(_d[48]),Z=r(_d[49]),ee=r(_d[50]),te=r(_d[51]),ne=r(_d[52]),oe=r(_d[53]),re=r(_d[54]),se=r(_d[55]),ae=r(_d[56]),ie=r(_d[57]),ce=r(_d[58]),le=r(_d[59]),ue=r(_d[60]),de=r(_d[61]),he=r(_d[62]),Se=r(_d[63]),me=r(_d[64]),fe=r(_d[65]),pe=r(_d[66]),ge=r(_d[67]),ve=r(_d[68]),be=r(_d[69]),ye=r(_d[70]),xe=r(_d[71]),ke=r(_d[72]),je=r(_d[73]),we=r(_d[74]),Oe=r(_d[75]),Ee=r(_d[76]),Pe=r(_d[77]),Ie=r(_d[78]),Te=r(_d[79]),De=r(_d[80]),Fe=r(_d[81]),We=r(_d[82]),Ce=r(_d[83]),Re=r(_d[84]),Ae=r(_d[85]);(0,be.polyfillCrypto)(),(0,Re.initializeDatadog)();const He=(0,S.createContext)({splashError:null,retry:()=>{},hasGivenUpWaitingForHost:!1,storeReady:!1,startupBlocker:{kind:"none"}});function Ge(){const e=(0,o.c)(5),t=(0,h.useRouter)(),n=(0,S.useRef)(null);let s;(0,Z.useDatadogViewTracking)(),e[0]!==t?(s=e=>{const n=(0,Fe.resolveNotificationTarget)(e),o=n.serverId,s=n.agentId;o&&s?(0,We.navigateToAgent)({serverId:o,agentId:s,pin:!0}):t.navigate((0,Fe.buildNotificationRoute)(e))},e[0]=t,e[1]=s):s=e[1];const c=(0,pe.useStableEvent)(s);let l,u;return e[2]!==c?(l=()=>{if(L.isWeb){let e=null,t=!1;if((0,G.getIsElectronRuntime)()){(0,Ce.ensureOsNotificationPermission)();const n=(0,oe.getDesktopHost)()?.events?.on?.("notification-click",e=>{const t="object"==typeof e&&null!==e&&"data"in e&&"object"==typeof e.data&&null!==e.data?e.data:void 0;c(t)});Promise.resolve(n).then(n=>{"function"==typeof n&&(t?n():e=n)})}const n=e=>{const t=e;e.preventDefault(),c(t.detail?.data)};return window.addEventListener(Ce.WEB_NOTIFICATION_CLICK_EVENT,n),()=>{t=!0,e?.(),window.removeEventListener(Ce.WEB_NOTIFICATION_CLICK_EVENT,n)}}d.setNotificationHandler({handleNotification:Le}),(0,Q.registerNotificationCategories)(),(0,$.registerBackgroundAgentStateFetch)(),(0,q.registerLiveActivities)();const e=e=>{const t=e.notification.request.identifier;n.current!==t&&(n.current=t,(0,K.handlePermissionNotificationResponse)(e).then(t=>{if(t.handled)return;const n=e.notification.request.content.data;c(n)}))},t=d.addNotificationResponseReceivedListener(e);return d.getLastNotificationResponseAsync().then(t=>{t&&e(t)}),()=>{t.remove()}},u=[c],e[2]=c,e[3]=l,e[4]=u):(l=e[3],u=e[4]),(0,S.useEffect)(l,u),null}async function Le(){return{shouldShowAlert:!1,shouldShowBanner:!1,shouldShowList:!1,shouldPlaySound:!1,shouldSetBadge:!1}}function Xe(e){const t=(0,o.c)(3),{daemon:n}=e,s=(0,ke.useHostRuntimeClient)(n.serverId);if(!s)return null;let c;return t[0]!==s||t[1]!==n.serverId?(c=(0,Ae.jsx)(M.SessionProvider,{serverId:n.serverId,client:s,children:null},n.serverId),t[0]=s,t[1]=n.serverId,t[2]=c):c=t[2],c}function Me(){const e=(0,o.c)(4),t=(0,ke.useHosts)();if(0===t.length)return null;let n,s;return e[0]!==t?(n=t.map(Be),e[0]=t,e[1]=n):n=e[1],e[2]!==n?(s=(0,Ae.jsx)(Ae.Fragment,{children:n}),e[2]=n,e[3]=s):s=e[3],s}function Be(e){return(0,Ae.jsx)(Xe,{daemon:e},e.serverId)}function ze(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,ke.getHostRuntimeStore)(),e[0]=t):t=e[0];const n=t;let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{const t=n.subscribeAll(e),o=n.subscribeHostList(e);return()=>{t(),o()}},e[1]=s):s=e[1];const c=s;let l,u;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>n.getEarliestOnlineHostServerId(),u=()=>n.getEarliestOnlineHostServerId(),e[2]=l,e[3]=u):(l=e[2],u=e[3]),(0,S.useSyncExternalStore)(c,l,u)}function Ne(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()}),e[0]=t):t=e[0];const n=t;let s,c,l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>n.subscribe(e),c=()=>n.getLastError(),l=()=>n.getLastError(),e[1]=s,e[2]=c,e[3]=l):(s=e[1],c=e[2],l=e[3]),(0,S.useSyncExternalStore)(s,c,l)}function Ye(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()}),e[0]=t):t=e[0];const n=t;let s,c,l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>n.subscribe(e),c=()=>n.isRunning(),l=()=>n.isRunning(),e[1]=s,e[2]=c,e[3]=l):(s=e[1],c=e[2],l=e[3]),(0,S.useSyncExternalStore)(s,c,l)}const Ue=5e3;async function Je(){if(!(0,ee.shouldUseDesktopDaemon)())return!1;if((0,ke.hasConfiguredLocalDaemonOverride)())return!1;return(await(0,re.loadDesktopSettings)()).daemon.manageBuiltInDaemon}function Ve(e){const t=(0,o.c)(23),{children:n}=e;let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],t[0]=s):s=t[0],(0,S.useEffect)($e,s);const c=ze(),l=Ne(),u=Ye(),[d,h]=(0,S.useState)(!1);let f;t[1]===Symbol.for("react.memo_cache_sentinel")?(f=(0,ee.shouldUseDesktopDaemon)(),t[1]=f):f=t[1];const _=f;let p;t[2]!==c||t[3]!==l||t[4]!==u?(p=(0,J.resolveStartupBlocker)({isDesktopRuntime:_,anyOnlineHostServerId:c,daemonStartIsRunning:u,daemonStartError:l}),t[2]=c,t[3]=l,t[4]=u,t[5]=p):p=t[5];const v=p;let b;t[6]!==c||t[7]!==d||t[8]!==v?(b=(0,J.shouldRunStartupGiveUpTimer)({startupBlocker:v,anyOnlineHostServerId:c,hasGivenUpWaitingForHost:d}),t[6]=c,t[7]=d,t[8]=v,t[9]=b):b=t[9];const y=b;let x,k;t[10]!==y?(x=()=>{if(!y)return;const e=setTimeout(()=>{h(!0)},Ue);return()=>{clearTimeout(e)}},k=[y],t[10]=y,t[11]=x,t[12]=k):(x=t[11],k=t[12]),(0,S.useEffect)(x,k);const j=Ke,w="managed-daemon-error"===v.kind?v.message:null;let O;t[13]!==v?(O=(0,J.resolveStartupNavigationReady)({startupBlocker:v}),t[13]=v,t[14]=O):O=t[14];const E=O;let P;t[15]!==d||t[16]!==w||t[17]!==v||t[18]!==E?(P={splashError:w,retry:j,hasGivenUpWaitingForHost:d,storeReady:E,startupBlocker:v},t[15]=d,t[16]=w,t[17]=v,t[18]=E,t[19]=P):P=t[19];const I=P;let T;return t[20]!==n||t[21]!==I?(T=(0,Ae.jsx)(He.Provider,{value:I,children:n}),t[20]=n,t[21]=I,t[22]=T):T=t[22],T}function Ke(){const e=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()});(0,J.startDaemonIfGateAllows)({daemonStartService:e,shouldStartDaemon:Je,onGateError:t=>e.recordError(t)})}function $e(){const e=(0,ke.getHostRuntimeStore)(),t=(0,je.getDaemonStartService)({store:e});(0,J.startHostRuntimeBootstrap)({store:e,daemonStartService:t,shouldStartDaemon:Je,onGateError:e=>t.recordError(e)})}function qe(){return(0,S.useContext)(He).storeReady}function Qe(e){const t=(0,o.c)(2),{children:n}=e;let s;return t[0]!==n?(s=(0,Ae.jsx)(l.QueryClientProvider,{client:xe.queryClient,children:n}),t[0]=n,t[1]=s):s=t[1],s}const Ze={flex:1,flexDirection:"row"},et={flex:1},tt=32,nt=L.isWeb?"auto":"pan-y",ot=["dark","zinc","midnight","claude","ghostty","light"];function rt(e){const t=(0,o.c)(58),{children:s,selectedAgentId:c,chromeEnabled:l}=e,u=(0,ke.useHosts)(),{settings:d,updateSettings:S}=(0,fe.useAppSettings)(),_=(0,Ee.usePanelStore)(mt),p=(0,Ee.usePanelStore)(St),v=(0,Ee.usePanelStore)(ht),b=(0,Ee.usePanelStore)(dt),y=(0,Ee.usePanelStore)(ut),w=(0,Ee.usePanelStore)(lt),L=(0,Ee.usePanelStore)(ct);(0,Se.useForegroundReconnect)();const X=at;let M;t[0]!==d.theme||t[1]!==S?(M=()=>{const e=(ot.indexOf(d.theme)+1)%ot.length;S({theme:ot[e]})},t[0]=d.theme,t[1]=S,t[2]=M):M=t[2];const z=M,N=(0,G.useIsCompactFormFactor)(),Y=(0,f.default)(),U=!1;let J;t[3]!==Y.height||t[4]!==Y.width?(J=(0,x.resolveColumnMode)({width:Y.width,height:Y.height,isTablet:U}),t[3]=Y.height,t[4]=Y.width,t[5]=J):J=t[5];const V=N||U;(0,he.useCompactWebViewportZoomLock)(V);const K=(0,h.usePathname)(),$=l??u.length>0,q=V?_:p;let Q;t[6]!==b||t[7]!==y||t[8]!==v?(Q=()=>{const{desktop:e}=Ee.usePanelStore.getState();(0,Ie.toggleDesktopSidebarsWithCheckoutIntent)({isAgentListOpen:e.agentListOpen,isFileExplorerOpen:e.fileExplorerOpen,openAgentList:v,closeAgentList:b,closeFileExplorer:y,toggleFocusedFileExplorer:st})},t[6]=b,t[7]=y,t[8]=v,t[9]=Q):Q=t[9];const Z=Q;let ee;t[10]!==$||t[11]!==K?(ee=$||K.startsWith("/settings"),t[10]=$,t[11]=K,t[12]=ee):ee=t[12];const te=ee;let ne,oe,re,le;t[13]!==z||t[14]!==V||t[15]!==te||t[16]!==q||t[17]!==Z||t[18]!==w?(ne={enabled:te,isMobile:V,toggleAgentList:q,toggleBothSidebars:Z,toggleFocusMode:w,cycleTheme:z},t[13]=z,t[14]=V,t[15]=te,t[16]=q,t[17]=Z,t[18]=w,t[19]=ne):ne=t[19],(0,ue.useKeyboardShortcuts)(ne),(0,ie.useActiveWorktreeNewAction)(),(0,ce.useGlobalNewWorkspaceAction)(),t[20]!==$||t[21]!==V||t[22]!==L||t[23]!==c?(oe=!V&&$&&!L&&(0,Ae.jsx)(T.LeftSidebar,{selectedAgentId:c}),t[20]=$,t[21]=V,t[22]=L,t[23]=c,t[24]=oe):oe=t[24],t[25]!==s||t[26]!==$||t[27]!==V?(re=V&&$?(0,Ae.jsx)(B.ExplorerSidebarAnimationProvider,{children:(0,Ae.jsx)(D.CompactExplorerSidebarHost,{enabled:$,children:(0,Ae.jsx)(n.View,{style:et,children:s})})}):(0,Ae.jsx)(n.View,{style:et,children:s}),t[25]=s,t[26]=$,t[27]=V,t[28]=re):re=t[28],t[29]!==oe||t[30]!==re?(le=(0,Ae.jsxs)(n.View,{style:Ze,children:[oe,re]}),t[29]=oe,t[30]=re,t[31]=le):le=t[31];const de=le;let me,pe,ge,ve,be,ye,xe,je,we,Oe,Pe,Te,De,Fe,We,Ce;t[32]===Symbol.for("react.memo_cache_sentinel")?(me=(0,Ae.jsx)(j.DaemonConnectionBanner,{onRetry:X}),t[32]=me):me=t[32],t[33]===Symbol.for("react.memo_cache_sentinel")?(pe=(0,Ae.jsx)(A.FloatingPanelPortalHost,{}),t[33]=pe):pe=t[33],t[34]!==$||t[35]!==V||t[36]!==c?(ge=V&&$&&(0,Ae.jsx)(T.LeftSidebar,{selectedAgentId:c}),t[34]=$,t[35]=V,t[36]=c,t[37]=ge):ge=t[37],t[38]===Symbol.for("react.memo_cache_sentinel")?(ve=(0,Ae.jsx)(E.DownloadToast,{}),be=(0,Ae.jsx)(se.RosettaCalloutSource,{}),ye=(0,Ae.jsx)(ae.UpdateCalloutSource,{}),xe=(0,Ae.jsx)(O.WorktreeSetupCalloutSource,{}),je=(0,Ae.jsx)(k.CommandCenter,{}),we=(0,Ae.jsx)(H.HostChooserModal,{}),Oe=(0,Ae.jsx)(F.ProjectPickerModal,{}),Pe=(0,Ae.jsx)(W.ProviderSettingsHost,{}),t[38]=ve,t[39]=be,t[40]=ye,t[41]=xe,t[42]=je,t[43]=we,t[44]=Oe,t[45]=Pe):(ve=t[38],be=t[39],ye=t[40],xe=t[41],je=t[42],we=t[43],Oe=t[44],Pe=t[45]),t[46]!==te?(Te=(0,Ae.jsx)(R.WorkspaceShortcutTargetsSubscriber,{enabled:te}),t[46]=te,t[47]=Te):Te=t[47],t[48]===Symbol.for("react.memo_cache_sentinel")?(De=(0,Ae.jsx)(C.WorkspaceSetupDialog,{}),Fe=(0,Ae.jsx)(I.KeyboardShortcutsDialog,{}),We=(0,Ae.jsx)(P.QuittingOverlay,{}),t[48]=De,t[49]=Fe,t[50]=We):(De=t[48],Fe=t[49],We=t[50]),t[51]!==ge||t[52]!==Te||t[53]!==de?(Ce=(0,Ae.jsxs)(n.View,{style:Ht.surfaceFill,children:[me,de,pe,ge,ve,be,ye,xe,je,we,Oe,Pe,Te,De,Fe,We]}),t[51]=ge,t[52]=Te,t[53]=de,t[54]=Ce):Ce=t[54];const Re=Ce;if(!V)return Re;let He;return t[55]!==$||t[56]!==Re?(He=(0,Ae.jsx)(yt,{chromeEnabled:$,children:Re}),t[55]=$,t[56]=Re,t[57]=He):He=t[57],He}function st(){return ve.keyboardActionDispatcher.dispatch({id:"sidebar.toggle.right",scope:"sidebar"})}function at(e){const t=(0,ke.getHostRuntimeStore)();t.ensureConnectedAll(),t.runProbeCycleNow(e).catch(it)}function it(){}function ct(e){return e.desktop.focusModeEnabled}function lt(e){return e.toggleFocusMode}function ut(e){return e.closeDesktopFileExplorer}function dt(e){return e.closeDesktopAgentList}function ht(e){return e.openDesktopAgentList}function St(e){return e.toggleDesktopAgentList}function mt(e){return e.toggleMobileAgentList}const ft={code:"function _layoutTsx1(){const{isGesturing,runOnJS,setOverlayPeek}=this.__closure;isGesturing.value=false;runOnJS(setOverlayPeek)(false);}"},_t={code:"function _layoutTsx2(event_2){const{isGesturing,windowWidth,animateToOpen,runOnJS,handleGestureOpen,animateToClose}=this.__closure;isGesturing.value=false;const shouldOpen=event_2.translationX>windowWidth/3||event_2.velocityX>500;if(shouldOpen){animateToOpen();runOnJS(handleGestureOpen)();}else{animateToClose();}}"},pt={code:"function _layoutTsx3(event_1){const{windowWidth,translateX,backdropOpacity,interpolate,Extrapolation}=this.__closure;const newTranslateX=Math.min(0,-windowWidth+event_1.translationX);translateX.value=newTranslateX;backdropOpacity.value=interpolate(newTranslateX,[-windowWidth,0],[0,1],Extrapolation.CLAMP);}"},gt={code:"function _layoutTsx4(){const{isGesturing,runOnJS,setOverlayPeek}=this.__closure;isGesturing.value=true;runOnJS(setOverlayPeek)(true);}"},vt={code:"function _layoutTsx5(event_0,stateManager){const{touchStartX,touchStartY,canOpenLeftSidebarGesture,mobilePanelState,translateX,windowWidth,horizontalScroll,isWeb,MOBILE_WEB_EDGE_SWIPE_WIDTH}=this.__closure;var _horizontalScroll;const touch_0=event_0.changedTouches[0];if(!touch_0||event_0.numberOfTouches!==1)return;const deltaX=touch_0.absoluteX-touchStartX.value;const deltaY=touch_0.absoluteY-touchStartY.value;const absDeltaX=Math.abs(deltaX);const absDeltaY=Math.abs(deltaY);if(!canOpenLeftSidebarGesture(mobilePanelState.value,translateX.value,windowWidth)){stateManager.fail();return;}if((_horizontalScroll=horizontalScroll)!==null&&_horizontalScroll!==void 0&&_horizontalScroll.isAnyScrolledRight.value){stateManager.fail();return;}if(isWeb&&touchStartX.value>MOBILE_WEB_EDGE_SWIPE_WIDTH){stateManager.fail();return;}if(deltaX<=-10){stateManager.fail();return;}if(absDeltaY>10&&absDeltaY>absDeltaX){stateManager.fail();return;}if(deltaX>15&&absDeltaX>absDeltaY){stateManager.activate();}}"},bt={code:"function _layoutTsx6(event){const{touchStartX,touchStartY}=this.__closure;const touch=event.changedTouches[0];if(touch){touchStartX.value=touch.absoluteX;touchStartY.value=touch.absoluteY;}}"};function yt({children:e,chromeEnabled:t}){const n=(0,Ee.usePanelStore)(e=>e.showMobileAgentList),o=(0,X.useHorizontalScrollOptional)(),{translateX:s,backdropOpacity:c,windowWidth:l,animateToOpen:u,animateToClose:d,setOverlayPeek:h,isGesturing:f,mobilePanelState:p,gestureAnimatingRef:b,openGestureRef:y}=(0,z.useSidebarAnimation)(),x=(0,v.useSharedValue)(0),k=(0,v.useSharedValue)(0),j=t,w=(0,S.useCallback)(()=>{b.current=!0,n()},[n,b]),O=(0,S.useMemo)(()=>_.Gesture.Pan().withRef(y).enabled(j).manualActivation(!0).failOffsetY([-10,10]).onTouchesDown((function({_worklet_1615879058013_init_data:e,touchStartX:t,touchStartY:n}){const o=function(e){const o=e.changedTouches[0];o&&(t.value=o.absoluteX,n.value=o.absoluteY)};return o.__closure={touchStartX:t,touchStartY:n},o.__workletHash=1615879058013,o.__initData=e,o})({_worklet_1615879058013_init_data:bt,touchStartX:x,touchStartY:k})).onTouchesMove((function({_worklet_8337771416778_init_data:e,touchStartX:t,touchStartY:n,canOpenLeftSidebarGesture:o,mobilePanelState:s,translateX:c,windowWidth:l,horizontalScroll:u,isWeb:d,MOBILE_WEB_EDGE_SWIPE_WIDTH:h}){const S=function(e,S){const f=e.changedTouches[0];if(!f||1!==e.numberOfTouches)return;const _=f.absoluteX-t.value,p=f.absoluteY-n.value,v=Math.abs(_),b=Math.abs(p);o(s.value,c.value,l)?u?.isAnyScrolledRight.value||d&&t.value>h||_<=-10||b>10&&b>v?S.fail():_>15&&v>b&&S.activate():S.fail()};return S.__closure={touchStartX:t,touchStartY:n,canOpenLeftSidebarGesture:o,mobilePanelState:s,translateX:c,windowWidth:l,horizontalScroll:u,isWeb:d,MOBILE_WEB_EDGE_SWIPE_WIDTH:h},S.__workletHash=8337771416778,S.__initData=e,S})({_worklet_8337771416778_init_data:vt,touchStartX:x,touchStartY:k,canOpenLeftSidebarGesture:Te.canOpenLeftSidebarGesture,mobilePanelState:p,translateX:s,windowWidth:l,horizontalScroll:o,isWeb:L.isWeb,MOBILE_WEB_EDGE_SWIPE_WIDTH:tt})).onStart((function({_worklet_11112183592680_init_data:e,isGesturing:t,runOnJS:n,setOverlayPeek:o}){const s=function(){t.value=!0,n(o)(!0)};return s.__closure={isGesturing:t,runOnJS:n,setOverlayPeek:o},s.__workletHash=0xa1b41c176e8,s.__initData=e,s})({_worklet_11112183592680_init_data:gt,isGesturing:f,runOnJS:v.runOnJS,setOverlayPeek:h})).onUpdate((function({_worklet_4399350013762_init_data:e,windowWidth:t,translateX:n,backdropOpacity:o,interpolate:s,Extrapolation:c}){const l=function(e){const l=Math.min(0,-t+e.translationX);n.value=l,o.value=s(l,[-t,0],[0,1],c.CLAMP)};return l.__closure={windowWidth:t,translateX:n,backdropOpacity:o,interpolate:s,Extrapolation:c},l.__workletHash=4399350013762,l.__initData=e,l})({_worklet_4399350013762_init_data:pt,windowWidth:l,translateX:s,backdropOpacity:c,interpolate:v.interpolate,Extrapolation:v.Extrapolation})).onEnd((function({_worklet_3566839805561_init_data:e,isGesturing:t,windowWidth:n,animateToOpen:o,runOnJS:s,handleGestureOpen:c,animateToClose:l}){const u=function(e){t.value=!1;e.translationX>n/3||e.velocityX>500?(o(),s(c)()):l()};return u.__closure={isGesturing:t,windowWidth:n,animateToOpen:o,runOnJS:s,handleGestureOpen:c,animateToClose:l},u.__workletHash=3566839805561,u.__initData=e,u})({_worklet_3566839805561_init_data:_t,isGesturing:f,windowWidth:l,animateToOpen:u,runOnJS:v.runOnJS,handleGestureOpen:w,animateToClose:d})).onFinalize((function({_worklet_11316004136205_init_data:e,isGesturing:t,runOnJS:n,setOverlayPeek:o}){const s=function(){t.value=!1,n(o)(!1)};return s.__closure={isGesturing:t,runOnJS:n,setOverlayPeek:o},s.__workletHash=0xa4ab668250d,s.__initData=e,s})({_worklet_11316004136205_init_data:ft,isGesturing:f,runOnJS:v.runOnJS,setOverlayPeek:h})),[j,l,s,c,p,u,d,h,w,f,y,o?.isAnyScrolledRight,x,k]);return(0,Ae.jsx)(_.GestureDetector,{gesture:O,touchAction:nt,children:e})}function xt(e){const t=(0,o.c)(25),{children:n}=e,{settings:s,isLoading:c}=(0,fe.useAppSettings)(),{upsertConnectionFromOfferUrl:l}=(0,ke.useHostMutations)(),{theme:u}=(0,y.useUnistyles)();let d,h,f,_,p,v;t[0]!==s.theme||t[1]!==c?(d=()=>{c||("auto"===s.theme?y.UnistylesRuntime.setAdaptiveThemes(!0):(y.UnistylesRuntime.setAdaptiveThemes(!1),y.UnistylesRuntime.setTheme(Pe.THEME_TO_UNISTYLES[s.theme])))},h=[c,s.theme],t[0]=s.theme,t[1]=c,t[2]=d,t[3]=h):(d=t[2],h=t[3]),(0,S.useEffect)(d,h),t[4]!==u.colors.accent?(f=()=>{(0,Oe.applyFocusRingColor)(u.colors.accent)},_=[u.colors.accent],t[4]=u.colors.accent,t[5]=f,t[6]=_):(f=t[5],_=t[6]),(0,S.useEffect)(f,_),t[7]!==s.codeFontSize||t[8]!==s.monoFontFamily||t[9]!==s.syntaxTheme||t[10]!==s.uiFontFamily||t[11]!==s.uiFontSize||t[12]!==c?(p=()=>{c||(0,we.applyAppearance)({uiFontFamily:s.uiFontFamily,monoFontFamily:s.monoFontFamily,uiFontSize:s.uiFontSize,codeFontSize:s.codeFontSize,syntaxTheme:s.syntaxTheme})},v=[c,s.uiFontFamily,s.monoFontFamily,s.uiFontSize,s.codeFontSize,s.syntaxTheme],t[7]=s.codeFontSize,t[8]=s.monoFontFamily,t[9]=s.syntaxTheme,t[10]=s.uiFontFamily,t[11]=s.uiFontSize,t[12]=c,t[13]=p,t[14]=v):(p=t[13],v=t[14]),(0,S.useEffect)(p,v);const b=!c;let x,k,j,w,O;return t[15]!==b?(x=(0,Ae.jsx)(kt,{enabled:b}),t[15]=b,t[16]=x):x=t[16],t[17]!==l?(k=(0,Ae.jsx)(wt,{upsertDaemonFromOfferUrl:l}),t[17]=l,t[18]=k):k=t[18],t[19]===Symbol.for("react.memo_cache_sentinel")?(j=(0,Ae.jsx)(Me,{}),w=(0,Ae.jsx)(Tt,{}),t[19]=j,t[20]=w):(j=t[19],w=t[20]),t[21]!==n||t[22]!==x||t[23]!==k?(O=(0,Ae.jsxs)(U.VoiceProvider,{children:[x,k,j,w,n]}),t[21]=n,t[22]=x,t[23]=k,t[24]=O):O=t[24],O}function kt(e){const t=(0,o.c)(5),{enabled:n}=e,{theme:s}=(0,y.useUnistyles)(),c=s.colors.surface0,l=s.colors.foreground;let u,d;return t[0]!==n||t[1]!==l||t[2]!==c?(u=()=>{n&&!L.isNative&&(0,ne.updateDesktopWindowControls)({backgroundColor:c,foregroundColor:l}).catch(jt)},d=[n,c,l],t[0]=n,t[1]=l,t[2]=c,t[3]=u,t[4]=d):(u=t[3],d=t[4]),(0,S.useEffect)(u,d),null}function jt(e){console.warn("[DesktopWindow] Failed to update window controls overlay",e)}function wt(e){const t=(0,o.c)(4),{upsertDaemonFromOfferUrl:n}=e,s=(0,h.useRouter)();let c,l;return t[0]!==s||t[1]!==n?(c=()=>{let e=!1;const t=t=>{t&&t.includes("#offer=")&&n(t).then(t=>{if(e)return;const n=t?.serverId;"string"==typeof n&&n&&s.replace((0,De.buildOpenProjectRoute)())}).catch(t=>{e||console.warn("[Linking] Failed to import pairing offer",t)})};u.getInitialURL().then(t).catch(Ot);const o=u.addEventListener("url",e=>{t(e.url)});return()=>{e=!0,o.remove()}},l=[s,n],t[0]=s,t[1]=n,t[2]=c,t[3]=l):(c=t[2],l=t[3]),(0,S.useEffect)(c,l),null}function Ot(){}let Et=1;function Pt(){const e=(0,H.useHostChooser)(),t=(0,ke.useHostRegistryLoaded)(),[n,o]=(0,S.useState)(null),[s,c]=(0,S.useState)(null),l=(0,me.useOpenProject)(n?.serverId??null),u=(0,S.useCallback)(n=>{const s=n.trim();s&&(t?e({title:"Choose host",onChooseHost:e=>{o({id:Et++,serverId:e,path:s})}}):c(s))},[e,t]);return(0,S.useEffect)(()=>{if(!t||!s)return;const e=s;c(null),u(e)},[t,u,s]),(0,S.useEffect)(()=>{if(!n)return;let e=!1;return l(n.path).then(t=>e?null:t.ok?(o(e=>e?.id===n.id?null:e),null):(o(e=>e?.id===n.id?null:e),null)),()=>{e=!0}},[l,n]),(0,S.useEffect)(()=>{let e=!1,t=null;return(0,oe.getDesktopHost)()?.getPendingOpenProject?.()?.then(t=>{!e&&t&&u(t)}).catch(()=>{}),(0,te.listenToDesktopEvent)("open-project",t=>{if(e)return;const n="string"==typeof t?.path?t.path.trim():"";u(n)}).then(n=>{e?n():t=n}).catch(()=>{}),()=>{e=!0,t?.()}},[u]),null}function It(e){const t=(0,o.c)(16),{children:n}=e,s=(0,h.usePathname)(),c=(0,h.useGlobalSearchParams)(),l=(0,ke.useHosts)(),u=qe();let d;t[0]!==s?(d=(0,De.parseServerIdFromPathname)(s),t[0]=s,t[1]=d):d=t[1];const S=d;let f;t[2]!==l||t[3]!==S?(f=null!==S&&l.some(e=>e.serverId===S),t[2]=l,t[3]=S,t[4]=f):f=t[4];const _=u&&("/open-project"===s||"/new"===s||"/sessions"===s||"/schedules"===s||"/sources"===s||"/loops"===s||"/inbox"===s||f);let p;if(t[5]!==c.open||t[6]!==s){e:{let e;if(t[8]!==s){const n=s.match(/^\/h\/([^/]+)\/workspace\/[^/]+(?:\/|$)/);e=n?.[1]?.trim()??"",t[8]=s,t[9]=e}else e=t[9];const n=e,o=Array.isArray(c.open)?c.open[0]:c.open,l=(0,De.parseWorkspaceOpenIntent)(o);if(n&&"agent"===l?.kind){const e=l.agentId.trim();p=e?`${n}:${e}`:void 0;break e}let u;t[10]!==s?(u=(0,De.parseHostAgentRouteFromPathname)(s),t[10]=s,t[11]=u):u=t[11];const d=u;p=d?`${d.serverId}:${d.agentId}`:void 0}t[5]=c.open,t[6]=s,t[7]=p}else p=t[7];const v=_?p:void 0;let b;return t[12]!==n||t[13]!==_||t[14]!==v?(b=(0,Ae.jsx)(rt,{selectedAgentId:v,chromeEnabled:_,children:n}),t[12]=n,t[13]=_,t[14]=v,t[15]=b):b=t[15],b}function Tt(){return(0,le.useFaviconStatus)(),null}function Dt(){const e=(0,o.c)(25),t=qe(),{theme:n}=(0,y.useUnistyles)();let s;e[0]!==n.colors.surface0?(s={headerShown:!1,animation:"none",contentStyle:{backgroundColor:n.colors.surface0}},e[0]=n.colors.surface0,e[1]=s):s=e[1];const c=s;let l,u,d,S,f,_,p,v,b,x,k,j,w,O,E,P,I,T,D,F;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,Ae.jsx)(h.Stack.Screen,{name:"index"}),u=(0,Ae.jsx)(h.Stack.Screen,{name:"agent/[agentId]"}),e[2]=l,e[3]=u):(l=e[2],u=e[3]),e[4]===Symbol.for("react.memo_cache_sentinel")?(b=(0,Ae.jsx)(h.Stack.Screen,{name:"welcome"}),x=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/index"}),k=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/[section]"}),j=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/projects/index"}),w=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/projects/[projectKey]"}),O=(0,Ae.jsx)(h.Stack.Screen,{name:"new"}),E=(0,Ae.jsx)(h.Stack.Screen,{name:"open-project"}),d=(0,Ae.jsx)(h.Stack.Screen,{name:"sessions"}),S=(0,Ae.jsx)(h.Stack.Screen,{name:"schedules"}),f=(0,Ae.jsx)(h.Stack.Screen,{name:"sources"}),_=(0,Ae.jsx)(h.Stack.Screen,{name:"loops"}),p=(0,Ae.jsx)(h.Stack.Screen,{name:"inbox"}),v=(0,Ae.jsx)(h.Stack.Screen,{name:"pair-scan"}),e[4]=d,e[5]=S,e[6]=f,e[7]=_,e[8]=p,e[9]=v,e[10]=b,e[11]=x,e[12]=k,e[13]=j,e[14]=w,e[15]=O,e[16]=E):(d=e[4],S=e[5],f=e[6],_=e[7],p=e[8],v=e[9],b=e[10],x=e[11],k=e[12],j=e[13],w=e[14],O=e[15],E=e[16]),e[17]!==t?(P=(0,Ae.jsxs)(h.Stack.Protected,{guard:t,children:[b,x,k,j,w,O,E,d,S,f,_,p,v]}),e[17]=t,e[18]=P):P=e[18],e[19]===Symbol.for("react.memo_cache_sentinel")?(I=(0,Ae.jsx)(h.Stack.Screen,{name:"h/[serverId]"}),T=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/hosts/[serverId]/index"}),D=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/hosts/[serverId]/[hostSection]"}),e[19]=I,e[20]=T,e[21]=D):(I=e[19],T=e[20],D=e[21]),e[22]!==c||e[23]!==P?(F=(0,Ae.jsxs)(h.Stack,{screenOptions:c,children:[l,u,P,I,T,D]}),e[22]=c,e[23]=P,e[24]=F):F=e[24],F}function Ft(){const e=(0,o.c)(3),t=(0,h.useNavigationContainerRef)();let n,s;return e[0]!==t?(n=()=>(0,V.registerWorkspaceRouteNavigationRef)(t),s=[t],e[0]=t,e[1]=n,e[2]=s):(n=e[1],s=e[2]),(0,S.useEffect)(n,s),null}function Wt(){const e=(0,o.c)(2);let t,n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,Ae.jsx)(Pt,{}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,Ae.jsx)(z.SidebarAnimationProvider,{children:(0,Ae.jsxs)(X.HorizontalScrollProvider,{children:[t,(0,Ae.jsx)(w.DaemonRpcBoundary,{children:(0,Ae.jsxs)(It,{children:[(0,Ae.jsx)(Ft,{}),(0,Ae.jsx)(Dt,{})]})})]})}),e[1]=n):n=e[1],n}function Ct(e){const t=(0,o.c)(3),{children:n}=e;let s,c;return t[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,Ae.jsx)(Ge,{}),t[0]=s):s=t[0],t[1]!==n?(c=(0,Ae.jsxs)(Ve,{children:[s,(0,Ae.jsx)(N.SidebarCalloutProvider,{children:(0,Ae.jsx)(Y.ToastProvider,{children:(0,Ae.jsx)(xt,{children:n})})})]}),t[1]=n,t[2]=c):c=t[2],c}function Rt(e){const t=(0,o.c)(2),{children:n}=e;let l;return t[0]!==n?(l=(0,Ae.jsx)(Qe,{children:(0,Ae.jsx)(ge.I18nProvider,{children:(0,Ae.jsx)(b.SafeAreaProvider,{children:(0,Ae.jsx)(p.KeyboardProvider,{children:(0,Ae.jsx)(de.KeyboardShiftProvider,{children:(0,Ae.jsx)(c.PortalProvider,{children:(0,Ae.jsx)(s.BottomSheetModalProvider,{children:n})})})})})})}),t[0]=n,t[1]=l):l=t[1],l}function At(){const e=(0,o.c)(2);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,Ae.jsx)(v.ReducedMotionConfig,{mode:v.ReduceMotion.System}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(s=(0,Ae.jsxs)(_.GestureHandlerRootView,{style:et,children:[t,(0,Ae.jsx)(n.View,{style:Ht.surfaceFill,children:(0,Ae.jsx)(Rt,{children:(0,Ae.jsx)(ye.TenantAuthProvider,{children:(0,Ae.jsx)(ye.TenantAuthGate,{children:(0,Ae.jsx)(Ct,{children:(0,Ae.jsx)(Wt,{})})})})})})]}),e[1]=s):s=e[1],s}const Ht=y.StyleSheet.create(e=>({surfaceFill:{flex:1,backgroundColor:e.colors.surface0,uni__dependencies:[0]}}))},2478,[348,350,55,2479,2991,3030,746,3079,379,36,25,686,146,2482,3214,2570,558,56,3265,3266,3533,3534,3535,3559,3578,3581,3582,3717,3918,3926,3937,4156,4083,3468,3472,3420,4157,4158,3872,3596,3536,3514,4057,4193,3507,4194,4195,4202,4205,4206,3416,3580,3627,3417,3591,4208,4210,4214,4215,4216,4224,3910,4227,4228,3920,3590,3538,4229,3272,1,4231,3445,3274,4246,4247,4249,3597,305,4250,3600,3492,4188,3499,4175,4251,279]);
14095
+ __d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t.default=e,t}function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return Ht}}),_e.useEarliestOnlineHostServerId=ze,_e.useStoreReady=qe,_e.useHostRuntimeBootstrapState=function(){return(0,S.useContext)(He)};var n=r(_d[0]),o=r(_d[1]);r(_d[2]);var s=r(_d[3]),c=r(_d[4]),l=r(_d[5]),u=e(r(_d[6])),d=e(r(_d[7])),h=r(_d[8]),S=r(_d[9]),f=(t(r(_d[10])),t(r(_d[11])));r(_d[12]);var _=r(_d[13]),p=r(_d[14]),v=r(_d[15]),b=r(_d[16]),y=r(_d[17]),x=r(_d[18]),k=r(_d[19]),j=r(_d[20]),w=r(_d[21]),O=r(_d[22]),E=r(_d[23]),P=r(_d[24]),I=r(_d[25]),T=r(_d[26]),D=r(_d[27]),F=r(_d[28]),W=r(_d[29]),C=r(_d[30]),R=r(_d[31]),A=r(_d[32]),H=r(_d[33]),G=r(_d[34]),L=r(_d[35]),X=r(_d[36]),M=r(_d[37]),B=r(_d[38]),z=r(_d[39]),N=r(_d[40]),Y=r(_d[41]),U=r(_d[42]),J=r(_d[43]),V=r(_d[44]),K=r(_d[45]),$=r(_d[46]),q=r(_d[47]),Q=r(_d[48]),Z=r(_d[49]),ee=r(_d[50]),te=r(_d[51]),ne=r(_d[52]),oe=r(_d[53]),re=r(_d[54]),se=r(_d[55]),ae=r(_d[56]),ie=r(_d[57]),ce=r(_d[58]),le=r(_d[59]),ue=r(_d[60]),de=r(_d[61]),he=r(_d[62]),Se=r(_d[63]),me=r(_d[64]),fe=r(_d[65]),pe=r(_d[66]),ge=r(_d[67]),ve=r(_d[68]),be=r(_d[69]),ye=r(_d[70]),xe=r(_d[71]),ke=r(_d[72]),je=r(_d[73]),we=r(_d[74]),Oe=r(_d[75]),Ee=r(_d[76]),Pe=r(_d[77]),Ie=r(_d[78]),Te=r(_d[79]),De=r(_d[80]),Fe=r(_d[81]),We=r(_d[82]),Ce=r(_d[83]),Re=r(_d[84]),Ae=r(_d[85]);(0,be.polyfillCrypto)(),(0,Re.initializeDatadog)();const He=(0,S.createContext)({splashError:null,retry:()=>{},hasGivenUpWaitingForHost:!1,storeReady:!1,startupBlocker:{kind:"none"}});function Ge(){const e=(0,o.c)(5),t=(0,h.useRouter)(),n=(0,S.useRef)(null);let s;(0,Z.useDatadogViewTracking)(),e[0]!==t?(s=e=>{const n=(0,Fe.resolveNotificationTarget)(e),o=n.serverId,s=n.agentId;o&&s?(0,We.navigateToAgent)({serverId:o,agentId:s,pin:!0}):t.navigate((0,Fe.buildNotificationRoute)(e))},e[0]=t,e[1]=s):s=e[1];const c=(0,pe.useStableEvent)(s);let l,u;return e[2]!==c?(l=()=>{if(L.isWeb){let e=null,t=!1;if((0,G.getIsElectronRuntime)()){(0,Ce.ensureOsNotificationPermission)();const n=(0,oe.getDesktopHost)()?.events?.on?.("notification-click",e=>{const t="object"==typeof e&&null!==e&&"data"in e&&"object"==typeof e.data&&null!==e.data?e.data:void 0;c(t)});Promise.resolve(n).then(n=>{"function"==typeof n&&(t?n():e=n)})}const n=e=>{const t=e;e.preventDefault(),c(t.detail?.data)};return window.addEventListener(Ce.WEB_NOTIFICATION_CLICK_EVENT,n),()=>{t=!0,e?.(),window.removeEventListener(Ce.WEB_NOTIFICATION_CLICK_EVENT,n)}}d.setNotificationHandler({handleNotification:Le}),(0,Q.registerNotificationCategories)(),(0,$.registerBackgroundAgentStateFetch)(),(0,q.registerLiveActivities)();const e=e=>{const t=e.notification.request.identifier;n.current!==t&&(n.current=t,(0,K.handlePermissionNotificationResponse)(e).then(t=>{if(t.handled)return;const n=e.notification.request.content.data;c(n)}))},t=d.addNotificationResponseReceivedListener(e);return d.getLastNotificationResponseAsync().then(t=>{t&&e(t)}),()=>{t.remove()}},u=[c],e[2]=c,e[3]=l,e[4]=u):(l=e[3],u=e[4]),(0,S.useEffect)(l,u),null}async function Le(){return{shouldShowAlert:!1,shouldShowBanner:!1,shouldShowList:!1,shouldPlaySound:!1,shouldSetBadge:!1}}function Xe(e){const t=(0,o.c)(3),{daemon:n}=e,s=(0,ke.useHostRuntimeClient)(n.serverId);if(!s)return null;let c;return t[0]!==s||t[1]!==n.serverId?(c=(0,Ae.jsx)(M.SessionProvider,{serverId:n.serverId,client:s,children:null},n.serverId),t[0]=s,t[1]=n.serverId,t[2]=c):c=t[2],c}function Me(){const e=(0,o.c)(4),t=(0,ke.useHosts)();if(0===t.length)return null;let n,s;return e[0]!==t?(n=t.map(Be),e[0]=t,e[1]=n):n=e[1],e[2]!==n?(s=(0,Ae.jsx)(Ae.Fragment,{children:n}),e[2]=n,e[3]=s):s=e[3],s}function Be(e){return(0,Ae.jsx)(Xe,{daemon:e},e.serverId)}function ze(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,ke.getHostRuntimeStore)(),e[0]=t):t=e[0];const n=t;let s;e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{const t=n.subscribeAll(e),o=n.subscribeHostList(e);return()=>{t(),o()}},e[1]=s):s=e[1];const c=s;let l,u;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>n.getEarliestOnlineHostServerId(),u=()=>n.getEarliestOnlineHostServerId(),e[2]=l,e[3]=u):(l=e[2],u=e[3]),(0,S.useSyncExternalStore)(c,l,u)}function Ne(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()}),e[0]=t):t=e[0];const n=t;let s,c,l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>n.subscribe(e),c=()=>n.getLastError(),l=()=>n.getLastError(),e[1]=s,e[2]=c,e[3]=l):(s=e[1],c=e[2],l=e[3]),(0,S.useSyncExternalStore)(s,c,l)}function Ye(){const e=(0,o.c)(4);let t;e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()}),e[0]=t):t=e[0];const n=t;let s,c,l;return e[1]===Symbol.for("react.memo_cache_sentinel")?(s=e=>n.subscribe(e),c=()=>n.isRunning(),l=()=>n.isRunning(),e[1]=s,e[2]=c,e[3]=l):(s=e[1],c=e[2],l=e[3]),(0,S.useSyncExternalStore)(s,c,l)}const Ue=5e3;async function Je(){if(!(0,ee.shouldUseDesktopDaemon)())return!1;if((0,ke.hasConfiguredLocalDaemonOverride)())return!1;return(await(0,re.loadDesktopSettings)()).daemon.manageBuiltInDaemon}function Ve(e){const t=(0,o.c)(23),{children:n}=e;let s;t[0]===Symbol.for("react.memo_cache_sentinel")?(s=[],t[0]=s):s=t[0],(0,S.useEffect)($e,s);const c=ze(),l=Ne(),u=Ye(),[d,h]=(0,S.useState)(!1);let f;t[1]===Symbol.for("react.memo_cache_sentinel")?(f=(0,ee.shouldUseDesktopDaemon)(),t[1]=f):f=t[1];const _=f;let p;t[2]!==c||t[3]!==l||t[4]!==u?(p=(0,J.resolveStartupBlocker)({isDesktopRuntime:_,anyOnlineHostServerId:c,daemonStartIsRunning:u,daemonStartError:l}),t[2]=c,t[3]=l,t[4]=u,t[5]=p):p=t[5];const v=p;let b;t[6]!==c||t[7]!==d||t[8]!==v?(b=(0,J.shouldRunStartupGiveUpTimer)({startupBlocker:v,anyOnlineHostServerId:c,hasGivenUpWaitingForHost:d}),t[6]=c,t[7]=d,t[8]=v,t[9]=b):b=t[9];const y=b;let x,k;t[10]!==y?(x=()=>{if(!y)return;const e=setTimeout(()=>{h(!0)},Ue);return()=>{clearTimeout(e)}},k=[y],t[10]=y,t[11]=x,t[12]=k):(x=t[11],k=t[12]),(0,S.useEffect)(x,k);const j=Ke,w="managed-daemon-error"===v.kind?v.message:null;let O;t[13]!==v?(O=(0,J.resolveStartupNavigationReady)({startupBlocker:v}),t[13]=v,t[14]=O):O=t[14];const E=O;let P;t[15]!==d||t[16]!==w||t[17]!==v||t[18]!==E?(P={splashError:w,retry:j,hasGivenUpWaitingForHost:d,storeReady:E,startupBlocker:v},t[15]=d,t[16]=w,t[17]=v,t[18]=E,t[19]=P):P=t[19];const I=P;let T;return t[20]!==n||t[21]!==I?(T=(0,Ae.jsx)(He.Provider,{value:I,children:n}),t[20]=n,t[21]=I,t[22]=T):T=t[22],T}function Ke(){const e=(0,je.getDaemonStartService)({store:(0,ke.getHostRuntimeStore)()});(0,J.startDaemonIfGateAllows)({daemonStartService:e,shouldStartDaemon:Je,onGateError:t=>e.recordError(t)})}function $e(){const e=(0,ke.getHostRuntimeStore)(),t=(0,je.getDaemonStartService)({store:e});(0,J.startHostRuntimeBootstrap)({store:e,daemonStartService:t,shouldStartDaemon:Je,onGateError:e=>t.recordError(e)})}function qe(){return(0,S.useContext)(He).storeReady}function Qe(e){const t=(0,o.c)(2),{children:n}=e;let s;return t[0]!==n?(s=(0,Ae.jsx)(l.QueryClientProvider,{client:xe.queryClient,children:n}),t[0]=n,t[1]=s):s=t[1],s}const Ze={flex:1,flexDirection:"row"},et={flex:1},tt=32,nt=L.isWeb?"auto":"pan-y",ot=["dark","zinc","midnight","claude","ghostty","light"];function rt(e){const t=(0,o.c)(58),{children:s,selectedAgentId:c,chromeEnabled:l}=e,u=(0,ke.useHosts)(),{settings:d,updateSettings:S}=(0,fe.useAppSettings)(),_=(0,Ee.usePanelStore)(mt),p=(0,Ee.usePanelStore)(St),v=(0,Ee.usePanelStore)(ht),b=(0,Ee.usePanelStore)(dt),y=(0,Ee.usePanelStore)(ut),w=(0,Ee.usePanelStore)(lt),L=(0,Ee.usePanelStore)(ct);(0,Se.useForegroundReconnect)();const X=at;let M;t[0]!==d.theme||t[1]!==S?(M=()=>{const e=(ot.indexOf(d.theme)+1)%ot.length;S({theme:ot[e]})},t[0]=d.theme,t[1]=S,t[2]=M):M=t[2];const z=M,N=(0,G.useIsCompactFormFactor)(),Y=(0,f.default)(),U=!1;let J;t[3]!==Y.height||t[4]!==Y.width?(J=(0,x.resolveColumnMode)({width:Y.width,height:Y.height,isTablet:U}),t[3]=Y.height,t[4]=Y.width,t[5]=J):J=t[5];const V=N||U;(0,he.useCompactWebViewportZoomLock)(V);const K=(0,h.usePathname)(),$=l??u.length>0,q=V?_:p;let Q;t[6]!==b||t[7]!==y||t[8]!==v?(Q=()=>{const{desktop:e}=Ee.usePanelStore.getState();(0,Ie.toggleDesktopSidebarsWithCheckoutIntent)({isAgentListOpen:e.agentListOpen,isFileExplorerOpen:e.fileExplorerOpen,openAgentList:v,closeAgentList:b,closeFileExplorer:y,toggleFocusedFileExplorer:st})},t[6]=b,t[7]=y,t[8]=v,t[9]=Q):Q=t[9];const Z=Q;let ee;t[10]!==$||t[11]!==K?(ee=$||K.startsWith("/settings"),t[10]=$,t[11]=K,t[12]=ee):ee=t[12];const te=ee;let ne,oe,re,le;t[13]!==z||t[14]!==V||t[15]!==te||t[16]!==q||t[17]!==Z||t[18]!==w?(ne={enabled:te,isMobile:V,toggleAgentList:q,toggleBothSidebars:Z,toggleFocusMode:w,cycleTheme:z},t[13]=z,t[14]=V,t[15]=te,t[16]=q,t[17]=Z,t[18]=w,t[19]=ne):ne=t[19],(0,ue.useKeyboardShortcuts)(ne),(0,ie.useActiveWorktreeNewAction)(),(0,ce.useGlobalNewWorkspaceAction)(),t[20]!==$||t[21]!==V||t[22]!==L||t[23]!==c?(oe=!V&&$&&!L&&(0,Ae.jsx)(T.LeftSidebar,{selectedAgentId:c}),t[20]=$,t[21]=V,t[22]=L,t[23]=c,t[24]=oe):oe=t[24],t[25]!==s||t[26]!==$||t[27]!==V?(re=V&&$?(0,Ae.jsx)(B.ExplorerSidebarAnimationProvider,{children:(0,Ae.jsx)(D.CompactExplorerSidebarHost,{enabled:$,children:(0,Ae.jsx)(n.View,{style:et,children:s})})}):(0,Ae.jsx)(n.View,{style:et,children:s}),t[25]=s,t[26]=$,t[27]=V,t[28]=re):re=t[28],t[29]!==oe||t[30]!==re?(le=(0,Ae.jsxs)(n.View,{style:Ze,children:[oe,re]}),t[29]=oe,t[30]=re,t[31]=le):le=t[31];const de=le;let me,pe,ge,ve,be,ye,xe,je,we,Oe,Pe,Te,De,Fe,We,Ce;t[32]===Symbol.for("react.memo_cache_sentinel")?(me=(0,Ae.jsx)(j.DaemonConnectionBanner,{onRetry:X}),t[32]=me):me=t[32],t[33]===Symbol.for("react.memo_cache_sentinel")?(pe=(0,Ae.jsx)(A.FloatingPanelPortalHost,{}),t[33]=pe):pe=t[33],t[34]!==$||t[35]!==V||t[36]!==c?(ge=V&&$&&(0,Ae.jsx)(T.LeftSidebar,{selectedAgentId:c}),t[34]=$,t[35]=V,t[36]=c,t[37]=ge):ge=t[37],t[38]===Symbol.for("react.memo_cache_sentinel")?(ve=(0,Ae.jsx)(E.DownloadToast,{}),be=(0,Ae.jsx)(se.RosettaCalloutSource,{}),ye=(0,Ae.jsx)(ae.UpdateCalloutSource,{}),xe=(0,Ae.jsx)(O.WorktreeSetupCalloutSource,{}),je=(0,Ae.jsx)(k.CommandCenter,{}),we=(0,Ae.jsx)(H.HostChooserModal,{}),Oe=(0,Ae.jsx)(F.ProjectPickerModal,{}),Pe=(0,Ae.jsx)(W.ProviderSettingsHost,{}),t[38]=ve,t[39]=be,t[40]=ye,t[41]=xe,t[42]=je,t[43]=we,t[44]=Oe,t[45]=Pe):(ve=t[38],be=t[39],ye=t[40],xe=t[41],je=t[42],we=t[43],Oe=t[44],Pe=t[45]),t[46]!==te?(Te=(0,Ae.jsx)(R.WorkspaceShortcutTargetsSubscriber,{enabled:te}),t[46]=te,t[47]=Te):Te=t[47],t[48]===Symbol.for("react.memo_cache_sentinel")?(De=(0,Ae.jsx)(C.WorkspaceSetupDialog,{}),Fe=(0,Ae.jsx)(I.KeyboardShortcutsDialog,{}),We=(0,Ae.jsx)(P.QuittingOverlay,{}),t[48]=De,t[49]=Fe,t[50]=We):(De=t[48],Fe=t[49],We=t[50]),t[51]!==ge||t[52]!==Te||t[53]!==de?(Ce=(0,Ae.jsxs)(n.View,{style:Gt.surfaceFill,children:[me,de,pe,ge,ve,be,ye,xe,je,we,Oe,Pe,Te,De,Fe,We]}),t[51]=ge,t[52]=Te,t[53]=de,t[54]=Ce):Ce=t[54];const Re=Ce;if(!V)return Re;let He;return t[55]!==$||t[56]!==Re?(He=(0,Ae.jsx)(yt,{chromeEnabled:$,children:Re}),t[55]=$,t[56]=Re,t[57]=He):He=t[57],He}function st(){return ve.keyboardActionDispatcher.dispatch({id:"sidebar.toggle.right",scope:"sidebar"})}function at(e){const t=(0,ke.getHostRuntimeStore)();t.ensureConnectedAll(),t.runProbeCycleNow(e).catch(it)}function it(){}function ct(e){return e.desktop.focusModeEnabled}function lt(e){return e.toggleFocusMode}function ut(e){return e.closeDesktopFileExplorer}function dt(e){return e.closeDesktopAgentList}function ht(e){return e.openDesktopAgentList}function St(e){return e.toggleDesktopAgentList}function mt(e){return e.toggleMobileAgentList}const ft={code:"function _layoutTsx1(){const{isGesturing,runOnJS,setOverlayPeek}=this.__closure;isGesturing.value=false;runOnJS(setOverlayPeek)(false);}"},_t={code:"function _layoutTsx2(event_2){const{isGesturing,windowWidth,animateToOpen,runOnJS,handleGestureOpen,animateToClose}=this.__closure;isGesturing.value=false;const shouldOpen=event_2.translationX>windowWidth/3||event_2.velocityX>500;if(shouldOpen){animateToOpen();runOnJS(handleGestureOpen)();}else{animateToClose();}}"},pt={code:"function _layoutTsx3(event_1){const{windowWidth,translateX,backdropOpacity,interpolate,Extrapolation}=this.__closure;const newTranslateX=Math.min(0,-windowWidth+event_1.translationX);translateX.value=newTranslateX;backdropOpacity.value=interpolate(newTranslateX,[-windowWidth,0],[0,1],Extrapolation.CLAMP);}"},gt={code:"function _layoutTsx4(){const{isGesturing,runOnJS,setOverlayPeek}=this.__closure;isGesturing.value=true;runOnJS(setOverlayPeek)(true);}"},vt={code:"function _layoutTsx5(event_0,stateManager){const{touchStartX,touchStartY,canOpenLeftSidebarGesture,mobilePanelState,translateX,windowWidth,horizontalScroll,isWeb,MOBILE_WEB_EDGE_SWIPE_WIDTH}=this.__closure;var _horizontalScroll;const touch_0=event_0.changedTouches[0];if(!touch_0||event_0.numberOfTouches!==1)return;const deltaX=touch_0.absoluteX-touchStartX.value;const deltaY=touch_0.absoluteY-touchStartY.value;const absDeltaX=Math.abs(deltaX);const absDeltaY=Math.abs(deltaY);if(!canOpenLeftSidebarGesture(mobilePanelState.value,translateX.value,windowWidth)){stateManager.fail();return;}if((_horizontalScroll=horizontalScroll)!==null&&_horizontalScroll!==void 0&&_horizontalScroll.isAnyScrolledRight.value){stateManager.fail();return;}if(isWeb&&touchStartX.value>MOBILE_WEB_EDGE_SWIPE_WIDTH){stateManager.fail();return;}if(deltaX<=-10){stateManager.fail();return;}if(absDeltaY>10&&absDeltaY>absDeltaX){stateManager.fail();return;}if(deltaX>15&&absDeltaX>absDeltaY){stateManager.activate();}}"},bt={code:"function _layoutTsx6(event){const{touchStartX,touchStartY}=this.__closure;const touch=event.changedTouches[0];if(touch){touchStartX.value=touch.absoluteX;touchStartY.value=touch.absoluteY;}}"};function yt({children:e,chromeEnabled:t}){const n=(0,Ee.usePanelStore)(e=>e.showMobileAgentList),o=(0,X.useHorizontalScrollOptional)(),{translateX:s,backdropOpacity:c,windowWidth:l,animateToOpen:u,animateToClose:d,setOverlayPeek:h,isGesturing:f,mobilePanelState:p,gestureAnimatingRef:b,openGestureRef:y}=(0,z.useSidebarAnimation)(),x=(0,v.useSharedValue)(0),k=(0,v.useSharedValue)(0),j=t,w=(0,S.useCallback)(()=>{b.current=!0,n()},[n,b]),O=(0,S.useMemo)(()=>_.Gesture.Pan().withRef(y).enabled(j).manualActivation(!0).failOffsetY([-10,10]).onTouchesDown((function({_worklet_1615879058013_init_data:e,touchStartX:t,touchStartY:n}){const o=function(e){const o=e.changedTouches[0];o&&(t.value=o.absoluteX,n.value=o.absoluteY)};return o.__closure={touchStartX:t,touchStartY:n},o.__workletHash=1615879058013,o.__initData=e,o})({_worklet_1615879058013_init_data:bt,touchStartX:x,touchStartY:k})).onTouchesMove((function({_worklet_8337771416778_init_data:e,touchStartX:t,touchStartY:n,canOpenLeftSidebarGesture:o,mobilePanelState:s,translateX:c,windowWidth:l,horizontalScroll:u,isWeb:d,MOBILE_WEB_EDGE_SWIPE_WIDTH:h}){const S=function(e,S){const f=e.changedTouches[0];if(!f||1!==e.numberOfTouches)return;const _=f.absoluteX-t.value,p=f.absoluteY-n.value,v=Math.abs(_),b=Math.abs(p);o(s.value,c.value,l)?u?.isAnyScrolledRight.value||d&&t.value>h||_<=-10||b>10&&b>v?S.fail():_>15&&v>b&&S.activate():S.fail()};return S.__closure={touchStartX:t,touchStartY:n,canOpenLeftSidebarGesture:o,mobilePanelState:s,translateX:c,windowWidth:l,horizontalScroll:u,isWeb:d,MOBILE_WEB_EDGE_SWIPE_WIDTH:h},S.__workletHash=8337771416778,S.__initData=e,S})({_worklet_8337771416778_init_data:vt,touchStartX:x,touchStartY:k,canOpenLeftSidebarGesture:Te.canOpenLeftSidebarGesture,mobilePanelState:p,translateX:s,windowWidth:l,horizontalScroll:o,isWeb:L.isWeb,MOBILE_WEB_EDGE_SWIPE_WIDTH:tt})).onStart((function({_worklet_11112183592680_init_data:e,isGesturing:t,runOnJS:n,setOverlayPeek:o}){const s=function(){t.value=!0,n(o)(!0)};return s.__closure={isGesturing:t,runOnJS:n,setOverlayPeek:o},s.__workletHash=0xa1b41c176e8,s.__initData=e,s})({_worklet_11112183592680_init_data:gt,isGesturing:f,runOnJS:v.runOnJS,setOverlayPeek:h})).onUpdate((function({_worklet_4399350013762_init_data:e,windowWidth:t,translateX:n,backdropOpacity:o,interpolate:s,Extrapolation:c}){const l=function(e){const l=Math.min(0,-t+e.translationX);n.value=l,o.value=s(l,[-t,0],[0,1],c.CLAMP)};return l.__closure={windowWidth:t,translateX:n,backdropOpacity:o,interpolate:s,Extrapolation:c},l.__workletHash=4399350013762,l.__initData=e,l})({_worklet_4399350013762_init_data:pt,windowWidth:l,translateX:s,backdropOpacity:c,interpolate:v.interpolate,Extrapolation:v.Extrapolation})).onEnd((function({_worklet_3566839805561_init_data:e,isGesturing:t,windowWidth:n,animateToOpen:o,runOnJS:s,handleGestureOpen:c,animateToClose:l}){const u=function(e){t.value=!1;e.translationX>n/3||e.velocityX>500?(o(),s(c)()):l()};return u.__closure={isGesturing:t,windowWidth:n,animateToOpen:o,runOnJS:s,handleGestureOpen:c,animateToClose:l},u.__workletHash=3566839805561,u.__initData=e,u})({_worklet_3566839805561_init_data:_t,isGesturing:f,windowWidth:l,animateToOpen:u,runOnJS:v.runOnJS,handleGestureOpen:w,animateToClose:d})).onFinalize((function({_worklet_11316004136205_init_data:e,isGesturing:t,runOnJS:n,setOverlayPeek:o}){const s=function(){t.value=!1,n(o)(!1)};return s.__closure={isGesturing:t,runOnJS:n,setOverlayPeek:o},s.__workletHash=0xa4ab668250d,s.__initData=e,s})({_worklet_11316004136205_init_data:ft,isGesturing:f,runOnJS:v.runOnJS,setOverlayPeek:h})),[j,l,s,c,p,u,d,h,w,f,y,o?.isAnyScrolledRight,x,k]);return(0,Ae.jsx)(_.GestureDetector,{gesture:O,touchAction:nt,children:e})}function xt(e){const t=(0,o.c)(25),{children:n}=e,{settings:s,isLoading:c}=(0,fe.useAppSettings)(),{upsertConnectionFromOfferUrl:l}=(0,ke.useHostMutations)(),{theme:u}=(0,y.useUnistyles)();let d,h,f,_,p,v;t[0]!==s.theme||t[1]!==c?(d=()=>{c||("auto"===s.theme?y.UnistylesRuntime.setAdaptiveThemes(!0):(y.UnistylesRuntime.setAdaptiveThemes(!1),y.UnistylesRuntime.setTheme(Pe.THEME_TO_UNISTYLES[s.theme])))},h=[c,s.theme],t[0]=s.theme,t[1]=c,t[2]=d,t[3]=h):(d=t[2],h=t[3]),(0,S.useEffect)(d,h),t[4]!==u.colors.accent?(f=()=>{(0,Oe.applyFocusRingColor)(u.colors.accent)},_=[u.colors.accent],t[4]=u.colors.accent,t[5]=f,t[6]=_):(f=t[5],_=t[6]),(0,S.useEffect)(f,_),t[7]!==s.codeFontSize||t[8]!==s.monoFontFamily||t[9]!==s.syntaxTheme||t[10]!==s.uiFontFamily||t[11]!==s.uiFontSize||t[12]!==c?(p=()=>{c||(0,we.applyAppearance)({uiFontFamily:s.uiFontFamily,monoFontFamily:s.monoFontFamily,uiFontSize:s.uiFontSize,codeFontSize:s.codeFontSize,syntaxTheme:s.syntaxTheme})},v=[c,s.uiFontFamily,s.monoFontFamily,s.uiFontSize,s.codeFontSize,s.syntaxTheme],t[7]=s.codeFontSize,t[8]=s.monoFontFamily,t[9]=s.syntaxTheme,t[10]=s.uiFontFamily,t[11]=s.uiFontSize,t[12]=c,t[13]=p,t[14]=v):(p=t[13],v=t[14]),(0,S.useEffect)(p,v);const b=!c;let x,k,j,w,O;return t[15]!==b?(x=(0,Ae.jsx)(kt,{enabled:b}),t[15]=b,t[16]=x):x=t[16],t[17]!==l?(k=(0,Ae.jsx)(wt,{upsertDaemonFromOfferUrl:l}),t[17]=l,t[18]=k):k=t[18],t[19]===Symbol.for("react.memo_cache_sentinel")?(j=(0,Ae.jsx)(Me,{}),w=(0,Ae.jsx)(Tt,{}),t[19]=j,t[20]=w):(j=t[19],w=t[20]),t[21]!==n||t[22]!==x||t[23]!==k?(O=(0,Ae.jsxs)(U.VoiceProvider,{children:[x,k,j,w,n]}),t[21]=n,t[22]=x,t[23]=k,t[24]=O):O=t[24],O}function kt(e){const t=(0,o.c)(5),{enabled:n}=e,{theme:s}=(0,y.useUnistyles)(),c=s.colors.surface0,l=s.colors.foreground;let u,d;return t[0]!==n||t[1]!==l||t[2]!==c?(u=()=>{n&&!L.isNative&&(0,ne.updateDesktopWindowControls)({backgroundColor:c,foregroundColor:l}).catch(jt)},d=[n,c,l],t[0]=n,t[1]=l,t[2]=c,t[3]=u,t[4]=d):(u=t[3],d=t[4]),(0,S.useEffect)(u,d),null}function jt(e){console.warn("[DesktopWindow] Failed to update window controls overlay",e)}function wt(e){const t=(0,o.c)(4),{upsertDaemonFromOfferUrl:n}=e,s=(0,h.useRouter)();let c,l;return t[0]!==s||t[1]!==n?(c=()=>{let e=!1;const t=t=>{t&&t.includes("#offer=")&&n(t).then(t=>{if(e)return;const n=t?.serverId;"string"==typeof n&&n&&s.replace((0,De.buildOpenProjectRoute)())}).catch(t=>{e||console.warn("[Linking] Failed to import pairing offer",t)})};u.getInitialURL().then(t).catch(Ot);const o=u.addEventListener("url",e=>{t(e.url)});return()=>{e=!0,o.remove()}},l=[s,n],t[0]=s,t[1]=n,t[2]=c,t[3]=l):(c=t[2],l=t[3]),(0,S.useEffect)(c,l),null}function Ot(){}let Et=1;function Pt(){const e=(0,H.useHostChooser)(),t=(0,ke.useHostRegistryLoaded)(),[n,o]=(0,S.useState)(null),[s,c]=(0,S.useState)(null),l=(0,me.useOpenProject)(n?.serverId??null),u=(0,S.useCallback)(n=>{const s=n.trim();s&&(t?e({title:"Choose host",onChooseHost:e=>{o({id:Et++,serverId:e,path:s})}}):c(s))},[e,t]);return(0,S.useEffect)(()=>{if(!t||!s)return;const e=s;c(null),u(e)},[t,u,s]),(0,S.useEffect)(()=>{if(!n)return;let e=!1;return l(n.path).then(t=>e?null:t.ok?(o(e=>e?.id===n.id?null:e),null):(o(e=>e?.id===n.id?null:e),null)),()=>{e=!0}},[l,n]),(0,S.useEffect)(()=>{let e=!1,t=null;return(0,oe.getDesktopHost)()?.getPendingOpenProject?.()?.then(t=>{!e&&t&&u(t)}).catch(()=>{}),(0,te.listenToDesktopEvent)("open-project",t=>{if(e)return;const n="string"==typeof t?.path?t.path.trim():"";u(n)}).then(n=>{e?n():t=n}).catch(()=>{}),()=>{e=!0,t?.()}},[u]),null}function It(e){const t=(0,o.c)(16),{children:n}=e,s=(0,h.usePathname)(),c=(0,h.useGlobalSearchParams)(),l=(0,ke.useHosts)(),u=qe();let d;t[0]!==s?(d=(0,De.parseServerIdFromPathname)(s),t[0]=s,t[1]=d):d=t[1];const S=d;let f;t[2]!==l||t[3]!==S?(f=null!==S&&l.some(e=>e.serverId===S),t[2]=l,t[3]=S,t[4]=f):f=t[4];const _=u&&("/open-project"===s||"/new"===s||"/sessions"===s||"/schedules"===s||"/sources"===s||"/loops"===s||"/inbox"===s||f);let p;if(t[5]!==c.open||t[6]!==s){e:{let e;if(t[8]!==s){const n=s.match(/^\/h\/([^/]+)\/workspace\/[^/]+(?:\/|$)/);e=n?.[1]?.trim()??"",t[8]=s,t[9]=e}else e=t[9];const n=e,o=Array.isArray(c.open)?c.open[0]:c.open,l=(0,De.parseWorkspaceOpenIntent)(o);if(n&&"agent"===l?.kind){const e=l.agentId.trim();p=e?`${n}:${e}`:void 0;break e}let u;t[10]!==s?(u=(0,De.parseHostAgentRouteFromPathname)(s),t[10]=s,t[11]=u):u=t[11];const d=u;p=d?`${d.serverId}:${d.agentId}`:void 0}t[5]=c.open,t[6]=s,t[7]=p}else p=t[7];const v=_?p:void 0;let b;return t[12]!==n||t[13]!==_||t[14]!==v?(b=(0,Ae.jsx)(rt,{selectedAgentId:v,chromeEnabled:_,children:n}),t[12]=n,t[13]=_,t[14]=v,t[15]=b):b=t[15],b}function Tt(){return(0,le.useFaviconStatus)(),null}function Dt(){const e=(0,o.c)(25),t=qe(),{theme:n}=(0,y.useUnistyles)();let s;e[0]!==n.colors.surface0?(s={headerShown:!1,animation:"none",contentStyle:{backgroundColor:n.colors.surface0}},e[0]=n.colors.surface0,e[1]=s):s=e[1];const c=s;let l,u,d,S,f,_,p,v,b,x,k,j,w,O,E,P,I,T,D,F;return e[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,Ae.jsx)(h.Stack.Screen,{name:"index"}),u=(0,Ae.jsx)(h.Stack.Screen,{name:"agent/[agentId]"}),e[2]=l,e[3]=u):(l=e[2],u=e[3]),e[4]===Symbol.for("react.memo_cache_sentinel")?(b=(0,Ae.jsx)(h.Stack.Screen,{name:"welcome"}),x=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/index"}),k=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/[section]"}),j=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/projects/index"}),w=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/projects/[projectKey]"}),O=(0,Ae.jsx)(h.Stack.Screen,{name:"new"}),E=(0,Ae.jsx)(h.Stack.Screen,{name:"open-project"}),d=(0,Ae.jsx)(h.Stack.Screen,{name:"sessions"}),S=(0,Ae.jsx)(h.Stack.Screen,{name:"schedules"}),f=(0,Ae.jsx)(h.Stack.Screen,{name:"sources"}),_=(0,Ae.jsx)(h.Stack.Screen,{name:"loops"}),p=(0,Ae.jsx)(h.Stack.Screen,{name:"inbox"}),v=(0,Ae.jsx)(h.Stack.Screen,{name:"pair-scan"}),e[4]=d,e[5]=S,e[6]=f,e[7]=_,e[8]=p,e[9]=v,e[10]=b,e[11]=x,e[12]=k,e[13]=j,e[14]=w,e[15]=O,e[16]=E):(d=e[4],S=e[5],f=e[6],_=e[7],p=e[8],v=e[9],b=e[10],x=e[11],k=e[12],j=e[13],w=e[14],O=e[15],E=e[16]),e[17]!==t?(P=(0,Ae.jsxs)(h.Stack.Protected,{guard:t,children:[b,x,k,j,w,O,E,d,S,f,_,p,v]}),e[17]=t,e[18]=P):P=e[18],e[19]===Symbol.for("react.memo_cache_sentinel")?(I=(0,Ae.jsx)(h.Stack.Screen,{name:"h/[serverId]"}),T=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/hosts/[serverId]/index"}),D=(0,Ae.jsx)(h.Stack.Screen,{name:"settings/hosts/[serverId]/[hostSection]"}),e[19]=I,e[20]=T,e[21]=D):(I=e[19],T=e[20],D=e[21]),e[22]!==c||e[23]!==P?(F=(0,Ae.jsxs)(h.Stack,{screenOptions:c,children:[l,u,P,I,T,D]}),e[22]=c,e[23]=P,e[24]=F):F=e[24],F}function Ft(){const e=(0,o.c)(3),t=(0,h.useNavigationContainerRef)();let n,s;return e[0]!==t?(n=()=>(0,V.registerWorkspaceRouteNavigationRef)(t),s=[t],e[0]=t,e[1]=n,e[2]=s):(n=e[1],s=e[2]),(0,S.useEffect)(n,s),null}function Wt(){const e=(0,o.c)(2);let t,n;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,Ae.jsx)(Pt,{}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,Ae.jsx)(z.SidebarAnimationProvider,{children:(0,Ae.jsxs)(X.HorizontalScrollProvider,{children:[t,(0,Ae.jsx)(w.DaemonRpcBoundary,{children:(0,Ae.jsxs)(It,{children:[(0,Ae.jsx)(Ft,{}),(0,Ae.jsx)(Dt,{})]})})]})}),e[1]=n):n=e[1],n}function Ct(e){const t=(0,o.c)(3),{children:n}=e;let s,c;return t[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,Ae.jsx)(Ge,{}),t[0]=s):s=t[0],t[1]!==n?(c=(0,Ae.jsxs)(Ve,{children:[s,(0,Ae.jsx)(N.SidebarCalloutProvider,{children:(0,Ae.jsx)(xt,{children:n})})]}),t[1]=n,t[2]=c):c=t[2],c}function Rt(e){const t=(0,o.c)(2),{children:n}=e;let l;return t[0]!==n?(l=(0,Ae.jsx)(Y.ToastProvider,{children:(0,Ae.jsx)(c.PortalProvider,{children:(0,Ae.jsx)(s.BottomSheetModalProvider,{children:n})})}),t[0]=n,t[1]=l):l=t[1],l}function At(e){const t=(0,o.c)(2),{children:n}=e;let s;return t[0]!==n?(s=(0,Ae.jsx)(Qe,{children:(0,Ae.jsx)(ge.I18nProvider,{children:(0,Ae.jsx)(b.SafeAreaProvider,{children:(0,Ae.jsx)(p.KeyboardProvider,{children:(0,Ae.jsx)(de.KeyboardShiftProvider,{children:(0,Ae.jsx)(Rt,{children:n})})})})})}),t[0]=n,t[1]=s):s=t[1],s}function Ht(){const e=(0,o.c)(2);let t,s;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,Ae.jsx)(v.ReducedMotionConfig,{mode:v.ReduceMotion.System}),e[0]=t):t=e[0],e[1]===Symbol.for("react.memo_cache_sentinel")?(s=(0,Ae.jsxs)(_.GestureHandlerRootView,{style:et,children:[t,(0,Ae.jsx)(n.View,{style:Gt.surfaceFill,children:(0,Ae.jsx)(At,{children:(0,Ae.jsx)(ye.TenantAuthProvider,{children:(0,Ae.jsx)(ye.TenantAuthGate,{children:(0,Ae.jsx)(Ct,{children:(0,Ae.jsx)(Wt,{})})})})})})]}),e[1]=s):s=e[1],s}const Gt=y.StyleSheet.create(e=>({surfaceFill:{flex:1,backgroundColor:e.colors.surface0,uni__dependencies:[0]}}))},2478,[348,350,55,2479,2991,3030,746,3079,379,36,25,686,146,2482,3214,2570,558,56,3265,3266,3533,3534,3535,3559,3578,3581,3582,3717,3918,3926,3937,4156,4083,3468,3472,3420,4157,4158,3872,3596,3536,3514,4057,4193,3507,4194,4195,4202,4205,4206,3416,3580,3627,3417,3591,4208,4210,4214,4215,4216,4224,3910,4227,4228,3920,3590,3538,4229,3272,1,4231,3445,3274,4246,4247,4249,3597,305,4250,3600,3492,4188,3499,4175,4251,279]);
14096
14096
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(_e,"BottomSheetModal",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(_e,"BottomSheetModalProvider",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(_e,"useBottomSheet",{enumerable:!0,get:function(){return u.useBottomSheet}}),Object.defineProperty(_e,"useBottomSheetModal",{enumerable:!0,get:function(){return l.useBottomSheetModal}}),Object.defineProperty(_e,"useBottomSheetSpringConfigs",{enumerable:!0,get:function(){return c.useBottomSheetSpringConfigs}}),Object.defineProperty(_e,"useBottomSheetTimingConfigs",{enumerable:!0,get:function(){return f.useBottomSheetTimingConfigs}}),Object.defineProperty(_e,"useBottomSheetInternal",{enumerable:!0,get:function(){return b.useBottomSheetInternal}}),Object.defineProperty(_e,"useBottomSheetModalInternal",{enumerable:!0,get:function(){return s.useBottomSheetModalInternal}}),Object.defineProperty(_e,"useScrollEventsHandlersDefault",{enumerable:!0,get:function(){return S.useScrollEventsHandlersDefault}}),Object.defineProperty(_e,"useGestureEventsHandlersDefault",{enumerable:!0,get:function(){return h.useGestureEventsHandlersDefault}}),Object.defineProperty(_e,"useBottomSheetGestureHandlers",{enumerable:!0,get:function(){return p.useBottomSheetGestureHandlers}}),Object.defineProperty(_e,"useScrollHandler",{enumerable:!0,get:function(){return B.useScrollHandler}}),Object.defineProperty(_e,"useScrollableSetter",{enumerable:!0,get:function(){return y.useScrollableSetter}}),Object.defineProperty(_e,"useBottomSheetScrollableCreator",{enumerable:!0,get:function(){return O.useBottomSheetScrollableCreator}}),Object.defineProperty(_e,"BottomSheetScrollView",{enumerable:!0,get:function(){return j.BottomSheetScrollView}}),Object.defineProperty(_e,"BottomSheetSectionList",{enumerable:!0,get:function(){return j.BottomSheetSectionList}}),Object.defineProperty(_e,"BottomSheetFlatList",{enumerable:!0,get:function(){return j.BottomSheetFlatList}}),Object.defineProperty(_e,"BottomSheetVirtualizedList",{enumerable:!0,get:function(){return j.BottomSheetVirtualizedList}}),Object.defineProperty(_e,"BottomSheetFlashList",{enumerable:!0,get:function(){return j.BottomSheetFlashList}}),Object.defineProperty(_e,"BottomSheetHandle",{enumerable:!0,get:function(){return P.BottomSheetHandle}}),Object.defineProperty(_e,"BottomSheetDraggableView",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(_e,"BottomSheetView",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(_e,"BottomSheetTextInput",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(_e,"BottomSheetBackdrop",{enumerable:!0,get:function(){return L.BottomSheetBackdrop}}),Object.defineProperty(_e,"BottomSheetFooter",{enumerable:!0,get:function(){return T.BottomSheetFooter}}),Object.defineProperty(_e,"BottomSheetFooterContainer",{enumerable:!0,get:function(){return T.BottomSheetFooterContainer}}),Object.defineProperty(_e,"createBottomSheetScrollableComponent",{enumerable:!0,get:function(){return j.createBottomSheetScrollableComponent}}),Object.defineProperty(_e,"enableLogging",{enumerable:!0,get:function(){return V.enableLogging}}),Object.defineProperty(_e,"TouchableHighlight",{enumerable:!0,get:function(){return _}}),Object.defineProperty(_e,"TouchableOpacity",{enumerable:!0,get:function(){return k}}),Object.defineProperty(_e,"TouchableWithoutFeedback",{enumerable:!0,get:function(){return w}});var t=e(r(d[0])),n=e(r(d[1])),o=e(r(d[2])),u=r(d[3]),l=r(d[4]),c=r(d[5]),f=r(d[6]),b=r(d[7]),s=r(d[8]),S=r(d[9]),h=r(d[10]),p=r(d[11]),B=r(d[12]),y=r(d[13]),O=r(d[14]),j=r(d[15]),P=r(d[16]),H=e(r(d[17])),C=e(r(d[18])),F=e(r(d[19])),L=r(d[20]),T=r(d[21]),v=e(r(d[22])),M=r(d[23]);Object.keys(M).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return M[e]}})});var V=r(d[24]);const{TouchableHighlight:_,TouchableOpacity:k,TouchableWithoutFeedback:w}=v.default},2479,[2480,2989,3003,2937,2939,3005,3006,2938,2940,3007,2953,2956,2951,2950,3008,3009,2976,2987,3019,3022,3024,2970,3028,2929,2946]);
14097
14097
  __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return u.default}});var e,t=r(d[0]),u=(e=t)&&e.__esModule?e:{default:e}},2480,[2481]);
14098
14098
  __d(function(g,r,i,a,m,_e,d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return tt}});var e=t(r(d[0])),n=r(d[1]),o=t(r(d[2])),s=t(r(d[3])),_=t(r(d[4])),u=r(d[5]),A=r(d[6]),S=t(A),l=r(d[7]),I=r(d[8]),c=r(d[9]),T=r(d[10]),O=r(d[11]),N=r(d[12]),h=t(r(d[13])),E=r(d[14]),P=r(d[15]),D=r(d[16]),f=r(d[17]),C=r(d[18]),U=r(d[19]);S.default.addWhitelistedUIProps({decelerationRate:!0});const R={code:"function gorhom_BottomSheetJs1(){const{animatedLayoutState,animatedDetentsState,INITIAL_LAYOUT_VALUE}=this.__closure;const{containerHeight:containerHeight}=animatedLayoutState.get();const{highestDetentPosition:highestDetentPosition}=animatedDetentsState.get();if(highestDetentPosition===undefined){return INITIAL_LAYOUT_VALUE;}return containerHeight-highestDetentPosition;}"},x={code:"function gorhom_BottomSheetJs2(){const{animatedLayoutState,INITIAL_LAYOUT_VALUE,handleComponent,animatedDetentsState}=this.__closure;let isContainerHeightCalculated=false;const{containerHeight:containerHeight,handleHeight:handleHeight}=animatedLayoutState.get();if(containerHeight!==null&&containerHeight!==undefined&&containerHeight!==INITIAL_LAYOUT_VALUE){isContainerHeightCalculated=true;}let isHandleHeightCalculated=false;if(handleComponent===null){isHandleHeightCalculated=true;}if(handleHeight!==INITIAL_LAYOUT_VALUE){isHandleHeightCalculated=true;}let isSnapPointsNormalized=false;const{detents:detents}=animatedDetentsState.get();if(detents){isSnapPointsNormalized=true;}return isContainerHeightCalculated&&isHandleHeightCalculated&&isSnapPointsNormalized;}"},v={code:"function gorhom_BottomSheetJs3(){const{animatedDetentsState,SHEET_STATE,animatedPosition,animatedLayoutState,animatedSheetHeight,animatedKeyboardState,keyboardBehavior,KEYBOARD_BEHAVIOR,isInTemporaryPosition}=this.__closure;const{detents:detents,closedDetentPosition:closedDetentPosition}=animatedDetentsState.get();if(!detents||detents.length===0||closedDetentPosition===undefined){return SHEET_STATE.CLOSED;}if(animatedPosition.value>=closedDetentPosition){return SHEET_STATE.CLOSED;}const{containerHeight:containerHeight}=animatedLayoutState.get();const extendedPosition=containerHeight-animatedSheetHeight.value;if(animatedPosition.value===extendedPosition){return SHEET_STATE.EXTENDED;}const keyboardHeightInContainer=animatedKeyboardState.get().heightWithinContainer;const extendedPositionWithKeyboard=Math.max(0,containerHeight-(animatedSheetHeight.value+keyboardHeightInContainer));if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&isInTemporaryPosition.value&&animatedPosition.value===extendedPositionWithKeyboard){return SHEET_STATE.EXTENDED;}if(animatedPosition.value===0){return SHEET_STATE.FILL_PARENT;}if(animatedPosition.value<extendedPosition){return SHEET_STATE.OVER_EXTENDED;}return SHEET_STATE.OPENED;}"},p={code:"function gorhom_BottomSheetJs4(){const{animatedDetentsState,animatedLayoutState,isLayoutCalculated,interpolate,animatedPosition,Extrapolation,animatedAnimationState,android_keyboardInputMode,KEYBOARD_INPUT_MODE,ANIMATION_STATUS,ANIMATION_SOURCE,isInTemporaryPosition,animatedCurrentIndex}=this.__closure;const{detents:detents}=animatedDetentsState.get();if(!detents||detents.length===0){return-1;}const adjustedSnapPoints=detents.slice().reverse();const adjustedSnapPointsIndexes=detents.slice().map(function(_,index){return index;}).reverse();const{containerHeight:containerHeight}=animatedLayoutState.get();adjustedSnapPoints.push(containerHeight);adjustedSnapPointsIndexes.push(-1);const currentIndex=isLayoutCalculated.value?interpolate(animatedPosition.value,adjustedSnapPoints,adjustedSnapPointsIndexes,Extrapolation.CLAMP):-1;const{status:animationStatus,source:animationSource,nextIndex:nextIndex,nextPosition:nextPosition}=animatedAnimationState.get();if(android_keyboardInputMode===KEYBOARD_INPUT_MODE.adjustResize&&animationStatus===ANIMATION_STATUS.RUNNING&&animationSource===ANIMATION_SOURCE.KEYBOARD&&isInTemporaryPosition.value){return Math.max(animatedCurrentIndex.value,currentIndex);}if(animationStatus===ANIMATION_STATUS.RUNNING&&animationSource===ANIMATION_SOURCE.SNAP_POINT_CHANGE&&nextIndex!==undefined&&nextPosition!==undefined){return nextIndex;}return currentIndex;}"},B={code:"function gorhom_BottomSheetJs5(){const{cancelAnimation,animatedPosition,animatedAnimationState,ANIMATION_STATUS,ANIMATION_SOURCE}=this.__closure;cancelAnimation(animatedPosition);animatedAnimationState.set({status:ANIMATION_STATUS.STOPPED,source:ANIMATION_SOURCE.NONE});}"},M={code:"function animateToPositionCompleted_Gorhom_BottomSheetJs6(isFinished){const{animatedAnimationState,__DEV__,runOnJS,print,animatedCurrentIndex,handleOnChange,handleOnClose,animatedContainerHeightDidChange,didAnimateOnMount,ANIMATION_STATUS,ANIMATION_SOURCE}=this.__closure;if(!isFinished){return;}const{nextIndex:nextIndex,nextPosition:nextPosition}=animatedAnimationState.get();if(__DEV__){runOnJS(print)({component:'BottomSheet',method:'animateToPositionCompleted',params:{currentIndex:animatedCurrentIndex.value,nextIndex:nextIndex,nextPosition:nextPosition}});}if(nextIndex===undefined||nextPosition===undefined){return;}if(nextIndex!==animatedCurrentIndex.get()){runOnJS(handleOnChange)(nextIndex,nextPosition);}if(nextIndex===-1){runOnJS(handleOnClose)();}animatedCurrentIndex.set(nextIndex);animatedContainerHeightDidChange.set(false);didAnimateOnMount.set(true);animatedAnimationState.set({status:ANIMATION_STATUS.STOPPED,source:ANIMATION_SOURCE.NONE,nextIndex:undefined,nextPosition:undefined,isForcedClosing:undefined});}"},y={code:"function gorhom_BottomSheetJs7(state){const{ANIMATION_STATUS,source,index,position}=this.__closure;return{...state,status:ANIMATION_STATUS.RUNNING,source:source,nextIndex:index,nextPosition:position};}"},H={code:"function animateToPosition_Gorhom_BottomSheetJs8(position,source,velocity=0,configs){const{__DEV__,runOnJS,print,animatedPosition,animatedAnimationState,ANIMATION_STATUS,stopAnimation,animatedKeyboardState,animatedSheetState,KEYBOARD_STATUS,keyboardBehavior,KEYBOARD_BEHAVIOR,ANIMATION_SOURCE,SHEET_STATE,animatedDetentsState,DEFAULT_KEYBOARD_INDEX,_worklet_3054184197869_init_data,handleOnAnimate,animate,_providedAnimationConfigs,_providedOverrideReduceMotion,animateToPositionCompleted}=this.__closure;var _detents$indexOf;if(__DEV__){runOnJS(print)({component:'BottomSheet',method:'animateToPosition',params:{currentPosition:animatedPosition.value,nextPosition:position,source:source}});}if(position===undefined){return;}if(position===animatedPosition.get()){return;}const{status:animationStatus,nextPosition:nextPosition}=animatedAnimationState.get();if(animationStatus===ANIMATION_STATUS.RUNNING&&position===nextPosition){return;}if(animationStatus===ANIMATION_STATUS.RUNNING){stopAnimation();}let offset=0;const{status:status,heightWithinContainer:heightWithinContainer}=animatedKeyboardState.get();const sheetState=animatedSheetState.get();if(status===KEYBOARD_STATUS.SHOWN&&keyboardBehavior!==KEYBOARD_BEHAVIOR.extend&&([ANIMATION_SOURCE.KEYBOARD,ANIMATION_SOURCE.SNAP_POINT_CHANGE].includes(source)||sheetState===SHEET_STATE.OVER_EXTENDED)){offset=heightWithinContainer;}const{detents:detents,closedDetentPosition:closedDetentPosition,highestDetentPosition:highestDetentPosition}=animatedDetentsState.get();let index=(_detents$indexOf=detents===null||detents===void 0?void 0:detents.indexOf(position+offset))!==null&&_detents$indexOf!==void 0?_detents$indexOf:-1;if(index===-1&&status===KEYBOARD_STATUS.SHOWN&&position!==closedDetentPosition){if(detents!==undefined&&highestDetentPosition!==undefined){index=detents.indexOf(highestDetentPosition);}if(index===-1){index=DEFAULT_KEYBOARD_INDEX;}}animatedAnimationState.set(function animateToPosition_Gorhom_BottomSheetJs8({_worklet_3054184197869_init_data:_worklet_3054184197869_init_data,ANIMATION_STATUS:ANIMATION_STATUS,source:source,index:index,position:position}){const gorhom_BottomSheetJs7=function(state){return{...state,status:ANIMATION_STATUS.RUNNING,source:source,nextIndex:index,nextPosition:position};};gorhom_BottomSheetJs7.__closure={ANIMATION_STATUS:ANIMATION_STATUS,source:source,index:index,position:position};gorhom_BottomSheetJs7.__workletHash=3054184197869;gorhom_BottomSheetJs7.__initData=_worklet_3054184197869_init_data;return gorhom_BottomSheetJs7;}({_worklet_3054184197869_init_data:_worklet_3054184197869_init_data,ANIMATION_STATUS:ANIMATION_STATUS,source:source,index:index,position:position}));runOnJS(handleOnAnimate)(index,position);animatedPosition.value=animate({point:position,configs:configs||_providedAnimationConfigs,velocity:velocity,overrideReduceMotion:_providedOverrideReduceMotion,onComplete:animateToPositionCompleted});}"},b={code:"function gorhom_BottomSheetJs9(state){const{targetPosition,index}=this.__closure;return{...state,nextPosition:targetPosition,nextIndex:index};}"},L={code:"function setToPosition_Gorhom_BottomSheetJs10(targetPosition){const{animatedPosition,animatedAnimationState,ANIMATION_STATUS,__DEV__,runOnJS,print,animatedDetentsState,_worklet_3650511913251_init_data,stopAnimation,animatedContainerHeightDidChange}=this.__closure;var _detents$indexOf;if(!targetPosition){return;}if(targetPosition===animatedPosition.get()){return;}const{status:animationStatus,nextPosition:nextPosition}=animatedAnimationState.get();if(animationStatus===ANIMATION_STATUS.RUNNING&&targetPosition===nextPosition){return;}if(__DEV__){runOnJS(print)({component:'BottomSheet',method:'setToPosition',params:{currentPosition:animatedPosition.value,targetPosition:targetPosition}});}const{detents:detents}=animatedDetentsState.get();const index=(_detents$indexOf=detents===null||detents===void 0?void 0:detents.indexOf(targetPosition))!==null&&_detents$indexOf!==void 0?_detents$indexOf:-1;animatedAnimationState.set(function setToPosition_Gorhom_BottomSheetJs10({_worklet_3650511913251_init_data:_worklet_3650511913251_init_data,targetPosition:targetPosition,index:index}){const gorhom_BottomSheetJs9=function(state){return{...state,nextPosition:targetPosition,nextIndex:index};};gorhom_BottomSheetJs9.__closure={targetPosition:targetPosition,index:index};gorhom_BottomSheetJs9.__workletHash=3650511913251;gorhom_BottomSheetJs9.__initData=_worklet_3650511913251_init_data;return gorhom_BottomSheetJs9;}({_worklet_3650511913251_init_data:_worklet_3650511913251_init_data,targetPosition:targetPosition,index:index}));stopAnimation();animatedPosition.value=targetPosition;animatedContainerHeightDidChange.value=false;}"},k={code:"function getEvaluatedPosition_Gorhom_BottomSheetJs11(source){const{animatedCurrentIndex,animatedDetentsState,animatedKeyboardState,ANIMATION_SOURCE,keyboardBlurBehavior,KEYBOARD_BLUR_BEHAVIOR,KEYBOARD_STATUS,animatedContentGestureState,State,animatedHandleGestureState,isInTemporaryPosition,keyboardBehavior,KEYBOARD_BEHAVIOR,Platform,android_keyboardInputMode,animatedPosition,didAnimateOnMount,_providedIndex,animatedAnimationState,ANIMATION_STATUS}=this.__closure;const currentIndex=animatedCurrentIndex.value;const{detents:detents,highestDetentPosition:highestDetentPosition,closedDetentPosition:closedDetentPosition}=animatedDetentsState.get();const keyboardStatus=animatedKeyboardState.get().status;if(detents===undefined||highestDetentPosition===undefined||closedDetentPosition===undefined){return;}if(source===ANIMATION_SOURCE.KEYBOARD&&keyboardBlurBehavior===KEYBOARD_BLUR_BEHAVIOR.restore&&keyboardStatus===KEYBOARD_STATUS.HIDDEN&&animatedContentGestureState.value!==State.ACTIVE&&animatedHandleGestureState.value!==State.ACTIVE){isInTemporaryPosition.value=false;const nextPosition=detents[currentIndex];return nextPosition;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.extend&&keyboardStatus===KEYBOARD_STATUS.SHOWN){return highestDetentPosition;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.fillParent&&keyboardStatus===KEYBOARD_STATUS.SHOWN){isInTemporaryPosition.value=true;return 0;}if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive&&keyboardStatus===KEYBOARD_STATUS.SHOWN&&!(Platform.OS==='android'&&android_keyboardInputMode==='adjustResize')){isInTemporaryPosition.value=true;const keyboardHeightInContainer=animatedKeyboardState.get().heightWithinContainer;return Math.max(0,highestDetentPosition-keyboardHeightInContainer);}if(isInTemporaryPosition.value){return animatedPosition.value;}if(!didAnimateOnMount.value){return _providedIndex===-1?closedDetentPosition:detents[_providedIndex];}const{status:status,nextIndex:nextIndex,nextPosition:nextPosition}=animatedAnimationState.get();if(source===ANIMATION_SOURCE.SNAP_POINT_CHANGE&&status===ANIMATION_STATUS.RUNNING&&nextIndex!==undefined&&nextPosition!==undefined&&detents[nextIndex]!==nextPosition){return detents[nextIndex];}return detents[currentIndex];}"},K={code:"function evaluatePosition_Gorhom_BottomSheetJs12(source,animationConfigs){const{animatedAnimationState,animatedDetentsState,ANIMATION_SOURCE,isLayoutCalculated,getEvaluatedPosition,didAnimateOnMount,ANIMATION_STATUS,animateOnMount,animateToPosition,setToPosition,INITIAL_VALUE,isInTemporaryPosition,animatedCurrentIndex,reduceMotion,animatedIndex,animatedPosition,animatedContainerHeightDidChange}=this.__closure;const{status:animationStatus,nextIndex:nextIndex,isForcedClosing:isForcedClosing}=animatedAnimationState.get();const{detents:detents,closedDetentPosition:closedDetentPosition}=animatedDetentsState.get();if(detents===undefined||detents.length===0||closedDetentPosition===undefined){return;}if(isForcedClosing&&source!==ANIMATION_SOURCE.USER){return;}if(!isLayoutCalculated.value){return;}const proposedPosition=getEvaluatedPosition(source);if(proposedPosition===undefined){return;}if(!didAnimateOnMount.value){if(animationStatus===ANIMATION_STATUS.RUNNING&&(isForcedClosing||nextIndex===-1)){return;}if(animateOnMount){animateToPosition(proposedPosition,ANIMATION_SOURCE.MOUNT,undefined,animationConfigs);}else{setToPosition(proposedPosition);didAnimateOnMount.value=true;}return;}if(animationStatus===ANIMATION_STATUS.RUNNING){const nextPositionIndex=nextIndex!==null&&nextIndex!==void 0?nextIndex:INITIAL_VALUE;if(nextPositionIndex===-1&&!isInTemporaryPosition.value){setToPosition(closedDetentPosition);return;}if(nextPositionIndex!==animatedCurrentIndex.value){animateToPosition(detents[nextPositionIndex],source,undefined,animationConfigs);return;}}if(animationStatus!==ANIMATION_STATUS.RUNNING&&animatedCurrentIndex.value===-1){if(reduceMotion&&detents[animatedIndex.value]!==animatedPosition.value){return;}setToPosition(closedDetentPosition);return;}if(animatedContainerHeightDidChange.value){setToPosition(proposedPosition);return;}animateToPosition(proposedPosition,source,undefined,animationConfigs);}"},V={code:"function handleSnapToPosition_Gorhom_BottomSheetJs13(position,animationConfigs){const{__DEV__,print,animatedLayoutState,normalizeSnapPoint,animatedAnimationState,isLayoutCalculated,isInTemporaryPosition,runOnUI,animateToPosition,ANIMATION_SOURCE}=this.__closure;if(__DEV__){print({component:'BottomSheet',method:'handleSnapToPosition',params:{position:position}});}const{containerHeight:containerHeight}=animatedLayoutState.get();const targetPosition=normalizeSnapPoint(position,containerHeight);const{nextPosition:nextPosition,isForcedClosing:isForcedClosing}=animatedAnimationState.get();if(!isLayoutCalculated||targetPosition===nextPosition||isForcedClosing){return;}isInTemporaryPosition.value=true;runOnUI(animateToPosition)(targetPosition,ANIMATION_SOURCE.USER,0,animationConfigs);}"},Y={code:"function gorhom_BottomSheetJs14(state){return{...state,isForcedClosing:true};}"},w={code:"function gorhom_BottomSheetJs15(){const{animatedLayoutState}=this.__closure;return animatedLayoutState.get().containerHeight;}"},G={code:"function gorhom_BottomSheetJs16(result,previous){const{INITIAL_LAYOUT_VALUE,animatedContainerHeightDidChange,animatedDetentsState,animatedAnimationState,ANIMATION_STATUS,ANIMATION_SOURCE,animateToPosition}=this.__closure;if(result===INITIAL_LAYOUT_VALUE){return;}animatedContainerHeightDidChange.value=result!==previous;const{closedDetentPosition:closedDetentPosition}=animatedDetentsState.get();if(closedDetentPosition===undefined){return;}const{status:animationStatus,source:animationSource,nextIndex:nextIndex}=animatedAnimationState.get();if(animationStatus===ANIMATION_STATUS.RUNNING&&animationSource===ANIMATION_SOURCE.GESTURE&&nextIndex===-1){animateToPosition(closedDetentPosition,ANIMATION_SOURCE.GESTURE);}}"},J={code:"function gorhom_BottomSheetJs17(){const{animatedDetentsState}=this.__closure;return animatedDetentsState.get().detents;}"},F={code:"function gorhom_BottomSheetJs18(result,previous){const{didAnimateOnMount,isLayoutCalculated,__DEV__,runOnJS,print,evaluatePosition,ANIMATION_SOURCE}=this.__closure;if(JSON.stringify(result)===JSON.stringify(previous)&&didAnimateOnMount.value){return;}if(!isLayoutCalculated.value){return;}if(__DEV__){runOnJS(print)({component:'BottomSheet',method:'useAnimatedReaction::OnSnapPointChange',category:'effect',params:{result:result}});}evaluatePosition(ANIMATION_SOURCE.SNAP_POINT_CHANGE);}"},W={code:"function gorhom_BottomSheetJs19(){const{animatedKeyboardState}=this.__closure;return animatedKeyboardState.get().status+animatedKeyboardState.get().height;}"},j={code:"function gorhom_BottomSheetJs20(result,_previousResult){const{animatedKeyboardState,KEYBOARD_STATUS,animatedAnimationState,ANIMATION_STATUS,ANIMATION_SOURCE,animatedLayoutState,$modal,bottomInset,__DEV__,runOnJS,print,Platform,android_keyboardInputMode,KEYBOARD_INPUT_MODE,keyboardBehavior,KEYBOARD_BEHAVIOR,animatedContentGestureState,State,animatedHandleGestureState,keyboardBlurBehavior,KEYBOARD_BLUR_BEHAVIOR,getKeyboardAnimationConfigs,evaluatePosition}=this.__closure;if(result===_previousResult){return;}const{status:status,height:height,easing:easing,duration:duration,target:target}=animatedKeyboardState.get();if(status===KEYBOARD_STATUS.UNDETERMINED){return;}const{status:animationStatus,source:animationSource}=animatedAnimationState.get();if(status===KEYBOARD_STATUS.HIDDEN&&animationStatus===ANIMATION_STATUS.RUNNING&&animationSource===ANIMATION_SOURCE.GESTURE){return;}const containerOffset=animatedLayoutState.get().containerOffset;let heightWithinContainer=height===0?0:$modal?Math.abs(height-Math.abs(bottomInset-containerOffset.bottom)):Math.abs(height-containerOffset.bottom);if(__DEV__){runOnJS(print)({component:'BottomSheet',method:'useAnimatedReaction::OnKeyboardStateChange',category:'effect',params:{status:status,height:height,heightWithinContainer:heightWithinContainer,containerOffset:containerOffset}});}if(Platform.OS==='android'&&android_keyboardInputMode===KEYBOARD_INPUT_MODE.adjustResize){heightWithinContainer=0;if(keyboardBehavior===KEYBOARD_BEHAVIOR.interactive){animatedKeyboardState.set({target:target,status:status,height:height,easing:easing,duration:duration,heightWithinContainer:heightWithinContainer});return;}}animatedKeyboardState.set(function(state){return{...state,heightWithinContainer:heightWithinContainer};});const hasActiveGesture=animatedContentGestureState.value===State.ACTIVE||animatedContentGestureState.value===State.BEGAN||animatedHandleGestureState.value===State.ACTIVE||animatedHandleGestureState.value===State.BEGAN;if(hasActiveGesture){return;}if(status===KEYBOARD_STATUS.HIDDEN&&keyboardBlurBehavior===KEYBOARD_BLUR_BEHAVIOR.none){return;}const animationConfigs=getKeyboardAnimationConfigs(easing,duration);evaluatePosition(ANIMATION_SOURCE.KEYBOARD,animationConfigs);}"},X={code:"function gorhom_BottomSheetJs21(){const{animatedPosition}=this.__closure;return animatedPosition.value;}"},z={code:"function gorhom_BottomSheetJs22(_animatedPosition){const{_providedAnimatedPosition,topInset}=this.__closure;if(_providedAnimatedPosition){_providedAnimatedPosition.value=_animatedPosition+topInset;}}"},$={code:"function gorhom_BottomSheetJs23(){const{animatedIndex}=this.__closure;return animatedIndex.value;}"},Z={code:"function gorhom_BottomSheetJs24(_animatedIndex){const{_providedAnimatedIndex}=this.__closure;if(_providedAnimatedIndex){_providedAnimatedIndex.value=_animatedIndex;}}"},q=(0,n.forwardRef)(function(t,S){const{animationConfigs:q,index:Q=0,snapPoints:tt,animateOnMount:et=C.DEFAULT_ANIMATE_ON_MOUNT,enableContentPanningGesture:nt=C.DEFAULT_ENABLE_CONTENT_PANNING_GESTURE,enableHandlePanningGesture:it,enableOverDrag:at=C.DEFAULT_ENABLE_OVER_DRAG,enablePanDownToClose:ot=C.DEFAULT_ENABLE_PAN_DOWN_TO_CLOSE,enableDynamicSizing:st=C.DEFAULT_DYNAMIC_SIZING,overDragResistanceFactor:dt=C.DEFAULT_OVER_DRAG_RESISTANCE_FACTOR,overrideReduceMotion:rt,style:_t,containerStyle:ut,backgroundStyle:At,handleStyle:mt,handleIndicatorStyle:St,gestureEventsHandlersHook:lt,keyboardBehavior:It=C.DEFAULT_KEYBOARD_BEHAVIOR,keyboardBlurBehavior:ct=C.DEFAULT_KEYBOARD_BLUR_BEHAVIOR,android_keyboardInputMode:Tt=C.DEFAULT_KEYBOARD_INPUT_MODE,enableBlurKeyboardOnGesture:Ot=C.DEFAULT_ENABLE_BLUR_KEYBOARD_ON_GESTURE,containerLayoutState:Nt,topInset:ht=0,bottomInset:Et=0,maxDynamicContentSize:gt,containerHeight:Pt,containerOffset:Dt,animatedPosition:ft,animatedIndex:Ct,simultaneousHandlers:Ut,waitFor:Rt,activeOffsetX:xt,activeOffsetY:vt,failOffsetX:pt,failOffsetY:Bt,onChange:Mt,onClose:yt,onAnimate:Ht,$modal:bt=!1,detached:Lt=!1,handleComponent:kt=E.BottomSheetHandle,backdropComponent:Kt,backgroundComponent:Vt,footerComponent:Yt,children:wt,accessible:Gt=C.DEFAULT_ACCESSIBLE,accessibilityLabel:Jt=C.DEFAULT_ACCESSIBILITY_LABEL,accessibilityRole:Ft=C.DEFAULT_ACCESSIBILITY_ROLE}=t,Wt=(0,c.useAnimatedLayout)(Nt,ht,Et,bt,null===kt),jt=(0,c.useAnimatedDetents)(tt,Wt,st,gt,Lt,bt,Et),Xt=(0,A.useDerivedValue)((function({_worklet_4739220383715_init_data:t,animatedLayoutState:e,animatedDetentsState:n,INITIAL_LAYOUT_VALUE:o}){const s=function(){const{containerHeight:t}=e.get(),{highestDetentPosition:s}=n.get();return void 0===s?o:t-s};return s.__closure={animatedLayoutState:e,animatedDetentsState:n,INITIAL_LAYOUT_VALUE:o},s.__workletHash=4739220383715,s.__initData=t,s})({_worklet_4739220383715_init_data:R,animatedLayoutState:Wt,animatedDetentsState:jt,INITIAL_LAYOUT_VALUE:l.INITIAL_LAYOUT_VALUE}),[Wt,jt]),zt=(0,c.useReactiveSharedValue)(et?-1:Q),$t=(0,A.useSharedValue)(o.default.get('window').height),Zt=(0,A.useSharedValue)(!et||-1===Q),qt=(0,A.useDerivedValue)((function({_worklet_5675370605537_init_data:t,animatedLayoutState:e,INITIAL_LAYOUT_VALUE:n,handleComponent:o,animatedDetentsState:s}){const _=function(){let t=!1;const{containerHeight:_,handleHeight:u}=e.get();null!=_&&_!==n&&(t=!0);let A=!1;null===o&&(A=!0),u!==n&&(A=!0);let S=!1;const{detents:l}=s.get();return l&&(S=!0),t&&A&&S};return _.__closure={animatedLayoutState:e,INITIAL_LAYOUT_VALUE:n,handleComponent:o,animatedDetentsState:s},_.__workletHash=5675370605537,_.__initData=t,_})({_worklet_5675370605537_init_data:x,animatedLayoutState:Wt,INITIAL_LAYOUT_VALUE:l.INITIAL_LAYOUT_VALUE,handleComponent:kt,animatedDetentsState:jt}),[Wt,jt,kt]),Qt=(0,A.useSharedValue)(!1),te=(0,A.useSharedValue)(!1),ee=(0,A.useSharedValue)(u.State.UNDETERMINED),ne=(0,A.useSharedValue)(u.State.UNDETERMINED),{state:ie,textInputNodesRef:ae}=(0,c.useAnimatedKeyboard)(),oe=(0,A.useReducedMotion)(),se=(0,n.useMemo)(()=>rt&&rt!==A.ReduceMotion.System?rt===A.ReduceMotion.Always:oe,[oe,rt]),de=(0,A.useSharedValue)({status:l.ANIMATION_STATUS.UNDETERMINED,source:l.ANIMATION_SOURCE.MOUNT}),re=(0,A.useDerivedValue)((function({_worklet_13452930535016_init_data:t,animatedDetentsState:e,SHEET_STATE:n,animatedPosition:o,animatedLayoutState:s,animatedSheetHeight:_,animatedKeyboardState:u,keyboardBehavior:A,KEYBOARD_BEHAVIOR:S,isInTemporaryPosition:l}){const I=function(){const{detents:t,closedDetentPosition:I}=e.get();if(!t||0===t.length||void 0===I)return n.CLOSED;if(o.value>=I)return n.CLOSED;const{containerHeight:c}=s.get(),T=c-_.value;if(o.value===T)return n.EXTENDED;const O=u.get().heightWithinContainer,N=Math.max(0,c-(_.value+O));return A===S.interactive&&l.value&&o.value===N?n.EXTENDED:0===o.value?n.FILL_PARENT:o.value<T?n.OVER_EXTENDED:n.OPENED};return I.__closure={animatedDetentsState:e,SHEET_STATE:n,animatedPosition:o,animatedLayoutState:s,animatedSheetHeight:_,animatedKeyboardState:u,keyboardBehavior:A,KEYBOARD_BEHAVIOR:S,isInTemporaryPosition:l},I.__workletHash=0xc3c41254e68,I.__initData=t,I})({_worklet_13452930535016_init_data:v,animatedDetentsState:jt,SHEET_STATE:l.SHEET_STATE,animatedPosition:$t,animatedLayoutState:Wt,animatedSheetHeight:Xt,animatedKeyboardState:ie,keyboardBehavior:It,KEYBOARD_BEHAVIOR:l.KEYBOARD_BEHAVIOR,isInTemporaryPosition:Qt}),[Wt,jt,ie,$t,Xt,Qt,It]),{state:ue,status:Ae,setScrollableRef:me,removeScrollableRef:Se}=(0,c.useScrollable)(nt,re,ie,de),le=(0,A.useDerivedValue)((function({_worklet_14040060957476_init_data:t,animatedDetentsState:e,animatedLayoutState:n,isLayoutCalculated:o,interpolate:s,animatedPosition:_,Extrapolation:u,animatedAnimationState:A,android_keyboardInputMode:S,KEYBOARD_INPUT_MODE:l,ANIMATION_STATUS:I,ANIMATION_SOURCE:c,isInTemporaryPosition:T,animatedCurrentIndex:O}){const N=function(){const{detents:t}=e.get();if(!t||0===t.length)return-1;const N=t.slice().reverse(),h=t.slice().map((t,e)=>e).reverse(),{containerHeight:E}=n.get();N.push(E),h.push(-1);const P=o.value?s(_.value,N,h,u.CLAMP):-1,{status:D,source:f,nextIndex:C,nextPosition:U}=A.get();return S===l.adjustResize&&D===I.RUNNING&&f===c.KEYBOARD&&T.value?Math.max(O.value,P):D===I.RUNNING&&f===c.SNAP_POINT_CHANGE&&void 0!==C&&void 0!==U?C:P};return N.__closure={animatedDetentsState:e,animatedLayoutState:n,isLayoutCalculated:o,interpolate:s,animatedPosition:_,Extrapolation:u,animatedAnimationState:A,android_keyboardInputMode:S,KEYBOARD_INPUT_MODE:l,ANIMATION_STATUS:I,ANIMATION_SOURCE:c,isInTemporaryPosition:T,animatedCurrentIndex:O},N.__workletHash=0xcc4f4d89324,N.__initData=t,N})({_worklet_14040060957476_init_data:p,animatedDetentsState:jt,animatedLayoutState:Wt,isLayoutCalculated:qt,interpolate:A.interpolate,animatedPosition:$t,Extrapolation:A.Extrapolation,animatedAnimationState:de,android_keyboardInputMode:Tt,KEYBOARD_INPUT_MODE:l.KEYBOARD_INPUT_MODE,ANIMATION_STATUS:l.ANIMATION_STATUS,ANIMATION_SOURCE:l.ANIMATION_SOURCE,isInTemporaryPosition:Qt,animatedCurrentIndex:zt}),[Tt,de,Wt,zt,$t,jt,Qt,qt]),Ie=(0,n.useCallback)(function(t,e){if(!Mt)return;const{dynamicDetentIndex:n}=jt.get();Mt(t,e,t===n?l.SNAP_POINT_TYPE.DYNAMIC:l.SNAP_POINT_TYPE.PROVIDED)},[Mt,jt]),ce=(0,n.useCallback)(function(t,e){t!==zt.get()&&Ht&&Ht(zt.value,t,$t.value,e)},[Ht,zt,$t]),Te=(0,n.useCallback)(function(){yt&&yt()},[yt]),Oe=(0,n.useCallback)((function({_worklet_12445268428881_init_data:t,cancelAnimation:e,animatedPosition:n,animatedAnimationState:o,ANIMATION_STATUS:s,ANIMATION_SOURCE:_}){const u=function(){e(n),o.set({status:s.STOPPED,source:_.NONE})};return u.__closure={cancelAnimation:e,animatedPosition:n,animatedAnimationState:o,ANIMATION_STATUS:s,ANIMATION_SOURCE:_},u.__workletHash=0xb51a3cdc851,u.__initData=t,u})({_worklet_12445268428881_init_data:B,cancelAnimation:A.cancelAnimation,animatedPosition:$t,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS,ANIMATION_SOURCE:l.ANIMATION_SOURCE}),[$t,de]),Ne=(0,n.useCallback)((function({_worklet_6749885698847_init_data:t,animatedAnimationState:e,__DEV__:n,runOnJS:o,print:s,animatedCurrentIndex:_,handleOnChange:u,handleOnClose:A,animatedContainerHeightDidChange:S,didAnimateOnMount:l,ANIMATION_STATUS:I,ANIMATION_SOURCE:c}){const T=function(t){if(!t)return;const{nextIndex:T,nextPosition:O}=e.get();n&&o(s)({component:'BottomSheet',method:'animateToPositionCompleted',params:{currentIndex:_.value,nextIndex:T,nextPosition:O}}),void 0!==T&&void 0!==O&&(T!==_.get()&&o(u)(T,O),-1===T&&o(A)(),_.set(T),S.set(!1),l.set(!0),e.set({status:I.STOPPED,source:c.NONE,nextIndex:void 0,nextPosition:void 0,isForcedClosing:void 0}))};return T.__closure={animatedAnimationState:e,__DEV__:n,runOnJS:o,print:s,animatedCurrentIndex:_,handleOnChange:u,handleOnClose:A,animatedContainerHeightDidChange:S,didAnimateOnMount:l,ANIMATION_STATUS:I,ANIMATION_SOURCE:c},T.__workletHash=6749885698847,T.__initData=t,T})({_worklet_6749885698847_init_data:M,animatedAnimationState:de,__DEV__:!1,runOnJS:A.runOnJS,print:T.print,animatedCurrentIndex:zt,handleOnChange:Ie,handleOnClose:Te,animatedContainerHeightDidChange:te,didAnimateOnMount:Zt,ANIMATION_STATUS:l.ANIMATION_STATUS,ANIMATION_SOURCE:l.ANIMATION_SOURCE}),[Ie,Te,zt,de,te,Zt]),he=(0,n.useCallback)((function({_worklet_7080750884016_init_data:t,__DEV__:e,runOnJS:n,print:o,animatedPosition:s,animatedAnimationState:_,ANIMATION_STATUS:u,stopAnimation:A,animatedKeyboardState:S,animatedSheetState:l,KEYBOARD_STATUS:I,keyboardBehavior:c,KEYBOARD_BEHAVIOR:T,ANIMATION_SOURCE:O,SHEET_STATE:N,animatedDetentsState:h,DEFAULT_KEYBOARD_INDEX:E,_worklet_3054184197869_init_data:P,handleOnAnimate:D,animate:f,_providedAnimationConfigs:C,_providedOverrideReduceMotion:U,animateToPositionCompleted:R}){const x=function(t,x,v=0,p){if(e&&n(o)({component:'BottomSheet',method:'animateToPosition',params:{currentPosition:s.value,nextPosition:t,source:x}}),void 0===t)return;if(t===s.get())return;const{status:B,nextPosition:M}=_.get();if(B===u.RUNNING&&t===M)return;B===u.RUNNING&&A();let y=0;const{status:H,heightWithinContainer:b}=S.get(),L=l.get();H!==I.SHOWN||c===T.extend||![O.KEYBOARD,O.SNAP_POINT_CHANGE].includes(x)&&L!==N.OVER_EXTENDED||(y=b);const{detents:k,closedDetentPosition:K,highestDetentPosition:V}=h.get();let Y=k?.indexOf(t+y)??-1;-1===Y&&H===I.SHOWN&&t!==K&&(void 0!==k&&void 0!==V&&(Y=k.indexOf(V)),-1===Y&&(Y=E)),_.set((function({_worklet_3054184197869_init_data:t,ANIMATION_STATUS:e,source:n,index:o,position:s}){const _=function(t){return Object.assign({},t,{status:e.RUNNING,source:n,nextIndex:o,nextPosition:s})};return _.__closure={ANIMATION_STATUS:e,source:n,index:o,position:s},_.__workletHash=3054184197869,_.__initData=t,_})({_worklet_3054184197869_init_data:P,ANIMATION_STATUS:u,source:x,index:Y,position:t})),n(D)(Y,t),s.value=f({point:t,configs:p||C,velocity:v,overrideReduceMotion:U,onComplete:R})};return x.__closure={__DEV__:e,runOnJS:n,print:o,animatedPosition:s,animatedAnimationState:_,ANIMATION_STATUS:u,stopAnimation:A,animatedKeyboardState:S,animatedSheetState:l,KEYBOARD_STATUS:I,keyboardBehavior:c,KEYBOARD_BEHAVIOR:T,ANIMATION_SOURCE:O,SHEET_STATE:N,animatedDetentsState:h,DEFAULT_KEYBOARD_INDEX:E,_worklet_3054184197869_init_data:P,handleOnAnimate:D,animate:f,_providedAnimationConfigs:C,_providedOverrideReduceMotion:U,animateToPositionCompleted:R},x.__workletHash=7080750884016,x.__initData=t,x})({_worklet_7080750884016_init_data:H,__DEV__:!1,runOnJS:A.runOnJS,print:T.print,animatedPosition:$t,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS,stopAnimation:Oe,animatedKeyboardState:ie,animatedSheetState:re,KEYBOARD_STATUS:l.KEYBOARD_STATUS,keyboardBehavior:It,KEYBOARD_BEHAVIOR:l.KEYBOARD_BEHAVIOR,ANIMATION_SOURCE:l.ANIMATION_SOURCE,SHEET_STATE:l.SHEET_STATE,animatedDetentsState:jt,DEFAULT_KEYBOARD_INDEX:C.DEFAULT_KEYBOARD_INDEX,_worklet_3054184197869_init_data:y,handleOnAnimate:ce,animate:T.animate,_providedAnimationConfigs:q,_providedOverrideReduceMotion:rt,animateToPositionCompleted:Ne}),[ce,Oe,Ne,It,q,rt,jt,de,ie,$t,re]),Ee=(0,n.useCallback)((function({_worklet_17559292240469_init_data:t,animatedPosition:e,animatedAnimationState:n,ANIMATION_STATUS:o,__DEV__:s,runOnJS:_,print:u,animatedDetentsState:A,_worklet_3650511913251_init_data:S,stopAnimation:l,animatedContainerHeightDidChange:I}){const c=function(t){if(!t)return;if(t===e.get())return;const{status:c,nextPosition:T}=n.get();if(c===o.RUNNING&&t===T)return;s&&_(u)({component:'BottomSheet',method:'setToPosition',params:{currentPosition:e.value,targetPosition:t}});const{detents:O}=A.get(),N=O?.indexOf(t)??-1;n.set((function({_worklet_3650511913251_init_data:t,targetPosition:e,index:n}){const o=function(t){return Object.assign({},t,{nextPosition:e,nextIndex:n})};return o.__closure={targetPosition:e,index:n},o.__workletHash=3650511913251,o.__initData=t,o})({_worklet_3650511913251_init_data:S,targetPosition:t,index:N})),l(),e.value=t,I.value=!1};return c.__closure={animatedPosition:e,animatedAnimationState:n,ANIMATION_STATUS:o,__DEV__:s,runOnJS:_,print:u,animatedDetentsState:A,_worklet_3650511913251_init_data:S,stopAnimation:l,animatedContainerHeightDidChange:I},c.__workletHash=0xff857606255,c.__initData=t,c})({_worklet_17559292240469_init_data:L,animatedPosition:$t,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS,__DEV__:!1,runOnJS:A.runOnJS,print:T.print,animatedDetentsState:jt,_worklet_3650511913251_init_data:b,stopAnimation:Oe,animatedContainerHeightDidChange:te}),[Oe,$t,te,de,jt]),ge=(0,n.useCallback)((function({_worklet_14289569669057_init_data:t,animatedCurrentIndex:e,animatedDetentsState:n,animatedKeyboardState:o,ANIMATION_SOURCE:s,keyboardBlurBehavior:_,KEYBOARD_BLUR_BEHAVIOR:u,KEYBOARD_STATUS:A,animatedContentGestureState:S,State:l,animatedHandleGestureState:I,isInTemporaryPosition:c,keyboardBehavior:T,KEYBOARD_BEHAVIOR:O,Platform:N,android_keyboardInputMode:h,animatedPosition:E,didAnimateOnMount:P,_providedIndex:D,animatedAnimationState:f,ANIMATION_STATUS:C}){const U=function(t){const N=e.value,{detents:h,highestDetentPosition:U,closedDetentPosition:R}=n.get(),x=o.get().status;if(void 0===h||void 0===U||void 0===R)return;if(t===s.KEYBOARD&&_===u.restore&&x===A.HIDDEN&&S.value!==l.ACTIVE&&I.value!==l.ACTIVE){c.value=!1;return h[N]}if(T===O.extend&&x===A.SHOWN)return U;if(T===O.fillParent&&x===A.SHOWN)return c.value=!0,0;if(T===O.interactive&&x===A.SHOWN){c.value=!0;const t=o.get().heightWithinContainer;return Math.max(0,U-t)}if(c.value)return E.value;if(!P.value)return-1===D?R:h[D];const{status:v,nextIndex:p,nextPosition:B}=f.get();return t===s.SNAP_POINT_CHANGE&&v===C.RUNNING&&void 0!==p&&void 0!==B&&h[p]!==B?h[p]:h[N]};return U.__closure={animatedCurrentIndex:e,animatedDetentsState:n,animatedKeyboardState:o,ANIMATION_SOURCE:s,keyboardBlurBehavior:_,KEYBOARD_BLUR_BEHAVIOR:u,KEYBOARD_STATUS:A,animatedContentGestureState:S,State:l,animatedHandleGestureState:I,isInTemporaryPosition:c,keyboardBehavior:T,KEYBOARD_BEHAVIOR:O,Platform:N,android_keyboardInputMode:h,animatedPosition:E,didAnimateOnMount:P,_providedIndex:D,animatedAnimationState:f,ANIMATION_STATUS:C},U.__workletHash=0xcff0cb95fc1,U.__initData=t,U})({_worklet_14289569669057_init_data:k,animatedCurrentIndex:zt,animatedDetentsState:jt,animatedKeyboardState:ie,ANIMATION_SOURCE:l.ANIMATION_SOURCE,keyboardBlurBehavior:ct,KEYBOARD_BLUR_BEHAVIOR:l.KEYBOARD_BLUR_BEHAVIOR,KEYBOARD_STATUS:l.KEYBOARD_STATUS,animatedContentGestureState:ee,State:u.State,animatedHandleGestureState:ne,isInTemporaryPosition:Qt,keyboardBehavior:It,KEYBOARD_BEHAVIOR:l.KEYBOARD_BEHAVIOR,Platform:s.default,android_keyboardInputMode:Tt,animatedPosition:$t,didAnimateOnMount:Zt,_providedIndex:Q,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS}),[ee,zt,ne,de,ie,$t,jt,Qt,Zt,It,ct,Q,Tt]),Pe=(0,n.useCallback)((function({_worklet_11430790997000_init_data:t,animatedAnimationState:e,animatedDetentsState:n,ANIMATION_SOURCE:o,isLayoutCalculated:s,getEvaluatedPosition:_,didAnimateOnMount:u,ANIMATION_STATUS:A,animateOnMount:S,animateToPosition:l,setToPosition:I,INITIAL_VALUE:c,isInTemporaryPosition:T,animatedCurrentIndex:O,reduceMotion:N,animatedIndex:h,animatedPosition:E,animatedContainerHeightDidChange:P}){const D=function(t,D){const{status:f,nextIndex:C,isForcedClosing:U}=e.get(),{detents:R,closedDetentPosition:x}=n.get();if(void 0===R||0===R.length||void 0===x)return;if(U&&t!==o.USER)return;if(!s.value)return;const v=_(t);if(void 0!==v)if(u.value){if(f===A.RUNNING){const e=C??c;if(-1===e&&!T.value)return void I(x);if(e!==O.value)return void l(R[e],t,void 0,D)}if(f===A.RUNNING||-1!==O.value)P.value?I(v):l(v,t,void 0,D);else{if(N&&R[h.value]!==E.value)return;I(x)}}else{if(f===A.RUNNING&&(U||-1===C))return;S?l(v,o.MOUNT,void 0,D):(I(v),u.value=!0)}};return D.__closure={animatedAnimationState:e,animatedDetentsState:n,ANIMATION_SOURCE:o,isLayoutCalculated:s,getEvaluatedPosition:_,didAnimateOnMount:u,ANIMATION_STATUS:A,animateOnMount:S,animateToPosition:l,setToPosition:I,INITIAL_VALUE:c,isInTemporaryPosition:T,animatedCurrentIndex:O,reduceMotion:N,animatedIndex:h,animatedPosition:E,animatedContainerHeightDidChange:P},D.__workletHash=0xa65703ca408,D.__initData=t,D})({_worklet_11430790997000_init_data:K,animatedAnimationState:de,animatedDetentsState:jt,ANIMATION_SOURCE:l.ANIMATION_SOURCE,isLayoutCalculated:qt,getEvaluatedPosition:ge,didAnimateOnMount:Zt,ANIMATION_STATUS:l.ANIMATION_STATUS,animateOnMount:et,animateToPosition:he,setToPosition:Ee,INITIAL_VALUE:C.INITIAL_VALUE,isInTemporaryPosition:Qt,animatedCurrentIndex:zt,reduceMotion:se,animatedIndex:le,animatedPosition:$t,animatedContainerHeightDidChange:te}),[ge,he,Ee,se,et,de,te,zt,le,$t,jt,Zt,Qt,qt]),De=(0,c.useStableCallback)(function(t,n){const{detents:o}=jt.get(),s=qt.get();if(void 0===o||0===o.length)return;if(!s)return;(0,e.default)(t>=-1&&t<=o.length-1,"'index' was provided but out of the provided snap points range! expected value to be between -1, "+(o.length-1));const _=o[t],{nextPosition:u,nextIndex:S,isForcedClosing:I}=de.get();qt.value&&t!==S&&_!==u&&!I&&(Qt.value=!1,(0,A.runOnUI)(he)(_,l.ANIMATION_SOURCE.USER,0,n))}),fe=(0,n.useCallback)((function({_worklet_11461861112613_init_data:t,__DEV__:e,print:n,animatedLayoutState:o,normalizeSnapPoint:s,animatedAnimationState:_,isLayoutCalculated:u,isInTemporaryPosition:A,runOnUI:S,animateToPosition:l,ANIMATION_SOURCE:I}){const c=function(t,c){e&&n({component:'BottomSheet',method:'handleSnapToPosition',params:{position:t}});const{containerHeight:T}=o.get(),O=s(t,T),{nextPosition:N,isForcedClosing:h}=_.get();u&&O!==N&&!h&&(A.value=!0,S(l)(O,I.USER,0,c))};return c.__closure={__DEV__:e,print:n,animatedLayoutState:o,normalizeSnapPoint:s,animatedAnimationState:_,isLayoutCalculated:u,isInTemporaryPosition:A,runOnUI:S,animateToPosition:l,ANIMATION_SOURCE:I},c.__workletHash=0xa6cac28fb25,c.__initData=t,c})({_worklet_11461861112613_init_data:V,__DEV__:!1,print:T.print,animatedLayoutState:Wt,normalizeSnapPoint:T.normalizeSnapPoint,animatedAnimationState:de,isLayoutCalculated:qt,isInTemporaryPosition:Qt,runOnUI:A.runOnUI,animateToPosition:he,ANIMATION_SOURCE:l.ANIMATION_SOURCE}),[he,Qt,qt,Wt,de]),Ce=(0,n.useCallback)(function(t){const e=jt.get().closedDetentPosition;if(void 0===e)return;const n=e,{nextPosition:o,isForcedClosing:s}=de.get();qt.value&&n!==o&&!s&&(Qt.value=!1,(0,A.runOnUI)(he)(n,l.ANIMATION_SOURCE.USER,0,t))},[he,qt,Qt,jt,de]),Ue=(0,n.useCallback)(function(t){const e=jt.get().closedDetentPosition;if(void 0===e)return;const n=e,{nextPosition:o,isForcedClosing:s}=de.get();n===o||s||(Qt.value=!1,de.set((function({_worklet_11886015550520_init_data:t}){const e=function(t){return Object.assign({},t,{isForcedClosing:!0})};return e.__closure={},e.__workletHash=0xacf6dbc1438,e.__initData=t,e})({_worklet_11886015550520_init_data:Y})),(0,A.runOnUI)(he)(n,l.ANIMATION_SOURCE.USER,0,t))},[he,Qt,jt,de]),Re=(0,n.useCallback)(function(t){const{detents:e}=jt.get();if(void 0===e||0===e.length)return;const n=e.length-1,o=e[n],{nextPosition:s,nextIndex:_,isForcedClosing:u}=de.get();qt.value&&n!==_&&o!==s&&!u&&(Qt.value=!1,(0,A.runOnUI)(he)(o,l.ANIMATION_SOURCE.USER,0,t))},[he,Qt,qt,jt,de]),xe=(0,n.useCallback)(function(t){const{detents:e}=jt.get();if(void 0===e||0===e.length)return;const n=e[0],{nextPosition:o,nextIndex:s,isForcedClosing:_}=de.get();qt&&0!==s&&n!==o&&!_&&(Qt.value=!1,(0,A.runOnUI)(he)(n,l.ANIMATION_SOURCE.USER,0,t))},[he,qt,Qt,jt,de]);(0,n.useImperativeHandle)(S,()=>({snapToIndex:De,snapToPosition:fe,expand:Re,collapse:xe,close:Ce,forceClose:Ue}));const ve=(0,n.useMemo)(()=>({textInputNodesRef:ae,enableContentPanningGesture:nt,enableDynamicSizing:st,overDragResistanceFactor:dt,enableOverDrag:at,enablePanDownToClose:ot,animatedAnimationState:de,animatedSheetState:re,animatedScrollableState:ue,animatedScrollableStatus:Ae,animatedContentGestureState:ee,animatedHandleGestureState:ne,animatedKeyboardState:ie,animatedLayoutState:Wt,animatedIndex:le,animatedPosition:$t,animatedSheetHeight:Xt,animatedDetentsState:jt,isInTemporaryPosition:Qt,simultaneousHandlers:Ut,waitFor:Rt,activeOffsetX:xt,activeOffsetY:vt,failOffsetX:pt,failOffsetY:Bt,enableBlurKeyboardOnGesture:Ot,animateToPosition:he,stopAnimation:Oe,setScrollableRef:me,removeScrollableRef:Se}),[ae,le,$t,Xt,Wt,ee,ne,de,ie,re,ue,Ae,jt,Qt,nt,dt,at,ot,st,Ot,Ut,Rt,xt,vt,pt,Bt,me,Se,he,Oe]),pe=(0,n.useMemo)(()=>({animatedIndex:le,animatedPosition:$t,snapToIndex:De,snapToPosition:fe,expand:Re,collapse:xe,close:Ce,forceClose:Ue}),[le,$t,De,fe,Re,xe,Ce,Ue]);return(0,A.useAnimatedReaction)((function({_worklet_3740846712338_init_data:t,animatedLayoutState:e}){const n=()=>e.get().containerHeight;return n.__closure={animatedLayoutState:e},n.__workletHash=3740846712338,n.__initData=t,n})({_worklet_3740846712338_init_data:w,animatedLayoutState:Wt}),(function({_worklet_7305691804640_init_data:t,INITIAL_LAYOUT_VALUE:e,animatedContainerHeightDidChange:n,animatedDetentsState:o,animatedAnimationState:s,ANIMATION_STATUS:_,ANIMATION_SOURCE:u,animateToPosition:A}){const S=function(t,S){if(t===e)return;n.value=t!==S;const{closedDetentPosition:l}=o.get();if(void 0===l)return;const{status:I,source:c,nextIndex:T}=s.get();I===_.RUNNING&&c===u.GESTURE&&-1===T&&A(l,u.GESTURE)};return S.__closure={INITIAL_LAYOUT_VALUE:e,animatedContainerHeightDidChange:n,animatedDetentsState:o,animatedAnimationState:s,ANIMATION_STATUS:_,ANIMATION_SOURCE:u,animateToPosition:A},S.__workletHash=7305691804640,S.__initData=t,S})({_worklet_7305691804640_init_data:G,INITIAL_LAYOUT_VALUE:l.INITIAL_LAYOUT_VALUE,animatedContainerHeightDidChange:te,animatedDetentsState:jt,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS,ANIMATION_SOURCE:l.ANIMATION_SOURCE,animateToPosition:he}),[te,de,jt]),(0,A.useAnimatedReaction)((function({_worklet_2047626166417_init_data:t,animatedDetentsState:e}){const n=()=>e.get().detents;return n.__closure={animatedDetentsState:e},n.__workletHash=2047626166417,n.__initData=t,n})({_worklet_2047626166417_init_data:J,animatedDetentsState:jt}),(function({_worklet_2736065060575_init_data:t,didAnimateOnMount:e,isLayoutCalculated:n,__DEV__:o,runOnJS:s,print:_,evaluatePosition:u,ANIMATION_SOURCE:A}){const S=function(t,S){JSON.stringify(t)===JSON.stringify(S)&&e.value||n.value&&(o&&s(_)({component:'BottomSheet',method:'useAnimatedReaction::OnSnapPointChange',category:'effect',params:{result:t}}),u(A.SNAP_POINT_CHANGE))};return S.__closure={didAnimateOnMount:e,isLayoutCalculated:n,__DEV__:o,runOnJS:s,print:_,evaluatePosition:u,ANIMATION_SOURCE:A},S.__workletHash=2736065060575,S.__initData=t,S})({_worklet_2736065060575_init_data:F,didAnimateOnMount:Zt,isLayoutCalculated:qt,__DEV__:!1,runOnJS:A.runOnJS,print:T.print,evaluatePosition:Pe,ANIMATION_SOURCE:l.ANIMATION_SOURCE}),[qt,Zt,jt]),(0,A.useAnimatedReaction)((function({_worklet_3372124159444_init_data:t,animatedKeyboardState:e}){const n=()=>e.get().status+e.get().height;return n.__closure={animatedKeyboardState:e},n.__workletHash=3372124159444,n.__initData=t,n})({_worklet_3372124159444_init_data:W,animatedKeyboardState:ie}),(function({_worklet_784372441099_init_data:t,animatedKeyboardState:e,KEYBOARD_STATUS:n,animatedAnimationState:o,ANIMATION_STATUS:s,ANIMATION_SOURCE:_,animatedLayoutState:u,$modal:A,bottomInset:S,__DEV__:l,runOnJS:I,print:c,Platform:T,android_keyboardInputMode:O,KEYBOARD_INPUT_MODE:N,keyboardBehavior:h,KEYBOARD_BEHAVIOR:E,animatedContentGestureState:P,State:D,animatedHandleGestureState:f,keyboardBlurBehavior:C,KEYBOARD_BLUR_BEHAVIOR:U,getKeyboardAnimationConfigs:R,evaluatePosition:x}){const v=function(t,T){if(t===T)return;const{status:O,height:N,easing:h,duration:E,target:v}=e.get();if(O===n.UNDETERMINED)return;const{status:p,source:B}=o.get();if(O===n.HIDDEN&&p===s.RUNNING&&B===_.GESTURE)return;const M=u.get().containerOffset;let y=0===N?0:A?Math.abs(N-Math.abs(S-M.bottom)):Math.abs(N-M.bottom);l&&I(c)({component:'BottomSheet',method:'useAnimatedReaction::OnKeyboardStateChange',category:'effect',params:{status:O,height:N,heightWithinContainer:y,containerOffset:M}}),e.set(t=>Object.assign({},t,{heightWithinContainer:y}));if(P.value===D.ACTIVE||P.value===D.BEGAN||f.value===D.ACTIVE||f.value===D.BEGAN)return;if(O===n.HIDDEN&&C===U.none)return;const H=R(h,E);x(_.KEYBOARD,H)};return v.__closure={animatedKeyboardState:e,KEYBOARD_STATUS:n,animatedAnimationState:o,ANIMATION_STATUS:s,ANIMATION_SOURCE:_,animatedLayoutState:u,$modal:A,bottomInset:S,__DEV__:l,runOnJS:I,print:c,Platform:T,android_keyboardInputMode:O,KEYBOARD_INPUT_MODE:N,keyboardBehavior:h,KEYBOARD_BEHAVIOR:E,animatedContentGestureState:P,State:D,animatedHandleGestureState:f,keyboardBlurBehavior:C,KEYBOARD_BLUR_BEHAVIOR:U,getKeyboardAnimationConfigs:R,evaluatePosition:x},v.__workletHash=784372441099,v.__initData=t,v})({_worklet_784372441099_init_data:j,animatedKeyboardState:ie,KEYBOARD_STATUS:l.KEYBOARD_STATUS,animatedAnimationState:de,ANIMATION_STATUS:l.ANIMATION_STATUS,ANIMATION_SOURCE:l.ANIMATION_SOURCE,animatedLayoutState:Wt,$modal:bt,bottomInset:Et,__DEV__:!1,runOnJS:A.runOnJS,print:T.print,Platform:s.default,android_keyboardInputMode:Tt,KEYBOARD_INPUT_MODE:l.KEYBOARD_INPUT_MODE,keyboardBehavior:It,KEYBOARD_BEHAVIOR:l.KEYBOARD_BEHAVIOR,animatedContentGestureState:ee,State:u.State,animatedHandleGestureState:ne,keyboardBlurBehavior:ct,KEYBOARD_BLUR_BEHAVIOR:l.KEYBOARD_BLUR_BEHAVIOR,getKeyboardAnimationConfigs:T.getKeyboardAnimationConfigs,evaluatePosition:Pe}),[bt,Et,It,ct,Tt,ie,Wt,ge]),(0,A.useAnimatedReaction)((function({_worklet_150016498047_init_data:t,animatedPosition:e}){const n=()=>e.value;return n.__closure={animatedPosition:e},n.__workletHash=150016498047,n.__initData=t,n})({_worklet_150016498047_init_data:X,animatedPosition:$t}),(function({_worklet_14307923316202_init_data:t,_providedAnimatedPosition:e,topInset:n}){const o=function(t){e&&(e.value=t+n)};return o.__closure={_providedAnimatedPosition:e,topInset:n},o.__workletHash=0xd0352afcdea,o.__initData=t,o})({_worklet_14307923316202_init_data:z,_providedAnimatedPosition:ft,topInset:ht}),[ft,ht]),(0,A.useAnimatedReaction)((function({_worklet_1413329246429_init_data:t,animatedIndex:e}){const n=()=>e.value;return n.__closure={animatedIndex:e},n.__workletHash=1413329246429,n.__initData=t,n})({_worklet_1413329246429_init_data:$,animatedIndex:le}),(function({_worklet_11790345600748_init_data:t,_providedAnimatedIndex:e}){const n=function(t){e&&(e.value=t)};return n.__closure={_providedAnimatedIndex:e},n.__workletHash=0xab9275c7eec,n.__initData=t,n})({_worklet_11790345600748_init_data:Z,_providedAnimatedIndex:Ct}),[Ct]),(0,n.useEffect)(()=>{et&&!Zt.value||De(Q)},[et,Q,Zt,De]),(0,U.jsx)(I.BottomSheetProvider,{value:pe,children:(0,U.jsx)(I.BottomSheetInternalProvider,{value:ve,children:(0,U.jsxs)(h.default,{gestureEventsHandlersHook:lt,children:[Kt?(0,U.jsx)(Kt,{animatedIndex:le,animatedPosition:$t,style:_.default.absoluteFill}):null,(0,U.jsx)(P.BottomSheetHostingContainer,{shouldCalculateHeight:!bt,layoutState:Wt,containerLayoutState:Nt,topInset:ht,bottomInset:Et,detached:Lt,style:ut,children:(0,U.jsxs)(D.BottomSheetBody,{style:_t,children:[null===Vt?null:(0,U.jsx)(O.BottomSheetBackgroundContainer,{animatedIndex:le,animatedPosition:$t,backgroundComponent:Vt,backgroundStyle:At},"BottomSheetBackgroundContainer"),(0,U.jsxs)(f.BottomSheetContent,{pointerEvents:"box-none",accessible:Gt??void 0,accessibilityRole:Ft??void 0,accessibilityLabel:Jt??void 0,keyboardBehavior:It,detached:Lt,children:[wt,Yt?(0,U.jsx)(N.BottomSheetFooterContainer,{footerComponent:Yt}):null]}),null!==kt?(0,U.jsx)(E.BottomSheetHandleContainer,{animatedIndex:le,animatedPosition:$t,enableHandlePanningGesture:it,enableOverDrag:at,enablePanDownToClose:ot,overDragResistanceFactor:dt,keyboardBehavior:It,handleComponent:kt,handleStyle:mt,handleIndicatorStyle:St},"BottomSheetHandleContainer"):null]})},"BottomSheetContainer")]})})})}),Q=(0,n.memo)(q);Q.displayName='BottomSheet';var tt=Q},2481,[42,36,183,25,59,2482,2570,2929,2930,2936,2942,2966,2970,2974,2976,2981,2984,2986,2961,279]);
@@ -15057,7 +15057,7 @@ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{v
15057
15057
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"decodeOfferFragmentPayload",{enumerable:!0,get:function(){return n.decodeOfferFragmentPayload}}),Object.defineProperty(e,"buildDaemonWebSocketUrl",{enumerable:!0,get:function(){return t.buildDaemonWebSocketUrl}}),Object.defineProperty(e,"deriveLabelFromEndpoint",{enumerable:!0,get:function(){return t.deriveLabelFromEndpoint}}),Object.defineProperty(e,"extractHostPortFromWebSocketUrl",{enumerable:!0,get:function(){return t.extractHostPortFromWebSocketUrl}}),Object.defineProperty(e,"normalizeHostPort",{enumerable:!0,get:function(){return t.normalizeHostPort}}),Object.defineProperty(e,"parseConnectionUri",{enumerable:!0,get:function(){return t.parseConnectionUri}}),Object.defineProperty(e,"parseHostPort",{enumerable:!0,get:function(){return t.parseHostPort}}),Object.defineProperty(e,"serializeConnectionUri",{enumerable:!0,get:function(){return t.serializeConnectionUri}}),Object.defineProperty(e,"serializeConnectionUriForStorage",{enumerable:!0,get:function(){return t.serializeConnectionUriForStorage}}),Object.defineProperty(e,"shouldUseTlsForDefaultHostedRelay",{enumerable:!0,get:function(){return t.shouldUseTlsForDefaultHostedRelay}}),e.buildRelayWebSocketUrl=function(n){return(0,t.buildRelayWebSocketUrl)(Object.assign({},n,{role:"client"}))};var t=r(d[0]),n=r(d[1])},3412,[3392,3413]);
15058
15058
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ConnectionOfferV2Schema",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"ConnectionOfferSchema",{enumerable:!0,get:function(){return o}}),e.decodeOfferFragmentPayload=l,e.parseConnectionOfferFromUrl=function(n){const t=f(n);if(!t)return null;const c=l(t);return o.parse(c)};var n=r(d[0]);const t=n.z.object({v:n.z.literal(2),serverId:n.z.string().min(1),daemonPublicKeyB64:n.z.string().min(1),relay:n.z.object({endpoint:n.z.string().min(1),useTls:n.z.boolean().optional()})}),o=t;function c(n){const t=n.replace(/-/g,"+").replace(/_/g,"/"),o=t.padEnd(t.length+(4-t.length%4)%4,"="),c=globalThis.atob(o),l=Uint8Array.from(c,n=>n.charCodeAt(0));return new TextDecoder("utf-8",{fatal:!0}).decode(l)}function l(n){const t=c(n);return JSON.parse(t)}const u="#offer=";function f(n){const t=n.trim();if(!t)return null;const o=t.indexOf(u);if(-1===o)return null;const c=t.slice(o+u.length).trim();return c.length>0?c:null}},3413,[3285]);
15059
15059
  __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.resolveAppVersion=function(){const e=u(t.default?.version);if(e)return e;const o=u(n.default.expoConfig?.version);if(o)return o;const f=u(n.default.manifest?.version);if(f)return f;return null};var n=e(r(d[0])),t=e(r(d[1]));function u(e){if("string"!=typeof e)return null;const n=e.trim();return 0===n.length?null:n}},3414,[718,3415]);
15060
- __d(function(e,t,r,a,i,o,n){i.exports={name:"@hyperdrive.bot/fleet-app",version:"0.3.123",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","build:terminal-webview":"node ./scripts/build-terminal-webview-html.mjs","eas-build-post-install":"npm --prefix ../.. run build:app-deps && npm run build:terminal-webview",android:"npm run android:development","android:development":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm --prefix ../.. run build:client && expo run:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project='Desktop Chrome'","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:ui":"playwright test --ui","test:coverage":"vitest run --project unit --coverage",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web --source-maps","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main"},dependencies:{"@bacons/apple-targets":"4.0.6","@datadog/browser-rum":"^6.23.0","@datadog/browser-rum-react":"^6.23.0","@datadog/mobile-react-native":"^2.7.0","@datadog/mobile-react-native-session-replay":"^2.14.8","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@expo/image-utils":"0.8.8","@expo/plist":"0.4.9","@expo/prebuild-config":"54.0.8","@floating-ui/react-native":"^0.10.7","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@hyperdrive.bot/fleet-client":"*","@hyperdrive.bot/fleet-expo-two-way-audio":"*","@hyperdrive.bot/fleet-extension-sdk":"*","@hyperdrive.bot/fleet-highlight":"*","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"^0.3.2","@react-native/normalize-colors":"^0.81.5","@react-navigation/native":"^7.1.8","@sentry/electron":"^6.11.0","@sentry/react-native":"^6.20.0","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"^54.0.18","expo-asset":"~12.0.12","expo-audio":"~1.0.13","expo-background-fetch":"~14.0.9","expo-build-properties":"^1.0.9","expo-camera":"~17.0.10","expo-clipboard":"~8.0.7","expo-constants":"~18.0.9","expo-crypto":"^15.0.8","expo-dev-client":"^6.0.15","expo-document-picker":"~14.0.8","expo-file-system":"~19.0.17","expo-haptics":"~15.0.7","expo-image":"~3.0.10","expo-image-manipulator":"~14.0.8","expo-image-picker":"^17.0.8","expo-keep-awake":"^15.0.7","expo-linking":"~8.0.8","expo-localization":"~17.0.9","expo-notifications":"^0.32.16","expo-router":"~6.0.13","expo-sharing":"^14.0.8","expo-speech":"~14.0.8","expo-speech-recognition":"^56.0.1","expo-splash-screen":"~31.0.10","expo-system-ui":"~6.0.7","expo-task-manager":"~14.0.9","expo-video":"~3.0.16","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^0.546.0","markdown-it":"^10.0.0","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.1.0","react-dom":"19.1.0","react-i18next":"^17.0.8","react-native":"0.81.5","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-gesture-handler":"~2.28.0","react-native-keyboard-controller":"^1.21.7","react-native-markdown-display":"^7.0.2","react-native-nitro-modules":"0.35.5","react-native-reanimated":"~4.3.1","react-native-safe-area-context":"~5.6.0","react-native-screens":"~4.16.0","react-native-svg":"^15.14.0","react-native-uitextview":"^2.2.0","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"^13.16.0","react-native-worklets":"~0.8.3","tiny-invariant":"^1.3.3","use-sync-external-store":"^1.6.0",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/chai":"^5.2.2","@types/markdown-it":"^14.1.2","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@vitest/coverage-v8":"^4.1.7","@xterm/headless":"^6.1.0-beta.213",dotenv:"^17.2.3",eslint:"^9.25.0","eslint-config-expo":"~10.0.0",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"}}},3415,[]);
15060
+ __d(function(e,t,r,a,i,o,n){i.exports={name:"@hyperdrive.bot/fleet-app",version:"0.3.124",private:!0,main:"index.ts",scripts:{start:"npm run start:expo","start:expo":"cross-env APP_VARIANT=development expo start","reset-project":"node ./scripts/reset-project.js","build:terminal-webview":"node ./scripts/build-terminal-webview-html.mjs","eas-build-post-install":"npm --prefix ../.. run build:app-deps && npm run build:terminal-webview",android:"npm run android:development","android:development":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=development expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=development expo run:android --variant=debug","android:production":"npm --prefix ../.. run build:client && cross-env APP_VARIANT=production expo prebuild --platform android --non-interactive && cross-env APP_VARIANT=production expo run:android --variant=release","android:release":"npm run android:production","android:clear":"node -e \"require('node:fs').rmSync('android', { recursive: true, force: true })\"",ios:"npm --prefix ../.. run build:client && expo run:ios","ios:release":"npm --prefix ../.. run build:client && expo run:ios --configuration Release",web:"npm --prefix ../.. run build:client && concurrently --kill-others --names protocol,client,expo --prefix-colors yellow,blue,magenta \"npm --prefix ../.. run watch:protocol\" \"npm --prefix ../.. run watch:client\" \"npm run web:expo\"","web:expo":"expo start --web",lint:"expo lint",typecheck:"tsgo --noEmit",test:"vitest run","test:browser":"vitest run --project browser","test:e2e":"playwright test --project='Desktop Chrome'","test:e2e:real":"cross-env E2E_FORK_PASEO_HOME_FROM=../../.dev/paseo-home playwright test --project=real-provider","test:e2e:ui":"playwright test --ui","test:coverage":"vitest run --project unit --coverage",build:"npm run build:web","build:web":"npm --prefix ../.. run build:app-deps && expo export --platform web --source-maps","profile:workspace-tabs":"node ./scripts/profile-workspace-tabs.mjs","deploy:web":"npm run build:web && wrangler pages deploy dist --project-name paseo-app --branch main"},dependencies:{"@bacons/apple-targets":"4.0.6","@datadog/browser-rum":"^6.23.0","@datadog/browser-rum-react":"^6.23.0","@datadog/mobile-react-native":"^2.7.0","@datadog/mobile-react-native-session-replay":"^2.14.8","@dnd-kit/core":"^6.3.1","@dnd-kit/sortable":"^10.0.0","@dnd-kit/utilities":"^3.2.2","@expo/image-utils":"0.8.8","@expo/plist":"0.4.9","@expo/prebuild-config":"54.0.8","@floating-ui/react-native":"^0.10.7","@gorhom/bottom-sheet":"^5.2.14","@gorhom/portal":"^1.0.14","@hyperdrive.bot/fleet-client":"*","@hyperdrive.bot/fleet-expo-two-way-audio":"*","@hyperdrive.bot/fleet-extension-sdk":"*","@hyperdrive.bot/fleet-highlight":"*","@react-native-async-storage/async-storage":"2.2.0","@react-native-masked-view/masked-view":"^0.3.2","@react-native/normalize-colors":"^0.81.5","@react-navigation/native":"^7.1.8","@sentry/electron":"^6.11.0","@sentry/react-native":"^6.20.0","@tanstack/react-query":"^5.90.11","@tanstack/react-virtual":"^3.13.21","@xterm/addon-clipboard":"^0.3.0-beta.213","@xterm/addon-fit":"^0.12.0-beta.213","@xterm/addon-image":"^0.10.0-beta.213","@xterm/addon-ligatures":"0.11.0-beta.213","@xterm/addon-search":"^0.17.0-beta.213","@xterm/addon-unicode11":"^0.10.0-beta.213","@xterm/addon-web-links":"^0.13.0-beta.213","@xterm/addon-webgl":"^0.20.0-beta.212","@xterm/xterm":"^6.1.0-beta.213",buffer:"^6.0.3",expo:"^54.0.18","expo-asset":"~12.0.12","expo-audio":"~1.0.13","expo-background-fetch":"~14.0.9","expo-build-properties":"^1.0.9","expo-camera":"~17.0.10","expo-clipboard":"~8.0.7","expo-constants":"~18.0.9","expo-crypto":"^15.0.8","expo-dev-client":"^6.0.15","expo-document-picker":"~14.0.8","expo-file-system":"~19.0.17","expo-haptics":"~15.0.7","expo-image":"~3.0.10","expo-image-manipulator":"~14.0.8","expo-image-picker":"^17.0.8","expo-keep-awake":"^15.0.7","expo-linking":"~8.0.8","expo-localization":"~17.0.9","expo-notifications":"^0.32.16","expo-router":"~6.0.13","expo-sharing":"^14.0.8","expo-speech":"~14.0.8","expo-speech-recognition":"^56.0.1","expo-splash-screen":"~31.0.10","expo-system-ui":"~6.0.7","expo-task-manager":"~14.0.9","expo-video":"~3.0.16","fast-deep-equal":"^3.1.3",htmlparser2:"^12.0.0",i18next:"^26.3.0","lucide-react-native":"^0.546.0","markdown-it":"^10.0.0","mnemonic-id":"^3.2.7",qrcode:"^1.5.4",react:"19.1.0","react-dom":"19.1.0","react-i18next":"^17.0.8","react-native":"0.81.5","react-native-draggable-flatlist":"^4.0.3","react-native-edge-to-edge":"^1.7.0","react-native-gesture-handler":"~2.28.0","react-native-keyboard-controller":"^1.21.7","react-native-markdown-display":"^7.0.2","react-native-nitro-modules":"0.35.5","react-native-reanimated":"~4.3.1","react-native-safe-area-context":"~5.6.0","react-native-screens":"~4.16.0","react-native-svg":"^15.14.0","react-native-uitextview":"^2.2.0","react-native-unistyles":"^3.2.4","react-native-web":"~0.21.0","react-native-webview":"^13.16.0","react-native-worklets":"~0.8.3","tiny-invariant":"^1.3.3","use-sync-external-store":"^1.6.0",zod:"^4.4.3",zustand:"^5.0.9"},devDependencies:{"@playwright/test":"^1.56.1","@testing-library/dom":"^10.4.1","@testing-library/react":"^16.3.2","@types/chai":"^5.2.2","@types/markdown-it":"^14.1.2","@types/qrcode":"^1.5.6","@types/react":"~19.2.0","@types/ws":"^8.18.1","@vitest/browser":"^4.1.7","@vitest/browser-playwright":"^4.1.7","@vitest/coverage-v8":"^4.1.7","@xterm/headless":"^6.1.0-beta.213",dotenv:"^17.2.3",eslint:"^9.25.0","eslint-config-expo":"~10.0.0",jsdom:"^20.0.3","material-icon-theme":"^5.32.0",playwright:"^1.56.1","serve-sim":"^0.1.40",typescript:"~5.9.2",vitest:"^4.1.6",wrangler:"^4.105.0",ws:"^8.20.0"}}},3415,[]);
15061
15061
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.shouldUseDesktopDaemon=function(){return(0,n.isElectronRuntime)()},e.getDesktopDaemonStatus=async function(){return c(await(0,t.invokeDesktopCommand)("desktop_daemon_status"))},e.startDesktopDaemon=async function(){return c(await(0,t.invokeDesktopCommand)("start_desktop_daemon"))},e.stopDesktopDaemon=async function(n="manual_ipc"){return c(await(0,t.invokeDesktopCommand)("stop_desktop_daemon",{reason:n}))},e.restartDesktopDaemon=async function(){return c(await(0,t.invokeDesktopCommand)("restart_desktop_daemon"))},e.getDesktopDaemonLogs=async function(){return p(await(0,t.invokeDesktopCommand)("desktop_daemon_logs"))},e.getDesktopDaemonPairing=async function(){return k(await(0,t.invokeDesktopCommand)("desktop_daemon_pairing"))},e.getCliDaemonStatus=async function(){const n=await(0,t.invokeDesktopCommand)("cli_daemon_status");if("string"!=typeof n)throw new Error("Unexpected CLI daemon status response.");return n},e.listenToLocalTransportEvents=async function(t){const u=(0,n.getDesktopHost)()?.events?.on;if("function"!=typeof u)throw new Error("Desktop events API is unavailable.");const c=await u("local-daemon-transport-event",n=>{o(n)&&t({sessionId:s(n.sessionId)??"",kind:s(n.kind)??"error",text:s(n.text),binaryBase64:s(n.binaryBase64),code:l(n.code),reason:s(n.reason),error:s(n.error)})});return"function"==typeof c?c:()=>{}},e.openLocalTransportSession=async function(n){const o=await(0,t.invokeDesktopCommand)("open_local_daemon_transport",n);if("string"!=typeof o||0===o.trim().length)throw new Error("Unexpected local transport session response.");return o},e.sendLocalTransportMessage=async function(n){await(0,t.invokeDesktopCommand)("send_local_daemon_transport_message",Object.assign({sessionId:n.sessionId},n.text?{text:n.text}:{},n.binaryBase64?{binaryBase64:n.binaryBase64}:{}))},e.closeLocalTransportSession=async function(n){await(0,t.invokeDesktopCommand)("close_local_daemon_transport",{sessionId:n})},e.getCliInstallStatus=async function(){return f(await(0,t.invokeDesktopCommand)("get_cli_install_status"))},e.installCli=async function(){return f(await(0,t.invokeDesktopCommand)("install_cli"))},e.getSkillsStatus=async function(){return y(await(0,t.invokeDesktopCommand)("get_skills_status"))},e.installSkills=async function(){return y(await(0,t.invokeDesktopCommand)("install_skills"))},e.updateSkills=async function(){return y(await(0,t.invokeDesktopCommand)("update_skills"))},e.uninstallSkills=async function(){return y(await(0,t.invokeDesktopCommand)("uninstall_skills"))};var n=r(d[0]),t=r(d[1]);function o(n){return"object"==typeof n&&null!==n}function s(n){return"string"==typeof n&&n.trim().length>0?n:null}function l(n){return"number"==typeof n&&Number.isFinite(n)?n:null}function u(n){const t=s(n)?.toLowerCase();switch(t){case"starting":return"starting";case"running":return"running";case"errored":case"error":return"errored";default:return"stopped"}}function c(n){if(!o(n))throw new Error("Unexpected desktop daemon status response.");return{serverId:s(n.serverId)??"",status:u(n.status),listen:s(n.listen),hostname:s(n.hostname),pid:l(n.pid),home:s(n.home)??"",version:s(n.version),desktopManaged:!0===n.desktopManaged,error:s(n.error)}}function p(n){if(!o(n))throw new Error("Unexpected desktop daemon logs response.");return{logPath:s(n.logPath)??"",contents:"string"==typeof n.contents?n.contents:""}}function k(n){if(!o(n))throw new Error("Unexpected desktop daemon pairing response.");return{relayEnabled:!0===n.relayEnabled,url:s(n.url),qr:s(n.qr)}}function f(n){if(!o(n))throw new Error("Unexpected install status response.");return{installed:!0===n.installed}}function w(n){switch(n){case"not-installed":case"up-to-date":case"drift":return n;default:throw new Error(`Unexpected skills status state: ${String(n)}`)}}function _(n){if(!o(n))throw new Error("Unexpected skill op response.");const t=s(n.name);if(!t)throw new Error("Skill op missing name.");switch(n.kind){case"add":return{kind:"add",name:t};case"update":return{kind:"update",name:t};case"delete":return{kind:"delete",name:t};default:throw new Error(`Unexpected skill op kind: ${String(n.kind)}`)}}function y(n){if(!o(n))throw new Error("Unexpected skills status response.");const t=Array.isArray(n.ops)?n.ops.map(_):[];return{state:w(n.state),ops:t}}},3416,[3417,3419]);
15062
15062
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getDesktopHost=n,e.isElectronRuntime=o,e.isElectronRuntimeMac=function(){if(!o())return!1;if("undefined"==typeof navigator)return!1;const t=n()?.platform?.toLowerCase();if("darwin"===t||"mac"===t||"macos"===t)return!0;const u=navigator.userAgent;return u.includes("Mac OS")||u.includes("Macintosh")},r(d[0]);var t=r(d[1]);function n(){return(0,t.getElectronHost)()}function o(){return null!==n()}},3417,[25,3418]);
15063
15063
  __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getElectronHost=function(){if("undefined"==typeof window)return null;const t=window.paseoDesktop;if(!t||"object"!=typeof t)return null;return t}},3418,[]);
@@ -16700,5 +16700,5 @@ __d(function(g,r,_i,a,_m,_e,d){"use strict";var e,t=r(d[0]),n=this&&this.__creat
16700
16700
  __r(694);
16701
16701
  __r(341);
16702
16702
  __r(0);
16703
- //# sourceMappingURL=/_expo/static/js/web/index-2836ce72bcca908cdd706d9aab0a425c.js.map
16704
- //# debugId=ead4b92d-196a-4939-b850-bff44d197ba8
16703
+ //# sourceMappingURL=/_expo/static/js/web/index-2390b91ac051dffd6dfb0997deedfda4.js.map
16704
+ //# debugId=7b069377-9af7-4307-ad7c-b3e563f21d97
@@ -191,6 +191,6 @@
191
191
  <body>
192
192
  <noscript>You need to enable JavaScript to run this app.</noscript>
193
193
  <div id="root"></div>
194
- <script src="/_expo/static/js/web/index-2836ce72bcca908cdd706d9aab0a425c.js" defer></script>
194
+ <script src="/_expo/static/js/web/index-2390b91ac051dffd6dfb0997deedfda4.js" defer></script>
195
195
  </body>
196
196
  </html>
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperdrive.bot/fleet-server",
3
- "version": "0.3.123",
3
+ "version": "0.3.124",
4
4
  "description": "Paseo backend server",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -66,11 +66,11 @@
66
66
  "@agentclientprotocol/sdk": "^0.17.1",
67
67
  "@anthropic-ai/claude-agent-sdk": "^0.3.195",
68
68
  "@anthropic-ai/sdk": "^0.104.2",
69
- "@hyperdrive.bot/fleet-client": "0.3.123",
70
- "@hyperdrive.bot/fleet-extension-sdk": "0.3.123",
71
- "@hyperdrive.bot/fleet-highlight": "0.3.123",
72
- "@hyperdrive.bot/fleet-protocol": "0.3.123",
73
- "@hyperdrive.bot/fleet-relay": "0.3.123",
69
+ "@hyperdrive.bot/fleet-client": "0.3.124",
70
+ "@hyperdrive.bot/fleet-extension-sdk": "0.3.124",
71
+ "@hyperdrive.bot/fleet-highlight": "0.3.124",
72
+ "@hyperdrive.bot/fleet-protocol": "0.3.124",
73
+ "@hyperdrive.bot/fleet-relay": "0.3.124",
74
74
  "@isaacs/ttlcache": "^2.1.4",
75
75
  "@modelcontextprotocol/sdk": "^1.20.1",
76
76
  "@opencode-ai/sdk": "1.2.6",