OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModal.react",["fbt","GeoButton.react","GeoCheckboxInput.react","GeoModalCard.react","GeoModalFooter.react","GeoModalHeader.react","GeoSection.react","GeoText.react","OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation.graphql","OCDevManageTOSByType.react","OCPlatformSubscriptionConfig","nullthrows","react","useOCDevUICommitMutation","uuidv4"],(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=a.appID,f=a.onAcceptSuccess;a=l(!1);var g=a[0];a=a[1];var j=l(!1),m=j[0],n=j[1];j=l(!1);var o=j[0],p=j[1],q=c("useOCDevUICommitMutation")(i!==void 0?i:i=b("OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation.graphql"));function r(){n(!1),f()}function s(){n(!0);return q({input:{client_mutation_id:c("uuidv4")(),app_id:c("nullthrows")(e),tos_type:"MHPLUS_TOS"}},{closeModalOnSuccess:!0}).then(function(){r()})}return k.jsx(c("GeoModalCard.react"),{footer:k.jsx(c("GeoModalFooter.react"),{primaryButton:k.jsx(c("GeoButton.react"),{"data-testid":void 0,isDisabled:!g||m||o,isLoading:m,label:h._(/*BTDS*/"Submit"),variant:"primary",onClick:s}),startContent:k.jsx(c("GeoCheckboxInput.react"),{"data-testid":void 0,isDisabled:o,label:h._(/*BTDS*/"I Agree"),value:g,onChange:a})}),header:k.jsx(c("GeoModalHeader.react"),{heading:h._(/*BTDS*/"{program_name} program incorporation",[h._param("program_name",d("OCPlatformSubscriptionConfig").getPlatformSubscriptionDisplayName())])}),children:k.jsx(c("GeoSection.react"),{children:k.jsxs("div",{className:"xuyqlj2",children:[k.jsx(c("OCDevManageTOSByType.react"),{tosType:"MHPLUS_TOS",onContentUpdate:function(a){p(a)}}),!o&&k.jsx(c("GeoText.react"),{children:h._(/*BTDS*/"I have read and agree to the terms of this Electronic Agreement for Meta Horizon+ Self Serve Platform Subscription. If you do not agree to any term of this Electronic Agreement, then {underlined_do_not} click "I Agree".",[h._param("underlined_do_not",k.jsx("u",{children:"do not"}))])})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"XOCSelfServeTosAcceptResponsePayload",kind:"LinkedField",name:"xoc_self_serve_tos_accept",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",selections:b},params:{id:"9892835217484838",metadata:{},name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----
-----
OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"input",variableName:"input"}],concreteType:"XOCSelfServeTosAcceptResponsePayload",kind:"LinkedField",name:"xoc_self_serve_tos_accept",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"success",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",selections:b},params:{id:"9892835217484838",metadata:{},name:"OCDevManageMetaHorizonSelfServeLegalDocumentAcceptModalMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
-----