MDCAppStoreV2PlatformSubscriptionRedeemExtensionButtonMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"},{defaultValue:null,kind:"LocalArgument",name:"item_id"}],b=[{kind:"Variable",name:"data",variableName:"input"}],c=[{kind:"Variable",name:"item_id",variableName:"item_id"}],d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButtonMutation",selections:[{alias:null,args:b,concreteType:"XOCSubscriptionRedeemExtensionResponsePayload",kind:"LinkedField",name:"xoc_subscription_redeem_extension",plural:!1,selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:c,concreteType:"XOCOCPlatformSubscriptionDetails",kind:"LinkedField",name:"platform_subscription_details",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails"}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButtonMutation",selections:[{alias:null,args:b,concreteType:"XOCSubscriptionRedeemExtensionResponsePayload",kind:"LinkedField",name:"xoc_subscription_redeem_extension",plural:!1,selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"User",kind:"LinkedField",name:"user",plural:!1,selections:[{alias:null,args:c,concreteType:"XOCOCPlatformSubscriptionDetails",kind:"LinkedField",name:"platform_subscription_details",plural:!1,selections:[{alias:null,args:null,concreteType:"IAPItem",kind:"LinkedField",name:"item",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_entitled",storageKey:null},{alias:null,args:null,concreteType:"AppStoreTrialOffer",kind:"LinkedField",name:"current_trial_offer",plural:!1,selections:[d],storageKey:null},d],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionPDPInfo",kind:"LinkedField",name:"pdp_info",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCPlatformSubscriptionPromotion",kind:"LinkedField",name:"promo_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"redeem_button_cta_text",storageKey:null},{alias:null,args:null,concreteType:"XOCSubscriptionExtensionModalContent",kind:"LinkedField",name:"subscriber_extension_modal",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"title_text",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},d],storageKey:null}],storageKey:null}],storageKey:null}]},params:{id:"8672810799404879",metadata:{},name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButtonMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
MDCAppStoreV2PlatformSubscriptionPurchaseButton.react",["DDSButton.react","DDSVerticalStack.react","MDCAppStoreOCAppStoreOfferTypes","MDCAppStoreOCAppStoreTypeNames","MDCAppStoreV2AppPurchaseState","MDCAppStoreV2AppPurchaseSubscriptionButton.react","MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql","MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react","react","react-relay","translatedServerString","useMDCAppStoreV2AppPurchasePriceLabel"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e;a=a.pageDetailsKey;a=d("react-relay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql"),a);e=c("useMDCAppStoreV2AppPurchasePriceLabel")(a==null?void 0:(e=a.item)==null?void 0:e.current_offer);if(!a)return null;var f=a.item;if(!f||f.id==null||!f.parent_application||!f.current_offer||f.__typename!==c("MDCAppStoreOCAppStoreTypeNames").APP_STORE_IAP)return null;if(a.viewer_age_restriction_info&&a.viewer_age_restriction_info.is_restricted===!0&&a.viewer_age_restriction_info.restriction_reason!=null){var g;g=(g=a.pdp_info)==null?void 0:g.unavailable_cta_text;g=g!=null?c("translatedServerString")(g):e;return g==null?null:j.jsx(c("DDSButton.react"),{isDisabled:!0,label:g,type:"primary"})}if(f.current_offer.offer_type===c("MDCAppStoreOCAppStoreOfferTypes").COMING_SOON)return null;e=(e=a.pdp_info)==null?void 0:(g=e.promo_details)==null?void 0:g.redeem_button_cta_text;return j.jsxs(c("DDSVerticalStack.react"),{gap:16,children:[f.is_viewer_entitled===!0&&j.jsx(c("MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react"),{pageDetailsKey:a}),j.jsx(c("MDCAppStoreV2AppPurchaseSubscriptionButton.react"),{app:f.parent_application,customLabel:e!=null?c("translatedServerString")(e):null,initialState:c("MDCAppStoreV2AppPurchaseState").SUBSCRIBE})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react",["DDSButton.react","DDSDefaultLoadingDialog.react","DDSEntryPointModalTrigger.react","MDCAppStoreRedeemSubscriptionExtensionMutation","MDCAppStoreV2PlatformSubscriptionExtensionModal.entrypoint","MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql","react","react-relay","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f;a=a.pageDetailsKey;a=d("react-relay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql"),a);var g=d("MDCAppStoreRedeemSubscriptionExtensionMutation").useSubscriptionRedeemExtension(),i=g[0],k=g[1];if(!a)return null;g=(g=a.item)==null?void 0:g.is_viewer_entitled;e=(e=a.item)==null?void 0:(e=e.current_trial_offer)==null?void 0:e.id;var l=(f=a.pdp_info)==null?void 0:(f=f.promo_details)==null?void 0:f.redeem_button_cta_text;a=(f=a.pdp_info)==null?void 0:(a=f.promo_details)==null?void 0:(f=a.subscriber_extension_modal)==null?void 0:f.title_text;return g===!1||!g||e==null||!e||l==null||!l||a==null||!a?null:j.jsx(c("DDSEntryPointModalTrigger.react"),{entryPoint:c("MDCAppStoreV2PlatformSubscriptionExtensionModal.entrypoint"),options:{fallback:c("DDSDefaultLoadingDialog.react")},otherProps:{isInFlight:k,redeem:i,title:a,trialOfferID:e},preloadParams:{},children:function(a){var b=a.onHoverInPrerenderer,d=a.onHoverOutPrerenderer;a=a.onTrigger;return j.jsx(c("DDSButton.react"),{"data-testid":void 0,isDisabled:k,isLoading:k,label:c("translatedServerString")(l),type:"primary",onClick:a,onHoverIn:b,onHoverOut:d},"redeem-extension-button")}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails",selections:[{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails"},{alias:null,args:null,concreteType:"IAPItem",kind:"LinkedField",name:"item",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_viewer_entitled",storageKey:null},{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"parent_application",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2AppPurchaseSubscriptionButton_app"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current_offer",plural:!1,selections:[a],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current_offer",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"useMDCAppStoreV2AppPurchasePriceLabel_offer"},{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionPDPInfo",kind:"LinkedField",name:"pdp_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"unavailable_cta_text",storageKey:null},{alias:null,args:null,concreteType:"XOCPlatformSubscriptionPromotion",kind:"LinkedField",name:"promo_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"redeem_button_cta_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionViewerAgeRestrictionInfo",kind:"LinkedField",name:"viewer_age_restriction_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_restricted",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"restriction_reason",storageKey:null}],storageKey:null}],type:"XOCOCPlatformSubscriptionDetails",abstractKey:null}}();e.exports=a}),null);
-----
MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails",selections:[{alias:null,args:null,concreteType:"IAPItem",kind:"LinkedField",name:"item",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_entitled",storageKey:null},{alias:null,args:null,concreteType:"AppStoreTrialOffer",kind:"LinkedField",name:"current_trial_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionPDPInfo",kind:"LinkedField",name:"pdp_info",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCPlatformSubscriptionPromotion",kind:"LinkedField",name:"promo_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"redeem_button_cta_text",storageKey:null},{alias:null,args:null,concreteType:"XOCSubscriptionExtensionModalContent",kind:"LinkedField",name:"subscriber_extension_modal",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"title_text",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"XOCOCPlatformSubscriptionDetails",abstractKey:null};e.exports=a}),null);
-----
MDCAppStoreV2PlatformSubscriptionPurchaseButton.react",["DDSButton.react","DDSVerticalStack.react","MDCAppStoreOCAppStoreOfferTypes","MDCAppStoreOCAppStoreTypeNames","MDCAppStoreV2AppPurchaseState","MDCAppStoreV2AppPurchaseSubscriptionButton.react","MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql","MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react","react","react-relay","translatedServerString","useMDCAppStoreV2AppPurchasePriceLabel"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e;a=a.pageDetailsKey;a=d("react-relay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql"),a);e=c("useMDCAppStoreV2AppPurchasePriceLabel")(a==null?void 0:(e=a.item)==null?void 0:e.current_offer);if(!a)return null;var f=a.item;if(!f||f.id==null||!f.parent_application||!f.current_offer||f.__typename!==c("MDCAppStoreOCAppStoreTypeNames").APP_STORE_IAP)return null;if(a.viewer_age_restriction_info&&a.viewer_age_restriction_info.is_restricted===!0&&a.viewer_age_restriction_info.restriction_reason!=null){var g;g=(g=a.pdp_info)==null?void 0:g.unavailable_cta_text;g=g!=null?c("translatedServerString")(g):e;return g==null?null:j.jsx(c("DDSButton.react"),{isDisabled:!0,label:g,type:"primary"})}if(f.current_offer.offer_type===c("MDCAppStoreOCAppStoreOfferTypes").COMING_SOON)return null;e=(e=a.pdp_info)==null?void 0:(g=e.promo_details)==null?void 0:g.redeem_button_cta_text;return j.jsxs(c("DDSVerticalStack.react"),{gap:16,children:[f.is_viewer_entitled===!0&&j.jsx(c("MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react"),{pageDetailsKey:a}),j.jsx(c("MDCAppStoreV2AppPurchaseSubscriptionButton.react"),{app:f.parent_application,customLabel:e!=null?c("translatedServerString")(e):null,initialState:c("MDCAppStoreV2AppPurchaseState").SUBSCRIBE})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton.react",["DDSButton.react","DDSDefaultLoadingDialog.react","DDSEntryPointModalTrigger.react","MDCAppStoreRedeemSubscriptionExtensionMutation","MDCAppStoreV2PlatformSubscriptionExtensionModal.entrypoint","MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql","react","react-relay","translatedServerString"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=i||d("react");function a(a){var e,f;a=a.pageDetailsKey;a=d("react-relay").useFragment(h!==void 0?h:h=b("MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql"),a);var g=d("MDCAppStoreRedeemSubscriptionExtensionMutation").useSubscriptionRedeemExtension(),i=g[0],k=g[1];if(!a)return null;g=(g=a.item)==null?void 0:g.is_viewer_entitled;e=(e=a.item)==null?void 0:(e=e.current_trial_offer)==null?void 0:e.id;var l=(f=a.pdp_info)==null?void 0:(f=f.promo_details)==null?void 0:f.redeem_button_cta_text;a=(f=a.pdp_info)==null?void 0:(a=f.promo_details)==null?void 0:(f=a.subscriber_extension_modal)==null?void 0:f.title_text;return g===!1||!g||e==null||!e||l==null||!l||a==null||!a?null:j.jsx(c("DDSEntryPointModalTrigger.react"),{entryPoint:c("MDCAppStoreV2PlatformSubscriptionExtensionModal.entrypoint"),options:{fallback:c("DDSDefaultLoadingDialog.react")},otherProps:{isInFlight:k,redeem:i,title:a,trialOfferID:e},preloadParams:{},children:function(a){var b=a.onHoverInPrerenderer,d=a.onHoverOutPrerenderer;a=a.onTrigger;return j.jsx(c("DDSButton.react"),{"data-testid":void 0,isDisabled:k,isLoading:k,label:c("translatedServerString")(l),type:"primary",onClick:a,onHoverIn:b,onHoverOut:d},"redeem-extension-button")}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2PlatformSubscriptionPurchaseButton_pageDetails",selections:[{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails"},{alias:null,args:null,concreteType:"IAPItem",kind:"LinkedField",name:"item",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_viewer_entitled",storageKey:null},{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"parent_application",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"MDCAppStoreV2AppPurchaseSubscriptionButton_app"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current_offer",plural:!1,selections:[a],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current_offer",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"useMDCAppStoreV2AppPurchasePriceLabel_offer"},{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionPDPInfo",kind:"LinkedField",name:"pdp_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"unavailable_cta_text",storageKey:null},{alias:null,args:null,concreteType:"XOCPlatformSubscriptionPromotion",kind:"LinkedField",name:"promo_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"redeem_button_cta_text",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionViewerAgeRestrictionInfo",kind:"LinkedField",name:"viewer_age_restriction_info",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_restricted",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"restriction_reason",storageKey:null}],storageKey:null}],type:"XOCOCPlatformSubscriptionDetails",abstractKey:null}}();e.exports=a}),null);
-----
MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:null,name:"MDCAppStoreV2PlatformSubscriptionRedeemExtensionButton_pageDetails",selections:[{alias:null,args:null,concreteType:"IAPItem",kind:"LinkedField",name:"item",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_viewer_entitled",storageKey:null},{alias:null,args:null,concreteType:"AppStoreTrialOffer",kind:"LinkedField",name:"current_trial_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCOCPlatformSubscriptionPDPInfo",kind:"LinkedField",name:"pdp_info",plural:!1,selections:[{alias:null,args:null,concreteType:"XOCPlatformSubscriptionPromotion",kind:"LinkedField",name:"promo_details",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"redeem_button_cta_text",storageKey:null},{alias:null,args:null,concreteType:"XOCSubscriptionExtensionModalContent",kind:"LinkedField",name:"subscriber_extension_modal",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"title_text",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"XOCOCPlatformSubscriptionDetails",abstractKey:null};e.exports=a}),null);
-----