usePolarisToggleShowCreatorMarketplaceBadge",["CometRelay","InstagramGenericSettingStrings","react","react-compiler-runtime","usePolarisShowToast","usePolarisToggleShowCreatorMarketplaceBadgeMutation.graphql"],(function(a,b,c,d,e,f,g){"use strict";var h,i;(i||d("react")).useCallback;var j=h!==void 0?h:h=b("usePolarisToggleShowCreatorMarketplaceBadgeMutation.graphql");function a(){var a=d("react-compiler-runtime").c(3),b=d("CometRelay").useMutation(j),e=b[0],f=c("usePolarisShowToast")();a[0]!==e||a[1]!==f?(b=function(a){var b=function(b){(b=b.getRoot().getLinkedRecord("xdt_viewer"))==null||(b=b.getLinkedRecord("user"))==null||b.setValue(a,"hide_creator_marketplace_badge")};e({onCompleted:function(){f({text:d("InstagramGenericSettingStrings").GENERIC_SETTINGS_SAVED})},onError:function(a){f({text:d("InstagramGenericSettingStrings").GENERIC_SETTINGS_ERROR})},optimisticUpdater:function(a){b(a)},updater:b,variables:{input:{hide_creator_marketplace_badge:a}}})},a[0]=e,a[1]=f,a[2]=b):b=a[2];return b}g["default"]=a}),98);
-----
usePolarisToggleShowCreatorMarketplaceBadgeMutation.graphql",["usePolarisToggleShowCreatorMarketplaceBadgeMutation_instagramRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],c=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"XIGSetHideCreatorMarketplaceBadgeResponsePayload",kind:"LinkedField",name:"xig_set_hide_creator_marketplace_badge",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_success",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"usePolarisToggleShowCreatorMarketplaceBadgeMutation",selections:c,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"usePolarisToggleShowCreatorMarketplaceBadgeMutation",selections:c},params:{id:b("usePolarisToggleShowCreatorMarketplaceBadgeMutation_instagramRelayOperation"),metadata:{},name:"usePolarisToggleShowCreatorMarketplaceBadgeMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
usePolarisToggleShowCreatorMarketplaceBadgeMutation_instagramRelayOperation",[],(function(a,b,c,d,e,f){e.exports="31344433548473745"}),null);
-----