PageSourceSearch

https://chefito.de/app/_expo/static/js/web/_layout-0095d5555fe6123…?chefito-release=4acfbdc30b7897e4

js chefito.de collected 2026-10-02 01:53:07 UTC 49,272 bytes, 10 lines download raw bytes

1__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 ue}});var t=r(d[0]),o=e(t),n=r(d[1]),s=e(r(d[2])),l=e(r(d[3])),c=e(r(d[4]));r(d[5]);var u=e(r(d[6])),b=e(r(d[7])),h=e(r(d[8])),p=r(d[9]),f=e(p),_=r(d[10]),y=r(d[11]),v=r(d[12]),x=r(d[13]),S=r(d[14]),C=r(d[15]),w=r(d[16]),k=r(d[17]),P=r(d[18]),A=r(d[19]),j=r(d[20]),T=r(d[21]),R=r(d[22]),I=r(d[23]),B=r(d[24]),L=e(r(d[25])),F=e(r(d[26])),E=e(r(d[27])),z=e(r(d[28])),H=e(r(d[29])),M=r(d[30]),W=r(d[31]),O=r(d[32]),D=e(r(d[33])),V=r(d[34]),Y=r(d[35]),N=r(d[36]);const K=(0,x.walkthroughable)(c.default),X=f.default.createAnimatedComponent(u.default),G=l.default.create({iconContainer:{alignItems:'center',justifyContent:'center'},tabIcon:{width:40,height:40,resizeMode:'contain'},tabBar:{flexDirection:'row',paddingTop:6,paddingBottom:6,height:60,alignItems:'center',justifyContent:'space-around',borderTopLeftRadius:24,borderTopRightRadius:24,overflow:'visible'},hero:{paddingTop:40,paddingBottom:35,paddingHorizontal:20,borderBottomLeftRadius:36,borderBottomRightRadius:36,overflow:'hidden'},tabBarHighlight:{position:'absolute',top:0,left:24,right:24,height:2,borderRadius:1},tabItem:{flex:1,alignItems:'center',justifyContent:'center',paddingVertical:2,minHeight:48},tabItemContent:{width:'100%',minHeight:48,alignItems:'center',justifyContent:'center',paddingVertical:4,paddingHorizontal:2,borderRadius:16},activeIndicator:{position:'absolute',left:0,top:6,height:48,borderRadius:16},tabLabel:{fontSize:10,fontWeight:'600',fontFamily:'Nunito_600SemiBold',marginTop:2,textAlign:'center',width:'100%'},fabContainer:{width:70,alignItems:'center',justifyContent:'center'},fabWrapper:{alignItems:'center',justifyContent:'center',marginTop:-28},fab:{width:60,height:60,borderRadius:30,alignItems:'center',justifyContent:'center',shadowColor:'#1F8ED6',shadowOffset:{width:0,height:8},shadowOpacity:.45,shadowRadius:16,elevation:12,borderWidth:3,borderTopColor:'#4FA6E0',borderLeftColor:'#3A9AD8',borderRightColor:'#3A9AD8',borderBottomWidth:5,borderBottomColor:'#166598',overflow:'hidden'},fabPressed:{shadowOffset:{width:0,height:2},shadowOpacity:.24,shadowRadius:8,elevation:6,borderBottomWidth:3},fabGradient:{width:'100%',height:'100%',borderRadius:30,alignItems:'center',justifyContent:'center'},backdrop:{position:'absolute',top:-1e3,left:0,right:0,bottom:0,backgroundColor:'rgba(0,0,0,0.5)',zIndex:40},fabActionsContainer:{position:'absolute',left:0,right:0,alignItems:'center',paddingHorizontal:12,zIndex:50,pointerEvents:'box-none'},fabRowsContainer:{width:'100%',maxWidth:720,alignItems:'center',gap:8},fabActionRow:{width:'100%',flexDirection:'row',justifyContent:'center',gap:10},fabAction:{alignItems:'center',justifyContent:'center',minHeight:78,paddingHorizontal:6,paddingVertical:8,borderRadius:22,borderWidth:2,borderTopColor:'rgba(255,255,255,0.5)',borderLeftColor:'rgba(255,255,255,0.3)',borderRightColor:'rgba(0,0,0,0.05)',borderBottomWidth:4,borderBottomColor:'rgba(0,0,0,0.12)',shadowOffset:{width:0,height:6},shadowOpacity:.2,shadowRadius:10,elevation:8,gap:6,position:'relative'},fabActionTop:{width:'41%',minHeight:86},fabActionPrimary:{width:'46%',minHeight:90},fabActionSecondary:{width:'42%',minHeight:88},fabActionMiddle:{width:'29%'},fabActionBottom:{width:'29%'},fabActionLabel:{fontSize:11,fontWeight:'700',fontFamily:'Nunito_700Bold',textAlign:'center',lineHeight:14},fabActionSubLabel:{fontSize:10,fontWeight:'600',fontFamily:'Nunito_600SemiBold',textAlign:'center',lineHeight:12,opacity:.75,marginTop:2},fabActionPriority:{borderBottomWidth:5,minHeight:92},fabActionPriorityBg:{position:'absolute',top:0,left:0,right:0,bottom:0,borderRadius:22},fabActionIcon:{width:34,height:34,borderRadius:17,alignItems:'center',justifyContent:'center',borderWidth:2,borderTopColor:'rgba(255,255,255,0.3)',borderLeftColor:'rgba(255,255,255,0.2)',borderRightColor:'rgba(0,0,0,0.05)',borderBottomWidth:3,borderBottomColor:'rgba(0,0,0,0.15)',marginBottom:2},fabActionIconWrap:{position:'relative',alignItems:'center',justifyContent:'center',width:52,height:52},chefitoAssistantIcon:{width:29,height:29,borderRadius:14.5,transform:[{rotate:'-6deg'}]},fabRecommendedAura:{position:'absolute',width:46,height:46,borderRadius:23},fabMoreToggleWrap:{marginTop:4,width:'100%',alignItems:'center'},fabMoreToggle:{minHeight:38,borderRadius:16,borderWidth:2,borderBottomWidth:4,paddingHorizontal:16,paddingVertical:8,flexDirection:'row',alignItems:'center',justifyContent:'center',gap:6},fabMoreToggleLabel:{fontSize:12,fontWeight:'700',fontFamily:'Nunito_700Bold'},fabActionBadge:{position:'absolute',top:-9,right:-4,paddingHorizontal:6,paddingVertical:2,borderRadius:8,borderWidth:2,zIndex:10},fabActionBadgeText:{fontSize:9,fontWeight:'800',fontFamily:'Nunito_800ExtraBold'}});function U({source:e}){return(0,N.jsx)(c.default,{style:G.iconContainer,children:(0,N.jsx)(h.default,{source:e,style:[G.tabIcon],alt:""})})}const $={code:"function _layoutTsx1(){const{scale,translateY}=this.__closure;return{transform:[{scale:scale.value},{translateY:translateY.value}]};}"},q={code:"function _layoutTsx2(){const{selectionProgress,isReducedMotionEnabled}=this.__closure;return{opacity:0.65+selectionProgress.value*0.35,transform:[{scale:isReducedMotionEnabled?1:0.96+selectionProgress.value*0.04}]};}"},Q={code:"function _layoutTsx3(){const{interpolateColor,selectionProgress,colors}=this.__closure;return{color:interpolateColor(selectionProgress.value,[0,1],[colors.mutedForeground,colors.primary])};}"};function J({icon:e,label:n,onPress:s,isFocused:l,colors:c,accessibilityLabel:u}){const b=(0,M.useReducedMotion)(),h=(0,p.useSharedValue)(1),_=(0,p.useSharedValue)(0),y=(0,p.useSharedValue)(l?1:0);o.default.useEffect(()=>{y.value=(0,p.withTiming)(l?1:0,{duration:b?W.motion.reducedOpacity:W.motion.navigation,easing:W.easing.decelerate})},[l,b,y]);const v=(0,t.useCallback)(()=>{h.value=(0,p.withTiming)(b?1:.96,{duration:W.motion.press,easing:W.easing.standard}),_.value=(0,p.withTiming)(b?0:1,{duration:W.motion.press,easing:W.easing.standard})},[b,h,_]),x=(0,t.useCallback)(()=>{h.value=(0,p.withTiming)(1,{duration:W.motion.press,easing:W.easing.decelerate}),_.value=(0,p.withTiming)(0,{duration:W.motion.press,easing:W.easing.decelerate})},[h,_]),S=(0,p.useAnimatedStyle)((function({_worklet_10811085300885_init_data:e,scale:t,translateY:o}){const n=()=>({transform:[{scale:t.value},{translateY:o.value}]});return n.__closure={scale:t,translateY:o},n.__workletHash=0x9d526e62495,n.__initData=e,n})({_worklet_10811085300885_init_data:$,scale:h,translateY:_})),C=(0,p.useAnimatedStyle)((function({_worklet_8028744420177_init_data:e,selectionProgress:t,isReducedMotionEnabled:o}){const n=()=>({opacity:.65+.35*t.value,transform:[{scale:o?1:.96+.04*t.value}]});return n.__closure={selectionProgress:t,isReducedMotionEnabled:o},n.__workletHash=8028744420177,n.__initData=e,n})({_worklet_8028744420177_init_data:q,selectionProgress:y,isReducedMotionEnabled:b})),w=(0,p.useAnimatedStyle)((function({_worklet_797963292950_init_data:e,interpolateColor:t,selectionProgress:o,colors:n}){const s=()=>({color:t(o.value,[0,1],[n.mutedForeground,n.primary])});return s.__closure={interpolateColor:t,selectionProgress:o,colors:n},s.__workletHash=797963292950,s.__initData=e,s})({_worklet_797963292950_init_data:Q,interpolateColor:p.interpolateColor,selectionProgress:y,colors:c}));return(0,N.jsxs)(X,{onPress:s,onPressIn:v,onPressOut:x,style:[G.tabItemContent,S],accessibilityRole:"tab",accessibilityState:{selected:l},accessibilityLabel:u,hitSlop:2,children:[(0,N.jsx)(f.default.View,{style:C,children:e}),(0,N.jsx)(f.default.Text,{numberOfLines:1,adjustsFontSizeToFit:!0,minimumFontScale:.75,maxFontSizeMultiplier:1.3,style:[G.tabLabel,w],children:n})]})}
1const Z={code:"function _layoutTsx4(){const{indicatorWidth,opacity,translateX}=this.__closure;return{width:indicatorWidth.value,opacity:opacity.value,transform:[{translateX:translateX.value}]};}"};function ee({activeIndex:e,barWidth:t,color:n}){const s=(0,M.useReducedMotion)(),l=(0,p.useSharedValue)(0),c=(0,p.useSharedValue)(0),u=(0,p.useSharedValue)(0);o.default.useEffect(()=>{const o=(0,V.getBottomNavigationIndicatorLayout)(t,e),n=s?0:W.motion.navigation;o.isVisible&&(l.value=(0,p.withTiming)(o.translateX,{duration:n,easing:W.easing.decelerate}),c.value=(0,p.withTiming)(o.width,{duration:n,easing:W.easing.decelerate})),u.value=(0,p.withTiming)(o.isVisible?1:0,{duration:s?W.motion.reducedOpacity:W.motion.stateChange,easing:W.easing.decelerate})},[e,t,c,s,u,l]);const b=(0,p.useAnimatedStyle)((function({_worklet_7439585571855_init_data:e,indicatorWidth:t,opacity:o,translateX:n}){const s=()=>({width:t.value,opacity:o.value,transform:[{translateX:n.value}]});return s.__closure={indicatorWidth:t,opacity:o,translateX:n},s.__workletHash=7439585571855,s.__initData=e,s})({_worklet_7439585571855_init_data:Z,indicatorWidth:c,opacity:u,translateX:l}));return(0,N.jsx)(f.default.View,{pointerEvents:"none",style:[G.activeIndicator,{backgroundColor:n},b]})}const te={code:"function _layoutTsx5(){const{scale,translateY}=this.__closure;return{transform:[{scale:scale.value},{translateY:translateY.value}]};}"},oe={code:"function _layoutTsx6(){const{rotation}=this.__closure;return{transform:[{rotate:rotation.value+\"deg\"}]};}"};function ie({onPress:e,isOpen:n,colors:s,accessibilityLabel:l,accessibilityHint:c,disabled:u=!1}){const b=(0,M.useReducedMotion)(),[h,v]=(0,t.useState)(!1),x=(0,p.useSharedValue)(1),S=(0,p.useSharedValue)(0),C=(0,p.useSharedValue)(0);o.default.useEffect(()=>{S.value=(0,p.withTiming)(b?0:n?45:0,{duration:b?0:W.motion.navigation,easing:W.easing.decelerate})},[n,b,S]);const w=(0,t.useCallback)(()=>{v(!0),x.value=(0,p.withTiming)(b?1:.96,{duration:W.motion.press,easing:W.easing.standard}),C.value=(0,p.withTiming)(b?0:2,{duration:W.motion.press,easing:W.easing.standard})},[b,x,C]),k=(0,t.useCallback)(()=>{v(!1),x.value=(0,p.withTiming)(1,{duration:W.motion.press,easing:W.easing.decelerate}),C.value=(0,p.withTiming)(0,{duration:W.motion.press,easing:W.easing.decelerate})},[x,C]),P=(0,p.useAnimatedStyle)((function({_worklet_15906509894161_init_data:e,scale:t,translateY:o}){const n=()=>({transform:[{scale:t.value},{translateY:o.value}]});return n.__closure={scale:t,translateY:o},n.__workletHash=0xe7785df3211,n.__initData=e,n})({_worklet_15906509894161_init_data:te,scale:x,translateY:C})),A=(0,p.useAnimatedStyle)((function({_worklet_8885641195800_init_data:e,rotation:t}){const o=()=>({transform:[{rotate:`${t.value}deg`}]});return o.__closure={rotation:t},o.__workletHash=8885641195800,o.__initData=e,o})({_worklet_8885641195800_init_data:oe,rotation:S}));return(0,N.jsx)(X,{onPress:e,onPressIn:w,onPressOut:k,disabled:u,style:[G.fab,h&&G.fabPressed,u&&{opacity:.8},P],accessibilityRole:"button",accessibilityLabel:l,accessibilityHint:c,accessibilityState:{expanded:n,disabled:u},children:(0,N.jsx)(y.LinearGradient,{colors:['#4FA6E0',s.primary,'#166598'],start:{x:0,y:0},end:{x:0,y:1},style:G.fabGradient,children:(0,N.jsx)(f.default.View,{style:A,children:(0,N.jsx)(_.Plus,{size:28,color:s.primaryForeground})})})})}const ae={code:"function _layoutTsx7(){const{pressScale,translateY,opacity}=this.__closure;return{transform:[{scale:pressScale.value},{translateY:translateY.value}],opacity:opacity.value};}"};function ne({action:e,colors:n,isVisible:s,isDark:l,isPrimaryLevel:u=!1,isSecondaryLayout:h=!1,animationGroupKey:f="primary"}){const _=(0,M.useReducedMotion)(),y=(0,p.useSharedValue)(0),v=(0,p.useSharedValue)(12),x=(0,p.useSharedValue)(1);o.default.useEffect(()=>{const e=_?W.motion.reducedOpacity:s?W.motion.sheet:W.motion.stateChange;y.value=(0,p.withTiming)(s?1:0,{duration:e,easing:s?W.easing.emphasized:W.easing.standard}),v.value=(0,p.withTiming)(s||_?0:12,{duration:_?0:e,easing:s?W.easing.emphasized:W.easing.standard})},[f,_,s,y,v]);const S=(0,t.useCallback)(()=>{x.value=(0,p.withTiming)(_?1:.97,{duration:W.motion.press,easing:W.easing.standard})},[_,x]),C=(0,t.useCallback)(()=>{x.value=(0,p.withTiming)(1,{duration:W.motion.press,easing:W.easing.decelerate})},[x]),w=(0,p.useAnimatedStyle)((function({_worklet_2389168759381_init_data:e,pressScale:t,translateY:o,opacity:n}
1){const s=()=>({transform:[{scale:t.value},{translateY:o.value}],opacity:n.value});return s.__closure={pressScale:t,translateY:o,opacity:n},s.__workletHash=2389168759381,s.__initData=e,s})({_worklet_2389168759381_init_data:ae,pressScale:x,translateY:v,opacity:y})),k=e.accentColor||n.primary,P=e.accentTint||n.card;return(0,N.jsxs)(X,{style:[G.fabAction,h?G.fabActionSecondary:u?G.fabActionPrimary:1===e.row?G.fabActionTop:2===e.row?G.fabActionMiddle:G.fabActionBottom,e.priority?G.fabActionPriority:void 0,{backgroundColor:P,shadowColor:k,borderTopColor:e.priority?l?'rgba(255,255,255,0.22)':'rgba(255,255,255,0.65)':l?'rgba(255,255,255,0.1)':'rgba(255,255,255,0.5)',borderLeftColor:e.priority?l?'rgba(255,255,255,0.14)':'rgba(255,255,255,0.44)':l?'rgba(255,255,255,0.05)':'rgba(255,255,255,0.3)',borderBottomColor:e.priority?l?'rgba(0,0,0,0.36)':'rgba(18,96,140,0.35)':l?'rgba(0,0,0,0.3)':'rgba(0,0,0,0.12)',borderRightColor:e.priority?l?'rgba(0,0,0,0.25)':'rgba(18,96,140,0.16)':l?'rgba(0,0,0,0.2)':'rgba(0,0,0,0.05)'},w],onPress:e.onPress,onPressIn:S,onPressOut:C,disabled:!s,accessibilityRole:"button",accessibilityLabel:e.label,accessibilityHint:e.subtitle,accessibilityState:{disabled:!s},accessible:s,importantForAccessibility:s?'auto':'no-hide-descendants',children:[e.priority&&(0,N.jsx)(c.default,{pointerEvents:"none",style:[G.fabActionPriorityBg,{backgroundColor:e.priorityBackgroundColor||(l?'rgba(79,166,224,0.18)':'rgba(79,166,224,0.14)')}]}),(0,N.jsxs)(c.default,{style:G.fabActionIconWrap,children:[e.recommended&&(0,N.jsx)(c.default,{style:[G.fabRecommendedAura,{backgroundColor:k,opacity:.16}]}),(0,N.jsx)(c.default,{style:[G.fabActionIcon,{backgroundColor:k,borderTopColor:l?'rgba(255,255,255,0.15)':'rgba(255,255,255,0.3)',borderLeftColor:l?'rgba(255,255,255,0.1)':'rgba(255,255,255,0.2)',borderBottomColor:l?'rgba(0,0,0,0.3)':'rgba(0,0,0,0.15)'}],children:e.icon})]}),(0,N.jsx)(b.default,{style:[G.fabActionLabel,{color:n.foreground}],children:e.label}),e.subtitle?(0,N.jsx)(b.default,{style:[G.fabActionSubLabel,{color:e.priority?n.foreground:n.mutedForeground||n.foreground,opacity:e.priority?.9:.75}
1],children:e.subtitle}):null,e.badgeLabel?(0,N.jsx)(c.default,{style:[G.fabActionBadge,{backgroundColor:e.badgeColor||n.destructive,borderColor:P}],children:(0,N.jsx)(b.default,{style:[G.fabActionBadgeText,{color:e.badgeTextColor||'#fff'}],children:e.badgeLabel})}):null]})}const re={code:"function _layoutTsx8(){const{opacity}=this.__closure;return{opacity:opacity.value};}"};function se({visible:e,onPress:t,accessibilityLabel:n}){const s=(0,M.useReducedMotion)(),l=(0,p.useSharedValue)(0);o.default.useEffect(()=>{l.value=(0,p.withTiming)(e?1:0,{duration:s?W.motion.reducedOpacity:e?W.motion.sheet:W.motion.stateChange,easing:e?W.easing.emphasized:W.easing.standard})},[s,l,e]);const c=(0,p.useAnimatedStyle)((function({_worklet_16071581965581_init_data:e,opacity:t}){const o=()=>({opacity:t.value});return o.__closure={opacity:t},o.__workletHash=0xe9df4ef1d0d,o.__initData=e,o})({_worklet_16071581965581_init_data:re,opacity:l}));return(0,N.jsx)(X,{pointerEvents:e?'auto':'none',style:[G.backdrop,c],onPress:t,accessibilityRole:"button",accessibilityLabel:n,accessibilityState:{disabled:!e},accessible:e,importantForAccessibility:e?'auto':'no-hide-descendants'})}function le({state:e,descriptors:o,navigation:n,colors:s,fabOpen:l,onFabToggle:h,onFabDismiss:p,fabActions:f,showSecondaryActions:y,setShowSecondaryActions:S,t:C,fabUiText:w,isDark:k,fabTransitioning:P}){const A=(0,v.useSafeAreaInsets)(),[j,T]=(0,t.useState)(0),R=f.some(e=>'secondary'===e.level),I=y&&R,B=I?f.filter(e=>'secondary'===e.level):f.filter(e=>'primary'===e.level),L=[1,2,3].filter(e=>B.some(t=>t.row===e));return(0,N.jsxs)(c.default,{style:[G.tabBar,{backgroundColor:s.card,borderTopWidth:0,shadowOffset:{width:0,height:-4},shadowOpacity:.08,shadowRadius:12,elevation:16,paddingBottom:Math.max(A.bottom+8,12),height:70+Math.max(A.bottom,0)},{alignSelf:'center',maxWidth:960,width:'100%'}],onLayout:e=>T(e.nativeEvent.layout.width),accessibilityRole:"tablist",children:[(0,N.jsx)(c.default,{style:[G.tabBarHighlight,{backgroundColor:k?'rgba(255,255,255,0.1)':'rgba(255,255,255,0.8)'}]}),(0,N.jsx)(ee,{activeIndex:e.index,barWidth:j,color:s.primary+'20'}),(0,N.jsx)(se,{visible:l,onPress:p,accessibilityLabel:C('close')}),(0,N.jsxs)(c.default,{style:[G.fabActionsContainer,{bottom:80}],accessibilityViewIsModal:l,importantForAccessibility:l?'yes':'no-hide-descendants',children:[(0,N.jsx)(c.default,{style:G.fabRowsContainer,children:L.map(e=>{const t=B.filter(t=>t.row===e);return(0,N.jsx)(c.default,{style:G.fabActionRow,children:t.map(t=>(0,N.jsx)(ne,{action:t,colors:s,isVisible:l,isDark:k,isPrimaryLevel:!I,isSecondaryLayout:I,animationGroupKey:I?'secondary':'primary'},`${I?'secondary':'primary'}-${e}-${t.label}`))},e)})}),l&&R&&(0,N.jsx)(c.default,{style:G.fabMoreToggleWrap,children:(0,N.jsxs)(u.default,{onPress:()=>S(e=>!e),accessibilityRole:"button",accessibilityState:{expanded:I},style:[G.fabMoreToggle,{backgroundColor:s.card,borderTopColor:k?'rgba(255,255,255,0.1)':'rgba(255,255,255,0.45)',borderLeftColor:k?'rgba(255,255,255,0.05)':'rgba(255,255,255,0.25)',borderBottomColor:k?'rgba(0,0,0,0.35)':'rgba(0,0,0,0.14)',borderRightColor:k?'rgba(0,0,0,0.2)':'rgba(0,0,0,0.05)'}],children:[(0,N.jsx)(_.MoreHorizontal,{size:16,color:s.primary}),(0,N.jsx)(b.default,{style:[G.fabMoreToggleLabel,{color:s.foreground}],children:I?w.lessOptions:w.moreOptions})]})})]}),e.routes.slice(0,2).map((t,l)=>{const{options:c}=o[t.key],u=c.tabBarLabel??c.title??t.name,b=e.index===l,h={index:10,shopping:11,recipes:12,insights:13}[t.name]||0,p={index:'tab_inventory',shopping:'tab_shopping',recipes:'tab_recipes',insights:'tab_insights'}[t.name]||`tab_${t.name}`,f='index'===t.name?C('tour_tab_inventory_desc'):'shopping'===t.name?C('tour_tab_shopping_desc'):'recipes'===t.name?C('tour_tab_recipes_desc'):'insights'===t.name?C('tour_tab_insights_desc'):u;return(0,N.jsx)(x.CopilotStep,{text:f,order:h,name:p,children:(0,N.jsx)(K,{style:G.tabItem,collapsable:!1,children:(0,N.jsx)(J,{onPress:()=>{const e=n.emit({type:'tabPress',target:t.key,canPreventDefault:!0});e.defaultPrevented||D.default.logEvent(b?'bottom_nav_reselect':'bottom_nav_select',{destination:t.name,destination_index:l}),b||e.defaultPrevented||n.navigate(t.name)},isFocused:b,colors:s,accessibilityLabel:c.tabBarAccessibilityLabel,icon:c.tabBarIcon?.({color:b?s.primary:s.mutedForeground,focused:b}),label:String(u)})})},t.key)}),(0,N.jsx)(c.default,{style:G.fabContainer,children:(0,N.jsx)(x.CopilotStep,{text:C('tour_fab_desc'),order:9,name:"fab",children:(0,N.jsx)(K,{style:G.fabWrapper,collapsable:!1,children:(0,N.jsx)(ie,{onPress:h,isOpen:l,colors:s,disabled:P,accessibilityLabel:C('add_button'),accessibilityHint:C('tour_fab_desc')})})})}),e.routes.slice(2,4).map((t,l)=>{const c=l+2,{options:u}=o[t.key],b=u.tabBarLabel??u.title??t.name,h=e.index===c,p={index:10,shopping:11,recipes:12,insights:13}[t.name]||0,f={index:'tab_inventory',shopping:'tab_shopping',recipes:'tab_recipes',insights:'tab_insights'}[t.name]||`tab_${t.name}`,_='index'===t.name?C('tour_tab_inventory_desc'):'shopping'===t.name?C('tour_tab_shopping_desc'):'recipes'===t.name?C('tour_tab_recipes_desc'):'insights'===t.name?C('tour_tab_insights_desc'):b;return(0,N.jsx)(x.CopilotStep,{text:_,order:p,name:f,children:(0,N.jsx)(K,{style:G.tabItem,collapsable:!1,children:(0,N.jsx)(J,{onPress:()=>{const e=n.emit({type:'tabPress',target:t.key,canPreventDefault:!0});e.defaultPrevented||D.default.logEvent(h?'bottom_nav_reselect':'bottom_nav_select',{destination:t.name,destination_index:c}),h||e.defaultPrevented||n.navigate(t.name)},isFocused:h,colors:s,accessibilityLabel:u.tabBarAccessibilityLabel,icon:u.tabBarIcon?.({color:h?s.primary:s.mutedForeground,focused:h}),label:String(b)})})},t.key)})]})}const ce=o.default.memo(le),de=o.default.memo(({isOnStartHub:e})=>{const s=(0,n.useRouter)(),{openDialog:l}=(0,k.useDialogManager)(),{news:c,readNewsIds:u}=(0,j.useActivityNews)(),{hasUnreadActivities:b,hasUnreadSupport:h}=(0,j.useActivityBadges)(),{fetchNews:p}
1=(0,j.useActivityLogDispatch)(),{requestCount:f,inviteCount:_,shareCount:y}=(0,A.useSocialBadges)(),{currentKitchen:v,incomingShares:x}=(0,C.useKitchen)();o.default.useEffect(()=>{p()},[p]);const S=(0,t.useMemo)(()=>{const e=new Set(u);return c.reduce((t,o)=>t+(e.has(o.id)?0:1),0)},[c,u]),w=(0,t.useMemo)(()=>v?.tasks?.reduce((e,t)=>e+(t.completed?0:1),0)||0,[v?.tasks]),P=(b?1:0)+(h?1:0)+x.length+w,R=f+_+y+x.length,I=(0,t.useCallback)(()=>{l('KITCHEN_SELECTOR')},[l]),B=(0,t.useCallback)(()=>{l('QUICK_SEARCH')},[l]),L=(0,t.useCallback)(()=>{s.push('/inbox')},[s]),F=(0,t.useCallback)(()=>{s.navigate('/(tabs)/settings')},[s]),E=(0,t.useCallback)(()=>{l('SOCIAL')},[l]),z=(0,t.useCallback)(()=>{D.default.logEvent('home_header_tap',{already_selected:e}),s.navigate('/(tabs)/start-hub')},[e,s]);return(0,N.jsx)(T.KitchenHeader,{onKitchenSelectorPress:I,onSearchPress:B,onGettingStartedPress:z,showGettingStartedBadge:S>0,onNotificationsPress:L,onProfilePress:F,onSocialPress:E,showNotificationBadge:P>0,notificationCount:P,showSocialBadge:R>0,socialNotificationCount:R,isOnStartHub:e})});function ue(){const{theme:e,isDark:l}=(0,S.useTheme)(),{t:c,language:u}=(0,w.useTranslation)(),{colors:b}=e,p=(0,n.useRouter)(),f=(0,n.useSegments)(),{openDialog:y}=(0,k.useDialogManager)(),{openAskChefito:v}=(0,P.useAskChefito)(),[x,C]=(0,t.useState)(!1),[A,j]=(0,t.useState)(!1),[T,M]=(0,t.useState)(!1),V=(0,t.useRef)(!1),K=(0,t.useRef)(null),X=f[f.length-1],$='start-hub'===X,q=(0,t.useCallback)(()=>{if(!V.current){if(x)return C(!1),void M(!1);V.current=!0,j(!0),C(!0),(0,O.safeImpact)('light'),D.default.logEvent('global_add_open',{source_destination:X||'unknown'}),K.current=setTimeout(()=>{V.current=!1,j(!1),K.current=null},W.motion.sheet)}},[X,x]),Q=(0,t.useCallback)(()=>{K.current&&(clearTimeout(K.current),K.current=null),V.current=!1,j(!1),C(!1),M(!1)},[]);o.default.useEffect(()=>()=>{K.current&&clearTimeout(K.current)},[]),o.default.useEffect(()=>{if(!x)return;const e=s.default.addEventListener('hardwareBackPress',()=>(Q(),!0));return()=>e.remove()},[x,Q]),o.default.useEffect(()=>{if(!x)return;const e=e=>{'Escape'===e.key&&Q()};return document.addEventListener('keydown',e),()=>document.removeEventListener('keydown',e)},[x,Q]);const J=(0,t.useMemo)(()=>(0,B.getMobileFabUiText)(u),[u]),Z=(0,Y.getContextualFabDestination)(X),ee=(0,t.useMemo)(()=>{const e={askChefito:{icon:(0,N.jsx)(h.default,{source:L.default,style:G.chefitoAssistantIcon,accessibilityLabel:"Chefito"}),label:c('ask_chefito_title')||'Ask Chefito',subtitle:c('ask_chefito_fab_subtitle'),onPress:()=>{Q();v({screenContext:'shopping'===Z?'shopping':'inventory'===Z?'inventory':'general',entryPoint:'global_action'})},recommended:!0,priority:!0,accentColor:b.primary,accentTint:l?'rgba(31, 142, 214, 0.18)':'#E5F3FC',priorityBackgroundColor:l?'rgba(79,166,224,0.24)':'rgba(79,166,224,0.22)',badgeLabel:c('new_badge'),badgeColor:b.berry,badgeTextColor:'#fff'},addInventoryItem:{icon:(0,N.jsx)(_.Milk,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_add_item_manual')||c('add_item_button'),subtitle:J.addItemSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=inventory&mode=manual')},recommended:!0,priority:!0},bulkAddInventory:{icon:(0,N.jsx)(_.ListPlus,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_bulk_add')||c('shopping_bulk_add_cta'),subtitle:J.bulkAddInventorySubtitle,onPress:()=>{Q(),p.push('/add-item?destination=inventory&mode=bulk')}},scanInventoryItemPhoto:{icon:(0,N.jsx)(_.ScanLine,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_scan_item_photo')||'Scan Item Photo',subtitle:J.scanItemPhotoSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=inventory&mode=scan')}},restoreInventoryItem:{icon:(0,N.jsx)(_.Archive,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_add_from_archive'),subtitle:J.addFromArchiveSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=inventory&mode=archive')}},addShoppingItem:{icon:(0,N.jsx)(_.ShoppingCart,{size:18,color:b.primaryForeground}),label:c('add_to_shopping_list'),subtitle:J.addToShoppingListSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=shopping&mode=manual')},recommended:!0,priority:!0},bulkAddShopping:{icon:(0,N.jsx)(_.ListPlus,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_bulk_add')||c('shopping_bulk_add_cta'),subtitle:J.bulkAddShoppingSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=shopping&mode=bulk')}},scanShoppingItemPhoto:{icon:(0,N.jsx)(_.ScanLine,{size:18,color:b.primaryForeground}
1),label:c('fab_shortcut_scan_item_photo')||'Scan Item Photo',subtitle:J.scanShoppingItemPhotoSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=shopping&mode=scan')}},restoreShoppingItem:{icon:(0,N.jsx)(_.Archive,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_add_from_archive'),subtitle:J.addFromArchiveShoppingSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=shopping&mode=archive')}},scanReceipt:{icon:(0,N.jsx)(_.ReceiptText,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_scan_receipt_items')||c('scan_receipt_title'),subtitle:'shopping'===Z?J.scanReceiptShoppingSubtitle:J.scanReceiptSubtitle,onPress:()=>{Q(),p.push('/add-item?destination=inventory&mode=receipt')},priority:!0},addRecipe:{icon:(0,N.jsx)(_.Pizza,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_add_recipe_manual')||c('add_recipe'),subtitle:J.addRecipeSubtitle,onPress:()=>{Q(),p.push('/add-recipe')},recommended:!0,priority:!0},logNutrition:{icon:(0,N.jsx)(_.Activity,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_log_nutrition_manual')||c('fab_add_nutrition_entry'),subtitle:J.logNutritionSubtitle,onPress:()=>{Q(),p.push('/manual-nutrition-entry')},recommended:!0,priority:!0},scanRecipePhoto:{icon:(0,N.jsx)(_.Camera,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_scan_recipe_photo')||'Scan Recipe Photo',subtitle:J.scanRecipePhotoSubtitle,onPress:()=>{Q(),p.push('/add-recipe?mode=scan-photo')},priority:!0},scanRecipePdf:{icon:(0,N.jsx)(_.FileText,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_scan_recipe_pdf')||'Scan Recipe PDF',subtitle:J.scanRecipePdfSubtitle,onPress:()=>{Q(),p.push('/add-recipe?mode=scan-file')}},createRecipeBook:{icon:(0,N.jsx)(_.BookHeart,{size:18,color:b.primaryForeground}),label:c('fab_shortcut_create_recipe_book')||c('create_recipe_book'),subtitle:J.createRecipeBookSubtitle,onPress:()=>{Q(),y('CREATE_RECIPE_BOOK')}}};return(0,Y.getContextualFabActionPlacements)(Z).map(({id:t,row:o,level:n})=>({...e[t],row:o,level:n}))},[b,Z,J,Q,l,v,y,p,c]),te=(0,t.useCallback)(()=>(0,N.jsx)(de,{isOnStartHub:$}),[$]),oe=(0,t.useCallback)(e=>(0,N.jsx)(ce,{...e,colors:b,fabOpen:x,onFabToggle:q,onFabDismiss:Q,fabActions:ee,showSecondaryActions:T,setShowSecondaryActions:M,t:c,fabUiText:J,isDark:l,fabTransitioning:A}),[b,x,ee,T,c,J,l,A,q,Q]);return(0,N.jsxs)(N.Fragment,{children:[(0,N.jsx)(n.Stack.Screen,{options:{statusBarStyle:$||l?'light':'dark'}}),(0,N.jsx)(I.ChefitoTourProvider,{children:(0,N.jsx)(R.TabAnimationProvider,{children:(0,N.jsxs)(n.Tabs,{initialRouteName:"start-hub",screenOptions:{tabBarActiveTintColor:b.primary,tabBarInactiveTintColor:b.mutedForeground,headerShown:!0,header:te,tabBarStyle:{height:0,elevation:0,borderTopWidth:0,backgroundColor:'transparent',position:'absolute',bottom:0,left:0,right:0}},tabBar:oe,children:[(0,N.jsx)(n.Tabs.Screen,{name:"index",options:{title:c('inventory'),tabBarAccessibilityLabel:c('inventory_tab_accessibility'),tabBarIcon:({focused:e})=>(0,N.jsx)(U,{source:F.default,focused:e})}}),(0,N.jsx)(n.Tabs.Screen,{name:"shopping",options:{title:c('shopping'),tabBarAccessibilityLabel:c('shopping_tab_accessibility'),tabBarIcon:({focused:e})=>(0,N.jsx)(U,{source:E.default,focused:e})}}),(0,N.jsx)(n.Tabs.Screen,{name:"recipes",options:{title:c('recipes'),tabBarAccessibilityLabel:c('recipes_tab_accessibility'),tabBarIcon:({focused:e})=>(0,N.jsx)(U,{source:z.default,focused:e})}}),(0,N.jsx)(n.Tabs.Screen,{name:"insights",options:{title:c('insights'),tabBarAccessibilityLabel:c('insights_tab_accessibility'),tabBarIcon:({focused:e})=>(0,N.jsx)(U,{source:H.default,focused:e})}}),(0,N.jsx)(n.Tabs.Screen,{name:"start-hub",options:{href:null,headerShown:!0,title:c('start_hub_title')}}),(0,N.jsx)(n.Tabs.Screen,{name:"settings",options:{href:null,title:c('settings')}})]})})})]})}de.displayName='ConnectedKitchenHeader'},4496,[39,82,272,101,174,29,299,246,238,3003,5701,3355,5663,5702,781,4696,2481,4469,4757,4978,4911,4980,4983,4984,4989,4493,4990,4991,4992,4993,3338,3339,4698,2805,4994,4995,2]);
2__d(function(g,r,i,a,m,_e,d){"use strict";
2function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"KitchenHeader",{enumerable:!0,get:function(){return M}});var t=r(d[0]),o=e(r(d[1])),n=e(r(d[2])),s=e(r(d[3])),l=e(r(d[4])),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),b=r(d[8]),f=r(d[9]),_=e(f),y=r(d[10]),p=r(d[11]),S=r(d[12]),x=r(d[13]),C=r(d[14]),v=r(d[15]),w=r(d[16]),R=r(d[17]),B=r(d[18]),H=e(r(d[19])),j=r(d[20]),E=r(d[21]),T=r(d[22]),A=r(d[23]),F=r(d[24]);const k=(0,w.walkthroughable)(o.default),P=_.default.createAnimatedComponent(s.default),z={code:"function KitchenHeaderTsx1(){const{scale}=this.__closure;return{transform:[{scale:scale.value}]};}"},O=({onPress:e,children:t,style:o,pressScale:n=.95,accessibilityLabel:s,accessibilityHint:l,accessibilityState:c})=>{const u=(0,j.useReducedMotion)(),h=(0,f.useSharedValue)(1),b=(0,f.useAnimatedStyle)((function({_worklet_15254532402527_init_data:e,scale:t}){const o=()=>({transform:[{scale:t.value}]});return o.__closure={scale:t},o.__workletHash=0xddfb8fc2d5f,o.__initData=e,o})({_worklet_15254532402527_init_data:z,scale:h}));return(0,F.jsx)(P,{onPress:e,onPressIn:()=>{h.value=(0,f.withTiming)(u?1:n,{duration:u?0:E.motion.press,easing:E.easing.standard})},onPressOut:()=>{h.value=(0,f.withTiming)(1,{duration:u?0:E.motion.press,easing:E.easing.decelerate})},activeOpacity:1,style:[b,o],accessibilityRole:"button",accessibilityLabel:s,accessibilityHint:l,accessibilityState:c,children:t})},I=({size:e,color:t})=>(0,F.jsx)(o.default,{pointerEvents:"none",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",style:{position:'absolute',top:-6,right:-6,zIndex:10,transform:[{rotate:'25deg'}]},children:(0,F.jsx)(h.Crown,{size:e,color:t,fill:t})}),D=({count:e,style:t,textStyle:s})=>{const l=e>99?'99+':e.toString();return(0,F.jsx)(o.default,{style:t,pointerEvents:"none",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",children:(0,F.jsx)(n.default,{style:s,children:l})})},W=({style:e})=>(0,F.jsx)(o.default,{style:e,pointerEvents:"none",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants"}),N={code:"function KitchenHeaderTsx2(){const{interpolate,buttonWidth,layout,nudgeScale,nudgeLift}=this.__closure;const width=interpolate(buttonWidth.value,[0,1],[layout.homeCollapsedWidth,layout.homeExpandedWidth]);return{width:width,overflow:'hidden',borderRadius:layout.homeBorderRadius,transform:[{scale:nudgeScale.value},{translateY:nudgeLift.value}]};}"},L=({onPress:e,isNudgeActive:o,showKitchenName:s,kitchenName:l,layout:c,isSelected:u=!1,accessibilityLabel:b,accessibilityHint:p})=>{const{theme:S}=(0,y.useTheme)(),x=(0,j.useReducedMotion)(),C=(0,f.useSharedValue)(s?1:0),v=(0,f.useSharedValue)(1),w=(0,f.useSharedValue)(0),R=(0,t.useRef)(Boolean(o));(0,t.useEffect)(()=>{const e=Boolean(o)&&!R.current;if(R.current=Boolean(o),e){if(x)return v.value=1,void(w.value=0);v.value=1,w.value=0,v.value=(0,f.withSequence)((0,f.withTiming)(.99,{duration:E.motion.stateChange,easing:E.easing.standard}),(0,f.withTiming)(1,{duration:E.motion.stateChange,easing:E.easing.decelerate})),w.value=(0,f.withSequence)((0,f.withTiming)(-1,{duration:E.motion.stateChange,easing:E.easing.standard}),(0,f.withTiming)(0,{duration:E.motion.stateChange,easing:E.easing.decelerate}))}},[o,x,w,v]),(0,t.useEffect)(()=>{C.value=(0,f.withTiming)(s?1:0,{duration:x?0:E.motion.navigation,easing:E.easing.decelerate})},[C,x,s]);const B=(0,f.useAnimatedStyle)((function({_worklet_11099655979231_init_data:e,interpolate:t,buttonWidth:o,layout:n,nudgeScale:s,nudgeLift:l}){const c=function(){return{width:t(o.value,[0,1],[n.homeCollapsedWidth,n.homeExpandedWidth]),overflow:'hidden',borderRadius:n.homeBorderRadius,transform:[{scale:s.value},{translateY:l.value}]}};return c.__closure={interpolate:t,buttonWidth:o,layout:n,nudgeScale:s,nudgeLift:l},c.__workletHash=0xa18570d40df,c.__initData=e,c})({_worklet_11099655979231_init_data:N,interpolate:f.interpolate,buttonWidth:C,layout:c,nudgeScale:v,nudgeLift:w})),H={borderWidth:u?3:2,borderTopColor:u?'#FFFFFF':'#4FA6E0',borderLeftColor:u?A.START_HUB_HOME_BORDER:'#3A9AD8',borderRightColor:u?A.START_HUB_HOME_BORDER:'#3A9AD8',borderBottomWidth:u?5:4,borderBottomColor:u?A.START_HUB_HOME_DEPTH:'#166598',...S.shadows.lg,shadowColor:u?'#06243A':S.isDark?'#000000':S.colors.primary,shadowOpacity:u?.2:S.isDark?.3:.2},T=u?A.START_HUB_HOME_SURFACE:S.colors.primary,k=u?A.START_HUB_HEADER_ICON:'#FFFFFF';return s&&l?(0,F.jsx)(_.default.View,{style:B,children:(0,F.jsxs)(O,{onPress:e,pressScale:.955,accessibilityLabel:b,accessibilityHint:p,accessibilityState:{selected:u},style:{backgroundColor:T,paddingVertical:c.homeVerticalPadding,paddingHorizontal:c.homeHorizontalPadding,borderRadius:c.homeBorderRadius,...H,flexDirection:'row',alignItems:'center',gap:c.homeContentGap},children:[(0,F.jsx)(h.House,{size:c.homeIconSize,color:k}),(0,F.jsx)(n.default,{style:{color:k,fontSize:c.homeFontSize,fontFamily:'Nunito_700Bold',maxWidth:c.homeTextMaxWidth},numberOfLines:1,children:l})]})}):(0,F.jsx)(_.default.View,{style:B,children:(0,F.jsx)(O,{onPress:e,pressScale:.955,accessibilityLabel:b,accessibilityHint:p,accessibilityState:{selected:u},style:{backgroundColor:T,padding:c.homeIconOnlyPadding,borderRadius:c.homeBorderRadius,...H},children:(0,F.jsx)(h.House,{size:c.homeIconSize+4,color:k})})})},U={code:"function KitchenHeaderTsx3(){const{avatarScale}=this.__closure;return{transform:[{scale:avatarScale.value}]};}"},M=({onSearchPress:e,onKitchenSelectorPress:n,onGettingStartedPress:P,onNotificationsPress:z,onProfilePress:N,onSocialPress:M,showNotificationBadge:V=!1,notificationCount:K=0,showSocialBadge:G=!1,socialNotificationCount:$=0,showGettingStartedBadge:q=!1,isOnStartHub:Y=!1})=>{const{theme:X}=(0,y.useTheme)(),{t:J}=(0,p.useTranslation)(),{currentKitchen:Q}=(0,S.useKitchen)(),{user:Z,userProfile:ee}=(0,x.useAuth)(),{isPro:te,isLegacyUser:oe}=(0,C.useSubscription)(),ie=(0,v.useSafeAreaInsets)(),re=(0,j.useReducedMotion)(),ae=te||oe,ne=(ee?.foodPreferenceExperienceVersion||0)<B.FOOD_PREFERENCE_EXPERIENCE_VERSION,se=(0,B.hasFoodPreferences)(ee?.foodPreferences),{width:le}=(0,u.default)(),de=(0,t.useMemo)(()=>(0,R.getMobileKitchenHeaderLayout)(le,Y),[Y,le]),ce=Y?A.START_HUB_HEADER_ICON:X.colors.text,ue=(0,f.useSharedValue)(1),he
2=(0,f.useAnimatedStyle)((function({_worklet_2507816753917_init_data:e,avatarScale:t}){const o=()=>({transform:[{scale:t.value}]});return o.__closure={avatarScale:t},o.__workletHash=2507816753917,o.__initData=e,o})({_worklet_2507816753917_init_data:U,avatarScale:ue})),ge=(0,t.useMemo)(()=>l.default.create({container:{backgroundColor:Y?'transparent':X.colors.background,borderBottomWidth:2,borderBottomColor:Y?'rgba(255,255,255,0.16)':X.colors.border,paddingTop:ie.top>0?ie.top+('regular'===de.density?8:4):45,paddingBottom:de.containerPaddingBottom,paddingHorizontal:de.containerPaddingHorizontal},row:{flexDirection:'row',alignItems:'center',justifyContent:'space-between'},leftSection:{flex:1,minWidth:0,flexDirection:'row',alignItems:'center',gap:de.sectionGap},kitchenSelector:{flexDirection:'row',alignItems:'center',gap:4,paddingVertical:8,paddingHorizontal:12,borderRadius:16,borderWidth:2,borderBottomWidth:4,borderColor:'rgba(0,0,0,0.08)',borderBottomColor:'rgba(0,0,0,0.15)',borderTopColor:'rgba(255,255,255,0.3)',backgroundColor:X.colors.muted+'40',shadowOffset:{width:0,height:3},shadowOpacity:.08,shadowRadius:6,elevation:3},kitchenSelectorContent:{flexDirection:'row',alignItems:'center',gap:4},kitchenName:{fontSize:de.kitchenNameFontSize,fontWeight:'700',fontFamily:'Nunito_700Bold',color:X.colors.text,maxWidth:de.kitchenNameMaxWidth},rightSection:{flexDirection:'row',alignItems:'center',gap:de.rightSectionGap,flexShrink:0},iconButton:{padding:de.iconButtonPadding,borderRadius:14,borderWidth:2,borderBottomWidth:3,borderColor:Y?'rgba(255,255,255,0.74)':'rgba(0,0,0,0.08)',borderBottomColor:Y?'rgba(8,55,87,0.28)':'rgba(0,0,0,0.15)',borderTopColor:Y?'#FFFFFF':'rgba(255,255,255,0.3)',backgroundColor:Y?A.START_HUB_HEADER_CONTROL_SURFACE:X.colors.muted+'20',position:'relative'},actionGroupPill:{flexDirection:'row',alignItems:'center',backgroundColor:Y?A.START_HUB_HEADER_CONTROL_SURFACE:X.colors.muted+'30',borderRadius:16,borderWidth:2,borderBottomWidth:4,borderColor:Y?'rgba(255,255,255,0.74)':'rgba(0,0,0,0.08)',borderBottomColor:Y?'rgba(8,55,87,0.28)':'rgba(0,0,0,0.15)',borderTopColor:Y?'#FFFFFF':'rgba(255,255,255,0.3)',shadowOffset:{width:0,height:3},shadowOpacity:.08,shadowRadius:6,elevation:3},groupedIconButton:{padding:de.groupedIconButtonPadding,paddingHorizontal:de.groupedIconButtonHorizontalPadding,position:'relative'},divider:{width:1.5,height:'45%',backgroundColor:Y?A.START_HUB_HEADER_ICON:X.colors.border,opacity:.4},iconButtonContent:{alignItems:'center',justifyContent:'center'},notificationBadge:{position:'absolute',top:-6,right:-6,minWidth:18,height:18,borderRadius:9,backgroundColor:X.colors.destructive,alignItems:'center',justifyContent:'center',paddingHorizontal:4,borderWidth:2,borderColor:Y?A.START_HUB_HEADER_CONTROL_SURFACE:X.colors.background,zIndex:10},notificationBadgeDot:{position:'absolute',top:-2,right:-2,width:12,height:12,borderRadius:6,backgroundColor:X.colors.destructive,borderWidth:2,borderColor:Y?A.START_HUB_HEADER_CONTROL_SURFACE:X.colors.background,zIndex:10},notificationCount:{color:'#fff',fontSize:6.5,fontFamily:'Nunito_700Bold'},avatar:{width:de.avatarSize,height:de.avatarSize,borderRadius:de.avatarSize/2,backgroundColor:X.colors.primary,alignItems:'center',justifyContent:'center',borderWidth:de.avatarBorderWidth,borderColor:'#ffffff',shadowOffset:{width:0,height:3},shadowOpacity:.15,shadowRadius:6,elevation:4,position:'relative'},preferenceReviewBadge:{position:'absolute',bottom:-3,left:-3,width:13,height:13,borderRadius:7,backgroundColor:'#F59E0B',borderWidth:2,borderColor:Y?A.START_HUB_HEADER_CONTROL_SURFACE:X.colors.background,zIndex:12},avatarImage:{width:de.avatarInnerSize,height:de.avatarInnerSize,borderRadius:de.avatarInnerSize/2},avatarContent:{width:'100%',height:'100%',alignItems:'center',justifyContent:'center'},avatarText:{color:'#fff',fontSize:14,fontFamily:'Nunito_700Bold'}}),[de,ie.top,Y,X.colors]);return(0,F.jsx)(T.LinearGradient,{colors:Y?(0,A.getStartHubGradient)(X.isDark):[X.colors.background,X.colors.background,X.colors.background],locations:[0,.58,1],start:{x:0,y:.5},end:{x:1,y:.5},style:ge.container,children:(0,F.jsxs)(o.default,{style:ge.row,children:[(0,F.jsx)(o.default,{style:ge.leftSection,children:(0,F.jsx)(w.CopilotStep,{text:J('tour_start_hub_desc')||"Go to the Start Hub",order:4,name:"home",children:(0,F.jsx)(k,{collapsable:!1,children:(0,F.jsx)(L,{onPress:P,isNudgeActive:q,showKitchenName:de.showKitchenName,kitchenName:Q?.name||J('my_kitchen'),layout:de,isSelected:Y,accessibilityLabel:J('start_hub_title'),accessibilityHint:J('tour_start_hub_desc')})})})}),(0,F.jsxs)(o.default,{style:ge.rightSection,children:[(0,F.jsx)(w.CopilotStep,{text:J('tour_search_desc'),order:5,name:"search",children:(0,F.jsx)(k,{collapsable:!1,children:(0,F.jsx)(O,{onPress:e,style:ge.iconButton,accessibilityLabel:J('quick_search'),accessibilityHint:J('tour_search_desc'),
2children:(0,F.jsx)(o.default,{style:ge.iconButtonContent,children:(0,F.jsx)(h.Search,{size:de.iconSize,color:ce})})})})}),(0,F.jsxs)(o.default,{style:[ge.actionGroupPill,{shadowColor:Y?'#06243A':X.colors.primary}],children:[(0,F.jsx)(w.CopilotStep,{text:J('tour_social_desc'),order:6,name:"social",active:!!M,children:(0,F.jsx)(k,{collapsable:!1,style:M?{}:{width:0,height:0,overflow:'hidden'},children:M&&(0,F.jsx)(O,{onPress:M,style:ge.groupedIconButton,accessibilityLabel:$>0?`${J('social_activity')}, ${$}`:J('social_activity'),accessibilityHint:J('tour_social_desc'),children:(0,F.jsxs)(o.default,{style:ge.iconButtonContent,children:[(0,F.jsx)(h.Users,{size:de.iconSize,color:ce}),G&&$>0?(0,F.jsx)(D,{count:$,style:ge.notificationBadge,textStyle:ge.notificationCount}):G?(0,F.jsx)(W,{style:ge.notificationBadgeDot}):null]})})})}),(0,F.jsx)(o.default,{style:ge.divider}),(0,F.jsx)(w.CopilotStep,{text:J('tour_inbox_desc'),order:7,name:"inbox",children:(0,F.jsx)(k,{collapsable:!1,children:(0,F.jsx)(O,{onPress:z,style:ge.groupedIconButton,accessibilityLabel:K>0?`${J('activity')}, ${K}`:J('activity'),accessibilityHint:J('tour_inbox_desc'),children:(0,F.jsxs)(o.default,{style:ge.iconButtonContent,children:[(0,F.jsx)(h.Bell,{size:de.iconSize,color:ce}),V&&K>0?(0,F.jsx)(D,{count:K,style:ge.notificationBadge,textStyle:ge.notificationCount}):V?(0,F.jsx)(W,{style:ge.notificationBadgeDot}):null]})})})})]}),(0,F.jsx)(w.CopilotStep,{text:J('tour_settings_desc'),order:8,name:"settings",children:(0,F.jsx)(k,{collapsable:!1,children:(0,F.jsxs)(_.default.View,{style:[ge.avatar,he,ae&&{borderWidth:3,borderColor:'#DAA520'}],children:[(0,F.jsx)(s.default,{onPress:N,onPressIn:()=>{ue.value=(0,f.withTiming)(re?1:.96,{duration:re?0:E.motion.press,easing:E.easing.standard})},onPressOut:()=>{ue.value=(0,f.withTiming)(1,{duration:re?0:E.motion.press,easing:E.easing.decelerate})},activeOpacity:1,style:ge.avatarContent,accessibilityRole:"button",accessibilityLabel:J('settings'),accessibilityHint:ne?J(se?'food_preferences_review_accessibility':'food_preferences_setup_accessibility'):void 0,children:ee?.photoURL?(0,F.jsx)(b.OptimizedImage,{source:{uri:ee.photoURL},style:ge.avatarImage,type:"thumbnail",resizeMode:"cover"}):(0,F.jsx)(o.default,{style:{overflow:'hidden',borderRadius:16,width:32,height:32},children:(0,F.jsx)(c.default,{source:H.default,style:ge.avatarImage,resizeMode:"cover",alt:""})})}),ne&&(0,F.jsx)(o.default,{style:ge.preferenceReviewBadge,pointerEvents:"none",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants"}),ae&&(0,F.jsx)(I,{size:'regular'===de.density?14:12,color:"#DAA520"})]})})})]})]})})}},4980,[39,174,246,286,101,238,324,5701,3000,3003,781,2481,4696,2645,4468,5663,5702,4981,2991,4493,3338,3339,3355,4982,2]);
3__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getMobileKitchenHeaderLayout",{enumerable:!0,get:function(){return h}});const o={containerPaddingHorizontal:16,containerPaddingBottom:12,sectionGap:12,rightSectionGap:10,kitchenNameFontSize:16,kitchenNameMaxWidth:160,iconSize:20,iconButtonPadding:10,groupedIconButtonPadding:9,groupedIconButtonHorizontalPadding:11,avatarSize:38,avatarInnerSize:32,avatarBorderWidth:3,homeCollapsedWidth:44,homeExpandedWidth:150,homeHorizontalPadding:14,homeVerticalPadding:10,homeIconOnlyPadding:10,homeBorderRadius:16,homeIconSize:16,homeFontSize:12,homeTextMaxWidth:100,homeContentGap:8},n={containerPaddingHorizontal:12,containerPaddingBottom:10,sectionGap:8,rightSectionGap:8,kitchenNameFontSize:14,kitchenNameMaxWidth:108,iconSize:18,iconButtonPadding:8,groupedIconButtonPadding:7,groupedIconButtonHorizontalPadding:8,avatarSize:34,avatarInnerSize:28,avatarBorderWidth:2,homeCollapsedWidth:44,homeExpandedWidth:126,homeHorizontalPadding:10,homeVerticalPadding:8,homeIconOnlyPadding:9,homeBorderRadius:15,homeIconSize:15,homeFontSize:11,homeTextMaxWidth:78,homeContentGap:6},t={containerPaddingHorizontal:10,containerPaddingBottom:8,sectionGap:6,rightSectionGap:6,kitchenNameFontSize:13,kitchenNameMaxWidth:0,iconSize:17,iconButtonPadding:7,groupedIconButtonPadding:6,groupedIconButtonHorizontalPadding:7,avatarSize:32,avatarInnerSize:26,avatarBorderWidth:2,homeCollapsedWidth:44,homeExpandedWidth:44,homeHorizontalPadding:8,homeVerticalPadding:8,homeIconOnlyPadding:9,homeBorderRadius:15,homeIconSize:15,homeFontSize:11,homeTextMaxWidth:0,homeContentGap:0},h=(h,c)=>{const u=h<360?'icon':h<430?'compact':'regular';return{density:u,showKitchenName:!c&&'icon'!==u,...'regular'===u?o:'compact'===u?n:t}}},4981,[]);
4__d(function(g,r,i,a,m,e,d){"use strict";
4Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getMobileFabUiText",{enumerable:!0,get:function(){return o}});var t=r(d[0]);const _=(_,o)=>t.translations[_][o]??t.translations.en[o]??o,o=t=>({moreOptions:_(t,'fab_more_options'),lessOptions:_(t,'fab_less_options'),addItemSubtitle:_(t,'fab_shortcut_add_item_manual_subtitle'),addToShoppingListSubtitle:_(t,'fab_shortcut_add_to_shopping_list_subtitle'),addRecipeSubtitle:_(t,'fab_shortcut_add_recipe_manual_subtitle'),scanReceiptSubtitle:_(t,'fab_shortcut_scan_receipt_items_subtitle'),scanItemPhotoSubtitle:_(t,'fab_shortcut_scan_item_photo_subtitle'),logNutritionSubtitle:_(t,'fab_shortcut_log_nutrition_manual_subtitle'),scanRecipePhotoSubtitle:_(t,'fab_shortcut_scan_recipe_photo_subtitle'),scanRecipePdfSubtitle:_(t,'fab_shortcut_scan_recipe_pdf_subtitle'),createRecipeBookSubtitle:_(t,'fab_shortcut_create_recipe_book_subtitle'),bulkAddSubtitle:_(t,'fab_shortcut_bulk_add_subtitle'),bulkAddInventorySubtitle:_(t,'fab_shortcut_bulk_add_inventory_subtitle'),bulkAddShoppingSubtitle:_(t,'fab_shortcut_bulk_add_shopping_subtitle'),addFromArchiveSubtitle:_(t,'fab_shortcut_add_from_archive_subtitle'),addFromArchiveShoppingSubtitle:_(t,'fab_shortcut_add_from_archive_shopping_subtitle'),scanShoppingItemPhotoSubtitle:_(t,'fab_shortcut_scan_shopping_item_photo_subtitle'),scanReceiptShoppingSubtitle:_(t,'fab_shortcut_scan_receipt_shopping_subtitle')})},4989,[2486]);
5__d(function(g,r,i,a,m,e,d){m.exports={uri:"/app/assets/assets/images/icons/tab_inventory.c35f92bf6165a435f301f41f6f4c6380.webp",width:1254,height:1254,toString(){return this.uri}}},4990,[]);
6__d(function(g,r,i,a,m,e,d){m.exports={uri:"/app/assets/assets/images/icons/tab_shopping.6fad69841b2aeda033e342a41ae1bec4.webp",width:1254,height:1254,toString(){return this.uri}}},4991,[]);
7__d(function(g,r,i,a,m,e,d){m.exports={uri:"/app/assets/assets/images/icons/tab_recipes.6e519991c8ec3cc2a66e086c286ae879.webp",width:1254,height:1254,toString(){return this.uri}}},4992,[]);
8__d(function(g,r,i,a,m,e,d){m.exports={uri:"/app/assets/assets/images/icons/tab_insights.851527d7e755b904e42bcca74aa34636.webp",width:1254,height:1254,toString(){return this.uri}}},4993,[]);
9__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"BOTTOM_NAV_DESTINATION_COUNT",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"BOTTOM_NAV_FAB_SLOT_WIDTH",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"BOTTOM_NAV_INDICATOR_INSET",{enumerable:!0,get:function(){return o}}),e.getBottomNavigationIndicatorLayout=function(u,c){const O=Math.max(0,u-n)/t;if(!(Number.isInteger(c)&&c>=0&&c<t)||O<=0)return{isVisible:!1,width:0,translateX:0};const _=c>=2?n:0;return{isVisible:!0,width:Math.max(0,O-4),translateX:c*O+_+o}};const t=4,n=70,o=2},4994,[]);
10__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getContextualFabDestination",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"getContextualFabActionPlacements",{enumerable:!0,get:function(){return l}});const o={inventory:[{id:'askChefito',row:1,level:'primary'},{id:'addInventoryItem',row:1,level:'primary'},{id:'scanInventoryItemPhoto',row:2,level:'primary'},{id:'scanReceipt',row:2,level:'primary'},{id:'bulkAddInventory',row:1,level:'secondary'},{id:'restoreInventoryItem',row:1,level:'secondary'}],shopping:[{id:'askChefito',row:1,level:'primary'},{id:'addShoppingItem',row:1,level:'primary'},{id:'bulkAddShopping',row:2,level:'primary'},{id:'scanReceipt',row:2,level:'primary'},{id:'scanShoppingItemPhoto',row:1,level:'secondary'},{id:'restoreShoppingItem',row:1,level:'secondary'}],recipes:[{id:'askChefito',row:1,level:'primary'},{id:'addRecipe',row:1,level:'primary'},{id:'scanRecipePhoto',row:2,level:'primary'},{id:'scanRecipePdf',row:2,level:'primary'},{id:'createRecipeBook',row:1,level:'secondary'}],insights:[{id:'askChefito',row:1,level:'primary'},{id:'logNutrition',row:1,level:'primary'}],'start-hub':[{id:'askChefito',row:1,level:'primary'},{id:'addInventoryItem',row:1,level:'primary'},{id:'addShoppingItem',row:2,level:'primary'},{id:'addRecipe',row:2,level:'primary'}],settings:[{id:'askChefito',row:1,level:'primary'}]},t=o=>{switch(o){case'shopping':case'recipes':case'insights':case'start-hub':case'settings':return o;default:return'inventory'}},l=l=>o[t(l)]},4995,[]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.