OCDevManageWorldsAssetsDeleteCollectionUIQuery.graphql",["relay-runtime"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"id"}],t=[{kind:"Variable",name:"id",variableName:"id"}],n={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},r={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},o={alias:null,args:null,concreteType:"XFBHorizonAssetLibraryCollection",kind:"LinkedField",name:"parent_collection",plural:!1,selections:[n],storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"OCDevManageWorldsAssetsDeleteCollectionUIQuery",selections:[{kind:"RequiredField",field:{alias:null,args:t,concreteType:"XFBHorizonAssetLibraryCollection",kind:"LinkedField",name:"fetch__XFBHorizonAssetLibraryCollection",plural:!1,selections:[{kind:"RequiredField",field:n,action:"THROW"},r,o],storageKey:null},action:"THROW"}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"OCDevManageWorldsAssetsDeleteCollectionUIQuery",selections:[{alias:null,args:t,concreteType:"XFBHorizonAssetLibraryCollection",kind:"LinkedField",name:"fetch__XFBHorizonAssetLibraryCollection",plural:!1,selections:[n,r,o],storageKey:null}]},params:{id:"24783353017942784",metadata:{},name:"OCDevManageWorldsAssetsDeleteCollectionUIQuery",operationKind:"query",text:null}}})();n("relay-runtime").PreloadableQueryRegistry.set(e.params.id,e),a.exports=e}),null);
-----
OCDevManageWorldsAssetsDeleteCollectionUI.react",["OCDevManageWorldsAssetsDeleteCollectionDialog.react","OCDevManageWorldsAssetsDeleteCollectionUIMutation.graphql","OCDevManageWorldsAssetsDeleteCollectionUIQuery.graphql","OCDevManageWorldsAssetsUtils","Promise","RelayHooks","SocialVrUserActionWebEventLogger","react"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c,d=c||(c=o("react"));function m(t){var a=t.props.onHide,i=t.queries.queryReference,l=o("RelayHooks").usePreloadedQuery(e!==void 0?e:e=n("OCDevManageWorldsAssetsDeleteCollectionUIQuery.graphql"),i),c=l.fetch__XFBHorizonAssetLibraryCollection,m=o("RelayHooks").useMutation(s!==void 0?s:s=n("OCDevManageWorldsAssetsDeleteCollectionUIMutation.graphql")),p=m[0],_=m[1],f={id:c==null?void 0:c.id,name:c==null?void 0:c.name},g=function(t){var e=t.id;return new(u||(u=n("Promise")))(function(t,n){var r,a={asset_collection_id:e,name:c==null?void 0:c.name,parent_collection_id:c==null||(r=c.parent_collection)==null?void 0:r.id};o("SocialVrUserActionWebEventLogger").logStart({action:o("SocialVrUserActionWebEventLogger").SocialVrUserActionWebEvent.ASSET_LIBRARY_COLLECTION_DELETE,extra:a}),p({onCompleted:function(){o("SocialVrUserActionWebEventLogger").logCompleted({action:o("SocialVrUserActionWebEventLogger").SocialVrUserActionWebEvent.ASSET_LIBRARY_COLLECTION_DELETE,extra:a}),t()},onError:function(t){o("SocialVrUserActionWebEventLogger").logFail({action:o("SocialVrUserActionWebEventLogger").SocialVrUserActionWebEvent.ASSET_LIBRARY_COLLECTION_DELETE,error_message:t.message,extra:a}),n(t)},variables:{input:{client_mutation_id:o("OCDevManageWorldsAssetsUtils").createUUID(),delete_packages:!0,horizon_asset_library_collection_id:e}}})})};return d.jsx(r("OCDevManageWorldsAssetsDeleteCollectionDialog.react"),{input:f,isInFlight:_,onHide:a,onSave:g})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),98);
-----
OCDevManageWorldsAssetsDeleteCollectionUI.entrypoint",["JSResourceForInteraction","OCDevManageWorldsAssetsDeleteCollectionUIQuery$Parameters"],(function(a,b,c,d,e,f,g){"use strict";a={getPreloadProps:function(a){a=a.id;return{queries:{queryReference:{parameters:c("OCDevManageWorldsAssetsDeleteCollectionUIQuery$Parameters"),variables:{id:a}}}}},root:c("JSResourceForInteraction")("OCDevManageWorldsAssetsDeleteCollectionUI.react").__setRef("OCDevManageWorldsAssetsDeleteCollectionUI.entrypoint")};g["default"]=a}),98);
-----
OCDevManageWorldsAssetsDeleteCollectionUIQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"24397352419869226",metadata:{},name:"OCDevManageWorldsAssetsDeleteCollectionUIQuery",operationKind:"query",text:null}};e.exports=a}),null);
-----