GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="9824769974246896"}),null);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPage.entrypoint",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupID;return{queries:{queryReference:{parameters:c("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters"),variables:{groupID:a}}}}},root:c("JSResourceForInteraction")("GroupsCometAIAssistantManagementEditProfilePictureDialogPage.react").__setRef("GroupsCometAIAssistantManagementEditProfilePictureDialogPage.entrypoint")};g["default"]=a}),98);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPage.react",["fbt","CometColumn.react","CometColumnItem.react","CometRelay","FBNucleusArrowsCircleFilled16Icon.react","FDSButton.react","FDSCard.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSDialogPage.react","FDSProfilePhoto.react","GroupsCometAIAssistantManagementDialogPageWrapper.react","GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql","GroupsCometAIAssistantManagementGlobalState","GroupsCometAIAssistantManagementTextInput.react","Keyframes.react","react","useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation","usePopPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState,m=168,n=84;function a(a){var e=a.props.onClose;a=a.queries.queryReference;a=d("CometRelay").usePreloadedQuery(i!==void 0?i:i=b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql"),a);var f=a.group.group_ugc_content.admin_tool_content;a=f.form_fields;var g=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_PROMPT"),j=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_PROMPT"),o=l(g),p=o[0],q=o[1];o=l(g);var r=o[0];g=o[1];o=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_URL");var s=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_URL");o=l(o);var t=o[0],u=o[1];o=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_ENT_ID");var v=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_ENT_ID"),w=l(o),x=w[0],y=w[1];w=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("NAME");var z=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("IS_UPDATING_STATUS"),A=c("useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation")(),B=A.isPerformingMutation,C=A.performMutation;A=function(){var a=r;C({onCompleted:function(b){var c=b.photoEntID;b=b.photoURL;q(a);u(b);y(c)},onError:function(){},personaID:f.persona_version_for_viewer.persona_id,prompt:a})};var D=c("usePopPage")(),E=function(){return D==null?void 0:D()},F=function(){j(p),s(t),v(x),E()};z=B||z;return k.jsx(c("FDSDialogPage.react"),{footer:k.jsx(c("FDSDialogFooter.react"),{primary:{disabled:z||x===o,label:a.save_text,onPress:F}}),header:k.jsx(c("FDSDialogHeader.react"),{onBack:E,onClose:e,text:h._(/*BTDS*/""),withBackButton:!0,withoutDivider:!0}),children:k.jsx(c("GroupsCometAIAssistantManagementDialogPageWrapper.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSCard.react"),{background:"default",children:k.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:[k.jsx(c("CometColumnItem.react"),{align:"center",paddingVertical:8,children:B?k.jsx("div",{className:"x6s0dn4 x443n21 xuj6sfs xablpdf xaqkwuz x1b1i6t3 x78zum5 xekxv85 xl56j7k xctrb1h",children:k.jsx(c("Keyframes.react"),{height:n,projectName:"groups",source:a.profile_picture_generation_loading_image_uri,width:n})}):k.jsx(c("FDSProfilePhoto.react"),{"aria-label":w,shape:"circle",size:m,source:{uri:t}})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(d("GroupsCometAIAssistantManagementTextInput.react").GroupsCometAIAssistantManagementTextInput,{disabled:z,isInvalid:r.length===0,label:a.profile_picture_prompt_input_label,maxLines:1,onValueChange:g,value:r})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSButton.react"),{disabled:z||r.length===0,icon:c("FBNucleusArrowsCircleFilled16Icon.react"),label:a.profile_picture_prompt_generate_button_label,onPress:A})})]})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"groupID"}],c=[{kind:"Variable",name:"id",variableName:"groupID"}],d={alias:null,args:null,kind:"ScalarField",name:"persona_id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"save_text",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_input_label",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_generate_button_label",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"profile_picture_generation_loading_image_uri",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",selections:[{kind:"RequiredField",field:{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[{kind:"RequiredField",field:d,action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer.persona_id"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer"},{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[{kind:"RequiredField",field:e,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.save_text"},{kind:"RequiredField",field:f,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_input_label"},{kind:"RequiredField",field:g,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_generate_button_label"},{kind:"RequiredField",field:h,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_generation_loading_image_uri"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content"}],storageKey:null},action:"THROW",path:"group.group_ugc_content"}],storageKey:null},action:"THROW",path:"group"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",selections:[{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[d],storageKey:null},{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[e,f,g,h],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPage.entrypoint",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters","JSResourceForInteraction"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.groupID;return{queries:{queryReference:{parameters:c("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters"),variables:{groupID:a}}}}},root:c("JSResourceForInteraction")("GroupsCometAIAssistantManagementEditProfilePictureDialogPage.react").__setRef("GroupsCometAIAssistantManagementEditProfilePictureDialogPage.entrypoint")};g["default"]=a}),98);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery$Parameters",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPage.react",["fbt","CometColumn.react","CometColumnItem.react","CometRelay","FBNucleusArrowsCircleFilled16Icon.react","FDSButton.react","FDSCard.react","FDSDialogFooter.react","FDSDialogHeader.react","FDSDialogPage.react","FDSProfilePhoto.react","GroupsCometAIAssistantManagementDialogPageWrapper.react","GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql","GroupsCometAIAssistantManagementGlobalState","GroupsCometAIAssistantManagementTextInput.react","Keyframes.react","react","useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation","usePopPage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState,m=168,n=84;function a(a){var e=a.props.onClose;a=a.queries.queryReference;a=d("CometRelay").usePreloadedQuery(i!==void 0?i:i=b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql"),a);var f=a.group.group_ugc_content.admin_tool_content;a=f.form_fields;var g=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_PROMPT"),j=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_PROMPT"),o=l(g),p=o[0],q=o[1];o=l(g);var r=o[0];g=o[1];o=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_URL");var s=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_URL");o=l(o);var t=o[0],u=o[1];o=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("PROFILE_IMAGE_ENT_ID");var v=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateWrite("PROFILE_IMAGE_ENT_ID"),w=l(o),x=w[0],y=w[1];w=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("NAME");var z=d("GroupsCometAIAssistantManagementGlobalState").useGlobalStateRead("IS_UPDATING_STATUS"),A=c("useGroupsCometAIAssistantManagementGenerateProfilePhotoFromPromptMutation")(),B=A.isPerformingMutation,C=A.performMutation;A=function(){var a=r;C({onCompleted:function(b){var c=b.photoEntID;b=b.photoURL;q(a);u(b);y(c)},onError:function(){},personaID:f.persona_version_for_viewer.persona_id,prompt:a})};var D=c("usePopPage")(),E=function(){return D==null?void 0:D()},F=function(){j(p),s(t),v(x),E()};z=B||z;return k.jsx(c("FDSDialogPage.react"),{footer:k.jsx(c("FDSDialogFooter.react"),{primary:{disabled:z||x===o,label:a.save_text,onPress:F}}),header:k.jsx(c("FDSDialogHeader.react"),{onBack:E,onClose:e,text:h._(/*BTDS*/""),withBackButton:!0,withoutDivider:!0}),children:k.jsx(c("GroupsCometAIAssistantManagementDialogPageWrapper.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSCard.react"),{background:"default",children:k.jsxs(c("CometColumn.react"),{paddingHorizontal:16,paddingVertical:16,spacing:12,children:[k.jsx(c("CometColumnItem.react"),{align:"center",paddingVertical:8,children:B?k.jsx("div",{className:"x6s0dn4 x443n21 xuj6sfs xablpdf xaqkwuz x1b1i6t3 x78zum5 xekxv85 xl56j7k xctrb1h",children:k.jsx(c("Keyframes.react"),{height:n,projectName:"groups",source:a.profile_picture_generation_loading_image_uri,width:n})}):k.jsx(c("FDSProfilePhoto.react"),{"aria-label":w,shape:"circle",size:m,source:{uri:t}})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(d("GroupsCometAIAssistantManagementTextInput.react").GroupsCometAIAssistantManagementTextInput,{disabled:z,isInvalid:r.length===0,label:a.profile_picture_prompt_input_label,maxLines:1,onValueChange:g,value:r})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("FDSButton.react"),{disabled:z||r.length===0,icon:c("FBNucleusArrowsCircleFilled16Icon.react"),label:a.profile_picture_prompt_generate_button_label,onPress:A})})]})})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery.graphql",["GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"groupID"}],c=[{kind:"Variable",name:"id",variableName:"groupID"}],d={alias:null,args:null,kind:"ScalarField",name:"persona_id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"save_text",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_input_label",storageKey:null},g={alias:null,args:null,kind:"ScalarField",name:"profile_picture_prompt_generate_button_label",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"profile_picture_generation_loading_image_uri",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",selections:[{kind:"RequiredField",field:{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[{kind:"RequiredField",field:d,action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer.persona_id"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.persona_version_for_viewer"},{kind:"RequiredField",field:{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[{kind:"RequiredField",field:e,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.save_text"},{kind:"RequiredField",field:f,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_input_label"},{kind:"RequiredField",field:g,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_prompt_generate_button_label"},{kind:"RequiredField",field:h,action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields.profile_picture_generation_loading_image_uri"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content.form_fields"}],storageKey:null},action:"THROW",path:"group.group_ugc_content.admin_tool_content"}],storageKey:null},action:"THROW",path:"group.group_ugc_content"}],storageKey:null},action:"THROW",path:"group"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",selections:[{alias:null,args:c,concreteType:"Group",kind:"LinkedField",name:"group",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupUGCContent",kind:"LinkedField",name:"group_ugc_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolContent",kind:"LinkedField",name:"admin_tool_content",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolPersonaVersion",kind:"LinkedField",name:"persona_version_for_viewer",plural:!1,selections:[d],storageKey:null},{alias:null,args:null,concreteType:"XFBGroupsUGCAdminToolFormFields",kind:"LinkedField",name:"form_fields",plural:!1,selections:[e,f,g,h],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:b("GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery_facebookRelayOperation"),metadata:{},name:"GroupsCometAIAssistantManagementEditProfilePictureDialogPageQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----