MDCAppStoreAppPDPV2Root.react",["CometRelay","MCDSRow.react","MCDSRowItem.react","MCDSStickyElement.react","MCDSVerticalStack.react","MDCAppStoreAnalyticsEvents","MDCAppStoreAppPDPV2RootQuery.graphql","MDCAppStoreOCAppStoreTypeNames","MDCAppStoreProductDetailsPageContainer.react","MDCAppStoreV2AppContext.react","MDCAppStoreV2ParityAppPDPMedia.react","MDCAppStoreV2ParityAppPDPPurchase.react","MDCErrorBoundary.react","MedalliaDigitalAppsGamesProductDetailsMetadataProvider","Placeholder.react","deferredLoadComponent","isEmpty","mcdsMargin","mcdsPadding","react","requireDeferredForDisplay","useMDCAppStoreV2ParityShareLink","useMatchViewport"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u,c=u||(u=o("react")),d=u,m=d.useCallback,p=d.useContext,_=d.useEffect,f=r("deferredLoadComponent")(r("requireDeferredForDisplay")("MDCHorizonDownloadPage.react").__setRef("MDCAppStoreAppPDPV2Root.react")),g=r("deferredLoadComponent")(r("requireDeferredForDisplay")("MDCAppStoreAppPDPBelowFold.react").__setRef("MDCAppStoreAppPDPV2Root.react")),h={pageContent:{"@media (min-width: 1025px)_order":"xrci00h",$$css:!0},purchaseBox:{order:"x14yy4lh",$$css:!0}};function y(t){var a,i,l,u,d,y,C,b,v,S=o("MDCAppStoreAnalyticsEvents").useMDCAppStoreBumpKey();_(function(){S("store.pdp.load.start")},[S]);var R=m(function(){S("store.pdp.load.error")},[S]),L=o("CometRelay").usePreloadedQuery(e!==void 0?e:e=n("MDCAppStoreAppPDPV2RootQuery.graphql"),t.queries.MDCAppStoreAppPDPV2RootQueryRef),E=L.app_store_item,k=L.viewer;_(function(){o("MedalliaDigitalAppsGamesProductDetailsMetadataProvider").markCurrentPageAsAppsGamesProductDetailPageForMedalliaDigital()},[t.queries.MDCAppStoreAppPDPV2RootQueryRef.variables.itemId]);var I=r("useMatchViewport")("min","width",1025),T=p(r("MDCAppStoreV2AppContext.react")),D=!(s||(s=r("isEmpty")))(T==null?void 0:T.appID),x=I&&!D,$=r("useMDCAppStoreV2ParityShareLink")(E==null?void 0:E.id),P=!!((a=t.extraProps)!=null&&a.isPlatformSubscriptionIncludedPerks);if(P)return c.jsx(f,{});if(E==null)return S("store.pdp.error.null_data"),null;var N=c.jsx(r("MDCAppStoreV2ParityAppPDPPurchase.react"),{app:E,enableMvanGiftModalOnLoad:!0,shareLink:$,viewer:k});return c.jsx(r("MDCErrorBoundary.react"),{module:"MDCAppStoreAppPDPV2Root",onError:R,children:c.jsx(r("MDCAppStoreProductDetailsPageContainer.react"),{isShortlinked:(i=(l=t.extraProps)==null?void 0:l.isShortlinked)!=null?i:!1,itemId:E.id,itemType:(u=E.__typename)!=null?u:r("MDCAppStoreOCAppStoreTypeNames").APP_STORE_APPLICATION,traceId:(d=(y=(C=t.extraProps)==null?void 0:C.rankingTrace)!=null?y:E.fallback_ranking_trace)!=null?d:"",children:c.jsxs(r("MCDSRow.react"),{children:[x&&c.jsx(r("MCDSRowItem.react"),{"data-testid":void 0,span:{mobile:0,tablet:0,desktop:4},xstyle:h.purchaseBox,children:c.jsx(r("MCDSStickyElement.react"),{xstyle:r("mcdsPadding").top16,children:N})}),c.jsx(r("MCDSRowItem.react"),{span:{mobile:12,tablet:12,desktop:x?8:12},xstyle:h.pageContent,children:c.jsxs(r("MCDSVerticalStack.react"),{gap:32,xstyle:r("mcdsMargin").top16,children:[!x&&c.jsx("div",{className:"x14yy4lh",children:N}),c.jsx("div",{className:"x9ek82g",children:c.jsx(r("MDCAppStoreV2ParityAppPDPMedia.react"),{app:E,autoPlayHeroVideo:location.hash==="#video"})}),c.jsx(r("Placeholder.react"),{fallback:null,children:c.jsx(g,{hmdType:(b=(v=t.extraProps)==null?void 0:v.hmdType)!=null?b:"HOLLYWOOD",itemId:E.id})})]})})]})})})}y.displayName=y.name+" [from "+i.id+"]",l.default=y}),98);
-----
MDCAppStoreAppPDPV2RootQuery$Parameters",[],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:"32458962350415215",metadata:{},name:"MDCAppStoreAppPDPV2RootQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
MDCAppStoreAppPDPV2RootEntrypoint.entrypoint",["JSResourceForInteraction","MDCAppStoreAppPDPV2RootQuery$Parameters","MDCAppStoreOculusRelayEnvironmentUtils.entrypointutils","buildMDCAppStoreRoute.entrypoint"],(function(t,n,r,o,a,i,l){"use strict";var e=r("JSResourceForInteraction")("MDCAppStoreAppPDPV2Root.react").__setRef("MDCAppStoreAppPDPV2RootEntrypoint.entrypoint"),s=r("buildMDCAppStoreRoute.entrypoint")(e,function(e){var t=e.routeProps;return{queries:{MDCAppStoreAppPDPV2RootQueryRef:{environmentProviderOptions:o("MDCAppStoreOculusRelayEnvironmentUtils.entrypointutils").getMDCAppStoreOculusRelayEnvironmentProviderOptions(t.userId),parameters:r("MDCAppStoreAppPDPV2RootQuery$Parameters"),variables:{hmdType:t.hmdType,itemId:t.itemId,utmParams:t.utmParams}}},extraProps:{hmdType:t.hmdType,rankingTrace:null,isShortlinked:t.isShortlinked,isPlatformSubscriptionIncludedPerks:t.isPlatformSubscriptionIncludedPerks}}});l.default=s}),98);
-----
-----
MDCAppStoreAppPDPV2RootQuery$Parameters",[],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:"32458962350415215",metadata:{},name:"MDCAppStoreAppPDPV2RootQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
MDCAppStoreAppPDPV2RootEntrypoint.entrypoint",["JSResourceForInteraction","MDCAppStoreAppPDPV2RootQuery$Parameters","MDCAppStoreOculusRelayEnvironmentUtils.entrypointutils","buildMDCAppStoreRoute.entrypoint"],(function(t,n,r,o,a,i,l){"use strict";var e=r("JSResourceForInteraction")("MDCAppStoreAppPDPV2Root.react").__setRef("MDCAppStoreAppPDPV2RootEntrypoint.entrypoint"),s=r("buildMDCAppStoreRoute.entrypoint")(e,function(e){var t=e.routeProps;return{queries:{MDCAppStoreAppPDPV2RootQueryRef:{environmentProviderOptions:o("MDCAppStoreOculusRelayEnvironmentUtils.entrypointutils").getMDCAppStoreOculusRelayEnvironmentProviderOptions(t.userId),parameters:r("MDCAppStoreAppPDPV2RootQuery$Parameters"),variables:{hmdType:t.hmdType,itemId:t.itemId,utmParams:t.utmParams}}},extraProps:{hmdType:t.hmdType,rankingTrace:null,isShortlinked:t.isShortlinked,isPlatformSubscriptionIncludedPerks:t.isPlatformSubscriptionIncludedPerks}}});l.default=s}),98);
-----