OCDevManagePlatformServicesAddOnRentalOfferCard.react",["fbt","GeoButton.react","GeoCard.react","GeoCardHeader.react","GeoDateTimeInput.react","GeoFlexbox.react","GeoSection.react","GeoTextInput.react","LocalDate","LocalDateTime","OCDevManagePlatformServicesAddOnRentalOfferCardMutation.graphql","OCDevManagePlatformServicesAddOnRentalOfferCard_addOn.graphql","OCDevManagePriceObjectKeyField.react","OCDevUIDateTimeInputValidator.react","OCDevUIForm.react","OCDevUIFormInputValidator.react","OCDevUIFormSubmitButton.react","OCDevUIValidatorCommonErrors","RelayHooks","Timezone","asyncToGeneratorRuntime","react","useOCDevUICommitMutation"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=c||(c=o("react")),m=c.useState,p=o("Timezone").getEnvironmentTimezoneID(),_=Date.now()/1e3;function f(t){var a,i=t.addOn,l=t.onCancel,c=t.onComplete,f=o("RelayHooks").useFragment(e!==void 0?e:e=n("OCDevManagePlatformServicesAddOnRentalOfferCard_addOn.graphql"),i),g=m({endTime:_+720*60*60,priceObjectKey:null,rentalDurationDays:"7",startTime:_}),h=g[0],y=g[1],C=r("useOCDevUICommitMutation")(u!==void 0?u:u=n("OCDevManagePlatformServicesAddOnRentalOfferCardMutation.graphql"));function b(){return v.apply(this,arguments)}function v(){return v=n("asyncToGeneratorRuntime").asyncToGenerator(function*(){var e,t=h.endTime,n=h.priceObjectKey,r=h.rentalDurationDays,o=h.startTime;if(!(n==null||n==="")){var a=parseInt(r,10);isNaN(a)||a<=0||(yield C({end_time:t,iap_item_id:(e=f.id)!=null?e:"",price:n,rental_duration_days:a,start_time:o}),c==null||c())}}),v.apply(this,arguments)}function S(){var e=parseInt(h.rentalDurationDays,10);return h.rentalDurationDays===""?o("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:isNaN(e)?s._(/*BTDS*/"Please enter a valid number"):e<=0?s._(/*BTDS*/"Rental duration must be at least 1 day"):e>365?s._(/*BTDS*/"Rental duration cannot exceed 365 days"):null}function R(){return h.startTime>=h.endTime?s._(/*BTDS*/"Start time must be before end time"):null}function L(){return h.endTime<=h.startTime?s._(/*BTDS*/"End time must be after start time"):null}var E=f.organization,k=(a=E==null?void 0:E.has_financial_entity)!=null?a:!1,I=f.maximum_allowed_price_amount;return d.jsxs(r("GeoCard.react"),{children:[d.jsx(r("GeoCardHeader.react"),{heading:s._(/*BTDS*/"Create rental offer")}),d.jsx(r("GeoSection.react"),{children:d.jsxs(r("OCDevUIForm.react"),{onSubmit:b,children:[d.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:16,children:[d.jsx(r("OCDevManagePriceObjectKeyField.react"),{description:k?s._(/*BTDS*/"Set the price for this rental offer. Users will pay this price to access the content for the specified duration."):s._(/*BTDS*/"To create a rental offer, you need to set up your payment info."),hidePaidOptions:!k,label:s._(/*BTDS*/"Rental price"),maximumPriceAmount:I,validateField:function(){return h.priceObjectKey==null||h.priceObjectKey===""?o("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:h.priceObjectKey,onChange:function(t){return y(function(e){return babelHelpers.extends({},e,{priceObjectKey:t})})}}),d.jsx(r("OCDevUIFormInputValidator.react"),{validateField:S,children:d.jsx(r("GeoTextInput.react"),{description:s._(/*BTDS*/"Number of days users can access the content after purchase."),label:s._(/*BTDS*/"Rental duration (days)"),placeholder:s._(/*BTDS*/"7"),value:h.rentalDurationDays,onChange:function(t){return y(function(e){return babelHelpers.extends({},e,{rentalDurationDays:t})})}})}),d.jsx(r("OCDevUIDateTimeInputValidator.react"),{validateDateField:R,children:d.jsx(r("GeoDateTimeInput.react"),{dateRestraint:function(t){return t.isAfterOrEqual(r("LocalDate").fromInstant(_,p))&&t.isBefore(r("LocalDate").fromInstant(h.endTime,p))},description:s._(/*BTDS*/"When this rental offer becomes available for purchase."),label:s._(/*BTDS*/"Offer start time"),value:r("LocalDateTime").fromInstant(h.startTime,p),onChange:function(t){return y(function(e){var n;return babelHelpers.extends({},e,{startTime:(n=t==null?void 0:t.toInstant(p))!=null?n:_})})}})}),d.jsx(r("OCDevUIDateTimeInputValidator.react"),{validateDateField:L,children:d.jsx(r("GeoDateTimeInput.react"),{dateRestraint:function(t){return t.isAfter(r("LocalDate").fromInstant(h.startTime,p))},description:s._(/*BTDS*/"When this rental offer stops being available for purchase."),label:s._(/*BTDS*/"Offer end time"),value:r("LocalDateTime").fromInstant(h.endTime,p),onChange:function(t){return y(function(e){var n;return babelHelpers.extends({},e,{endTime:(n=t==null?void 0:t.toInstant(p))!=null?n:_+720*60*60})})}})})]}),d.jsx(r("GeoFlexbox.react"),{children:d.jsxs(r("GeoFlexbox.react"),{gap:8,children:[d.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Cancel"),onClick:function(){return l==null?void 0:l()}}),d.jsx(r("OCDevUIFormSubmitButton.react"),{label:s._(/*BTDS*/"Create rental offer"),variant:"primary"})]})})]})})]})}f.displayName=f.name+" [from "+i.id+"]",l.default=f}),226);
-----
OCDevManageApplicationSubmissionPriceInput.react",["fbt","GeoCheckboxInput.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoNotice.react","GeoNoticeContent.react","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageApplicationSubmissionPriceInputQuery.graphql","OCDevManageApplicationSubmissionPriceInput_submission.graphql","OCDevManageApplicationSubmissionPricingConfirmationModal","OCDevManageApplicationSubmissionPricingHelpers","OCDevManageCountryPricingTable.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUILink.react","OCDevWebClientEventsBaseLogger.log","OCPurchasableOfferWithApp","RelayHooks","asyncToGeneratorRuntime","gkx","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage","useOCDevManageIsInternal","useOCDevUIModal","useOCDevUIQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=c||(c=o("react")),m=r("gkx")("829");function p(t){var a,i,l,c,p,_,f,g,h,y=t.formState,C=t.moveDefaultPricesToCustom,b=t.onSubmit,v=t.onUpdateFormState,S=t.setMoveDefaultPricesToCustom,R=t.setShowCountrySpecificPricingInfo,L=t.showCountrySpecificPricingInfo,E=t.submission,k=o("RelayHooks").useFragment(e!==void 0?e:e=n("OCDevManageApplicationSubmissionPriceInput_submission.graphql"),E),I=y.countrySpecificPriceObjectKeys,T=y.offerType,D=y.worldwidePriceObjectKey,x=k.application,$=x==null?void 0:x.organization,P=(a=k.reviewable_offer_group_with_fallback)==null?void 0:a.worldwide_offer,N=($==null?void 0:$.has_financial_entity)===!0,M=(x==null||(i=x.store_availability)==null?void 0:i.is_managed)===!0,w=(l=(c=k.binary_with_fallback)==null?void 0:c.is_pwa)!=null?l:!1,A=w&&m,F=r("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(x,T,k.status)(null),O=F.message,B=F.showModal,W=r("gkx")("1956"),q=r("OCPurchasableOfferWithApp").APPSTORE_OFFER,U=r("OCPurchasableOfferWithApp").APPSTORE_PREORDER_OFFER,V=W===!0?[q,U]:[q],H=r("useOCDevManageIsInternal")(),G=r("useOCDevUIModal")(),z=G.closeModal,j=G.openModal,K=r("useOCDevUIQuery")(u!==void 0?u:u=n("OCDevManageApplicationSubmissionPriceInputQuery.graphql"),{app_store_item_id:(p=x==null?void 0:x.id)!=null?p:"",price_object_key:D,submission_id:(_=k.id)!=null?_:""}),Q=K.node,X=K.xoc_approved_price_points;if(x==null)return null;function Y(e){var t=y.offerType==="APPSTORE_PREORDER_OFFER",n=t?o("OCDevManageApplicationSubmissionPricingHelpers").getPriceAmountFromKey(e!=null?e:"",X):y.baseApplicationPriceAmount;v(function(t){return babelHelpers.extends({},t,{baseApplicationPriceAmount:n,discountWorldwidePriceObjectKey:null,worldwidePriceObjectKey:e!=null?e:""})})}function J(e){return Z.apply(this,arguments)}function Z(){return Z=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){var t;yield Y(e!=null?e:""),r("OCDevWebClientEventsBaseLogger.log")({action:"app_submission_pricing_confirmation_speed_bump_price_change",developer_org_id:k==null||(t=k.application)==null||(t=t.organization)==null?void 0:t.id,target_id:k==null?void 0:k.id}),S(!0),z()}),Z.apply(this,arguments)}function ee(e){B!=null&&B?j(d.jsx(r("OCDevManageApplicationSubmissionPricingConfirmationModal"),{legalByPassReason:"PAST_MSRP_CHANGE",onClose:function(){return Y(D!=null?D:"")},onSubmit:function(){return J(e!=null?e:"")}})):Y(e!=null?e:"")}function te(){return o("OCDevManageApplicationSubmissionPricingHelpers").validatePriceField(D,T,A)}var ne=(D!=null?D:"")!==""&&N&&T!=null&&V.includes(T),re=W&&Q!=null,oe=!H&&["APPROVED","SUBMITTED","UNDER_REVIEW"].includes(k.status);return d.jsxs(d.Fragment,{children:[!o("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&d.jsx(r("GeoGuidanceCard.react"),{header:d.jsx(r("GeoGuidanceCardHeader.react"),{heading:s._(/*BTDS*/"Pricing suggested conversion deprecation")}),status:"active-feedback",children:d.jsx(r("GeoGuidanceCardContent.react"),{children:s._(/*BTDS*/"As of June 18, 2025, the suggested conversion pricing tool has been deprecated. No action is requiredu2014existing prices set through the tool will remain the same. For future international pricing, you can set a custom price or use FX rateu2013based pricing.")})}),N?null:d.jsx(r("GeoNotice.react"),{status:"info",children:d.jsx(r("GeoNoticeContent.react"),{children:s._(/*BTDS*/"To create a paid application, you need to set up your {=m2}.",[s._implicitParam("=m2",d.jsx(r("OCDevUILink.react"),{href:r("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(f=$==null?void 0:$.id)!=null?f:""}),children:s._(/*BTDS*/"payment info")}))])})}),d.jsx(r("OCDevManagePriceObjectKeyField.react"),{"data-testid":void 0,disabledMessage:H?null:O,displayUsaNationFlag:!o("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool,excludeFreeOption:T==="APPSTORE_PREORDER_OFFER",hidePaidOptions:!N||M||T==="APPSTORE_OFFER"&&A,maximumPriceAmount:x==null?void 0:x.maximum_allowed_price_amount,priceAmount:P==null||(g=P.price)==null?void 0:g.formatted_for_lwi,validateField:te,value:D,warningMessage:H?O:null,onChange:ee}),ne?re&&Q!=null?d.jsx(r("OCDevManageCountryPricingTable.react"),{allFieldsDisabled:oe,appStoreItemKey:Q,countryOverrides:y.countryPriceOverrides,moveDefaultPricesToCustom:C,savedCountryPriceOverrides:(h=y.savedCountryPriceOverrides)!=null?h:{},showSuggestedConversions:!0,onChangeCountryEntry:function(t){return v(function(e){return babelHelpers.extends({},e,{countryPriceOverrides:t(e.countryPriceOverrides)})})},onChangePricingSources:function(t){return v(function(e){return babelHelpers.extends({},e,{pricingSources:t(e.pricingSources)})})},onChangeSavedCountryEntry:function(t){return v(function(e){var n;return babelHelpers.extends({},e,{savedCountryPriceOverrides:t((n=e.savedCountryPriceOverrides)!=null?n:{})})})},onSubmit:b}):d.jsxs(d.Fragment,{children:[d.jsx(r("GeoCheckboxInput.react"),{"data-testid":void 0,disabledMessage:s._(/*BTDS*/"You are unable to make country-specific pricing changes through this tool. If you would like to make a country-specific price change please contact your Meta Horizon Store support partner."),isDisabled:(x==null?void 0:x.msrp_offer_is_country_restricted)===!0,label:s._(/*BTDS*/"Adjust Prices for Individual Countries"),value:L===!0,onChange:function(t){R&&R(t),!t&&v(function(e){return babelHelpers.extends({},e,{countrySpecificPriceObjectKeys:{}})})}}),L===!0&&x!=null?d.jsx(r("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:x,countrySpecificPriceObjectKeys:I,selectedGlobalPriceObjectKey:y.worldwidePriceObjectKey,onUpdateCountrySpecificPriceObjectKeys:function(t){return v(function(e){return babelHelpers.extends({},e,{countrySpecificPriceObjectKeys:t(e.countrySpecificPriceObjectKeys)})})}}):null]}):null]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),226);
-----
OCDevManageApplicationPricingExperimentFormFields.react",["fbt","GeoFlexbox.react","GeoHeading.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","GeoTextInput.react","GeoVStack.react","OCDevManageApplicationPricingExperimentEndDateField.react","OCDevManageApplicationPricingExperimentFormFields_application.graphql","OCDevManageApplicationPricingExperimentStartDateField.react","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIValidateStringLength","RelayHooks","geoMargin","getDisabledProps","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e=a.app,f=a.currentPriceAmount,g=a.currentPriceKey,j=a.formState,m=a.onUpdateFormState,n=j.experimentType,o=j.externalName,p=j.incrementalPriceKey,q=j.lowerBoundPriceKey;a=j.status;var r=j.upperBoundPriceKey;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingExperimentFormFields_application.graphql"),e);var s=h._("u5b9eu9a8cu8be6u60c5u4e00u65e6u53d1u5e03u5c31u65e0u6cd5u66f4u6539u3002u5982u6709u5fc5u8981uff0cu4f60u53efu80fdu53efu4ee5u5220u9664u8fd9u4e2au5b9eu9a8cuff0cu518du65b0u5efau4e00u4e2au3002");function t(a){return a==="DRAFT"||a===null?null:s}return k.jsx(c("GeoSection.react"),{children:k.jsxs(c("GeoVStack.react"),{children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return d("OCDevUIValidateStringLength").validateStringLength({value:o})},children:k.jsx(c("GeoTextInput.react"),babelHelpers["extends"]({description:h._("Give your test a unique name. This name is not visible to the public.")},c("getDisabledProps")(t(a)),{label:h._("u540du5b57/u540du79f0"),value:o,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{externalName:a})})}}))}),k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return n!=null?null:h._("u5fc5u987bu9009u62e9u5b9eu9a8cu7c7bu578bu3002")},children:k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({},c("getDisabledProps")(t(a)),{label:h._("u5b9eu9a8cu7c7bu578b"),value:n,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentType:a,incrementalPriceKey:null,upperBoundPriceKey:null,lowerBoundPriceKey:null})})},children:[k.jsx(c("GeoSelectorItem.react"),{description:h._("u5bf9u6bd4u65b0u4ef7u683cu6765u6d4bu8bd5u4f60u7684u5f53u524du4ef7u683c"),label:h._("Price Incrementality Test"),value:"PRICE_TEST"}),k.jsx(c("GeoSelectorItem.react"),{description:h._("u628au5f53u524du4ef7u683cu63d0u9ad8u6216u964du4f4eu4e00u4e2au4ef7u683cu70b9u6765u8fdbu884cu6d4bu8bd5u3002"),disabledMessage:g===""?h._("u4f60u4e0du80fdu5bf9u514du8d39u5e94u7528u7a0bu5e8fu8fdbu884cu8fb9u754cu6d4bu8bd5u3002"):null,isDisabled:g==="",label:h._("u4ef7u683cu8fb9u754cu6d4bu8bd5"),value:"PRICE_BOUNDARY_TEST"})]}))}),k.jsxs(c("GeoFlexbox.react"),{columnGap:16,direction:"row",children:[k.jsx(c("OCDevManageApplicationPricingExperimentStartDateField.react"),{app:e,disabledMessage:t(a),formState:j,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentStartDate:a})})}}),k.jsx(c("OCDevManageApplicationPricingExperimentEndDateField.react"),{disabledMessage:t(a),formState:j,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentEndDate:a})})}})]}),k.jsxs(c("GeoFlexbox.react"),{direction:"row",children:[n==="PRICE_BOUNDARY_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.boundaryPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:q,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u8f83u4f4eu4ef7u683cu70b9"),maximumPriceKey:(e=g)!=null?e:"",validateField:function(){return q==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:q,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{lowerBoundPriceKey:a})})}})}):null,k.jsxs(c("GeoFlexbox.react"),{direction:"column",xstyle:[l.currentPrice,n==="PRICE_BOUNDARY_TEST"?l.boundaryCurrentPrice:null],children:[k.jsx(c("GeoHeading.react"),{level:4,children:"Current Price"}),k.jsx(c("GeoText.react"),{xstyle:c("geoMargin").top12,children:f})]}),n==="PRICE_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.incrementalPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:p,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u7528u4e8eu6d4bu8bd5u7684u65b0u4ef7u683cu70b9"),validateField:function(){return p==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:p,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{incrementalPriceKey:a})})}})}):null,n==="PRICE_BOUNDARY_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.boundaryPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:r,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u8f83u9ad8u4ef7u683cu70b9"),minimumPriceKey:(t=g)!=null?t:"",validateField:function(){return r==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:r,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{upperBoundPriceKey:a})})}})}):null]})]})})}a.displayName=a.name+" [from "+f.id+"]";var l={incrementalPriceSelector:{width:"xktia5q",$$css:!0},currentPrice:{width:"x8yj6t5",$$css:!0},boundaryCurrentPrice:{paddingLeft:"xnm25rq",paddingStart:null,paddingEnd:null,$$css:!0},boundaryPriceSelector:{width:"xz84dc7",$$css:!0}};g["default"]=a}),226);
-----
OCDevManagePlatformServicesAddOnPricingFields.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageCountryPricingTable.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUIValidatorCommonErrors","RelayHooks","geoMargin","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,g,j=a.addOn,m=a.formState,n=m.countryPriceOverrides,o=m.countrySpecificPriceObjectKeys,p=m.priceObjectKey,q=a.onUpdateFormState;m=l(Object.keys(o).length>0);a=m[0];var r=m[1];m=c("gkx")("1956");j=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql"),j);e=(e=j.app_grouping)==null?void 0:e.developer_organization;f=(f=e==null?void 0:e.has_financial_entity)!=null?f:!1;var s=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(j)(null);g=((g=j.latest_revision)==null?void 0:(g=g.pdp_metadata_with_fallback)==null?void 0:g.iarc_cert)!==null;var t=j.maximum_allowed_price_amount;return k.jsxs(k.Fragment,{children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:f?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:(e=e==null?void 0:e.id)!=null?e:""}),children:h._("payment info")}))]),disabledItemMessage:h._("Only paid addons support different IARC certificate at the moment. Remove IARC certificate and use base app content rating to enable this option."),disabledMessage:s,disabledPriceObjectKey:g?"":null,hidePaidOptions:!f,maximumPriceAmount:t,priceAmount:j==null?void 0:(e=j.latest_revision)==null?void 0:(g=e.reviewable_offer_group_with_fallback)==null?void 0:(e=g.worldwide_offer)==null?void 0:(g=e.price)==null?void 0:g.formatted_for_lwi,validateField:function(){return p==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:p,warningMessage:h._("Once approved, prices will be locked and cannot be changed for 30 days."),onChange:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a!==""?b.countryPriceOverrides:{},priceObjectKey:a})})}}),c("gkx")("25711")&&((e=p)!=null?e:"")!==""&&f?m?k.jsx(c("OCDevManageCountryPricingTable.react"),{appStoreItemID:(g=j.id)!=null?g:"",countryOverrides:n,priceObjectKey:p,onChangeCountryEntry:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a(b.countryPriceOverrides)})})}}):k.jsxs(k.Fragment,{children:[k.jsx(c("GeoCheckboxInput.react"),{disabledMessage:s,isDisabled:s!=null,label:h._("u4e3au7279u5b9au56fdu5bb6/u5730u533au8c03u6574u4ef7u683c"),value:a,xstyle:c("geoMargin").vert16,onChange:function(a){r(a),a||q(function(a){return babelHelpers["extends"]({},a,{countrySpecificPriceObjectKeys:{}})})}}),a?k.jsx(c("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:j,countrySpecificPriceObjectKeys:o,maximumPriceAmount:t,selectedGlobalPriceObjectKey:p,onUpdateCountrySpecificPriceObjectKeys:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countrySpecificPriceObjectKeys:a(b.countrySpecificPriceObjectKeys)})})},onUpdateLegalBypassReason:function(){}}):null]}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyField.react",["fbt","GeoSelector.react","GeoSelectorDivider.react","GeoSelectorItem.react","OCDevManagePriceObjectKeyFieldQuery.graphql","OCDevManagePriceObjectKeyField_approvedPricePoints.graphql","OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUIFormInputValidator.react","RelayHooks","emptyFunction","getCountrySpecificPricingTargetCurrencySymbol","react","useOCDevUIQuery"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=l||(l=d("react"));e=l;var n=e.Suspense,o=e.useEffect;function p(a){var e=a.approvedPricePoints,f=a.countrySpecificApprovedPricePoints,g=a.country,k=a.description,l=a.disabledMessage,n=a.disabledItemMessage,p=a.disabledPriceObjectKey,q=p===void 0?null:p;p=a.excludeFreeOption;p=p===void 0?!1:p;var r=a.isReadOnly,s=a.label;s=s===void 0?h._("Price"):s;var t=a.minimumPriceKey,u=a.maximumPriceKey,v=a.tooltip,w=a.onChange,x=a.validateField,y=a.value,z=a.warningMessage;a=a.priceAmount;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePriceObjectKeyField_approvedPricePoints.graphql"),e);var A=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql"),f);function B(a){var b;return A==null?void 0:(b=A.find(function(b){b=b.key;return b===a}))==null?void 0:b.amount}function C(a){a=B(a);return a==null||g==null?"":""+c("getCountrySpecificPricingTargetCurrencySymbol")(g)+(g==="JP"?a/100:(a/100).toFixed(2))}var D=A==null?void 0:A.find(function(a){a=a.is_suggested;return a===!0});f=((f=e)!=null?f:[]).find(function(a){a=a.key;return a===q});var E=(e==null?void 0:e.find(function(a){a=a.key;return a===y}))==null;f=f!=null?m.jsx(c("GeoSelectorItem.react"),{isDisabled:!0,label:C(f.key)!==""?C(f.key)+" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":""+((f==null?void 0:f.amount)!=null?"$"+(f.amount/100).toFixed(2)+" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":""),value:f.key},f.key):null;var F=D!=null?m.jsx(c("GeoSelectorItem.react"),{label:C(D.key)!==""?""+C(D.key)+(" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").suggestedConversionLabel.toString()+")"):""+((D==null?void 0:D.amount)!=null?"$"+(D.amount/100).toFixed(2):""),value:D.key},D.key):null,G=d("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&D!=null&&(D==null?void 0:D.key)!=null&&D.key!==q;o(function(){y==null&&(D==null?void 0:D.key)!=null&&w(D.key)},[w,D==null?void 0:D.key,y]);k={description:k,disabledMessage:l,isDisabled:l!=null,isReadOnly:r,label:s,tooltip:v};var H=t!=null?e==null?void 0:(l=e.find(function(a){a=a.key;return a===t}))==null?void 0:l.amount:null,I=u!=null?e==null?void 0:(r=e.find(function(a){a=a.key;return a===u}))==null?void 0:r.amount:null;v=e==null?m.jsx(c("GeoSelector.react"),babelHelpers["extends"]({isLoading:!0,value:null,onChange:c("emptyFunction")},k,{children:m.jsx(c("GeoSelectorItem.react"),{label:h._("u6b63u5728u52a0u8f7d..."),value:null})})):m.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({"data-testid":void 0,value:(s=y)!=null?s:q,warningMessage:y!=null?z:null,onChange:w},k,{children:[G?F:null,G?f:null,G?m.jsx(c("GeoSelectorDivider.react"),{}):null,a!=null&&y!==""&&E?m.jsx(c("GeoSelectorItem.react"),{label:h._("{Custom Price Amount} (Custom)",[h._param("Custom Price Amount",a)]),value:y}):null,p?null:m.jsx(c("GeoSelectorItem.react"),{disabledMessage:n,isDisabled:q==="",label:h._("Free"),value:""}),(g!=null?e.filter(function(a){a=a.key;return C(a)!==""}).sort(function(a,b){return Number(B(a.key))-Number(B(b.key))}):e.filter(function(a){a=a.amount;return!(H!=null&&a!=null&&a<=H||I!=null&&a!=null&&a>=I)})).map(function(a){var b=a.amount;a=a.key;return b!=null&&a!=null?m.jsx(c("GeoSelectorItem.react"),{disabledMessage:n,isDisabled:a===q,label:C(a)!==""?""+C(a)+(a===q?" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":a===(D==null?void 0:D.key)?" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").suggestedConversionLabel.toString()+")":""):"$"+(b/100).toFixed(2),value:a},a):null})]}));return x!=null&&(D==null?void 0:D.key)==null?m.jsx(c("OCDevUIFormInputValidator.react"),{validateField:x,children:v}):v}p.displayName=p.name+" [from "+f.id+"]";function q(a){var e=a.country,f=a.hidePaidOptions,g=a.maximumPriceAmount,h=a.pricePointForSuggestions;e=c("useOCDevUIQuery")(k!==void 0?k:k=b("OCDevManagePriceObjectKeyFieldQuery.graphql"),{country:e,countryIsNonNull:e!=null,countryIsNull:e==null,maximumPrice:f===!0?0:g,pricePointForSuggestions:d("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&h!=null?h:null});return m.jsx(p,babelHelpers["extends"]({},a,{approvedPricePoints:e.approvedPricePoints,countrySpecificApprovedPricePoints:e.countrySpecificApprovedPricePoints}))}q.displayName=q.name+" [from "+f.id+"]";function a(a){return m.jsx(n,{fallback:m.jsx(p,babelHelpers["extends"]({},a,{approvedPricePoints:null})),children:m.jsx(q,babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyFieldQuery.graphql",["OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"country"},{defaultValue:null,kind:"LocalArgument",name:"countryIsNonNull"},{defaultValue:null,kind:"LocalArgument",name:"countryIsNull"},{defaultValue:null,kind:"LocalArgument",name:"maximumPrice"},{defaultValue:null,kind:"LocalArgument",name:"pricePointForSuggestions"}],c={kind:"Variable",name:"maximum_price",variableName:"maximumPrice"},d=[{kind:"Variable",name:"force_99_suffix",variableName:"countryIsNull"},c];c=[{kind:"Variable",name:"country",variableName:"country"},{kind:"Literal",name:"force_99_suffix",value:!1},c,{kind:"Variable",name:"price_point_for_suggestions",variableName:"pricePointForSuggestions"}];var e={alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:"approvedPricePoints",args:d,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_approvedPricePoints"}],storageKey:null},{condition:"countryIsNonNull",kind:"Condition",passingValue:!0,selections:[{alias:"countrySpecificApprovedPricePoints",args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints"}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:"approvedPricePoints",args:d,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[e,f],storageKey:null},{condition:"countryIsNonNull",kind:"Condition",passingValue:!0,selections:[{alias:"countrySpecificApprovedPricePoints",args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[e,f,{alias:null,args:null,kind:"ScalarField",name:"is_suggested",storageKey:null}],storageKey:null}]}]},params:{id:b("OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"),metadata:{},name:"OCDevManagePriceObjectKeyFieldQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
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);
-----
OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7414458551903653"}),null);
-----
OCDevManagePriceObjectKeyField_approvedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_approvedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationPricingCountrySpecificPricingFields.react",["fbt","GeoButton.react","GeoMultiSelector.react","GeoMultiSelectorItem.react","GeoStatusIndicator.react","OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem.graphql","OCDevManagePriceObjectKeyField.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCStoreCountrySpecificPricingSuggestionsSitevarConfig","RelayHooks","XOCCountrySpecificPricingEUCountries.oculus","XOCCountrySpecificPricingTarget.oculus","XOCOCStorePriceChangeContextReasonSpecific.oculus","formatDate","getCountrySpecificPricingTargetCurrencySymbol","gkx","objectKeys","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e=a.appStoreItem,f=a.countrySpecificPriceObjectKeys,g=a.maximumPriceAmount,j=a.onUpdateCountrySpecificPriceObjectKeys,l=a.onUpdateLegalBypassReason,m=a.selectedGlobalPriceObjectKey;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem.graphql"),e);function n(a){return a.sort(function(a,b){return d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a).localeCompare(d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(b))})}var o=c("gkx")("25689")&&a.__typename==="Application",p=o?c("OCStoreCountrySpecificPricingSuggestionsSitevarConfig").countries:[];function q(a){return a!=null&&p.includes(a)}e=n(c("objectKeys")(f));var r=Object.fromEntries(((a=a==null?void 0:a.csp_price_change_eligibilities)!=null?a:[]).map(function(a){var b=a.eligibility;a=a.key;return[String(a),b]}));a=p.some(function(a){return((a=(a=r[String(a)])!=null?a:{})==null?void 0:a.eligibility)===!1});function s(a){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility,d=a.next_eligible_timestamp;a=a.reason;if(b===!0)return null;switch(a){case"MSRP_CHANGE":return h._("u4f60u7684u5546u54c1u4ef7u683cu8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au66f4u6539u8fc7u3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);case"MSRP_EXPERIMENT":return h._("u4f60u7684u5546u54c1u8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au8fdbu884cu8fc7u5382u5546u5efau8baeu96f6u552eu4ef7u5b9eu9a8cu3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);case"SALE":return h._("u4f60u7684u5546u54c1u8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au8fdbu884cu8fc7u7279u4ef7u51fau552eu3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);default:return h._("u4f60u76eeu524du65e0u6cd5u66f4u6539u4ef7u683cu3002")}}function t(a){if(d("OCDevManageSubmissionCountrySpecificPricingUtils").isCountryEligibleForLegalBypass(a)){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility;a=a.reason_specific;if(b===!0&&a!=null)return a}return null}function u(a){if(d("OCDevManageSubmissionCountrySpecificPricingUtils").isCountryEligibleForLegalBypass(a)){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility,e=a.next_eligible_timestamp,f=a.reason_specific,g=a.violating_event_end_ts;a=a.violating_event_start_ts;if(b===!0&&f!=null)switch(f){case c("XOCOCStorePriceChangeContextReasonSpecific.oculus").FUTURE_SALE:return h._("You have scheduled Sale promotion on {future-date} .Adjusting the price for this country now will immediately terminate the sale.",[h._param("future-date",c("formatDate")(a,"m/d/Y"))]);case c("XOCOCStorePriceChangeContextReasonSpecific.oculus").RUNNING_SALE:return h._("You are currently running a Sale promotion until {future-date} .Adjusting the price for this country now will immediately terminate the sale.",[h._param("future-date",c("formatDate")(g,"m/d/Y"))]);default:return h._("Your item"s price changed in this country too recently. Please wait until {future-date} before updating it.",[h._param("future-date",c("formatDate")(e,"m/d/Y"))])}}}var v=Array.from(c("XOCCountrySpecificPricingEUCountries.oculus").members());return k.jsxs(c("OCDevUISpacedLayout.react"),{children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(f).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:k.jsx(c("GeoMultiSelector.react"),{description:h._("u4e00u4e2au56fdu5bb6/u5730u533au7684u81eau5b9au4e49u4ef7u683cu4f1au5728u83b7u6279u540eu9501u5b9auff0cu987bu7b49u5f85 30 u5929u624du80fdu66f4u6539u3002"),displayValueType:"list",label:h._("Countries With Custom Price"),value:e,onChange:function(a){return j(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:n(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members()).filter(function(a){return!v.includes(a)})).map(function(a){var b=s(a),e=u(a),f=o&&q(a);return k.jsx(c("GeoMultiSelectorItem.react"),{description:e!=null?e:f?h._("u6709u4ef7u683cu5efau8bae"):null,disabledMessage:b,isDisabled:b!=null,label:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",statusIndicator:f?k.jsx(c("GeoStatusIndicator.react"),{status:"active"}):null,value:a},a)})})}),p.length>0&&!p.every(function(a){return a in f})?k.jsx(c("GeoButton.react"),{isDisabled:a,label:h._("u6dfbu52a0u6709u5efau8baeu4ef7u683cu7684u5168u90e8u56fdu5bb6/u5730u533a"),tooltip:a?h._("This item has recently undergone a price change in one or more countries with suggested prices. Please make any pricing updates using the country selector above."):h._("Adds all countries that have available pricing suggestions."),onClick:function(){j(function(a){return Object.fromEntries(p.concat(Object.keys(f)).map(function(b){b=c("XOCCountrySpecificPricingTarget.oculus").cast(b);return b!=null?[b,(b=a[b])!=null?b:{discountPriceObjectKey:null,priceObjectKey:null}]:null}).filter(Boolean))})}}):null,k.jsx(c("OCDevUIGrid.react"),{columns:3,children:e.map(function(a){var b;return k.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a!=="EU"?a:"IT",disabledItemMessage:h._("This price is the same as your global price."),disabledMessage:s(a!=="EU"?a:"IT"),disabledPriceObjectKey:m,label:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",maximumPriceAmount:g,pricePointForSuggestions:o?m:null,tooltip:a==="EU"?h._("u6240u9009u9879u76eeu5c06u5e94u7528u5230u6b27u76dfu6210u5458u56fdu5bb6/u5730u533au3001u632au5a01u3001u51b0u5c9bu548cu5362u68eeu5821u3002"):null,validateField:function(){var b;return[null,m].includes((b=(b=f[a])==null?void 0:b.priceObjectKey)!=null?b:null)?h._("u8bf7u8bbeu7f6eu4e0eu9ed8u8ba4u4ef7u683cu4e0du540cu7684u81eau5b9au4e49u4ef7u683c"):null},value:(b=f[a])==null?void 0:b.priceObjectKey,onChange:function(b){j(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))}),l(t(a),a)}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_suggested",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationPricingExperimentFormFields.react",["fbt","GeoDatePicker.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoTextInput.react","GeoVStack.react","LocalDate","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIValidateStringLength","OCDevUIValidatorCommonErrors","Timezone","emptyFunction","getDisabledProps","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=7;function a(a){var b=a.currentPriceKey,e=a.formState,f=a.onUpdateFormState,g=e.experimentEndDate,i=e.experimentStartDate,l=e.experimentType,m=e.externalName,n=e.incrementalPriceKey,o=e.lowerBoundPriceKey;a=e.minimumExperimentLength;var p=e.status,q=e.upperBoundPriceKey,r=(e=a)!=null?e:k;function s(a,b){return a==null||b==null?!1:a.addDays(r).isAfter(b)}var t=h._("u5b9eu9a8cu8be6u60c5u4e00u65e6u53d1u5e03u5c31u65e0u6cd5u66f4u6539u3002u5982u6709u5fc5u8981uff0cu4f60u53efu80fdu53efu4ee5u5220u9664u8fd9u4e2au5b9eu9a8cuff0cu518du65b0u5efau4e00u4e2au3002");function u(a){return a==="DRAFT"||a===null?null:t}return j.jsx(c("GeoSection.react"),{children:j.jsxs(c("GeoVStack.react"),{children:[j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return d("OCDevUIValidateStringLength").validateStringLength({value:m})},children:j.jsx(c("GeoTextInput.react"),babelHelpers["extends"]({description:h._("Give your test a unique name. This name is not visible to the public.")},c("getDisabledProps")(u(p)),{label:h._("u540du5b57/u540du79f0"),value:m,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{externalName:a})})}}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return l!=null?null:h._("u5fc5u987bu9009u62e9u5b9eu9a8cu7c7bu578bu3002")},children:j.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{label:h._("u5b9eu9a8cu7c7bu578b"),value:l,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentType:a,incrementalPriceKey:null,upperBoundPriceKey:null,lowerBoundPriceKey:null})})},children:[j.jsx(c("GeoSelectorItem.react"),{description:h._("u5bf9u6bd4u65b0u4ef7u683cu6765u6d4bu8bd5u4f60u7684u5f53u524du4ef7u683c"),label:h._("u4ef7u683cu589eu51cfu53d8u5316u6d4bu8bd5"),value:"PRICE_TEST"}),j.jsx(c("GeoSelectorItem.react"),{description:h._("u628au5f53u524du4ef7u683cu63d0u9ad8u6216u964du4f4eu4e00u4e2au4ef7u683cu70b9u6765u8fdbu884cu6d4bu8bd5u3002"),disabledMessage:b===""?h._("u4f60u4e0du80fdu5bf9u514du8d39u5e94u7528u7a0bu5e8fu8fdbu884cu8fb9u754cu6d4bu8bd5u3002"):null,isDisabled:b==="",label:h._("u4ef7u683cu8fb9u754cu6d4bu8bd5"),value:"PRICE_BOUNDARY_TEST"})]}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return i==null?h._("u5fc5u987bu9009u62e9u5f00u59cbu65e5u671fu3002"):s(i,g)?h._("u5b9eu9a8cu5f00u59cbu65e5u671fu6bd4u7ed3u675fu65e5u671fu5fc5u987bu81f3u5c11u65e9{minimum-days}u5929u3002",[h._param("minimum-days",r)]):null},children:j.jsx(c("GeoDatePicker.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{focusDate:c("LocalDate").today(d("Timezone").PST8PDT).addDays(3),label:h._("u5b9eu9a8cu5f00u59cbu65e5u671f"),restraint:function(a){return a!=null&&a.toInstant(d("Timezone").PST8PDT)>c("LocalDate").today(d("Timezone").PST8PDT).addDays(3).toInstant(d("Timezone").PST8PDT)},value:i,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentStartDate:a})})}}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return g==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:j.jsx(c("GeoDatePicker.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{focusDate:i!=null?i.addDays(r):null,label:h._("u5b9eu9a8cu7ed3u675fu65e5u671f"),restraint:function(a){return a!=null&&(i!=null?a.isAfter(i.addDays(r))&&a.isBeforeOrEqual(i.addDays(90)):!0)},value:g,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentEndDate:a})})}}))}),l==="PRICE_BOUNDARY_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:o,isReadOnly:p!=="DRAFT",label:h._("u8f83u4f4eu4ef7u683cu70b9"),maximumPriceKey:(a=b)!=null?a:"",validateField:function(){return o==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:o,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{lowerBoundPriceKey:a})})}}):null,j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledPriceObjectKey:n,isReadOnly:!0,label:h._("u5f53u524du4ef7u683c"),value:b,onChange:c("emptyFunction")}),l==="PRICE_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:n,isReadOnly:p!=="DRAFT",label:h._("u7528u4e8eu6d4bu8bd5u7684u65b0u4ef7u683cu70b9"),validateField:function(){return n==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:n,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{incrementalPriceKey:a})})}}):null,l==="PRICE_BOUNDARY_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:q,excludeFreeOption:!0,isReadOnly:p!=="DRAFT",label:h._("u8f83u9ad8u4ef7u683cu70b9"),minimumPriceKey:(e=b)!=null?e:"",validateField:function(){return q==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:q,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{upperBoundPriceKey:a})})}}):null]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePlatformServicesAddOnPricingFields.react",["fbt","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");function a(a){var e,f=a.addOn,g=a.formState.priceObjectKey,k=a.onUpdateFormState;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql"),f);f=(f=a.app_grouping)==null?void 0:f.developer_organization;e=(e=f==null?void 0:f.has_financial_entity)!=null?e:!1;var l=d("OCNavigatorHooks").useContextRouter();l=l.location.pathname;a=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(a)(null);return j.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:e?h._("Prices are locked on approval and cannot be changed for 90 days."):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:(f=f==null?void 0:f.id)!=null?f:""}).getPath(),state:{fromPath:l}},children:h._("payment info")}))]),disabledMessage:a,hidePaidOptions:!e,validateField:function(){return g==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:g,onChange:function(a){return k(function(b){return babelHelpers["extends"]({},b,{priceObjectKey:a})})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationPricingCountrySpecificPricingFields.react",["fbt","CountryNames","GeoMultiSelector.react","GeoMultiSelectorItem.react","OCDevManageApplicationPricingCountrySpecificPricingFields_fragment.graphql","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","RelayHooks","XOCCountrySpecificPricingTarget.oculus","formatDate","getCountrySpecificPricingTargetCurrencySymbol","objectKeys","react","useOCDevManageGetApplicationLatestPriceChangeDate","useOCDevManageGetApplicationPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=90*86400;e=Date.now()/1e3;var l=e-k;function a(a){var e=a.application,f=a.countrySpecificPriceObjectKeys,g=a.onUpdateCountrySpecificPriceObjectKeys;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingCountrySpecificPricingFields_fragment.graphql"),e);function m(a){return c("CountryNames")[a]}function n(a){return a.sort(function(a,b){return m(a).localeCompare(m(b))})}var o=n(c("objectKeys")(f)),p=c("useOCDevManageGetApplicationLatestPriceChangeDate")(a),q=c("useOCDevManageGetApplicationPriceObjectKeyDisabledMessage")(a);function r(a){var b=p(a);if(b>l)return h._("This country experienced a price change less than 90 days ago ({past-date}). Please wait until {future-date} before adding or removing it.",[h._param("past-date",c("formatDate")(b,"m/d/Y")),h._param("future-date",c("formatDate")(b+k,"m/d/Y"))]);b=p(null);if(!o.includes(a)&&b>l)return h._("Your worldwide price has changed in the last 90 days ({past-date}). Please wait until {future-date} before adding new countries.",[h._param("past-date",c("formatDate")(b,"m/d/Y")),h._param("future-date",c("formatDate")(b+k,"m/d/Y"))])}return j.jsxs(c("OCDevUISpacedLayout.react"),{children:[j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(f).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:j.jsx(c("GeoMultiSelector.react"),{displayValueType:"list",label:h._("Countries With Custom Price"),value:o,onChange:function(a){return g(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:n(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members())).map(function(a){var b=r(a);return j.jsx(c("GeoMultiSelectorItem.react"),{disabledMessage:b,isDisabled:b!=null,label:m(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",value:a},a)})})}),j.jsx(c("OCDevUIGrid.react"),{columns:3,children:o.map(function(a){var b;return j.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a,disabledMessage:q(a),label:m(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",validateField:function(){var b;return((b=f[a])==null?void 0:b.priceObjectKey)==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:(b=f[a])==null?void 0:b.priceObjectKey,onChange:function(b){return g(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))})}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingCountrySpecificPricingFields.react",["fbt","CountryNames","GeoMultiSelector.react","GeoMultiSelectorItem.react","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","XOCCountrySpecificPricingTarget.oculus","getCountrySpecificPricingTargetCurrencySymbol","objectKeys","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.countrySpecificPriceObjectKeys,e=a.onUpdateCountrySpecificPriceObjectKeys;function f(a){return c("CountryNames")[a]}function g(a){return a.sort(function(a,b){return f(a).localeCompare(f(b))})}a=g(c("objectKeys")(b));return i.jsxs(c("OCDevUISpacedLayout.react"),{children:[i.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(b).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:i.jsx(c("GeoMultiSelector.react"),{displayValueType:"list",label:h._("Countries With Custom Price"),value:a,onChange:function(a){return e(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:g(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members())).map(function(a){return i.jsx(c("GeoMultiSelectorItem.react"),{label:f(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",value:a},a)})})}),i.jsx(c("OCDevUIGrid.react"),{columns:3,children:a.map(function(a){var g;return i.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a,label:f(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",validateField:function(){var c;return((c=b[a])==null?void 0:c.priceObjectKey)==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:(g=b[a])==null?void 0:g.priceObjectKey,onChange:function(b){return e(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))})}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
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);
-----
OCDevManageApplicationSubmissionPricing.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationSubmissionCard.react","OCDevManageApplicationSubmissionPricingMutation.graphql","OCDevManageApplicationSubmissionPricingReviewerFeedback.react","OCDevManageApplicationSubmissionPricing_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageApplicationSubmissionThreeColumnLayout.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","regeneratorRuntime","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage","useOCDevManageCommitMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useState,m=90*86400;function a(a){var e;a=a.submission;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricing_submission.graphql"),a);a=(a=f==null?void 0:f.is_pre_launch)!=null?a:!1;e=(e=f.reviewable_offer_group_with_fallback)==null?void 0:(e=e.offers)==null?void 0:(e=e[0])==null?void 0:e.price_object_key;a=l(a);var g=a[0];a=a[1];e=l(e);var n=e[0];e=e[1];var o=c("useOCDevManageCommitMutation")(j!==void 0?j:j=b("OCDevManageApplicationSubmissionPricingMutation.graphql")),p=f.application,q=p==null?void 0:p.organization;function r(){var a,c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:d.next=2;return b("regeneratorRuntime").awrap(o({input:{is_pre_launch:g,price_object_key:(a=n)!=null?a:"",submission_id:(c=f==null?void 0:f.id)!=null?c:""}}));case 2:case"end":return d.stop()}},null,this)}var s=d("OCNavigatorHooks").useContextRouter();s=s.location.pathname;var t=(q==null?void 0:q.has_financial_entity)===!0,u=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(f);function v(){var a;a=Math.max.apply(Math,(a=p==null?void 0:(a=p.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-m)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((f==null?void 0:f.is_initial_release)!==!0&&(f==null?void 0:f.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you muat select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=p==null?void 0:p.id)!=null?a:"",submissionID:(a=f==null?void 0:f.id)!=null?a:""}).getPath(),children:h._("here")}))])}return u}v=v();return k.jsx(c("OCDevManageApplicationSubmissionCard.react"),{submission:f,onSubmit:r,children:k.jsx(c("OCDevManageApplicationSubmissionThreeColumnLayout.react"),{rightContent:k.jsx(c("OCDevManageApplicationSubmissionPricingReviewerFeedback.react"),{submission:f}),children:k.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:t?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(r=q==null?void 0:q.id)!=null?r:""}).getPath(),state:{fromPath:s}},children:h._("payment info")}))]),disabledMessage:v,hidePaidOptions:!t,validateField:function(){return n==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:n,onChange:e}),c("gkx")("5730")&&(p==null?void 0:p.is_approved)===!1&&k.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:g,onChange:a})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyField.react",["fbt","GeoSelector.react","GeoSelectorItem.react","OCDevManagePriceObjectKeyFieldQuery.graphql","OCDevManagePriceObjectKeyField_approvedPricePoints.graphql","OCDevUIFormInputValidator.react","RelayHooks","emptyFunction","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").Suspense;function m(a){var e=a.approvedPricePoints,f=a.description,g=a.disabledMessage,j=a.isReadOnly,l=a.label;l=l===void 0?h._("Price"):l;var m=a.onChange,n=a.validateField;a=a.value;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePriceObjectKeyField_approvedPricePoints.graphql"),e);f={description:f,disabledMessage:g,isDisabled:g!=null,isReadOnly:j,label:l};g=e.length===0?k.jsx(c("GeoSelector.react"),babelHelpers["extends"]({isLoading:!0,value:null,onChange:c("emptyFunction")},f,{children:k.jsx(c("GeoSelectorItem.react"),{label:h._("u6b63u5728u52a0u8f7d..."),value:null})})):k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({displayValue:function(a){a[0];a=a[1];return a==null?void 0:(a=a.toString())==null?void 0:(a=a.split(" ("))==null?void 0:a[0]},value:a,onChange:m},f,{children:[e.map(function(a){var b=a.amount;a=a.key;return b!=null&&a!=null?k.jsx(c("GeoSelectorItem.react"),{label:"$"+(b/100).toFixed(2),value:a},a):null}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Free"),value:""})]}));return n!=null?k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:n,children:g}):g}m.displayName=m.name+" [from "+f.id+"]";function n(a){var c=a.hidePaidOptions;c=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("OCDevManagePriceObjectKeyFieldQuery.graphql"),{maximumPrice:c===!0?0:null});return k.jsx(m,babelHelpers["extends"]({},a,{approvedPricePoints:c.xoc_approved_price_points}))}n.displayName=n.name+" [from "+f.id+"]";function a(a){return k.jsx(l,{fallback:k.jsx(m,babelHelpers["extends"]({},a,{approvedPricePoints:[]})),children:k.jsx(n,babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionMetadataPricing.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationSubmissionMetadataForm.react","OCDevManageApplicationSubmissionMetadataPricingMutation.graphql","OCDevManageApplicationSubmissionMetadataPricing_pdpMetadata.graphql","OCDevManageApplicationSubmissionMetadataPricing_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCDevWebClientEventsAppSubmissionFlowLogger.react","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","regeneratorRuntime","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage","useOCDevManageCommitMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=d("react"),m=d("react").useState,n=90*86400;function a(a){var e,f=a.isReadOnly,g=a.pdpMetadata;a=a.submission;var o=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionMetadataPricing_pdpMetadata.graphql"),g),p=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationSubmissionMetadataPricing_submission.graphql"),a);a=(g=p==null?void 0:p.is_pre_launch)!=null?g:!1;g=o.msrp_price_object_key;a=m(a);var q=a[0];a=a[1];g=m(g);var r=g[0];g=g[1];var s=c("useOCDevManageCommitMutation")(k!==void 0?k:k=b("OCDevManageApplicationSubmissionMetadataPricingMutation.graphql")),t=d("OCDevWebClientEventsAppSubmissionFlowLogger.react").useOCDevWebClientEventsAppSubmissionFlowLogger(),u=o.application,v=u==null?void 0:u.organization;e=(e=v==null?void 0:v.id)!=null?e:"";function w(){var a,c,e,f,g;return b("regeneratorRuntime").async(function(h){while(1)switch(h.prev=h.next){case 0:f=(a=o.id)!=null?a:"";h.next=3;return b("regeneratorRuntime").awrap(s({input:{is_pre_launch:q,price_object_key:(c=r)!=null?c:"",submission_id:(e=p==null?void 0:p.id)!=null?e:""}}));case 3:g=h.sent;if(!(g==null)){h.next=6;break}return h.abrupt("return");case 6:t({action:d("OCDevWebClientEventsAppSubmissionFlowLogger.react").OCDevWebApplicationSubmissionFlowActions.APP_SUBMISSION_PRICING,pdpMetadataID:f});case 7:case"end":return h.stop()}},null,this)}var x=d("OCNavigatorHooks").useContextRouter();x=x.location.pathname;v=(v==null?void 0:v.has_financial_entity)===!0;var y=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(p);function z(){var a;a=Math.max.apply(Math,(a=u==null?void 0:(a=u.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-n)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((p==null?void 0:p.is_initial_release)!==!0&&(p==null?void 0:p.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you muat select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",l.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=u==null?void 0:u.id)!=null?a:"",submissionID:(a=p==null?void 0:p.id)!=null?a:""}).getPath(),children:h._("here")}))])}return y}z=z();return l.jsx(c("OCDevManageApplicationSubmissionMetadataForm.react"),{pdpMetadata:o,onSubmit:w,children:l.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[l.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:v?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",l.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:e}).getPath(),state:{fromPath:x}},children:h._("payment info")}))]),disabledMessage:z,hidePaidOptions:!v,isReadOnly:f,validateField:function(){return r==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:r,onChange:g}),c("gkx")("5730")&&(u==null?void 0:u.is_approved)===!1&&l.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:q,onChange:a})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyFieldQuery.graphql",["OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"maximumPrice"}],c=[{kind:"Variable",name:"maximum_price",variableName:"maximumPrice"}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:null,args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_approvedPricePoints"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:null,args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],storageKey:null}]},params:{id:b("OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"),metadata:{},name:"OCDevManagePriceObjectKeyFieldQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6517326191629338"}),null);
-----
OCDevManagePriceObjectKeyField_approvedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_approvedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
-----
OCDevManageApplicationSubmissionPriceInput.react",["fbt","GeoCheckboxInput.react","GeoGuidanceCard.react","GeoGuidanceCardContent.react","GeoGuidanceCardHeader.react","GeoNotice.react","GeoNoticeContent.react","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageApplicationSubmissionPriceInputQuery.graphql","OCDevManageApplicationSubmissionPriceInput_submission.graphql","OCDevManageApplicationSubmissionPricingConfirmationModal","OCDevManageApplicationSubmissionPricingHelpers","OCDevManageCountryPricingTable.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUILink.react","OCDevWebClientEventsBaseLogger.log","OCPurchasableOfferWithApp","RelayHooks","asyncToGeneratorRuntime","gkx","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage","useOCDevManageIsInternal","useOCDevUIModal","useOCDevUIQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c,d=c||(c=o("react")),m=r("gkx")("829");function p(t){var a,i,l,c,p,_,f,g,h,y=t.formState,C=t.moveDefaultPricesToCustom,b=t.onSubmit,v=t.onUpdateFormState,S=t.setMoveDefaultPricesToCustom,R=t.setShowCountrySpecificPricingInfo,L=t.showCountrySpecificPricingInfo,E=t.submission,k=o("RelayHooks").useFragment(e!==void 0?e:e=n("OCDevManageApplicationSubmissionPriceInput_submission.graphql"),E),I=y.countrySpecificPriceObjectKeys,T=y.offerType,D=y.worldwidePriceObjectKey,x=k.application,$=x==null?void 0:x.organization,P=(a=k.reviewable_offer_group_with_fallback)==null?void 0:a.worldwide_offer,N=($==null?void 0:$.has_financial_entity)===!0,M=(x==null||(i=x.store_availability)==null?void 0:i.is_managed)===!0,w=(l=(c=k.binary_with_fallback)==null?void 0:c.is_pwa)!=null?l:!1,A=w&&m,F=r("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(x,T,k.status)(null),O=F.message,B=F.showModal,W=r("gkx")("1956"),q=r("OCPurchasableOfferWithApp").APPSTORE_OFFER,U=r("OCPurchasableOfferWithApp").APPSTORE_PREORDER_OFFER,V=W===!0?[q,U]:[q],H=r("useOCDevManageIsInternal")(),G=r("useOCDevUIModal")(),z=G.closeModal,j=G.openModal,K=r("useOCDevUIQuery")(u!==void 0?u:u=n("OCDevManageApplicationSubmissionPriceInputQuery.graphql"),{app_store_item_id:(p=x==null?void 0:x.id)!=null?p:"",price_object_key:D,submission_id:(_=k.id)!=null?_:""}),Q=K.node,X=K.xoc_approved_price_points;if(x==null)return null;function Y(e){var t=y.offerType==="APPSTORE_PREORDER_OFFER",n=t?o("OCDevManageApplicationSubmissionPricingHelpers").getPriceAmountFromKey(e!=null?e:"",X):y.baseApplicationPriceAmount;v(function(t){return babelHelpers.extends({},t,{baseApplicationPriceAmount:n,discountWorldwidePriceObjectKey:null,worldwidePriceObjectKey:e!=null?e:""})})}function J(e){return Z.apply(this,arguments)}function Z(){return Z=n("asyncToGeneratorRuntime").asyncToGenerator(function*(e){var t;yield Y(e!=null?e:""),r("OCDevWebClientEventsBaseLogger.log")({action:"app_submission_pricing_confirmation_speed_bump_price_change",developer_org_id:k==null||(t=k.application)==null||(t=t.organization)==null?void 0:t.id,target_id:k==null?void 0:k.id}),S(!0),z()}),Z.apply(this,arguments)}function ee(e){B!=null&&B?j(d.jsx(r("OCDevManageApplicationSubmissionPricingConfirmationModal"),{legalByPassReason:"PAST_MSRP_CHANGE",onClose:function(){return Y(D!=null?D:"")},onSubmit:function(){return J(e!=null?e:"")}})):Y(e!=null?e:"")}function te(){return o("OCDevManageApplicationSubmissionPricingHelpers").validatePriceField(D,T,A)}var ne=(D!=null?D:"")!==""&&N&&T!=null&&V.includes(T),re=W&&Q!=null,oe=!H&&["APPROVED","SUBMITTED","UNDER_REVIEW"].includes(k.status);return d.jsxs(d.Fragment,{children:[!o("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&d.jsx(r("GeoGuidanceCard.react"),{header:d.jsx(r("GeoGuidanceCardHeader.react"),{heading:s._(/*BTDS*/"Pricing suggested conversion deprecation")}),status:"active-feedback",children:d.jsx(r("GeoGuidanceCardContent.react"),{children:s._(/*BTDS*/"As of June 18, 2025, the suggested conversion pricing tool has been deprecated. No action is requiredu2014existing prices set through the tool will remain the same. For future international pricing, you can set a custom price or use FX rateu2013based pricing.")})}),N?null:d.jsx(r("GeoNotice.react"),{status:"info",children:d.jsx(r("GeoNoticeContent.react"),{children:s._(/*BTDS*/"To create a paid application, you need to set up your {=m2}.",[s._implicitParam("=m2",d.jsx(r("OCDevUILink.react"),{href:r("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(f=$==null?void 0:$.id)!=null?f:""}),children:s._(/*BTDS*/"payment info")}))])})}),d.jsx(r("OCDevManagePriceObjectKeyField.react"),{"data-testid":void 0,disabledMessage:H?null:O,displayUsaNationFlag:!o("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool,excludeFreeOption:T==="APPSTORE_PREORDER_OFFER",hidePaidOptions:!N||M||T==="APPSTORE_OFFER"&&A,maximumPriceAmount:x==null?void 0:x.maximum_allowed_price_amount,priceAmount:P==null||(g=P.price)==null?void 0:g.formatted_for_lwi,validateField:te,value:D,warningMessage:H?O:null,onChange:ee}),ne?re&&Q!=null?d.jsx(r("OCDevManageCountryPricingTable.react"),{allFieldsDisabled:oe,appStoreItemKey:Q,countryOverrides:y.countryPriceOverrides,moveDefaultPricesToCustom:C,savedCountryPriceOverrides:(h=y.savedCountryPriceOverrides)!=null?h:{},showSuggestedConversions:!0,onChangeCountryEntry:function(t){return v(function(e){return babelHelpers.extends({},e,{countryPriceOverrides:t(e.countryPriceOverrides)})})},onChangePricingSources:function(t){return v(function(e){return babelHelpers.extends({},e,{pricingSources:t(e.pricingSources)})})},onChangeSavedCountryEntry:function(t){return v(function(e){var n;return babelHelpers.extends({},e,{savedCountryPriceOverrides:t((n=e.savedCountryPriceOverrides)!=null?n:{})})})},onSubmit:b}):d.jsxs(d.Fragment,{children:[d.jsx(r("GeoCheckboxInput.react"),{"data-testid":void 0,disabledMessage:s._(/*BTDS*/"You are unable to make country-specific pricing changes through this tool. If you would like to make a country-specific price change please contact your Meta Horizon Store support partner."),isDisabled:(x==null?void 0:x.msrp_offer_is_country_restricted)===!0,label:s._(/*BTDS*/"Adjust Prices for Individual Countries"),value:L===!0,onChange:function(t){R&&R(t),!t&&v(function(e){return babelHelpers.extends({},e,{countrySpecificPriceObjectKeys:{}})})}}),L===!0&&x!=null?d.jsx(r("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:x,countrySpecificPriceObjectKeys:I,selectedGlobalPriceObjectKey:y.worldwidePriceObjectKey,onUpdateCountrySpecificPriceObjectKeys:function(t){return v(function(e){return babelHelpers.extends({},e,{countrySpecificPriceObjectKeys:t(e.countrySpecificPriceObjectKeys)})})}}):null]}):null]})}p.displayName=p.name+" [from "+i.id+"]",l.default=p}),226);
-----
OCDevManageApplicationPricingExperimentFormFields.react",["fbt","GeoFlexbox.react","GeoHeading.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoText.react","GeoTextInput.react","GeoVStack.react","OCDevManageApplicationPricingExperimentEndDateField.react","OCDevManageApplicationPricingExperimentFormFields_application.graphql","OCDevManageApplicationPricingExperimentStartDateField.react","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIValidateStringLength","RelayHooks","geoMargin","getDisabledProps","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e=a.app,f=a.currentPriceAmount,g=a.currentPriceKey,j=a.formState,m=a.onUpdateFormState,n=j.experimentType,o=j.externalName,p=j.incrementalPriceKey,q=j.lowerBoundPriceKey;a=j.status;var r=j.upperBoundPriceKey;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingExperimentFormFields_application.graphql"),e);var s=h._("u5b9eu9a8cu8be6u60c5u4e00u65e6u53d1u5e03u5c31u65e0u6cd5u66f4u6539u3002u5982u6709u5fc5u8981uff0cu4f60u53efu80fdu53efu4ee5u5220u9664u8fd9u4e2au5b9eu9a8cuff0cu518du65b0u5efau4e00u4e2au3002");function t(a){return a==="DRAFT"||a===null?null:s}return k.jsx(c("GeoSection.react"),{children:k.jsxs(c("GeoVStack.react"),{children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return d("OCDevUIValidateStringLength").validateStringLength({value:o})},children:k.jsx(c("GeoTextInput.react"),babelHelpers["extends"]({description:h._("Give your test a unique name. This name is not visible to the public.")},c("getDisabledProps")(t(a)),{label:h._("u540du5b57/u540du79f0"),value:o,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{externalName:a})})}}))}),k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return n!=null?null:h._("u5fc5u987bu9009u62e9u5b9eu9a8cu7c7bu578bu3002")},children:k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({},c("getDisabledProps")(t(a)),{label:h._("u5b9eu9a8cu7c7bu578b"),value:n,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentType:a,incrementalPriceKey:null,upperBoundPriceKey:null,lowerBoundPriceKey:null})})},children:[k.jsx(c("GeoSelectorItem.react"),{description:h._("u5bf9u6bd4u65b0u4ef7u683cu6765u6d4bu8bd5u4f60u7684u5f53u524du4ef7u683c"),label:h._("Price Incrementality Test"),value:"PRICE_TEST"}),k.jsx(c("GeoSelectorItem.react"),{description:h._("u628au5f53u524du4ef7u683cu63d0u9ad8u6216u964du4f4eu4e00u4e2au4ef7u683cu70b9u6765u8fdbu884cu6d4bu8bd5u3002"),disabledMessage:g===""?h._("u4f60u4e0du80fdu5bf9u514du8d39u5e94u7528u7a0bu5e8fu8fdbu884cu8fb9u754cu6d4bu8bd5u3002"):null,isDisabled:g==="",label:h._("u4ef7u683cu8fb9u754cu6d4bu8bd5"),value:"PRICE_BOUNDARY_TEST"})]}))}),k.jsxs(c("GeoFlexbox.react"),{columnGap:16,direction:"row",children:[k.jsx(c("OCDevManageApplicationPricingExperimentStartDateField.react"),{app:e,disabledMessage:t(a),formState:j,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentStartDate:a})})}}),k.jsx(c("OCDevManageApplicationPricingExperimentEndDateField.react"),{disabledMessage:t(a),formState:j,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{experimentEndDate:a})})}})]}),k.jsxs(c("GeoFlexbox.react"),{direction:"row",children:[n==="PRICE_BOUNDARY_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.boundaryPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:q,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u8f83u4f4eu4ef7u683cu70b9"),maximumPriceKey:(e=g)!=null?e:"",validateField:function(){return q==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:q,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{lowerBoundPriceKey:a})})}})}):null,k.jsxs(c("GeoFlexbox.react"),{direction:"column",xstyle:[l.currentPrice,n==="PRICE_BOUNDARY_TEST"?l.boundaryCurrentPrice:null],children:[k.jsx(c("GeoHeading.react"),{level:4,children:"Current Price"}),k.jsx(c("GeoText.react"),{xstyle:c("geoMargin").top12,children:f})]}),n==="PRICE_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.incrementalPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:p,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u7528u4e8eu6d4bu8bd5u7684u65b0u4ef7u683cu70b9"),validateField:function(){return p==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:p,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{incrementalPriceKey:a})})}})}):null,n==="PRICE_BOUNDARY_TEST"?k.jsx(c("GeoFlexbox.react"),{xstyle:l.boundaryPriceSelector,children:k.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:s,disabledPriceObjectKey:r,excludeFreeOption:!0,isReadOnly:a!=="DRAFT",label:h._("u8f83u9ad8u4ef7u683cu70b9"),minimumPriceKey:(t=g)!=null?t:"",validateField:function(){return r==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:r,onChange:function(a){return m(function(b){return babelHelpers["extends"]({},b,{upperBoundPriceKey:a})})}})}):null]})]})})}a.displayName=a.name+" [from "+f.id+"]";var l={incrementalPriceSelector:{width:"xktia5q",$$css:!0},currentPrice:{width:"x8yj6t5",$$css:!0},boundaryCurrentPrice:{paddingLeft:"xnm25rq",paddingStart:null,paddingEnd:null,$$css:!0},boundaryPriceSelector:{width:"xz84dc7",$$css:!0}};g["default"]=a}),226);
-----
OCDevManagePlatformServicesAddOnPricingFields.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationPricingCountrySpecificPricingFields.react","OCDevManageCountryPricingTable.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUIValidatorCommonErrors","RelayHooks","geoMargin","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,g,j=a.addOn,m=a.formState,n=m.countryPriceOverrides,o=m.countrySpecificPriceObjectKeys,p=m.priceObjectKey,q=a.onUpdateFormState;m=l(Object.keys(o).length>0);a=m[0];var r=m[1];m=c("gkx")("1956");j=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql"),j);e=(e=j.app_grouping)==null?void 0:e.developer_organization;f=(f=e==null?void 0:e.has_financial_entity)!=null?f:!1;var s=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(j)(null);g=((g=j.latest_revision)==null?void 0:(g=g.pdp_metadata_with_fallback)==null?void 0:g.iarc_cert)!==null;var t=j.maximum_allowed_price_amount;return k.jsxs(k.Fragment,{children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:f?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:(e=e==null?void 0:e.id)!=null?e:""}),children:h._("payment info")}))]),disabledItemMessage:h._("Only paid addons support different IARC certificate at the moment. Remove IARC certificate and use base app content rating to enable this option."),disabledMessage:s,disabledPriceObjectKey:g?"":null,hidePaidOptions:!f,maximumPriceAmount:t,priceAmount:j==null?void 0:(e=j.latest_revision)==null?void 0:(g=e.reviewable_offer_group_with_fallback)==null?void 0:(e=g.worldwide_offer)==null?void 0:(g=e.price)==null?void 0:g.formatted_for_lwi,validateField:function(){return p==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:p,warningMessage:h._("Once approved, prices will be locked and cannot be changed for 30 days."),onChange:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a!==""?b.countryPriceOverrides:{},priceObjectKey:a})})}}),c("gkx")("25711")&&((e=p)!=null?e:"")!==""&&f?m?k.jsx(c("OCDevManageCountryPricingTable.react"),{appStoreItemID:(g=j.id)!=null?g:"",countryOverrides:n,priceObjectKey:p,onChangeCountryEntry:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countryPriceOverrides:a(b.countryPriceOverrides)})})}}):k.jsxs(k.Fragment,{children:[k.jsx(c("GeoCheckboxInput.react"),{disabledMessage:s,isDisabled:s!=null,label:h._("u4e3au7279u5b9au56fdu5bb6/u5730u533au8c03u6574u4ef7u683c"),value:a,xstyle:c("geoMargin").vert16,onChange:function(a){r(a),a||q(function(a){return babelHelpers["extends"]({},a,{countrySpecificPriceObjectKeys:{}})})}}),a?k.jsx(c("OCDevManageApplicationPricingCountrySpecificPricingFields.react"),{appStoreItem:j,countrySpecificPriceObjectKeys:o,maximumPriceAmount:t,selectedGlobalPriceObjectKey:p,onUpdateCountrySpecificPriceObjectKeys:function(a){return q(function(b){return babelHelpers["extends"]({},b,{countrySpecificPriceObjectKeys:a(b.countrySpecificPriceObjectKeys)})})},onUpdateLegalBypassReason:function(){}}):null]}):null]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyField.react",["fbt","GeoSelector.react","GeoSelectorDivider.react","GeoSelectorItem.react","OCDevManagePriceObjectKeyFieldQuery.graphql","OCDevManagePriceObjectKeyField_approvedPricePoints.graphql","OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUIFormInputValidator.react","RelayHooks","emptyFunction","getCountrySpecificPricingTargetCurrencySymbol","react","useOCDevUIQuery"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l,m=l||(l=d("react"));e=l;var n=e.Suspense,o=e.useEffect;function p(a){var e=a.approvedPricePoints,f=a.countrySpecificApprovedPricePoints,g=a.country,k=a.description,l=a.disabledMessage,n=a.disabledItemMessage,p=a.disabledPriceObjectKey,q=p===void 0?null:p;p=a.excludeFreeOption;p=p===void 0?!1:p;var r=a.isReadOnly,s=a.label;s=s===void 0?h._("Price"):s;var t=a.minimumPriceKey,u=a.maximumPriceKey,v=a.tooltip,w=a.onChange,x=a.validateField,y=a.value,z=a.warningMessage;a=a.priceAmount;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePriceObjectKeyField_approvedPricePoints.graphql"),e);var A=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql"),f);function B(a){var b;return A==null?void 0:(b=A.find(function(b){b=b.key;return b===a}))==null?void 0:b.amount}function C(a){a=B(a);return a==null||g==null?"":""+c("getCountrySpecificPricingTargetCurrencySymbol")(g)+(g==="JP"?a/100:(a/100).toFixed(2))}var D=A==null?void 0:A.find(function(a){a=a.is_suggested;return a===!0});f=((f=e)!=null?f:[]).find(function(a){a=a.key;return a===q});var E=(e==null?void 0:e.find(function(a){a=a.key;return a===y}))==null;f=f!=null?m.jsx(c("GeoSelectorItem.react"),{isDisabled:!0,label:C(f.key)!==""?C(f.key)+" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":""+((f==null?void 0:f.amount)!=null?"$"+(f.amount/100).toFixed(2)+" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":""),value:f.key},f.key):null;var F=D!=null?m.jsx(c("GeoSelectorItem.react"),{label:C(D.key)!==""?""+C(D.key)+(" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").suggestedConversionLabel.toString()+")"):""+((D==null?void 0:D.amount)!=null?"$"+(D.amount/100).toFixed(2):""),value:D.key},D.key):null,G=d("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&D!=null&&(D==null?void 0:D.key)!=null&&D.key!==q;o(function(){y==null&&(D==null?void 0:D.key)!=null&&w(D.key)},[w,D==null?void 0:D.key,y]);k={description:k,disabledMessage:l,isDisabled:l!=null,isReadOnly:r,label:s,tooltip:v};var H=t!=null?e==null?void 0:(l=e.find(function(a){a=a.key;return a===t}))==null?void 0:l.amount:null,I=u!=null?e==null?void 0:(r=e.find(function(a){a=a.key;return a===u}))==null?void 0:r.amount:null;v=e==null?m.jsx(c("GeoSelector.react"),babelHelpers["extends"]({isLoading:!0,value:null,onChange:c("emptyFunction")},k,{children:m.jsx(c("GeoSelectorItem.react"),{label:h._("u6b63u5728u52a0u8f7d..."),value:null})})):m.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({"data-testid":void 0,value:(s=y)!=null?s:q,warningMessage:y!=null?z:null,onChange:w},k,{children:[G?F:null,G?f:null,G?m.jsx(c("GeoSelectorDivider.react"),{}):null,a!=null&&y!==""&&E?m.jsx(c("GeoSelectorItem.react"),{label:h._("{Custom Price Amount} (Custom)",[h._param("Custom Price Amount",a)]),value:y}):null,p?null:m.jsx(c("GeoSelectorItem.react"),{disabledMessage:n,isDisabled:q==="",label:h._("Free"),value:""}),(g!=null?e.filter(function(a){a=a.key;return C(a)!==""}).sort(function(a,b){return Number(B(a.key))-Number(B(b.key))}):e.filter(function(a){a=a.amount;return!(H!=null&&a!=null&&a<=H||I!=null&&a!=null&&a>=I)})).map(function(a){var b=a.amount;a=a.key;return b!=null&&a!=null?m.jsx(c("GeoSelectorItem.react"),{disabledMessage:n,isDisabled:a===q,label:C(a)!==""?""+C(a)+(a===q?" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").defaultConversionLabel.toString()+")":a===(D==null?void 0:D.key)?" ("+d("OCDevManageSubmissionCountrySpecificPricingUtils").suggestedConversionLabel.toString()+")":""):"$"+(b/100).toFixed(2),value:a},a):null})]}));return x!=null&&(D==null?void 0:D.key)==null?m.jsx(c("OCDevUIFormInputValidator.react"),{validateField:x,children:v}):v}p.displayName=p.name+" [from "+f.id+"]";function q(a){var e=a.country,f=a.hidePaidOptions,g=a.maximumPriceAmount,h=a.pricePointForSuggestions;e=c("useOCDevUIQuery")(k!==void 0?k:k=b("OCDevManagePriceObjectKeyFieldQuery.graphql"),{country:e,countryIsNonNull:e!=null,countryIsNull:e==null,maximumPrice:f===!0?0:g,pricePointForSuggestions:d("OCDevManageSubmissionCountrySpecificPricingUtils").canSeePriceSuggestionTool&&h!=null?h:null});return m.jsx(p,babelHelpers["extends"]({},a,{approvedPricePoints:e.approvedPricePoints,countrySpecificApprovedPricePoints:e.countrySpecificApprovedPricePoints}))}q.displayName=q.name+" [from "+f.id+"]";function a(a){return m.jsx(n,{fallback:m.jsx(p,babelHelpers["extends"]({},a,{approvedPricePoints:null})),children:m.jsx(q,babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyFieldQuery.graphql",["OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"country"},{defaultValue:null,kind:"LocalArgument",name:"countryIsNonNull"},{defaultValue:null,kind:"LocalArgument",name:"countryIsNull"},{defaultValue:null,kind:"LocalArgument",name:"maximumPrice"},{defaultValue:null,kind:"LocalArgument",name:"pricePointForSuggestions"}],c={kind:"Variable",name:"maximum_price",variableName:"maximumPrice"},d=[{kind:"Variable",name:"force_99_suffix",variableName:"countryIsNull"},c];c=[{kind:"Variable",name:"country",variableName:"country"},{kind:"Literal",name:"force_99_suffix",value:!1},c,{kind:"Variable",name:"price_point_for_suggestions",variableName:"pricePointForSuggestions"}];var e={alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:"approvedPricePoints",args:d,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_approvedPricePoints"}],storageKey:null},{condition:"countryIsNonNull",kind:"Condition",passingValue:!0,selections:[{alias:"countrySpecificApprovedPricePoints",args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints"}],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:"approvedPricePoints",args:d,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[e,f],storageKey:null},{condition:"countryIsNonNull",kind:"Condition",passingValue:!0,selections:[{alias:"countrySpecificApprovedPricePoints",args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[e,f,{alias:null,args:null,kind:"ScalarField",name:"is_suggested",storageKey:null}],storageKey:null}]}]},params:{id:b("OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"),metadata:{},name:"OCDevManagePriceObjectKeyFieldQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
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);
-----
OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="7414458551903653"}),null);
-----
OCDevManagePriceObjectKeyField_approvedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_approvedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationPricingCountrySpecificPricingFields.react",["fbt","GeoButton.react","GeoMultiSelector.react","GeoMultiSelectorItem.react","GeoStatusIndicator.react","OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem.graphql","OCDevManagePriceObjectKeyField.react","OCDevManageSubmissionCountrySpecificPricingUtils","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCStoreCountrySpecificPricingSuggestionsSitevarConfig","RelayHooks","XOCCountrySpecificPricingEUCountries.oculus","XOCCountrySpecificPricingTarget.oculus","XOCOCStorePriceChangeContextReasonSpecific.oculus","formatDate","getCountrySpecificPricingTargetCurrencySymbol","gkx","objectKeys","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||d("react");function a(a){var e=a.appStoreItem,f=a.countrySpecificPriceObjectKeys,g=a.maximumPriceAmount,j=a.onUpdateCountrySpecificPriceObjectKeys,l=a.onUpdateLegalBypassReason,m=a.selectedGlobalPriceObjectKey;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingCountrySpecificPricingFields_appStoreItem.graphql"),e);function n(a){return a.sort(function(a,b){return d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a).localeCompare(d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(b))})}var o=c("gkx")("25689")&&a.__typename==="Application",p=o?c("OCStoreCountrySpecificPricingSuggestionsSitevarConfig").countries:[];function q(a){return a!=null&&p.includes(a)}e=n(c("objectKeys")(f));var r=Object.fromEntries(((a=a==null?void 0:a.csp_price_change_eligibilities)!=null?a:[]).map(function(a){var b=a.eligibility;a=a.key;return[String(a),b]}));a=p.some(function(a){return((a=(a=r[String(a)])!=null?a:{})==null?void 0:a.eligibility)===!1});function s(a){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility,d=a.next_eligible_timestamp;a=a.reason;if(b===!0)return null;switch(a){case"MSRP_CHANGE":return h._("u4f60u7684u5546u54c1u4ef7u683cu8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au66f4u6539u8fc7u3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);case"MSRP_EXPERIMENT":return h._("u4f60u7684u5546u54c1u8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au8fdbu884cu8fc7u5382u5546u5efau8baeu96f6u552eu4ef7u5b9eu9a8cu3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);case"SALE":return h._("u4f60u7684u5546u54c1u8fd1u671fu5728u8fd9u4e2au56fdu5bb6/u5730u533au8fdbu884cu8fc7u7279u4ef7u51fau552eu3002u8bf7u7b49u5230{future-date}u518du66f4u65b0u4ef7u683cu3002",[h._param("future-date",c("formatDate")(d,"m/d/Y"))]);default:return h._("u4f60u76eeu524du65e0u6cd5u66f4u6539u4ef7u683cu3002")}}function t(a){if(d("OCDevManageSubmissionCountrySpecificPricingUtils").isCountryEligibleForLegalBypass(a)){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility;a=a.reason_specific;if(b===!0&&a!=null)return a}return null}function u(a){if(d("OCDevManageSubmissionCountrySpecificPricingUtils").isCountryEligibleForLegalBypass(a)){a=a!=="EU"?a:"IT";a=(a=r[String(a)])!=null?a:{};var b=a.eligibility,e=a.next_eligible_timestamp,f=a.reason_specific,g=a.violating_event_end_ts;a=a.violating_event_start_ts;if(b===!0&&f!=null)switch(f){case c("XOCOCStorePriceChangeContextReasonSpecific.oculus").FUTURE_SALE:return h._("You have scheduled Sale promotion on {future-date} .Adjusting the price for this country now will immediately terminate the sale.",[h._param("future-date",c("formatDate")(a,"m/d/Y"))]);case c("XOCOCStorePriceChangeContextReasonSpecific.oculus").RUNNING_SALE:return h._("You are currently running a Sale promotion until {future-date} .Adjusting the price for this country now will immediately terminate the sale.",[h._param("future-date",c("formatDate")(g,"m/d/Y"))]);default:return h._("Your item"s price changed in this country too recently. Please wait until {future-date} before updating it.",[h._param("future-date",c("formatDate")(e,"m/d/Y"))])}}}var v=Array.from(c("XOCCountrySpecificPricingEUCountries.oculus").members());return k.jsxs(c("OCDevUISpacedLayout.react"),{children:[k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(f).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:k.jsx(c("GeoMultiSelector.react"),{description:h._("u4e00u4e2au56fdu5bb6/u5730u533au7684u81eau5b9au4e49u4ef7u683cu4f1au5728u83b7u6279u540eu9501u5b9auff0cu987bu7b49u5f85 30 u5929u624du80fdu66f4u6539u3002"),displayValueType:"list",label:h._("Countries With Custom Price"),value:e,onChange:function(a){return j(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:n(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members()).filter(function(a){return!v.includes(a)})).map(function(a){var b=s(a),e=u(a),f=o&&q(a);return k.jsx(c("GeoMultiSelectorItem.react"),{description:e!=null?e:f?h._("u6709u4ef7u683cu5efau8bae"):null,disabledMessage:b,isDisabled:b!=null,label:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",statusIndicator:f?k.jsx(c("GeoStatusIndicator.react"),{status:"active"}):null,value:a},a)})})}),p.length>0&&!p.every(function(a){return a in f})?k.jsx(c("GeoButton.react"),{isDisabled:a,label:h._("u6dfbu52a0u6709u5efau8baeu4ef7u683cu7684u5168u90e8u56fdu5bb6/u5730u533a"),tooltip:a?h._("This item has recently undergone a price change in one or more countries with suggested prices. Please make any pricing updates using the country selector above."):h._("Adds all countries that have available pricing suggestions."),onClick:function(){j(function(a){return Object.fromEntries(p.concat(Object.keys(f)).map(function(b){b=c("XOCCountrySpecificPricingTarget.oculus").cast(b);return b!=null?[b,(b=a[b])!=null?b:{discountPriceObjectKey:null,priceObjectKey:null}]:null}).filter(Boolean))})}}):null,k.jsx(c("OCDevUIGrid.react"),{columns:3,children:e.map(function(a){var b;return k.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a!=="EU"?a:"IT",disabledItemMessage:h._("This price is the same as your global price."),disabledMessage:s(a!=="EU"?a:"IT"),disabledPriceObjectKey:m,label:d("OCDevManageSubmissionCountrySpecificPricingUtils").getCSPCountryName(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",maximumPriceAmount:g,pricePointForSuggestions:o?m:null,tooltip:a==="EU"?h._("u6240u9009u9879u76eeu5c06u5e94u7528u5230u6b27u76dfu6210u5458u56fdu5bb6/u5730u533au3001u632au5a01u3001u51b0u5c9bu548cu5362u68eeu5821u3002"):null,validateField:function(){var b;return[null,m].includes((b=(b=f[a])==null?void 0:b.priceObjectKey)!=null?b:null)?h._("u8bf7u8bbeu7f6eu4e0eu9ed8u8ba4u4ef7u683cu4e0du540cu7684u81eau5b9au4e49u4ef7u683c"):null},value:(b=f[a])==null?void 0:b.priceObjectKey,onChange:function(b){j(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))}),l(t(a),a)}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"is_suggested",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationPricingExperimentFormFields.react",["fbt","GeoDatePicker.react","GeoSection.react","GeoSelector.react","GeoSelectorItem.react","GeoTextInput.react","GeoVStack.react","LocalDate","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIValidateStringLength","OCDevUIValidatorCommonErrors","Timezone","emptyFunction","getDisabledProps","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=i||d("react"),k=7;function a(a){var b=a.currentPriceKey,e=a.formState,f=a.onUpdateFormState,g=e.experimentEndDate,i=e.experimentStartDate,l=e.experimentType,m=e.externalName,n=e.incrementalPriceKey,o=e.lowerBoundPriceKey;a=e.minimumExperimentLength;var p=e.status,q=e.upperBoundPriceKey,r=(e=a)!=null?e:k;function s(a,b){return a==null||b==null?!1:a.addDays(r).isAfter(b)}var t=h._("u5b9eu9a8cu8be6u60c5u4e00u65e6u53d1u5e03u5c31u65e0u6cd5u66f4u6539u3002u5982u6709u5fc5u8981uff0cu4f60u53efu80fdu53efu4ee5u5220u9664u8fd9u4e2au5b9eu9a8cuff0cu518du65b0u5efau4e00u4e2au3002");function u(a){return a==="DRAFT"||a===null?null:t}return j.jsx(c("GeoSection.react"),{children:j.jsxs(c("GeoVStack.react"),{children:[j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return d("OCDevUIValidateStringLength").validateStringLength({value:m})},children:j.jsx(c("GeoTextInput.react"),babelHelpers["extends"]({description:h._("Give your test a unique name. This name is not visible to the public.")},c("getDisabledProps")(u(p)),{label:h._("u540du5b57/u540du79f0"),value:m,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{externalName:a})})}}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return l!=null?null:h._("u5fc5u987bu9009u62e9u5b9eu9a8cu7c7bu578bu3002")},children:j.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{label:h._("u5b9eu9a8cu7c7bu578b"),value:l,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentType:a,incrementalPriceKey:null,upperBoundPriceKey:null,lowerBoundPriceKey:null})})},children:[j.jsx(c("GeoSelectorItem.react"),{description:h._("u5bf9u6bd4u65b0u4ef7u683cu6765u6d4bu8bd5u4f60u7684u5f53u524du4ef7u683c"),label:h._("u4ef7u683cu589eu51cfu53d8u5316u6d4bu8bd5"),value:"PRICE_TEST"}),j.jsx(c("GeoSelectorItem.react"),{description:h._("u628au5f53u524du4ef7u683cu63d0u9ad8u6216u964du4f4eu4e00u4e2au4ef7u683cu70b9u6765u8fdbu884cu6d4bu8bd5u3002"),disabledMessage:b===""?h._("u4f60u4e0du80fdu5bf9u514du8d39u5e94u7528u7a0bu5e8fu8fdbu884cu8fb9u754cu6d4bu8bd5u3002"):null,isDisabled:b==="",label:h._("u4ef7u683cu8fb9u754cu6d4bu8bd5"),value:"PRICE_BOUNDARY_TEST"})]}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return i==null?h._("u5fc5u987bu9009u62e9u5f00u59cbu65e5u671fu3002"):s(i,g)?h._("u5b9eu9a8cu5f00u59cbu65e5u671fu6bd4u7ed3u675fu65e5u671fu5fc5u987bu81f3u5c11u65e9{minimum-days}u5929u3002",[h._param("minimum-days",r)]):null},children:j.jsx(c("GeoDatePicker.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{focusDate:c("LocalDate").today(d("Timezone").PST8PDT).addDays(3),label:h._("u5b9eu9a8cu5f00u59cbu65e5u671f"),restraint:function(a){return a!=null&&a.toInstant(d("Timezone").PST8PDT)>c("LocalDate").today(d("Timezone").PST8PDT).addDays(3).toInstant(d("Timezone").PST8PDT)},value:i,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentStartDate:a})})}}))}),j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return g==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:j.jsx(c("GeoDatePicker.react"),babelHelpers["extends"]({},c("getDisabledProps")(u(p)),{focusDate:i!=null?i.addDays(r):null,label:h._("u5b9eu9a8cu7ed3u675fu65e5u671f"),restraint:function(a){return a!=null&&(i!=null?a.isAfter(i.addDays(r))&&a.isBeforeOrEqual(i.addDays(90)):!0)},value:g,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{experimentEndDate:a})})}}))}),l==="PRICE_BOUNDARY_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:o,isReadOnly:p!=="DRAFT",label:h._("u8f83u4f4eu4ef7u683cu70b9"),maximumPriceKey:(a=b)!=null?a:"",validateField:function(){return o==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:o,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{lowerBoundPriceKey:a})})}}):null,j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledPriceObjectKey:n,isReadOnly:!0,label:h._("u5f53u524du4ef7u683c"),value:b,onChange:c("emptyFunction")}),l==="PRICE_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:n,isReadOnly:p!=="DRAFT",label:h._("u7528u4e8eu6d4bu8bd5u7684u65b0u4ef7u683cu70b9"),validateField:function(){return n==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:n,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{incrementalPriceKey:a})})}}):null,l==="PRICE_BOUNDARY_TEST"?j.jsx(c("OCDevManagePriceObjectKeyField.react"),{disabledItemMessage:t,disabledPriceObjectKey:q,excludeFreeOption:!0,isReadOnly:p!=="DRAFT",label:h._("u8f83u9ad8u4ef7u683cu70b9"),minimumPriceKey:(e=b)!=null?e:"",validateField:function(){return q==null?h._("u5fc5u987bu9009u62e9u4ef7u683c"):null},value:q,onChange:function(a){return f(function(b){return babelHelpers["extends"]({},b,{upperBoundPriceKey:a})})}}):null]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePlatformServicesAddOnPricingFields.react",["fbt","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","react","useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react");function a(a){var e,f=a.addOn,g=a.formState.priceObjectKey,k=a.onUpdateFormState;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePlatformServicesAddOnPricingFields_addOn.graphql"),f);f=(f=a.app_grouping)==null?void 0:f.developer_organization;e=(e=f==null?void 0:f.has_financial_entity)!=null?e:!1;var l=d("OCNavigatorHooks").useContextRouter();l=l.location.pathname;a=c("useOCDevManageGetAppStoreItemPriceObjectKeyDisabledMessage")(a)(null);return j.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:e?h._("Prices are locked on approval and cannot be changed for 90 days."):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:(f=f==null?void 0:f.id)!=null?f:""}).getPath(),state:{fromPath:l}},children:h._("payment info")}))]),disabledMessage:a,hidePaidOptions:!e,validateField:function(){return g==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:g,onChange:function(a){return k(function(b){return babelHelpers["extends"]({},b,{priceObjectKey:a})})}})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationPricingCountrySpecificPricingFields.react",["fbt","CountryNames","GeoMultiSelector.react","GeoMultiSelectorItem.react","OCDevManageApplicationPricingCountrySpecificPricingFields_fragment.graphql","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","RelayHooks","XOCCountrySpecificPricingTarget.oculus","formatDate","getCountrySpecificPricingTargetCurrencySymbol","objectKeys","react","useOCDevManageGetApplicationLatestPriceChangeDate","useOCDevManageGetApplicationPriceObjectKeyDisabledMessage"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j=d("react"),k=90*86400;e=Date.now()/1e3;var l=e-k;function a(a){var e=a.application,f=a.countrySpecificPriceObjectKeys,g=a.onUpdateCountrySpecificPriceObjectKeys;a=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationPricingCountrySpecificPricingFields_fragment.graphql"),e);function m(a){return c("CountryNames")[a]}function n(a){return a.sort(function(a,b){return m(a).localeCompare(m(b))})}var o=n(c("objectKeys")(f)),p=c("useOCDevManageGetApplicationLatestPriceChangeDate")(a),q=c("useOCDevManageGetApplicationPriceObjectKeyDisabledMessage")(a);function r(a){var b=p(a);if(b>l)return h._("This country experienced a price change less than 90 days ago ({past-date}). Please wait until {future-date} before adding or removing it.",[h._param("past-date",c("formatDate")(b,"m/d/Y")),h._param("future-date",c("formatDate")(b+k,"m/d/Y"))]);b=p(null);if(!o.includes(a)&&b>l)return h._("Your worldwide price has changed in the last 90 days ({past-date}). Please wait until {future-date} before adding new countries.",[h._param("past-date",c("formatDate")(b,"m/d/Y")),h._param("future-date",c("formatDate")(b+k,"m/d/Y"))])}return j.jsxs(c("OCDevUISpacedLayout.react"),{children:[j.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(f).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:j.jsx(c("GeoMultiSelector.react"),{displayValueType:"list",label:h._("Countries With Custom Price"),value:o,onChange:function(a){return g(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:n(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members())).map(function(a){var b=r(a);return j.jsx(c("GeoMultiSelectorItem.react"),{disabledMessage:b,isDisabled:b!=null,label:m(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",value:a},a)})})}),j.jsx(c("OCDevUIGrid.react"),{columns:3,children:o.map(function(a){var b;return j.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a,disabledMessage:q(a),label:m(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",validateField:function(){var b;return((b=f[a])==null?void 0:b.priceObjectKey)==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:(b=f[a])==null?void 0:b.priceObjectKey,onChange:function(b){return g(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))})}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_countrySpecificApprovedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----
OCDevManageApplicationSubmissionPricingCountrySpecificPricingFields.react",["fbt","CountryNames","GeoMultiSelector.react","GeoMultiSelectorItem.react","OCDevManagePriceObjectKeyField.react","OCDevUIFormInputValidator.react","OCDevUIGrid.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","XOCCountrySpecificPricingTarget.oculus","getCountrySpecificPricingTargetCurrencySymbol","objectKeys","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i=d("react");function a(a){var b=a.countrySpecificPriceObjectKeys,e=a.onUpdateCountrySpecificPriceObjectKeys;function f(a){return c("CountryNames")[a]}function g(a){return a.sort(function(a,b){return f(a).localeCompare(f(b))})}a=g(c("objectKeys")(b));return i.jsxs(c("OCDevUISpacedLayout.react"),{children:[i.jsx(c("OCDevUIFormInputValidator.react"),{validateField:function(){return Object.keys(b).length===0?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},children:i.jsx(c("GeoMultiSelector.react"),{displayValueType:"list",label:h._("Countries With Custom Price"),value:a,onChange:function(a){return e(function(b){return Object.fromEntries(a.map(function(a){return[a,(a=b[a])!=null?a:{discountPriceObjectKey:null,priceObjectKey:null}]}))})},children:g(Array.from(c("XOCCountrySpecificPricingTarget.oculus").members())).map(function(a){return i.jsx(c("GeoMultiSelectorItem.react"),{label:f(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",value:a},a)})})}),i.jsx(c("OCDevUIGrid.react"),{columns:3,children:a.map(function(a){var g;return i.jsx(c("OCDevManagePriceObjectKeyField.react"),{country:a,label:f(a)+" ("+c("getCountrySpecificPricingTargetCurrencySymbol")(a)+")",validateField:function(){var c;return((c=b[a])==null?void 0:c.priceObjectKey)==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:(g=b[a])==null?void 0:g.priceObjectKey,onChange:function(b){return e(function(c){var d;return babelHelpers["extends"]({},c,(d={},d[a]=babelHelpers["extends"]({},(c=c[a])!=null?c:{},{priceObjectKey:b}),d))})}},a)})})]})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
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);
-----
OCDevManageApplicationSubmissionPricing.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationSubmissionCard.react","OCDevManageApplicationSubmissionPricingMutation.graphql","OCDevManageApplicationSubmissionPricingReviewerFeedback.react","OCDevManageApplicationSubmissionPricing_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageApplicationSubmissionThreeColumnLayout.react","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","regeneratorRuntime","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage","useOCDevManageCommitMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").useState,m=90*86400;function a(a){var e;a=a.submission;var f=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionPricing_submission.graphql"),a);a=(a=f==null?void 0:f.is_pre_launch)!=null?a:!1;e=(e=f.reviewable_offer_group_with_fallback)==null?void 0:(e=e.offers)==null?void 0:(e=e[0])==null?void 0:e.price_object_key;a=l(a);var g=a[0];a=a[1];e=l(e);var n=e[0];e=e[1];var o=c("useOCDevManageCommitMutation")(j!==void 0?j:j=b("OCDevManageApplicationSubmissionPricingMutation.graphql")),p=f.application,q=p==null?void 0:p.organization;function r(){var a,c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:d.next=2;return b("regeneratorRuntime").awrap(o({input:{is_pre_launch:g,price_object_key:(a=n)!=null?a:"",submission_id:(c=f==null?void 0:f.id)!=null?c:""}}));case 2:case"end":return d.stop()}},null,this)}var s=d("OCNavigatorHooks").useContextRouter();s=s.location.pathname;var t=(q==null?void 0:q.has_financial_entity)===!0,u=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(f);function v(){var a;a=Math.max.apply(Math,(a=p==null?void 0:(a=p.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-m)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((f==null?void 0:f.is_initial_release)!==!0&&(f==null?void 0:f.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you muat select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=p==null?void 0:p.id)!=null?a:"",submissionID:(a=f==null?void 0:f.id)!=null?a:""}).getPath(),children:h._("here")}))])}return u}v=v();return k.jsx(c("OCDevManageApplicationSubmissionCard.react"),{submission:f,onSubmit:r,children:k.jsx(c("OCDevManageApplicationSubmissionThreeColumnLayout.react"),{rightContent:k.jsx(c("OCDevManageApplicationSubmissionPricingReviewerFeedback.react"),{submission:f}),children:k.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[k.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:t?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",k.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:(r=q==null?void 0:q.id)!=null?r:""}).getPath(),state:{fromPath:s}},children:h._("payment info")}))]),disabledMessage:v,hidePaidOptions:!t,validateField:function(){return n==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:n,onChange:e}),c("gkx")("5730")&&(p==null?void 0:p.is_approved)===!1&&k.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:g,onChange:a})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyField.react",["fbt","GeoSelector.react","GeoSelectorItem.react","OCDevManagePriceObjectKeyFieldQuery.graphql","OCDevManagePriceObjectKeyField_approvedPricePoints.graphql","OCDevUIFormInputValidator.react","RelayHooks","emptyFunction","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=d("react"),l=d("react").Suspense;function m(a){var e=a.approvedPricePoints,f=a.description,g=a.disabledMessage,j=a.isReadOnly,l=a.label;l=l===void 0?h._("Price"):l;var m=a.onChange,n=a.validateField;a=a.value;e=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManagePriceObjectKeyField_approvedPricePoints.graphql"),e);f={description:f,disabledMessage:g,isDisabled:g!=null,isReadOnly:j,label:l};g=e.length===0?k.jsx(c("GeoSelector.react"),babelHelpers["extends"]({isLoading:!0,value:null,onChange:c("emptyFunction")},f,{children:k.jsx(c("GeoSelectorItem.react"),{label:h._("u6b63u5728u52a0u8f7d..."),value:null})})):k.jsxs(c("GeoSelector.react"),babelHelpers["extends"]({displayValue:function(a){a[0];a=a[1];return a==null?void 0:(a=a.toString())==null?void 0:(a=a.split(" ("))==null?void 0:a[0]},value:a,onChange:m},f,{children:[e.map(function(a){var b=a.amount;a=a.key;return b!=null&&a!=null?k.jsx(c("GeoSelectorItem.react"),{label:"$"+(b/100).toFixed(2),value:a},a):null}),k.jsx(c("GeoSelectorItem.react"),{label:h._("Free"),value:""})]}));return n!=null?k.jsx(c("OCDevUIFormInputValidator.react"),{validateField:n,children:g}):g}m.displayName=m.name+" [from "+f.id+"]";function n(a){var c=a.hidePaidOptions;c=d("RelayHooks").useLazyLoadQuery(j!==void 0?j:j=b("OCDevManagePriceObjectKeyFieldQuery.graphql"),{maximumPrice:c===!0?0:null});return k.jsx(m,babelHelpers["extends"]({},a,{approvedPricePoints:c.xoc_approved_price_points}))}n.displayName=n.name+" [from "+f.id+"]";function a(a){return k.jsx(l,{fallback:k.jsx(m,babelHelpers["extends"]({},a,{approvedPricePoints:[]})),children:k.jsx(n,babelHelpers["extends"]({},a))})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManageApplicationSubmissionMetadataPricing.react",["fbt","GeoCheckboxInput.react","OCDevManageApplicationSubmissionMetadataForm.react","OCDevManageApplicationSubmissionMetadataPricingMutation.graphql","OCDevManageApplicationSubmissionMetadataPricing_pdpMetadata.graphql","OCDevManageApplicationSubmissionMetadataPricing_submission.graphql","OCDevManageApplicationSubmissionRoute","OCDevManageOrganizationPaymentInfoRoute","OCDevManagePriceObjectKeyField.react","OCDevUILink.react","OCDevUISpacedLayout.react","OCDevUIValidatorCommonErrors","OCDevWebClientEventsAppSubmissionFlowLogger.react","OCNavigatorHooks","RelayHooks","XOCReleaseType.oculus","formatDate","gkx","react","regeneratorRuntime","useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage","useOCDevManageCommitMutation"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=d("react"),m=d("react").useState,n=90*86400;function a(a){var e,f=a.isReadOnly,g=a.pdpMetadata;a=a.submission;var o=d("RelayHooks").useFragment(i!==void 0?i:i=b("OCDevManageApplicationSubmissionMetadataPricing_pdpMetadata.graphql"),g),p=d("RelayHooks").useFragment(j!==void 0?j:j=b("OCDevManageApplicationSubmissionMetadataPricing_submission.graphql"),a);a=(g=p==null?void 0:p.is_pre_launch)!=null?g:!1;g=o.msrp_price_object_key;a=m(a);var q=a[0];a=a[1];g=m(g);var r=g[0];g=g[1];var s=c("useOCDevManageCommitMutation")(k!==void 0?k:k=b("OCDevManageApplicationSubmissionMetadataPricingMutation.graphql")),t=d("OCDevWebClientEventsAppSubmissionFlowLogger.react").useOCDevWebClientEventsAppSubmissionFlowLogger(),u=o.application,v=u==null?void 0:u.organization;e=(e=v==null?void 0:v.id)!=null?e:"";function w(){var a,c,e,f,g;return b("regeneratorRuntime").async(function(h){while(1)switch(h.prev=h.next){case 0:f=(a=o.id)!=null?a:"";h.next=3;return b("regeneratorRuntime").awrap(s({input:{is_pre_launch:q,price_object_key:(c=r)!=null?c:"",submission_id:(e=p==null?void 0:p.id)!=null?e:""}}));case 3:g=h.sent;if(!(g==null)){h.next=6;break}return h.abrupt("return");case 6:t({action:d("OCDevWebClientEventsAppSubmissionFlowLogger.react").OCDevWebApplicationSubmissionFlowActions.APP_SUBMISSION_PRICING,pdpMetadataID:f});case 7:case"end":return h.stop()}},null,this)}var x=d("OCNavigatorHooks").useContextRouter();x=x.location.pathname;v=(v==null?void 0:v.has_financial_entity)===!0;var y=c("useOCDevManageApplicationSubmissionMetadataFieldDisabledByHoldoutReleaseMessage")(p);function z(){var a;a=Math.max.apply(Math,(a=u==null?void 0:(a=u.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-n)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((p==null?void 0:p.is_initial_release)!==!0&&(p==null?void 0:p.release_type)===c("XOCReleaseType.oculus").SCHEDULED){return h._("Price changes cannot be scheduled. To make a price change, you muat select "Release on Approval" for your release type {=m2}.",[h._implicitParam("=m2",l.jsx(c("OCDevUILink.react"),{to:c("OCDevManageApplicationSubmissionRoute").getURI({applicationID:(a=u==null?void 0:u.id)!=null?a:"",submissionID:(a=p==null?void 0:p.id)!=null?a:""}).getPath(),children:h._("here")}))])}return y}z=z();return l.jsx(c("OCDevManageApplicationSubmissionMetadataForm.react"),{pdpMetadata:o,onSubmit:w,children:l.jsxs(c("OCDevUISpacedLayout.react"),{spacing:"small",children:[l.jsx(c("OCDevManagePriceObjectKeyField.react"),{description:v?null:h._("To create a paid application, you need to set up your {=m2}.",[h._implicitParam("=m2",l.jsx(c("OCDevUILink.react"),{to:{pathname:c("OCDevManageOrganizationPaymentInfoRoute").getURI({organizationID:e}).getPath(),state:{fromPath:x}},children:h._("payment info")}))]),disabledMessage:z,hidePaidOptions:!v,isReadOnly:f,validateField:function(){return r==null?d("OCDevUIValidatorCommonErrors").REQUIRED_FIELD_ERROR_MESSAGE:null},value:r,onChange:g}),c("gkx")("5730")&&(u==null?void 0:u.is_approved)===!1&&l.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:q,onChange:a})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
OCDevManagePriceObjectKeyFieldQuery.graphql",["OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"maximumPrice"}],c=[{kind:"Variable",name:"maximum_price",variableName:"maximumPrice"}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:null,args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{args:null,kind:"FragmentSpread",name:"OCDevManagePriceObjectKeyField_approvedPricePoints"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManagePriceObjectKeyFieldQuery",selections:[{alias:null,args:c,concreteType:"XOCApprovedPricePoint",kind:"LinkedField",name:"xoc_approved_price_points",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],storageKey:null}]},params:{id:b("OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation"),metadata:{},name:"OCDevManagePriceObjectKeyFieldQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
OCDevManagePriceObjectKeyFieldQuery_oculusRelayOperation",[],(function(a,b,c,d,e,f){e.exports="6517326191629338"}),null);
-----
OCDevManagePriceObjectKeyField_approvedPricePoints.graphql",[],(function(a,b,c,d,e,f){"use strict";a={argumentDefinitions:[],kind:"Fragment",metadata:{plural:!0},name:"OCDevManagePriceObjectKeyField_approvedPricePoints",selections:[{alias:null,args:null,kind:"ScalarField",name:"amount",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null}],type:"XOCApprovedPricePoint",abstractKey:null};e.exports=a}),null);
-----