OCAccountPrivacyCenterSettings.react",["OCAccountPrivacyCenterAudienceOptions.react","OCAccountPrivacyCenterSettings_viewer.graphql","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCRelayModern","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||(i=d("react")),k=i.useState,l={row:{alignItems:"x6s0dn4",$$css:!0}};function a(a){var b;a=a.viewer;var d=k(!1),e=d[0],f=d[1],g=function(a){f(a)};d=(d=a==null?void 0:(d=a.user)==null?void 0:(d=d.privacy_settings_list)==null?void 0:d.edges)!=null?d:[];var h=(b=a==null?void 0:(b=a.user)==null?void 0:b.id)!=null?b:"",i=(b=a==null?void 0:(b=a.user)==null?void 0:b.setup_user_type)!=null?b:"",m=(a=a==null?void 0:(b=a.user)==null?void 0:b.is_salsa)!=null?a:!1;return d.filter(function(a){var b;return((b=a==null?void 0:(b=a.node)==null?void 0:b.key)!=null?b:!1)&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="IDENTITY_IN_SEARCH"&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="REAL_WORLD_IDENTITY"}).map(function(a){var b;return j.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:l.row,children:[j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:7,desktop:7},children:j.jsx(c("OCDSText.react"),{type:"body1",children:a==null?void 0:(b=a.node)==null?void 0:b.description})}),a.node&&j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:5,desktop:5},children:j.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:i,isSalsa:m,mutationInFlight:e,setting:a.node,userId:h,onMutate:g})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:h!==void 0?h:h=b("OCAccountPrivacyCenterSettings_viewer.graphql")});g["default"]=e}),98);
-----
OCAccountPrivacyCenterSettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterSettings_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,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
FRLSocialPrivacySettings.react",["fbt","FRLHideAppActivityRoute","FRLSocialPrivacySettings_viewer.graphql","FXAccountsCenterDiscoverabilityControlsRootRouteBuilder","FXAccountsCenterHorizonAutoFollowRootRouteBuilder","OCAccountPrivacyCenterAudienceOptions.react","OCDSButton.react","OCDSLink.react","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCLink.react","OCRelayModern","OCWWWSocialSetupLogging","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useState,n={row:{alignItems:"x6s0dn4",justifyContent:"x1qughib",$$css:!0},rightAlign:{textAlign:"x1hr2gdg",$$css:!0},margin:{marginBottom:"x12nagc",$$css:!0}},o=(e=c("FXAccountsCenterHorizonAutoFollowRootRouteBuilder").buildUri({}).setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),p=(e=c("FXAccountsCenterDiscoverabilityControlsRootRouteBuilder").buildUri({}).setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),q=new(j||(j=c("URI")))("https://store.facebook.com/help/945660416274371"),r=new j("https://meta.com/help/946285349854832"),s=c("FRLHideAppActivityRoute").getURI();function a(a){var b;a=a.viewer;var d=m(!1),e=d[0],f=d[1],g=function(a){f(a)},i="HIDDEN";d=(d=a==null?void 0:(d=a.user)==null?void 0:(d=d.privacy_settings_list)==null?void 0:d.edges)!=null?d:[];var j=(b=a==null?void 0:(b=a.user)==null?void 0:b.id)!=null?b:"",k=(b=a==null?void 0:(b=a.user)==null?void 0:b.setup_user_type)!=null?b:"",o=(b=a==null?void 0:(b=a.user)==null?void 0:b.is_salsa)!=null?b:!1;b=a==null?void 0:(b=a.user)==null?void 0:(b=b.app_groupings)==null?void 0:(b=b.edges)==null?void 0:b.filter(function(a){a=a==null?void 0:(a=a.node)==null?void 0:a.restrictions;return a!=null&&a.includes(i)});b=b?b.length.toString():"0";a=(a==null?void 0:(a=a.frlm_account)==null?void 0:a.proxy_managed_account)!=null;var p=o?h._("Review which apps people can see that you own and use"):h._("Manage which apps people can see that you own and use");return l.jsxs("div",{children:[d.map(function(a){var b;return l.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:a==null?void 0:(b=a.node)==null?void 0:b.description}),l.jsxs(c("OCDSText.react"),{type:"body2",children:[a==null?void 0:(b=a.node)==null?void 0:b.explanation,(a==null?void 0:(b=a.node)==null?void 0:b.key)==="CURRENT_ACTIVITY"?l.jsxs(l.Fragment,{children:[" ",h._("{=m0}",[h._implicitParam("=m0",l.jsx(c("OCDSLink.react"),{href:q,children:h._("Learn more")}))])]}):null]})]}),a.node&&l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:k,isSalsa:o,mutationInFlight:e,setting:a.node,userId:j,onMutate:g})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)}),l.jsx(u,{heading:h._("Hide activity for specific apps").toString(),numAppsHidden:h._("{numAppsHidden} apps",[h._param("numAppsHidden",b)]).toString(),subheading:p.toString(),userId:j}),!o&&!a&&l.jsxs(l.Fragment,{children:[l.jsx(t,{discoverability:!0,flowType:k,heading:h._("Choose which profiles are shown together").toString(),userId:j}),l.jsx(t,{discoverability:!1,flowType:k,heading:h._("Following people in Horizon").toString(),userId:j})]}),o&&l.jsx(c("OCDSText.react"),{type:"body2",children:h._("{=m0}",[h._implicitParam("=m0",l.jsx(c("OCDSLink.react"),{href:r,children:h._("Learn more about privacy settings")}))])})]})}a.displayName=a.name+" [from "+f.id+"]";function t(a){var b=a.discoverability,e=a.flowType,f=a.heading,g=a.userId;return l.jsx(c("OCDSPadding.react"),{vertical:"small",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:f})}),l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCDSButton.react"),{href:b?p:o,icon:"arrow-right",minWidth:250,target:"_self",type:"tertiary",onClick:function(){var a=b?"click_edit_discover_profile":"click_edit_auto_follow";d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:g,flow_type:e})},children:h._("Edit in Accounts Centre")})})]})})})}t.displayName=t.name+" [from "+f.id+"]";function u(a){var b=a.heading,e=a.numAppsHidden,f=a.subheading,g=a.userId;return l.jsx(c("OCDSPadding.react"),{vertical:"small",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:b}),l.jsx(c("OCDSText.react"),{type:"body2",children:f})]}),l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCLink.react"),{to:s.getPath(),children:l.jsx(c("OCDSButton.react"),{icon:"chevron-right",target:"_self",type:"tertiary",onClick:function(){d("OCWWWSocialSetupLogging").logSocialSetupEvent("click_hide_app_activity",{oculus_userid:g})},children:e})})})]})})})}u.displayName=u.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:i!==void 0?i:i=b("FRLSocialPrivacySettings_viewer.graphql")});g["default"]=e}),226);
-----
FRLSocialPrivacySettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSocialPrivacySettings_viewer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"frlm_account",plural:!1,selections:[{alias:null,args:null,concreteType:"XFRLMFRLMProxyManagedAccount",kind:"LinkedField",name:"proxy_managed_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"},{alias:null,args:null,concreteType:"UserAppGroupingsConnection",kind:"LinkedField",name:"app_groupings",plural:!1,selections:[{alias:null,args:null,concreteType:"UserAppGroupingsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ApplicationGrouping",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"restrictions",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions.react",["fbt","GraphQLError","OCAccountChangePrivacyMutation","OCAccountPrivacyCenterAudienceOptions_setting.graphql","OCAccountPrivacyCenterPrivateProfileOffDialog.react","OCContextualDialog.react","OCDSSelector.react","OCDSSelectorItem.react","OCErrorMessageHelper","OCPrivacyBaseState","OCRelayModern","OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log","OCWWWSocialSetupLogging","getJSEnumSafe","getPrivacySettingsLoggingSelectorClickEventType","getPrivacySettingsLoggingSelectorOptionsEventType","react"],(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.useRef,n=e.useState,o="OCAccountPrivacyCenterAudienceOptions";function a(a){var b=n(""),e=b[0],f=b[1];b=n(!1);var g=b[0],i=b[1],j=a.flowType,p=a.isSalsa,q=a.mutationInFlight,r=a.onMutate;b=a.setting;var s=b.key,t=b.name,u=b.options,v=b.selected_value,w=a.userId,x=function(a){a=(a=d("GraphQLError").getErrorMessage(a))!=null?a:d("OCErrorMessageHelper").unknownErrorMessage;f(a)},y=c("getJSEnumSafe")(c("OCPrivacyBaseState"),v);l(function(){g&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent("turn_off_private_profile_confirmation_window_load_success",{oculus_userid:w,flow_type:j})},[g,w,j]);b=function(b){if(b===v||s==null){f("");return}c("OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log")(o,{text:t,type:"dropdown",new_status:b,old_status:y});var e=c("getPrivacySettingsLoggingSelectorOptionsEventType")(s,b);e!=null&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(e,{oculus_userid:w,flow_type:j});s==="OC_VR_PRIVATE_PROFILE"&&b===c("OCPrivacyBaseState").OFF?i(!0):(r(!0),d("OCAccountChangePrivacyMutation").commit(a.relay.environment,{privacy:{base_state:b},privacy_concept:s},w).then(function(){r(!1),f("")})["catch"](function(a){r(!1),x(a)}))};var z=["OC_VR_PRIVATE_PROFILE","CURRENT_ACTIVITY","ACTIVE_STATUS","RICH_PRESENCE"],A=function(){if(q)return!0;return!p?!1:z.includes(s)},B=m(null),C=function(){return B==null?void 0:B.current},D=s==="OC_VR_PRIVATE_PROFILE"?h._("A private profile is required for your age group"):h._("This setting is managed by your parent");return s==null?null:k.jsxs("form",{className:"x1xmf6yo",method:"POST",children:[k.jsx("span",{ref:B,children:k.jsx(c("OCDSSelector.react"),{isDisabled:A(),value:y,onChange:b,onClick:function(){var a=c("getPrivacySettingsLoggingSelectorClickEventType")(s);a!=null&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:w,flow_type:j})},children:u.filter(function(a){var b;return((b=a.key)!=null?b:!1)&&((b=a.name)!=null?b:!1)}).map(function(a){var b;return k.jsx(c("OCDSSelectorItem.react"),{isDisabled:(b=a.is_disabled)!=null?b:!0,label:a.name,value:a.key},a.key)})})}),A()&&!q&&k.jsx(c("OCContextualDialog.react"),{contextRef:C,hoverContextRef:C,position:"above",children:k.jsx("div",{className:"x1cnzs8 x1iji9kk xx6bls6 x1sln4lm",children:D})}),k.jsx(c("OCAccountPrivacyCenterPrivateProfileOffDialog.react"),{flowType:j,isShown:g,relay:a.relay,setErrorMessage:f,userId:w,onCancel:function(){return i(!1)},onHide:function(){return i(!1)},onRemove:function(){return i(!1)}}),e&&k.jsx("div",{className:"x1iqnk88 x1xmf6yo",children:e})]})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{setting:i!==void 0?i:i=b("OCAccountPrivacyCenterAudienceOptions_setting.graphql")});g["default"]=e}),226);
-----
OCAccountPrivacyCenterAudienceOptions_setting.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterAudienceOptions_setting",selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"selected_value",storageKey:null},{alias:null,args:null,concreteType:"OCPrivacySettingsOptionTypeInfo",kind:"LinkedField",name:"options",plural:!0,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null}],storageKey:null}],type:"OCPrivacySettingsTypeInfo",abstractKey:null}}();e.exports=a}),null);
-----
FRLSocialPrivacySettings.react",["fbt","FRLHideAppActivityRoute","FRLSocialPrivacySettings_viewer.graphql","FRLXAccountsCenterDiscoverabilityControlsController","FRLXAccountsCenterHorizonAutoFollowController","OCAccountPrivacyCenterAudienceOptions.react","OCDSButton.react","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCLink.react","OCRelayModern","OCWWWSocialSetupLogging","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k={row:{alignItems:"x6s0dn4",justifyContent:"x1qughib",$$css:!0},rightAlign:{textAlign:"x1hr2gdg",$$css:!0},margin:{marginBottom:"x12nagc",$$css:!0}},l=(e=c("FRLXAccountsCenterHorizonAutoFollowController").getURIBuilder().getURI().setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),m=(e=c("FRLXAccountsCenterDiscoverabilityControlsController").getURIBuilder().getURI().setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),n=c("FRLHideAppActivityRoute").getURI();function a(a){var b,d,e="HIDDEN";b=(b=(b=a.viewer)==null?void 0:(b=b.user)==null?void 0:(b=b.privacy_settings_list)==null?void 0:b.edges)!=null?b:[];var f=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.id)!=null?d:"",g=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.setup_user_type)!=null?d:"";d=(d=a.viewer)==null?void 0:(a=d.user)==null?void 0:(d=a.app_groupings)==null?void 0:(a=d.edges)==null?void 0:a.filter(function(a){a=a==null?void 0:(a=a.node)==null?void 0:a.restrictions;return a!=null&&a.includes(e)});a=d?d.length.toString():"0";return j.jsxs("div",{children:[b.map(function(a){var b;return j.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a==null?void 0:(b=a.node)==null?void 0:b.description}),j.jsx(c("OCDSText.react"),{type:"body2",children:a==null?void 0:(b=a.node)==null?void 0:b.explanation})]}),a.node&&j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:g,setting:a.node,userId:f})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)}),j.jsx(p,{heading:h._("u9690u85cfu5177u4f53u5e94u7528u7684u52a8u6001").toString(),numAppsHidden:h._("{numAppsHidden}u4e2au5e94u7528",[h._param("numAppsHidden",a)]).toString(),subheading:h._("u7ba1u7406u7528u6237u80fdu770bu5230u4f60u62e5u6709u548cu4f7fu7528u54eau4e9bu5e94u7528").toString(),userId:f}),j.jsx(o,{discoverability:!0,flowType:g,heading:h._("u9009u62e9u4e00u540cu663eu793au7684u4e2au4ebau4e3bu9875").toString(),userId:f}),j.jsx(o,{discoverability:!1,flowType:g,heading:h._("u5728 Horizon u4e2du5173u6ce8u7528u6237").toString(),userId:f})]})}a.displayName=a.name+" [from "+f.id+"]";function o(a){return j.jsx(c("OCDSPadding.react"),{vertical:"small",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a.heading})}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCDSButton.react"),{href:a.discoverability?m:l,icon:"arrow-right",minWidth:250,target:"_self",type:"tertiary",onClick:function(){var b=a.discoverability?"click_edit_discover_profile":"click_edit_auto_follow";d("OCWWWSocialSetupLogging").logSocialSetupEvent(b,{oculus_userid:a.userId,flow_type:a.flowType})},children:h._("u5728u5e10u6237u7ba1u7406u4e2du5fc3u7f16u8f91")})})]})})})}o.displayName=o.name+" [from "+f.id+"]";function p(a){return j.jsx(c("OCDSPadding.react"),{vertical:"small",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a.heading}),j.jsx(c("OCDSText.react"),{type:"body2",children:a.subheading})]}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCLink.react"),{to:n.getPath(),children:j.jsx(c("OCDSButton.react"),{icon:"chevron-right",target:"_self",type:"tertiary",onClick:function(){d("OCWWWSocialSetupLogging").logSocialSetupEvent("click_hide_app_activity",{oculus_userid:a.userId})},children:a.numAppsHidden})})})]})})})}p.displayName=p.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:i!==void 0?i:i=b("FRLSocialPrivacySettings_viewer.graphql")});g["default"]=e}),98);
-----
OCAccountPrivacyCenterSettings.react",["OCAccountPrivacyCenterAudienceOptions.react","OCAccountPrivacyCenterSettings_viewer.graphql","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCRelayModern","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j={row:{alignItems:"x6s0dn4",$$css:!0}};function a(a){var b,d;b=(b=(b=a.viewer)==null?void 0:(b=b.user)==null?void 0:(b=b.privacy_settings_list)==null?void 0:b.edges)!=null?b:[];var e=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.id)!=null?d:"",f=(d=(d=a.viewer)==null?void 0:(a=d.user)==null?void 0:a.setup_user_type)!=null?d:"";return b.filter(function(a){var b;return((b=a==null?void 0:(b=a.node)==null?void 0:b.key)!=null?b:!1)&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="IDENTITY_IN_SEARCH"&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="REAL_WORLD_IDENTITY"}).map(function(a){var b;return i.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:i.jsx(c("OCErrorBoundary"),{fallback:null,children:i.jsxs(c("OCDSResponsiveRow.react"),{xstyle:j.row,children:[i.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:7,desktop:7},children:i.jsx(c("OCDSText.react"),{type:"body1",children:a==null?void 0:(b=a.node)==null?void 0:b.description})}),a.node&&i.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:5,desktop:5},children:i.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:f,setting:a.node,userId:e})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:h!==void 0?h:h=b("OCAccountPrivacyCenterSettings_viewer.graphql")});g["default"]=e}),98);
-----
FRLSocialPrivacySettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSocialPrivacySettings_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"},{alias:null,args:null,concreteType:"UserAppGroupingsConnection",kind:"LinkedField",name:"app_groupings",plural:!1,selections:[{alias:null,args:null,concreteType:"UserAppGroupingsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ApplicationGrouping",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"restrictions",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions.react",["GraphQLError","OCAccountChangePrivacyMutation","OCAccountPrivacyCenterAudienceOptions_setting.graphql","OCAccountPrivacyCenterPrivateProfileOffDialog.react","OCDSSelector.react","OCDSSelectorItem.react","OCErrorMessageHelper","OCPrivacyBaseState","OCRelayModern","OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log","OCWWWSocialSetupLogging","getJSEnumSafe","getPrivacySettingsLoggingSelectorClickEventType","getPrivacySettingsLoggingSelectorOptionsEventType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");e=d("react");var j=e.useEffect,k=e.useState,l="OCAccountPrivacyCenterAudienceOptions";function a(a){var b=k(""),e=b[0],f=b[1];b=k(!1);var g=b[0],h=b[1],m=a.flowType;b=a.setting;var n=b.key,o=b.name,p=b.options,q=b.selected_value,r=a.userId,s=function(a){a=(a=d("GraphQLError").getErrorMessage(a))!=null?a:d("OCErrorMessageHelper").unknownErrorMessage;f(a)},t=c("getJSEnumSafe")(c("OCPrivacyBaseState"),q);j(function(){g&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent("turn_off_private_profile_confirmation_window_load_success",{oculus_userid:r,flow_type:m})},[g,r,m]);b=function(b){if(b===q||n==null){f("");return}c("OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log")(l,{text:o,type:"dropdown",new_status:b,old_status:t});var e=c("getPrivacySettingsLoggingSelectorOptionsEventType")(n,b);e!=null&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(e,{oculus_userid:r,flow_type:m});n==="OC_VR_PRIVATE_PROFILE"&&b===c("OCPrivacyBaseState").OFF?h(!0):d("OCAccountChangePrivacyMutation").commit(a.relay.environment,{privacy:{base_state:b},privacy_concept:n},r).then(function(){f("")})["catch"](function(a){s(a)})};return n==null?null:i.jsxs("form",{className:"x1xmf6yo",method:"POST",children:[i.jsx(c("OCDSSelector.react"),{value:t,onChange:b,onClick:function(){var a=c("getPrivacySettingsLoggingSelectorClickEventType")(n);a!=null&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:r,flow_type:m})},children:p.filter(function(a){var b;return((b=a.key)!=null?b:!1)&&((b=a.name)!=null?b:!1)}).map(function(a){return i.jsx(c("OCDSSelectorItem.react"),{label:a.name,value:a.key},a.key)})}),i.jsx(c("OCAccountPrivacyCenterPrivateProfileOffDialog.react"),{flowType:m,isShown:g,relay:a.relay,setErrorMessage:f,userId:r,onCancel:function(){return h(!1)},onHide:function(){return h(!1)},onRemove:function(){return h(!1)}}),e&&i.jsx("div",{className:"x1iqnk88 x1xmf6yo",children:e})]})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{setting:h!==void 0?h:h=b("OCAccountPrivacyCenterAudienceOptions_setting.graphql")});g["default"]=e}),98);
-----
OCAccountPrivacyCenterSettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterSettings_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,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions_setting.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterAudienceOptions_setting",selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"selected_value",storageKey:null},{alias:null,args:null,concreteType:"OCPrivacySettingsOptionTypeInfo",kind:"LinkedField",name:"options",plural:!0,selections:[a,b],storageKey:null}],type:"OCPrivacySettingsTypeInfo",abstractKey:null}}();e.exports=a}),null);
-----
-----
OCAccountPrivacyCenterSettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterSettings_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,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
FRLSocialPrivacySettings.react",["fbt","FRLHideAppActivityRoute","FRLSocialPrivacySettings_viewer.graphql","FXAccountsCenterDiscoverabilityControlsRootRouteBuilder","FXAccountsCenterHorizonAutoFollowRootRouteBuilder","OCAccountPrivacyCenterAudienceOptions.react","OCDSButton.react","OCDSLink.react","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCLink.react","OCRelayModern","OCWWWSocialSetupLogging","URI","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react")),m=k.useState,n={row:{alignItems:"x6s0dn4",justifyContent:"x1qughib",$$css:!0},rightAlign:{textAlign:"x1hr2gdg",$$css:!0},margin:{marginBottom:"x12nagc",$$css:!0}},o=(e=c("FXAccountsCenterHorizonAutoFollowRootRouteBuilder").buildUri({}).setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),p=(e=c("FXAccountsCenterDiscoverabilityControlsRootRouteBuilder").buildUri({}).setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),q=new(j||(j=c("URI")))("https://store.facebook.com/help/945660416274371"),r=new j("https://meta.com/help/946285349854832"),s=c("FRLHideAppActivityRoute").getURI();function a(a){var b;a=a.viewer;var d=m(!1),e=d[0],f=d[1],g=function(a){f(a)},i="HIDDEN";d=(d=a==null?void 0:(d=a.user)==null?void 0:(d=d.privacy_settings_list)==null?void 0:d.edges)!=null?d:[];var j=(b=a==null?void 0:(b=a.user)==null?void 0:b.id)!=null?b:"",k=(b=a==null?void 0:(b=a.user)==null?void 0:b.setup_user_type)!=null?b:"",o=(b=a==null?void 0:(b=a.user)==null?void 0:b.is_salsa)!=null?b:!1;b=a==null?void 0:(b=a.user)==null?void 0:(b=b.app_groupings)==null?void 0:(b=b.edges)==null?void 0:b.filter(function(a){a=a==null?void 0:(a=a.node)==null?void 0:a.restrictions;return a!=null&&a.includes(i)});b=b?b.length.toString():"0";a=(a==null?void 0:(a=a.frlm_account)==null?void 0:a.proxy_managed_account)!=null;var p=o?h._("Review which apps people can see that you own and use"):h._("Manage which apps people can see that you own and use");return l.jsxs("div",{children:[d.map(function(a){var b;return l.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:a==null?void 0:(b=a.node)==null?void 0:b.description}),l.jsxs(c("OCDSText.react"),{type:"body2",children:[a==null?void 0:(b=a.node)==null?void 0:b.explanation,(a==null?void 0:(b=a.node)==null?void 0:b.key)==="CURRENT_ACTIVITY"?l.jsxs(l.Fragment,{children:[" ",h._("{=m0}",[h._implicitParam("=m0",l.jsx(c("OCDSLink.react"),{href:q,children:h._("Learn more")}))])]}):null]})]}),a.node&&l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:k,isSalsa:o,mutationInFlight:e,setting:a.node,userId:j,onMutate:g})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)}),l.jsx(u,{heading:h._("Hide activity for specific apps").toString(),numAppsHidden:h._("{numAppsHidden} apps",[h._param("numAppsHidden",b)]).toString(),subheading:p.toString(),userId:j}),!o&&!a&&l.jsxs(l.Fragment,{children:[l.jsx(t,{discoverability:!0,flowType:k,heading:h._("Choose which profiles are shown together").toString(),userId:j}),l.jsx(t,{discoverability:!1,flowType:k,heading:h._("Following people in Horizon").toString(),userId:j})]}),o&&l.jsx(c("OCDSText.react"),{type:"body2",children:h._("{=m0}",[h._implicitParam("=m0",l.jsx(c("OCDSLink.react"),{href:r,children:h._("Learn more about privacy settings")}))])})]})}a.displayName=a.name+" [from "+f.id+"]";function t(a){var b=a.discoverability,e=a.flowType,f=a.heading,g=a.userId;return l.jsx(c("OCDSPadding.react"),{vertical:"small",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:f})}),l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCDSButton.react"),{href:b?p:o,icon:"arrow-right",minWidth:250,target:"_self",type:"tertiary",onClick:function(){var a=b?"click_edit_discover_profile":"click_edit_auto_follow";d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:g,flow_type:e})},children:h._("Edit in Accounts Centre")})})]})})})}t.displayName=t.name+" [from "+f.id+"]";function u(a){var b=a.heading,e=a.numAppsHidden,f=a.subheading,g=a.userId;return l.jsx(c("OCDSPadding.react"),{vertical:"small",children:l.jsx(c("OCErrorBoundary"),{fallback:null,children:l.jsxs(c("OCDSResponsiveRow.react"),{xstyle:n.row,children:[l.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[l.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:n.margin,children:b}),l.jsx(c("OCDSText.react"),{type:"body2",children:f})]}),l.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:n.rightAlign,children:l.jsx(c("OCLink.react"),{to:s.getPath(),children:l.jsx(c("OCDSButton.react"),{icon:"chevron-right",target:"_self",type:"tertiary",onClick:function(){d("OCWWWSocialSetupLogging").logSocialSetupEvent("click_hide_app_activity",{oculus_userid:g})},children:e})})})]})})})}u.displayName=u.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:i!==void 0?i:i=b("FRLSocialPrivacySettings_viewer.graphql")});g["default"]=e}),226);
-----
FRLSocialPrivacySettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSocialPrivacySettings_viewer",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"frlm_account",plural:!1,selections:[{alias:null,args:null,concreteType:"XFRLMFRLMProxyManagedAccount",kind:"LinkedField",name:"proxy_managed_account",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_salsa",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"},{alias:null,args:null,concreteType:"UserAppGroupingsConnection",kind:"LinkedField",name:"app_groupings",plural:!1,selections:[{alias:null,args:null,concreteType:"UserAppGroupingsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ApplicationGrouping",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"restrictions",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions.react",["fbt","GraphQLError","OCAccountChangePrivacyMutation","OCAccountPrivacyCenterAudienceOptions_setting.graphql","OCAccountPrivacyCenterPrivateProfileOffDialog.react","OCContextualDialog.react","OCDSSelector.react","OCDSSelectorItem.react","OCErrorMessageHelper","OCPrivacyBaseState","OCRelayModern","OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log","OCWWWSocialSetupLogging","getJSEnumSafe","getPrivacySettingsLoggingSelectorClickEventType","getPrivacySettingsLoggingSelectorOptionsEventType","react"],(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.useRef,n=e.useState,o="OCAccountPrivacyCenterAudienceOptions";function a(a){var b=n(""),e=b[0],f=b[1];b=n(!1);var g=b[0],i=b[1],j=a.flowType,p=a.isSalsa,q=a.mutationInFlight,r=a.onMutate;b=a.setting;var s=b.key,t=b.name,u=b.options,v=b.selected_value,w=a.userId,x=function(a){a=(a=d("GraphQLError").getErrorMessage(a))!=null?a:d("OCErrorMessageHelper").unknownErrorMessage;f(a)},y=c("getJSEnumSafe")(c("OCPrivacyBaseState"),v);l(function(){g&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent("turn_off_private_profile_confirmation_window_load_success",{oculus_userid:w,flow_type:j})},[g,w,j]);b=function(b){if(b===v||s==null){f("");return}c("OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log")(o,{text:t,type:"dropdown",new_status:b,old_status:y});var e=c("getPrivacySettingsLoggingSelectorOptionsEventType")(s,b);e!=null&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(e,{oculus_userid:w,flow_type:j});s==="OC_VR_PRIVATE_PROFILE"&&b===c("OCPrivacyBaseState").OFF?i(!0):(r(!0),d("OCAccountChangePrivacyMutation").commit(a.relay.environment,{privacy:{base_state:b},privacy_concept:s},w).then(function(){r(!1),f("")})["catch"](function(a){r(!1),x(a)}))};var z=["OC_VR_PRIVATE_PROFILE","CURRENT_ACTIVITY","ACTIVE_STATUS","RICH_PRESENCE"],A=function(){if(q)return!0;return!p?!1:z.includes(s)},B=m(null),C=function(){return B==null?void 0:B.current},D=s==="OC_VR_PRIVATE_PROFILE"?h._("A private profile is required for your age group"):h._("This setting is managed by your parent");return s==null?null:k.jsxs("form",{className:"x1xmf6yo",method:"POST",children:[k.jsx("span",{ref:B,children:k.jsx(c("OCDSSelector.react"),{isDisabled:A(),value:y,onChange:b,onClick:function(){var a=c("getPrivacySettingsLoggingSelectorClickEventType")(s);a!=null&&w!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:w,flow_type:j})},children:u.filter(function(a){var b;return((b=a.key)!=null?b:!1)&&((b=a.name)!=null?b:!1)}).map(function(a){var b;return k.jsx(c("OCDSSelectorItem.react"),{isDisabled:(b=a.is_disabled)!=null?b:!0,label:a.name,value:a.key},a.key)})})}),A()&&!q&&k.jsx(c("OCContextualDialog.react"),{contextRef:C,hoverContextRef:C,position:"above",children:k.jsx("div",{className:"x1cnzs8 x1iji9kk xx6bls6 x1sln4lm",children:D})}),k.jsx(c("OCAccountPrivacyCenterPrivateProfileOffDialog.react"),{flowType:j,isShown:g,relay:a.relay,setErrorMessage:f,userId:w,onCancel:function(){return i(!1)},onHide:function(){return i(!1)},onRemove:function(){return i(!1)}}),e&&k.jsx("div",{className:"x1iqnk88 x1xmf6yo",children:e})]})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{setting:i!==void 0?i:i=b("OCAccountPrivacyCenterAudienceOptions_setting.graphql")});g["default"]=e}),226);
-----
OCAccountPrivacyCenterAudienceOptions_setting.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterAudienceOptions_setting",selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"selected_value",storageKey:null},{alias:null,args:null,concreteType:"OCPrivacySettingsOptionTypeInfo",kind:"LinkedField",name:"options",plural:!0,selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"is_disabled",storageKey:null}],storageKey:null}],type:"OCPrivacySettingsTypeInfo",abstractKey:null}}();e.exports=a}),null);
-----
FRLSocialPrivacySettings.react",["fbt","FRLHideAppActivityRoute","FRLSocialPrivacySettings_viewer.graphql","FRLXAccountsCenterDiscoverabilityControlsController","FRLXAccountsCenterHorizonAutoFollowController","OCAccountPrivacyCenterAudienceOptions.react","OCDSButton.react","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCLink.react","OCRelayModern","OCWWWSocialSetupLogging","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k={row:{alignItems:"x6s0dn4",justifyContent:"x1qughib",$$css:!0},rightAlign:{textAlign:"x1hr2gdg",$$css:!0},margin:{marginBottom:"x12nagc",$$css:!0}},l=(e=c("FRLXAccountsCenterHorizonAutoFollowController").getURIBuilder().getURI().setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),m=(e=c("FRLXAccountsCenterDiscoverabilityControlsController").getURIBuilder().getURI().setDomain("accountscenter.meta.com"))==null?void 0:(e=e.setProtocol("https"))==null?void 0:e.toString(),n=c("FRLHideAppActivityRoute").getURI();function a(a){var b,d,e="HIDDEN";b=(b=(b=a.viewer)==null?void 0:(b=b.user)==null?void 0:(b=b.privacy_settings_list)==null?void 0:b.edges)!=null?b:[];var f=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.id)!=null?d:"",g=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.setup_user_type)!=null?d:"";d=(d=a.viewer)==null?void 0:(a=d.user)==null?void 0:(d=a.app_groupings)==null?void 0:(a=d.edges)==null?void 0:a.filter(function(a){a=a==null?void 0:(a=a.node)==null?void 0:a.restrictions;return a!=null&&a.includes(e)});a=d?d.length.toString():"0";return j.jsxs("div",{children:[b.map(function(a){var b;return j.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a==null?void 0:(b=a.node)==null?void 0:b.description}),j.jsx(c("OCDSText.react"),{type:"body2",children:a==null?void 0:(b=a.node)==null?void 0:b.explanation})]}),a.node&&j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:g,setting:a.node,userId:f})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)}),j.jsx(p,{heading:h._("u9690u85cfu5177u4f53u5e94u7528u7684u52a8u6001").toString(),numAppsHidden:h._("{numAppsHidden}u4e2au5e94u7528",[h._param("numAppsHidden",a)]).toString(),subheading:h._("u7ba1u7406u7528u6237u80fdu770bu5230u4f60u62e5u6709u548cu4f7fu7528u54eau4e9bu5e94u7528").toString(),userId:f}),j.jsx(o,{discoverability:!0,flowType:g,heading:h._("u9009u62e9u4e00u540cu663eu793au7684u4e2au4ebau4e3bu9875").toString(),userId:f}),j.jsx(o,{discoverability:!1,flowType:g,heading:h._("u5728 Horizon u4e2du5173u6ce8u7528u6237").toString(),userId:f})]})}a.displayName=a.name+" [from "+f.id+"]";function o(a){return j.jsx(c("OCDSPadding.react"),{vertical:"small",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a.heading})}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCDSButton.react"),{href:a.discoverability?m:l,icon:"arrow-right",minWidth:250,target:"_self",type:"tertiary",onClick:function(){var b=a.discoverability?"click_edit_discover_profile":"click_edit_auto_follow";d("OCWWWSocialSetupLogging").logSocialSetupEvent(b,{oculus_userid:a.userId,flow_type:a.flowType})},children:h._("u5728u5e10u6237u7ba1u7406u4e2du5fc3u7f16u8f91")})})]})})})}o.displayName=o.name+" [from "+f.id+"]";function p(a){return j.jsx(c("OCDSPadding.react"),{vertical:"small",children:j.jsx(c("OCErrorBoundary"),{fallback:null,children:j.jsxs(c("OCDSResponsiveRow.react"),{xstyle:k.row,children:[j.jsxs(c("OCDSResponsiveRowItem.react"),{span:{tablet:9,desktop:9},children:[j.jsx(c("OCDSText.react"),{display:"block",type:"body1",xstyle:k.margin,children:a.heading}),j.jsx(c("OCDSText.react"),{type:"body2",children:a.subheading})]}),j.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:3,desktop:3},xstyle:k.rightAlign,children:j.jsx(c("OCLink.react"),{to:n.getPath(),children:j.jsx(c("OCDSButton.react"),{icon:"chevron-right",target:"_self",type:"tertiary",onClick:function(){d("OCWWWSocialSetupLogging").logSocialSetupEvent("click_hide_app_activity",{oculus_userid:a.userId})},children:a.numAppsHidden})})})]})})})}p.displayName=p.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:i!==void 0?i:i=b("FRLSocialPrivacySettings_viewer.graphql")});g["default"]=e}),98);
-----
OCAccountPrivacyCenterSettings.react",["OCAccountPrivacyCenterAudienceOptions.react","OCAccountPrivacyCenterSettings_viewer.graphql","OCDSPadding.react","OCDSResponsiveRow.react","OCDSResponsiveRowItem.react","OCDSText.react","OCErrorBoundary","OCRelayModern","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react"),j={row:{alignItems:"x6s0dn4",$$css:!0}};function a(a){var b,d;b=(b=(b=a.viewer)==null?void 0:(b=b.user)==null?void 0:(b=b.privacy_settings_list)==null?void 0:b.edges)!=null?b:[];var e=(d=(d=a.viewer)==null?void 0:(d=d.user)==null?void 0:d.id)!=null?d:"",f=(d=(d=a.viewer)==null?void 0:(a=d.user)==null?void 0:a.setup_user_type)!=null?d:"";return b.filter(function(a){var b;return((b=a==null?void 0:(b=a.node)==null?void 0:b.key)!=null?b:!1)&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="IDENTITY_IN_SEARCH"&&(a==null?void 0:(b=a.node)==null?void 0:b.key)!=="REAL_WORLD_IDENTITY"}).map(function(a){var b;return i.jsx(c("OCDSPadding.react"),{vertical:"xsmall",children:i.jsx(c("OCErrorBoundary"),{fallback:null,children:i.jsxs(c("OCDSResponsiveRow.react"),{xstyle:j.row,children:[i.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:7,desktop:7},children:i.jsx(c("OCDSText.react"),{type:"body1",children:a==null?void 0:(b=a.node)==null?void 0:b.description})}),a.node&&i.jsx(c("OCDSResponsiveRowItem.react"),{span:{tablet:5,desktop:5},children:i.jsx(c("OCAccountPrivacyCenterAudienceOptions.react"),{flowType:f,setting:a.node,userId:e})})]})})},a==null?void 0:(b=a.node)==null?void 0:b.key)})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{viewer:h!==void 0?h:h=b("OCAccountPrivacyCenterSettings_viewer.graphql")});g["default"]=e}),98);
-----
FRLSocialPrivacySettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"FRLSocialPrivacySettings_viewer",selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"explanation",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"},{alias:null,args:null,concreteType:"UserAppGroupingsConnection",kind:"LinkedField",name:"app_groupings",plural:!1,selections:[{alias:null,args:null,concreteType:"UserAppGroupingsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"ApplicationGrouping",kind:"LinkedField",name:"node",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"restrictions",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Viewer",abstractKey:null}}();e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions.react",["GraphQLError","OCAccountChangePrivacyMutation","OCAccountPrivacyCenterAudienceOptions_setting.graphql","OCAccountPrivacyCenterPrivateProfileOffDialog.react","OCDSSelector.react","OCDSSelectorItem.react","OCErrorMessageHelper","OCPrivacyBaseState","OCRelayModern","OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log","OCWWWSocialSetupLogging","getJSEnumSafe","getPrivacySettingsLoggingSelectorClickEventType","getPrivacySettingsLoggingSelectorOptionsEventType","react"],(function(a,b,c,d,e,f,g){"use strict";var h,i=d("react");e=d("react");var j=e.useEffect,k=e.useState,l="OCAccountPrivacyCenterAudienceOptions";function a(a){var b=k(""),e=b[0],f=b[1];b=k(!1);var g=b[0],h=b[1],m=a.flowType;b=a.setting;var n=b.key,o=b.name,p=b.options,q=b.selected_value,r=a.userId,s=function(a){a=(a=d("GraphQLError").getErrorMessage(a))!=null?a:d("OCErrorMessageHelper").unknownErrorMessage;f(a)},t=c("getJSEnumSafe")(c("OCPrivacyBaseState"),q);j(function(){g&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent("turn_off_private_profile_confirmation_window_load_success",{oculus_userid:r,flow_type:m})},[g,r,m]);b=function(b){if(b===q||n==null){f("");return}c("OCWWWAnalyticsLoggingMyPrivacyStatusUpdateAttempt.log")(l,{text:o,type:"dropdown",new_status:b,old_status:t});var e=c("getPrivacySettingsLoggingSelectorOptionsEventType")(n,b);e!=null&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(e,{oculus_userid:r,flow_type:m});n==="OC_VR_PRIVATE_PROFILE"&&b===c("OCPrivacyBaseState").OFF?h(!0):d("OCAccountChangePrivacyMutation").commit(a.relay.environment,{privacy:{base_state:b},privacy_concept:n},r).then(function(){f("")})["catch"](function(a){s(a)})};return n==null?null:i.jsxs("form",{className:"x1xmf6yo",method:"POST",children:[i.jsx(c("OCDSSelector.react"),{value:t,onChange:b,onClick:function(){var a=c("getPrivacySettingsLoggingSelectorClickEventType")(n);a!=null&&r!=null&&d("OCWWWSocialSetupLogging").logSocialSetupEvent(a,{oculus_userid:r,flow_type:m})},children:p.filter(function(a){var b;return((b=a.key)!=null?b:!1)&&((b=a.name)!=null?b:!1)}).map(function(a){return i.jsx(c("OCDSSelectorItem.react"),{label:a.name,value:a.key},a.key)})}),i.jsx(c("OCAccountPrivacyCenterPrivateProfileOffDialog.react"),{flowType:m,isShown:g,relay:a.relay,setErrorMessage:f,userId:r,onCancel:function(){return h(!1)},onHide:function(){return h(!1)},onRemove:function(){return h(!1)}}),e&&i.jsx("div",{className:"x1iqnk88 x1xmf6yo",children:e})]})}a.displayName=a.name+" [from "+f.id+"]";e=c("OCRelayModern").createFragmentContainer(a,{setting:h!==void 0?h:h=b("OCAccountPrivacyCenterAudienceOptions_setting.graphql")});g["default"]=e}),98);
-----
OCAccountPrivacyCenterSettings_viewer.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterSettings_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,kind:"ScalarField",name:"setup_user_type",storageKey:null},{alias:null,args:[{kind:"Literal",name:"first",value:20}],concreteType:"UserPrivacySettingsListConnection",kind:"LinkedField",name:"privacy_settings_list",plural:!1,selections:[{alias:null,args:null,concreteType:"UserPrivacySettingsListEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"OCPrivacySettingsTypeInfo",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCAccountPrivacyCenterAudienceOptions_setting"}],storageKey:null}],storageKey:null}],storageKey:"privacy_settings_list(first:20)"}],storageKey:null}],type:"Viewer",abstractKey:null};e.exports=a}),null);
-----
OCAccountPrivacyCenterAudienceOptions_setting.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},b={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCAccountPrivacyCenterAudienceOptions_setting",selections:[a,b,{alias:null,args:null,kind:"ScalarField",name:"selected_value",storageKey:null},{alias:null,args:null,concreteType:"OCPrivacySettingsOptionTypeInfo",kind:"LinkedField",name:"options",plural:!0,selections:[a,b],storageKey:null}],type:"OCPrivacySettingsTypeInfo",abstractKey:null}}();e.exports=a}),null);
-----