OCDevManageApplicationSubmissionPricingFieldsV2_approvedPricePoints.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManageApplicationSubmissionPricingFieldsV2_approvedPricePoints",selections:[{args:null,kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice_approvedPricePoints"}],type:"XOCApprovedPricePoint",abstractKey:null};a.exports=e}),null);
-----
OCDevManageApplicationSubmissionPricing_approvedPricePoints.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManageApplicationSubmissionPricing_approvedPricePoints",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingBundleSummaryCard_approvedPricePoints"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingFieldsV2_approvedPricePoints"}],type:"XOCApprovedPricePoint",abstractKey:null};a.exports=e}),null);
-----
OCDevManageApplicationSubmissionPricingFieldsV2.react",["fbt","GeoLink.react","GeoNotice.react","GeoNoticeContent.react","OCDevManageApplicationReleaseDatePicker.react","OCDevManageApplicationStoreAvailabilityRoute","OCDevManageApplicationSubmissionListingTypeSelector.react","OCDevManageApplicationSubmissionPreOrderTypeSelector.react","OCDevManageApplicationSubmissionPriceInput.react","OCDevManageApplicationSubmissionPricingDiscountSelectorV2.react","OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql","OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2.react","OCDevManageApplicationSubmissionPricingNotice.react","OCDevManageApplicationSubmissionReleaseDateGranularitySelector.react","OCDevUISpacedLayout.react","RelayHooks","react","useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u.useState;function m(t){var a,i,l,u,m,p,_,f,g,h,y=t.formState,C=t.onSubmit,b=t.onUpdateFormState,v=t.submission,S=o("RelayHooks").useFragment(e!==void 0?e:e=n("OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql"),v),R=y.baseApplicationPriceAmount,L=y.offerType,E=d(!1),k=E[0],I=E[1],T=d(function(){return R==null?null:R>0?o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.PAID:o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.FREE}),D=T[0],x=T[1],$=d(!1),P=$[0],N=$[1],M=S.application,w=(M==null||(a=M.store_availability)==null?void 0:a.is_managed)===!0,A=(i=S.reviewable_offer_group_with_fallback)==null?void 0:i.worldwide_offer,F=((l=M==null||(u=M.revisions)==null?void 0:u.nodes)!=null?l:[]).filter(function(e){var t=e.review_status;return t==="APPROVED"}),O=L==="APPSTORE_PREORDER_OFFER",B=L==="APPSTORE_OFFER"||L==="APPSTORE_PREORDER_OFFER"&&D===o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.PAID,W=L==="APPSTORE_PREORDER_OFFER"&&D!=null||L==="APPSTORE_COMINGSOON_OFFER",q=r("useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice")(y,S);return c.jsxs(r("OCDevUISpacedLayout.react"),{children:[w&&c.jsx(r("GeoNotice.react"),{"data-testid":void 0,status:"info",children:c.jsx(r("GeoNoticeContent.react"),{children:s._(/*BTDS*/"These options are limited because you have selected the Managed option in store availability. Change this selection {=m2}.",[s._implicitParam("=m2",c.jsx(r("GeoLink.react"),{href:r("OCDevManageApplicationStoreAvailabilityRoute").getURI({applicationID:(m=M==null?void 0:M.id)!=null?m:""}),target:"_self",children:s._(/*BTDS*/"here")}))])})}),c.jsx(r("OCDevManageApplicationSubmissionListingTypeSelector.react"),{formState:y,submission:S,onUpdateFormState:b}),c.jsx(r("OCDevManageApplicationSubmissionPricingNotice.react"),{formState:y,submission:S}),O&&c.jsx(o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").OCDevManageApplicationSubmissionPreOrderTypeSelector,{selectedType:D,setSelectedType:x,onUpdateFormState:b}),B&&c.jsx(r("OCDevManageApplicationSubmissionPriceInput.react"),{formState:y,moveDefaultPricesToCustom:k,setMoveDefaultPricesToCustom:I,setShowCountrySpecificPricingInfo:N,showCountrySpecificPricingInfo:P,submission:S,onSubmit:C,onUpdateFormState:b}),O&&D!=null&&c.jsx(r("OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2.react"),{submission:S,value:y.additionalItemGrants,onChange:function(t){return b(function(e){return babelHelpers.extends({},e,{additionalItemGrants:t})})}}),O&&D!=null&&c.jsx(r("OCDevManageApplicationSubmissionPricingDiscountSelectorV2.react"),{baselinePriceAmount:q!=null?q:0,disabledMessage:null,submissionForCustomTiers:S.status==="DRAFT"?M==null||(p=M.current_revision)==null?void 0:p.id:S.id,worldwidePriceObjectKey:y.discountWorldwidePriceObjectKey,onUpdateFormState:b}),W&&c.jsx(r("OCDevManageApplicationSubmissionReleaseDateGranularitySelector.react"),{formState:y,onUpdateFormState:b}),W&&c.jsx(r("OCDevManageApplicationReleaseDatePicker.react"),{"data-testid":void 0,initialPublishDateForSelectedOfferType:L!=null?(_=F.findLast(function(e){var t=e.offer_type;return t===L}))==null?void 0:_.publish_date:null,initialReleaseTime:(f=A==null?void 0:A.release_time)!=null?f:0,offerType:L,releaseTime:(g=y.releaseTime)!=null?g:0,releaseTimeType:(h=y.releaseTimeType)!=null?h:"DAY",onUpdateFormState:b})]})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226);
-----
OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFieldsV2_submission",selections:[{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:"current_revision",args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"latest_released_revision",plural:!1,selections:[e],storageKey:null},e,{alias:null,args:null,concreteType:"ApplicationRevisionsConnection",kind:"LinkedField",name:"revisions",plural:!1,selections:[{alias:null,args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publish_date",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"review_status",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCApplicationStoreAvailability",kind:"LinkedField",name:"store_availability",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_managed",storageKey:null}],storageKey:null}],storageKey:null},e,{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"release_time",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionListingTypeSelector_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPriceInput_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingNotice_submission"},{args:null,kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice_submission"}],type:"ApplicationSubmission",abstractKey:null}})();a.exports=e}),null);
-----
OCDevManageApplicationSubmissionPricingFieldsQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"app_store_item_id"},{defaultValue:null,kind:"LocalArgument",name:"price_object_key"},{defaultValue:null,kind:"LocalArgument",name:"submission_id"}],b=[{kind:"Variable",name:"node_id",variableName:"app_store_item_id"}],c={alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},e=[c,d,{alias:null,args:null,kind:"ScalarField",name:"formatted_amount",storageKey:null}],f=[c,d];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFieldsQuery",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"priceObjectKey",variableName:"price_object_key"},{kind:"Variable",name:"submissionID",variableName:"submission_id"}],kind:"FragmentSpread",name:"OCDevManageCountryPricingTable_appStoreItem"}],type:"AppStoreItem",abstractKey:"__isAppStoreItem"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageApplicationSubmissionPricingFieldsQuery",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{fields:[{kind:"Literal",name:"offer_id",value:null},{kind:"Variable",name:"price_object_key",variableName:"price_object_key"},{kind:"Variable",name:"submission_id",variableName:"submission_id"}],kind:"ObjectValue",name:"input"}],concreteType:"XOCStoreItemPricingConfigEntry",kind:"LinkedField",name:"price_point_configurations",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"country",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"currency_amount_should_end_with",storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"default_price_local",plural:!1,selections:[c,d,{alias:null,args:[{kind:"Literal",name:"show_symbol",value:!0}],kind:"ScalarField",name:"formatted_amount",storageKey:"formatted_amount(show_symbol:true)"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"default_price_meta_credit",storageKey:null},{alias:null,args:null,concreteType:"XOCTOCStorePriceChangeEligibilityData",kind:"LinkedField",name:"price_change_eligibility",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"eligibility",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"next_eligible_timestamp",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCDigitalOfferCountryPriceOverride",kind:"LinkedField",name:"override_price_local",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"price",plural:!1,selections:e,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"suggested_price_for_tier",plural:!1,selections:e,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price_object_key",storageKey:null},{alias:null,args:null,concreteType:"XOCCountryOverridePriceLimitsData",kind:"LinkedField",name:"price_limits",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max_price",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min_price",plural:!1,selections:f,storageKey:null}],storageKey:null}],storageKey:null}],type:"AppStoreItem",abstractKey:"__isAppStoreItem"},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"9176570405786217",metadata:{},name:"OCDevManageApplicationSubmissionPricingFieldsQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricing.react",["GeoVStack.react","OCDevManageApplicationSubmissionCard.react","OCDevManageApplicationSubmissionPricingConfirmationModal","OCDevManageApplicationSubmissionPricingFields.react","OCDevManageApplicationSubmissionPricingMutation.graphql","OCDevManageApplicationSubmissionPricingReviewerFeedback.react","OCDevManageApplicationSubmissionPricing_submission.graphql","OCDevManageCountrySpecificPricingGuide.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevManageSubmissionThreeColumnLayout.react","RelayHooks","asyncToGeneratorRuntime","gkx","react","useOCDevManageApplicationSubmissionPricingInitialFormState.react","useOCDevUICommitMutation","useOCDevUIFormState","useOCDevUIModal"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useRef,m=e.useState;function a(a){var e;a=a.submission;var f=d("RelayHooks").useFragment(h!==void 0?h:h=b("OCDevManageApplicationSubmissionPricing_submission.graphql"),a);a=c("useOCDevUIModal")();var g=a.openModal;a=c("useOCDevManageApplicationSubmissionPricingInitialFormState.react")(f);var j=c("useOCDevUIFormState")(a),n=j[0];j=j[1];e=m((f==null?void 0:(e=f.application)==null?void 0:e.msrp_offer_is_country_restricted)!==!0&&Object.keys(n.countrySpecificPriceObjectKeys).length>0);var o=e[0],p=e[1],q=c("useOCDevUICommitMutation")(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingMutation.graphql")),r=n.additionalItemGrants,s=n.countryPriceOverrides,t=n.countrySpecificPriceObjectKeys,u=n.discountWorldwidePriceObjectKey,v=n.msrpExperimentHoldoutElection,w=n.offerType,x=n.releaseTime,y=n.releaseTimeType,z=n.worldwidePriceObjectKey,A=l(new Map());e=function(a,b){a==null?A.current["delete"](b):A.current.set(b,a)};function B(){return C.apply(this,arguments)}function C(){C=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a;yield q({input:{additional_item_grants:r.map(function(a){return{fulfillment_type:a.fulfillmentType,item_id:a.itemID}}),country_price_overrides:((a=z)!=null?a:"")===""?[]:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCountryPriceOverridesForMutation(s),country_specific_price_object_keys:d("OCDevManageSubmissionCountrySpecificPricingUtils").addEUCountriesForSubmit(t),discount_worldwide_price_object_key:u,msrp_exp_holdout_election:v,offer_type:(a=w)!=null?a:"APPSTORE_OFFER",release_time:x,release_time_type:y,submission_id:(a=f==null?void 0:f.id)!=null?a:"",worldwide_price_object_key:(a=z)!=null?a:"",can_terminate_sale:A.current.size>0}},{closeModalOnSuccess:!0})});return C.apply(this,arguments)}function D(){return E.apply(this,arguments)}function E(){E=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=A.current.entries().next().value;if(a!=null)g(k.jsx(c("OCDevManageApplicationSubmissionPricingConfirmationModal"),{legalByPassReason:a[1],onSubmit:B}));else{yield q({input:{additional_item_grants:r.map(function(a){return{fulfillment_type:a.fulfillmentType,item_id:a.itemID}}),country_price_overrides:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCountryPriceOverridesForMutation(s),country_specific_price_object_keys:d("OCDevManageSubmissionCountrySpecificPricingUtils").addEUCountriesForSubmit(t),discount_worldwide_price_object_key:u,msrp_exp_holdout_election:v,offer_type:(a=w)!=null?a:"APPSTORE_OFFER",release_time:x,release_time_type:y,submission_id:(a=f==null?void 0:f.id)!=null?a:"",worldwide_price_object_key:(a=z)!=null?a:""}})}});return E.apply(this,arguments)}return k.jsx(c("OCDevManageApplicationSubmissionCard.react"),{submission:f,onSubmit:D,children:k.jsx(c("OCDevManageSubmissionThreeColumnLayout.react"),{rightContent:k.jsxs(c("GeoVStack.react"),{children:[k.jsx(c("OCDevManageApplicationSubmissionPricingReviewerFeedback.react"),{submission:f}),o===!0&&c("gkx")("25689")&&!c("gkx")("1956")?k.jsx(c("OCDevManageCountrySpecificPricingGuide.react"),{}):null]}),children:k.jsx(c("OCDevManageApplicationSubmissionPricingFields.react"),{formState:n,setShowCountrySpecificPricingInfo:function(a){return p(a)},showCountrySpecificPricingInfo:o,showDiscountField:a.discountWorldwidePriceObjectKey!=null||!c("gkx")("2554"),submission:f,onUpdateFormState:j,onUpdateLegalBypassReason:e})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionPricingFields.react",["fbt","GeoCheckboxInput.react","GeoDivider.react","GeoNotice.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","OCApplicationPlatform","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageApplicationReleaseDatePicker.react","OCDevManageApplicationSubmissionPricingDiscountSelector.react","OCDevManageApplicationSubmissionPricingFields_submission.graphql","OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector.react","OCDevManageCountryPricingTable.react","OCDevManageDocsLinks","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCPurchasableOfferWithApp","RelayHooks","geoMargin","getDisabledProps","gkx","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){var e,f=a.formState,g=a.onUpdateFormState,j=a.onUpdateLegalBypassReason,m=a.setShowCountrySpecificPricingInfo,n=a.showCountrySpecificPricingInfo,o=a.showDiscountField;a=a.submission;var p=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingFields_submission.graphql"),a);a=l(f.discountWorldwidePriceObjectKey!=null);var q=a[0];a=a[1];var r=f.additionalItemGrants,s=f.countrySpecificPriceObjectKeys,t=f.discountWorldwidePriceObjectKey,u=f.offerType,v=f.releaseTime,w=f.releaseTimeType,x=f.worldwidePriceObjectKey,y=p.application,z=y==null?void 0:y.organization,A=(z==null?void 0:z.has_financial_entity)===!0,B=(y==null?void 0:y.is_concept)===!1&&(y==null?void 0:y.platform)===c("OCApplicationPlatform").values.ANDROID_6DOF;e=y==null?void 0:(e=y.scheduled_offers)==null?void 0:e.nodes[0];e=e==null?void 0:e.offer_type;var C=c("OCPurchasableOfferWithApp").APPSTORE_OFFER,D=c("OCPurchasableOfferWithApp").APPSTORE_PREORDER_OFFER,E=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(y,u)(null),F=c("gkx")("1956");D=F===!0?[C,D]:[C];C=c("gkx")("2554");function G(){if(p.status==="SUBMITTED")return h._("Please {=m1} to make a change to your app"s Listing Type, then resubmit your Submission.",[h._implicitParam("=m1",k.jsx("b",{children:h._("Cancel Submission")}))])}function H(a,b){return a!==((a=p.application.current_revision)==null?void 0:(a=a.reviewable_offer_group_with_fallback)==null?void 0:(a=a.worldwide_offer)==null?void 0:a.price_object_key)&&b==="APPSTORE_OFFER"&&c("gkx")("2704")===!0&&p.application.should_prompt_for_msrp_exp_holdout===!0}return k.jsxs(c("OCDevUISpacedLayout.react"),{children:[B?k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){if(u==null)return d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE;if(u!=="APPSTORE_OFFER"&&p.is_blocked_by_pre_order===!0)return h._("Your app is being released. Your Pre-Order listing can no longer be updated.")},children:k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({"data-testid":void 0,description:C?h._("{=m0}",[h._implicitParam("=m0",k.jsx(c("GeoText.react"),{children:h._("Choose the listing type for your submission. This cannot be changed after submission. {=m1}",[h._implicitParam("=m1",k.jsx(c("OCDevUILink.react"),{href:c("OCDevManageDocsLinks").PRE_LAUNCH_LISTINGS,target:"_blank",children:h._("Learn more")}))])}))]):null},c("getDisabledProps")(G()),{label:h._("Listing Type"),message:C?u==="APPSTORE_OFFER"?"By choosing Full Release now, you cannot submit as Coming Soon or Pre-Order later.":u==="APPSTORE_PREORDER_OFFER"?"By choosing Pre-Order now, you cannot submit as Coming Soon later.":null:null,value:u,onChange:function(a){g(function(b){return babelHelpers["extends"]({},b,{additionalItemGrants:a!=="APPSTORE_PREORDER_OFFER"?[]:b.additionalItemGrants,countrySpecificPriceObjectKeys:a!=="APPSTORE_OFFER"?{}:b.countrySpecificPriceObjectKeys,discountWorldwidePriceObjectKey:null,offerType:a,releaseTime:a==="APPSTORE_OFFER"?0:b.releaseTime,releaseTimeType:a==="APPSTORE_OFFER"?null:b.releaseTimeType,worldwidePriceObjectKey:a==="APPSTORE_COMINGSOON_OFFER"?"":b.worldwidePriceObjectKey,msrpExperimentHoldoutElection:H(b.worldwidePriceObjectKey,a)?(b=b.msrpExperimentHoldoutElection)!=null?b:"OPTED_IN_DRAFT":null})})},children:[k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Allow users to instantly purchase the app for download",label:h._("Full Release"),tooltip:h._("Full release listings allow consumers to instantly purchase the app for download."),value:"APPSTORE_OFFER"}),k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Allow users to place orders for your app before release",isDisabled:e!=null&&!["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(e),label:h._("Pre-Order"),tooltip:e!=null&&!["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(e)?h._("Listing may not be reverted to a more limited type"):h._("Pre-order listings allow users to place orders for your app before release."),value:"APPSTORE_PREORDER_OFFER"}),k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Generate awareness and allow users to wishlist your app before release",isDisabled:e!=null&&e!=="APPSTORE_COMINGSOON_OFFER",label:h._("Coming Soon"),tooltip:e!=null&&e!=="APPSTORE_COMINGSOON_OFFER"?h._("Listing may not be reverted to a more limited type"):h._("Coming soon listings generate awareness, allowing users to wishlist your app before release."),value:"APPSTORE_COMINGSOON_OFFER"})]}))}):null,F&&k.jsxs(k.Fragment,{children:[k.jsx(c("GeoNotice.react"),{status:"info",children:u==="APPSTORE_OFFER"&&h._("Prices are locked on approval and cannot be changed for 30 days.")}),k.jsx(c("GeoNotice.react"),{status:"info",children:u==="APPSTORE_PREORDER_OFFER"&&h._("Prices are locked on approval and cannot be changed for 30 days. MSRP prices for pre-order listings cannot be changed after submission.")})]}),["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"].includes(u)?k.jsxs(k.Fragment,{children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{"data-testid":void 0,description:A?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{href:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(B=z==null?void 0:z.id)!=null?B:""}),children:h._("payment info")}))]),disabledMessage:E,hidePaidOptions:!A,priceAmount:p==null?void 0:(G=p.reviewable_offer_group_with_fallback)==null?void 0:(C=G.worldwide_offer)==null?void 0:(z=C.price)==null?void 0:z.formatted_for_lwi,validateField:function(){return x==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:x,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{discountWorldwidePriceObjectKey:null,worldwidePriceObjectKey:a,countryPriceOverrides:a!==""?b.countryPriceOverrides:{},countrySpecificPriceObjectKeys:a!==""?b.countrySpecificPriceObjectKeys:{},msrpExperimentHoldoutElection:H(a,b.offerType)?(b=b.msrpExperimentHoldoutElection)!=null?b:"OPTED_IN_DRAFT":null})})}}),H(f.worldwidePriceObjectKey,f.offerType)?k.jsx(c("GeoCheckboxInput.react"),{description:h._("u53c2u4e0eu6781u5c0fu8303u56f4u7684u5bf9u7167u7ec4u5b9eu9a8cuff0cu83b7u5f97u5173u4e8eu4ef7u683cu53d8u66f4u5f71u54cdu7684u989du5916u5206u6790u6570u636eu3002u6211u4eecu5c06u5206u4eabu6bcfu6708u66f4u65b0uff0cu8bf4u660eu4f60u7684u4ef7u683cu66f4u6539u5bf9u6536u5165u548cu4e92u52a8u7684u5f71u54cdu53d8u5316u60c5u51b5u3002u5728u5bf9u7167u7ec4u5b9eu9a8cu4e2duff0cu5f88u5c0fu6bd4u4f8bu7684 Meta Quest u7528u6237u5c06u770bu5230u4f60u7684u65e7u4ef7u683cu3002u7cfbu7edfu5c06u6bcf 3 u4e2au6708u968fu673au62bdu53d6u8fd9u7fa4u7528u6237uff0cu53efu80fdu6709u4efbu4f55u7528u6237u770bu5230u65e7u4ef7u683cu7684u603bu65f6u957fu5c06u6301u7eed 9 u4e2au6708u3002u8fd9u4e0du4ec5u5141u8bb8u4f60u8fdbu4e00u6b65u4e86u89e3u4ef7u683cu66f4u6539u5bf9u4e1au52a1u6210u529fu7684u5f71u54cduff0cu8fd8u80fdu652fu6301u6211u4eecu7684u5e73u53f0u6301u7eedu6539u8fdbu5de5u5177u53cau5176u6548u7387u3002"),disabledMessage:h._("u4f60u4e4bu524du5df2u4e3au8fd9u4e2au5bf9u7167u7ec4u505au51fau9009u62e9u3002"),isDisabled:["OPTED_IN","OPTED_OUT"].includes(f.msrpExperimentHoldoutElection),label:h._("u83b7u53d6u5176u4ed6u6210u6548u5206u6790"),value:["OPTED_IN","OPTED_IN_DRAFT",null].includes(f.msrpExperimentHoldoutElection),onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{msrpExperimentHoldoutElection:a?"OPTED_IN_DRAFT":"OPTED_OUT_DRAFT"})})}}):null,((B=x)!=null?B:"")!==""&&A&&D.includes(u)?F?k.jsx(c("OCDevManageCountryPricingTable.react"),{appStoreItemID:(G=y==null?void 0:y.id)!=null?G:"",countryOverrides:f.countryPriceOverrides,priceObjectKey:x,showSuggestedConversions:!0,submissionID:(C=p.id)!=null?C:"",onChangeCountryEntry:function(a){return g(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a(b.countryPriceOverrides)})})}}):k.jsxs(k.Fragment,{children:[k.jsx(c("GeoCheckboxInput.react"),{"data-testid":void 0,disabledMessage:h._("u4f60u65e0u6cd5u901au8fc7u8fd9u6b3eu5de5u5177u66f4u6539u5177u4f53u56fdu5bb6/u5730u533au7684u5b9au4ef7u3002u5982u9700u66f4u6539u5177u4f53u56fdu5bb6/u5730u533au7684u5b9au4ef7uff0cu8bf7u8054u7cfbu4f60u7684 Meta Quest u5546u5e97u652fu6301u4f19u4f34u3002"),isDisabled:y.msrp_offer_is_country_restricted===!0,label:h._("u4e3au5404u4e2au56fdu5bb6/u5730u533au8c03u6574u4ef7u683c"),value:n===!0,onChange:function(a){m&&m(a),a||g(function(a){return babelHelpers["extends"]({},a,{countrySpecificPriceObjectKeys:{}})})}}),n===!0?k.jsx(c("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:y,countrySpecificPriceObjectKeys:s,selectedGlobalPriceObjectKey:f.worldwidePriceObjectKey,onUpdateCountrySpecificPriceObjectKeys:function(a){return g(function(b){return babelHelpers["extends"]({},b,{countrySpecificPriceObjectKeys:a(b.countrySpecificPriceObjectKeys)})})},onUpdateLegalBypassReason:j}):null]}):null]}):null,u==="APPSTORE_PREORDER_OFFER"?k.jsxs(k.Fragment,{children:[k.jsx(c("GeoDivider.react"),{xstyle:c("geoMargin").vert0}),o===!0?k.jsx(c("OCDevManageApplicationSubmissionPricingDiscountSelector.react"),{discountWorldwidePriceObjectKey:t,hasDiscountPrice:q,priceObjectKeyDisabledMessage:E,setHasDiscountPrice:a,submissionForCustomTiers:p.status==="DRAFT"?(z=y.current_revision)==null?void 0:z.id:p.id,worldwidePriceObjectKey:x,onUpdateFormState:g}):null]}):null,["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(u)?k.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"medium",children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return w==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:k.jsxs(c("GeoSelector.react"),{"data-testid":void 0,description:h._("Define how your app release date is shown to users."),label:h._("Release Date Granularity"),placeholder:h._("Select release date granularity"),value:w,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{releaseTimeType:a})})},children:[k.jsx(c("GeoSelectorItem.react"),{disabledMessage:h._("Pre-Order intended release date must have a visible granularity setting"),isDisabled:u==="APPSTORE_PREORDER_OFFER",label:h._("Unspecified"),value:"NONE"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Day"),value:"DAY"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Month"),value:"MONTH"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Season"),value:"SEASON"})]})}),k.jsx(c("OCDevManageApplicationReleaseDatePicker.react"),{"data-testid":void 0,offerType:u,releaseTime:(B=v)!=null?B:0,releaseTimeType:(A=w)!=null?A:"DAY",onUpdateFormState:g}),u==="APPSTORE_PREORDER_OFFER"?k.jsxs(k.Fragment,{children:[k.jsx(c("GeoDivider.react"),{xstyle:c("geoMargin").vert0}),k.jsx(c("OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector.react"),{isDisabled:e==="APPSTORE_PREORDER_OFFER",submission:p,value:r,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{additionalItemGrants:a})})}})]}):null]}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationSubmissionPricing_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"submissionID"}],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricing_submission",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"msrp_offer_is_country_restricted",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionCard_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingFields_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingReviewerFeedback_submission"},{args:[{kind:"Variable",name:"submissionID",variableName:"submissionID"}],kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionPricingInitialFormState_submission"}],type:"ApplicationSubmission",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingFields_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[{alias:null,args:null,kind:"ScalarField",name:"fulfillment_time",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFields_submission",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"is_concept",storageKey:null},{alias:"current_revision",args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"latest_released_revision",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"price_object_key",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"msrp_offer_is_country_restricted",storageKey:null},{alias:null,args:null,concreteType:"Organization",kind:"LinkedField",name:"organization",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_financial_entity",storageKey:null},a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"platform",storageKey:null},{alias:null,args:[{kind:"Literal",name:"exclude_sale_offers",value:!0},{kind:"Literal",name:"exclude_targeted_offers",value:!0},{kind:"Literal",name:"offer_statuses",value:["PUBLISHED"]},{kind:"Literal",name:"offer_types",value:["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"]}],concreteType:"ApplicationScheduledOffersConnection",kind:"LinkedField",name:"scheduled_offers",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null},{kind:"InlineFragment",selections:b,type:"AppStoreOffer",abstractKey:null},{kind:"InlineFragment",selections:b,type:"XOCAppStorePreorderOffer",abstractKey:null}],storageKey:null}],storageKey:"scheduled_offers(exclude_sale_offers:true,exclude_targeted_offers:true,offer_statuses:["PUBLISHED"],offer_types:["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"])"},{alias:null,args:null,kind:"ScalarField",name:"should_prompt_for_msrp_exp_holdout",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem"},{args:null,kind:"FragmentSpread",name:"useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage_appStoreItem"}],storageKey:null},action:"THROW",path:"application"},{alias:null,args:null,kind:"ScalarField",name:"is_blocked_by_pre_order",storageKey:null},{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyQuantity",kind:"LinkedField",name:"price",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"formatted_for_lwi",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},a,{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector_submission"}],type:"ApplicationSubmission",abstractKey:null}}();e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingFields.react",["fbt","GeoCheckboxInput.react","GeoSelector.react","GeoSelectorItem.react","OCDevManageApplicationSubmissionPricingFields_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=90*86400;function a(a){var e=a.formState,f=a.onUpdateFormState;a=a.submission;var g=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingFields_submission.graphql"),a);a=e.isPreLaunch;var l=e.offerType,m=e.priceObjectKey,n=g.application;e=n==null?void 0:n.organization;var o=(e==null?void 0:e.has_financial_entity)===!0,p=c("gkx")("5231"),q=c("gkx")("5354"),r=d("OCNavigatorHooks").useContextRouter();r=r.location.pathname;var s=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(g);function t(){var a;a=Math.max.apply(Math,(a=n==null?void 0:(a=n.developer_configured_offers)==null?void 0:(a=a.nodes)==null?void 0:a.map(function(a){a=a.start_time;return(a=a)!=null?a:0}))!=null?a:[]);if(a>Date.now()/1e3-k)return h._("Your most recent app price change ({date}) occurred less than 90 days ago. Please wait before submitting a new price.",[h._param("date",c("formatDate")(a,"m/d/Y"))]);if((g==null?void 0:g.is_initial_release)!==!0&&(g==null?void 0:g.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you must select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",j.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=n==null?void 0:n.id)!=null?a:"",submissionID:(a=g==null?void 0:g.id)!=null?a:""}).getPath(),children:h._("here")}))])}return s}t=t();return j.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[j.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:o?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",j.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(e=e==null?void 0:e.id)!=null?e:""}).getPath(),state:{fromPath:r}},children:h._("payment info")}))]),disabledMessage:t,hidePaidOptions:!o,validateField:function(){return m==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:m,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{priceObjectKey:a})})}}),p||q?j.jsxs(c("GeoSelector.react"),{label:h._("Listing Type"),value:l,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{offerType:a})})},children:[j.jsx(c("GeoSelectorItem.react"),{label:h._("App"),value:"APPSTORE_OFFER"}),p?j.jsx(c("GeoSelectorItem.react"),{label:h._("Preorder"),value:"APPSTORE_PREORDER_OFFER"}):null,q?j.jsx(c("GeoSelectorItem.react"),{label:h._("Coming Soon"),value:"APPSTORE_COMINGSOON_OFFER"}):null]}):null,c("gkx")("5730")&&(n==null?void 0:n.is_approved)===!1&&j.jsx(c("GeoCheckboxInput.react"),{description:h._("This submission is denoted as pre-launch and does not require an attached binary."),label:h._("Pre-Launch Submission"),value:a,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{isPreLaunch:a})})}})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionPricingFields_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFields_submission",selections:[{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:null,args:null,concreteType:"ApplicationDeveloperConfiguredOffersConnection",kind:"LinkedField",name:"developer_configured_offers",plural:!1,selections:[{alias:null,args:null,concreteType:"AppStoreOffer",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null}],storageKey:null}],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"is_approved",storageKey:null},{alias:null,args:null,concreteType:"Organization",kind:"LinkedField",name:"organization",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_financial_entity",storageKey:null},a],storageKey:null}],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"is_initial_release",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"release_type",storageKey:null},{args:null,kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage_submission"}],type:"ApplicationSubmission",abstractKey:null}}();e.exports=a}),null);
-----
-----
OCDevManageApplicationSubmissionPricing_approvedPricePoints.graphql",[],(function(t,n,r,o,a,i){"use strict";var e={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManageApplicationSubmissionPricing_approvedPricePoints",selections:[{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingBundleSummaryCard_approvedPricePoints"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingFieldsV2_approvedPricePoints"}],type:"XOCApprovedPricePoint",abstractKey:null};a.exports=e}),null);
-----
OCDevManageApplicationSubmissionPricingFieldsV2.react",["fbt","GeoLink.react","GeoNotice.react","GeoNoticeContent.react","OCDevManageApplicationReleaseDatePicker.react","OCDevManageApplicationStoreAvailabilityRoute","OCDevManageApplicationSubmissionListingTypeSelector.react","OCDevManageApplicationSubmissionPreOrderTypeSelector.react","OCDevManageApplicationSubmissionPriceInput.react","OCDevManageApplicationSubmissionPricingDiscountSelectorV2.react","OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql","OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2.react","OCDevManageApplicationSubmissionPricingNotice.react","OCDevManageApplicationSubmissionReleaseDateGranularitySelector.react","OCDevUISpacedLayout.react","RelayHooks","react","useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u.useState;function m(t){var a,i,l,u,m,p,_,f,g,h,y=t.formState,C=t.onSubmit,b=t.onUpdateFormState,v=t.submission,S=o("RelayHooks").useFragment(e!==void 0?e:e=n("OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql"),v),R=y.baseApplicationPriceAmount,L=y.offerType,E=d(!1),k=E[0],I=E[1],T=d(function(){return R==null?null:R>0?o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.PAID:o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.FREE}),D=T[0],x=T[1],$=d(!1),P=$[0],N=$[1],M=S.application,w=(M==null||(a=M.store_availability)==null?void 0:a.is_managed)===!0,A=(i=S.reviewable_offer_group_with_fallback)==null?void 0:i.worldwide_offer,F=((l=M==null||(u=M.revisions)==null?void 0:u.nodes)!=null?l:[]).filter(function(e){var t=e.review_status;return t==="APPROVED"}),O=L==="APPSTORE_PREORDER_OFFER",B=L==="APPSTORE_OFFER"||L==="APPSTORE_PREORDER_OFFER"&&D===o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").PreOrderType.PAID,W=L==="APPSTORE_PREORDER_OFFER"&&D!=null||L==="APPSTORE_COMINGSOON_OFFER",q=r("useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice")(y,S);return c.jsxs(r("OCDevUISpacedLayout.react"),{children:[w&&c.jsx(r("GeoNotice.react"),{"data-testid":void 0,status:"info",children:c.jsx(r("GeoNoticeContent.react"),{children:s._(/*BTDS*/"These options are limited because you have selected the Managed option in store availability. Change this selection {=m2}.",[s._implicitParam("=m2",c.jsx(r("GeoLink.react"),{href:r("OCDevManageApplicationStoreAvailabilityRoute").getURI({applicationID:(m=M==null?void 0:M.id)!=null?m:""}),target:"_self",children:s._(/*BTDS*/"here")}))])})}),c.jsx(r("OCDevManageApplicationSubmissionListingTypeSelector.react"),{formState:y,submission:S,onUpdateFormState:b}),c.jsx(r("OCDevManageApplicationSubmissionPricingNotice.react"),{formState:y,submission:S}),O&&c.jsx(o("OCDevManageApplicationSubmissionPreOrderTypeSelector.react").OCDevManageApplicationSubmissionPreOrderTypeSelector,{selectedType:D,setSelectedType:x,onUpdateFormState:b}),B&&c.jsx(r("OCDevManageApplicationSubmissionPriceInput.react"),{formState:y,moveDefaultPricesToCustom:k,setMoveDefaultPricesToCustom:I,setShowCountrySpecificPricingInfo:N,showCountrySpecificPricingInfo:P,submission:S,onSubmit:C,onUpdateFormState:b}),O&&D!=null&&c.jsx(r("OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2.react"),{submission:S,value:y.additionalItemGrants,onChange:function(t){return b(function(e){return babelHelpers.extends({},e,{additionalItemGrants:t})})}}),O&&D!=null&&c.jsx(r("OCDevManageApplicationSubmissionPricingDiscountSelectorV2.react"),{baselinePriceAmount:q!=null?q:0,disabledMessage:null,submissionForCustomTiers:S.status==="DRAFT"?M==null||(p=M.current_revision)==null?void 0:p.id:S.id,worldwidePriceObjectKey:y.discountWorldwidePriceObjectKey,onUpdateFormState:b}),W&&c.jsx(r("OCDevManageApplicationSubmissionReleaseDateGranularitySelector.react"),{formState:y,onUpdateFormState:b}),W&&c.jsx(r("OCDevManageApplicationReleaseDatePicker.react"),{"data-testid":void 0,initialPublishDateForSelectedOfferType:L!=null?(_=F.findLast(function(e){var t=e.offer_type;return t===L}))==null?void 0:_.publish_date:null,initialReleaseTime:(f=A==null?void 0:A.release_time)!=null?f:0,offerType:L,releaseTime:(g=y.releaseTime)!=null?g:0,releaseTimeType:(h=y.releaseTimeType)!=null?h:"DAY",onUpdateFormState:b})]})}m.displayName=m.name+" [from "+i.id+"]",l.default=m}),226);
-----
OCDevManageApplicationSubmissionPricingFieldsV2_submission.graphql",[],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFieldsV2_submission",selections:[{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:"current_revision",args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"latest_released_revision",plural:!1,selections:[e],storageKey:null},e,{alias:null,args:null,concreteType:"ApplicationRevisionsConnection",kind:"LinkedField",name:"revisions",plural:!1,selections:[{alias:null,args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"publish_date",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"review_status",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCApplicationStoreAvailability",kind:"LinkedField",name:"store_availability",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"is_managed",storageKey:null}],storageKey:null}],storageKey:null},e,{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"release_time",storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionListingTypeSelector_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPriceInput_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelectorV2_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingNotice_submission"},{args:null,kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionPricingCalculatePreorderTotalPrice_submission"}],type:"ApplicationSubmission",abstractKey:null}})();a.exports=e}),null);
-----
OCDevManageApplicationSubmissionPricingFieldsQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"app_store_item_id"},{defaultValue:null,kind:"LocalArgument",name:"price_object_key"},{defaultValue:null,kind:"LocalArgument",name:"submission_id"}],b=[{kind:"Variable",name:"node_id",variableName:"app_store_item_id"}],c={alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"currency",storageKey:null},e=[c,d,{alias:null,args:null,kind:"ScalarField",name:"formatted_amount",storageKey:null}],f=[c,d];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFieldsQuery",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{args:[{kind:"Variable",name:"priceObjectKey",variableName:"price_object_key"},{kind:"Variable",name:"submissionID",variableName:"submission_id"}],kind:"FragmentSpread",name:"OCDevManageCountryPricingTable_appStoreItem"}],type:"AppStoreItem",abstractKey:"__isAppStoreItem"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageApplicationSubmissionPricingFieldsQuery",selections:[{alias:null,args:b,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:[{fields:[{kind:"Literal",name:"offer_id",value:null},{kind:"Variable",name:"price_object_key",variableName:"price_object_key"},{kind:"Variable",name:"submission_id",variableName:"submission_id"}],kind:"ObjectValue",name:"input"}],concreteType:"XOCStoreItemPricingConfigEntry",kind:"LinkedField",name:"price_point_configurations",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"country",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"currency_amount_should_end_with",storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"default_price_local",plural:!1,selections:[c,d,{alias:null,args:[{kind:"Literal",name:"show_symbol",value:!0}],kind:"ScalarField",name:"formatted_amount",storageKey:"formatted_amount(show_symbol:true)"}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"default_price_meta_credit",storageKey:null},{alias:null,args:null,concreteType:"XOCTOCStorePriceChangeEligibilityData",kind:"LinkedField",name:"price_change_eligibility",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"eligibility",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"reason",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"next_eligible_timestamp",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"XOCDigitalOfferCountryPriceOverride",kind:"LinkedField",name:"override_price_local",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"price",plural:!1,selections:e,storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"suggested_price_for_tier",plural:!1,selections:e,storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"display_type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"price_object_key",storageKey:null},{alias:null,args:null,concreteType:"XOCCountryOverridePriceLimitsData",kind:"LinkedField",name:"price_limits",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"max_price",plural:!1,selections:f,storageKey:null},{alias:null,args:null,concreteType:"CurrencyAmount",kind:"LinkedField",name:"min_price",plural:!1,selections:f,storageKey:null}],storageKey:null}],storageKey:null}],type:"AppStoreItem",abstractKey:"__isAppStoreItem"},{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]},params:{id:"9176570405786217",metadata:{},name:"OCDevManageApplicationSubmissionPricingFieldsQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricing.react",["GeoVStack.react","OCDevManageApplicationSubmissionCard.react","OCDevManageApplicationSubmissionPricingConfirmationModal","OCDevManageApplicationSubmissionPricingFields.react","OCDevManageApplicationSubmissionPricingMutation.graphql","OCDevManageApplicationSubmissionPricingReviewerFeedback.react","OCDevManageApplicationSubmissionPricing_submission.graphql","OCDevManageCountrySpecificPricingGuide.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevManageSubmissionThreeColumnLayout.react","RelayHooks","asyncToGeneratorRuntime","gkx","react","useOCDevManageApplicationSubmissionPricingInitialFormState.react","useOCDevUICommitMutation","useOCDevUIFormState","useOCDevUIModal"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=j||(j=d("react"));e=j;var l=e.useRef,m=e.useState;function a(a){var e;a=a.submission;var f=d("RelayHooks").useFragment(h!==void 0?h:h=b("OCDevManageApplicationSubmissionPricing_submission.graphql"),a);a=c("useOCDevUIModal")();var g=a.openModal;a=c("useOCDevManageApplicationSubmissionPricingInitialFormState.react")(f);var j=c("useOCDevUIFormState")(a),n=j[0];j=j[1];e=m((f==null?void 0:(e=f.application)==null?void 0:e.msrp_offer_is_country_restricted)!==!0&&Object.keys(n.countrySpecificPriceObjectKeys).length>0);var o=e[0],p=e[1],q=c("useOCDevUICommitMutation")(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingMutation.graphql")),r=n.additionalItemGrants,s=n.countryPriceOverrides,t=n.countrySpecificPriceObjectKeys,u=n.discountWorldwidePriceObjectKey,v=n.msrpExperimentHoldoutElection,w=n.offerType,x=n.releaseTime,y=n.releaseTimeType,z=n.worldwidePriceObjectKey,A=l(new Map());e=function(a,b){a==null?A.current["delete"](b):A.current.set(b,a)};function B(){return C.apply(this,arguments)}function C(){C=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a;yield q({input:{additional_item_grants:r.map(function(a){return{fulfillment_type:a.fulfillmentType,item_id:a.itemID}}),country_price_overrides:((a=z)!=null?a:"")===""?[]:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCountryPriceOverridesForMutation(s),country_specific_price_object_keys:d("OCDevManageSubmissionCountrySpecificPricingUtils").addEUCountriesForSubmit(t),discount_worldwide_price_object_key:u,msrp_exp_holdout_election:v,offer_type:(a=w)!=null?a:"APPSTORE_OFFER",release_time:x,release_time_type:y,submission_id:(a=f==null?void 0:f.id)!=null?a:"",worldwide_price_object_key:(a=z)!=null?a:"",can_terminate_sale:A.current.size>0}},{closeModalOnSuccess:!0})});return C.apply(this,arguments)}function D(){return E.apply(this,arguments)}function E(){E=b("asyncToGeneratorRuntime").asyncToGenerator(function*(){var a=A.current.entries().next().value;if(a!=null)g(k.jsx(c("OCDevManageApplicationSubmissionPricingConfirmationModal"),{legalByPassReason:a[1],onSubmit:B}));else{yield q({input:{additional_item_grants:r.map(function(a){return{fulfillment_type:a.fulfillmentType,item_id:a.itemID}}),country_price_overrides:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCountryPriceOverridesForMutation(s),country_specific_price_object_keys:d("OCDevManageSubmissionCountrySpecificPricingUtils").addEUCountriesForSubmit(t),discount_worldwide_price_object_key:u,msrp_exp_holdout_election:v,offer_type:(a=w)!=null?a:"APPSTORE_OFFER",release_time:x,release_time_type:y,submission_id:(a=f==null?void 0:f.id)!=null?a:"",worldwide_price_object_key:(a=z)!=null?a:""}})}});return E.apply(this,arguments)}return k.jsx(c("OCDevManageApplicationSubmissionCard.react"),{submission:f,onSubmit:D,children:k.jsx(c("OCDevManageSubmissionThreeColumnLayout.react"),{rightContent:k.jsxs(c("GeoVStack.react"),{children:[k.jsx(c("OCDevManageApplicationSubmissionPricingReviewerFeedback.react"),{submission:f}),o===!0&&c("gkx")("25689")&&!c("gkx")("1956")?k.jsx(c("OCDevManageCountrySpecificPricingGuide.react"),{}):null]}),children:k.jsx(c("OCDevManageApplicationSubmissionPricingFields.react"),{formState:n,setShowCountrySpecificPricingInfo:function(a){return p(a)},showCountrySpecificPricingInfo:o,showDiscountField:a.discountWorldwidePriceObjectKey!=null||!c("gkx")("2554"),submission:f,onUpdateFormState:j,onUpdateLegalBypassReason:e})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionPricingFields.react",["fbt","GeoCheckboxInput.react","GeoDivider.react","GeoNotice.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","OCApplicationPlatform","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageApplicationReleaseDatePicker.react","OCDevManageApplicationSubmissionPricingDiscountSelector.react","OCDevManageApplicationSubmissionPricingFields_submission.graphql","OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector.react","OCDevManageCountryPricingTable.react","OCDevManageDocsLinks","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCPurchasableOfferWithApp","RelayHooks","geoMargin","getDisabledProps","gkx","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){var e,f=a.formState,g=a.onUpdateFormState,j=a.onUpdateLegalBypassReason,m=a.setShowCountrySpecificPricingInfo,n=a.showCountrySpecificPricingInfo,o=a.showDiscountField;a=a.submission;var p=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingFields_submission.graphql"),a);a=l(f.discountWorldwidePriceObjectKey!=null);var q=a[0];a=a[1];var r=f.additionalItemGrants,s=f.countrySpecificPriceObjectKeys,t=f.discountWorldwidePriceObjectKey,u=f.offerType,v=f.releaseTime,w=f.releaseTimeType,x=f.worldwidePriceObjectKey,y=p.application,z=y==null?void 0:y.organization,A=(z==null?void 0:z.has_financial_entity)===!0,B=(y==null?void 0:y.is_concept)===!1&&(y==null?void 0:y.platform)===c("OCApplicationPlatform").values.ANDROID_6DOF;e=y==null?void 0:(e=y.scheduled_offers)==null?void 0:e.nodes[0];e=e==null?void 0:e.offer_type;var C=c("OCPurchasableOfferWithApp").APPSTORE_OFFER,D=c("OCPurchasableOfferWithApp").APPSTORE_PREORDER_OFFER,E=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(y,u)(null),F=c("gkx")("1956");D=F===!0?[C,D]:[C];C=c("gkx")("2554");function G(){if(p.status==="SUBMITTED")return h._("Please {=m1} to make a change to your app"s Listing Type, then resubmit your Submission.",[h._implicitParam("=m1",k.jsx("b",{children:h._("Cancel Submission")}))])}function H(a,b){return a!==((a=p.application.current_revision)==null?void 0:(a=a.reviewable_offer_group_with_fallback)==null?void 0:(a=a.worldwide_offer)==null?void 0:a.price_object_key)&&b==="APPSTORE_OFFER"&&c("gkx")("2704")===!0&&p.application.should_prompt_for_msrp_exp_holdout===!0}return k.jsxs(c("OCDevUISpacedLayout.react"),{children:[B?k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){if(u==null)return d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE;if(u!=="APPSTORE_OFFER"&&p.is_blocked_by_pre_order===!0)return h._("Your app is being released. Your Pre-Order listing can no longer be updated.")},children:k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({"data-testid":void 0,description:C?h._("{=m0}",[h._implicitParam("=m0",k.jsx(c("GeoText.react"),{children:h._("Choose the listing type for your submission. This cannot be changed after submission. {=m1}",[h._implicitParam("=m1",k.jsx(c("OCDevUILink.react"),{href:c("OCDevManageDocsLinks").PRE_LAUNCH_LISTINGS,target:"_blank",children:h._("Learn more")}))])}))]):null},c("getDisabledProps")(G()),{label:h._("Listing Type"),message:C?u==="APPSTORE_OFFER"?"By choosing Full Release now, you cannot submit as Coming Soon or Pre-Order later.":u==="APPSTORE_PREORDER_OFFER"?"By choosing Pre-Order now, you cannot submit as Coming Soon later.":null:null,value:u,onChange:function(a){g(function(b){return babelHelpers["extends"]({},b,{additionalItemGrants:a!=="APPSTORE_PREORDER_OFFER"?[]:b.additionalItemGrants,countrySpecificPriceObjectKeys:a!=="APPSTORE_OFFER"?{}:b.countrySpecificPriceObjectKeys,discountWorldwidePriceObjectKey:null,offerType:a,releaseTime:a==="APPSTORE_OFFER"?0:b.releaseTime,releaseTimeType:a==="APPSTORE_OFFER"?null:b.releaseTimeType,worldwidePriceObjectKey:a==="APPSTORE_COMINGSOON_OFFER"?"":b.worldwidePriceObjectKey,msrpExperimentHoldoutElection:H(b.worldwidePriceObjectKey,a)?(b=b.msrpExperimentHoldoutElection)!=null?b:"OPTED_IN_DRAFT":null})})},children:[k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Allow users to instantly purchase the app for download",label:h._("Full Release"),tooltip:h._("Full release listings allow consumers to instantly purchase the app for download."),value:"APPSTORE_OFFER"}),k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Allow users to place orders for your app before release",isDisabled:e!=null&&!["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(e),label:h._("Pre-Order"),tooltip:e!=null&&!["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(e)?h._("Listing may not be reverted to a more limited type"):h._("Pre-order listings allow users to place orders for your app before release."),value:"APPSTORE_PREORDER_OFFER"}),k.jsx(c("GeoSelectorItem.react"),{"data-testid":void 0,description:"Generate awareness and allow users to wishlist your app before release",isDisabled:e!=null&&e!=="APPSTORE_COMINGSOON_OFFER",label:h._("Coming Soon"),tooltip:e!=null&&e!=="APPSTORE_COMINGSOON_OFFER"?h._("Listing may not be reverted to a more limited type"):h._("Coming soon listings generate awareness, allowing users to wishlist your app before release."),value:"APPSTORE_COMINGSOON_OFFER"})]}))}):null,F&&k.jsxs(k.Fragment,{children:[k.jsx(c("GeoNotice.react"),{status:"info",children:u==="APPSTORE_OFFER"&&h._("Prices are locked on approval and cannot be changed for 30 days.")}),k.jsx(c("GeoNotice.react"),{status:"info",children:u==="APPSTORE_PREORDER_OFFER"&&h._("Prices are locked on approval and cannot be changed for 30 days. MSRP prices for pre-order listings cannot be changed after submission.")})]}),["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"].includes(u)?k.jsxs(k.Fragment,{children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{"data-testid":void 0,description:A?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{href:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(B=z==null?void 0:z.id)!=null?B:""}),children:h._("payment info")}))]),disabledMessage:E,hidePaidOptions:!A,priceAmount:p==null?void 0:(G=p.reviewable_offer_group_with_fallback)==null?void 0:(C=G.worldwide_offer)==null?void 0:(z=C.price)==null?void 0:z.formatted_for_lwi,validateField:function(){return x==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:x,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{discountWorldwidePriceObjectKey:null,worldwidePriceObjectKey:a,countryPriceOverrides:a!==""?b.countryPriceOverrides:{},countrySpecificPriceObjectKeys:a!==""?b.countrySpecificPriceObjectKeys:{},msrpExperimentHoldoutElection:H(a,b.offerType)?(b=b.msrpExperimentHoldoutElection)!=null?b:"OPTED_IN_DRAFT":null})})}}),H(f.worldwidePriceObjectKey,f.offerType)?k.jsx(c("GeoCheckboxInput.react"),{description:h._("u53c2u4e0eu6781u5c0fu8303u56f4u7684u5bf9u7167u7ec4u5b9eu9a8cuff0cu83b7u5f97u5173u4e8eu4ef7u683cu53d8u66f4u5f71u54cdu7684u989du5916u5206u6790u6570u636eu3002u6211u4eecu5c06u5206u4eabu6bcfu6708u66f4u65b0uff0cu8bf4u660eu4f60u7684u4ef7u683cu66f4u6539u5bf9u6536u5165u548cu4e92u52a8u7684u5f71u54cdu53d8u5316u60c5u51b5u3002u5728u5bf9u7167u7ec4u5b9eu9a8cu4e2duff0cu5f88u5c0fu6bd4u4f8bu7684 Meta Quest u7528u6237u5c06u770bu5230u4f60u7684u65e7u4ef7u683cu3002u7cfbu7edfu5c06u6bcf 3 u4e2au6708u968fu673au62bdu53d6u8fd9u7fa4u7528u6237uff0cu53efu80fdu6709u4efbu4f55u7528u6237u770bu5230u65e7u4ef7u683cu7684u603bu65f6u957fu5c06u6301u7eed 9 u4e2au6708u3002u8fd9u4e0du4ec5u5141u8bb8u4f60u8fdbu4e00u6b65u4e86u89e3u4ef7u683cu66f4u6539u5bf9u4e1au52a1u6210u529fu7684u5f71u54cduff0cu8fd8u80fdu652fu6301u6211u4eecu7684u5e73u53f0u6301u7eedu6539u8fdbu5de5u5177u53cau5176u6548u7387u3002"),disabledMessage:h._("u4f60u4e4bu524du5df2u4e3au8fd9u4e2au5bf9u7167u7ec4u505au51fau9009u62e9u3002"),isDisabled:["OPTED_IN","OPTED_OUT"].includes(f.msrpExperimentHoldoutElection),label:h._("u83b7u53d6u5176u4ed6u6210u6548u5206u6790"),value:["OPTED_IN","OPTED_IN_DRAFT",null].includes(f.msrpExperimentHoldoutElection),onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{msrpExperimentHoldoutElection:a?"OPTED_IN_DRAFT":"OPTED_OUT_DRAFT"})})}}):null,((B=x)!=null?B:"")!==""&&A&&D.includes(u)?F?k.jsx(c("OCDevManageCountryPricingTable.react"),{appStoreItemID:(G=y==null?void 0:y.id)!=null?G:"",countryOverrides:f.countryPriceOverrides,priceObjectKey:x,showSuggestedConversions:!0,submissionID:(C=p.id)!=null?C:"",onChangeCountryEntry:function(a){return g(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a(b.countryPriceOverrides)})})}}):k.jsxs(k.Fragment,{children:[k.jsx(c("GeoCheckboxInput.react"),{"data-testid":void 0,disabledMessage:h._("u4f60u65e0u6cd5u901au8fc7u8fd9u6b3eu5de5u5177u66f4u6539u5177u4f53u56fdu5bb6/u5730u533au7684u5b9au4ef7u3002u5982u9700u66f4u6539u5177u4f53u56fdu5bb6/u5730u533au7684u5b9au4ef7uff0cu8bf7u8054u7cfbu4f60u7684 Meta Quest u5546u5e97u652fu6301u4f19u4f34u3002"),isDisabled:y.msrp_offer_is_country_restricted===!0,label:h._("u4e3au5404u4e2au56fdu5bb6/u5730u533au8c03u6574u4ef7u683c"),value:n===!0,onChange:function(a){m&&m(a),a||g(function(a){return babelHelpers["extends"]({},a,{countrySpecificPriceObjectKeys:{}})})}}),n===!0?k.jsx(c("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:y,countrySpecificPriceObjectKeys:s,selectedGlobalPriceObjectKey:f.worldwidePriceObjectKey,onUpdateCountrySpecificPriceObjectKeys:function(a){return g(function(b){return babelHelpers["extends"]({},b,{countrySpecificPriceObjectKeys:a(b.countrySpecificPriceObjectKeys)})})},onUpdateLegalBypassReason:j}):null]}):null]}):null,u==="APPSTORE_PREORDER_OFFER"?k.jsxs(k.Fragment,{children:[k.jsx(c("GeoDivider.react"),{xstyle:c("geoMargin").vert0}),o===!0?k.jsx(c("OCDevManageApplicationSubmissionPricingDiscountSelector.react"),{discountWorldwidePriceObjectKey:t,hasDiscountPrice:q,priceObjectKeyDisabledMessage:E,setHasDiscountPrice:a,submissionForCustomTiers:p.status==="DRAFT"?(z=y.current_revision)==null?void 0:z.id:p.id,worldwidePriceObjectKey:x,onUpdateFormState:g}):null]}):null,["APPSTORE_COMINGSOON_OFFER","APPSTORE_PREORDER_OFFER"].includes(u)?k.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"medium",children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return w==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:k.jsxs(c("GeoSelector.react"),{"data-testid":void 0,description:h._("Define how your app release date is shown to users."),label:h._("Release Date Granularity"),placeholder:h._("Select release date granularity"),value:w,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{releaseTimeType:a})})},children:[k.jsx(c("GeoSelectorItem.react"),{disabledMessage:h._("Pre-Order intended release date must have a visible granularity setting"),isDisabled:u==="APPSTORE_PREORDER_OFFER",label:h._("Unspecified"),value:"NONE"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Day"),value:"DAY"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Month"),value:"MONTH"}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Season"),value:"SEASON"})]})}),k.jsx(c("OCDevManageApplicationReleaseDatePicker.react"),{"data-testid":void 0,offerType:u,releaseTime:(B=v)!=null?B:0,releaseTimeType:(A=w)!=null?A:"DAY",onUpdateFormState:g}),u==="APPSTORE_PREORDER_OFFER"?k.jsxs(k.Fragment,{children:[k.jsx(c("GeoDivider.react"),{xstyle:c("geoMargin").vert0}),k.jsx(c("OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector.react"),{isDisabled:e==="APPSTORE_PREORDER_OFFER",submission:p,value:r,onChange:function(a){return g(function(b){return babelHelpers["extends"]({},b,{additionalItemGrants:a})})}})]}):null]}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageApplicationSubmissionPricing_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[{defaultValue:null,kind:"LocalArgument",name:"submissionID"}],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricing_submission",selections:[{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"msrp_offer_is_country_restricted",storageKey:null}],storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionCard_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingFields_submission"},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingReviewerFeedback_submission"},{args:[{kind:"Variable",name:"submissionID",variableName:"submissionID"}],kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionPricingInitialFormState_submission"}],type:"ApplicationSubmission",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingFields_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},b=[{alias:null,args:null,kind:"ScalarField",name:"fulfillment_time",storageKey:null}];return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFields_submission",selections:[{kind:"RequiredField",field:{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[a,{alias:null,args:null,kind:"ScalarField",name:"is_concept",storageKey:null},{alias:"current_revision",args:null,concreteType:"ApplicationSubmission",kind:"LinkedField",name:"latest_released_revision",plural:!1,selections:[a,{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"price_object_key",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"msrp_offer_is_country_restricted",storageKey:null},{alias:null,args:null,concreteType:"Organization",kind:"LinkedField",name:"organization",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_financial_entity",storageKey:null},a],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"platform",storageKey:null},{alias:null,args:[{kind:"Literal",name:"exclude_sale_offers",value:!0},{kind:"Literal",name:"exclude_targeted_offers",value:!0},{kind:"Literal",name:"offer_statuses",value:["PUBLISHED"]},{kind:"Literal",name:"offer_types",value:["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"]}],concreteType:"ApplicationScheduledOffersConnection",kind:"LinkedField",name:"scheduled_offers",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"offer_type",storageKey:null},{kind:"InlineFragment",selections:b,type:"AppStoreOffer",abstractKey:null},{kind:"InlineFragment",selections:b,type:"XOCAppStorePreorderOffer",abstractKey:null}],storageKey:null}],storageKey:"scheduled_offers(exclude_sale_offers:true,exclude_targeted_offers:true,offer_statuses:["PUBLISHED"],offer_types:["APPSTORE_OFFER","APPSTORE_PREORDER_OFFER"])"},{alias:null,args:null,kind:"ScalarField",name:"should_prompt_for_msrp_exp_holdout",storageKey:null},{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem"},{args:null,kind:"FragmentSpread",name:"useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage_appStoreItem"}],storageKey:null},action:"THROW",path:"application"},{alias:null,args:null,kind:"ScalarField",name:"is_blocked_by_pre_order",storageKey:null},{alias:null,args:null,concreteType:"XOCReviewableOfferGroup",kind:"LinkedField",name:"reviewable_offer_group_with_fallback",plural:!1,selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"worldwide_offer",plural:!1,selections:[{alias:null,args:null,concreteType:"CurrencyQuantity",kind:"LinkedField",name:"price",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"formatted_for_lwi",storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},a,{args:null,kind:"FragmentSpread",name:"OCDevManageApplicationSubmissionPricingIncludedPreorderItemsSelector_submission"}],type:"ApplicationSubmission",abstractKey:null}}();e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingFields.react",["fbt","GeoCheckboxInput.react","GeoSelector.react","GeoSelectorItem.react","OCDevManageApplicationSubmissionPricingFields_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=90*86400;function a(a){var e=a.formState,f=a.onUpdateFormState;a=a.submission;var g=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricingFields_submission.graphql"),a);a=e.isPreLaunch;var l=e.offerType,m=e.priceObjectKey,n=g.application;e=n==null?void 0:n.organization;var o=(e==null?void 0:e.has_financial_entity)===!0,p=c("gkx")("5231"),q=c("gkx")("5354"),r=d("OCNavigatorHooks").useContextRouter();r=r.location.pathname;var s=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(g);function t(){var a;a=Math.max.apply(Math,(a=n==null?void 0:(a=n.developer_configured_offers)==null?void 0:(a=a.nodes)==null?void 0:a.map(function(a){a=a.start_time;return(a=a)!=null?a:0}))!=null?a:[]);if(a>Date.now()/1e3-k)return h._("Your most recent app price change ({date}) occurred less than 90 days ago. Please wait before submitting a new price.",[h._param("date",c("formatDate")(a,"m/d/Y"))]);if((g==null?void 0:g.is_initial_release)!==!0&&(g==null?void 0:g.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you must select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",j.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=n==null?void 0:n.id)!=null?a:"",submissionID:(a=g==null?void 0:g.id)!=null?a:""}).getPath(),children:h._("here")}))])}return s}t=t();return j.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[j.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:o?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",j.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(e=e==null?void 0:e.id)!=null?e:""}).getPath(),state:{fromPath:r}},children:h._("payment info")}))]),disabledMessage:t,hidePaidOptions:!o,validateField:function(){return m==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:m,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{priceObjectKey:a})})}}),p||q?j.jsxs(c("GeoSelector.react"),{label:h._("Listing Type"),value:l,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{offerType:a})})},children:[j.jsx(c("GeoSelectorItem.react"),{label:h._("App"),value:"APPSTORE_OFFER"}),p?j.jsx(c("GeoSelectorItem.react"),{label:h._("Preorder"),value:"APPSTORE_PREORDER_OFFER"}):null,q?j.jsx(c("GeoSelectorItem.react"),{label:h._("Coming Soon"),value:"APPSTORE_COMINGSOON_OFFER"}):null]}):null,c("gkx")("5730")&&(n==null?void 0:n.is_approved)===!1&&j.jsx(c("GeoCheckboxInput.react"),{description:h._("This submission is denoted as pre-launch and does not require an attached binary."),label:h._("Pre-Launch Submission"),value:a,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{isPreLaunch:a})})}})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionPricingFields_submission.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"OCDevManageApplicationSubmissionPricingFields_submission",selections:[{alias:null,args:null,concreteType:"Application",kind:"LinkedField",name:"application",plural:!1,selections:[{alias:null,args:null,concreteType:"ApplicationDeveloperConfiguredOffersConnection",kind:"LinkedField",name:"developer_configured_offers",plural:!1,selections:[{alias:null,args:null,concreteType:"AppStoreOffer",kind:"LinkedField",name:"nodes",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null}],storageKey:null}],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"is_approved",storageKey:null},{alias:null,args:null,concreteType:"Organization",kind:"LinkedField",name:"organization",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_financial_entity",storageKey:null},a],storageKey:null}],storageKey:null},a,{alias:null,args:null,kind:"ScalarField",name:"is_initial_release",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"release_type",storageKey:null},{args:null,kind:"FragmentSpread",name:"useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage_submission"}],type:"ApplicationSubmission",abstractKey:null}}();e.exports=a}),null);
-----