BSCPaperlessSettingDialogMutation.facebook.graphql",["BSCPaperlessSettingDialogMutation_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"fe_id"},{defaultValue:null,kind:"LocalArgument",name:"is_paperless_enabled"}],t=[{alias:null,args:[{kind:"Variable",name:"fe_id",variableName:"fe_id"},{kind:"Variable",name:"is_paperless_enabled",variableName:"is_paperless_enabled"}],kind:"ScalarField",name:"xfb_update_tax_forms_paperless_consent",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"BSCPaperlessSettingDialogMutation",selections:t,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"BSCPaperlessSettingDialogMutation",selections:t},params:{id:n("BSCPaperlessSettingDialogMutation_facebookRelayOperation"),metadata:{},name:"BSCPaperlessSettingDialogMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
BSCPaperlessSettingDialogMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24779530838410283"}),null);
-----
BSCPaperlessSettingDialog.react",["fbt","BSCPaperlessSettingDialogMutation.graphql","BaseDivider.react","BaseToasterStateManager","CometColumn.react","CometColumnItem.react","CometToast.react","FDSCautionTriangleFilled20Icon","FDSDialog.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSIcon.react","FDSLink.react","FDSListCell.react","FDSListCellCheckboxAddOn.react","FDSText.react","FDSTextPairing.react","RelayHooks","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.useState,m=e!==void 0?e:e=n("BSCPaperlessSettingDialogMutation.graphql"),p="https://www.facebook.com/legal/edeliverydisclosure",_={DIALOG_TITLE:s._(/*BTDS*/"Paperless setting"),ERROR_MESSAGE_FOR_PAPERLESS_SETTING_UPDATE:s._(/*BTDS*/"Something went wrong. Please try again."),PAPERLESS_DELIVERY_LABEL:s._(/*BTDS*/"Paperless delivery"),UPDATE_BUTTON:s._(/*BTDS*/"Update"),getChangesToDeliveryPreferencesText:function(){return s._(/*BTDS*/"Make changes to delivery preferences by {date} to apply updates to the current tax year.",[s._param("date",c.jsx("strong",{children:"Dec 31, 2025"}))])},getEConsentNoticeString:function(){return s._(/*BTDS*/"By tapping Update, you agree to receive your tax forms online or by mail and agree to the {disclosure e consent link}.",[s._param("disclosure e consent link",c.jsx(r("FDSLink.react"),{href:p,children:"Tax Forms Electronic Delivery Disclosure"}))])},getPaperlessDeliveryExplanation:function(t){return s._(/*BTDS*/"Tax form download link will be sent to {email} and other payout admins.",[s._param("email",c.jsx("strong",{children:t}))])}};function f(e){var t=o("react-compiler-runtime").c(33),n=e.financial_id,a=e.isPaperlessEnabledInitialValue,i=e.onClose,l=e.onUpdatePaperlessStatus,s=e.userEmail,u=d(a),p=u[0],f=u[1],g=o("RelayHooks").useMutation(m),h=g[0],y=g[1],C;t[0]!==n||t[1]!==p||t[2]!==i||t[3]!==l||t[4]!==h?(C=function(){var e=r("BaseToasterStateManager").getInstance();h({onCompleted:function(){l(p),i()},onError:function(n){var t=e.push(c.jsx(r("CometToast.react"),{icon:c.jsx(r("FDSIcon.react"),{color:"negative",icon:r("FDSCautionTriangleFilled20Icon"),size:20}),message:_.ERROR_MESSAGE_FOR_PAPERLESS_SETTING_UPDATE,onDismiss:function(){e.expire(t)}}),5e3)},variables:{fe_id:n,is_paperless_enabled:p}})},t[0]=n,t[1]=p,t[2]=i,t[3]=l,t[4]=h,t[5]=C):C=t[5];var b=C,v;t[6]!==i?(v=c.jsx(r("FDSDialogHeader.react"),{onClose:i,text:_.DIALOG_TITLE}),t[6]=i,t[7]=v):v=t[7];var S=v,R=y||p===a,L;t[8]!==b||t[9]!==R?(L=c.jsx(r("FDSDialogFooter.react"),{primary:{disabled:R,label:_.UPDATE_BUTTON,onPress:b}}),t[8]=b,t[9]=R,t[10]=L):L=t[10];var E=L,k;t[11]!==p?(k=function(){return f(!p)},t[11]=p,t[12]=k):k=t[12];var I;t[13]!==p||t[14]!==k?(I=c.jsx(r("FDSListCellCheckboxAddOn.react"),{checked:p,onChange:k}),t[13]=p,t[14]=k,t[15]=I):I=t[15];var T;t[16]!==s?(T=_.getPaperlessDeliveryExplanation(s),t[16]=s,t[17]=T):T=t[17];var D;t[18]!==T?(D=c.jsx(r("FDSTextPairing.react"),{headline:_.PAPERLESS_DELIVERY_LABEL,level:3,meta:T}),t[18]=T,t[19]=D):D=t[19];var x;t[20]!==I||t[21]!==D?(x=c.jsx(r("CometColumnItem.react"),{children:c.jsx(r("FDSListCell.react"),{addOnEnd:I,content:D,contentPaddingHorizontal:16})}),t[20]=I,t[21]=D,t[22]=x):x=t[22];var $;t[23]===Symbol.for("react.memo_cache_sentinel")?($=c.jsx(r("CometColumnItem.react"),{children:c.jsx(r("BaseDivider.react"),{})}),t[23]=$):$=t[23];var P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P=c.jsx(r("CometColumnItem.react"),{paddingHorizontal:16,children:c.jsx(r("FDSText.react"),{align:"center",color:"secondary",type:"meta3",children:_.getChangesToDeliveryPreferencesText()})}),t[24]=P):P=t[24];var N;t[25]===Symbol.for("react.memo_cache_sentinel")?(N=c.jsx(r("CometColumnItem.react"),{paddingHorizontal:16,paddingTop:12,children:c.jsx(r("FDSText.react"),{align:"center",color:"secondary",type:"meta3",children:_.getEConsentNoticeString()})}),t[25]=N):N=t[25];var M;t[26]!==x?(M=c.jsxs(r("CometColumn.react"),{paddingVertical:12,spacing:16,children:[x,$,P,N]}),t[26]=x,t[27]=M):M=t[27];var w;return t[28]!==E||t[29]!==S||t[30]!==i||t[31]!==M?(w=c.jsx(r("FDSDialog.react"),{footer:E,header:S,onClose:i,children:M}),t[28]=E,t[29]=S,t[30]=i,t[31]=M,t[32]=w):w=t[32],w}l.default=f}),226);
-----
BSCPaperlessSettingDialogMutation.graphql",["cr:9368"],(function(t,n,r,o,a,i,l){"use strict";i.exports=n("cr:9368")}),34);
-----
BSCPaperlessSettingDialogMutation.oculus.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"fe_id"},{defaultValue:null,kind:"LocalArgument",name:"is_paperless_enabled"}],t=[{alias:null,args:[{kind:"Variable",name:"fe_id",variableName:"fe_id"},{kind:"Variable",name:"is_paperless_enabled",variableName:"is_paperless_enabled"}],kind:"ScalarField",name:"xfb_update_tax_forms_paperless_consent",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"BSCPaperlessSettingDialogMutation",selections:t,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"BSCPaperlessSettingDialogMutation",selections:t},params:{id:"24779530838410283",metadata:{},name:"BSCPaperlessSettingDialogMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----
-----
BSCPaperlessSettingDialogMutation_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="24779530838410283"}),null);
-----
BSCPaperlessSettingDialog.react",["fbt","BSCPaperlessSettingDialogMutation.graphql","BaseDivider.react","BaseToasterStateManager","CometColumn.react","CometColumnItem.react","CometToast.react","FDSCautionTriangleFilled20Icon","FDSDialog.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSIcon.react","FDSLink.react","FDSListCell.react","FDSListCellCheckboxAddOn.react","FDSText.react","FDSTextPairing.react","RelayHooks","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.useState,m=e!==void 0?e:e=n("BSCPaperlessSettingDialogMutation.graphql"),p="https://www.facebook.com/legal/edeliverydisclosure",_={DIALOG_TITLE:s._(/*BTDS*/"Paperless setting"),ERROR_MESSAGE_FOR_PAPERLESS_SETTING_UPDATE:s._(/*BTDS*/"Something went wrong. Please try again."),PAPERLESS_DELIVERY_LABEL:s._(/*BTDS*/"Paperless delivery"),UPDATE_BUTTON:s._(/*BTDS*/"Update"),getChangesToDeliveryPreferencesText:function(){return s._(/*BTDS*/"Make changes to delivery preferences by {date} to apply updates to the current tax year.",[s._param("date",c.jsx("strong",{children:"Dec 31, 2025"}))])},getEConsentNoticeString:function(){return s._(/*BTDS*/"By tapping Update, you agree to receive your tax forms online or by mail and agree to the {disclosure e consent link}.",[s._param("disclosure e consent link",c.jsx(r("FDSLink.react"),{href:p,children:"Tax Forms Electronic Delivery Disclosure"}))])},getPaperlessDeliveryExplanation:function(t){return s._(/*BTDS*/"Tax form download link will be sent to {email} and other payout admins.",[s._param("email",c.jsx("strong",{children:t}))])}};function f(e){var t=o("react-compiler-runtime").c(33),n=e.financial_id,a=e.isPaperlessEnabledInitialValue,i=e.onClose,l=e.onUpdatePaperlessStatus,s=e.userEmail,u=d(a),p=u[0],f=u[1],g=o("RelayHooks").useMutation(m),h=g[0],y=g[1],C;t[0]!==n||t[1]!==p||t[2]!==i||t[3]!==l||t[4]!==h?(C=function(){var e=r("BaseToasterStateManager").getInstance();h({onCompleted:function(){l(p),i()},onError:function(n){var t=e.push(c.jsx(r("CometToast.react"),{icon:c.jsx(r("FDSIcon.react"),{color:"negative",icon:r("FDSCautionTriangleFilled20Icon"),size:20}),message:_.ERROR_MESSAGE_FOR_PAPERLESS_SETTING_UPDATE,onDismiss:function(){e.expire(t)}}),5e3)},variables:{fe_id:n,is_paperless_enabled:p}})},t[0]=n,t[1]=p,t[2]=i,t[3]=l,t[4]=h,t[5]=C):C=t[5];var b=C,v;t[6]!==i?(v=c.jsx(r("FDSDialogHeader.react"),{onClose:i,text:_.DIALOG_TITLE}),t[6]=i,t[7]=v):v=t[7];var S=v,R=y||p===a,L;t[8]!==b||t[9]!==R?(L=c.jsx(r("FDSDialogFooter.react"),{primary:{disabled:R,label:_.UPDATE_BUTTON,onPress:b}}),t[8]=b,t[9]=R,t[10]=L):L=t[10];var E=L,k;t[11]!==p?(k=function(){return f(!p)},t[11]=p,t[12]=k):k=t[12];var I;t[13]!==p||t[14]!==k?(I=c.jsx(r("FDSListCellCheckboxAddOn.react"),{checked:p,onChange:k}),t[13]=p,t[14]=k,t[15]=I):I=t[15];var T;t[16]!==s?(T=_.getPaperlessDeliveryExplanation(s),t[16]=s,t[17]=T):T=t[17];var D;t[18]!==T?(D=c.jsx(r("FDSTextPairing.react"),{headline:_.PAPERLESS_DELIVERY_LABEL,level:3,meta:T}),t[18]=T,t[19]=D):D=t[19];var x;t[20]!==I||t[21]!==D?(x=c.jsx(r("CometColumnItem.react"),{children:c.jsx(r("FDSListCell.react"),{addOnEnd:I,content:D,contentPaddingHorizontal:16})}),t[20]=I,t[21]=D,t[22]=x):x=t[22];var $;t[23]===Symbol.for("react.memo_cache_sentinel")?($=c.jsx(r("CometColumnItem.react"),{children:c.jsx(r("BaseDivider.react"),{})}),t[23]=$):$=t[23];var P;t[24]===Symbol.for("react.memo_cache_sentinel")?(P=c.jsx(r("CometColumnItem.react"),{paddingHorizontal:16,children:c.jsx(r("FDSText.react"),{align:"center",color:"secondary",type:"meta3",children:_.getChangesToDeliveryPreferencesText()})}),t[24]=P):P=t[24];var N;t[25]===Symbol.for("react.memo_cache_sentinel")?(N=c.jsx(r("CometColumnItem.react"),{paddingHorizontal:16,paddingTop:12,children:c.jsx(r("FDSText.react"),{align:"center",color:"secondary",type:"meta3",children:_.getEConsentNoticeString()})}),t[25]=N):N=t[25];var M;t[26]!==x?(M=c.jsxs(r("CometColumn.react"),{paddingVertical:12,spacing:16,children:[x,$,P,N]}),t[26]=x,t[27]=M):M=t[27];var w;return t[28]!==E||t[29]!==S||t[30]!==i||t[31]!==M?(w=c.jsx(r("FDSDialog.react"),{footer:E,header:S,onClose:i,children:M}),t[28]=E,t[29]=S,t[30]=i,t[31]=M,t[32]=w):w=t[32],w}l.default=f}),226);
-----
BSCPaperlessSettingDialogMutation.graphql",["cr:9368"],(function(t,n,r,o,a,i,l){"use strict";i.exports=n("cr:9368")}),34);
-----
BSCPaperlessSettingDialogMutation.oculus.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"fe_id"},{defaultValue:null,kind:"LocalArgument",name:"is_paperless_enabled"}],t=[{alias:null,args:[{kind:"Variable",name:"fe_id",variableName:"fe_id"},{kind:"Variable",name:"is_paperless_enabled",variableName:"is_paperless_enabled"}],kind:"ScalarField",name:"xfb_update_tax_forms_paperless_consent",storageKey:null}];return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"BSCPaperlessSettingDialogMutation",selections:t,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"BSCPaperlessSettingDialogMutation",selections:t},params:{id:"24779530838410283",metadata:{},name:"BSCPaperlessSettingDialogMutation",operationKind:"mutation",text:null}}})();a.exports=e}),null);
-----