LeadGenCRMIntegrationMicrosoftExcelGetWorkbook.react",["fbt","CometPlaceholder.react","GeoFlexbox.react","GeoLink.react","GeoSpinner.react","GeoText.react","LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react","LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql","LeadGenCRMIntegrationMicrosoftExcelEnterURLPage.react","LeadGenCRMIntegrationMicrosoftExcelGetWorkbookDirectCrmIntegrationConfigFragment.graphql","LeadGenCRMIntegrationMicrosoftExcelLoggerHelper","LeadGenCRMIntegrationMicrosoftExcelRecentlyUsedWorkbookSelector.react","LeadGenDirectCRMIntegrationUIStoreActionsGoogleCloseModalAction","RelayHooks","geoMargin","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u,m=d.useCallback,p=d.useState,_=e!==void 0?e:e=n("LeadGenCRMIntegrationMicrosoftExcelGetWorkbookDirectCrmIntegrationConfigFragment.graphql");function f(e){var t=o("react-compiler-runtime").c(25),n=e.authID,a=e.autoSelectMostRecentlyUsedWorkbook,l=e.errorMessage,u=e.integrationListFragment,d=e.onSelectAutomaticIntegrationWorkbook,m=e.pageID,f=p(!0),g=f[0],h=f[1],y;t[0]===Symbol.for("react.memo_cache_sentinel")?(y=new(r("LeadGenCRMIntegrationMicrosoftExcelLoggerHelper")),t[0]=y):y=t[0];var C=y,b;t[1]!==n||t[2]!==m||t[3]!==g?(b=function(){h(!g),r("LeadGenDirectCRMIntegrationUIStoreActionsGoogleCloseModalAction").dispatch({},{line:"66",module:"LeadGenCRMIntegrationMicrosoftExcelGetWorkbook.react.js",moduleID:i.id}),g?C.logCreateIntegrationModalSwitchToPicker(m,n!=null?n:""):C.logCreateIntegrationModalSwitchToURL(m,n!=null?n:"")},t[1]=n,t[2]=m,t[3]=g,t[4]=b):b=t[4];var v=b,S=o("RelayHooks").useQueryLoader(r("LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql")),R=S[0],L=S[1],E=o("RelayHooks").useFragment(_,u),k;t[5]!==d?(k=function(t,n,r,o){d==null||d(t,n,r,o)},t[5]=d,t[6]=k):k=t[6];var I=k,T;t[7]!==n||t[8]!==a||t[9]!==l||t[10]!==m||t[11]!==E||t[12]!==L||t[13]!==g?(T=g?c.jsx(r("LeadGenCRMIntegrationMicrosoftExcelRecentlyUsedWorkbookSelector.react"),{authID:n,autoSelectMostRecentlyUsedWorkbook:a,errorMessage:l,integrationListFragment:E,pageID:m,selectWorkbookDetails:L}):c.jsx(r("LeadGenCRMIntegrationMicrosoftExcelEnterURLPage.react"),{authID:n,errorMessage:l,pageID:m,selectWorkbookDetails:L}),t[7]=n,t[8]=a,t[9]=l,t[10]=m,t[11]=E,t[12]=L,t[13]=g,t[14]=T):T=t[14];var D;t[15]!==v||t[16]!==g?(D=g?c.jsx(r("GeoLink.react"),{"aria-label":"link",onClick:v,children:s._(/*BTDS*/"Or provide Microsoft Excel workbook link")}):c.jsx(r("GeoLink.react"),{"aria-label":"link",onClick:v,children:s._(/*BTDS*/"Or Browse your Microsoft OneDrive")}),t[15]=v,t[16]=g,t[17]=D):D=t[17];var x;t[18]!==I||t[19]!==R?(x=R!=null&&c.jsxs(r("GeoFlexbox.react"),{alignItems:"center",gap:2,xstyle:r("geoMargin").vert12,children:[c.jsx(r("GeoText.react"),{children:s._(/*BTDS*/"Currently selected:")}),c.jsx(r("CometPlaceholder.react"),{fallback:c.jsx(r("GeoSpinner.react"),{size:"small",loggingName:i.id}),name:i.id,children:c.jsx(r("LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react"),{selectedWorkbookDetailsQueryReference:R,onSelectedWorkbookDetailsLoad:I})})]}),t[18]=I,t[19]=R,t[20]=x):x=t[20];var $;return t[21]!==T||t[22]!==D||t[23]!==x?($=c.jsxs(c.Fragment,{children:[T,D,x]}),t[21]=T,t[22]=D,t[23]=x,t[24]=$):$=t[24],$}l.default=f}),226);
-----
LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react",["GeoText.react","LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql","LeadGenDirectCRMIntegrationUIStoreActionsGoogleInvalidRecentSheetSelectAction","LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelInvalidWorkbookSelectAction","LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelSetWorksheetsListAction","RelayHooks","nullthrows","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useEffect,d=e!==void 0?e:e=n("LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql");function m(e){var t=o("react-compiler-runtime").c(8),n=e.onSelectedWorkbookDetailsLoad,a=e.selectedWorkbookDetailsQueryReference,l=o("RelayHooks").usePreloadedQuery(d,a),s=l.xfb_get_microsoft_excel_workbook_detail,m,p;t[0]!==n||t[1]!==s?(m=function(){if(s!=null&&s.success!=null){!s.success&&s.error_message!=null&&r("LeadGenDirectCRMIntegrationUIStoreActionsGoogleInvalidRecentSheetSelectAction").dispatch({errorMessage:s.error_message},{line:"81",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id});var e=new Map(s.worksheets.map(function(e){var t;return[(t=r("nullthrows"))(e.id),{driveID:t(s.drive_id),formID:null,formName:null,worksheetID:t(e.id),worksheetName:t(e.name),workbookID:t(s.workbook_id),workbookName:t(s.workbook_name),webUrl:s.workbook_web_url!=null&&e.name!=null?s.workbook_web_url+("&activeCell=%27"+e.name+"%27!A1"):""}]}));r("LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelInvalidWorkbookSelectAction").dispatch({errorMessage:""},{line:"112",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id}),r("LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelSetWorksheetsListAction").dispatch({microsoftExcelWorksheetList:e},{line:"115",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id}),n(r("nullthrows")(s.drive_id),r("nullthrows")(s.workbook_id),r("nullthrows")(s.workbook_name),r("nullthrows")(s.workbook_web_url))}},p=[n,s],t[0]=n,t[1]=s,t[2]=m,t[3]=p):(m=t[2],p=t[3]),c(m,p);var _;t[4]!==s?(_=s!=null&&s.workbook_name!=null&&u.jsx(r("GeoText.react"),{children:s.workbook_name}),t[4]=s,t[5]=_):_=t[5];var f;return t[6]!==_?(f=u.jsx(u.Fragment,{children:_}),t[6]=_,t[7]=f):f=t[7],f}l.default=m}),98);
-----
LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql",["relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"authID"},{defaultValue:null,kind:"LocalArgument",name:"driveID"},{defaultValue:null,kind:"LocalArgument",name:"workbookID"}],t=[{alias:null,args:[{kind:"Variable",name:"auth_id",variableName:"authID"},{kind:"Variable",name:"drive_id",variableName:"driveID"},{kind:"Variable",name:"workbook_id",variableName:"workbookID"}],concreteType:"XFBLeadGenDirectCRMMicrosoftExcelWorkbookDetailResponse",kind:"LinkedField",name:"xfb_get_microsoft_excel_workbook_detail",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"drive_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_name",storageKey:null},{alias:null,args:null,concreteType:"XFBLeadGenDirectCRMMicrosoftExcelWorkbookWorkSheetDetailResponse",kind:"LinkedField",name:"worksheets",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_web_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"error_message",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",selections:t,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",selections:t},params:{id:"24548822138130698",metadata:{},name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
-----
LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react",["GeoText.react","LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql","LeadGenDirectCRMIntegrationUIStoreActionsGoogleInvalidRecentSheetSelectAction","LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelInvalidWorkbookSelectAction","LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelSetWorksheetsListAction","RelayHooks","nullthrows","react","react-compiler-runtime"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=s||(s=o("react")),c=s.useEffect,d=e!==void 0?e:e=n("LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql");function m(e){var t=o("react-compiler-runtime").c(8),n=e.onSelectedWorkbookDetailsLoad,a=e.selectedWorkbookDetailsQueryReference,l=o("RelayHooks").usePreloadedQuery(d,a),s=l.xfb_get_microsoft_excel_workbook_detail,m,p;t[0]!==n||t[1]!==s?(m=function(){if(s!=null&&s.success!=null){!s.success&&s.error_message!=null&&r("LeadGenDirectCRMIntegrationUIStoreActionsGoogleInvalidRecentSheetSelectAction").dispatch({errorMessage:s.error_message},{line:"81",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id});var e=new Map(s.worksheets.map(function(e){var t;return[(t=r("nullthrows"))(e.id),{driveID:t(s.drive_id),formID:null,formName:null,worksheetID:t(e.id),worksheetName:t(e.name),workbookID:t(s.workbook_id),workbookName:t(s.workbook_name),webUrl:s.workbook_web_url!=null&&e.name!=null?s.workbook_web_url+("&activeCell=%27"+e.name+"%27!A1"):""}]}));r("LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelInvalidWorkbookSelectAction").dispatch({errorMessage:""},{line:"112",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id}),r("LeadGenDirectCRMIntegrationUIStoreActionsMicrosoftExcelSetWorksheetsListAction").dispatch({microsoftExcelWorksheetList:e},{line:"115",module:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbook.react.js",moduleID:i.id}),n(r("nullthrows")(s.drive_id),r("nullthrows")(s.workbook_id),r("nullthrows")(s.workbook_name),r("nullthrows")(s.workbook_web_url))}},p=[n,s],t[0]=n,t[1]=s,t[2]=m,t[3]=p):(m=t[2],p=t[3]),c(m,p);var _;t[4]!==s?(_=s!=null&&s.workbook_name!=null&&u.jsx(r("GeoText.react"),{children:s.workbook_name}),t[4]=s,t[5]=_):_=t[5];var f;return t[6]!==_?(f=u.jsx(u.Fragment,{children:_}),t[6]=_,t[7]=f):f=t[7],f}l.default=m}),98);
-----
LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery.graphql",["relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"authID"},{defaultValue:null,kind:"LocalArgument",name:"driveID"},{defaultValue:null,kind:"LocalArgument",name:"workbookID"}],t=[{alias:null,args:[{kind:"Variable",name:"auth_id",variableName:"authID"},{kind:"Variable",name:"drive_id",variableName:"driveID"},{kind:"Variable",name:"workbook_id",variableName:"workbookID"}],concreteType:"XFBLeadGenDirectCRMMicrosoftExcelWorkbookDetailResponse",kind:"LinkedField",name:"xfb_get_microsoft_excel_workbook_detail",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"drive_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_name",storageKey:null},{alias:null,args:null,concreteType:"XFBLeadGenDirectCRMMicrosoftExcelWorkbookWorkSheetDetailResponse",kind:"LinkedField",name:"worksheets",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"workbook_web_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"error_message",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",selections:t,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",selections:t},params:{id:"24548822138130698",metadata:{},name:"LeadGenCRMIntegrationMicrosoftExcelCurrentlySelectedWorkbookDetailsQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----