buildWDCShellRoute.entrypoint",["JSResourceForInteraction","WDCProfileButtonQuery$Parameters","WearablesCreateTeamModalQuery$Parameters","WearablesOrganisationSelectorContentQuery$Parameters","WearablesOrganisationSelectorQuery$Parameters","WearablesPageLayoutSidebarFooterQuery$Parameters","createContentAreaCompoundEntryPointBuilder"],(function(t,n,r,o,a,i,l){"use strict";var e=r("JSResourceForInteraction")("WDCPage.react").__setRef("buildWDCShellRoute.entrypoint"),s=r("createContentAreaCompoundEntryPointBuilder")(e,function(e){return{createTeamModalQueryRef:{parameters:r("WearablesCreateTeamModalQuery$Parameters"),variables:{}},footerQueryRef:{parameters:r("WearablesPageLayoutSidebarFooterQuery$Parameters"),variables:{}},orgSelectorContentQueryRef:{parameters:r("WearablesOrganisationSelectorContentQuery$Parameters"),variables:{}},orgSelectorQueryRef:{parameters:r("WearablesOrganisationSelectorQuery$Parameters"),variables:{organisationID:e.routeParams.organisation_id,organisationIDIsNull:e.routeParams.organisation_id==null}},profileButtonQueryRef:{parameters:r("WDCProfileButtonQuery$Parameters"),variables:{}}}});l.default=s}),98);/*FB_PKG_DELIM*/
-----
buildWearablesShellRoute.entrypoint",["JSResourceForInteraction","WearablesCreateTeamModalQuery$Parameters","WearablesOrganisationSelectorContentQuery$Parameters","WearablesOrganisationSelectorQuery$Parameters","WearablesPageLayoutSidebarFooterQuery$Parameters","createContentAreaCompoundEntryPointBuilder"],(function(t,n,r,o,a,i,l){"use strict";var e=r("JSResourceForInteraction")("WearablesPage.react").__setRef("buildWearablesShellRoute.entrypoint"),s=r("createContentAreaCompoundEntryPointBuilder")(e,function(e){return{createTeamModalQueryRef:{parameters:r("WearablesCreateTeamModalQuery$Parameters"),variables:{}},footerQueryRef:{parameters:r("WearablesPageLayoutSidebarFooterQuery$Parameters"),variables:{}},orgSelectorContentQueryRef:{parameters:r("WearablesOrganisationSelectorContentQuery$Parameters"),variables:{}},orgSelectorQueryRef:{parameters:r("WearablesOrganisationSelectorQuery$Parameters"),variables:{organisationID:e.routeParams.organisation_id,organisationIDIsNull:e.routeParams.organisation_id==null}}}});l.default=s}),98);
-----
WearablesOrganisationSelectorContentQuery$Parameters",[],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:"9421541967955398",metadata:{},name:"WearablesOrganisationSelectorContentQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
WearablesOrganisationSelectorContent.react",["fbt","ix","CometRelay","GeoBaseSpacingLayout.react","GeoButton.react","GeoFlexbox.react","GeoHStack.react","GeoHeading.react","GeoIcon.react","GeoMediaItem.react","GeoScrollableArea.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","GeoTextPairing.react","GeoVStack.react","WearablesOrganisationSelectorContentQuery.graphql","WearablesPath","fbicon","geoMargin","react","react-compiler-runtime","useCometRouterDispatcher"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));k.useCallback;function m(a){var b=d("react-compiler-runtime").c(17),e=a.description,f=a.label,g=a.onClick,h=a.organisationID,j=c("useCometRouterDispatcher")();b[0]!==h?(a=d("WearablesPath").getSettingsPath({organisationID:h,tab:"details"}),b[0]=h,b[1]=a):a=b[1];var k=a;b[2]!==j||b[3]!==g||b[4]!==h||b[5]!==k?(a=function(){g([h]),j==null||j.go(k,{})},b[2]=j,b[3]=g,b[4]=h,b[5]=k,b[6]=a):a=b[6];a=a;var m;b[7]===Symbol["for"]("react.memo_cache_sentinel")?(m=l.jsx(c("GeoMediaItem.react"),{fit:"cover",media:l.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("497867"),16)}),ratio:"square",size:32}),b[7]=m):m=b[7];b[8]!==e||b[9]!==f?(m=l.jsxs(c("GeoHStack.react"),{children:[m,l.jsx(c("GeoTextPairing.react"),{description:e,heading:f,size:"value"})]}),b[8]=e,b[9]=f,b[10]=m):m=b[10];b[11]===Symbol["for"]("react.memo_cache_sentinel")?(e=d("fbicon")._(i("477830"),16),b[11]=e):e=b[11];b[12]!==a?(f=l.jsx(c("GeoButton.react"),{icon:e,isLabelHidden:!0,label:"edit",onClick:a,variant:"flat"}),b[12]=a,b[13]=f):f=b[13];b[14]!==m||b[15]!==f?(e=l.jsxs(c("GeoHStack.react"),{alignItems:"stretch",children:[m,f]}),b[14]=m,b[15]=f,b[16]=e):e=b[16];return e}function a(a){var e=d("react-compiler-runtime").c(18),f=a.handleOrganisationChange,g=a.orgSelectorContentQueryRef,i=a.selectedOrganisationID;a=a.showCreateTeamModal;g=d("CometRelay").usePreloadedQuery(j!==void 0?j:j=b("WearablesOrganisationSelectorContentQuery.graphql"),g);g=(g=g.xar_wearables_dev_center)==null?void 0:g.organisations;var k;e[0]!==f?(k=function(a){a=a[0];a!=null&&f(a)},e[0]=f,e[1]=k):k=e[1];var n=k;e[2]===Symbol["for"]("react.memo_cache_sentinel")?(k=l.jsx(c("GeoHeading.react"),{level:3,children:h._(/*BTDS*/"Teams")}),e[2]=k):k=e[2];var o;e[3]!==i?(o=[i],e[3]=i,e[4]=o):o=e[4];e[5]!==n||e[6]!==g?(i=g==null?void 0:g.map(function(a){var b;return a.name!=null&&a.id!=null?l.jsx(c("GeoSelectableListGenericItem.react"),{itemID:a.id,children:l.jsx(m,{description:((b=a.applications)==null?void 0:b.count)!=null?h._(/*BTDS*/"_j{"*":"{number} projects","_1":"1 project"}",[h._plural(a.applications.count,"number")]):void 0,label:a.name,onClick:n,organisationID:a.id})},a.id):null}),e[5]=n,e[6]=g,e[7]=i):i=e[7];e[8]!==n||e[9]!==o||e[10]!==i?(g=l.jsx(c("GeoSelectableList.react"),{itemStyle:"radio",onSelectionChange:n,selectedItemIDs:o,selectionType:"single",children:i}),e[8]=n,e[9]=o,e[10]=i,e[11]=g):g=e[11];e[12]===Symbol["for"]("react.memo_cache_sentinel")?(o=h._(/*BTDS*/"Create team"),e[12]=o):o=e[12];e[13]!==a?(i=l.jsx(c("GeoButton.react"),{grow:"fill",label:o,onClick:a}),e[13]=a,e[14]=i):i=e[14];e[15]!==g||e[16]!==i?(o=l.jsx(c("GeoBaseSpacingLayout.react"),{align:"stretch",context:"container",direction:"vertical",relation:"unrelated",children:l.jsx(c("GeoScrollableArea.react"),{direction:"vertical",children:l.jsx(c("GeoFlexbox.react"),{direction:"column",gap:12,xstyle:c("geoMargin").all8,children:l.jsxs(c("GeoVStack.react"),{context:"container",relation:"related",children:[k,g,i]})})})}),e[15]=g,e[16]=i,e[17]=o):o=e[17];return o}g["default"]=a}),226);
-----
WearablesOrganisationSelectorContentQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,concreteType:"XARWearablesDevCenterQuery",kind:"LinkedField",name:"xar_wearables_dev_center",plural:!1,selections:[{alias:null,args:null,concreteType:"XARWearablesOrganisation",kind:"LinkedField",name:"organisations",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"XARWearablesOrganisationApplicationsConnection",kind:"LinkedField",name:"applications",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"WearablesOrganisationSelectorContentQuery",selections:a,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"WearablesOrganisationSelectorContentQuery",selections:a},params:{id:"9421541967955398",metadata:{},name:"WearablesOrganisationSelectorContentQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
-----
buildWearablesShellRoute.entrypoint",["JSResourceForInteraction","WearablesCreateTeamModalQuery$Parameters","WearablesOrganisationSelectorContentQuery$Parameters","WearablesOrganisationSelectorQuery$Parameters","WearablesPageLayoutSidebarFooterQuery$Parameters","createContentAreaCompoundEntryPointBuilder"],(function(t,n,r,o,a,i,l){"use strict";var e=r("JSResourceForInteraction")("WearablesPage.react").__setRef("buildWearablesShellRoute.entrypoint"),s=r("createContentAreaCompoundEntryPointBuilder")(e,function(e){return{createTeamModalQueryRef:{parameters:r("WearablesCreateTeamModalQuery$Parameters"),variables:{}},footerQueryRef:{parameters:r("WearablesPageLayoutSidebarFooterQuery$Parameters"),variables:{}},orgSelectorContentQueryRef:{parameters:r("WearablesOrganisationSelectorContentQuery$Parameters"),variables:{}},orgSelectorQueryRef:{parameters:r("WearablesOrganisationSelectorQuery$Parameters"),variables:{organisationID:e.routeParams.organisation_id,organisationIDIsNull:e.routeParams.organisation_id==null}}}});l.default=s}),98);
-----
WearablesOrganisationSelectorContentQuery$Parameters",[],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:"9421541967955398",metadata:{},name:"WearablesOrganisationSelectorContentQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
WearablesOrganisationSelectorContent.react",["fbt","ix","CometRelay","GeoBaseSpacingLayout.react","GeoButton.react","GeoFlexbox.react","GeoHStack.react","GeoHeading.react","GeoIcon.react","GeoMediaItem.react","GeoScrollableArea.react","GeoSelectableList.react","GeoSelectableListGenericItem.react","GeoTextPairing.react","GeoVStack.react","WearablesOrganisationSelectorContentQuery.graphql","WearablesPath","fbicon","geoMargin","react","react-compiler-runtime","useCometRouterDispatcher"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react"));k.useCallback;function m(a){var b=d("react-compiler-runtime").c(17),e=a.description,f=a.label,g=a.onClick,h=a.organisationID,j=c("useCometRouterDispatcher")();b[0]!==h?(a=d("WearablesPath").getSettingsPath({organisationID:h,tab:"details"}),b[0]=h,b[1]=a):a=b[1];var k=a;b[2]!==j||b[3]!==g||b[4]!==h||b[5]!==k?(a=function(){g([h]),j==null||j.go(k,{})},b[2]=j,b[3]=g,b[4]=h,b[5]=k,b[6]=a):a=b[6];a=a;var m;b[7]===Symbol["for"]("react.memo_cache_sentinel")?(m=l.jsx(c("GeoMediaItem.react"),{fit:"cover",media:l.jsx(c("GeoIcon.react"),{icon:d("fbicon")._(i("497867"),16)}),ratio:"square",size:32}),b[7]=m):m=b[7];b[8]!==e||b[9]!==f?(m=l.jsxs(c("GeoHStack.react"),{children:[m,l.jsx(c("GeoTextPairing.react"),{description:e,heading:f,size:"value"})]}),b[8]=e,b[9]=f,b[10]=m):m=b[10];b[11]===Symbol["for"]("react.memo_cache_sentinel")?(e=d("fbicon")._(i("477830"),16),b[11]=e):e=b[11];b[12]!==a?(f=l.jsx(c("GeoButton.react"),{icon:e,isLabelHidden:!0,label:"edit",onClick:a,variant:"flat"}),b[12]=a,b[13]=f):f=b[13];b[14]!==m||b[15]!==f?(e=l.jsxs(c("GeoHStack.react"),{alignItems:"stretch",children:[m,f]}),b[14]=m,b[15]=f,b[16]=e):e=b[16];return e}function a(a){var e=d("react-compiler-runtime").c(18),f=a.handleOrganisationChange,g=a.orgSelectorContentQueryRef,i=a.selectedOrganisationID;a=a.showCreateTeamModal;g=d("CometRelay").usePreloadedQuery(j!==void 0?j:j=b("WearablesOrganisationSelectorContentQuery.graphql"),g);g=(g=g.xar_wearables_dev_center)==null?void 0:g.organisations;var k;e[0]!==f?(k=function(a){a=a[0];a!=null&&f(a)},e[0]=f,e[1]=k):k=e[1];var n=k;e[2]===Symbol["for"]("react.memo_cache_sentinel")?(k=l.jsx(c("GeoHeading.react"),{level:3,children:h._(/*BTDS*/"Teams")}),e[2]=k):k=e[2];var o;e[3]!==i?(o=[i],e[3]=i,e[4]=o):o=e[4];e[5]!==n||e[6]!==g?(i=g==null?void 0:g.map(function(a){var b;return a.name!=null&&a.id!=null?l.jsx(c("GeoSelectableListGenericItem.react"),{itemID:a.id,children:l.jsx(m,{description:((b=a.applications)==null?void 0:b.count)!=null?h._(/*BTDS*/"_j{"*":"{number} projects","_1":"1 project"}",[h._plural(a.applications.count,"number")]):void 0,label:a.name,onClick:n,organisationID:a.id})},a.id):null}),e[5]=n,e[6]=g,e[7]=i):i=e[7];e[8]!==n||e[9]!==o||e[10]!==i?(g=l.jsx(c("GeoSelectableList.react"),{itemStyle:"radio",onSelectionChange:n,selectedItemIDs:o,selectionType:"single",children:i}),e[8]=n,e[9]=o,e[10]=i,e[11]=g):g=e[11];e[12]===Symbol["for"]("react.memo_cache_sentinel")?(o=h._(/*BTDS*/"Create team"),e[12]=o):o=e[12];e[13]!==a?(i=l.jsx(c("GeoButton.react"),{grow:"fill",label:o,onClick:a}),e[13]=a,e[14]=i):i=e[14];e[15]!==g||e[16]!==i?(o=l.jsx(c("GeoBaseSpacingLayout.react"),{align:"stretch",context:"container",direction:"vertical",relation:"unrelated",children:l.jsx(c("GeoScrollableArea.react"),{direction:"vertical",children:l.jsx(c("GeoFlexbox.react"),{direction:"column",gap:12,xstyle:c("geoMargin").all8,children:l.jsxs(c("GeoVStack.react"),{context:"container",relation:"related",children:[k,g,i]})})})}),e[15]=g,e[16]=i,e[17]=o):o=e[17];return o}g["default"]=a}),226);
-----
WearablesOrganisationSelectorContentQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{alias:null,args:null,concreteType:"XARWearablesDevCenterQuery",kind:"LinkedField",name:"xar_wearables_dev_center",plural:!1,selections:[{alias:null,args:null,concreteType:"XARWearablesOrganisation",kind:"LinkedField",name:"organisations",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,concreteType:"XARWearablesOrganisationApplicationsConnection",kind:"LinkedField",name:"applications",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"count",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"WearablesOrganisationSelectorContentQuery",selections:a,type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"WearablesOrganisationSelectorContentQuery",selections:a},params:{id:"9421541967955398",metadata:{},name:"WearablesOrganisationSelectorContentQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----