FBEPartnerAuthentication.react",["FBEDevPanelDebuggerStrings","FBEDevPanelDebuggerUtils","FBEDevPanelImplementationStrings","FBEDevPanelSetupStrings","FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql","GeoButton.react","GeoCard.react","GeoCardHeader.react","GeoFlexbox.react","GeoList.react","GeoListItem.react","GeoNotice.react","GeoSection.react","GeoText.react","GeoTextInput.react","GeoTooltip.react","List.react","RelayHooks","RelayModern","URI","fbeOpenPopupWindow","geoMargin","react"],(function(a,b,c,d,e,f,g){var h,i,j,k=j||(j=d("react"));e=j;var l=e.useCallback,m=e.useEffect,n=e.useState,o={textContainer:{marginTop:"x1anpbxc",marginBottom:"xyorhqc",$$css:!0},listContainer:{fontSize:"x67ct29",marginTop:"x1anpbxc",marginEnd:"x11i5rnm",marginBottom:"xyorhqc",marginStart:"x1mh8g0r",$$css:!0}},p=h!==void 0?h:h=b("FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql");function a(a){var b=a.appID,e=a.authenticationURL,f=a.devRole,g=a.externalBusinessID,h=a.setStatus;a=n((a=e)!=null?a:"");var j=a[0];a=a[1];var r=n([]),s=r[0],t=r[1];r=n(!1);var u=r[0],v=r[1];r=n(e===""?[String(d("FBEDevPanelImplementationStrings").URL_INVALID_CONTENT)]:[]);var w=r[0],x=r[1];r=n(!1);var y=r[0],z=r[1],A="BUSINESS_AUTHENTICATION",B=d("RelayHooks").useRelayEnvironment();r=l(function(){var a=new(i||(i=c("URI")))("https%3A%2F%2Fwww.facebook.com%2Fredirect_fbe%2Ftransaction_tool_selector_test%2Fredirect%3Fapp_id%3D"+String(b)+"%26page_id%3D123456789123456%26");c("fbeOpenPopupWindow")(String(e)+"?redirect_uri="+a.toString(),700);v(!0)},[e,b]);m(function(){var a;if(!u)return;var c=d("RelayModern").requestSubscription(B,{subscription:p,variables:{input:{app_id:(a=b)!=null?a:""}},onNext:function(a){var c;t([]);if((a==null?void 0:(c=a.fbe_config_test_subscribe)==null?void 0:(c=c.validation)==null?void 0:c.errors.length)===0)z(!0),h("completed"),x([]),d("FBEDevPanelDebuggerUtils").createSelfServiceTestingToolsEntry(b,f,g,A,j,"self_service_testing_tool_business_authentication_entry_saved","self_service_testing_tool_business_authentication_entry_saved_failed");else{h("error");x((e==null?void 0:e.length)!==0?(c=Array(a==null?void 0:(c=a.fbe_config_test_subscribe)==null?void 0:(a=c.validation)==null?void 0:a.errors)[0])!=null?c:[]:[])}}});return function(){c.dispose()}},[b,e,u,B,h,f,g,A,j]);return k.jsxs("div",{children:[k.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:o.textContainer,children:[k.jsx(c("GeoText.react"),{textAlign:"center",children:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_APP_SURFACES_AUTHENTICATION_URL_INPUT_LABEL}),k.jsx(c("GeoTooltip.react"),{content:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTH_URL_TOOLTIP_TEXT})]}),k.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:o.textContainer,children:[k.jsx(c("GeoTextInput.react"),{isDisabled:!0,isLabelHidden:!0,label:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_APP_SURFACES_AUTHENTICATION_URL_INPUT_LABEL,placeholder:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_AUTHENTICATION_URL_PLACEHODLER,type:"url",value:j,onChange:a}),k.jsx(c("GeoButton.react"),{label:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_TEST_BUTTON_TEXT,variant:"primary",xstyle:c("geoMargin").start8,onClick:r})]}),!u&&k.jsx(c("GeoFlexbox.react"),{children:k.jsx(c("GeoSection.react"),{children:k.jsx(c("GeoNotice.react"),{status:"info",children:d("FBEDevPanelImplementationStrings").URL_VALID_CONTENT})})}),k.jsxs(c("GeoCard.react"),{children:[k.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_RESULT_TEXT}),y&&k.jsx(c("GeoFlexbox.react"),{children:k.jsx(c("GeoSection.react"),{children:k.jsx(c("GeoCard.react"),{header:k.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_SUCCESS_RESULT_HEADER}),children:k.jsx(c("GeoSection.react"),{children:k.jsx(c("GeoNotice.react"),{status:"success",children:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_AUTHENTICATION_SUCCESS_TEXT})})})})}),s.map(function(a){return k.jsxs(c("GeoList.react"),{children:[k.jsx(c("GeoListItem.react"),{label:"Event Name: "+a.eventPayload.event}),k.jsx(c("GeoListItem.react"),{label:q(a.eventPayload.payload)}),k.jsx(c("GeoListItem.react"),{label:"Event Overview: "+a.eventOverview})]})}),w.length!==0&&k.jsx(c("GeoSection.react"),{children:k.jsx(c("GeoCard.react"),{header:k.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_ERROR_RESULT_HEADER}),children:k.jsx(c("GeoSection.react"),{children:k.jsx(c("List.react"),{border:"light",xstyle:o.listContainer,children:w.map(function(a){return k.jsx("li",{children:k.jsx(c("GeoNotice.react"),{status:"error",children:a})},a)})})})})})]})]})}a.displayName=a.name+" [from "+f.id+"]";function q(a){a=String(a==null?void 0:a.uri_extras)||String(a==null?void 0:a.error_message)||String(a==null?void 0:a.redirect_url);return"Event Payload: ".concat(a)}g["default"]=a}),98);
-----
FBEDevPanelSelfServiceTestBusinessAuthentication.react",["FBEDevPanelDebuggerStrings","FBEDevPanelSelfServiceTestBusinessAuthenticationQuery.graphql","FBEPartnerAuthentication.react","GeoBaseText.react","GeoCard.react","GeoFlexbox.react","GeoSection.react","GeoSpinner.react","GeoTooltip.react","RelayHooks","geoMargin","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.Suspense,l={toolsContainer:{width:"x1q541hq",height:"x1jn0hjm",marginTop:"x1e1m7ul",$$css:!0}},m=h!==void 0?h:h=b("FBEDevPanelSelfServiceTestBusinessAuthenticationQuery.graphql");function a(a){var b=a.appID,e=a.devPanelSettingsID,f=a.devRole,g=a.externalBusinessID;a=a.setStatus;e=d("RelayHooks").useLazyLoadQuery(m,{devPanelSettingsID:e});e=(e=e.node)==null?void 0:(e=e.app_store_setup)==null?void 0:e.authentication_url;return j.jsx(c("GeoCard.react"),{xstyle:l.toolsContainer,children:j.jsxs(c("GeoSection.react"),{children:[j.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:c("geoMargin").vert12,children:[j.jsx(c("GeoBaseText.react"),{color:"heading",size:"header1",children:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTHENTICATION_TEST_HEADER}),j.jsx(c("GeoTooltip.react"),{content:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTHENTICATION_TOOLTIP_TEXT})]}),j.jsx(k,{fallback:j.jsx(c("GeoSpinner.react"),{}),children:j.jsx(c("FBEPartnerAuthentication.react"),{appID:b,authenticationURL:e,devRole:f,externalBusinessID:g,setStatus:a})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql",["FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"FbeConfigTestSubscribeResponsePayload",kind:"LinkedField",name:"fbe_config_test_subscribe",plural:!1,selections:[{alias:null,args:null,concreteType:"FBEDeveloperPanelValidation",kind:"LinkedField",name:"validation",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"errors",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cleansed_values",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",selections:c,type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",selections:c},params:{id:b("FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation"),metadata:{subscriptionName:"fbe_config_test_subscribe"},name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null);
-----
FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5969252633091251"}),null);
-----
FBEPartnerAuthentication.react",["FBEDevPanelDebuggerStrings","FBEDevPanelDebuggerUtils","FBEDevPanelImplementationStrings","FBEDevPanelSetupStrings","FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql","GeoButton.react","GeoCard.react","GeoCardHeader.react","GeoFlexbox.react","GeoList.react","GeoListItem.react","GeoNotice.react","GeoSection.react","GeoText.react","GeoTextInput.react","GeoTooltip.react","List.react","RelayHooks","RelayModern","URI","fbeOpenPopupWindow","geoMargin","react"],(function(a,b,c,d,e,f,g){var h,i=d("react");e=d("react");var j=e.useCallback,k=e.useEffect,l=e.useState,m={textContainer:{marginTop:"x1anpbxc",marginBottom:"xyorhqc",$$css:!0},listContainer:{fontSize:"x67ct29",marginTop:"x1anpbxc",marginEnd:"x11i5rnm",marginBottom:"xyorhqc",marginStart:"x1mh8g0r",$$css:!0}},n=h!==void 0?h:h=b("FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql");function a(a){var b=a.appID,e=a.authenticationURL,f=a.devRole,g=a.externalBusinessID,h=a.setStatus;a=l((a=e)!=null?a:"");var p=a[0];a=a[1];var q=l([]),r=q[0],s=q[1];q=l(!1);var t=q[0],u=q[1];q=l(e===""?[String(d("FBEDevPanelImplementationStrings").URL_INVALID_CONTENT)]:[]);var v=q[0],w=q[1];q=l(!1);var x=q[0],y=q[1],z="BUSINESS_AUTHENTICATION",A=d("RelayHooks").useRelayEnvironment();q=j(function(){var a=new(c("URI"))("https%3A%2F%2Fwww.facebook.com%2Fredirect_fbe%2Ftransaction_tool_selector_test%2Fredirect%3Fapp_id%3D"+String(b)+"%26page_id%3D123456789123456%26");c("fbeOpenPopupWindow")(String(e)+"?redirect_uri="+a.toString(),700);u(!0)},[e,b]);k(function(){var a;if(!t)return;var c=d("RelayModern").requestSubscription(A,{subscription:n,variables:{input:{app_id:(a=b)!=null?a:""}},onNext:function(a){var c;s([]);if((a==null?void 0:(c=a.fbe_config_test_subscribe)==null?void 0:(c=c.validation)==null?void 0:c.errors.length)===0)y(!0),h("completed"),w([]),d("FBEDevPanelDebuggerUtils").createSelfServiceTestingToolsEntry(b,f,g,z,p,"self_service_testing_tool_business_authentication_entry_saved","self_service_testing_tool_business_authentication_entry_saved_failed");else{h("error");w((e==null?void 0:e.length)!==0?(c=Array(a==null?void 0:(c=a.fbe_config_test_subscribe)==null?void 0:(a=c.validation)==null?void 0:a.errors)[0])!=null?c:[]:[])}}});return function(){c.dispose()}},[b,e,t,A,h,f,g,z,p]);return i.jsxs("div",{children:[i.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:m.textContainer,children:[i.jsx(c("GeoText.react"),{textAlign:"center",children:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_APP_SURFACES_AUTHENTICATION_URL_INPUT_LABEL}),i.jsx(c("GeoTooltip.react"),{content:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTH_URL_TOOLTIP_TEXT})]}),i.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:m.textContainer,children:[i.jsx(c("GeoTextInput.react"),{isDisabled:!0,isLabelHidden:!0,label:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_APP_SURFACES_AUTHENTICATION_URL_INPUT_LABEL,placeholder:d("FBEDevPanelSetupStrings").DEV_PANEL_BUSINESS_AUTHENTICATION_URL_PLACEHODLER,type:"url",value:p,onChange:a}),i.jsx(c("GeoButton.react"),{label:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_TEST_BUTTON_TEXT,variant:"primary",xstyle:c("geoMargin").start8,onClick:q})]}),!t&&i.jsx(c("GeoFlexbox.react"),{children:i.jsx(c("GeoSection.react"),{children:i.jsx(c("GeoNotice.react"),{status:"info",children:d("FBEDevPanelImplementationStrings").URL_VALID_CONTENT})})}),i.jsxs(c("GeoCard.react"),{children:[i.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_RESULT_TEXT}),x&&i.jsx(c("GeoFlexbox.react"),{children:i.jsx(c("GeoSection.react"),{children:i.jsx(c("GeoCard.react"),{header:i.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_SUCCESS_RESULT_HEADER}),children:i.jsx(c("GeoSection.react"),{children:i.jsx(c("GeoNotice.react"),{status:"success",children:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_AUTHENTICATION_SUCCESS_TEXT})})})})}),r.map(function(a){return i.jsxs(c("GeoList.react"),{children:[i.jsx(c("GeoListItem.react"),{label:"Event Name: "+a.eventPayload.event}),i.jsx(c("GeoListItem.react"),{label:o(a.eventPayload.payload)}),i.jsx(c("GeoListItem.react"),{label:"Event Overview: "+a.eventOverview})]})}),v.length!==0&&i.jsx(c("GeoSection.react"),{children:i.jsx(c("GeoCard.react"),{header:i.jsx(c("GeoCardHeader.react"),{heading:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_ERROR_RESULT_HEADER}),children:i.jsx(c("GeoSection.react"),{children:i.jsx(c("List.react"),{border:"light",xstyle:m.listContainer,children:v.map(function(a){return i.jsx("li",{children:i.jsx(c("GeoNotice.react"),{status:"error",children:a})},a)})})})})})]})]})}a.displayName=a.name+" [from "+f.id+"]";function o(a){a=String(a==null?void 0:a.uri_extras)||String(a==null?void 0:a.error_message)||String(a==null?void 0:a.redirect_url);return"Event Payload: ".concat(a)}g["default"]=a}),98);
-----
FBEDevPanelSelfServiceTestBusinessAuthentication.react",["FBEDevPanelDebuggerStrings","FBEDevPanelSelfServiceTestBusinessAuthenticationQuery.graphql","FBEPartnerAuthentication.react","GeoBaseText.react","GeoCard.react","GeoFlexbox.react","GeoSection.react","GeoSpinner.react","GeoTooltip.react","RelayHooks","geoMargin","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j=d("react").Suspense,k={toolsContainer:{width:"x1q541hq",height:"x1jn0hjm",marginTop:"x1e1m7ul",$$css:!0}},l=h!==void 0?h:h=b("FBEDevPanelSelfServiceTestBusinessAuthenticationQuery.graphql");function a(a){var b=a.appID,e=a.devPanelSettingsID,f=a.devRole,g=a.externalBusinessID;a=a.setStatus;e=d("RelayHooks").useLazyLoadQuery(l,{devPanelSettingsID:e});e=(e=e.node)==null?void 0:(e=e.app_store_setup)==null?void 0:e.authentication_url;return i.jsx(c("GeoCard.react"),{xstyle:k.toolsContainer,children:i.jsxs(c("GeoSection.react"),{children:[i.jsxs(c("GeoFlexbox.react"),{alignItems:"center",direction:"row",xstyle:[c("geoMargin").top12,c("geoMargin").bottom12],children:[i.jsx(c("GeoBaseText.react"),{color:"heading",size:"header1",children:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTHENTICATION_TEST_HEADER}),i.jsx(c("GeoTooltip.react"),{content:d("FBEDevPanelDebuggerStrings").DEV_PANEL_SELF_SERVICE_TESTING_TOOLS_BUSINESS_AUTHENTICATION_TOOLTIP_TEXT})]}),i.jsx(j,{fallback:i.jsx(c("GeoSpinner.react"),{}),children:i.jsx(c("FBEPartnerAuthentication.react"),{appID:b,authenticationURL:e,devRole:f,externalBusinessID:g,setStatus:a})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
FBEPartnerAuthentication_fbe_config_test_subscribeSubscription.graphql",["FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"FbeConfigTestSubscribeResponsePayload",kind:"LinkedField",name:"fbe_config_test_subscribe",plural:!1,selections:[{alias:null,args:null,concreteType:"FBEDeveloperPanelValidation",kind:"LinkedField",name:"validation",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"errors",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"cleansed_values",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",selections:c,type:"Subscription",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",selections:c},params:{id:b("FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation"),metadata:{subscriptionName:"fbe_config_test_subscribe"},name:"FBEPartnerAuthentication_fbe_config_test_subscribeSubscription",operationKind:"subscription",text:null}}}();e.exports=a}),null);
-----
FBEPartnerAuthentication_fbe_config_test_subscribeSubscription_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="5969252633091251"}),null);
-----