OCAccountEmailPreferencesView.react",["fbt","OCAccountButtonContainerNew.react","OCAccountCommunicationsSettings.react","OCAccountEmailPreferencesCoreApp.react","OCAccountEmailPreferencesInternalDevApp.react","OCAccountEmailPreferencesView_all_legacy_categories.graphql","OCAccountEmailPreferencesView_viewer.graphql","OCAccountEmailUpdateBulkCategoryPreferencesMutation","OCAccountEmailUpdateBulkPreferencesMutation","OCAccountPageNotFoundView.react","OCAccountViewBase.react","OCDSButton.react","OCDSHeading.react","OCDSText.react","Promise","RelayHooks","asyncToGeneratorRuntime","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=l||(l=d("react")),n=l.useState,o={subheader:{paddingTop:"x9orja2",paddingBottom:"xbaz6xv",$$css:!0}};function a(a){var e,f,g=a.legacyCategoriesViewer;a=a.viewer;var l=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCAccountEmailPreferencesView_viewer.graphql"),a);a=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCAccountEmailPreferencesView_all_legacy_categories.graphql"),g);g=n(!1);var p=g[0],q=g[1];g=n(!1);var r=g[0],s=g[1];g=n(!1);var t=g[0],u=g[1];g=n("");var v=g[0],w=g[1];g=n(new Map());var x=g[0],y=g[1];g=n(new Map());var z=g[0],A=g[1],B=d("RelayHooks").useRelayEnvironment(),C=function(a,b){return{actor_id:a,preferences:b}},D=function(a,b){return{actor_id:a,preferences:b}};g=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){a.preventDefault();a=(a=l==null?void 0:(a=l.user)==null?void 0:a.id)!=null?a:"";s(!1);u(!0);w("");var c=F(x),e=H(z);try{c=d("OCAccountEmailUpdateBulkPreferencesMutation").commit(B,C(a,c));A(new Map());a=d("OCAccountEmailUpdateBulkCategoryPreferencesMutation").commit(B,D(a,e));A(new Map());yield (k||(k=b("Promise"))).all([c,a]);s(!0);u(!1);q(!1)}catch(a){s(!1),u(!1),w(a.name)}});return function(b){return a.apply(this,arguments)}}();var E=function(a,b){q(!0),s(!1),y(new Map(x.set(a,b)))},F=function(a){var b=[];for(a of a.entries()){var c=a[0],d=a[1];b.push({app_id:c,state:d})}return b},G=function(a,b,c){q(!0);s(!1);var d=z.get(a);if(d==null){var e=new Map();e.set(b,c);A(new Map(z.set(a,e)))}else{e=new Map(d.set(b,c));A(new Map(z.set(a,e)))}},H=function(a){var b=[];for(a of a.entries()){var c=a[0],d=a[1];for(d of d.entries()){var e=d[0],f=d[1];b.push({app_id:c,category:e,state:f})}}return b},I=l==null?void 0:l.user;if(I==null)return m.jsx(c("OCAccountPageNotFoundView.react"),{});e=((e=l==null?void 0:(e=l.user)==null?void 0:e.notification_user_core_app_email_preferences)!=null?e:[]).map(function(a,b){return m.jsx(c("OCAccountEmailPreferencesCoreApp.react"),{appPref:a,categoryPrefs:z,setAppPrefs:E,setCategoryPrefs:G},b)});f=((f=l==null?void 0:(f=l.user)==null?void 0:f.notification_user_internal_developer_app_email_preferences)!=null?f:[]).map(function(a,b){return m.jsx(c("OCAccountEmailPreferencesInternalDevApp.react"),{appPref:a,categoryPrefs:z,setAppPrefs:E,setCategoryPrefs:G},b)});return m.jsxs(c("OCAccountViewBase.react"),{headerText:h._("Email preferences"),user:I,children:[m.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:o.subheader,children:h._("Meta Quest")}),m.jsxs("form",{method:"POST",onSubmit:g,children:[m.jsx("div",{children:e}),m.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:o.subheader,children:h._("App emails")}),m.jsx("div",{children:f}),r&&m.jsx(c("OCDSText.react"),{color:"success",display:"block",textAlign:"center",type:"body2",children:h._("Your account has been updated.")}),v&&m.jsx(c("OCDSText.react"),{color:"error",display:"block",textAlign:"center",type:"body2",children:h._("An error occurred: {error name}",[h._param("error name",v)])}),m.jsx(c("OCAccountButtonContainerNew.react"),{children:m.jsx(c("OCDSButton.react"),{isDisabled:t||!p,isLoading:t,label:h._("UPDATE"),variant:"outline"})})]}),a!=null&&m.jsx(c("OCAccountCommunicationsSettings.react"),{allCategoriesFragment:a,userFragment:l==null?void 0:l.user})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCAccountCommunicationsSettings.react",["fbt","OCAccountButtonContainer.react","OCAccountChangeEmailSubscriptionsMutation","OCAccountCommunicationsSettingsSection.react","OCAccountCommunicationsSettings_all_categories.graphql","OCAccountCommunicationsSettings_user.graphql","OCDSButton.react","OCDSSpacer.react","OCDSText.react","OCWWWAnalyticsLoggingMyPrivacyCommunicationsUpdateAttempt.log","RelayHooks","asyncToGeneratorRuntime","nullthrows","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useCallback,n=e.useMemo,o=e.useState,p="OCAccountCommunicationsSettings",q={header:{marginTop:"x11fxgd9",marginBottom:"x4n8cb0",$$css:!0}};function a(a){var e=a.allCategoriesFragment;a=a.userFragment;var f=o(!1),g=f[0],i=f[1];f=o(!1);var j=f[0],k=f[1];f=o(!1);var t=f[0],u=f[1];f=o(!1);var v=f[0],w=f[1],x=d("RelayHooks").useFragment(r,a),y=(f=d("RelayHooks").useFragment(s,e))==null?void 0:f.categories;a=n(function(){var b=[],a=[],c=[];y==null?void 0:y.map(function(d){d.category_type==="PRODUCT_NOTIFICATIONS"?b.push(d):d.category_type==="CONSUMER_MARKETING"?a.push(d):d.category_type==="USER_RESEARCH"&&c.push(d)});return{product_notifications:b,consumer_marketing:a,user_research:c}},[y]);var z=a.consumer_marketing,A=a.product_notifications,B=a.user_research,C=n(function(){var a=new Map();x==null?void 0:x.email_subscription_categories.map(function(b){a.set(c("nullthrows")(b.id),!0)});return a},[x==null?void 0:x.email_subscription_categories]),D=m(function(a,b){C.set(a,b),k(!0)},[C]);e=n(function(){return A.length?l.jsx(c("OCAccountCommunicationsSettingsSection.react"),{categories:A,headerText:h._("Product notifications"),subscriptions:C,onChange:D}):null},[D,A,C]);f=n(function(){var a;return z.length?l.jsx(c("OCAccountCommunicationsSettingsSection.react"),{categories:z,disableForSalsa:(a=x==null?void 0:x.is_salsa)!=null?a:!1,headerText:h._("Marketing emails"),subscriptions:C,onChange:D}):null},[z,D,C,x==null?void 0:x.is_salsa]);a=n(function(){var a;return B.length?l.jsx(c("OCAccountCommunicationsSettingsSection.react"),{categories:B,disableForSalsa:(a=x==null?void 0:x.is_salsa)!=null?a:!1,headerText:h._("User research"),subscriptions:C,onChange:D}):null},[B,x==null?void 0:x.is_salsa,C,D]);var E=function(){var a=b("asyncToGeneratorRuntime").asyncToGenerator(function*(a){a.preventDefault();u(!0);i(!1);w(!1);a=c("nullthrows")(y).map(function(a){var b=a.display_name;a=a.id;return{text:b,value:(a=C.get((b=a)!=null?b:""))!=null?a:!1}});c("OCWWWAnalyticsLoggingMyPrivacyCommunicationsUpdateAttempt.log")(p,{subscriptions:a});try{yield d("OCAccountChangeEmailSubscriptionsMutation").commit(C),u(!1),w(!0),k(!1)}catch(a){u(!1),w(!1),i(!0)}});return function(b){return a.apply(this,arguments)}}();return l.jsx("div",{children:l.jsxs("div",{children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body2",xstyle:q.header,children:h._("Manage your newsletter subscriptions.")}),g&&l.jsx(c("OCDSSpacer.react"),{bottomSize:"small",children:l.jsx(c("OCDSText.react"),{color:"error",display:"block",textAlign:"center",type:"body2",children:h._("Something went wrong. Please try again.")})}),v&&l.jsx(c("OCDSSpacer.react"),{bottomSize:"small",children:l.jsx(c("OCDSText.react"),{color:"success",display:"block",textAlign:"center",type:"body2",children:h._("Your account has been updated.")})}),l.jsxs("form",{method:"post",onSubmit:E,children:[l.jsxs("div",{children:[e,f,a]}),l.jsx(c("OCAccountButtonContainer.react"),{children:l.jsx(c("OCDSButton.react"),{isDisabled:t||!j,isLoading:t,label:h._("UPDATE"),type:"secondary",variant:"outline"})})]})]})})}a.displayName=a.name+" [from "+f.id+"]";var r=i!==void 0?i:i=b("OCAccountCommunicationsSettings_user.graphql"),s=j!==void 0?j:j=b("OCAccountCommunicationsSettings_all_categories.graphql");g["default"]=a}),226);
-----
OCAccountCommunicationsSettingsSection.react",["OCAccountCommunicationsSettingsCategory.react","OCDSHeading.react","OCDSSpacer.react","nullthrows","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={header:{marginTop:"x11fxgd9",marginBottom:"x4n8cb0",$$css:!0}};function a(a){var b=a.categories,d=a.disableForSalsa,e=d===void 0?!1:d;d=a.headerText;var f=a.onChange,g=a.subscriptions;b.sort(function(a,b){return c("nullthrows")(a.display_name)-----
OCAccountCommunicationsSettings_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountCommunicationsSettings_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:null,concreteType:"EmailSubscriptionCategory",kind:"LinkedField",name:"email_subscription_categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null);
-----
OCAccountEmailPreferencesView_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountEmailPreferencesView_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"XOCOCPerUserCoreAppEmailNotifPreference",kind:"LinkedField",name:"notification_user_core_app_email_preferences",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCAccountEmailPreferencesCoreApp"}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPerUserDeveloperAppEmailNotifPreference",kind:"LinkedField",name:"notification_user_internal_developer_app_email_preferences",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCAccountEmailPreferencesInternalDevApp"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountViewBase_user"},{args:null,kind:"FragmentSpread",name:"OCAccountCommunicationsSettings_user"}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCAccountCommunicationsSettingsCategory.react",["fbt","OCDSCheckboxInput.react","OCDSHeading.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSSpacer.react","OCDSText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useState;function a(a){var b=a.category_id,d=a.checked,e=a.description,f=a.disabled;f=f===void 0?!1:f;var g=a.display_name,i=a.onChange;a="category#"+b;d=k(d);var l=d[0],m=d[1];d=function(a){i(b,a),m(a)};return j.jsxs("div",{className:"xso031l x1q0q8m5 x135p29s xieb3on xx6bls6 x1t1lzn6",children:[j.jsxs(c("OCDSResponsiveRow.react"),{children:[j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:8,desktop:9},children:j.jsx(c("OCDSSpacer.react"),{bottomSize:"xsmall",children:j.jsx(c("OCDSHeading.react"),{type:"heading6",children:h._("{email subscription category display name}",[h._param("email subscription category display name",g)])})})}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:4,desktop:3},children:j.jsx(c("OCDSCheckboxInput.react"),{isDisabled:f,isLabelHidden:!0,label:h._("{email subscription category display name}",[h._param("email subscription category display name",g)]),value:l,onChange:d})})]}),e!=null&&j.jsx(c("OCDSResponsiveRow.react"),{children:j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:8,desktop:9},children:j.jsx(c("OCDSText.react"),{display:"block",type:"body2",children:h._("{email subscription category description}",[h._param("email subscription category description",e)])})})})]},a)}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCAccountCommunicationsSettings_all_categories.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountCommunicationsSettings_all_categories",selections:[{alias:null,args:null,concreteType:"EmailSubscriptionCategory",kind:"LinkedField",name:"categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"category_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],storageKey:null}],type:"EmailSubscriptionCategoriesList",abstractKey:null};e.exports=a}),null);
-----
OCAccountEmailPreferencesView_all_legacy_categories.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountEmailPreferencesView_all_legacy_categories",selections:[{args:null,kind:"FragmentSpread",name:"OCAccountCommunicationsSettings_all_categories"}],type:"EmailSubscriptionCategoriesList",abstractKey:null};e.exports=a}),null);
-----
OCAccountCommunicationsSettingsSection.react",["OCAccountCommunicationsSettingsCategory.react","OCDSHeading.react","OCDSSpacer.react","nullthrows","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=h||d("react"),j={header:{marginTop:"x11fxgd9",marginBottom:"x4n8cb0",$$css:!0}};function a(a){var b=a.categories,d=a.disableForSalsa,e=d===void 0?!1:d;d=a.headerText;var f=a.onChange,g=a.subscriptions;b.sort(function(a,b){return c("nullthrows")(a.display_name)-----
OCAccountCommunicationsSettings_user.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountCommunicationsSettings_user",selections:[{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:null,concreteType:"EmailSubscriptionCategory",kind:"LinkedField",name:"email_subscription_categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],type:"User",abstractKey:null};e.exports=a}),null);
-----
OCAccountCommunicationsSettingsCategory.react",["fbt","OCDSCheckboxInput.react","OCDSHeading.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSSpacer.react","OCDSText.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||(i=d("react")),k=i.useState;function a(a){var b=a.category_id,d=a.checked,e=a.description,f=a.disabled;f=f===void 0?!1:f;var g=a.display_name,i=a.onChange;a="category#"+b;d=k(d);var l=d[0],m=d[1];d=function(a){i(b,a),m(a)};return j.jsxs("div",{className:"xso031l x1q0q8m5 x135p29s xieb3on xx6bls6 x1t1lzn6",children:[j.jsxs(c("OCDSResponsiveRow.react"),{children:[j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:8,desktop:9},children:j.jsx(c("OCDSSpacer.react"),{bottomSize:"xsmall",children:j.jsx(c("OCDSHeading.react"),{type:"heading6",children:h._("{email subscription category display name}",[h._param("email subscription category display name",g)])})})}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:4,desktop:3},children:j.jsx(c("OCDSCheckboxInput.react"),{isDisabled:f,isLabelHidden:!0,label:h._("{email subscription category display name}",[h._param("email subscription category display name",g)]),value:l,onChange:d})})]}),e!=null&&j.jsx(c("OCDSResponsiveRow.react"),{children:j.jsx(c("OCDSResponsiveRowItem.react"),{span:{mobile:6,tablet:8,desktop:9},children:j.jsx(c("OCDSText.react"),{display:"block",type:"body2",children:h._("{email subscription category description}",[h._param("email subscription category description",e)])})})})]},a)}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCAccountEmailPreferencesView.react",["fbt","OCAccountButtonContainerNew.react","OCAccountCommunicationsSettings.react","OCAccountEmailPreferencesCoreApp.react","OCAccountEmailPreferencesInternalDevApp.react","OCAccountEmailPreferencesView_all_legacy_categories.graphql","OCAccountEmailPreferencesView_viewer.graphql","OCAccountEmailUpdateBulkCategoryPreferencesMutation","OCAccountEmailUpdateBulkPreferencesMutation","OCAccountPageNotFoundView.react","OCAccountViewBase.react","OCDSButton.react","OCDSHeading.react","OCDSText.react","Promise","RelayHooks","react","regeneratorRuntime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useState,m={subheader:{paddingTop:"x9orja2",paddingBottom:"xbaz6xv",$$css:!0}};function a(a){var e,f,g=a.legacyCategoriesViewer;a=a.viewer;var n=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCAccountEmailPreferencesView_viewer.graphql"),a);a=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCAccountEmailPreferencesView_all_legacy_categories.graphql"),g);g=l(!1);var o=g[0],p=g[1];g=l(!1);var q=g[0],r=g[1];g=l(!1);var s=g[0],t=g[1];g=l("");var u=g[0],v=g[1];g=l(new Map());var w=g[0],x=g[1];g=l(new Map());var y=g[0],z=g[1],A=d("RelayHooks").useRelayEnvironment(),B=function(a,b){return{actor_id:a,preferences:b}},C=function(a,b){return{actor_id:a,preferences:b}};g=function(a){var c,e,f,g,h,i,j;return b("regeneratorRuntime").async(function(k){while(1)switch(k.prev=k.next){case 0:a.preventDefault();f=(c=n==null?void 0:(e=n.user)==null?void 0:e.id)!=null?c:"";r(!1);t(!0);v("");g=E(w);h=G(y);k.prev=7;i=d("OCAccountEmailUpdateBulkPreferencesMutation").commit(A,B(f,g));z(new Map());j=d("OCAccountEmailUpdateBulkCategoryPreferencesMutation").commit(A,C(f,h));z(new Map());k.next=14;return b("regeneratorRuntime").awrap(b("Promise").all([i,j]));case 14:r(!0);t(!1);p(!1);k.next=24;break;case 19:k.prev=19,k.t0=k["catch"](7),r(!1),t(!1),v(k.t0.name);case 24:case"end":return k.stop()}},null,this,[[7,19]])};var D=function(a,b){p(!0),r(!1),x(new Map(w.set(a,b)))},E=function(a){var b=[];for(var a=a.entries(),c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];b.push({app_id:f,state:e})}return b},F=function(a,b,c){p(!0);r(!1);var d=y.get(a);if(d==null){var e=new Map();e.set(b,c);z(new Map(y.set(a,e)))}else{e=new Map(d.set(b,c));z(new Map(y.set(a,e)))}},G=function(a){var b=[];for(var a=a.entries(),c=Array.isArray(a),d=0,a=c?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=a.length)break;e=a[d++]}else{d=a.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];for(var e=e.entries(),g=Array.isArray(e),h=0,e=g?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var i;if(g){if(h>=e.length)break;i=e[h++]}else{h=e.next();if(h.done)break;i=h.value}i=i;var j=i[0];i=i[1];b.push({app_id:f,category:j,state:i})}}return b},H=n==null?void 0:n.user;if(H==null)return k.jsx(c("OCAccountPageNotFoundView.react"),{});e=((e=n==null?void 0:(e=n.user)==null?void 0:e.notification_user_core_app_email_preferences)!=null?e:[]).map(function(a,b){return k.jsx(c("OCAccountEmailPreferencesCoreApp.react"),{appPref:a,categoryPrefs:y,setAppPrefs:D,setCategoryPrefs:F},b)});f=((f=n==null?void 0:(f=n.user)==null?void 0:f.notification_user_internal_developer_app_email_preferences)!=null?f:[]).map(function(a,b){return k.jsx(c("OCAccountEmailPreferencesInternalDevApp.react"),{appPref:a,categoryPrefs:y,setAppPrefs:D,setCategoryPrefs:F},b)});return k.jsxs(c("OCAccountViewBase.react"),{headerText:h._("u90aeu4ef6u504fu597du8bbeu7f6e"),user:H,children:[k.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:m.subheader,children:h._("Oculus")}),k.jsxs("form",{method:"POST",onSubmit:g,children:[k.jsx("div",{children:e}),k.jsx(c("OCDSHeading.react"),{type:"heading4",xstyle:m.subheader,children:h._("u5e94u7528u90aeu4ef6")}),k.jsx("div",{children:f}),q&&k.jsx(c("OCDSText.react"),{color:"success",display:"block",textAlign:"center",type:"body2",children:h._("u4f60u7684u5e10u6237u5df2u66f4u65b0u3002")}),u&&k.jsx(c("OCDSText.react"),{color:"error",display:"block",textAlign:"center",type:"body2",children:h._("u51fau9519u4e86uff1a{error name}",[h._param("error name",u)])}),k.jsx(c("OCAccountButtonContainerNew.react"),{children:k.jsx(c("OCDSButton.react"),{isDisabled:s||!o,isLoading:s,label:h._("u66f4u65b0"),variant:"outline"})})]}),a!=null&&k.jsx(c("OCAccountCommunicationsSettings.react"),{all_categories:a,viewer:n})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCAccountCommunicationsSettings.react",["fbt","OCAccountButtonContainer.react","OCAccountChangeEmailSubscriptionsMutation","OCAccountCommunicationsSettings_all_categories.graphql","OCAccountCommunicationsSettings_viewer.graphql","OCDSButton.react","OCDSCheckboxInput.react","OCDSHeading.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSSpacer.react","OCDSText.react","OCRelayModern","OCWWWAnalyticsLoggingMyPrivacyCommunicationsUpdateAttempt.log","nullthrows","react","regeneratorRuntime"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l={header:{marginTop:"x11fxgd9",marginBottom:"x4n8cb0",$$css:!0},row:{borderBottom:"x1wfzsf3",marginBottom:"xieb3on",paddingBottom:"xx6bls6",":last-child_borderBottom":"x1rix2v9",$$css:!0}},m="OCAccountCommunicationsSettings";a=function(a){babelHelpers.inheritsLoose(e,a);function e(){var e,f;for(var g=arguments.length,h=new Array(g),i=0;i-----
OCAccountEmailPreferencesView_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountEmailPreferencesView_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"XOCOCPerUserCoreAppEmailNotifPreference",kind:"LinkedField",name:"notification_user_core_app_email_preferences",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCAccountEmailPreferencesCoreApp"}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPerUserDeveloperAppEmailNotifPreference",kind:"LinkedField",name:"notification_user_internal_developer_app_email_preferences",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCAccountEmailPreferencesInternalDevApp"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountViewBase_user"}],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountCommunicationsSettings_viewer"}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCAccountCommunicationsSettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountCommunicationsSettings_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:null,concreteType:"EmailSubscriptionCategory",kind:"LinkedField",name:"email_subscription_categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCAccountCommunicationsSettings_all_categories.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountCommunicationsSettings_all_categories",selections:[{alias:null,args:null,concreteType:"EmailSubscriptionCategory",kind:"LinkedField",name:"categories",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"category_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],storageKey:null}],type:"EmailSubscriptionCategoriesList",abstractKey:null};e.exports=a}),null);
-----
OCAccountEmailPreferencesView_all_legacy_categories.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountEmailPreferencesView_all_legacy_categories",selections:[{args:null,kind:"FragmentSpread",name:"OCAccountCommunicationsSettings_all_categories"}],type:"EmailSubscriptionCategoriesList",abstractKey:null};e.exports=a}),null);
-----