WearablesStandardPageLayoutSidebarFooter.react",["fbt","ix","CometRelay","GeoBaseSidebarFooter.react","GeoButton.react","GeoDivider.react","GeoFlexbox.react","Recoil","WearablesSidebarContext","WearablesStandardPageLayoutSidebarFooterQuery.graphql","WearablesStore","fbicon","geoMargin","gkx","goForceFullPageRedirectTo","react","react-compiler-runtime","requireDeferred","useGeoConfirmationModal","useGeoDeferredModal","useWearablesErrorToast"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));e=k;var m=e.useContext,n=e.useEffect,o=c("requireDeferred")("WearablesFeedbackModalComet.react").__setRef("WearablesStandardPageLayoutSidebarFooter.react");function p(a){var e,f=d("react-compiler-runtime").c(36),g=a.footerQueryRef;a=a.isCollapsed;g=d("CometRelay").usePreloadedQuery(j!==void 0?j:j=b("WearablesStandardPageLayoutSidebarFooterQuery.graphql"),g);var k=c("useGeoConfirmationModal")(),m=(e=g.viewer)==null||(e=e.dev_profile)==null?void 0:e.logout_uri;f[0]===Symbol["for"]("react.memo_cache_sentinel")?(e=h._(/*BTDS*/"Failed to logout"),f[0]=e):e=f[0];var o=c("useWearablesErrorToast")(e);e=a?"column":"row";var p=d("Recoil").useRecoilState(d("WearablesStore").ShowEmployeeOnlyFeaturesAtom),r=p[0],s=p[1];f[1]!==r?(p=r?d("fbicon")._(i("681064"),16):d("fbicon")._(i("681066"),16),f[1]=r,f[2]=p):p=f[2];var t;f[3]!==r?(t=r?h._(/*BTDS*/"Label for button on Wearables Sidebar to toggle internal/external view"):h._(/*BTDS*/"Label for button on Wearables Sidebar to toggle internal/external view"),f[3]=r,f[4]=t):t=f[4];var u;f[5]!==s||f[6]!==r?(u=function(){return s(!r)},f[5]=s,f[6]=r,f[7]=u):u=f[7];var v;f[8]!==r?(v=r?h._(/*BTDS*/"You are now in Meta-Only mode, toggle this button to switch to Prod mode"):h._(/*BTDS*/"You are now in Prod mode, toggle this button to switch to Meta-Only mode"),f[8]=r,f[9]=v):v=f[9];var w;f[10]!==p||f[11]!==t||f[12]!==u||f[13]!==v?(w=[{dataTestId:"sidebar-footer-internal-view-button",icon:p,label:t,onClick:u,tooltip:v}],f[10]=p,f[11]=t,f[12]=u,f[13]=v,f[14]=w):w=f[14];p=w;var x=c("gkx")("17072"),y=((t=g.viewer)==null?void 0:t.is_employee)===!0;f[15]!==s||f[16]!==y?(u=function(){y&&s(x)},v=[y,s,x],f[15]=s,f[16]=y,f[17]=u,f[18]=v):(u=f[17],v=f[18]);n(u,v);f[19]!==p||f[20]!==y?(w=y?p.map(q):null,f[19]=p,f[20]=y,f[21]=w):w=f[21];g=w;f[22]===Symbol["for"]("react.memo_cache_sentinel")?(t=d("fbicon")._(i("951890"),16),f[22]=t):t=f[22];f[23]===Symbol["for"]("react.memo_cache_sentinel")?(u=h._(/*BTDS*/"Logout"),f[23]=u):u=f[23];f[24]!==m||f[25]!==o||f[26]!==k?(v=function(){return k({body:h._(/*BTDS*/"Are you sure you want to logout from Wearables Developer Center?"),confirm:h._(/*BTDS*/"Logout"),onConfirm:function(){m!=null?c("goForceFullPageRedirectTo")(m):o()},title:h._(/*BTDS*/"Logout")})},f[24]=m,f[25]=o,f[26]=k,f[27]=v):v=f[27];f[28]===Symbol["for"]("react.memo_cache_sentinel")?(p=h._(/*BTDS*/"Logout"),f[28]=p):p=f[28];f[29]!==v?(w=l.jsx(c("GeoButton.react"),{icon:t,isLabelHidden:!0,label:u,onClick:v,tooltip:p,variant:"flat"}),f[29]=v,f[30]=w):w=f[30];t=w;u=a&&c("geoMargin").bottom8;f[31]!==e||f[32]!==g||f[33]!==t||f[34]!==u?(p=l.jsxs(c("GeoFlexbox.react"),{direction:e,xstyle:u,children:[g,t]}),f[31]=e,f[32]=g,f[33]=t,f[34]=u,f[35]=p):p=f[35];return p}function q(a,b){var c=a.dataTestId,d=a.href,e=a.icon,f=a.label,g=a.onClick;a=a.tooltip;return l.jsx(s,{dataTestId:c,href:d,icon:e,label:f,onClick:g,tooltip:a},b)}q.displayName=q.name+" [from "+f.id+"]";function a(a){var b=d("react-compiler-runtime").c(25),e=a.isCollapsed;a=a.onToggle;var f=m(c("WearablesSidebarContext"));f=f.footerQueryRef;var g=e?"column":"row",j=c("useGeoDeferredModal")(o),k,n;b[0]===Symbol["for"]("react.memo_cache_sentinel")?(k=d("fbicon")._(i("530511"),16),n=h._(/*BTDS*/"Label for button on Wearbales Sidebar linking to bug nub"),b[0]=k,b[1]=n):(k=b[0],n=b[1]);b[2]!==j?(k=[{dataTestId:"sidebar-footer-bug-nub-button",icon:k,label:n,onClick:function(){return j({})}}],b[2]=j,b[3]=k):k=b[3];n=k;b[4]===Symbol["for"]("react.memo_cache_sentinel")?(k=l.jsx(c("GeoDivider.react"),{xstyle:c("geoMargin").all0}),b[4]=k):k=b[4];var q=e&&c("geoMargin").bottom8,t;b[5]!==n?(t=n.map(r),b[5]=n,b[6]=t):t=b[6];b[7]!==f||b[8]!==e?(n=f&&l.jsx(p,{footerQueryRef:f,isCollapsed:e}),b[7]=f,b[8]=e,b[9]=n):n=b[9];b[10]!==g||b[11]!==q||b[12]!==t||b[13]!==n?(f=l.jsxs(c("GeoFlexbox.react"),{direction:g,xstyle:q,children:[t,n]}),b[10]=g,b[11]=q,b[12]=t,b[13]=n,b[14]=f):f=b[14];b[15]!==e?(q=e?d("fbicon")._(i("558459"),16):d("fbicon")._(i("558445"),16),b[15]=e,b[16]=q):q=b[16];b[17]===Symbol["for"]("react.memo_cache_sentinel")?(t=h._(/*BTDS*/"Label for button on Wearbales Sidebar linking to settings"),b[17]=t):t=b[17];b[18]!==a||b[19]!==q?(n=l.jsx(c("GeoFlexbox.react"),{children:l.jsx(s,{icon:q,label:t,onClick:a})}),b[18]=a,b[19]=q,b[20]=n):n=b[20];b[21]!==g||b[22]!==n||b[23]!==f?(e=l.jsxs(c("GeoBaseSidebarFooter.react"),{children:[k,l.jsxs(c("GeoFlexbox.react"),{direction:g,justifyContent:"space-between",xstyle:c("geoMargin").top8,children:[f,n]})]}),b[21]=g,b[22]=n,b[23]=f,b[24]=e):e=b[24];return e}function r(a,b){var c=a.dataTestId,d=a.href,e=a.icon,f=a.label,g=a.onClick;a=a.tooltip;return l.jsx(s,{dataTestId:c,href:d,icon:e,label:f,onClick:g,tooltip:a},b)}r.displayName=r.name+" [from "+f.id+"]";function s(a){var b=d("react-compiler-runtime").c(7),e=a.dataTestId,f=a.href,g=a.icon,h=a.label,i=a.onClick;a=a.tooltip;var j;b[0]!==e||b[1]!==f||b[2]!==g||b[3]!==h||b[4]!==i||b[5]!==a?(j=l.jsx(c("GeoButton.react"),{"data-testid":void 0,href:f,icon:g,isLabelHidden:!0,label:h,onClick:i,tooltip:a,variant:"flat"}),b[0]=e,b[1]=f,b[2]=g,b[3]=h,b[4]=i,b[5]=a,b[6]=j):j=b[6];return j}g["default"]=a}),226);
-----
WearablesStandardPageLayoutSidebarFooterQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"is_employee",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"logout_uri",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"WearablesStandardPageLayoutSidebarFooterQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XARDevProfile",kind:"LinkedField",name:"dev_profile",plural:!1,selections:[b],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"WearablesStandardPageLayoutSidebarFooterQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XARDevProfile",kind:"LinkedField",name:"dev_profile",plural:!1,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"24178140201857944",metadata:{},name:"WearablesStandardPageLayoutSidebarFooterQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
-----
WearablesStandardPageLayoutSidebarFooterQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"is_employee",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"logout_uri",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"WearablesStandardPageLayoutSidebarFooterQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XARDevProfile",kind:"LinkedField",name:"dev_profile",plural:!1,selections:[b],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"WearablesStandardPageLayoutSidebarFooterQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XARDevProfile",kind:"LinkedField",name:"dev_profile",plural:!1,selections:[b,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"24178140201857944",metadata:{},name:"WearablesStandardPageLayoutSidebarFooterQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----