RoboticsArdioGen2HelpModal.react",["ix","CurrentUser","GeoFlexbox.react","Image.react","Pressable.react","RoboticsArdioGen2HelpModalOncallQuery.graphql","RoboticsArdioGen2HelpModalUserQuery.graphql","RoboticsDesignSystemText.react","qrcode-react","react","useCountdownSeconds","useRoboticsLazyLoadQuery"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||d("react"),m=60,n=c("CurrentUser").getID(),o="https://fburl.com/robotics-landing",p=i!==void 0?i:i=b("RoboticsArdioGen2HelpModalOncallQuery.graphql"),q=j!==void 0?j:j=b("RoboticsArdioGen2HelpModalUserQuery.graphql");function a(a){var b,d,e=a.setIsShowHelpModal;c("useCountdownSeconds")(function(){e(!1)},m);a=c("useRoboticsLazyLoadQuery")(p,{},{fetchPolicy:"network-only"});a=a[0].oncalls;a=a?a[0]:null;b=c("useRoboticsLazyLoadQuery")(q,{userID:(b=a==null?void 0:a.employeeID)!=null?b:""},{fetchPolicy:"network-only"});b=b[0].user;b=(b=b==null||(d=b.profile_picture)==null?void 0:d.uri)!=null?b:null;var f=c("useRoboticsLazyLoadQuery")(q,{userID:n!=null?n:""},{fetchPolicy:"network-only"});f=f[0].user;return l.jsx(c("GeoFlexbox.react"),{xstyle:r.root,justifyContent:"center",children:l.jsxs(c("GeoFlexbox.react"),{xstyle:r.modal,alignItems:"center",direction:"column",justifyContent:"space-between",children:[l.jsxs(c("GeoFlexbox.react"),{xstyle:r.header,rowGap:8,justifyContent:"space-between",direction:"column",children:[l.jsxs(c("GeoFlexbox.react"),{xstyle:r.header,justifyContent:"space-between",children:[l.jsx(c("RoboticsDesignSystemText.react"),{weight:"emphasized",children:"Robot Help"}),l.jsx(c("GeoFlexbox.react"),{xstyle:r.closeButton,alignItems:"center",justifyContent:"center",children:l.jsx(c("Pressable.react"),{xstyle:r.pressable,accessibilityRole:"button",onPress:function(){e(!1)},children:l.jsx(c("GeoFlexbox.react"),{xstyle:r.crossIcon,justifyContent:"center",alignItems:"center",children:l.jsx(c("Image.react"),{src:h("1270829")})})})})]}),l.jsx(c("GeoFlexbox.react"),{children:l.jsx(c("RoboticsDesignSystemText.react"),{color:"gray",size:"extra_small",weight:"normal",children:(f==null?void 0:f.name)!=null?"You are currently viewing unit "+(f==null?void 0:f.name.toUpperCase()):""})})]}),l.jsxs(c("GeoFlexbox.react"),{xstyle:[r.body,r.columnGap24],grow:1,justifyContent:"center",alignItems:"center",children:[l.jsxs(c("GeoFlexbox.react"),{xstyle:r.card,direction:"column",rowGap:a==null?0:32,justifyContent:"center",alignItems:"center",children:[l.jsx(c("RoboticsDesignSystemText.react"),{size:"small",textAlign:"center",children:"Robotics Oncall"}),l.jsx(c("GeoFlexbox.react"),{grow:1,alignItems:"center",children:a==null?l.jsx(c("RoboticsDesignSystemText.react"),{size:"mini",textAlign:"center",children:"No current oncall"}):l.jsxs(c("GeoFlexbox.react"),{justifyContent:"center",alignItems:"center",children:[l.jsxs(c("GeoFlexbox.react"),{direction:"column",rowGap:8,justifyContent:"center",alignItems:"center",grow:3,shrink:1,basis:"0",children:[l.jsx(c("Image.react"),{src:a==null?void 0:a.employeeWorkplaceChatQRCodeURI,height:200,width:200}),l.jsx(c("RoboticsDesignSystemText.react"),{size:"mini",textAlign:"center",children:"Scan with phone to contact via Workplace Messenger"})]}),l.jsxs(c("GeoFlexbox.react"),{direction:"column",rowGap:16,justifyContent:"center",alignItems:"center",grow:2,shrink:0,basis:"0",children:[l.jsx(c("GeoFlexbox.react"),{xstyle:r.profilePhoto,justifyContent:"center",alignItems:"center",children:l.jsx(c("Image.react"),{src:b,height:198,width:198})}),l.jsx(c("RoboticsDesignSystemText.react"),{size:"mini",textAlign:"center",wrap:!0,children:(f=a==null?void 0:a.employeeName)!=null?f:""})]})]})})]}),l.jsxs(c("GeoFlexbox.react"),{xstyle:r.card,direction:"column",rowGap:32,justifyContent:"center",alignItems:"center",children:[l.jsx(c("RoboticsDesignSystemText.react"),{size:"small",textAlign:"center",children:"Learn More"}),l.jsx(c("qrcode-react"),{size:230,value:o}),l.jsx(c("RoboticsDesignSystemText.react"),{size:"mini",weight:"emphasized",textAlign:"center",children:"Scan with phone for more info about this system"})]})]})]})})}a.displayName=a.name+" [from "+f.id+"]";var r={root:{backgroundColor:"x1964rl4",height:"x5yr21d",width:"xh8yej3",position:"x10l6tqk",zIndex:"x1vjfegm",top:"x13vifvy",$$css:!0},body:{marginTop:"x1d7yc3v",$$css:!0},card:{background:"x10u7ui4",borderStartStartRadius:"x1obq294",borderStartEndRadius:"x5a5i1n",borderEndEndRadius:"xde0f50",borderEndStartRadius:"x15x8krk",boxSizing:"x9f619",height:"x5yr21d",width:"xh8yej3",paddingTop:"x1p5oq8j",paddingInlineEnd:"x64bnmy",paddingBottom:"xwxc41k",paddingInlineStart:"x13jy36j",$$css:!0},header:{width:"xh8yej3",$$css:!0},modal:{backgroundColor:"x12peec7",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",marginTop:"xqui205",marginInlineEnd:"xpwdb9g",marginBottom:"x1hq5gj4",marginInlineStart:"xefazk8",paddingTop:"x4i7bpe",paddingInlineEnd:"x15zmtp0",paddingBottom:"x1sgudl8",paddingInlineStart:"x1oiqv2n",width:"xh8yej3",$$css:!0},pressable:{display:"x78zum5",alignItems:"x6s0dn4",justifyContent:"xl56j7k",height:"x5yr21d",$$css:!0},profilePhoto:{borderStartStartRadius:"x1m1c2op",borderStartEndRadius:"x1ai5go6",borderEndEndRadius:"x1y03o4b",borderEndStartRadius:"x1u8dohn",objectFit:"x19kjcj4",overflowX:"x6ikm8r",overflowY:"x10wlt62",height:"x1vc294i",width:"xtqaf1t",$$css:!0},closeButton:{boxSizing:"x9f619",borderStartStartRadius:"xbjudin",borderStartEndRadius:"xnlwouz",borderEndEndRadius:"xpp8er5",borderEndStartRadius:"xs9wviy",cursor:"x1ypdohk",":active_transform":"xk4oym4",":active_boxShadow":"x1iqhkd5",$$css:!0},crossIcon:{backgroundColor:"x39viwf",borderStartStartRadius:"x1c9tyrk",borderStartEndRadius:"xeusxvb",borderEndEndRadius:"x1pahc9y",borderEndStartRadius:"x1ertn4p",height:"xy75621",width:"xni59qk",$$css:!0},columnGap24:{columnGap:"x1qgv0r9",$$css:!0}};g["default"]=a}),98);
-----
RoboticsArdioGen2HelpModalUserQuery.graphql",["RoboticsArdioGen2HelpModalUserQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"userID"}],c=[{kind:"Variable",name:"id",variableName:"userID"}],d={alias:null,args:[{kind:"Literal",name:"height",value:200},{kind:"Literal",name:"width",value:200}],concreteType:"Image",kind:"LinkedField",name:"profile_picture",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"uri",storageKey:null}],storageKey:"profile_picture(height:200,width:200)"},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"RoboticsArdioGen2HelpModalUserQuery",selections:[{alias:null,args:c,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[d,e],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"RoboticsArdioGen2HelpModalUserQuery",selections:[{alias:null,args:c,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[d,e,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:b("RoboticsArdioGen2HelpModalUserQuery_facebookRelayOperation"),metadata:{live:{config_id:"www_robotics_argon"}},name:"RoboticsArdioGen2HelpModalUserQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
RoboticsArdioGen2HelpModalUserQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24050439687942159"}),null);
-----