SCXRegisterPartnerAcknowledgementPreparationMutation.enterprise.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"input"}],t=[{kind:"Variable",name:"payload",variableName:"input"}],n={alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},r={alias:null,args:null,concreteType:"XFBSCPartnerRegistrationStepProgress",kind:"LinkedField",name:"sc_partner_registration_steps",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"progress",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"step",storageKey:null}],storageKey:null},o={alias:null,args:null,concreteType:"XFBSCPartnerSEFInfo",kind:"LinkedField",name:"partner_sef_status",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_required",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"percentage_completed",storageKey:null}],storageKey:null},a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"SCXRegisterPartnerAcknowledgementPreparationMutation",selections:[{alias:null,args:t,concreteType:"XFBScAcknowledgePreparationResponsePayload",kind:"LinkedField",name:"xfb_sc_acknowledge_preparation",plural:!1,selections:[n,{alias:null,args:null,concreteType:"XFBSCPartner",kind:"LinkedField",name:"sc_partner",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSCPartnerProfile",kind:"LinkedField",name:"sc_partner_profile",plural:!1,selections:[r],storageKey:null},o,{args:null,kind:"FragmentSpread",name:"EPXSCOnboardingProgressBar_scPartner"}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"SCXRegisterPartnerAcknowledgementPreparationMutation",selections:[{alias:null,args:t,concreteType:"XFBScAcknowledgePreparationResponsePayload",kind:"LinkedField",name:"xfb_sc_acknowledge_preparation",plural:!1,selections:[n,{alias:null,args:null,concreteType:"XFBSCPartner",kind:"LinkedField",name:"sc_partner",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBSCPartnerProfile",kind:"LinkedField",name:"sc_partner_profile",plural:!1,selections:[r,a],storageKey:null},o,{alias:null,args:null,kind:"ScalarField",name:"is_registration_form_valid",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"case_valid_until_date",storageKey:null},{alias:"sefData",args:null,concreteType:"XFBSCPartnerSEFInfo",kind:"LinkedField",name:"partner_sef_status",plural:!1,selections:[{alias:"percentageCompleted",args:null,kind:"ScalarField",name:"percentage_completed",storageKey:null}],storageKey:null},a],storageKey:null}],storageKey:null}]},params:{id:"8333900960067381",metadata:{},name:"SCXRegisterPartnerAcknowledgementPreparationMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
SCXRegistrationPreparationForm.react",["fbt","ix","GeoButton.react","GeoCheckboxInput.react","GeoDivider.react","GeoFlexbox.react","GeoIcon.react","GeoMediaItem.react","GeoNotice.react","GeoText.react","Placeholder.react","RelayHooks","SCPartnerRegistrationStep","SCXErrorBoundary","SCXRegisterPartnerAcknowledgementPreparationMutation","SCXRegistrationPreparationForm_relayData.graphql","SCXRegistrationUtils","SCXReviewContext","SCXRouteConfig","fbicon","geoMargin","geoWidth","react","useBoolean"],(function($,b,e,o,O,j,T,a,m){"use strict";var s,_,r=_||(_=o("react")),c=_,S=c.useCallback,E=c.useContext,J=c.useState,I=s!==void 0?s:s=b("SCXRegistrationPreparationForm_relayData.graphql");function l(n){var C,u,Z=n.formKey,i=n.isLastStep,x=n.onCommit,B=n.relayData,v=n.history,h=n.match.url,w=E(e("SCXReviewContext")).review,y=o("RelayHooks").useFragment(I,B),R=y.partnerID,H=((C=(u=y.sc_partner_profile)==null?void 0:u.sc_partner_registration_steps)!=null?C:[]).find(function(t){return t.step===e("SCPartnerRegistrationStep").PREPARE}),W=(H==null?void 0:H.progress)==="COMPLETE",P=J(!1),q=P[0],X=P[1],d=e("useBoolean")(!1),A=d.setFalse,p=d.setTrue,L=d.value,G=e("useBoolean")(W),K=G.toggle,g=G.value,z=[r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"Tax certificate or government-issued document")},"TAX_CERTIFICATE"),r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"Bank statement or letter")},"BANK_STATEMENT"),r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"W8/W9 if applicable")},"W8_W9")],F=S(function(t){x({mutation:e("SCXRegisterPartnerAcknowledgementPreparationMutation"),onCompleted:t,variables:{input:{partner_id:R}}},i)},[i,x,R]),N=S(function(){if(!g){p();return}A(),X(!0);var t=function(){return v.push(o("SCXRouteConfig").buildPathWithQuery(location,o("SCXRegistrationUtils").getNextURI(h,i)))};F(t),X(!1)},[F,A,v,g,i,p,h]);return w?null:r.jsx(e("Placeholder.react"),{children:r.jsxs(e("GeoFlexbox.react"),{direction:"column",children:[r.jsx(e("GeoText.react"),{xstyle:e("geoMargin").bottom16,children:a._(/*BTDS*/"Get started by gathering these required documents.")}),z.map(function(t,M){return r.jsxs(e("GeoFlexbox.react"),{alignItems:"center",xstyle:e("geoMargin").bottom16,children:[r.jsx(e("GeoMediaItem.react"),{media:r.jsx(e("GeoIcon.react"),{icon:o("fbicon")._(m("908355"),16)}),ratio:"square",size:32,xstyle:e("geoMargin").end12}),t]},M)}),r.jsx(e("GeoCheckboxInput.react"),{label:a._(/*BTDS*/"I acknowledge that all documents are required for a successful enrollment."),onChange:K,value:g,xstyle:[e("geoMargin").top4,e("geoMargin").bottom12,e("geoMargin").start4]}),L&&r.jsx(e("GeoNotice.react"),{status:"error",xstyle:e("geoMargin").bottom12,children:a._(/*BTDS*/"Select the checkbox to acknowledge that you have gathered all required documents.")}),r.jsx(e("GeoDivider.react"),{}),r.jsx(e("GeoFlexbox.react"),{justifyContent:"end",xstyle:e("geoWidth").fullWidth,children:r.jsx(e("GeoButton.react"),{isDepressed:q,label:a._(/*BTDS*/"Next"),minWidth:108,onClick:N,variant:"primary"})})]})})}l.displayName=l.name+" [from "+j.id+"]";var k=o("SCXErrorBoundary").withSCXFunctionalErrorBoundary(l,"SCXRegistrationPreparationForm");T.default=k}),226);
-----
SCXRegisterPartnerAcknowledgementPreparationMutation",["SCXRegisterPartnerAcknowledgementPreparationMutation.graphql"],(function(i,t,g,d,l,u,r){"use strict";var e,a=e!==void 0?e:e=t("SCXRegisterPartnerAcknowledgementPreparationMutation.graphql"),n=a;r.default=n}),98);
-----
SCXRegisterPartnerAcknowledgementPreparationMutation.graphql",["cr:22078"],(function(a,e,o,n,i,r,p){"use strict";r.exports=e("cr:22078")}),34);
-----
-----
SCXRegistrationPreparationForm.react",["fbt","ix","GeoButton.react","GeoCheckboxInput.react","GeoDivider.react","GeoFlexbox.react","GeoIcon.react","GeoMediaItem.react","GeoNotice.react","GeoText.react","Placeholder.react","RelayHooks","SCPartnerRegistrationStep","SCXErrorBoundary","SCXRegisterPartnerAcknowledgementPreparationMutation","SCXRegistrationPreparationForm_relayData.graphql","SCXRegistrationUtils","SCXReviewContext","SCXRouteConfig","fbicon","geoMargin","geoWidth","react","useBoolean"],(function($,b,e,o,O,j,T,a,m){"use strict";var s,_,r=_||(_=o("react")),c=_,S=c.useCallback,E=c.useContext,J=c.useState,I=s!==void 0?s:s=b("SCXRegistrationPreparationForm_relayData.graphql");function l(n){var C,u,Z=n.formKey,i=n.isLastStep,x=n.onCommit,B=n.relayData,v=n.history,h=n.match.url,w=E(e("SCXReviewContext")).review,y=o("RelayHooks").useFragment(I,B),R=y.partnerID,H=((C=(u=y.sc_partner_profile)==null?void 0:u.sc_partner_registration_steps)!=null?C:[]).find(function(t){return t.step===e("SCPartnerRegistrationStep").PREPARE}),W=(H==null?void 0:H.progress)==="COMPLETE",P=J(!1),q=P[0],X=P[1],d=e("useBoolean")(!1),A=d.setFalse,p=d.setTrue,L=d.value,G=e("useBoolean")(W),K=G.toggle,g=G.value,z=[r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"Tax certificate or government-issued document")},"TAX_CERTIFICATE"),r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"Bank statement or letter")},"BANK_STATEMENT"),r.jsx(e("GeoText.react"),{children:a._(/*BTDS*/"W8/W9 if applicable")},"W8_W9")],F=S(function(t){x({mutation:e("SCXRegisterPartnerAcknowledgementPreparationMutation"),onCompleted:t,variables:{input:{partner_id:R}}},i)},[i,x,R]),N=S(function(){if(!g){p();return}A(),X(!0);var t=function(){return v.push(o("SCXRouteConfig").buildPathWithQuery(location,o("SCXRegistrationUtils").getNextURI(h,i)))};F(t),X(!1)},[F,A,v,g,i,p,h]);return w?null:r.jsx(e("Placeholder.react"),{children:r.jsxs(e("GeoFlexbox.react"),{direction:"column",children:[r.jsx(e("GeoText.react"),{xstyle:e("geoMargin").bottom16,children:a._(/*BTDS*/"Get started by gathering these required documents.")}),z.map(function(t,M){return r.jsxs(e("GeoFlexbox.react"),{alignItems:"center",xstyle:e("geoMargin").bottom16,children:[r.jsx(e("GeoMediaItem.react"),{media:r.jsx(e("GeoIcon.react"),{icon:o("fbicon")._(m("908355"),16)}),ratio:"square",size:32,xstyle:e("geoMargin").end12}),t]},M)}),r.jsx(e("GeoCheckboxInput.react"),{label:a._(/*BTDS*/"I acknowledge that all documents are required for a successful enrollment."),onChange:K,value:g,xstyle:[e("geoMargin").top4,e("geoMargin").bottom12,e("geoMargin").start4]}),L&&r.jsx(e("GeoNotice.react"),{status:"error",xstyle:e("geoMargin").bottom12,children:a._(/*BTDS*/"Select the checkbox to acknowledge that you have gathered all required documents.")}),r.jsx(e("GeoDivider.react"),{}),r.jsx(e("GeoFlexbox.react"),{justifyContent:"end",xstyle:e("geoWidth").fullWidth,children:r.jsx(e("GeoButton.react"),{isDepressed:q,label:a._(/*BTDS*/"Next"),minWidth:108,onClick:N,variant:"primary"})})]})})}l.displayName=l.name+" [from "+j.id+"]";var k=o("SCXErrorBoundary").withSCXFunctionalErrorBoundary(l,"SCXRegistrationPreparationForm");T.default=k}),226);
-----
SCXRegisterPartnerAcknowledgementPreparationMutation",["SCXRegisterPartnerAcknowledgementPreparationMutation.graphql"],(function(i,t,g,d,l,u,r){"use strict";var e,a=e!==void 0?e:e=t("SCXRegisterPartnerAcknowledgementPreparationMutation.graphql"),n=a;r.default=n}),98);
-----
SCXRegisterPartnerAcknowledgementPreparationMutation.graphql",["cr:22078"],(function(a,e,o,n,i,r,p){"use strict";r.exports=e("cr:22078")}),34);
-----