OCDevManagePlatformServicesTabView.react",["fbt","GeoPageCard.react","GeoSection.react","GeoTab.react","GeoTabGroup.react","OCDevManagePlatformServicesSubscriptionsUtils","OCDevWebClientEventsLogger","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.onChangeTab,e=a.selectedTab,f=d("OCDevWebClientEventsLogger").useClickLogger({type:"manage_test_subscriptions_link",name:"Manage Test Subscriptions"});return j.jsx(c("GeoPageCard.react"),{columns:12,children:j.jsx(c("GeoSection.react"),{children:j.jsxs(c("GeoTabGroup.react"),{value:e,onChange:b,children:[j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Set Up Subscription Tiers"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers}),j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Manage Test User Subscriptions"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.ManageTestSubscriptions,onActivate:function(a){return a!==e?f():null}})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePlatformServicesSubscriptionsUtils",[],(function(a,b,c,d,e,f){"use strict";a={SetupSubscriptionTiers:"setup_subscription_tiers",ManageTestSubscriptions:"manage_test_subscriptions"};f.SubscriptionsTabs=a}),66);
-----
OCDevManagePlatformServicesSubscriptionsView.react",["fbt","GeoBaseSpacingLayout.react","GeoButton.react","GeoLink.react","GeoNotice.react","GeoPageItem.react","GeoPageSection.react","OBSpacer.react","OCDevManagePDPBuyingOptInModal.react","OCDevManagePage.react","OCDevManagePlatformServicesSubscriptionCreateRoute","OCDevManagePlatformServicesSubscriptionsHeader.react","OCDevManagePlatformServicesSubscriptionsUtils","OCDevManagePlatformServicesSubscriptionsView_applicationGrouping.graphql","OCDevManagePlatformServicesSubscriptionsView_viewer.graphql","OCDevManagePlatformServicesTabView.react","OCDevManageSubscriptionGroup.react","OCDevManageSubscriptionWelcomeModal.react","OCDevManageSubscriptionsDevTesting.react","OCNavigatorHooks","OCRocksteadySubscriptionsPdpBuyingApps","RelayHooks","gkx","react","useOCDevManageSavedAction","useOCDevUIModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useCallback,n=e.useEffect,o=e.useState;function a(a){var e=a.applicationGrouping,f=a.applicationID,g=a.applicationName;a=a.viewerKey;var k=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesSubscriptionsView_applicationGrouping.graphql"),e);e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePlatformServicesSubscriptionsView_viewer.graphql"),a);a=c("useOCDevUIModal")();var p=a.openModal;a=c("useOCDevManageSavedAction")({user:e==null?void 0:e.user,actionID:"has_seen_rocksteady_enable_pdp_buying_modal"});e=a.actionValue;var q=a.setActionValue,r=c("OCRocksteadySubscriptionsPdpBuyingApps").allowedApps.map(String).includes(f)&&c("gkx")("1748")&&!e;a=c("gkx")("4311");n(function(){r&&p(l.jsx(c("OCDevManagePDPBuyingOptInModal.react"),{appName:g,onClose:q}))},[]);e=(e=k==null?void 0:(e=k.subscription_base_tiers)==null?void 0:e.nodes)!=null?e:[];var s=o(d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers),t=s[0];s=s[1];var u=k.id,v=d("OCNavigatorHooks").useNavigate(),w=m(function(){v(c("OCDevManagePlatformServicesSubscriptionCreateRoute").getURI({applicationID:f}))},[f,v]);return k==null||u==null?null:l.jsx(c("OCDevManagePage.react"),{columns:12,header:l.jsxs(l.Fragment,{children:[l.jsx(c("OCDevManagePlatformServicesSubscriptionsHeader.react"),{applicationGroupingID:u}),l.jsx(c("OBSpacer.react"),{size:3}),l.jsx(c("GeoNotice.react"),{action:l.jsx(c("GeoLink.react"),{href:"https://developer.oculus.com/resources/subscriptions/",children:h._("u8ba2u9605u670du52a1u76f8u5173u6587u6863")}),status:"warning",children:h._("u8bf7u5148u53c2u9605u5f00u53d1u8005u6587u6863u6765u4e86u89e3u6700u4f73u5b9eu8df5uff0cu518du521bu5efau8ba2u9605u670du52a1u3002")})]}),children:l.jsx(c("GeoPageSection.react"),{children:l.jsx(c("GeoPageItem.react"),{columns:12,children:l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",direction:"vertical",children:[a&&l.jsx(l.Suspense,{fallback:null,children:l.jsx(c("OCDevManageSubscriptionWelcomeModal.react"),{})}),l.jsx(c("OCDevManagePlatformServicesTabView.react"),{selectedTab:t,onChangeTab:s}),t===d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers?l.jsxs(l.Fragment,{children:[e.map(function(a,b){return l.jsx(c("OCDevManageSubscriptionGroup.react"),{applicationGrouping:k,applicationId:f,baseTierId:a==null?void 0:a.id,groupName:h._("Subscription {group number}",[h._param("group number",(b+1).toString())])},b)}),l.jsx(c("GeoPageItem.react"),{columns:3,children:l.jsx(c("GeoButton.react"),{label:h._("Create new Subscription"),variant:"primary",onClick:w})})]}):l.jsx(c("OCDevManageSubscriptionsDevTesting.react"),{applicationGrouping:k})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePlatformServicesTabView.react",["fbt","GeoPageCard.react","GeoSection.react","GeoTab.react","GeoTabGroup.react","OCDevManagePlatformServicesSubscriptionsUtils","OCDevWebClientEventsLogger","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.onChangeTab,e=a.selectedTab,f=d("OCDevWebClientEventsLogger").useClickLogger({type:"manage_test_subscriptions_link",name:"Manage Test Subscriptions"});return j.jsx(c("GeoPageCard.react"),{columns:12,children:j.jsx(c("GeoSection.react"),{children:j.jsxs(c("GeoTabGroup.react"),{value:e,onChange:b,children:[j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Set Up Subscription Tiers"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers}),j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Manage Test User Subscriptions"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.ManageTestSubscriptions,onActivate:function(a){return a!==e?f():null}})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePlatformServicesSubscriptionsUtils",[],(function(a,b,c,d,e,f){"use strict";a={SetupSubscriptionTiers:"setup_subscription_tiers",ManageTestSubscriptions:"manage_test_subscriptions"};f.SubscriptionsTabs=a}),66);
-----
-----
OCDevManagePlatformServicesSubscriptionsUtils",[],(function(a,b,c,d,e,f){"use strict";a={SetupSubscriptionTiers:"setup_subscription_tiers",ManageTestSubscriptions:"manage_test_subscriptions"};f.SubscriptionsTabs=a}),66);
-----
OCDevManagePlatformServicesSubscriptionsView.react",["fbt","GeoBaseSpacingLayout.react","GeoButton.react","GeoLink.react","GeoNotice.react","GeoPageItem.react","GeoPageSection.react","OBSpacer.react","OCDevManagePDPBuyingOptInModal.react","OCDevManagePage.react","OCDevManagePlatformServicesSubscriptionCreateRoute","OCDevManagePlatformServicesSubscriptionsHeader.react","OCDevManagePlatformServicesSubscriptionsUtils","OCDevManagePlatformServicesSubscriptionsView_applicationGrouping.graphql","OCDevManagePlatformServicesSubscriptionsView_viewer.graphql","OCDevManagePlatformServicesTabView.react","OCDevManageSubscriptionGroup.react","OCDevManageSubscriptionWelcomeModal.react","OCDevManageSubscriptionsDevTesting.react","OCNavigatorHooks","OCRocksteadySubscriptionsPdpBuyingApps","RelayHooks","gkx","react","useOCDevManageSavedAction","useOCDevUIModal"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||(k=d("react"));e=k;var m=e.useCallback,n=e.useEffect,o=e.useState;function a(a){var e=a.applicationGrouping,f=a.applicationID,g=a.applicationName;a=a.viewerKey;var k=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesSubscriptionsView_applicationGrouping.graphql"),e);e=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePlatformServicesSubscriptionsView_viewer.graphql"),a);a=c("useOCDevUIModal")();var p=a.openModal;a=c("useOCDevManageSavedAction")({user:e==null?void 0:e.user,actionID:"has_seen_rocksteady_enable_pdp_buying_modal"});e=a.actionValue;var q=a.setActionValue,r=c("OCRocksteadySubscriptionsPdpBuyingApps").allowedApps.map(String).includes(f)&&c("gkx")("1748")&&!e;a=c("gkx")("4311");n(function(){r&&p(l.jsx(c("OCDevManagePDPBuyingOptInModal.react"),{appName:g,onClose:q}))},[]);e=(e=k==null?void 0:(e=k.subscription_base_tiers)==null?void 0:e.nodes)!=null?e:[];var s=o(d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers),t=s[0];s=s[1];var u=k.id,v=d("OCNavigatorHooks").useNavigate(),w=m(function(){v(c("OCDevManagePlatformServicesSubscriptionCreateRoute").getURI({applicationID:f}))},[f,v]);return k==null||u==null?null:l.jsx(c("OCDevManagePage.react"),{columns:12,header:l.jsxs(l.Fragment,{children:[l.jsx(c("OCDevManagePlatformServicesSubscriptionsHeader.react"),{applicationGroupingID:u}),l.jsx(c("OBSpacer.react"),{size:3}),l.jsx(c("GeoNotice.react"),{action:l.jsx(c("GeoLink.react"),{href:"https://developer.oculus.com/resources/subscriptions/",children:h._("u8ba2u9605u670du52a1u76f8u5173u6587u6863")}),status:"warning",children:h._("u8bf7u5148u53c2u9605u5f00u53d1u8005u6587u6863u6765u4e86u89e3u6700u4f73u5b9eu8df5uff0cu518du521bu5efau8ba2u9605u670du52a1u3002")})]}),children:l.jsx(c("GeoPageSection.react"),{children:l.jsx(c("GeoPageItem.react"),{columns:12,children:l.jsxs(c("GeoBaseSpacingLayout.react"),{align:"start",direction:"vertical",children:[a&&l.jsx(l.Suspense,{fallback:null,children:l.jsx(c("OCDevManageSubscriptionWelcomeModal.react"),{})}),l.jsx(c("OCDevManagePlatformServicesTabView.react"),{selectedTab:t,onChangeTab:s}),t===d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers?l.jsxs(l.Fragment,{children:[e.map(function(a,b){return l.jsx(c("OCDevManageSubscriptionGroup.react"),{applicationGrouping:k,applicationId:f,baseTierId:a==null?void 0:a.id,groupName:h._("Subscription {group number}",[h._param("group number",(b+1).toString())])},b)}),l.jsx(c("GeoPageItem.react"),{columns:3,children:l.jsx(c("GeoButton.react"),{label:h._("Create new Subscription"),variant:"primary",onClick:w})})]}):l.jsx(c("OCDevManageSubscriptionsDevTesting.react"),{applicationGrouping:k})]})})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePlatformServicesTabView.react",["fbt","GeoPageCard.react","GeoSection.react","GeoTab.react","GeoTabGroup.react","OCDevManagePlatformServicesSubscriptionsUtils","OCDevWebClientEventsLogger","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react");function a(a){var b=a.onChangeTab,e=a.selectedTab,f=d("OCDevWebClientEventsLogger").useClickLogger({type:"manage_test_subscriptions_link",name:"Manage Test Subscriptions"});return j.jsx(c("GeoPageCard.react"),{columns:12,children:j.jsx(c("GeoSection.react"),{children:j.jsxs(c("GeoTabGroup.react"),{value:e,onChange:b,children:[j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Set Up Subscription Tiers"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.SetupSubscriptionTiers}),j.jsx(c("GeoTab.react"),{"data-testid":void 0,label:h._("Manage Test User Subscriptions"),value:d("OCDevManagePlatformServicesSubscriptionsUtils").SubscriptionsTabs.ManageTestSubscriptions,onActivate:function(a){return a!==e?f():null}})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePlatformServicesSubscriptionsUtils",[],(function(a,b,c,d,e,f){"use strict";a={SetupSubscriptionTiers:"setup_subscription_tiers",ManageTestSubscriptions:"manage_test_subscriptions"};f.SubscriptionsTabs=a}),66);
-----