OCDevManagePlayerVariablesImportWorldSelector.react",["fbt","ix","GeoBaseSpacingLayout.react","GeoBaseText.react","GeoFlexbox.react","GeoIcon.react","GeoList.react","GeoListGenericItem.react","GeoText.react","OCDevManageApplicationIconImageWithFallback.react","OCDevManagePlayerVariablesImportVarSelector.react","OCDevManagePlayerVariablesImportWorldSelectorQuery.graphql","fbicon","react","sumOfArray","useOCDevUIModal","useOCDevUIQuery"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||d("react");function a(a){var e=a.searchTerm;a=c("useOCDevUIQuery")(j!==void 0?j:j=b("OCDevManagePlayerVariablesImportWorldSelectorQuery.graphql"),{search_query:e});var f=c("useOCDevUIModal")(),g=f.openModal;function k(a){g(l.jsx(c("OCDevManagePlayerVariablesImportVarSelector.react"),{searchTerm:e,world:a}))}a=(f=a.xfb_together_wb_owned_and_collaborator_worlds)==null?void 0:f.nodes;return l.jsx(c("GeoList.react"),{variant:"divided",children:a==null?void 0:a.map(function(a){var b,e;if(a.id==null)return null;var f=a.id;b=c("sumOfArray")((b=(b=a.data_groups)==null||(b=b.nodes)==null?void 0:b.map(function(a){return(a=(a=a.stats_query)==null?void 0:a.count)!=null?a:0}))!=null?b:[]);return l.jsx(c("GeoListGenericItem.react"),{"data-testid":void 0,children:l.jsx(c("GeoFlexbox.react"),{direction:"column",grow:1,children:l.jsx("div",{onClick:function(){return k(a)},children:l.jsxs(c("GeoBaseSpacingLayout.react"),{children:[l.jsx(c("OCDevManageApplicationIconImageWithFallback.react"),{iconDisabled:!1,imageURI:(e=a.primary_screenshot)==null?void 0:e.requested_image_uri}),l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",context:"component",direction:"vertical",relation:"related",children:[l.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"{world name}",[h._param("world name",a.name)])}),l.jsx(c("GeoBaseText.react"),{color:"valueDescription",size:"valueDescription",children:h._(/*BTDS*/{"*":"{number} variables","_1":"1 variable"},[h._plural(b,"number")])})]}),l.jsx(c("GeoIcon.react"),{color:"placeholder",icon:d("fbicon")._(i("492569"),16)})]})})})},f)})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePlayerVariablesImportWorldSelectorQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"search_query"}],b=[{kind:"Variable",name:"search_query",variableName:"search_query"}],c={alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},f={alias:"requested_image_uri",args:[{kind:"Literal",name:"height",value:48},{kind:"Literal",name:"width",value:76}],kind:"ScalarField",name:"image_uri",storageKey:"image_uri(height:48,width:76)"};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManagePlayerVariablesImportWorldSelectorQuery",selections:[{alias:null,args:b,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsConnection",kind:"LinkedField",name:"xfb_together_wb_owned_and_collaborator_worlds",plural:!1,selections:[c,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldDataGroupsConnection",kind:"LinkedField",name:"data_groups",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBHorizonDataGroup",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBHorizonDataGroupStatsQueryConnection",kind:"LinkedField",name:"stats_query",plural:!1,selections:[c],storageKey:null}],storageKey:null}],storageKey:null},d,e,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldScreenshot",kind:"LinkedField",name:"primary_screenshot",plural:!1,selections:[f],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManagePlayerVariablesImportVarSelector_world"}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManagePlayerVariablesImportWorldSelectorQuery",selections:[{alias:null,args:b,concreteType:"XFBTogetherWbOwnedAndCollaboratorWorldsConnection",kind:"LinkedField",name:"xfb_together_wb_owned_and_collaborator_worlds",plural:!1,selections:[c,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorld",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldDataGroupsConnection",kind:"LinkedField",name:"data_groups",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBHorizonDataGroup",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBHorizonDataGroupStatsQueryConnection",kind:"LinkedField",name:"stats_query",plural:!1,selections:[c,{alias:null,args:null,concreteType:"XFBHorizonWorldStat",kind:"LinkedField",name:"nodes",plural:!0,selections:[d,e,{alias:null,args:null,kind:"ScalarField",name:"stat_data_type",storageKey:null}],storageKey:null}],storageKey:null},d,e],storageKey:null}],storageKey:null},d,e,{alias:null,args:null,concreteType:"XFBSocialVRCustomWorldScreenshot",kind:"LinkedField",name:"primary_screenshot",plural:!1,selections:[f,d],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"description",storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"24228378133465458",metadata:{},name:"OCDevManagePlayerVariablesImportWorldSelectorQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----