FRLXIOversightExternalAppealsGenericFlow.react",["fbt","CometColumn.react","CometColumnItem.react","FDSDialog.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSDialogLoadingState.react","FDSSelect.react","FDSText.react","FDSUnitHeader.react","FRLXIOversightExternalAppealsErrorScreen.react","FRLXIOversightExternalAppealsGenericFlowQuery.graphql","FRLXIOversightExternalAppealsReferenceNumberScreen.react","RelayHooks","XFBXIOPlatform.frl","nullthrows","react","react-compiler-runtime","useOnRoutableDialogClose","useXIORLEDMDisputeCreationFromUserInputMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react"));e=j;var l=e.useEffect,m=e.useState;function a(a){var e=d("react-compiler-runtime").c(59),f=a.onClose;a=a.queryRef;a=d("RelayHooks").usePreloadedQuery(i!==void 0?i:i=b("FRLXIOversightExternalAppealsGenericFlowQuery.graphql"),a);if(e[0]!==a){var g=c("nullthrows")(a);g=c("nullthrows")(g.xio_appeals_experience_view_model.content);e[0]=a;e[1]=g}else g=e[1];var j=g;a=c("useOnRoutableDialogClose")();f&&(a=f);g=c("useXIORLEDMDisputeCreationFromUserInputMutation")();var p=g[0],q=g[1];f=m(0);var r=f[0],s=f[1];g=r===0;f=r===1;var t=m(null),u=t[0];t=t[1];var v=m(null),w=v[0];v=v[1];var x=m(!1),y=x[0],z=x[1];x=m("");var A=x[0],B=x[1];e[2]===Symbol["for"]("react.memo_cache_sentinel")?(x=[],e[2]=x):x=e[2];x=m(x);var C=x[0],D=x[1];e[3]===Symbol["for"]("react.memo_cache_sentinel")?(x=[],e[3]=x):x=e[3];x=m(x);var E=x[0],F=x[1],G;e[4]!==j.decision_type_selector_options||e[5]!==j.enforcement_selector_options_enforcement?(x=function(){var a=j.decision_type_selector_options.map(o);D(a);a=j.enforcement_selector_options_enforcement.map(n);F(a)},G=[j.decision_type_selector_options,j.enforcement_selector_options_enforcement],e[4]=j.decision_type_selector_options,e[5]=j.enforcement_selector_options_enforcement,e[6]=x,e[7]=G):(x=e[6],G=e[7]);l(x,G);e[8]!==p||e[9]!==u||e[10]!==w||e[11]!==q||e[12]!==r?(x=function(){if(q)return;if(!u||!w)return;p({input:{decision_type:u,enforcement_type:w,platform:c("XFBXIOPlatform.frl").REALITY_LABS},onCompleted:function(a){var b;s(r+1);if((a==null||(b=a.xfb_create_edm_dispute_from_user_input_data)==null||(b=b.dispute)==null?void 0:b.reference_number)==null)z(!0);else{var c;B((a=a==null||(c=a.xfb_create_edm_dispute_from_user_input_data)==null||(c=c.dispute)==null?void 0:c.reference_number)!=null?a:"")}},onError:function(a){}})},e[8]=p,e[9]=u,e[10]=w,e[11]=q,e[12]=r,e[13]=x):x=e[13];var H=x;G=!u||!w;e[14]!==H?(x=function(){return H()},e[14]=H,e[15]=x):x=e[15];var I;e[16]!==j.ref_number_generation_button_label||e[17]!==G||e[18]!==x?(I={disabled:G,label:j.ref_number_generation_button_label,onPress:x,testid:"create-reference-number-button"},e[16]=j.ref_number_generation_button_label,e[17]=G,e[18]=x,e[19]=I):I=e[19];e[20]!==j.done_button_label||e[21]!==a?(G={label:j.done_button_label,onPress:a},e[20]=j.done_button_label,e[21]=a,e[22]=G):G=e[22];e[23]!==I||e[24]!==G?(x=[I,G],e[23]=I,e[24]=G,e[25]=x):x=e[25];I=x;e[26]!==j.appeal_instruction||e[27]!==j.decision_type_selector_headline||e[28]!==j.decision_type_selector_meta||e[29]!==j.enforcement_selector_headline||e[30]!==j.enforcement_selector_meta||e[31]!==j.other_information||e[32]!==j.reference_number_screen_content||e[33]!==j.select_a_value||e[34]!==u||e[35]!==C||e[36]!==w||e[37]!==E||e[38]!==f||e[39]!==A?(G=f?k.jsx(c("FRLXIOversightExternalAppealsReferenceNumberScreen.react"),{fragmentData:j.reference_number_screen_content,reference_number:A}):k.jsxs(c("CometColumn.react"),{paddingVertical:16,spacing:12,children:[k.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,children:k.jsx(c("FDSText.react"),{type:"body3",children:j.appeal_instruction})},"workflow-description"),k.jsx(c("CometColumnItem.react"),{paddingTop:4,children:k.jsx(c("FDSUnitHeader.react"),{body:j.decision_type_selector_meta,headline:j.decision_type_selector_headline,level:3})},"decision-selector-title"),k.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,testid:void 0,children:k.jsx(c("FDSSelect.react"),{defaultLabel:j.select_a_value,dropdownAccessibleLabelProps:{"aria-label":h._(/*BTDS*/"Decision-type selector drop-down")},inputAccessibleLabelProps:{"aria-label":h._(/*BTDS*/"Select a decision type")},onChange:t,options:C,selectedValue:u})},"decision-selector"),u?k.jsx(c("CometColumnItem.react"),{paddingTop:4,children:k.jsx(c("FDSUnitHeader.react"),{body:j.enforcement_selector_meta,headline:j.enforcement_selector_headline,level:3})},"enforcement-selector-title"):null,u?k.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,testid:void 0,children:k.jsx(c("FDSSelect.react"),{defaultLabel:j.select_a_value,dropdownAccessibleLabelProps:{"aria-label":h._(/*BTDS*/"Enforcement-type selector drop-down")},inputAccessibleLabelProps:{"aria-label":h._(/*BTDS*/"Select an enforcement type")},onChange:v,options:E,selectedValue:w})},"enforcement-selector"):null,k.jsx(c("CometColumnItem.react"),{paddingHorizontal:16,children:k.jsx(c("FDSText.react"),{type:"body3",children:j.other_information})},"other-information")]}),e[26]=j.appeal_instruction,e[27]=j.decision_type_selector_headline,e[28]=j.decision_type_selector_meta,e[29]=j.enforcement_selector_headline,e[30]=j.enforcement_selector_meta,e[31]=j.other_information,e[32]=j.reference_number_screen_content,e[33]=j.select_a_value,e[34]=u,e[35]=C,e[36]=w,e[37]=E,e[38]=f,e[39]=A,e[40]=G):G=e[40];x=G;if(q){e[41]!==a?(t=k.jsx(c("FDSDialogLoadingState.react"),{onClose:a}),e[41]=a,e[42]=t):t=e[42];return t}e[43]!==I||e[44]!==j.data_consent||e[45]!==g||e[46]!==f||e[47]!==r?(v=f?null:k.jsx(c("FDSDialogFooter.react"),{meta:g?j.data_consent:"",metaPosition:"below",primary:I[r]}),e[43]=I,e[44]=j.data_consent,e[45]=g,e[46]=f,e[47]=r,e[48]=v):v=e[48];C=v;e[49]!==j.dsb_title||e[50]!==a?(E=k.jsx(c("FDSDialogHeader.react"),{onClose:a,text:j.dsb_title,withCloseButton:!1}),e[49]=j.dsb_title,e[50]=a,e[51]=E):E=e[51];e[52]!==x||e[53]!==y?(A=y?k.jsx(c("FRLXIOversightExternalAppealsErrorScreen.react"),{}):x,e[52]=x,e[53]=y,e[54]=A):A=e[54];e[55]!==C||e[56]!==E||e[57]!==A?(G=k.jsx(c("FDSDialog.react"),{footer:C,header:E,children:A},"external-appeal-educational-dialog"),e[55]=C,e[56]=E,e[57]=A,e[58]=G):G=e[58];return G}function n(a){return babelHelpers["extends"]({},a,{testid:"enforcement-selector-option-"+a.value})}function o(a){return babelHelpers["extends"]({},a,{testid:"decision-type-selector-option-"+a.value})}g["default"]=a}),226);
-----
useXIORLEDMDisputeCreationFromUserInputMutation",["CometRelay","react","react-compiler-runtime","useXIORLEDMDisputeCreationFromUserInputMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;(i||d("react")).useCallback;var j=h!==void 0?h:h=b("useXIORLEDMDisputeCreationFromUserInputMutation.graphql");function a(){var a=d("react-compiler-runtime").c(5),b=d("CometRelay").useMutation(j),c=b[0];b=b[1];var e;a[0]!==c?(e=function(a){var b=a.input,d=a.onCompleted;a=a.onError;return c({onCompleted:d,onError:a,variables:{input:b}})},a[0]=c,a[1]=e):e=a[1];e=e;var f;a[2]!==b||a[3]!==e?(f=[e,b],a[2]=b,a[3]=e,a[4]=f):f=a[4];return f}g["default"]=a}),98);
-----
useXIORLEDMDisputeCreationFromUserInputMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"result",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"reference_number",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useXIORLEDMDisputeCreationFromUserInputMutation",selections:[{alias:null,args:b,concreteType:"XFBXIOMEDMDisputeCreationResponseObject",kind:"LinkedField",name:"xfb_create_edm_dispute_from_user_input_data",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"dispute",plural:!1,selections:[d,e],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useXIORLEDMDisputeCreationFromUserInputMutation",selections:[{alias:null,args:b,concreteType:"XFBXIOMEDMDisputeCreationResponseObject",kind:"LinkedField",name:"xfb_create_edm_dispute_from_user_input_data",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"dispute",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d,e,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"9711543085551231",metadata:{},name:"useXIORLEDMDisputeCreationFromUserInputMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
-----
useXIORLEDMDisputeCreationFromUserInputMutation",["CometRelay","react","react-compiler-runtime","useXIORLEDMDisputeCreationFromUserInputMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;(i||d("react")).useCallback;var j=h!==void 0?h:h=b("useXIORLEDMDisputeCreationFromUserInputMutation.graphql");function a(){var a=d("react-compiler-runtime").c(5),b=d("CometRelay").useMutation(j),c=b[0];b=b[1];var e;a[0]!==c?(e=function(a){var b=a.input,d=a.onCompleted;a=a.onError;return c({onCompleted:d,onError:a,variables:{input:b}})},a[0]=c,a[1]=e):e=a[1];e=e;var f;a[2]!==b||a[3]!==e?(f=[e,b],a[2]=b,a[3]=e,a[4]=f):f=a[4];return f}g["default"]=a}),98);
-----
useXIORLEDMDisputeCreationFromUserInputMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c={alias:null,args:null,kind:"ScalarField",name:"result",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"reference_number",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useXIORLEDMDisputeCreationFromUserInputMutation",selections:[{alias:null,args:b,concreteType:"XFBXIOMEDMDisputeCreationResponseObject",kind:"LinkedField",name:"xfb_create_edm_dispute_from_user_input_data",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"dispute",plural:!1,selections:[d,e],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useXIORLEDMDisputeCreationFromUserInputMutation",selections:[{alias:null,args:b,concreteType:"XFBXIOMEDMDisputeCreationResponseObject",kind:"LinkedField",name:"xfb_create_edm_dispute_from_user_input_data",plural:!1,selections:[c,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"dispute",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d,e,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"9711543085551231",metadata:{},name:"useXIORLEDMDisputeCreationFromUserInputMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----